WO2018230298A1 - Partially ordered procedure generation device, partially ordered procedure generation method, and partially ordered procedure generation program - Google Patents

Partially ordered procedure generation device, partially ordered procedure generation method, and partially ordered procedure generation program Download PDF

Info

Publication number
WO2018230298A1
WO2018230298A1 PCT/JP2018/020034 JP2018020034W WO2018230298A1 WO 2018230298 A1 WO2018230298 A1 WO 2018230298A1 JP 2018020034 W JP2018020034 W JP 2018020034W WO 2018230298 A1 WO2018230298 A1 WO 2018230298A1
Authority
WO
WIPO (PCT)
Prior art keywords
procedure
partial order
state
order procedure
partial
Prior art date
Application number
PCT/JP2018/020034
Other languages
French (fr)
Japanese (ja)
Inventor
豊 八鍬
拓也 桑原
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Publication of WO2018230298A1 publication Critical patent/WO2018230298A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass

Definitions

  • the present invention relates to a partial order procedure generation device, a partial order procedure generation method, and a partial order procedure generation program.
  • the sequential procedure can be converted into a partial order without misjudging the order relation, and is used for a system configuration change.
  • the present invention relates to an order procedure generation apparatus, a partial order procedure generation method, and a partial order procedure generation program.
  • the system administrator creates a procedure manual for building or changing the components that make up the system as required, and the construction worker or modification worker is created. This is realized by executing construction work or modification work according to the procedure manual.
  • construction work or modification work In order for construction work or modification work to be completed correctly, construction work or modification work must be executed in the correct order.
  • the order of construction work or change work varies depending on the characteristics of parts constituting the system (hereinafter referred to as system constituent parts or simply parts) and combinations of parts.
  • Non-Patent Document 1 describes a state after the system is constructed and a state after the system is constructed based on information in which the state after the modification is declaratively described as a model.
  • a technique for calculating a difference between a state or a state after being changed and automatically calculating a construction procedure or a change procedure is described.
  • a system for calculating a construction procedure or a change procedure includes, for example, a state model conversion unit, a route search unit, and a transition order conversion unit.
  • the system construction procedure generation system configured as described above generates procedures in the order of state model conversion, route search, and partial order procedure. Note that “semi-order proceduralization” corresponds to “transition order conversion” in Patent Document 1.
  • Patent Document 1 Before explaining the processing contents of state model conversion, route search, and partial order proceduralization, one system described in Patent Document 1 and Non-Patent Document 1 declaratively describes the state of the system as a model. A state model will be described.
  • the state model is a data model that represents information required for calculating the system change procedure.
  • the state model is composed of state elements and dependencies between the state elements.
  • the state element represents a component in the system configuration that has a state independent of other elements. That is, the state element is the smallest unit considered when the procedure is calculated.
  • a state element is defined by a plurality of exclusive states and state transitions between states.
  • the state is a state that the part can take. States are defined in the state elements as much as the part can take.
  • the state element necessarily includes one current state and an arbitrary number of request states.
  • the state transition represents a state in which a component in an arbitrary state can transition.
  • a state transition is defined between arbitrary states of one state element.
  • the dependency is defined from the state transition of the state element (hereinafter referred to as the dependency state element) to the state of the other state element (hereinafter referred to as the dependency state element).
  • the defined dependency represents a condition that, in order for the state element of the dependency source to perform the state transition accompanied by the dependency, the state element of the dependency destination must be in the state accompanied by the dependency.
  • the state element corresponds to the part in the system configuration. That is, the state transition performed by the state element corresponds to a single process performed on the corresponding component in the entire procedure of system construction or system change.
  • FIG. 11 is an explanatory diagram showing an example of a state model.
  • the state model shown in FIG. 11 is a specific example of the state model in Patent Document 1.
  • the Tomcat package and Ubuntu VM are defined.
  • state model is described as “state machine group”
  • state element is described as “state machine”.
  • the rectangle shown in FIG. 11 represents the state element.
  • An ellipse in the rectangle represents the state.
  • a double line ellipse represents the current state.
  • a black ellipse represents a request state.
  • solid arrows between ellipses represent state transitions.
  • a dashed arrow between rectangles represents dependency.
  • the current state of each state element is defined as state f
  • the requested state of each state element is defined as state t.
  • the state f represents a state where it is not installed.
  • the state t represents an installed state.
  • the dependency is displayed as a dashed arrow from the state element to the state. That is, the dependency shown in FIG. 11 represents that all state transitions of the state element at the base of the arrow depend on the state indicated by the tip of the arrow.
  • FIG. 11 describes a state element Tomcat whose type is Package and a state element Ubuntu whose type is VM.
  • the state element A includes a state transition depending on the state of the state element B
  • the state element A depends on the state element B
  • the state element A depends on the state element B
  • It is expressed as “having sex”.
  • the state model conversion is a process of converting a plurality of state elements included in the state model into a single state transition system by combining them.
  • Each state of the state transition system after conversion corresponds to various combinations of each state of all state elements included in the state model before conversion.
  • Each state transition in the state transition system after the conversion corresponds to each state transition of all the state elements included in the state model before the conversion.
  • state model conversion is described as “state machine group conversion”.
  • the route search is a process for obtaining a transition order for transitioning the state from the current state to the requested state in the state transition system obtained by the state model conversion.
  • a generally well-known graph route search method is used.
  • Specific examples of the graph route search method include Dijkstra method and AutomatedAutoPlanning (automatic planning).
  • the state transition sequence constituting the route obtained by the route search represents a sequential procedure for constructing or changing the system.
  • Each state transition in the state transition sequence corresponds to each step constituting a sequential procedure.
  • the partial order proceduralization is a process of converting a state transition sequence constituting a route obtained by route search into a partial order set of state transitions in which an order relation is given only between state transitions ordered by dependency.
  • the semi-ordered set is an ordered set in which there is a set of elements to which no order relation is assigned. Further, the total ordered set is an ordered set in which an order relation is given to all pairs of elements.
  • the route obtained by the route search is composed of a state transition sequence representing a sequential procedure in which the order is determined from the first state transition to the last state transition, and thus is represented as a total ordered set.
  • the state transition sequence constituting the path includes a set of state transitions to which an order relation not caused by the dependency is given.
  • the partial order procedural process is a process of eliminating the order relation given to the set of state transitions as described above and converting the state transition sequence into a partial order set.
  • the order relation given to the set of state transitions corresponds to the order relation between the steps constituting the procedure for constructing or changing the system. That is, the partial order procedure is a partial order set procedure in which an order relation is given only to a set of state transitions ordered by dependency.
  • Processes corresponding to a set of state transitions to which no order relationship is assigned are processes that can be executed in an arbitrary order. That is, each process may be performed in parallel.
  • a state transition that is executed first in a set of state transitions or a set of steps to which an order relationship is given is referred to as “a state transition that is dependent (from a state transition that is executed later)” and is executed later.
  • Each state transition is expressed as “a state transition depending on (a state transition executed first)”.
  • dependent state transition the state transition executed before the predetermined state transition is referred to as “dependent state transition”, and the state transition executed after the predetermined state transition. Are expressed as “dependent state transitions”.
  • Non-Patent Document 1 is based on the state model conversion and path using the current state of the system and the state model in which the state after being constructed or the state after being changed is defined as an input. Perform search and partial ordering. By performing each process, the technique described in Non-Patent Document 1 can derive a partial order procedure for constructing or changing a system.
  • the first problem of the change planning system described in Patent Document 1 is that there is a possibility of erroneous determination that a set of state transitions having no order relationship has an order relationship. The reason is that there is a problem in the method for determining whether or not there is an order relationship between the state transitions in the derivation of the partial order procedure.
  • FIG. 12 is an explanatory diagram illustrating another example of the state model.
  • the meaning of each notation of the state model shown in FIG. 12 is the same as the meaning of each notation corresponding to the state model shown in FIG.
  • the ID of the state element shown in FIG. 12 is described in a rectangle located on the rectangle representing the state element.
  • a white circle is described at the base of a broken-line arrow representing dependency.
  • a white circle is a symbol representing the state transition of the dependency source.
  • FIG. 13 is an explanatory diagram showing an example of a sequential procedure.
  • the procedure shown in FIG. 13 is, for example, a sequential system construction procedure or a system change procedure.
  • a rounded rectangle shown in FIG. 13 represents a state transition.
  • FIG. 13 also describes a procedure in which the state element B executes the state transition from the state f to the state t after the state element A executes the state transition from the state f to the state t.
  • the partial ordering of the procedure it is determined whether or not there is an order relationship between the state transition of state element A from state f to state t and the state transition of state element B from state f to state t. Is required.
  • the change planning system described in Patent Document 1 has a problem in the method for determining whether or not there is an order relationship between state transitions. It may be judged.
  • the second problem of the change planning system described in Patent Document 1 is that it takes time to derive the partial order procedure because it is not efficient.
  • the change planning system described in Patent Document 1 manages the partial order procedure with a graph-type data structure (hereinafter referred to as a partial order procedure graph).
  • an object of the present invention is to provide a partial order procedure generation apparatus, a partial order procedure generation method, and a partial order procedure generation program capable of correctly determining whether or not there is an order relationship between a set of processes, which solves the above-described problem. .
  • the partial order procedure generation apparatus has a structure in which an order relationship is not given between some steps of steps constituting a sequential procedure in which steps for changing a system configuration are arranged in series.
  • An additional part to be added to a graph representing a semi-order procedure which is a procedure in which processes are arranged in a semi-order structure, and an order relationship between a set satisfying a predetermined condition among a set of steps constituting the added process and the semi-order procedure.
  • a determination unit that determines that there exists.
  • the partial order procedure generation method has a structure in which an order relationship is not given to a part of steps constituting a sequential procedure in which steps for changing a system configuration are arranged in series.
  • the partial order procedure generation program does not give a sequential relationship between some steps to a computer that constitutes a sequential procedure in which steps for changing the system configuration are arranged in series.
  • a set that satisfies a predetermined condition among a set of additional processes to be added to a graph representing a partial order procedure that is a procedure in which steps are arranged in a partial order structure that is a structure, and a step that constitutes the added step and the partial order procedure It is characterized in that a determination process for determining that there is an order relationship is executed.
  • the “order relationship due to dependency” is an order relationship that is established because the execution condition of the state transition to be executed later is satisfied by executing the state transition first.
  • the state transition executed first is the state transition from state t to state f of state element A
  • the state transition executed later is from state t to state f of state element B.
  • the above order relationship is established.
  • the “order relationship due to being dependent” is an order relationship that is established when the state transition is executed first and the execution condition of the state transition executed later is not satisfied.
  • the state transition executed first is the state transition from state t to state f of state element B
  • the state transition executed later is from state f of state element A to state t.
  • the above order relationship is established.
  • the order relationship between the state transitions of the same state element is an order relationship that is established because the state transition executed first and the state transition executed later are the state transitions of the same state element.
  • the state transition executed first is the state transition from state t to state f of state element A
  • the state transition executed later is from state f of state element A to state t.
  • the above order relationship is established.
  • the reason why the above-described order relationship is established is that the state element A can not execute the state transition from the state f until after the state transition to the state f is executed.
  • it is determined whether or not the state element that performs the state transition executed first is the same as the state element that performs the state transition executed later. Just do it.
  • the above-described order relationship is established.
  • the present invention provides a system that does not erroneously determine the presence / absence of an order relationship of a set of state transitions in the process of deriving a partial order procedure for system configuration change.
  • the present invention provides a system that can derive a partial order procedure for changing the system configuration without searching for a partial order procedure managed by a graph type data structure.
  • FIG. 1 is a block diagram showing a configuration example of a first embodiment of a partial order procedure generation device according to the present invention.
  • the partial order procedure generation apparatus 100 of this embodiment is an apparatus used when the system configuration is changed.
  • the partial order procedure generation device 100 of this embodiment includes a sequential procedure processing unit 110, a partial order procedure adding unit 120, and a partial order procedure graph management unit 130. Each component operates as follows.
  • the sequential procedure processing unit 110 is based on a sequential procedure in which system construction steps or system change steps are arranged in series, and a semi-order procedure in which system construction steps or system change steps are arranged in a semi-ordered structure. It has the function to generate.
  • the sequential procedure processing unit 110 extracts processes in order from the beginning of the sequential procedure, and inputs the extracted processes to the semi-sequenced procedure adding unit 120.
  • the partial order procedure adding unit 120 has a function of adding a system construction process or a system change process input from the sequential procedure processing unit 110 to the partial order procedure graph.
  • the partial order procedure addition unit 120 searches the partial order procedure graph held by the partial order procedure graph management unit 130, and determines each step based on the type of the set of processes having an order relationship. It is determined whether or not a set of processes has an order relationship.
  • the semi-ordered procedure graph management unit 130 has a function of holding a semi-ordered procedure graph.
  • a process corresponds to a node of the graph.
  • a directed edge is drawn from a node of a dependent process toward a node of the dependent process.
  • the partial order procedure generation device 100 may be connected to an input device, an output device, and a storage device so as to be able to communicate with each other.
  • FIG. 2 is a flowchart illustrating an overall operation of the partial order procedure graph output process by the partial order procedure generation device 100 according to the first embodiment.
  • the partial order procedure generation apparatus 100 When the system configuration is changed, the partial order procedure generation apparatus 100 first has a state model M11 representing a system to be built or changed as an input to the entire apparatus and a system construction process or a system change process in series. The arranged sequential procedures SP11 are received (step S110).
  • the sequential procedure processing unit 110 checks whether or not a process remains in the received sequential procedure SP11 (step S120). When the process remains (Yes in step S120), the sequential procedure processing unit 110 takes out the first process remaining in the sequential procedure SP11 (step S130).
  • the partial order procedure adding unit 120 refers to the received state model M11, and adds the process extracted in step S130 to the partial order procedure graph G11 held by the partial order procedure graph management unit 130.
  • a graph addition process is executed (step S140). Note that nothing is included in the partial order procedure graph G11 in the initial state.
  • the semi-sequence procedure generation device 100 repeatedly executes the processing from step S130 to step S140 until no process remains in the sequential procedure SP11.
  • the sequential procedure processing unit 110 outputs a semi-ordered procedure graph G11 at a stage where all the processes of the sequential procedure SP11 are processed (step S150).
  • the partial order procedure generation apparatus 100 ends the partial order procedure graph output process.
  • FIG. 3 is a flowchart illustrating the operation of the partial order procedure graph addition process by the partial order procedure addition unit 120 according to the first embodiment.
  • the partial order procedure adding unit 120 acquires all the steps that are not dependent on any other steps among the steps included in the partial order procedure graph G11 (step S141).
  • the partial order procedure adding unit 120 adds the process extracted in step S130 as a node to the partial order procedure graph G11G (step S142).
  • the partial order procedure adding unit 120 checks whether there is a process that has not yet been selected among the processes acquired in Step S141 (Step S143).
  • step S143 If there is a process that has not yet been selected (Yes in step S143), the partial order procedure adding unit 120 selects one arbitrary process that has not yet been selected from the processes acquired in step S141 (step S144). ).
  • the partial order procedure adding unit 120 acquires one step at a time that can be traced by the depth-first search from the step selected in step S144 on the partial order procedure graph G11.
  • a depth-first search is a search that follows the direction of a directed edge, i.e., follows a dependent process from a dependent process.
  • the partial order procedure adding unit 120 confirms whether or not all the processes that can be followed by the depth-first search have been acquired (step S145). If there is a process that has not yet been acquired (No in step S145), the partial order procedure adding unit 120 can be traced by a depth-first search from the process selected in step S144 and has not yet been acquired. Is acquired (step S146).
  • the partial order procedure adding unit 120 determines whether or not there is an order relationship between the process acquired in step S146 and the process extracted in step S130 with reference to the state model M11 (step S147). ).
  • the partial order procedure adding unit 120 performs, from the state model M11, a state element that executes a state transition corresponding to the process acquired in step S146 and a state transition corresponding to the process extracted in step S130. Get the state element to execute.
  • the partial order procedure adding unit 120 determines whether or not “order relationship due to dependence”, “order relationship due to dependence”, or “same” between the two steps based on the acquired state element. It is determined whether or not any of the “order relationship between state transitions of state elements” is satisfied.
  • the partial order procedure adding unit 120 determines that there is no order relationship between the processes (No in step S147). Next, the partial order procedure adding unit 120 performs the process of step S145 again.
  • the partial order procedure adding unit 120 determines that there is an order relationship between the processes (Yes in step S147). Next, the partial order procedure adding unit 120 assigns a directed edge toward the process acquired in Step S146 from the process added in Step S142 (the process extracted in Step S130) to the partial order procedure graph G11 ( Step S148). After providing the directed edge, the partial order procedure adding unit 120 performs the process of step S145 again.
  • the partial order procedure adding unit 120 does not perform a depth-first search beyond the process acquired in step S146. Further, in order not to search for the same process more than once, the partial order procedure adding unit 120 records the searched process. The partial order procedure adding unit 120 does not search for the searched process and the previous process of the searched process.
  • the partial order procedure adding unit 120 Until the depth-first search is completed, that is, until all the processes that can be followed by the depth-first search are acquired, the partial order procedure adding unit 120 repeatedly executes the processing from step S146 to step S148. When all the processes that can be followed by the depth-first search are acquired (Yes in step S145), the partial order procedure adding unit 120 performs the process of step S143 again.
  • the partial order procedure adding unit 120 repeatedly executes the processes of steps S144 to S148 until all the processes acquired in step S141 are selected. When all the processes acquired in step S141 are selected (No in step S143), the partial order procedure adding unit 120 ends the partial order procedure graph addition process.
  • the partial order procedure adding unit 120 determines the presence / absence of the order relation of each process set based on the type of the process set having the order relation, the presence / absence of the order relation is correctly determined. Therefore, the partial order procedure production
  • the semi-sequence procedure generation device 100 can solve the above-described first problem that is erroneously determined that there is an order relationship in a set of transitions having no order relationship.
  • the change planning system described in Patent Document 1 cannot correctly half-order the sequential procedure of system construction or system change. Even in this case, the sequential procedure is correctly semi-ordered.
  • FIG. 4 is a block diagram showing a configuration example of the second embodiment of the partial order procedure generation device according to the present invention.
  • the partial order procedure generation apparatus 200 of this embodiment is an apparatus used when the system configuration is changed.
  • the partial order procedure generation apparatus 200 includes a sequential procedure processing unit 210, a partial order procedure addition unit 220, and a partial order procedure graph management unit 230. Each component operates as follows.
  • the sequential procedure processing unit 210 is based on a sequential procedure in which system construction steps or system change steps are arranged in series, and a semi-order procedure in which system construction steps or system change steps are arranged in a semi-ordered structure. It has the function to generate.
  • the sequential procedure processing unit 210 sequentially extracts processes from the beginning of the sequential procedure, and inputs the extracted processes to the semi-sequenced procedure adding unit 220.
  • the partial order procedure adding unit 220 does not search the partial order procedure graph held by the partial order procedure graph management unit 230, and does not search for the system construction process or the system change process input from the sequential procedure processing unit 210. Has a function to add to the graph.
  • the semi-order procedure addition unit 220 When adding a process to the semi-order procedure graph, the semi-order procedure addition unit 220 utilizes information on a process that is performed last for each component in the system configuration.
  • the partial order procedure graph management unit 230 has a function of holding a partial order procedure graph.
  • the partial order procedure graph management unit 230 acquires the process performed first or the process performed last for each component in the system configuration in accordance with the command input from the partial order procedure addition unit 220. Next, the partial order procedure graph management unit 230 passes the acquired steps to the partial order procedure addition unit 220.
  • processes correspond to the nodes of the graph.
  • a labeled directed edge is drawn from a dependent process node toward a dependent process node.
  • the label attached to the directed edge indicates that the order relationship between processes is “order relationship due to dependency”, “order relationship due to dependency”, or “order relationship between state transitions of the same state element”. Which of the following is true.
  • the partial order procedure generation device 200 may be communicably connected to an input device, an output device, and a storage device.
  • FIG. 5 is a flowchart illustrating the overall operation of the partial order procedure graph output process by the partial order procedure generation device 200 according to the second embodiment.
  • the partial order procedure generation apparatus 200 When the system configuration is changed, the partial order procedure generation apparatus 200 first has a state model M21 representing a system to be built or changed as an input to the entire apparatus and a system construction process or a system change process in series. The arranged sequential procedure SP21 is received (step S210).
  • the partial order procedure graph management unit 230 performs a partial order procedure graph initialization process for initializing the stored partial order procedure graph G21 with reference to the received state model M21 (step S220).
  • the sequential procedure processing unit 210 checks whether or not a process remains in the received sequential procedure SP21 (step S230). When the process remains (Yes in step S230), the sequential procedure processing unit 210 takes out the first process remaining in the sequential procedure SP21 (step S240).
  • the partial order procedure adding unit 220 refers to the received state model M21, and executes a partial order procedure graph addition process for adding the process extracted in step S240 to the partial order procedure graph G21 (step S250). .
  • the semi-sequence procedure generation device 200 repeatedly executes the processing from step S240 to step S250 until no process remains in the sequential procedure SP21.
  • the partial order procedure graph management unit 230 performs the partial order procedure graph post-processing on the partial order procedure graph G21G (step S260).
  • the sequential procedure processing unit 210 outputs the semi-ordered procedure graph G21 at the stage where the semi-ordered procedure graph post-processing is executed (step S270). After outputting the partial order procedure graph, the partial order procedure generation device 200 ends the partial order procedure graph output process.
  • FIG. 6 is a flowchart illustrating the operation of the partial order procedure graph initialization process by the partial order procedure graph management unit 230 according to the second embodiment.
  • the partial order procedure graph management unit 230 checks whether there is a state element that has not yet been selected from the received state model M21M (step S221).
  • Step S221 If there is a state element that has not yet been selected (Yes in Step S221), the partial order procedure graph management unit 230 selects one arbitrary state element from among the state elements that are not selected in the state model M21 (Step S221). S222).
  • the partial order procedure graph management unit 230 adds a dummy process representing the state transition of the selected state element to the current state as a node in the partial order procedure graph G21G (step S223).
  • the added dummy process is a process for correctly executing the partial order procedure graph addition process of step S250.
  • the semi-order procedure graph management unit 230 does not add the order relationship (directed edge) between the added dummy process and another process to the semi-order procedure graph G21.
  • the state of the state element before the added process is executed may be any state other than the current state.
  • the partial order procedure graph management unit 230 may determine the state of the state element as state f if the current state is state t, and state t if the current state is state f. Further, the partial order procedure graph management unit 230 may determine the state of the state element by another method.
  • the partial order procedure graph management unit 230 repeatedly executes the processing from step S222 to step S223 until there is no state element that has not yet been selected from the state model M21. If there is no unselected state element (No in step S221), the partial order procedure graph management unit 230 ends the partial order procedure graph initialization process.
  • FIG. 7 is a flowchart illustrating the operation of the partial order procedure graph addition process by the partial order procedure addition unit 220 according to the second embodiment.
  • the partial order procedure adding unit 220 adds the process extracted in step S240 as a node to the partial order graph G21G (step S251).
  • the partial order procedure adding unit 220 refers to the received state model M21 and lists all the state elements on which the state transition representing the process extracted in Step S240 depends (Step S252).
  • the partial order procedure adding unit 220 checks whether there is a state element that has not yet been selected among the listed state elements (step S253). If there is a state element that has not yet been selected (Yes in step S253), the partial order procedure adding unit 220 selects one arbitrary state element that has not yet been selected from the listed state elements (step S254). ).
  • the partial order procedure adding unit 220 acquires from the partial order procedure graph management unit 230 the process that is last performed by the state element selected in step S254 (step S255).
  • the partial order procedure adding unit 220 determines whether or not the “order relationship due to dependence” is established between the process acquired in step S255 and the process extracted in step S240 (step S256). ).
  • the partial order procedure adding unit 220 sets the “order relationship due to dependence” from the process node extracted in step S240 to the process node acquired in step S255.
  • the indicated directed edge with label is drawn (step S257).
  • the partial order procedure adding unit 220 repeatedly executes the processing from step S254 to step S257 until there is no state element that has not been selected. If there is no state element that has not yet been selected (No in step S253), the partial order procedure adding unit 220 performs the final step performed by the state element that performs the process extracted in step S240. (Step S258).
  • step S258 the process performed last by the state element acquired in step S258 is a process performed by the state element immediately before the process extracted in step S240.
  • the partial order procedure adding unit 220 corresponds to the node to which the labeled directed edge indicating the “order relation due to dependence” is drawn toward the node of the process acquired in step S258. Are enumerated (step S259).
  • the partial order procedure adding unit 220 confirms whether or not there is a process that has not yet been selected among the processes listed in Step S259 (Step S25A). When there is a process that has not yet been selected (Yes in step S25A), the partial order procedure adding unit 220 selects one arbitrary process that has not yet been selected from the listed processes (step S25B).
  • the partial order procedure adding unit 220 adds a labeled directed edge indicating an “order relation due to dependence” from the process node extracted in step S240 to the process node selected in step S25B. Subtract (step S25C).
  • the semi-order procedure adding unit 220 repeatedly executes the processing from step S25B to step S25C until there is no process that has not been selected. If there is no process that has not yet been selected (No in step S25A), the partial order procedure adding unit 220 is directed with a label indicating "order relation due to dependence" from the process node extracted in step S240. It is confirmed whether or not the edge is drawn (step S25D).
  • step S25D If even one directed edge with a label indicating “order relationship due to dependence” is drawn (Yes in step S25D), the half-order procedure addition unit 220 ends the half-order procedure graph addition processing. .
  • step S25D If no labeled directed edge indicating “order relationship due to dependency” is drawn (No in step S25D), the partial order procedure adding unit 220 determines that “the order between the state transitions of the same state element” A labeled directed edge indicating "relation” is drawn (step S25E).
  • the partial order procedure adding unit 220 draws a labeled directed edge from the process node extracted in step S240 toward the process node acquired in step S258. After drawing the labeled directed edge, the partial order procedure adding unit 220 ends the partial order procedure graph addition process.
  • FIG. 8 is a flowchart illustrating the operation of the semi-sequence procedure graph post-processing by the semi-sequence procedure graph management unit 230 according to the second embodiment.
  • the partial order procedure graph management unit 230 checks whether there is a state element that has not yet been selected among the state elements that perform the steps included in the partial order procedure graph G21G (step S261).
  • step S261 If there is a state element that has not yet been selected (Yes in step S261), the partial order procedure graph management unit 230 selects one arbitrary item that has not yet been selected among the state elements that perform the steps included in the partial order procedure graph G21. Is selected (step S262).
  • the partial order procedure graph management unit 230 acquires a process (dummy process) that is first performed by the state element selected in step S262 (step S263).
  • the semi-ordered procedure graph management unit 230 performs a semi-processing of all the order relations (directed edges in the graph) between the process acquired in step S263 and other processes and the acquired process itself (nodes in the graph). It removes from the order procedure graph G21 (step S264). Each process removed in step S264 is a dummy process added in step S220.
  • the semi-ordered procedure graph management unit 230 repeatedly executes the processing from step S262 to step S264 until there is no state element that has not been selected. If there is no state element that has not yet been selected (No in step S261), the partial order procedure graph management unit 230 ends the partial order procedure graph post-processing.
  • the partial order procedure generation apparatus 200 of the present embodiment takes out a process in order from the beginning of a sequential procedure in which a system construction process or a system change process is arranged in series, and the extracted process is a partial order procedure addition unit 220. Is provided with a sequential procedure processing unit 210.
  • the sequential procedure processing unit 210 generates a semi-order procedure in which the system construction process or the system change process is arranged in a semi-order structure based on the sequential procedure.
  • the partial order procedure generation apparatus 200 when adding a system construction process or a system change process to the partial order procedure, provides information on the process performed last for each component in the system configuration.
  • a partial order procedure adding unit 220 to be used is provided.
  • the partial order procedure adding unit 220 can add a process without searching for a graph representing the partial order procedure.
  • the partial order procedure generation apparatus 200 holds a graph representing the partial order procedure, and the process performed first for each part in the system configuration and finally for each part in the system configuration.
  • a semi-order procedure graph management unit 230 is provided for acquiring the steps to be performed.
  • the partial order procedure adding unit 220 determines the presence / absence of the order relation of each process group based on the type of the process group having the order relation, it can correctly determine the presence / absence of the order relation. Therefore, the partial order procedure production
  • the change planning system described in Patent Document 1 is a case where the sequential procedure of system construction or system change cannot be correctly half-ordered. However, the sequential procedure is correctly semi-ordered.
  • the partial order procedure adding unit 220 of the present embodiment when adding a system construction process or a system change process to the partial order procedure graph, displays information on the process executed last for each part in the system configuration. use. By utilizing the process information, the partial order procedure adding unit 220 can add a process without searching the partial order procedure graph.
  • the change planning system described in Patent Document 1 adds the steps included in the sequential procedure in the partial order procedure derivation process to the partial order procedure graph. The problem of long procedure derivation caused by searching the partial order procedure graph each time is solved.
  • the partial order procedure generation apparatus 200 can derive a procedure more efficiently than the change planning system described in Patent Document 1, the sequential procedure for system construction or system change can be performed in a shorter time. Can be ordered.
  • FIG. 9 is an explanatory diagram showing a hardware configuration example of the partial order procedure generation device according to the present invention.
  • partial order procedure generation apparatus shown in FIG. 9 may include a DSP (Digital Signal Processor) instead of the CPU 21.
  • DSP Digital Signal Processor
  • generation apparatus shown in FIG. 9 may be provided with CPU21 and DSP together.
  • the main storage unit 22 is used as a data work area and a temporary data save area.
  • the main storage unit 22 is, for example, a RAM (Random Access Memory).
  • the auxiliary storage unit 23 is a tangible storage medium that is not temporary.
  • the non-temporary tangible storage medium include a magnetic disk, a magneto-optical disk, a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), and a semiconductor memory.
  • the input unit 24 has a function of inputting data and processing instructions.
  • the input unit 24 is an input device such as a keyboard or a mouse.
  • the output unit 25 has a function of outputting data.
  • the output unit 25 is a display device such as a liquid crystal display device or a printing device such as a printer.
  • each component is connected to the system bus 26.
  • the auxiliary storage unit 23 includes, for example, a sequential procedure processing unit 110, a partial order procedure addition unit 120, a partial order procedure graph management unit 130, a sequential procedure processing unit 210, a partial order procedure addition unit 220, and a partial order procedure graph management unit 230.
  • the program for realizing is stored.
  • the partial order procedure generation apparatus 100 and the partial order procedure generation apparatus 200 of each embodiment may be realized by the CPU 21 that executes processing according to a program stored in a non-temporary storage medium, for example. That is, the partial order procedure generation device 100 and the partial order procedure generation device 200 of each embodiment may be realized by software.
  • the CPU 21 loads a program stored in the auxiliary storage unit 23 to the main storage unit 22 and executes it, thereby controlling the operation of the partial order procedure generation device, thereby enabling each function to be performed by software.
  • the sequential procedure processing unit 110, the partial order procedure addition unit 120, the partial order procedure graph management unit 130, the sequential procedure processing unit 210, the partial order procedure addition unit 220, and the partial order procedure graph management unit 230 are, for example, program controlled. It implement
  • each component may be realized by a general-purpose circuit (circuitry IV), a dedicated circuit, a processor, or a combination thereof. These may be configured by a single chip or may be configured by a plurality of chips connected via a bus. Part or all of each component may be realized by a combination of the above-described circuit and the like and a program.
  • each part in the partial order procedure generation device 100 and the partial order procedure generation device 200 of each embodiment may be realized by a hardware circuit.
  • a sequential procedure processing unit 110, a partial sequence procedure adding unit 120, a partial sequence procedure graph managing unit 130, a sequential procedure processing unit 210, a partial sequence procedure adding unit 220, and a partial sequence procedure graph managing unit 230 are respectively connected to LSI ( Large Scale). Further, they may be realized by a single LSI.
  • the plurality of information processing devices and circuits may be centrally arranged or distributedly arranged.
  • the information processing apparatus, the circuit, and the like may be realized as a form in which each is connected via a communication network, such as a client and server system and a cloud computing system.
  • FIG. 10 is a block diagram showing an outline of the partial order procedure generating apparatus according to the present invention.
  • the semi-sequential procedure generation device 10 according to the present invention has a structure in which an order relationship is not given to a part of the steps constituting a sequential procedure in which steps for changing the system configuration are arranged in series.
  • An addition unit 11 (for example, a sequential procedure processing unit 110) that adds to a graph representing a partial order procedure that is a procedure in which the steps are arranged in a partial order structure, and a set of steps that constitute the added step and the partial order procedure.
  • a determination unit 12 for example, a partial order procedure addition unit 120 that determines that an order relationship exists in a set that satisfies a predetermined condition.
  • the partial order procedure generation device can correctly determine whether or not there is an order relationship between process groups.
  • the determination unit 12 may detect a set satisfying a predetermined condition by searching a graph representing a partial order procedure by a predetermined method.
  • the partial order procedure generation device can give a directed edge to the partial order procedure graph by executing a depth-first search.
  • the determination unit 12 detects from among a set of processes performed last for a part constituting the system to be changed among the processes in which a set satisfying a predetermined condition is added and the processes constituting the partial order procedure. May be.
  • the partial order procedure generation device can add a directed edge to the partial order procedure graph without performing a depth-first search.
  • the predetermined condition may be that when one process included in the set is executed, the other process included in the set can be executed.
  • the predetermined condition may be that when one process included in the set is executed, the other process included in the set becomes an unexecutable process.
  • the predetermined condition may be that each state transition representing each of a plurality of steps included in the set is included in the same state element.
  • the partial order procedure generation device can give a significant directed edge to the partial order procedure graph.
  • the partial order procedure generation device 10 is erroneous if the change planning system described in Patent Document 1 has an order relation in a set of state transitions having no order relation in the derivation of the partial order procedure for system construction or system change. The problem of judging can be solved.
  • the partial order procedure generation apparatus 10 sorts out the types of state transition sets having an order relationship, and determines whether or not there is an order relationship between the state transitions based on the type. This is because it is possible to avoid misjudgment of the presence or absence.
  • the change planning system described in Patent Document 1 is a process of deriving a partial order procedure for system construction or system change, and the state transition in a state transition sequence representing a sequential procedure is shown as a partial order procedure graph. Search for a partial order procedure graph each time it is added.
  • the change planning system described in Patent Document 1 manages a partial order procedure using a partial order procedure graph.
  • the partial order procedure generation device 10 can improve the problem that it takes time to derive a procedure because of the above efficiency.
  • the reason is that, when the partial order procedure generation device 10 adds a state transition of system construction or system change to the partial order procedure graph, the information on the last process performed for each part in the system configuration is used. This is because the state transition can be added without searching the partial order procedure graph.
  • the present invention is suitably applied to a design support application when a system composed of a plurality of parts represented by an IT (Information Technology) system is constructed or changed.
  • IT Information Technology
  • the present invention is preferably applied to partial ordering of sequential procedures for system construction or system change.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A partially ordered procedure generation device 10 is provided with: an addition unit 11 for adding steps constituting a sequential procedure in which steps for changing a system configuration are arranged in series to a graph that represents a partially ordered procedure in which steps are arranged in a partially ordered structure in which, between some of the steps, no order relation is given; and a determination unit 12 for determining that an order relation exists in a set, among sets of the added steps and the steps constituting the partially ordered procedure, that satisfies a prescribed condition.

