This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2010-263681 filed on Nov. 26, 2010.
The present invention relates to a requirement structure display apparatus and a computer readable medium.
According to an aspect of the invention, a requirement structure display apparatus includes:
a graph display information generation unit that, with reference to a storage unit that stores information concerning a parent-child relationship where requirement data is a parent and strategy data for refining the requirement data is a child and a parent-child relationship where the strategy data is a parent and at least one piece of requirement data obtained by refining the requirement data according to the strategy is a child, generates graph display information representing a graph constituted by the parent-child relationships between the requirement data and the strategy data;
a first specification acceptance unit that accepts a specification of the requirement data or the strategy data of an object in interest in the graph represented by the graph display information generated by the graph display information generation unit;
a part-in-interest display information generation unit that generates part-in-interest display information representing, in a direction of the parent-child relationship, the object in interest a specification of which is made to the first specification acceptance unit and a direct parent and direct child of the object in interest obtained from the information concerning the parent-child relationships stored in the storage unit; and
a display control unit that controls a display by a display unit so as to be switched from a display based on the graph display information generated by the graph display information generation unit to a display based on the part-in-interest display information generated by the part-in-interest display information generation unit based on the object in interest accepted by the first specification acceptance unit, according to the acceptance of the specification of the requirement data or the strategy data of the object in interest by the first specification acceptance unit.
Embodiments of the invention will be described in detail based on the following figures, wherein:
Hereinafter, an apparatus will be described for displaying a structure, required of systems and apparatuses, in which requirements as to reliability, safety, dependability and the like are refined to reach verification means or a verification result in the end (hereinafter, this structure will be referred to as a requirement structure).
With a graph described by the D-Case as an example of the requirement structure, an example of an apparatus for displaying this graph will be described. As also shown in the above document of “D-Case”, the D-Case is a structured document used to obtain an agreement between stakeholders in various scenes of a system life cycle.
It is to be noted that the use of the D-Case is merely an example, and the system of the exemplary embodiment shown below may be applied to a document describing a requirement structure in a different format.
According to the D-Case, a requirement (a solution depending on the viewpoint) is called a “goal”. When the requirement may not be realized as it is, a requirement more refined or broken down (hereinafter, collectively referred to as refined) for realizing the requirement is devised. That is, a requirement may be divided into one or more requirements that are more refined. The latter requirement (goal) is sometimes called a sub-goal with respect to the former requirement (goal).
When a goal is refined into one or more sub-goals, it is beneficial not to haphazardly devise sub-goals but to determine a policy for refinement and devise sub-goals in line with the policy. Accordingly, the D-Case is capable of describing such a policy for refinement (that is, division of a goal into sub-goals). Such a policy is called “strategy”. That is, a goal is capable of being divided into one or more sub-goals according to a certain strategy. In this case, the following parent-child relationships are considered: a parent-child relationship where a goal is a parent and a strategy is a child; and a parent-child relationship where a strategy is a parent and a sub-goal is a child (thus, the sub-goal is a grandchild for the goal).
The D-Case also describes, when a goal is realizable (that is, requires no more refinement), an evidence that the goal is actually realizable. The data of this evidence is called “evidence”. Moreover, there are cases where as the evidence, not static data but an actually operating apparatus or software module is monitored and the operating condition of the apparatus, etc. is dynamically obtained and presented. Such a dynamic monitoring result is called “monitor” so as to be distinguished from the static “evidence”. In this case, a parent-child relationship is considered where a goal is a parent and an evidence or a monitor is a child.
Moreover, the D-Case has a function of associating comments with data items such as a goal, a strategy, an evidence and a monitor. In this case, a parent-child relationship is considered where the goal, the strategy, the evidence or the monitor is a parent and the comment is a child.
The requirement structure described by the D-Case is expressed as a directed graph where the above-mentioned goal, strategy, evidence, monitor and comment are nodes and the parent-child relationships that hold therebetween are edges. The direction of the edge of the directed graph is, for example, a direction from a parent node toward a child node. When the number of parents of a node is limited to one, the requirement structure is expressed as a tree structure.
The graph of
Therefore, the requirement structure display apparatus of the present exemplary embodiment generates a display to show a part, in which the user is interested, of such a requirement structure graph in an easier-to-understand manner.
The requirement structure storage portion 10 stores data that defines a requirement structure as illustrated in
It is to be noted that
The display information generation portion 20 generates a display image to display the requirement structure based on the requirement structure data stored in the requirement structure storage portion 10. While in
In the illustrated example, the display information generation portion 20 is provided with a graph display generation portion 22 and a part-in-interest display generation portion 24.
The graph display generation portion 22 generates graph display information to ordinarily display the requirement structure stored in the requirement structure storage portion 10, in a graph form as in
The part-in-interest display generation portion 24 generates part-in-interest display data centered on, of the nodes in the requirement structure graph, the node in interest selected by the user. An example of the part-in-interest display image displaying the part-in-interest display data is schematically shown in
As described above, the part-in-interest display image shows the flow of the requirement refinement such that which node the node in interest is derived from and which node is derived from the node in interest.
The part-in-interest display generation portion 24 obtains the information concerning the selected node in interest and the direct parent and children of the node in interest from the requirement structure storage portion 10, and generates part-in-interest display information representing the image illustrated in
The display column for the node in interest in the center of
The parent nodes and the child nodes in the part-in-interest display image are each associated with link information for calling the part-in-interest display centered on the node. When a node in the part-in-interest display information displayed on the display device 26 is selected by the input device 28, the part-in-interest display generation portion 24 generates a part-in-interest display centered on the selected new node in interest.
For example, when the user selects, for example, the child node G11 by, for example, tapping a touch panel in the part-in-interest display centered on the node S2 shown in
By successively changing the node in interest as described above, various parts of the requirement structure graph are displayed in the form of a tripartite relationship among the node in interest and its parent and child.
Instead of dynamically generating the part-in-interest display information according to the node selection, a structure may be adopted in which for every node, the part-in-interest display information where the node is the node in interest is previously created and stored, the nodes displayed in a graph display or a part-in-interest display are provided with links to the corresponding part-in-interest display information and when a node is selected, its part-in-interest display information is called.
The node in interest displayed in the node-in-interest display column in the center of the part-in-interest display may be associated with, for example, information to call the link destination included in the attributes of the node. For example, in the part-in-interest display shown in
Moreover, when a node of “evidence” is selected, the part-in-interest display generation portion 24 obtains evidence (verification result) information linked to the node, from the network, generates an image showing the information, and displays it on the display device 26.
The display information generation portion 20 illustrated above may be implemented by causing a general-purpose computer to execute a program representing the processing of the above-described functional modules. The computer has, for example, a circuit configuration in which as hardware, a microprocessor such as a CPU, memories (temporary storage) such as a random access memory (RAM) and a read-only memory (ROM), an HDD controller that controls an HDD (hard disk drive), various I/O (input/output) interfaces, a network interface that performs control for connection with a network such as a local-area network, and the like are connected, for example, through a bus. Moreover, to the bus, the following may be connected, for example, through an I/O interface: a disk drive for writing and/or reading to and/or from portable disk recording media such as a CD and a DVD; and a memory reader/writer for reading and/or writing to and/or from portable nonvolatile recording media of various standards such as a flash memory. A program where the processing contents of the functional modules illustrated above are described is stored in a fixed storage device such as a hard disk drive through a recording medium such as a CD or a DVD or through communication means such as a network, and is installed onto a computer. The program stored in a fixed storage device is read into a RAM and executed by a microprocessor such as a CPU, whereby the functional modules illustrated above are implemented.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The exemplary embodiments are chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various exemplary embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2010-263681 | Nov 2010 | JP | national |