Description

半順序手順生成装置、半順序手順生成方法および半順序手順生成プログラムSemi-order procedure generating apparatus, semi-order procedure generating method, and semi-order procedure generating program
 本発明は、半順序手順生成装置、半順序手順生成方法および半順序手順生成プログラムに関し、特に順序関係を誤判定せずに逐次的な手順を半順序化でき、システム構成変更に使用される半順序手順生成装置、半順序手順生成方法および半順序手順生成プログラムに関する。 The present invention relates to a partial order procedure generation device, a partial order procedure generation method, and a partial order procedure generation program. In particular, the sequential procedure can be converted into a partial order without misjudging the order relation, and is used for a system configuration change. The present invention relates to an order procedure generation apparatus, a partial order procedure generation method, and a partial order procedure generation program.
 一般的に、システムの構築または変更は、システムの管理者がシステムを構成する部品を要求通りの状態に構築または変更するための手順書を作成し、構築作業者または変更作業者が作成された手順書に沿って構築作業または変更作業を実行することによって実現される。 In general, when building or changing a system, the system administrator creates a procedure manual for building or changing the components that make up the system as required, and the construction worker or modification worker is created. This is realized by executing construction work or modification work according to the procedure manual.
 構築作業または変更作業が正しく完了するためには、構築作業または変更作業が正しい順序で実行されることが求められる。構築作業または変更作業の順序性は、システムを構成する部品(以下、システム構成部品、または単に部品という。)の特性や部品同士の組み合わせに応じて多様に変化する。 In order for construction work or modification work to be completed correctly, construction work or modification work must be executed in the correct order. The order of construction work or change work varies depending on the characteristics of parts constituting the system (hereinafter referred to as system constituent parts or simply parts) and combinations of parts.
 すなわち、手順書の内容を正しく記述するために、管理者には、作業対象のシステムおよび作業対象のシステムの部品に関して深く理解することが求められる。手順書の作成には、高度な専門技術と多くの時間を要する。 In other words, in order to correctly describe the contents of the procedure manual, the administrator is required to have a deep understanding of the work target system and the parts of the work target system. The preparation of the procedure manual requires a high level of expertise and a lot of time.
 上記のような手順書の作成に使用される、部品を構築または変更する手順に関する要件を形式的に表現し、表現された要件を基に構築手順または変更手順を自動的に生成する技術が提供されている。 Provided a technology that formally expresses the requirements related to the procedure for building or changing a part used to create a procedure document as described above, and automatically generates the build procedure or change procedure based on the expressed requirement Has been.
 例えば、非特許文献1には、システムが構築された後の状態、または変更された後の状態がモデルとして宣言的に記述された情報を基に、システムの現在の状態と構築された後の状態、または変更された後の状態との差分を計算し、構築手順または変更手順を自動的に算出する技術が記載されている。 For example, Non-Patent Document 1 describes a state after the system is constructed and a state after the system is constructed based on information in which the state after the modification is declaratively described as a model. A technique for calculating a difference between a state or a state after being changed and automatically calculating a construction procedure or a change procedure is described.
 上記の技術分野における、構築手順または変更手順を計算するシステムは、例えば状態モデル変換手段と、経路探索手段と、遷移順序変換手段とで構成されている。上記のような構成をとるシステム構築手順生成システムは、状態モデル変換、経路探索、半順序手順化の順に手順を生成する。なお、「半順序手順化」は、特許文献1における「遷移順序変換」に相当する。 In the above technical field, a system for calculating a construction procedure or a change procedure includes, for example, a state model conversion unit, a route search unit, and a transition order conversion unit. The system construction procedure generation system configured as described above generates procedures in the order of state model conversion, route search, and partial order procedure. Note that “semi-order proceduralization” corresponds to “transition order conversion” in Patent Document 1.
 状態モデル変換、経路探索、半順序手順化の各処理内容を説明する前に、特許文献1および非特許文献1に記載されている、システムの状態をモデルとして宣言的に記述する1つの方式である、状態モデルを説明する。 Before explaining the processing contents of state model conversion, route search, and partial order proceduralization, one system described in Patent Document 1 and Non-Patent Document 1 declaratively describes the state of the system as a model. A state model will be described.
 状態モデルは、システム変更手順の計算に要する情報を表すデータモデルである。状態モデルは、状態要素と状態要素間の依存性とで構成される。 The state model is a data model that represents information required for calculating the system change procedure. The state model is composed of state elements and dependencies between the state elements.
 状態要素は、他の要素と独立に状態を有するシステム構成中の部品を表す。すなわち、状態要素は、手順が計算される際に考慮される最小単位である。状態要素は、排他的な複数の状態と状態間の状態遷移とで定義される。 The state element represents a component in the system configuration that has a state independent of other elements. That is, the state element is the smallest unit considered when the procedure is calculated. A state element is defined by a plurality of exclusive states and state transitions between states.
 状態は、部品が取り得る状態である。状態は、最大で部品が取り得る分だけ状態要素に定義される。また、状態要素は、1つの現在状態と、任意個の要求状態とを必ず含む。 The state is a state that the part can take. States are defined in the state elements as much as the part can take. The state element necessarily includes one current state and an arbitrary number of request states.
 また、状態遷移は、任意の状態の部品が遷移可能な状態を表す。状態遷移は、1つの状態要素の任意の状態間に定義される。 Also, the state transition represents a state in which a component in an arbitrary state can transition. A state transition is defined between arbitrary states of one state element.
 次に、依存性は、状態要素(以下、依存元の状態要素という。)の状態遷移から、他の状態要素(以下、依存先の状態要素という。)の状態に対して定義される。定義された依存性は、依存元の状態要素が依存性が付随する状態遷移を行うためには、依存先の状態要素が依存性が付随する状態でなければならないという条件を表す。 Next, the dependency is defined from the state transition of the state element (hereinafter referred to as the dependency state element) to the state of the other state element (hereinafter referred to as the dependency state element). The defined dependency represents a condition that, in order for the state element of the dependency source to perform the state transition accompanied by the dependency, the state element of the dependency destination must be in the state accompanied by the dependency.
 上述した通り、状態要素は、システム構成中の部品に対応している。すなわち、状態要素が行う状態遷移は、システム構築またはシステム変更の全体手順のうちの対応されている部品に対して行われる単一工程に相当する。 As described above, the state element corresponds to the part in the system configuration. That is, the state transition performed by the state element corresponds to a single process performed on the corresponding component in the entire procedure of system construction or system change.
 図11は、状態モデルの例を示す説明図である。図11に示す状態モデルは、特許文献1における状態モデルの具体例である。図11に示す状態モデルでは、TomcatパッケージとUbuntu VM(Virtual Machine)が定義されている。なお、特許文献1には、「状態モデル」が「状態マシン群」、「状態要素」が「状態マシン」とそれぞれ記載されている。 FIG. 11 is an explanatory diagram showing an example of a state model. The state model shown in FIG. 11 is a specific example of the state model in Patent Document 1. In the state model shown in FIG. 11, the Tomcat package and Ubuntu VM (Virtual Machine) are defined. In Patent Document 1, “state model” is described as “state machine group”, and “state element” is described as “state machine”.
 図11に示す矩形が状態要素を表す。また、矩形内の楕円が状態を表す。また、二重線の楕円が現在状態を表す。また、黒色の楕円が要求状態を表す。また、楕円間の実線の矢印が状態遷移を表す。また、矩形間の破線の矢印が依存性を表す。 The rectangle shown in FIG. 11 represents the state element. An ellipse in the rectangle represents the state. A double line ellipse represents the current state. Moreover, a black ellipse represents a request state. Also, solid arrows between ellipses represent state transitions. Further, a dashed arrow between rectangles represents dependency.
 図11に示す例では、各状態要素の現在状態が状態fに、各状態要素の要求状態が状態tにそれぞれ定義されている。状態fは、インストールされていない状態を表す。また、状態tは、インストールされている状態を表す。 In the example shown in FIG. 11, the current state of each state element is defined as state f, and the requested state of each state element is defined as state t. The state f represents a state where it is not installed. The state t represents an installed state.
 図11に示す例では、依存性は、状態要素から状態へ至る破線の矢印として表示されている。すなわち、図11に示す依存性は、矢印の根元の状態要素の全ての状態遷移が、矢印の先端が示す状態に依存していることを表す。 In the example shown in FIG. 11, the dependency is displayed as a dashed arrow from the state element to the state. That is, the dependency shown in FIG. 11 represents that all state transitions of the state element at the base of the arrow depend on the state indicated by the tip of the arrow.
 また、各状態要素の上には、状態要素の型と状態要素のIDがそれぞれ記載されている。例えば、図11には、型がPackage である状態要素Tomcatと、型がVMである状態要素Ubuntuとが記載されている。 Also, on each state element, the state element type and the state element ID are described. For example, FIG. 11 describes a state element Tomcat whose type is Package and a state element Ubuntu whose type is VM.
 以下、本明細書では、状態要素Aが状態要素Bの状態に依存する状態遷移を含む場合、「状態要素Aは状態要素Bに依存する」、または「状態要素Aは状態要素Bへの依存性を有する」等と表現する。 Hereinafter, in the present specification, when the state element A includes a state transition depending on the state of the state element B, “the state element A depends on the state element B” or “the state element A depends on the state element B”. It is expressed as “having sex”.
 以下、状態モデル変換、経路探索、半順序手順化の各処理内容を説明する。最初に、状態モデル変換の処理内容を説明する。状態モデル変換は、状態モデルに含まれる複数の状態要素を、合成することによって単一の状態遷移系に変換する処理である。 Hereafter, each processing content of state model conversion, route search, and partial order procedure will be explained. First, processing contents of state model conversion will be described. The state model conversion is a process of converting a plurality of state elements included in the state model into a single state transition system by combining them.
 変換された後の状態遷移系の各状態は、変換される前の状態モデルに含まれている全ての状態要素の各状態の様々な組み合わせにそれぞれ対応する。また、変換された後の状態遷移系の各状態遷移は、変換される前の状態モデルに含まれている全ての状態要素の各状態遷移にそれぞれ対応する。なお、特許文献1には、「状態モデル変換」が「状態マシン群変換」と記載されている。 Each state of the state transition system after conversion corresponds to various combinations of each state of all state elements included in the state model before conversion. Each state transition in the state transition system after the conversion corresponds to each state transition of all the state elements included in the state model before the conversion. In Patent Document 1, “state model conversion” is described as “state machine group conversion”.
 次に、経路探索の処理内容を説明する。経路探索は、状態モデル変換で得られた状態遷移系における、状態を現在状態から要求状態へ遷移させる遷移順序を求める処理である。遷移順序を求めるために、例えば一般的に広く知られている、グラフの経路探索法が用いられる。グラフの経路探索法の具体例として、ダイクストラ法やAutomated Planning(自動計画)等が挙げられる。 Next, the processing contents of the route search will be described. The route search is a process for obtaining a transition order for transitioning the state from the current state to the requested state in the state transition system obtained by the state model conversion. In order to obtain the transition order, for example, a generally well-known graph route search method is used. Specific examples of the graph route search method include Dijkstra method and AutomatedAutoPlanning (automatic planning).
 経路探索で得られた経路を構成する状態遷移列は、システムを構築または変更するための逐次的な手順を表す。状態遷移列中の各状態遷移は、逐次的な手順を構成する各工程に相当する。 The state transition sequence constituting the route obtained by the route search represents a sequential procedure for constructing or changing the system. Each state transition in the state transition sequence corresponds to each step constituting a sequential procedure.
 次に、半順序手順化の処理内容を説明する。半順序手順化は、経路探索で得られた経路を構成する状態遷移列を、依存性により順序付けられる状態遷移間にのみ順序関係が付与された状態遷移の半順序集合に変換する処理である。 Next, the processing contents of the partial order procedure will be described. The partial order proceduralization is a process of converting a state transition sequence constituting a route obtained by route search into a partial order set of state transitions in which an order relation is given only between state transitions ordered by dependency.
 半順序集合は、順序関係が付与されていない要素の組が存在する順序集合である。また、全順序集合は、要素の全ての組に順序関係が付与されている順序集合である。 The semi-ordered set is an ordered set in which there is a set of elements to which no order relation is assigned. Further, the total ordered set is an ordered set in which an order relation is given to all pairs of elements.
 経路探索で得られる経路は、最初の状態遷移から最後の状態遷移まで順序が決まっている、逐次的な手順を表す状態遷移列で構成されているため、全順序集合として表される。しかし、経路を構成する状態遷移列には、依存性に起因しない順序関係が付与されている状態遷移の組も含まれている。半順序手順化は、上記のような状態遷移の組に付与された順序関係を排除し、状態遷移列を半順序集合に変換する処理である。 The route obtained by the route search is composed of a state transition sequence representing a sequential procedure in which the order is determined from the first state transition to the last state transition, and thus is represented as a total ordered set. However, the state transition sequence constituting the path includes a set of state transitions to which an order relation not caused by the dependency is given. The partial order procedural process is a process of eliminating the order relation given to the set of state transitions as described above and converting the state transition sequence into a partial order set.
 状態遷移の組に付与された順序関係は、システムを構築または変更するための手順を構成する各工程間の順序関係に相当する。すなわち、半順序手順は、依存性により順序付けられる状態遷移の組にのみ順序関係が付与されている半順序集合の手順である。 The order relation given to the set of state transitions corresponds to the order relation between the steps constituting the procedure for constructing or changing the system. That is, the partial order procedure is a partial order set procedure in which an order relation is given only to a set of state transitions ordered by dependency.
 順序関係が付与されていない状態遷移の組に対応する工程同士は、それぞれ任意の順序で実行可能な工程である。すなわち、各工程は、並列に実行されてもよい。 Processes corresponding to a set of state transitions to which no order relationship is assigned are processes that can be executed in an arbitrary order. That is, each process may be performed in parallel.
 本明細書では、順序関係が付与されている状態遷移の組または工程の組で先に実行される状態遷移を「(後に実行される状態遷移から)依存されている状態遷移」、後に実行される状態遷移を「(先に実行される状態遷移に)依存している状態遷移」とそれぞれ表現する。 In this specification, a state transition that is executed first in a set of state transitions or a set of steps to which an order relationship is given is referred to as “a state transition that is dependent (from a state transition that is executed later)” and is executed later. Each state transition is expressed as “a state transition depending on (a state transition executed first)”.
 また、特定の状態遷移の組が着目されない場合であっても、所定の状態遷移より先に実行される状態遷移を「依存されている状態遷移」、所定の状態遷移より後に実行される状態遷移を「依存している状態遷移」とそれぞれ表現する。 In addition, even when a specific set of state transitions is not focused, the state transition executed before the predetermined state transition is referred to as “dependent state transition”, and the state transition executed after the predetermined state transition. Are expressed as “dependent state transitions”.
 非特許文献1に記載されている技術は、上記のように、システムの現在の状態と構築された後の状態または変更された後の状態が定義された状態モデルを入力として状態モデル変換、経路探索、および半順序手順化を行う。各処理を行うことによって、非特許文献1に記載されている技術は、システムの構築または変更を行うための半順序手順を導出できる。 As described above, the technique described in Non-Patent Document 1 is based on the state model conversion and path using the current state of the system and the state model in which the state after being constructed or the state after being changed is defined as an input. Perform search and partial ordering. By performing each process, the technique described in Non-Patent Document 1 can derive a partial order procedure for constructing or changing a system.
特開2015-215885号公報JP2015-215585A
 特許文献1に記載されている変更計画システムの第1の問題点は、順序関係がない状態遷移の組に順序関係があると誤判定してしまう恐れがあることである。その理由は、半順序手順の導出における各状態遷移間の順序関係の有無の判定方法に問題があるためである。 The first problem of the change planning system described in Patent Document 1 is that there is a possibility of erroneous determination that a set of state transitions having no order relationship has an order relationship. The reason is that there is a problem in the method for determining whether or not there is an order relationship between the state transitions in the derivation of the partial order procedure.
 特許文献1に記載されている変更計画システムが状態遷移間の順序関係の有無を誤判定してしまう具体例を図12~図13に示す。図12は、状態モデルの他の例を示す説明図である。図12に示す状態モデルの各表記の意味は、図11に示す状態モデルの対応する各表記の意味とそれぞれ同様である。 Specific examples in which the change planning system described in Patent Document 1 erroneously determines whether there is an order relationship between state transitions are shown in FIGS. FIG. 12 is an explanatory diagram illustrating another example of the state model. The meaning of each notation of the state model shown in FIG. 12 is the same as the meaning of each notation corresponding to the state model shown in FIG.
 ただし、図12に示す状態要素のIDは、状態要素を表す矩形の上に位置する矩形内に記載されている。また、図12に示す状態モデルにおいて、依存性を表す破線の矢印の根元に白丸が記載されている。白丸は、依存元の状態遷移を表す記号である。 However, the ID of the state element shown in FIG. 12 is described in a rectangle located on the rectangle representing the state element. In the state model shown in FIG. 12, a white circle is described at the base of a broken-line arrow representing dependency. A white circle is a symbol representing the state transition of the dependency source.
 図13は、逐次的な手順の例を示す説明図である。図13に示す手順は、例えば逐次的なシステムの構築手順、またはシステムの変更手順である。図13に示す角丸四角形が状態遷移を表す。 FIG. 13 is an explanatory diagram showing an example of a sequential procedure. The procedure shown in FIG. 13 is, for example, a sequential system construction procedure or a system change procedure. A rounded rectangle shown in FIG. 13 represents a state transition.
 図12に示す状態モデルで表現されるシステムに対して行われる図13に示す逐次的な構築手順または変更手順を半順序化する場合を考える。図12に示す状態モデルにおいて、状態要素Bが状態tから状態fへの状態遷移を実行する際には、状態要素Aの状態が状態fであることが求められる依存性が存在する。 Consider a case where the sequential construction procedure or change procedure shown in FIG. 13 performed on the system represented by the state model shown in FIG. In the state model shown in FIG. 12, when the state element B executes a state transition from the state t to the state f, there is a dependency that requires the state of the state element A to be the state f.
 また、図13には、状態要素Aが状態fから状態tへの状態遷移を実行した後、状態要素Bが状態fから状態tへの状態遷移を実行するという手順が記載されている。手順の半順序化では、状態要素Aの状態fから状態tへの状態遷移と、状態要素Bの状態fから状態tへの状態遷移の組に順序関係があるか否かが判定されることが求められる。 FIG. 13 also describes a procedure in which the state element B executes the state transition from the state f to the state t after the state element A executes the state transition from the state f to the state t. In the partial ordering of the procedure, it is determined whether or not there is an order relationship between the state transition of state element A from state f to state t and the state transition of state element B from state f to state t. Is required.
 上述した図12に示す状態モデル中の依存性は、図13に示す2つの状態遷移を順序付けない。すなわち、図13に示す状態遷移の組に順序関係はない。しかし、特許文献1に記載されている変更計画システムは、図13に示す状態遷移の組に順序関係があると誤判定してしまう。 The above-described dependency in the state model shown in FIG. 12 does not order the two state transitions shown in FIG. That is, there is no order relationship between the state transition pairs shown in FIG. However, the change planning system described in Patent Document 1 erroneously determines that there is an order relationship among the state transition pairs shown in FIG.
 その理由は、状態遷移の組に含まれる一方の状態遷移を行う状態要素と、他方の状態遷移を行う状態要素の間に依存性が存在すれば、特許文献1に記載されている変更計画システムが依存性の内容を考慮せずに状態遷移の組に順序関係があると判断してしまうためである。 The reason is that if there is a dependency between a state element that performs one state transition and a state element that performs the other state transition included in the set of state transitions, the change planning system described in Patent Document 1 This is because it is determined that there is an order relationship between the pair of state transitions without considering the contents of the dependency.
 上記のように、特許文献1に記載されている変更計画システムは、状態遷移間の順序関係の有無の判定方法に問題があるため、順序関係がない状態遷移の組に順序関係があると誤判定してしまう場合がある。 As described above, the change planning system described in Patent Document 1 has a problem in the method for determining whether or not there is an order relationship between state transitions. It may be judged.
 特許文献1に記載されている変更計画システムの第2の問題点は、半順序手順の導出の効率が悪いため導出に時間が掛かることである。半順序手順の導出過程において、特許文献1に記載されている変更計画システムは、半順序手順をグラフ型のデータ構造(以下、半順序手順グラフと呼ぶ。)で管理する。 The second problem of the change planning system described in Patent Document 1 is that it takes time to derive the partial order procedure because it is not efficient. In the derivation process of the partial order procedure, the change planning system described in Patent Document 1 manages the partial order procedure with a graph-type data structure (hereinafter referred to as a partial order procedure graph).
 逐次的な手順を表す状態遷移列中の状態遷移を半順序手順グラフに追加する度に、特許文献1に記載されている変更計画システムが半順序手順グラフを探索するため、半順序手順の導出に時間が掛かる。 Each time a state transition in a state transition sequence representing a sequential procedure is added to the partial order procedure graph, the change planning system described in Patent Document 1 searches the partial order procedure graph. It takes time.
[発明の目的]
 そこで、本発明は、上述した課題を解決する、工程の組の順序関係の有無を正しく判定できる半順序手順生成装置、半順序手順生成方法および半順序手順生成プログラムを提供することを目的とする。
[Object of invention]
Therefore, an object of the present invention is to provide a partial order procedure generation apparatus, a partial order procedure generation method, and a partial order procedure generation program capable of correctly determining whether or not there is an order relationship between a set of processes, which solves the above-described problem. .
 本発明による半順序手順生成装置は、システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加する追加部と、追加された工程と半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する判定部とを備えることを特徴とする。 The partial order procedure generation apparatus according to the present invention has a structure in which an order relationship is not given between some steps of steps constituting a sequential procedure in which steps for changing a system configuration are arranged in series. An additional part to be added to a graph representing a semi-order procedure, which is a procedure in which processes are arranged in a semi-order structure, and an order relationship between a set satisfying a predetermined condition among a set of steps constituting the added process and the semi-order procedure. And a determination unit that determines that there exists.
 本発明による半順序手順生成方法は、システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加し、追加された工程と半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定することを特徴とする。 The partial order procedure generation method according to the present invention has a structure in which an order relationship is not given to a part of steps constituting a sequential procedure in which steps for changing a system configuration are arranged in series. Add to the graph that represents the partial order procedure, which is the order in which the steps are arranged in the partial order structure, and there is an order relation in the set that satisfies the predetermined condition among the pairs of steps that constitute the added step and the partial order procedure. It is characterized by determining.
 本発明による半順序手順生成プログラムは、コンピュータに、システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加する追加処理、および追加された工程と半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する判定処理を実行させることを特徴とする。 The partial order procedure generation program according to the present invention does not give a sequential relationship between some steps to a computer that constitutes a sequential procedure in which steps for changing the system configuration are arranged in series. A set that satisfies a predetermined condition among a set of additional processes to be added to a graph representing a partial order procedure that is a procedure in which steps are arranged in a partial order structure that is a structure, and a step that constitutes the added step and the partial order procedure It is characterized in that a determination process for determining that there is an order relationship is executed.
 本発明によれば、工程の組の順序関係の有無を正しく判定できる。 According to the present invention, it is possible to correctly determine the presence / absence of an order relationship between process groups.
本発明による半順序手順生成装置の第1の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of 1st Embodiment of the partial order procedure production | generation apparatus by this invention. 第1の実施形態の半順序手順生成装置100による半順序手順グラフ出力処理の全体動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of the partial order procedure graph output process by the partial order procedure production | generation apparatus 100 of 1st Embodiment. 第1の実施形態の半順序手順追加部120による半順序手順グラフ追加処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the partial order procedure graph addition process by the partial order procedure addition part 120 of 1st Embodiment. 本発明による半順序手順生成装置の第2の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of 2nd Embodiment of the partial order procedure production | generation apparatus by this invention. 第2の実施形態の半順序手順生成装置200による半順序手順グラフ出力処理の全体動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of the partial order procedure graph output process by the partial order procedure production | generation apparatus 200 of 2nd Embodiment. 第2の実施形態の半順序手順グラフ管理部230による半順序手順グラフ初期化処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the partial order procedure graph initialization process by the partial order procedure graph management part 230 of 2nd Embodiment. 第2の実施形態の半順序手順追加部220による半順序手順グラフ追加処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the partial order procedure graph addition process by the partial order procedure addition part 220 of 2nd Embodiment. 第2の実施形態の半順序手順グラフ管理部230による半順序手順グラフ後処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the semi-order procedure graph post-process by the semi-order procedure graph management part 230 of 2nd Embodiment. 本発明による半順序手順生成装置のハードウェア構成例を示す説明図である。It is explanatory drawing which shows the hardware structural example of the partial order procedure production | generation apparatus by this invention. 本発明による半順序手順生成装置の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the partial order procedure production | generation apparatus by this invention. 状態モデルの例を示す説明図である。It is explanatory drawing which shows the example of a state model. 状態モデルの他の例を示す説明図である。It is explanatory drawing which shows the other example of a state model. 逐次的な手順の例を示す説明図である。It is explanatory drawing which shows the example of a sequential procedure.
 以下、本発明の実施形態を、図面を参照して説明する。本発明の実施形態において状態遷移間の順序関係は、以下の3種類に分類される。
・依存していることによる順序関係
・依存されていることによる順序関係
・同じ状態要素の状態遷移間の順序関係
Embodiments of the present invention will be described below with reference to the drawings. In the embodiment of the present invention, the order relationship between state transitions is classified into the following three types.
-Order relationship by being dependent-Order relationship by being dependent-Order relationship between state transitions of the same state element
 「依存していることによる順序関係」は、先に状態遷移が実行されることによって、後に実行される状態遷移の実行条件が満たされるために成り立つ順序関係である。例えば、図12に示す状態モデルにおいて、先に実行される状態遷移が状態要素Aの状態tから状態fへの状態遷移、後に実行される状態遷移が状態要素Bの状態tから状態fへの状態遷移である場合、上記の順序関係が成り立つ。 The “order relationship due to dependency” is an order relationship that is established because the execution condition of the state transition to be executed later is satisfied by executing the state transition first. For example, in the state model shown in FIG. 12, the state transition executed first is the state transition from state t to state f of state element A, and the state transition executed later is from state t to state f of state element B. In the case of a state transition, the above order relationship is established.
 上記の順序関係が成り立つ理由は、状態要素Bの状態遷移が状態要素Aの状態fに依存しているために、状態要素Aの状態遷移が先に実行されないと状態要素Bの状態遷移の実行条件が満たされず、状態要素Bの状態遷移が実行不可能なままであるためである。 The reason why the above order relation holds is that, since the state transition of the state element B depends on the state f of the state element A, the state transition of the state element B is executed unless the state transition of the state element A is executed first. This is because the condition is not satisfied and the state transition of the state element B remains unexecutable.
 上記の順序関係が成り立つか否かが判定されるためには、後に実行される状態遷移が、先に実行される状態遷移の遷移先の状態に依存しているか否かが判定されればよい。後に実行される状態遷移が先に実行される状態遷移の遷移先の状態に依存している場合、上記の順序関係が成り立つ。 In order to determine whether or not the above-described order relationship is satisfied, it is only necessary to determine whether or not a state transition executed later depends on a transition destination state of a state transition executed first. . When the state transition executed later depends on the state of the transition destination of the state transition executed first, the above-described order relation is established.
 「依存されていることによる順序関係」は、先に状態遷移が実行されることによって、後に実行される状態遷移の実行条件が満たされなくなるために成り立つ順序関係である。例えば、図12に示す状態モデルにおいて、先に実行される状態遷移が状態要素Bの状態tから状態fへの状態遷移、後に実行される状態遷移が状態要素Aの状態fから状態tへの状態遷移である場合、上記の順序関係が成り立つ。 The “order relationship due to being dependent” is an order relationship that is established when the state transition is executed first and the execution condition of the state transition executed later is not satisfied. For example, in the state model shown in FIG. 12, the state transition executed first is the state transition from state t to state f of state element B, and the state transition executed later is from state f of state element A to state t. In the case of a state transition, the above order relationship is established.
 上記の順序関係が成り立つ理由は、状態要素Aの状態fが状態要素Bの状態遷移に依存されているために、状態要素Aの状態遷移が先に実行されると、状態要素Bの状態遷移の実行条件が満たされなくなり、状態要素Bの状態遷移が実行不可能になるためである。 The reason why the above order relation holds is that, since the state f of the state element A depends on the state transition of the state element B, if the state transition of the state element A is executed first, the state transition of the state element B This is because the state transition condition of the state element B becomes impossible to execute.
 上記の順序関係が成り立つか否かが判定されるためには、先に実行される状態遷移が、後に実行される状態遷移の遷移元の状態に依存しているか否かが判定されればよい。先に実行される状態遷移が後に実行される状態遷移の遷移元の状態に依存している場合、上記の順序関係が成り立つ。 In order to determine whether or not the above-described order relationship is satisfied, it is only necessary to determine whether or not the state transition executed first depends on the state of the transition source of the state transition executed later. . When the state transition executed first depends on the state of the transition source of the state transition executed later, the above order relation is established.
 「同じ状態要素の状態遷移間の順序関係」は、先に実行される状態遷移と後に実行される状態遷移が同じ状態要素の状態遷移であるために成り立つ順序関係である。例えば、図12に示す状態モデルにおいて、先に実行される状態遷移が状態要素Aの状態tから状態fへの状態遷移、後に実行される状態遷移が状態要素Aの状態fから状態tへの状態遷移である場合、上記の順序関係が成り立つ。 “The order relationship between the state transitions of the same state element” is an order relationship that is established because the state transition executed first and the state transition executed later are the state transitions of the same state element. For example, in the state model shown in FIG. 12, the state transition executed first is the state transition from state t to state f of state element A, and the state transition executed later is from state f of state element A to state t. In the case of a state transition, the above order relationship is established.
 上記の順序関係が成り立つ理由は、状態fへの状態遷移を実行した後でなければ、状態要素Aは状態fからの状態遷移を実行できないためである。上記の順序関係が成り立つか否かが判定されるためには、先に実行される状態遷移を行う状態要素と、後に実行される状態遷移を行う状態要素が同じであるか否かが判定されればよい。2つの状態要素が同じである場合、上記の順序関係が成り立つ。 The reason why the above-described order relationship is established is that the state element A can not execute the state transition from the state f until after the state transition to the state f is executed. In order to determine whether or not the above-described order relationship holds, it is determined whether or not the state element that performs the state transition executed first is the same as the state element that performs the state transition executed later. Just do it. When the two state elements are the same, the above-described order relationship is established.
 状態遷移の組の順序関係の有無を判断する際に、特許文献1に記載されている変更計画システムのように状態遷移の組の各状態遷移を行う各状態要素の間に依存性があれば順序関係があると判断されると、順序関係のない状態遷移の組に順序関係があると誤判定されてしまう。 When determining whether or not there is an order relationship of a set of state transitions, if there is a dependency between each state element that performs each state transition of the set of state transitions as in the change planning system described in Patent Document 1 If it is determined that there is an order relationship, it is erroneously determined that there is an order relationship in a set of state transitions that do not have an order relationship.
 状態遷移の組の各状態遷移を行う各状態要素の間の依存性が、依存していることによる順序関係、または依存されていることによる順序関係を成り立たせる依存性であるか否かが判断されると、順序関係のない状態遷移の組に順序関係があると誤判定されることが回避される。 Determining whether or not the dependency between each state element that performs each state transition of the state transition set is an order relationship by being dependent, or a dependency that establishes an order relationship by being dependent If this is done, it is avoided that a group of state transitions having no order relationship is erroneously determined to have an order relationship.
 上記の特性を活用して、本発明は、システム構成変更のための半順序手順の導出過程において、状態遷移の組の順序関係の有無を誤判定しないシステムを提供する。また、本発明は、グラフ型のデータ構造で管理されている半順序手順を探索せずに、システム構成変更のための半順序手順を導出できるシステムを提供する。 Utilizing the above characteristics, the present invention provides a system that does not erroneously determine the presence / absence of an order relationship of a set of state transitions in the process of deriving a partial order procedure for system configuration change. In addition, the present invention provides a system that can derive a partial order procedure for changing the system configuration without searching for a partial order procedure managed by a graph type data structure.
[第1の実施の形態]
[構成の説明]
 次に、本発明の第1の実施形態を、図面を参照して説明する。図1は、本発明による半順序手順生成装置の第1の実施形態の構成例を示すブロック図である。本実施形態の半順序手順生成装置100は、システム構成が変更される際に使用される装置である。
[First Embodiment]
[Description of configuration]
Next, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a first embodiment of a partial order procedure generation device according to the present invention. The partial order procedure generation apparatus 100 of this embodiment is an apparatus used when the system configuration is changed.
 図1に示すように、本実施形態の半順序手順生成装置100は、逐次手順処理部110と、半順序手順追加部120と、半順序手順グラフ管理部130とを備える。各構成要素は、それぞれ以下のように動作する。 As shown in FIG. 1, the partial order procedure generation device 100 of this embodiment includes a sequential procedure processing unit 110, a partial order procedure adding unit 120, and a partial order procedure graph management unit 130. Each component operates as follows.
 逐次手順処理部110は、システム構築の工程またはシステム変更の工程が直列に並べられた逐次的な手順を基に、システム構築の工程またはシステム変更の工程が半順序構造で並べられた半順序手順を生成する機能を有する。 The sequential procedure processing unit 110 is based on a sequential procedure in which system construction steps or system change steps are arranged in series, and a semi-order procedure in which system construction steps or system change steps are arranged in a semi-ordered structure. It has the function to generate.
 具体的には、逐次手順処理部110は、逐次的な手順の先頭から順に工程を取り出し、取り出された工程を半順序手順追加部120に入力する。 Specifically, the sequential procedure processing unit 110 extracts processes in order from the beginning of the sequential procedure, and inputs the extracted processes to the semi-sequenced procedure adding unit 120.
 半順序手順追加部120は、逐次手順処理部110から入力されたシステム構築の工程またはシステム変更の工程を半順序手順グラフに追加する機能を有する。 The partial order procedure adding unit 120 has a function of adding a system construction process or a system change process input from the sequential procedure processing unit 110 to the partial order procedure graph.
 工程を半順序手順グラフに追加する際、半順序手順追加部120は、半順序手順グラフ管理部130が保持する半順序手順グラフを探索し、順序関係がある工程の組の種類に基づいて各工程の組に順序関係があるか否かを判定する。 When adding a process to a partial order procedure graph, the partial order procedure addition unit 120 searches the partial order procedure graph held by the partial order procedure graph management unit 130, and determines each step based on the type of the set of processes having an order relationship. It is determined whether or not a set of processes has an order relationship.
 半順序手順グラフ管理部130は、半順序手順グラフを保持する機能を有する。本実施形態の半順序手順グラフでは、工程がグラフのノードに対応する。また、工程間に順序関係がある場合、依存している工程のノードから依存されている工程のノードに向けて有向エッジが引かれる。 The semi-ordered procedure graph management unit 130 has a function of holding a semi-ordered procedure graph. In the partial order procedure graph of this embodiment, a process corresponds to a node of the graph. Further, when there is an order relationship between processes, a directed edge is drawn from a node of a dependent process toward a node of the dependent process.
 また、図1に示すように、半順序手順生成装置100は、入力装置、出力装置、および記憶装置とそれぞれ通信可能に接続されていてもよい。 Further, as shown in FIG. 1, the partial order procedure generation device 100 may be connected to an input device, an output device, and a storage device so as to be able to communicate with each other.
[動作の説明]
 以下、本実施形態の半順序手順生成装置100の半順序手順グラフを出力する動作を図2を参照して説明する。図2は、第1の実施形態の半順序手順生成装置100による半順序手順グラフ出力処理の全体動作を示すフローチャートである。
[Description of operation]
Hereinafter, the operation of outputting the partial order procedure graph of the partial order procedure generation device 100 of the present embodiment will be described with reference to FIG. FIG. 2 is a flowchart illustrating an overall operation of the partial order procedure graph output process by the partial order procedure generation device 100 according to the first embodiment.
 システム構成が変更される際、半順序手順生成装置100は、最初に装置全体への入力として、構築または変更されるシステムを表す状態モデルM11 と、システム構築の工程またはシステム変更の工程が直列に並べられた逐次的な手順SP11とを受け取る(ステップS110)。 When the system configuration is changed, the partial order procedure generation apparatus 100 first has a state model M11 representing a system to be built or changed as an input to the entire apparatus and a system construction process or a system change process in series. The arranged sequential procedures SP11 are received (step S110).
 次いで、逐次手順処理部110は、受け取られた逐次的な手順SP11に工程が残っているか否かを確認する(ステップS120)。工程が残っている場合(ステップS120におけるYes )、逐次手順処理部110は、逐次的な手順SP11に残っている最初の工程を取り出す(ステップS130)。 Next, the sequential procedure processing unit 110 checks whether or not a process remains in the received sequential procedure SP11 (step S120). When the process remains (Yes in step S120), the sequential procedure processing unit 110 takes out the first process remaining in the sequential procedure SP11 (step S130).
 次いで、半順序手順追加部120は、受け取られた状態モデルM11 を参照して、ステップS130で取り出された工程を半順序手順グラフ管理部130が保持する半順序手順グラフG11 に追加する半順序手順グラフ追加処理を実行する(ステップS140)。なお、初期状態の半順序手順グラフG11 には、何も含まれていない。 Next, the partial order procedure adding unit 120 refers to the received state model M11, and adds the process extracted in step S130 to the partial order procedure graph G11 held by the partial order procedure graph management unit 130. A graph addition process is executed (step S140). Note that nothing is included in the partial order procedure graph G11 in the initial state.
 逐次的な手順SP11に工程が残らなくなるまで、半順序手順生成装置100は、ステップS130~ステップS140の処理を繰り返し実行する。逐次的な手順SP11に工程が残っていない場合(ステップS120におけるNo)、逐次手順処理部110は、逐次的な手順SP11の工程が全て処理された段階の半順序手順グラフG11 を出力する(ステップS150)。半順序手順グラフを出力した後、半順序手順生成装置100は、半順序手順グラフ出力処理を終了する。 The semi-sequence procedure generation device 100 repeatedly executes the processing from step S130 to step S140 until no process remains in the sequential procedure SP11. When no process remains in the sequential procedure SP11 (No in step S120), the sequential procedure processing unit 110 outputs a semi-ordered procedure graph G11 at a stage where all the processes of the sequential procedure SP11 are processed (step S150). After outputting the partial order procedure graph, the partial order procedure generation apparatus 100 ends the partial order procedure graph output process.
 次に、半順序手順グラフ出力処理を構成する副処理である、図2に示すステップS140の半順序手順グラフ追加処理を図3を参照して説明する。図3は、第1の実施形態の半順序手順追加部120による半順序手順グラフ追加処理の動作を示すフローチャートである。 Next, the semi-order procedure graph addition process in step S140 shown in FIG. 2, which is a sub-process constituting the half-order procedure graph output process, will be described with reference to FIG. FIG. 3 is a flowchart illustrating the operation of the partial order procedure graph addition process by the partial order procedure addition unit 120 according to the first embodiment.
 最初に、半順序手順追加部120は、半順序手順グラフG11 に含まれている工程の中で、他のどの工程からも依存されていない工程を全て取得する(ステップS141)。 First, the partial order procedure adding unit 120 acquires all the steps that are not dependent on any other steps among the steps included in the partial order procedure graph G11 (step S141).
 次いで、半順序手順追加部120は、ステップS130で取り出された工程を半順序手順グラフG11 にノードとして追加する(ステップS142)。次いで、半順序手順追加部120は、ステップS141で取得された工程の中で未だ選択されていない工程があるか否かを確認する(ステップS143)。 Next, the partial order procedure adding unit 120 adds the process extracted in step S130 as a node to the partial order procedure graph G11G (step S142). Next, the partial order procedure adding unit 120 checks whether there is a process that has not yet been selected among the processes acquired in Step S141 (Step S143).
 未だ選択されていない工程がある場合(ステップS143におけるYes )、半順序手順追加部120は、ステップS141で取得された工程の中で未だ選択されていない1つの任意の工程を選択する(ステップS144)。 If there is a process that has not yet been selected (Yes in step S143), the partial order procedure adding unit 120 selects one arbitrary process that has not yet been selected from the processes acquired in step S141 (step S144). ).
 次いで、半順序手順追加部120は、半順序手順グラフG11 上で、ステップS144で選択された工程から深さ優先探索で辿ることが可能な工程を1つずつ取得する。深さ優先探索は、有向エッジの向きに従う、すなわち依存している工程から依存されている工程を辿る探索である。 Next, the partial order procedure adding unit 120 acquires one step at a time that can be traced by the depth-first search from the step selected in step S144 on the partial order procedure graph G11. A depth-first search is a search that follows the direction of a directed edge, i.e., follows a dependent process from a dependent process.
 半順序手順追加部120は、深さ優先探索で辿ることが可能な工程が全て取得されたか否かを確認する(ステップS145)。未だ取得されていない工程がある場合(ステップS145におけるNo)、半順序手順追加部120は、ステップS144で選択された工程から深さ優先探索で辿ることが可能な未だ取得されていない1つの工程を取得する(ステップS146)。 The partial order procedure adding unit 120 confirms whether or not all the processes that can be followed by the depth-first search have been acquired (step S145). If there is a process that has not yet been acquired (No in step S145), the partial order procedure adding unit 120 can be traced by a depth-first search from the process selected in step S144 and has not yet been acquired. Is acquired (step S146).
 次いで、半順序手順追加部120は、ステップS146で取得された工程と、ステップS130で取り出された工程との間に順序関係があるか否か、状態モデルM11 を参照して判定する(ステップS147)。 Next, the partial order procedure adding unit 120 determines whether or not there is an order relationship between the process acquired in step S146 and the process extracted in step S130 with reference to the state model M11 (step S147). ).
 具体的には、半順序手順追加部120は、状態モデルM11 から、ステップS146で取得された工程に対応する状態遷移を実行する状態要素と、ステップS130で取り出された工程に対応する状態遷移を実行する状態要素とを取得する。 Specifically, the partial order procedure adding unit 120 performs, from the state model M11, a state element that executes a state transition corresponding to the process acquired in step S146 and a state transition corresponding to the process extracted in step S130. Get the state element to execute.
 次いで、半順序手順追加部120は、取得された状態要素に基づいて、2つの工程の間に「依存していることによる順序関係」、「依存されていることによる順序関係」、または「同じ状態要素の状態遷移間の順序関係」のいずれかが成り立つか否かを判定する。 Next, the partial order procedure adding unit 120 determines whether or not “order relationship due to dependence”, “order relationship due to dependence”, or “same” between the two steps based on the acquired state element. It is determined whether or not any of the “order relationship between state transitions of state elements” is satisfied.
 いずれの順序関係も成り立たない場合、半順序手順追加部120は、工程間に順序関係がないと判断する(ステップS147におけるNo)。次いで、半順序手順追加部120は、再度ステップS145の処理を行う。 If any order relationship does not hold, the partial order procedure adding unit 120 determines that there is no order relationship between the processes (No in step S147). Next, the partial order procedure adding unit 120 performs the process of step S145 again.
 いずれかの順序関係が成り立つ場合、半順序手順追加部120は、工程間に順序関係があると判断する(ステップS147におけるYes )。次いで、半順序手順追加部120は、ステップS142で追加された工程(ステップS130で取り出された工程)から、ステップS146で取得された工程へ向かう有向エッジを半順序手順グラフG11 に付与する(ステップS148)。有向エッジを付与した後、半順序手順追加部120は、再度ステップS145の処理を行う。 If any order relationship is established, the partial order procedure adding unit 120 determines that there is an order relationship between the processes (Yes in step S147). Next, the partial order procedure adding unit 120 assigns a directed edge toward the process acquired in Step S146 from the process added in Step S142 (the process extracted in Step S130) to the partial order procedure graph G11 ( Step S148). After providing the directed edge, the partial order procedure adding unit 120 performs the process of step S145 again.
 なお、いずれかの順序関係が成り立つ場合、半順序手順追加部120は、ステップS146で取得された工程より先へ深さ優先探索を行わない。さらに、同じ工程を2回以上探索しないために、半順序手順追加部120は、探索済みの工程を記録する。半順序手順追加部120は、探索済みの工程と、探索済みの工程の先の工程を探索の対象にしない。 Note that if any of the order relationships holds, the partial order procedure adding unit 120 does not perform a depth-first search beyond the process acquired in step S146. Further, in order not to search for the same process more than once, the partial order procedure adding unit 120 records the searched process. The partial order procedure adding unit 120 does not search for the searched process and the previous process of the searched process.
 深さ優先探索が完了するまで、すなわち深さ優先探索で辿ることが可能な工程が全て取得されるまで、半順序手順追加部120は、ステップS146~ステップS148の処理を繰り返し実行する。深さ優先探索で辿ることが可能な工程が全て取得された場合(ステップS145におけるYes )、半順序手順追加部120は、再度ステップS143の処理を行う。 Until the depth-first search is completed, that is, until all the processes that can be followed by the depth-first search are acquired, the partial order procedure adding unit 120 repeatedly executes the processing from step S146 to step S148. When all the processes that can be followed by the depth-first search are acquired (Yes in step S145), the partial order procedure adding unit 120 performs the process of step S143 again.
 ステップS141で取得された工程が全て選択されるまで、半順序手順追加部120は、ステップS144~ステップS148の処理を繰り返し実行する。ステップS141で取得された工程が全て選択された場合(ステップS143におけるNo)、半順序手順追加部120は、半順序手順グラフ追加処理を終了する。 The partial order procedure adding unit 120 repeatedly executes the processes of steps S144 to S148 until all the processes acquired in step S141 are selected. When all the processes acquired in step S141 are selected (No in step S143), the partial order procedure adding unit 120 ends the partial order procedure graph addition process.
[効果の説明]
 以下、本実施形態の効果を説明する。本実施形態の半順序手順追加部120は、順序関係がある工程の組の種類に基づいて各工程の組の順序関係の有無を判定するため、順序関係の有無が正しく判定される。よって、本実施形態の半順序手順生成装置100は、特許文献1に記載されている変更計画システムが工程の組の順序関係の有無を誤判定してしまう問題を回避できる。
[Description of effects]
Hereinafter, the effect of this embodiment will be described. Since the partial order procedure adding unit 120 according to the present embodiment determines the presence / absence of the order relation of each process set based on the type of the process set having the order relation, the presence / absence of the order relation is correctly determined. Therefore, the partial order procedure production | generation apparatus 100 of this embodiment can avoid the problem that the change plan system described in patent document 1 misjudged the presence or absence of the order relationship of the group of processes.
 本実施形態の半順序手順生成装置100は、上述した第1の問題点である、順序関係のない遷移の組に順序関係があると誤判定される問題点を解決できる。本実施形態の半順序手順生成装置100がシステム構成変更のために使用されると、特許文献1に記載されている変更計画システムがシステム構築またはシステム変更の逐次的な手順を正しく半順序化できない場合であっても、逐次的な手順が正しく半順序化される。 The semi-sequence procedure generation device 100 according to the present embodiment can solve the above-described first problem that is erroneously determined that there is an order relationship in a set of transitions having no order relationship. When the partial order procedure generation apparatus 100 of the present embodiment is used for system configuration change, the change planning system described in Patent Document 1 cannot correctly half-order the sequential procedure of system construction or system change. Even in this case, the sequential procedure is correctly semi-ordered.
[第2の実施の形態]
[構成の説明]
 次に、本発明の第2の実施形態を、図面を参照して説明する。図4は、本発明による半順序手順生成装置の第2の実施形態の構成例を示すブロック図である。本実施形態の半順序手順生成装置200は、システム構成が変更される際に使用される装置である。
[Second Embodiment]
[Description of configuration]
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram showing a configuration example of the second embodiment of the partial order procedure generation device according to the present invention. The partial order procedure generation apparatus 200 of this embodiment is an apparatus used when the system configuration is changed.
 図4に示すように、本実施形態の半順序手順生成装置200は、逐次手順処理部210と、半順序手順追加部220と、半順序手順グラフ管理部230とを備える。各構成要素は、それぞれ以下のように動作する。 As shown in FIG. 4, the partial order procedure generation apparatus 200 according to the present embodiment includes a sequential procedure processing unit 210, a partial order procedure addition unit 220, and a partial order procedure graph management unit 230. Each component operates as follows.
 逐次手順処理部210は、システム構築の工程またはシステム変更の工程が直列に並べられた逐次的な手順を基に、システム構築の工程またはシステム変更の工程が半順序構造で並べられた半順序手順を生成する機能を有する。 The sequential procedure processing unit 210 is based on a sequential procedure in which system construction steps or system change steps are arranged in series, and a semi-order procedure in which system construction steps or system change steps are arranged in a semi-ordered structure. It has the function to generate.
 具体的には、逐次手順処理部210は、逐次的な手順の先頭から順に工程を取り出し、取り出された工程を半順序手順追加部220に入力する。 Specifically, the sequential procedure processing unit 210 sequentially extracts processes from the beginning of the sequential procedure, and inputs the extracted processes to the semi-sequenced procedure adding unit 220.
 半順序手順追加部220は、半順序手順グラフ管理部230が保持する半順序手順グラフを探索せずに、逐次手順処理部210から入力されたシステム構築の工程またはシステム変更の工程を半順序手順グラフに追加する機能を有する。 The partial order procedure adding unit 220 does not search the partial order procedure graph held by the partial order procedure graph management unit 230, and does not search for the system construction process or the system change process input from the sequential procedure processing unit 210. Has a function to add to the graph.
 工程を半順序手順グラフに追加する際、半順序手順追加部220は、システム構成中の各部品に対して最後に行われる工程の情報を活用する。 When adding a process to the semi-order procedure graph, the semi-order procedure addition unit 220 utilizes information on a process that is performed last for each component in the system configuration.
 半順序手順グラフ管理部230は、半順序手順グラフを保持する機能を有する。半順序手順グラフ管理部230は、半順序手順追加部220から入力された命令に応じて、システム構成中の各部品に対して最初に行われる工程または最後に行われる工程を取得する。次いで、半順序手順グラフ管理部230は、取得された各工程を半順序手順追加部220に渡す。 The partial order procedure graph management unit 230 has a function of holding a partial order procedure graph. The partial order procedure graph management unit 230 acquires the process performed first or the process performed last for each component in the system configuration in accordance with the command input from the partial order procedure addition unit 220. Next, the partial order procedure graph management unit 230 passes the acquired steps to the partial order procedure addition unit 220.
 本実施形態の半順序手順グラフでは、工程がグラフのノードに対応する。また、工程間に順序関係がある場合、依存している工程のノードから依存されている工程のノードに向けてラベル付き有向エッジが引かれる。 In the semi-ordered procedure graph of this embodiment, processes correspond to the nodes of the graph. When there is an order relationship between processes, a labeled directed edge is drawn from a dependent process node toward a dependent process node.
 有向エッジに付随するラベルは、工程間の順序関係が「依存していることによる順序関係」、「依存されていることによる順序関係」、または「同じ状態要素の状態遷移間の順序関係」のいずれに該当するかを示す。 The label attached to the directed edge indicates that the order relationship between processes is “order relationship due to dependency”, “order relationship due to dependency”, or “order relationship between state transitions of the same state element”. Which of the following is true.
 また、図4に示すように、半順序手順生成装置200は、入力装置、出力装置、および記憶装置とそれぞれ通信可能に接続されていてもよい。 Further, as shown in FIG. 4, the partial order procedure generation device 200 may be communicably connected to an input device, an output device, and a storage device.
[動作の説明]
 以下、本実施形態の半順序手順生成装置200の半順序手順グラフを出力する動作を図5を参照して説明する。図5は、第2の実施形態の半順序手順生成装置200による半順序手順グラフ出力処理の全体動作を示すフローチャートである。
[Description of operation]
Hereinafter, the operation of outputting the partial order procedure graph of the partial order procedure generation device 200 of the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart illustrating the overall operation of the partial order procedure graph output process by the partial order procedure generation device 200 according to the second embodiment.
 システム構成が変更される際、半順序手順生成装置200は、最初に装置全体への入力として、構築または変更されるシステムを表す状態モデルM21 と、システム構築の工程またはシステム変更の工程が直列に並べられた逐次的な手順SP21とを受け取る(ステップS210)。 When the system configuration is changed, the partial order procedure generation apparatus 200 first has a state model M21 representing a system to be built or changed as an input to the entire apparatus and a system construction process or a system change process in series. The arranged sequential procedure SP21 is received (step S210).
 次いで、半順序手順グラフ管理部230は、受け取られた状態モデルM21 を参照して保持する半順序手順グラフG21 を初期化する半順序手順グラフ初期化処理を行う(ステップS220)。 Next, the partial order procedure graph management unit 230 performs a partial order procedure graph initialization process for initializing the stored partial order procedure graph G21 with reference to the received state model M21 (step S220).
 次いで、逐次手順処理部210は、受け取られた逐次的な手順SP21に工程が残っているか否かを確認する(ステップS230)。工程が残っている場合(ステップS230におけるYes )、逐次手順処理部210は、逐次的な手順SP21に残っている最初の工程を取り出す(ステップS240)。 Next, the sequential procedure processing unit 210 checks whether or not a process remains in the received sequential procedure SP21 (step S230). When the process remains (Yes in step S230), the sequential procedure processing unit 210 takes out the first process remaining in the sequential procedure SP21 (step S240).
 次いで、半順序手順追加部220は、受け取られた状態モデルM21 を参照して、ステップS240で取り出された工程を半順序手順グラフG21 に追加する半順序手順グラフ追加処理を実行する(ステップS250)。 Next, the partial order procedure adding unit 220 refers to the received state model M21, and executes a partial order procedure graph addition process for adding the process extracted in step S240 to the partial order procedure graph G21 (step S250). .
 逐次的な手順SP21に工程が残らなくなるまで、半順序手順生成装置200は、ステップS240~ステップS250の処理を繰り返し実行する。逐次的な手順SP21に工程が残っていない場合(ステップS230におけるNo)、半順序手順グラフ管理部230は、半順序手順グラフG21 に対して半順序手順グラフ後処理を行う(ステップS260)。 The semi-sequence procedure generation device 200 repeatedly executes the processing from step S240 to step S250 until no process remains in the sequential procedure SP21. When no process remains in the sequential procedure SP21 (No in step S230), the partial order procedure graph management unit 230 performs the partial order procedure graph post-processing on the partial order procedure graph G21G (step S260).
 次いで、逐次手順処理部210は、半順序手順グラフ後処理が実行された段階の半順序手順グラフG21 を出力する(ステップS270)。半順序手順グラフを出力した後、半順序手順生成装置200は、半順序手順グラフ出力処理を終了する。 Next, the sequential procedure processing unit 210 outputs the semi-ordered procedure graph G21 at the stage where the semi-ordered procedure graph post-processing is executed (step S270). After outputting the partial order procedure graph, the partial order procedure generation device 200 ends the partial order procedure graph output process.
 次に、半順序手順グラフ出力処理を構成する各副処理を説明する。最初に、図5に示すステップS220の半順序手順グラフ初期化処理を図6を参照して説明する。図6は、第2の実施形態の半順序手順グラフ管理部230による半順序手順グラフ初期化処理の動作を示すフローチャートである。 Next, each sub-process constituting the partial order procedure graph output process will be described. First, the semi-order procedure graph initialization process of step S220 shown in FIG. 5 will be described with reference to FIG. FIG. 6 is a flowchart illustrating the operation of the partial order procedure graph initialization process by the partial order procedure graph management unit 230 according to the second embodiment.
 半順序手順グラフ初期化処理が実行される前の半順序手順グラフG21 には、何も含まれていない。最初に、半順序手順グラフ管理部230は、受け取られた状態モデルM21 から未だ選択されていない状態要素があるか否かを確認する(ステップS221)。 半 Nothing is included in the partial sequence graph G21 before the partial sequence graph initialization process is executed. First, the partial order procedure graph management unit 230 checks whether there is a state element that has not yet been selected from the received state model M21M (step S221).
 未だ選択されていない状態要素がある場合(ステップS221におけるYes )、半順序手順グラフ管理部230は、状態モデルM21 の選択されていない状態要素の中から1つの任意の状態要素を選択する(ステップS222)。 If there is a state element that has not yet been selected (Yes in Step S221), the partial order procedure graph management unit 230 selects one arbitrary state element from among the state elements that are not selected in the state model M21 (Step S221). S222).
 次いで、半順序手順グラフ管理部230は、選択された状態要素の現在状態への状態遷移を表すダミーの工程を、半順序手順グラフG21 にノードとして追加する(ステップS223)。追加されたダミーの工程は、ステップS250の半順序手順グラフ追加処理が正しく実行されるための工程である。 Next, the partial order procedure graph management unit 230 adds a dummy process representing the state transition of the selected state element to the current state as a node in the partial order procedure graph G21G (step S223). The added dummy process is a process for correctly executing the partial order procedure graph addition process of step S250.
 なお、半順序手順グラフ管理部230は、追加されたダミーの工程と他の工程との順序関係(有向エッジ)を半順序手順グラフG21 に追加しない。また、追加された工程が実行される前の状態要素の状態は、現在状態以外であればどのような状態でもよい。 The semi-order procedure graph management unit 230 does not add the order relationship (directed edge) between the added dummy process and another process to the semi-order procedure graph G21. In addition, the state of the state element before the added process is executed may be any state other than the current state.
 例えば、半順序手順グラフ管理部230は、状態要素の状態を、現在状態が状態tであれば状態f、現在状態が状態fであれば状態tのように決定してもよい。また、半順序手順グラフ管理部230は、他の方法で状態要素の状態を決定してもよい。 For example, the partial order procedure graph management unit 230 may determine the state of the state element as state f if the current state is state t, and state t if the current state is state f. Further, the partial order procedure graph management unit 230 may determine the state of the state element by another method.
 状態モデルM21 から未だ選択されていない状態要素がなくなるまで、半順序手順グラフ管理部230は、ステップS222~ステップS223の処理を繰り返し実行する。選択されていない状態要素がない場合(ステップS221におけるNo)、半順序手順グラフ管理部230は、半順序手順グラフ初期化処理を終了する。 The partial order procedure graph management unit 230 repeatedly executes the processing from step S222 to step S223 until there is no state element that has not yet been selected from the state model M21. If there is no unselected state element (No in step S221), the partial order procedure graph management unit 230 ends the partial order procedure graph initialization process.
 次に、図5に示すステップS250の半順序手順グラフ追加処理を図7を参照して説明する。図7は、第2の実施形態の半順序手順追加部220による半順序手順グラフ追加処理の動作を示すフローチャートである。 Next, the semi-order procedure graph addition process of step S250 shown in FIG. 5 will be described with reference to FIG. FIG. 7 is a flowchart illustrating the operation of the partial order procedure graph addition process by the partial order procedure addition unit 220 according to the second embodiment.
 最初に、半順序手順追加部220は、ステップS240で取り出された工程を半順序グラフG21 にノードとして追加する(ステップS251)。 First, the partial order procedure adding unit 220 adds the process extracted in step S240 as a node to the partial order graph G21G (step S251).
 次いで、半順序手順追加部220は、受け取られた状態モデルM21 を参照して、ステップS240で取り出された工程を表す状態遷移が依存している状態要素を全て列挙する(ステップS252)。 Next, the partial order procedure adding unit 220 refers to the received state model M21 and lists all the state elements on which the state transition representing the process extracted in Step S240 depends (Step S252).
 次いで、半順序手順追加部220は、列挙された状態要素の中で未だ選択されていない状態要素があるか否かを確認する(ステップS253)。未だ選択されていない状態要素がある場合(ステップS253におけるYes )、半順序手順追加部220は、列挙された状態要素の中で未だ選択されていない1つの任意の状態要素を選択する(ステップS254)。 Next, the partial order procedure adding unit 220 checks whether there is a state element that has not yet been selected among the listed state elements (step S253). If there is a state element that has not yet been selected (Yes in step S253), the partial order procedure adding unit 220 selects one arbitrary state element that has not yet been selected from the listed state elements (step S254). ).
 次いで、半順序手順追加部220は、ステップS254で選択された状態要素が最後に行う工程を半順序手順グラフ管理部230から取得する(ステップS255)。 Next, the partial order procedure adding unit 220 acquires from the partial order procedure graph management unit 230 the process that is last performed by the state element selected in step S254 (step S255).
 次いで、半順序手順追加部220は、ステップS255で取得された工程と、ステップS240で取り出された工程の間に「依存していることによる順序関係」が成り立つか否かを判定する(ステップS256)。 Next, the partial order procedure adding unit 220 determines whether or not the “order relationship due to dependence” is established between the process acquired in step S255 and the process extracted in step S240 (step S256). ).
 対象の順序関係が成り立つ場合、半順序手順追加部220は、ステップS240で取り出された工程のノードからステップS255で取得された工程のノードへ向けて、「依存していることによる順序関係」を示すラベル付き有向エッジを引く(ステップS257)。 When the target order relationship holds, the partial order procedure adding unit 220 sets the “order relationship due to dependence” from the process node extracted in step S240 to the process node acquired in step S255. The indicated directed edge with label is drawn (step S257).
 選択されていない状態要素がなくなるまで、半順序手順追加部220は、ステップS254~ステップS257の処理を繰り返し実行する。未だ選択されていない状態要素がない場合(ステップS253におけるNo)、半順序手順追加部220は、ステップS240で取り出された工程を行う状態要素が最後に行う工程を、半順序手順グラフ管理部230から取得する(ステップS258)。 The partial order procedure adding unit 220 repeatedly executes the processing from step S254 to step S257 until there is no state element that has not been selected. If there is no state element that has not yet been selected (No in step S253), the partial order procedure adding unit 220 performs the final step performed by the state element that performs the process extracted in step S240. (Step S258).
 なお、ステップS258で取得される状態要素が最後に行う工程は、ステップS240で取り出された工程の直前に状態要素が行う工程である。 Note that the process performed last by the state element acquired in step S258 is a process performed by the state element immediately before the process extracted in step S240.
 次いで、半順序手順追加部220は、ステップS258で取得された工程のノードに向けて、「依存していることによる順序関係」を示すラベル付き有向エッジが引かれているノードに対応する工程を全て列挙する(ステップS259)。 Next, the partial order procedure adding unit 220 corresponds to the node to which the labeled directed edge indicating the “order relation due to dependence” is drawn toward the node of the process acquired in step S258. Are enumerated (step S259).
 次いで、半順序手順追加部220は、ステップS259で列挙された工程の中で未だ選択されていない工程があるか否かを確認する(ステップS25A)。未だ選択されていない工程がある場合(ステップS25AにおけるYes )、半順序手順追加部220は、列挙された工程の中から未だ選択されていない1つの任意の工程を選択する(ステップS25B)。 Next, the partial order procedure adding unit 220 confirms whether or not there is a process that has not yet been selected among the processes listed in Step S259 (Step S25A). When there is a process that has not yet been selected (Yes in step S25A), the partial order procedure adding unit 220 selects one arbitrary process that has not yet been selected from the listed processes (step S25B).
 次いで、半順序手順追加部220は、ステップS240で取り出された工程のノードからステップS25Bで選択された工程のノードへ向けて「依存されていることによる順序関係」を示すラベル付き有向エッジを引く(ステップS25C)。 Next, the partial order procedure adding unit 220 adds a labeled directed edge indicating an “order relation due to dependence” from the process node extracted in step S240 to the process node selected in step S25B. Subtract (step S25C).
 選択されていない工程がなくなるまで、半順序手順追加部220は、ステップS25B~ステップS25Cの処理を繰り返し実行する。未だ選択されていない工程がない場合(ステップS25AにおけるNo)、半順序手順追加部220は、ステップS240で取り出された工程のノードから「依存されていることによる順序関係」を示すラベル付き有向エッジが引かれているか否かを確認する(ステップS25D)。 The semi-order procedure adding unit 220 repeatedly executes the processing from step S25B to step S25C until there is no process that has not been selected. If there is no process that has not yet been selected (No in step S25A), the partial order procedure adding unit 220 is directed with a label indicating "order relation due to dependence" from the process node extracted in step S240. It is confirmed whether or not the edge is drawn (step S25D).
 「依存されていることによる順序関係」を示すラベル付き有向エッジが1つでも引かれている場合(ステップS25DにおけるYes )、半順序手順追加部220は、半順序手順グラフ追加処理を終了する。 If even one directed edge with a label indicating “order relationship due to dependence” is drawn (Yes in step S25D), the half-order procedure addition unit 220 ends the half-order procedure graph addition processing. .
 「依存されていることによる順序関係」を示すラベル付き有向エッジが1つも引かれていない場合(ステップS25DにおけるNo)、半順序手順追加部220は、「同じ状態要素の状態遷移間の順序関係」を示すラベル付き有向エッジを引く(ステップS25E)。 If no labeled directed edge indicating “order relationship due to dependency” is drawn (No in step S25D), the partial order procedure adding unit 220 determines that “the order between the state transitions of the same state element” A labeled directed edge indicating "relation" is drawn (step S25E).
 半順序手順追加部220は、ステップS240で取り出された工程のノードからステップS258で取得された工程のノードへ向けてラベル付き有向エッジを引く。ラベル付き有向エッジを引いた後、半順序手順追加部220は、半順序手順グラフ追加処理を終了する。 The partial order procedure adding unit 220 draws a labeled directed edge from the process node extracted in step S240 toward the process node acquired in step S258. After drawing the labeled directed edge, the partial order procedure adding unit 220 ends the partial order procedure graph addition process.
 次に、図5に示すステップS260の半順序手順グラフ後処理を図8を参照して説明する。図8は、第2の実施形態の半順序手順グラフ管理部230による半順序手順グラフ後処理の動作を示すフローチャートである。 Next, post-processing of the partial order procedure graph in step S260 shown in FIG. 5 will be described with reference to FIG. FIG. 8 is a flowchart illustrating the operation of the semi-sequence procedure graph post-processing by the semi-sequence procedure graph management unit 230 according to the second embodiment.
 最初に、半順序手順グラフ管理部230は、半順序手順グラフG21 に含まれる工程を行う状態要素の中で未だ選択されていない状態要素があるか否かを確認する(ステップS261)。 First, the partial order procedure graph management unit 230 checks whether there is a state element that has not yet been selected among the state elements that perform the steps included in the partial order procedure graph G21G (step S261).
 未だ選択されていない状態要素がある場合(ステップS261におけるYes )、半順序手順グラフ管理部230は、半順序手順グラフG21 に含まれる工程を行う状態要素の中で未だ選択されていない1つの任意の状態要素を選択する(ステップS262)。 If there is a state element that has not yet been selected (Yes in step S261), the partial order procedure graph management unit 230 selects one arbitrary item that has not yet been selected among the state elements that perform the steps included in the partial order procedure graph G21. Is selected (step S262).
 次いで、半順序手順グラフ管理部230は、ステップS262で選択された状態要素が最初に行う工程(ダミーの工程)を取得する(ステップS263)。 Next, the partial order procedure graph management unit 230 acquires a process (dummy process) that is first performed by the state element selected in step S262 (step S263).
 次いで、半順序手順グラフ管理部230は、ステップS263で取得された工程と他の工程との間の全ての順序関係(グラフにおける有向エッジ)と取得された工程自身(グラフにおけるノード)を半順序手順グラフG21 から除去する(ステップS264)。ステップS264で除去される各工程は、ステップS220で追加されたダミーの工程である。 Next, the semi-ordered procedure graph management unit 230 performs a semi-processing of all the order relations (directed edges in the graph) between the process acquired in step S263 and other processes and the acquired process itself (nodes in the graph). It removes from the order procedure graph G21 (step S264). Each process removed in step S264 is a dummy process added in step S220.
 選択されていない状態要素がなくなるまで、半順序手順グラフ管理部230は、ステップS262~ステップS264の処理を繰り返し実行する。未だ選択されていない状態要素がない場合(ステップS261におけるNo)、半順序手順グラフ管理部230は、半順序手順グラフ後処理を終了する。 The semi-ordered procedure graph management unit 230 repeatedly executes the processing from step S262 to step S264 until there is no state element that has not been selected. If there is no state element that has not yet been selected (No in step S261), the partial order procedure graph management unit 230 ends the partial order procedure graph post-processing.
[効果の説明]
 本実施形態の半順序手順生成装置200は、システム構築の工程またはシステム変更の工程が直列に並べられた逐次的な手順の先頭から順に工程を取り出し、取り出された工程を半順序手順追加部220に入力する逐次手順処理部210を備える。逐次手順処理部210は、逐次的な手順を基に、システム構築の工程またはシステム変更の工程が半順序構造で並べられた半順序手順を生成する。
[Description of effects]
The partial order procedure generation apparatus 200 of the present embodiment takes out a process in order from the beginning of a sequential procedure in which a system construction process or a system change process is arranged in series, and the extracted process is a partial order procedure addition unit 220. Is provided with a sequential procedure processing unit 210. The sequential procedure processing unit 210 generates a semi-order procedure in which the system construction process or the system change process is arranged in a semi-order structure based on the sequential procedure.
 また、本実施形態の半順序手順生成装置200は、半順序手順にシステム構築の工程またはシステム変更の工程を追加する際に、システム構成中の各部品に対して最後に行われる工程の情報を活用する半順序手順追加部220を備える。半順序手順追加部220は、半順序手順を表すグラフを探索せずに工程を追加できる。 Further, when adding a system construction process or a system change process to the partial order procedure, the partial order procedure generation apparatus 200 according to the present embodiment provides information on the process performed last for each component in the system configuration. A partial order procedure adding unit 220 to be used is provided. The partial order procedure adding unit 220 can add a process without searching for a graph representing the partial order procedure.
 また、本実施形態の半順序手順生成装置200は、半順序手順を表すグラフを保持し、システム構成中の各部品に対して最初に行われる工程とシステム構成中の各部品に対して最後に行われる工程とを取得する半順序手順グラフ管理部230を備える。 In addition, the partial order procedure generation apparatus 200 according to the present embodiment holds a graph representing the partial order procedure, and the process performed first for each part in the system configuration and finally for each part in the system configuration. A semi-order procedure graph management unit 230 is provided for acquiring the steps to be performed.
 本実施形態の第1の効果を説明する。本実施形態の半順序手順追加部220は、順序関係がある工程の組の種類に基づいて各工程の組の順序関係の有無を判定するため、順序関係の有無を正しく判定できる。よって、本実施形態の半順序手順生成装置200は、特許文献1に記載されている変更計画システムが工程の組の順序関係の有無を誤判定してしまう問題を回避できる。 The first effect of this embodiment will be described. Since the partial order procedure adding unit 220 according to the present embodiment determines the presence / absence of the order relation of each process group based on the type of the process group having the order relation, it can correctly determine the presence / absence of the order relation. Therefore, the partial order procedure production | generation apparatus 200 of this embodiment can avoid the problem that the change plan system described in patent document 1 misjudged the presence or absence of the order relationship of the process group.
 従って、本実施形態の半順序手順生成装置200が使用されると、特許文献1に記載されている変更計画システムがシステム構築またはシステム変更の逐次的な手順を正しく半順序化できない場合であっても、逐次的な手順が正しく半順序化される。 Therefore, when the partial order procedure generation apparatus 200 according to the present embodiment is used, the change planning system described in Patent Document 1 is a case where the sequential procedure of system construction or system change cannot be correctly half-ordered. However, the sequential procedure is correctly semi-ordered.
 本実施形態の第2の効果を説明する。本実施形態の半順序手順追加部220は、半順序手順グラフにシステム構築の工程またはシステム変更の工程を追加する際に、システム構成中の各部品に対して最後に実行される工程の情報を活用する。工程の情報を活用することによって、半順序手順追加部220は、半順序手順グラフを探索せずに工程を追加できる。 The second effect of this embodiment will be described. The partial order procedure adding unit 220 of the present embodiment, when adding a system construction process or a system change process to the partial order procedure graph, displays information on the process executed last for each part in the system configuration. use. By utilizing the process information, the partial order procedure adding unit 220 can add a process without searching the partial order procedure graph.
 本実施形態の半順序手順生成装置200が使用されると、特許文献1に記載されている変更計画システムが半順序手順の導出過程で逐次的な手順に含まれる工程を半順序手順グラフに追加する度に半順序手順グラフを探索することに起因する手順導出の長時間化の問題が解消される。 When the partial order procedure generation device 200 of the present embodiment is used, the change planning system described in Patent Document 1 adds the steps included in the sequential procedure in the partial order procedure derivation process to the partial order procedure graph. The problem of long procedure derivation caused by searching the partial order procedure graph each time is solved.
 本実施形態の半順序手順生成装置200は、特許文献1に記載されている変更計画システムに比べて効率良く手順を導出できるため、より短時間でシステム構築またはシステム変更の逐次的な手順を半順序化できる。 Since the partial order procedure generation apparatus 200 according to the present embodiment can derive a procedure more efficiently than the change planning system described in Patent Document 1, the sequential procedure for system construction or system change can be performed in a shorter time. Can be ordered.
 以下、各実施形態の半順序手順生成装置のハードウェア構成の具体例を説明する。図9は、本発明による半順序手順生成装置のハードウェア構成例を示す説明図である。 Hereinafter, a specific example of the hardware configuration of the partial order procedure generation device of each embodiment will be described. FIG. 9 is an explanatory diagram showing a hardware configuration example of the partial order procedure generation device according to the present invention.
 図9に示す半順序手順生成装置は、CPU(Central Processing Unit )21と、主記憶部22と、補助記憶部23とを備える。また、ユーザが操作するための入力部24や、ユーザに処理結果または処理内容の経過を提示するための出力部25を備えてもよい。 9 includes a CPU (Central Processing Unit) 21, a main storage unit 22, and an auxiliary storage unit 23. Moreover, you may provide the input part 24 for a user to operate, and the output part 25 for showing a process result or progress of a process content to a user.
 なお、図9に示す半順序手順生成装置は、CPU21の代わりにDSP(Digital Signal Processor)を備えてもよい。または、図9に示す半順序手順生成装置は、CPU21とDSPとを併せて備えてもよい。 Note that the partial order procedure generation apparatus shown in FIG. 9 may include a DSP (Digital Signal Processor) instead of the CPU 21. Or the partial order procedure production | generation apparatus shown in FIG. 9 may be provided with CPU21 and DSP together.
 主記憶部22は、データの作業領域やデータの一時退避領域として用いられる。主記憶部22は、例えばRAM(Random Access Memory)である。 The main storage unit 22 is used as a data work area and a temporary data save area. The main storage unit 22 is, for example, a RAM (Random Access Memory).
 補助記憶部23は、一時的でない有形の記憶媒体である。一時的でない有形の記憶媒体として、例えば磁気ディスク、光磁気ディスク、CD-ROM(Compact Disk Read Only Memory )、DVD-ROM(Digital Versatile Disk Read Only Memory )、半導体メモリが挙げられる。 The auxiliary storage unit 23 is a tangible storage medium that is not temporary. Examples of the non-temporary tangible storage medium include a magnetic disk, a magneto-optical disk, a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), and a semiconductor memory.
 入力部24は、データや処理命令を入力する機能を有する。入力部24は、例えばキーボードやマウス等の入力デバイスである。 The input unit 24 has a function of inputting data and processing instructions. The input unit 24 is an input device such as a keyboard or a mouse.
 出力部25は、データを出力する機能を有する。出力部25は、例えば液晶ディスプレイ装置等の表示装置、またはプリンタ等の印刷装置である。 The output unit 25 has a function of outputting data. The output unit 25 is a display device such as a liquid crystal display device or a printing device such as a printer.
 また、図9に示すように、半順序手順生成装置において、各構成要素は、システムバス26に接続されている。 Further, as shown in FIG. 9, in the partial order procedure generation device, each component is connected to the system bus 26.
 補助記憶部23は、例えば、逐次手順処理部110、半順序手順追加部120、半順序手順グラフ管理部130、逐次手順処理部210、半順序手順追加部220、および半順序手順グラフ管理部230を実現するためのプログラムを記憶している。 The auxiliary storage unit 23 includes, for example, a sequential procedure processing unit 110, a partial order procedure addition unit 120, a partial order procedure graph management unit 130, a sequential procedure processing unit 210, a partial order procedure addition unit 220, and a partial order procedure graph management unit 230. The program for realizing is stored.
 なお、各実施形態の半順序手順生成装置100、および半順序手順生成装置200は、例えば、非一時的な記憶媒体に格納されているプログラムに従って処理を実行するCPU21によって実現されてもよい。すなわち、各実施形態の半順序手順生成装置100、半順序手順生成装置200は、ソフトウェアにより実現されてもよい。 In addition, the partial order procedure generation apparatus 100 and the partial order procedure generation apparatus 200 of each embodiment may be realized by the CPU 21 that executes processing according to a program stored in a non-temporary storage medium, for example. That is, the partial order procedure generation device 100 and the partial order procedure generation device 200 of each embodiment may be realized by software.
 ソフトウェアにより実現される場合、CPU21が補助記憶部23に格納されているプログラムを、主記憶部22にロードして実行し、半順序手順生成装置の動作を制御することによって、各機能がソフトウェアにより実現される。すなわち、逐次手順処理部110、半順序手順追加部120、半順序手順グラフ管理部130、逐次手順処理部210、半順序手順追加部220、および半順序手順グラフ管理部230は、例えば、プログラム制御に従って処理を実行するCPU21によって実現される。 When realized by software, the CPU 21 loads a program stored in the auxiliary storage unit 23 to the main storage unit 22 and executes it, thereby controlling the operation of the partial order procedure generation device, thereby enabling each function to be performed by software. Realized. That is, the sequential procedure processing unit 110, the partial order procedure addition unit 120, the partial order procedure graph management unit 130, the sequential procedure processing unit 210, the partial order procedure addition unit 220, and the partial order procedure graph management unit 230 are, for example, program controlled. It implement | achieves by CPU21 which performs a process according to this.
 また、各構成要素の一部または全部は、汎用の回路(circuitry )または専用の回路、プロセッサ等やこれらの組み合わせによって実現されてもよい。これらは、単一のチップによって構成されてもよいし、バスを介して接続される複数のチップによって構成されてもよい。各構成要素の一部または全部は、上述した回路等とプログラムとの組み合わせによって実現されてもよい。 Also, some or all of each component may be realized by a general-purpose circuit (circuitry IV), a dedicated circuit, a processor, or a combination thereof. These may be configured by a single chip or may be configured by a plurality of chips connected via a bus. Part or all of each component may be realized by a combination of the above-described circuit and the like and a program.
 例えば、各実施形態の半順序手順生成装置100、および半順序手順生成装置200における各部は、ハードウェア回路によって実現されてもよい。一例として、逐次手順処理部110、半順序手順追加部120、半順序手順グラフ管理部130、逐次手順処理部210、半順序手順追加部220、および半順序手順グラフ管理部230が、それぞれLSI(Large Scale Integration)で実現される。また、それらが1つのLSI で実現されていてもよい。 For example, each part in the partial order procedure generation device 100 and the partial order procedure generation device 200 of each embodiment may be realized by a hardware circuit. As an example, a sequential procedure processing unit 110, a partial sequence procedure adding unit 120, a partial sequence procedure graph managing unit 130, a sequential procedure processing unit 210, a partial sequence procedure adding unit 220, and a partial sequence procedure graph managing unit 230 are respectively connected to LSI ( Large Scale). Further, they may be realized by a single LSI.
 各構成要素の一部または全部が複数の情報処理装置や回路等により実現される場合には、複数の情報処理装置や回路等は集中配置されてもよいし、分散配置されてもよい。例えば、情報処理装置や回路等は、クライアントアンドサーバシステム、クラウドコンピューティングシステム等、各々が通信ネットワークを介して接続される形態として実現されてもよい。 When some or all of the constituent elements are realized by a plurality of information processing devices and circuits, the plurality of information processing devices and circuits may be centrally arranged or distributedly arranged. For example, the information processing apparatus, the circuit, and the like may be realized as a form in which each is connected via a communication network, such as a client and server system and a cloud computing system.
 次に、本発明の概要を説明する。図10は、本発明による半順序手順生成装置の概要を示すブロック図である。本発明による半順序手順生成装置10は、システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加する追加部11(例えば、逐次手順処理部110)と、追加された工程と半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する判定部12(例えば、半順序手順追加部120)とを備える。 Next, the outline of the present invention will be described. FIG. 10 is a block diagram showing an outline of the partial order procedure generating apparatus according to the present invention. The semi-sequential procedure generation device 10 according to the present invention has a structure in which an order relationship is not given to a part of the steps constituting a sequential procedure in which steps for changing the system configuration are arranged in series. An addition unit 11 (for example, a sequential procedure processing unit 110) that adds to a graph representing a partial order procedure that is a procedure in which the steps are arranged in a partial order structure, and a set of steps that constitute the added step and the partial order procedure. And a determination unit 12 (for example, a partial order procedure addition unit 120) that determines that an order relationship exists in a set that satisfies a predetermined condition.
 そのような構成により、半順序手順生成装置は、工程の組の順序関係の有無を正しく判定できる。 With such a configuration, the partial order procedure generation device can correctly determine whether or not there is an order relationship between process groups.
 また、判定部12は、所定の条件を満たす組を半順序手順を表すグラフを所定の方法で探索することによって検出してもよい。 Further, the determination unit 12 may detect a set satisfying a predetermined condition by searching a graph representing a partial order procedure by a predetermined method.
 そのような構成により、半順序手順生成装置は、深さ優先探索を実行することによって半順序手順グラフに有向エッジを付与できる。 With such a configuration, the partial order procedure generation device can give a directed edge to the partial order procedure graph by executing a depth-first search.
 また、判定部12は、所定の条件を満たす組を追加された工程と半順序手順を構成する工程のうち変更されるシステムを構成する部品に対して最後に行われる工程の組の中から検出してもよい。 In addition, the determination unit 12 detects from among a set of processes performed last for a part constituting the system to be changed among the processes in which a set satisfying a predetermined condition is added and the processes constituting the partial order procedure. May be.
 そのような構成により、半順序手順生成装置は、深さ優先探索を実行せずに半順序手順グラフに有向エッジを付与できる。 With such a configuration, the partial order procedure generation device can add a directed edge to the partial order procedure graph without performing a depth-first search.
 また、所定の条件は、組に含まれる一方の工程が実行されると組に含まれる他方の工程が実行可能な工程になることでもよい。 Further, the predetermined condition may be that when one process included in the set is executed, the other process included in the set can be executed.
 また、所定の条件は、組に含まれる一方の工程が実行されると組に含まれる他方の工程が実行不可能な工程になることでもよい。 Also, the predetermined condition may be that when one process included in the set is executed, the other process included in the set becomes an unexecutable process.
 また、所定の条件は、組に含まれる複数の工程をそれぞれ表す各状態遷移が同一の状態要素に含まれていることでもよい。 Further, the predetermined condition may be that each state transition representing each of a plurality of steps included in the set is included in the same state element.
 そのような構成により、半順序手順生成装置は、半順序手順グラフに有意な有向エッジを付与できる。 With such a configuration, the partial order procedure generation device can give a significant directed edge to the partial order procedure graph.
 半順序手順生成装置10は、特許文献1に記載されている変更計画システムが、システム構築またはシステム変更のための半順序手順の導出において順序関係のない状態遷移の組に順序関係があると誤判定する問題を解決できる。 The partial order procedure generation device 10 is erroneous if the change planning system described in Patent Document 1 has an order relation in a set of state transitions having no order relation in the derivation of the partial order procedure for system construction or system change. The problem of judging can be solved.
 その理由は、半順序手順生成装置10が順序関係がある状態遷移の組の種類を整理し、種類に基づいて各状態遷移間の順序関係の有無を判定することによって、状態遷移間の順序関係の有無の誤判定を回避できるためである。 The reason is that the partial order procedure generation apparatus 10 sorts out the types of state transition sets having an order relationship, and determines whether or not there is an order relationship between the state transitions based on the type. This is because it is possible to avoid misjudgment of the presence or absence.
 また、特許文献1に記載されている変更計画システムは、システム構築またはシステム変更のための半順序手順を導出する過程で、逐次的な手順を表す状態遷移列中の状態遷移を半順序手順グラフに追加する度に半順序手順グラフを探索する。特許文献1に記載されている変更計画システムは、半順序手順を半順序手順グラフで管理している。半順序手順生成装置10は、上記の効率が悪いために手順の導出に時間が掛かるという問題を改善できる。 In addition, the change planning system described in Patent Document 1 is a process of deriving a partial order procedure for system construction or system change, and the state transition in a state transition sequence representing a sequential procedure is shown as a partial order procedure graph. Search for a partial order procedure graph each time it is added. The change planning system described in Patent Document 1 manages a partial order procedure using a partial order procedure graph. The partial order procedure generation device 10 can improve the problem that it takes time to derive a procedure because of the above efficiency.
 その理由は、半順序手順生成装置10が半順序手順グラフにシステム構築またはシステム変更の状態遷移を追加する際に、システム構成中の各部品に対して最後に行われる工程の情報を活用することによって、半順序手順グラフを探索せずに状態遷移を追加できるためである。 The reason is that, when the partial order procedure generation device 10 adds a state transition of system construction or system change to the partial order procedure graph, the information on the last process performed for each part in the system configuration is used. This is because the state transition can be added without searching the partial order procedure graph.
 以上、実施形態および実施例を参照して本願発明を説明したが、本願発明は上記実施形態および実施例に限定されるものではない。本願発明の構成及び詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present invention has been described with reference to the embodiments and examples, the present invention is not limited to the above embodiments and examples. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
 この出願は、2017年6月15日に出願された日本特許出願2017-117607を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2017-117607 filed on June 15, 2017, the entire disclosure of which is incorporated herein.
産業上の利用の可能性Industrial applicability
 本発明は、IT(Information Technology)システムに代表される複数の部品で構成されるシステムが構築または変更される際の設計支援の用途に好適に適用される。特に、本発明は、システム構築またはシステム変更の逐次的な手順の半順序化に好適に適用される。 The present invention is suitably applied to a design support application when a system composed of a plurality of parts represented by an IT (Information Technology) system is constructed or changed. In particular, the present invention is preferably applied to partial ordering of sequential procedures for system construction or system change.
10、100、200 半順序手順生成装置
11 追加部
12 判定部
21 CPU
22 主記憶部
23 補助記憶部
24 入力部
25 出力部
26 システムバス
110、210 逐次手順処理部
120、220 半順序手順追加部
130、230 半順序手順グラフ管理部
10, 100, 200 Semi-sequential procedure generation device 11 addition unit 12 determination unit 21 CPU
22 Main storage unit 23 Auxiliary storage unit 24 Input unit 25 Output unit 26 System bus 110, 210 Sequential procedure processing unit 120, 220 Semi-order procedure addition unit 130, 230 Semi-order procedure graph management unit

Claims (10)

  1.  システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加する追加部と、
     追加された工程と前記半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する判定部とを備える
     ことを特徴とする半順序手順生成装置。
    A procedure in which processes are arranged in a semi-ordered structure, which is a structure in which sequential relations are not provided between some processes, which constitute a sequential procedure in which processes for changing the system configuration are arranged in series An additional part to be added to the graph representing the partial order procedure that is
    A partial order procedure generation apparatus comprising: a determination unit that determines that an order relation exists in a set that satisfies a predetermined condition among a set of steps that configure the added step and the partial order procedure.
  2.  判定部は、所定の条件を満たす組を半順序手順を表すグラフを所定の方法で探索することによって検出する
     請求項1記載の半順序手順生成装置。
    The partial order procedure production | generation apparatus of Claim 1. A determination part detects the group which satisfy | fills predetermined conditions by searching the graph showing a partial order procedure by a predetermined method.
  3.  判定部は、所定の条件を満たす組を追加された工程と半順序手順を構成する工程のうち変更されるシステムを構成する部品に対して最後に行われる工程の組の中から検出する
     請求項1記載の半順序手順生成装置。
    The determination unit detects a set that satisfies a predetermined condition from among a set of processes that are performed last for a part that constitutes a system to be changed among the added process and the process that configures the partial order procedure. The partial order procedure production | generation apparatus of 1 description.
  4.  所定の条件は、組に含まれる一方の工程が実行されると前記組に含まれる他方の工程が実行可能な工程になることである
     請求項1から請求項3のうちのいずれか1項に記載の半順序手順生成装置。
    The predetermined condition is that when one process included in the set is executed, the other process included in the set becomes an executable process. The partial order procedure production | generation apparatus of description.
  5.  所定の条件は、組に含まれる一方の工程が実行されると前記組に含まれる他方の工程が実行不可能な工程になることである
     請求項1から請求項4のうちのいずれか1項に記載の半順序手順生成装置。
    The predetermined condition is that when one process included in the set is executed, the other process included in the set becomes an unexecutable process. The partial order procedure generator described in 1.
  6.  所定の条件は、組に含まれる複数の工程をそれぞれ表す各状態遷移が同一の状態要素に含まれていることである
     請求項1から請求項5のうちのいずれか1項に記載の半順序手順生成装置。
    The predetermined condition is that each state transition representing each of a plurality of steps included in the set is included in the same state element. The partial order according to any one of claims 1 to 5. Procedure generator.
  7.  システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加し、
     追加された工程と前記半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する
     ことを特徴とする半順序手順生成方法。
    A procedure in which processes are arranged in a semi-ordered structure, which is a structure in which sequential relations are not provided between some processes, which constitute a sequential procedure in which processes for changing the system configuration are arranged in series To the graph that represents the partial order steps that are
    A method for generating a partial order procedure, comprising: determining that an order relation exists in a set satisfying a predetermined condition among a set of steps constituting the added step and the partial order procedure.
  8.  所定の条件を満たす組を半順序手順を表すグラフを所定の方法で探索することによって検出する
     請求項7記載の半順序手順生成方法。
    The method for generating a partial order procedure according to claim 7, wherein a set satisfying a predetermined condition is detected by searching a graph representing the partial order procedure by a predetermined method.
  9.  コンピュータに、
     システム構成を変更する工程が直列に並べられた手順である逐次的な手順を構成する工程を一部の工程間に順序関係が付与されていない構造である半順序構造で工程が並べられた手順である半順序手順を表すグラフに追加する追加処理、および
     追加された工程と前記半順序手順を構成する工程の組のうち所定の条件を満たす組に順序関係が存在すると判定する判定処理
     を実行させるための半順序手順生成プログラム。
    On the computer,
    A procedure in which processes are arranged in a semi-ordered structure, which is a structure in which sequential relations are not provided between some processes, which constitute a sequential procedure in which processes for changing the system configuration are arranged in series Additional processing to be added to the graph representing the partial order procedure, and determination processing for determining that there is an order relation in the set satisfying a predetermined condition from the set of the added process and the process constituting the partial order procedure. A partial sequence procedure generator program.
  10.  コンピュータに、
     所定の条件を満たす組を半順序手順を表すグラフを所定の方法で探索することによって検出する検出処理を実行させる
     請求項9記載の半順序手順生成プログラム。
    On the computer,
    The program for generating a partial order procedure according to claim 9, wherein a detection process for detecting a set that satisfies a predetermined condition by searching a graph representing the partial order procedure by a predetermined method is executed.
PCT/JP2018/020034 2017-06-15 2018-05-24 Partially ordered procedure generation device, partially ordered procedure generation method, and partially ordered procedure generation program WO2018230298A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-117607 2017-06-15
JP2017117607 2017-06-15

Publications (1)

Publication Number Publication Date
WO2018230298A1 true WO2018230298A1 (en) 2018-12-20

Family

ID=64659056

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/020034 WO2018230298A1 (en) 2017-06-15 2018-05-24 Partially ordered procedure generation device, partially ordered procedure generation method, and partially ordered procedure generation program

Country Status (1)

Country Link
WO (1) WO2018230298A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006195892A (en) * 2005-01-17 2006-07-27 Fuji Xerox Co Ltd Flow processing program and device, and flow order altering method
WO2013128838A1 (en) * 2012-03-01 2013-09-06 日本電気株式会社 Device for creating system construction procedure, method for creating system construction procedure, and program
JP2015215885A (en) * 2014-05-09 2015-12-03 日本電気株式会社 Change planning system, change planning method and change planning program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006195892A (en) * 2005-01-17 2006-07-27 Fuji Xerox Co Ltd Flow processing program and device, and flow order altering method
WO2013128838A1 (en) * 2012-03-01 2013-09-06 日本電気株式会社 Device for creating system construction procedure, method for creating system construction procedure, and program
JP2015215885A (en) * 2014-05-09 2015-12-03 日本電気株式会社 Change planning system, change planning method and change planning program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KATSUNO, YASUHARU ET AL.: "Rapid deployment of composite application server with installation dependency", IEICE TECHNICAL REPORT, vol. 115, no. 61, 21 May 2015 (2015-05-21), pages 101 - 108, ISSN: 0913-5685 *

Similar Documents

Publication Publication Date Title
JP2021099890A (en) Determination method of cause-and-effect relationship, device, electronic apparatus, and storage medium
EP3696745A1 (en) Intelligent workflow advisor for part design, simulation and manufacture
JP2016115175A (en) Software test apparatus and software test program
JP2021128779A (en) Method, device, apparatus, and storage medium for expanding data
JPWO2016056236A1 (en) Information processing apparatus, information processing method, and program
US11562028B2 (en) Concept prediction to create new intents and assign examples automatically in dialog systems
US11403270B2 (en) System configuration derivation device, method, and program
CN112766505A (en) Knowledge representation method of non-monotonic reasoning in logic action language system depiction
WO2018230298A1 (en) Partially ordered procedure generation device, partially ordered procedure generation method, and partially ordered procedure generation program
US20130046467A1 (en) Method and apparatus for determining traveling route
US20120317526A1 (en) Verification method, computer-readable recording medium, and design verification apparatus
CN116401025A (en) Data processing system and data processing method
WO2020057104A1 (en) Method and device for application development
CN113691403B (en) Topology node configuration method, related device and computer program product
JP6766962B2 (en) Change procedure generator, change procedure generation method and change procedure generator
JP7508841B2 (en) System verification program generation device, system verification program generation method, and system verification program generation program
JP6007221B2 (en) Abnormal test data generation apparatus, method, and program for multiple input variables
CN113962549A (en) Business process arrangement method and system based on power grid operation knowledge
JP7176514B2 (en) Partial Procedure Planning Apparatus, Partial Procedure Planning Method, and Partial Procedure Planning Program
KR20220029004A (en) Cloud-based deep learning task execution time prediction system and method
CN115222041B (en) Graph generation method and device for model training, electronic equipment and storage medium
WO2019073894A1 (en) Configuration management device, configuration management method, and recording medium
US20220351054A1 (en) Systems and methods for generating customer journeys for an application based on process management rules
JPWO2016079962A1 (en) Model checking device, model checking method, and model checking program
JP6007220B2 (en) Normal test data generation apparatus, method and program for multiple input variables

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18817995

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18817995

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP