WO2017145309A1 - Computer and state transition information generation method - Google Patents

Computer and state transition information generation method Download PDF

Info

Publication number
WO2017145309A1
WO2017145309A1 PCT/JP2016/055518 JP2016055518W WO2017145309A1 WO 2017145309 A1 WO2017145309 A1 WO 2017145309A1 JP 2016055518 W JP2016055518 W JP 2016055518W WO 2017145309 A1 WO2017145309 A1 WO 2017145309A1
Authority
WO
WIPO (PCT)
Prior art keywords
state transition
state
information
transition information
scenario
Prior art date
Application number
PCT/JP2016/055518
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 株式会社日立製作所
Priority to PCT/JP2016/055518 priority Critical patent/WO2017145309A1/en
Publication of WO2017145309A1 publication Critical patent/WO2017145309A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Definitions

  • the present invention relates to a computer that generates state transition information indicating a state transition of a device, and a state transition information generation method.
  • IoT Internet of Things
  • IIC International Internet Consortium
  • the following processing is performed for management based on collection and analysis of device information and sensor data.
  • a device equipped with a sensor for observing data to be collected for example, temperature, pressure, vibration, etc. for an industrial device
  • a processing server that performs collection and analysis receives data transmitted from the apparatus, performs preprocessing such as conversion processing, and then performs analysis.
  • Patent Document 1 states that “the message sequence diagram storage unit A1 stores all message sequence diagrams to be converted, and the process designating unit A2 designates a process to be converted on the message sequence diagram.
  • the state transition information conversion unit A3 extracts event sequences on all message sequence diagrams of the process specified by the process specification unit A2 from the message sequence diagram stored in the message sequence diagram storage unit A1, and converts them into state transition information.
  • the state transition information reduction unit A5 deletes the duplicate transition information in the state transition information stored in the state transition diagram storage unit A4, and stores the state transition information in the state transition diagram storage unit A4. It will be reduced.
  • state transition information When generating state transition information, it is necessary to define the state of the device and specify the transition between the states of the device. In order to define the state of the device, information describing the specification or design of the device is required in advance.
  • Patent Document 1 In the prior art as described in Patent Document 1, it is necessary to prepare a specification or design document of the apparatus in advance. Therefore, when the above-described information does not exist, the state transition information of the device cannot be generated by the conventional technique.
  • a typical example of the invention disclosed in the present application is as follows. That is, a computer that generates state transition information indicating a transition of an operating state of a device, the computer being a processor, a memory connected to the processor, and an interface connected to the processor and connected to an external device
  • a state transition information generation unit configured to generate the state transition information, wherein the state transition information generation unit acquires operation information including a plurality of messages indicating an operation state of the target device, and the target device
  • a plurality of scenario information is generated by dividing the operation information for each scenario corresponding to a single state transition pattern, and all the state transitions of the target device are obtained by integrating the plurality of scenario information.
  • the state transition information shown is generated.
  • FIG. 1 is a block diagram illustrating an example of a configuration of a device according to a first embodiment.
  • FIG. 3 is a block diagram illustrating an example of a configuration of a data store server according to the first embodiment. It is a block diagram explaining an example of a structure of the state transition production
  • FIG. It is a block diagram explaining an example of a structure of the analysis server of Example 1.
  • FIG. 6 is a diagram illustrating an example of an event log according to the first embodiment. It is a figure explaining an example of the reference
  • FIG. It is a figure explaining an example of the scenario information of Example 1.
  • FIG. 3 is a graph showing a concept of a scenario of Example 1.
  • 3 is a graph showing a concept of a scenario of Example 1.
  • FIG. It is a figure explaining an example of the scenario integration information of Example 1.
  • FIG. It is a figure explaining an example of the scenario integration information of Example 1.
  • FIG. It is a sequence diagram explaining the flow of a process of the computer system in the case of producing
  • FIG. FIG. 6 is a diagram illustrating an example of a GUI operated when generating state transition information according to the first embodiment.
  • FIG. 6 is a diagram illustrating an example of a CUI operated when generating state transition information according to the first embodiment.
  • FIG. 1 It is a flowchart explaining an example of the state transition information generation process which the state transition generation server of Example 1 performs. It is a figure explaining an example of the state transition information of Example 1.
  • FIG. It is a flowchart explaining an example of the scenario integration process which the state transition production
  • FIG. It is a figure explaining the production
  • FIG. It is a figure explaining the example of a display of the state transition information display column of Example 1.
  • FIG. It is a figure explaining the example of a display of the state transition information display column of Example 1.
  • FIG. It is a sequence diagram which shows the flow of a production
  • FIG. It is a flowchart explaining an example of the state transition information generation process which the state transition generation server of Example 2 performs.
  • FIG. 1 is a block diagram illustrating an example of the configuration of a computer system according to the first embodiment.
  • the computer system includes a plurality of devices 101, a data store server 102, a state transition generation server 103, and an analysis server 104.
  • the plurality of devices 101, the data store server 102, the state transition generation server 103, and the analysis server 104 are connected to each other via a network 105.
  • the network 105 may be a LAN (Local Area Network), a WAN (Wide Area Network), or the like. Note that the present invention is not limited to the type of the network 105. Further, the present invention is not limited to the connection form between each device and the network 105, and may be wireless or wired.
  • the device 101 is a device for which the state transition information 426 (see FIG. 4) is to be generated. Note that the present invention is not limited to the type of the apparatus 101. For example, equipment in a certain factory, sensors, and the like correspond to the apparatus 101.
  • the data store server 102 manages the data store.
  • the event log 321 (see FIG. 3) is stored in the data store.
  • the event log 321 includes a plurality of messages indicating operating states of the plurality of apparatuses 101.
  • the number of data store servers 102 is one, but a plurality of data store servers 102 may exist.
  • a data store is configured by integrating storage areas of a plurality of data store servers 102.
  • the state transition generation server 103 generates state transition information 426 (see FIG. 4) of the apparatus 101 using a plurality of messages acquired from the event log 321 or the apparatus 101.
  • the analysis server 104 executes an analysis process using the state transition information 426 generated by the state transition generation server 103. Note that the present invention is not limited to the processing content of the analysis processing.
  • FIG. 2 is a block diagram illustrating an example of the configuration of the apparatus 101 according to the first embodiment.
  • the apparatus 101 includes a processor 201, a volatile memory 202, a nonvolatile memory 203, a network I / F 204, and an input / output I / F 205, and the respective components are connected to each other via an internal communication line such as a bus.
  • the processor 201 executes a program stored in the volatile memory 202.
  • the function of the apparatus 101 is realized by the processor 201 executing a program stored in the volatile memory 202.
  • the processor 201 executes a program stored in the volatile memory 202.
  • the volatile memory 202 stores a program executed by the processor 201, and includes a storage area for temporarily storing data necessary for executing the program.
  • the nonvolatile memory 203 includes a storage area for permanently storing data. The programs and storage areas stored in the volatile memory 202 and the nonvolatile memory 203 will be described later.
  • the network I / F 204 is an interface for connecting to other devices via the network 105.
  • the input / output I / F 205 is an interface for connecting to an input / output device.
  • the input / output device includes, for example, a display, a touch panel, a keyboard, and a mouse.
  • the volatile memory 202 stores a program for realizing the control unit 212 and the volatile storage unit 210.
  • the control unit 212 is composed of a plurality of program modules and performs various controls of the apparatus. Specifically, the control unit 212 includes a device control unit 221 and a message output unit 222.
  • the device control unit 221 controls the entire device 101. Note that the present invention is not limited to the control content performed by the device control unit 221.
  • the message output unit 222 controls output of a message indicating the operating state of the apparatus 101. Note that the function of the message output unit 222 may be included in the device control unit 221.
  • the message output unit 222 may output a message to the data store server 102 each time a message is generated, or may output a plurality of messages to the data store server 102 when a predetermined number of messages are accumulated. Good. At this time, the message output unit 222 may directly output a message to the data store server 102 via the data relay application.
  • the message output unit 222 may provide an API for receiving a message output request. For example, when a message output request is received from the state transition generation server 103 via the API, the message output unit 222 outputs a predetermined number of messages to the state transition generation server 103. Further, the state transition generation server 103 outputs an API via the data store server 102 using an application that acquires the message via the API to the message output unit 222 and stores the acquired message in the data store server 102. A message may be obtained.
  • the volatile storage unit 210 controls data reading processing and writing processing for the volatile memory 202.
  • the volatile storage unit 210 manages data managed by the device control unit 221 and messages output by the message output unit 222.
  • the nonvolatile memory 203 stores a program for realizing the nonvolatile storage unit 211.
  • the nonvolatile storage unit 211 controls data read processing and write processing with respect to the nonvolatile memory 203. For example, an important message is stored in the nonvolatile memory 203.
  • the device 101 may not include the nonvolatile memory 203. Further, the apparatus 101 may not include the input / output I / F 205.
  • FIG. 3 is a block diagram illustrating an example of the configuration of the data store server 102 according to the first embodiment.
  • the data store server 102 includes a processor 301, a volatile memory 302, a nonvolatile memory 303, a network I / F 304, and an input / output I / F 305, and the respective components are connected to each other via an internal communication line such as a bus.
  • the processor 301, the volatile memory 302, the nonvolatile memory 303, the network I / F 304, and the input / output I / F 305 of this embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 305. This is the same as the output I / F 205.
  • the volatile memory 302 stores a program for realizing the volatile storage unit 310 and the data store management unit 312.
  • the data store management unit 312 manages a data store configured using the storage area of the volatile memory 302.
  • the volatile storage unit 310 controls data reading processing and writing processing for the volatile memory 302 in cooperation with the data store management unit 312.
  • the volatile storage unit 310 manages the event log 321 and a plurality of analysis data 322.
  • the event log 321 includes a plurality of messages from a plurality of devices 101.
  • the analysis data 322 includes the result of the analysis process executed by the analysis server 104.
  • the analysis data 322 includes the results of analysis processing for one device 101.
  • the nonvolatile memory 303 stores a program for realizing the nonvolatile storage unit 311.
  • the nonvolatile storage unit 311 is the same as the nonvolatile storage unit 211.
  • the data store may be configured using a storage area of the nonvolatile memory 303.
  • the data store management unit 312 controls data reading processing and writing processing with respect to the nonvolatile memory 303 in cooperation with the nonvolatile storage unit 311.
  • FIG. 4 is a block diagram illustrating an example of the configuration of the state transition generation server 103 according to the first embodiment.
  • the state transition generation server 103 includes a processor 401, a volatile memory 402, a nonvolatile memory 403, a network I / F 404, and an input / output I / F 405, and the respective components are connected to each other via an internal communication line such as a bus. .
  • the processor 401, the volatile memory 402, the nonvolatile memory 403, the network I / F 404, and the input / output I / F 405 of the present embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 405. This is the same as the output I / F 205.
  • the volatile memory 402 stores a program for realizing the volatile storage unit 410 and the state transition generation application 412.
  • the state transition generation application 412 includes a plurality of program modules, and generates state transition information for each of the plurality of apparatuses 101. Specifically, the state transition generation application 412 includes an input / output unit 421, a message acquisition unit 422, and a state transition information generation unit 423.
  • the input / output unit 421 controls input of various data when generating state transition information, output of state transition information, and the like.
  • the input / output unit 421 uses the state transition information 426 to generate display information for displaying a GUI or the like.
  • the message acquisition unit 422 acquires operation information including a message indicating the operation state of the target apparatus 101.
  • the message acquisition unit 422 may acquire operation information from the event log 321 managed by the data store server 102, or may acquire operation information via an API provided by the device 101.
  • the state transition information generation unit 423 generates state transition information 426 indicating the state transition of the apparatus 101 using the operation information acquired by the message acquisition unit 422.
  • the volatile storage unit 410 controls data read processing and write processing with respect to the volatile memory 402.
  • the volatile storage unit 410 manages scenario information 424 and scenario integration information 425.
  • Scenario information 424 is information for managing a scenario.
  • the scenario integration information 425 is information generated by integrating a plurality of scenario information 424.
  • the state transition information 426 of one device 101 is generated by integrating all scenarios of one device 101.
  • the non-volatile storage unit 411 controls a data reading process and a writing process with respect to the non-volatile memory 403.
  • the nonvolatile storage unit 411 manages the state transition information 426 and the reference message definition information 427.
  • the state transition information 426 is information generated by the state transition information generation unit 423.
  • One state transition information 426 is information indicating the state transition of one device 101.
  • a plurality of state transition information 426 having different reference messages or different state integration states may be generated for one apparatus 101.
  • the state transition information 426 may be stored in the volatile storage unit 410.
  • the reference message definition information 427 stores reference message information used when generating a plurality of scenarios from operation information including a plurality of messages.
  • the scenario indicates one state transition pattern of one device 101.
  • the state transition of the device 101 has a plurality of patterns. Therefore, when a plurality of messages are analyzed as they are when the state transition information 426 is generated, the processing becomes very complicated. Therefore, in this embodiment, the state transition information generation unit 423 divides operation information including a plurality of messages into a plurality of scenarios, and integrates the scenarios by comparing them. As a result, state transition information 426 covering all state transitions of one device 101 is generated.
  • a data storage request is output to the volatile storage unit 410, and the volatile storage unit 410 is stored in the storage area of the volatile memory 402. Indicates that data is to be stored.
  • a data storage request is output to the nonvolatile storage unit 411, and the nonvolatile storage unit 411 stores the data in the storage area of the nonvolatile memory 403. Indicates to do.
  • FIG. 5 is a block diagram illustrating an example of the configuration of the analysis server 104 according to the first embodiment.
  • the analysis server 104 includes a processor 501, a volatile memory 502, a nonvolatile memory 503, a network I / F 504, and an input / output I / F 505, and each component is connected to each other via an internal communication line such as a bus.
  • the processor 501, the volatile memory 502, the nonvolatile memory 503, the network I / F 504, and the input / output I / F 505 of this embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 505. This is the same as the output I / F 205.
  • the volatile memory 502 stores programs for realizing the volatile storage unit 510, the message reception application 512, and the analysis application 513.
  • the message receiving application 512 is an application that provides a function for receiving a message, and includes a message receiving unit 521.
  • the message receiving unit 521 receives a message from the device 101 or the data store server 102. For example, the message receiving unit 521 receives a real-time message from the device 101 via an API provided by the device 101.
  • the analysis application 513 is an application that provides a function for performing various types of analysis, and includes an input / output unit 522, a state transition analysis unit 523, and a display information generation unit 524.
  • the input / output unit 522 controls input of various data during execution of analysis processing, output of results of analysis processing, and the like.
  • the state transition analysis unit 523 executes an analysis process using the message and the state transition information 525. Note that the present invention is not limited to the contents of the analysis process.
  • the display information generation unit 524 generates display information for displaying the result of the analysis processing and the like.
  • the volatile storage unit 510 controls data reading processing and writing processing for the volatile memory 502.
  • the volatile storage unit 510 manages received messages, display information, and the like.
  • the non-volatile storage unit 511 controls data reading processing and writing processing for the non-volatile memory 503.
  • the nonvolatile storage unit 511 manages the state transition information 525.
  • the state transition information 525 is the same as the state transition information 426 generated by the state transition generation server 103.
  • the state transition generation server 103 outputs the state transition information 426 generated to the analysis server 104, and the state transition information 426 received by the analysis server 104 is managed as the state transition information 525.
  • the state transition generation server 103 may transmit the generated state transition information 426 to the data store server 102.
  • the analysis server 104 acquires the state transition information 426 from the data store server 102 and manages it as state transition information 525 in the nonvolatile storage unit 511.
  • FIG. 6 is a diagram illustrating an example of the event log 321 according to the first embodiment.
  • the event log 321 includes a plurality of messages including a date, an identifier of the device 101, and a message content indicating the state of the device 101.
  • the top message shown in FIG. 6 is “13:15” with the date and time “December 14, 2015”, the identifier of the device 101 is “X0123931”, and the message content is “ Indicates “power on”.
  • the data store management unit 312 updates the event log 321 by adding data in the format shown in FIG.
  • FIG. 7 is a diagram illustrating an example of the reference message definition information 427 according to the first embodiment.
  • the reference message definition information 427 is information set in advance by a computer system administrator or a user who uses the apparatus 101, and includes a plurality of entries including a device ID 701 and a reference message 702.
  • the device ID 701 is an identifier of the device 101.
  • the reference message 702 is the content of a message used when generating a scenario.
  • 8A and 8B are diagrams illustrating an example of the scenario information 424 according to the first embodiment.
  • 9A and 9B are graphs showing the concept of the scenario of the first embodiment.
  • the scenario information 424 is given the identifier of the apparatus 101 and the scenario identifier.
  • FIG. 8A shows scenario information 424 in which the identifier of the device 101 is “device 1” and the scenario identifier is “scenario 1”.
  • FIG. 8B shows scenario information 424 in which the identifier of the device 101 is “device 1” and the scenario identifier is “scenario 2”.
  • Scenario information 424 includes a plurality of entries including a status ID 801, a connection destination status ID 802, and an output message 803.
  • One entry corresponds to one state (node).
  • Status ID 801 is an identifier of a node indicating a status.
  • the connection destination state ID 802 is an identifier of a node whose time series is one after the node corresponding to the state ID 801. In the case of the node corresponding to the end of the scenario, there is no node after the node, so the connection destination state ID 802 is blank.
  • the output message 803 is the content of a message that is output when the state corresponding to the state ID 801 transits to the state corresponding to the connection destination state ID 802.
  • the scenario information 424 shown in FIG. 8A corresponds to the scenario shown in FIG. 9A.
  • the scenario information 424 shown in FIG. 8B corresponds to the scenario shown in FIG. 9B.
  • each node is defined as a state, and a message is associated with an edge connecting each state.
  • FIG. 10A and 10B are diagrams illustrating an example of the scenario integration information 425 according to the first embodiment.
  • FIG. 10A shows scenario integration information 425 used when executing the scenario integration processing.
  • FIG. 10B shows scenario integration information 425 used when executing the state integration processing.
  • the identifier of the apparatus 101 is given to the scenario integration information 425.
  • the scenario integrated information 425 illustrated in FIG. 10A includes a plurality of entries including an integrated state ID 1001, a connection destination integrated state ID 1002, an output message 1003, a distance (starting end) 1004, and a distance (ending) 1005.
  • One entry corresponds to one state (node).
  • the integration state ID 1001, the connection destination integration state ID 1002, and the output message 1003 are the same as the state ID 801, the connection destination state ID 802, and the output message 803.
  • the integrated state ID 1001 and the connection destination integrated state ID 1002 store the identifiers of the states after the scenarios are integrated.
  • the state after the scenario is integrated is also referred to as an integrated state.
  • Distance (starting point) 1004 is a distance (hop count) from the starting state of the state included in the scenario before integration.
  • the distance (termination) 1005 is the distance (number of hops) from the termination state of the state included in the scenario before integration.
  • the distance (starting edge) 1004 and the distance (ending edge) 1005 are used when integrating scenarios.
  • the distance from the start end state is “0”, and the distance from the end state is “6”.
  • the distance from the start end state is “3”, and the distance from the end end state is “3”.
  • the scenario integration information 425 illustrated in FIG. 10B includes a plurality of entries including an integration state ID 1001, a connection destination integration state ID 1002, and an output message 1003.
  • One entry corresponds to one state (node).
  • connection destination integration state ID 1002 of one entry As many rows as the number of nodes connected to each node to be integrated are generated in the connection destination integration state ID 1002 of one entry. Also, as many lines as the number of nodes connected to the node are generated in the output message 1003 of the entry.
  • an entry whose integrated state ID 1001 is “St2” indicates that two nodes included in different scenarios are integrated nodes.
  • the output message 1003 has one line, and a plurality of messages are stored in one line.
  • an entry whose integration state ID 1001 is “St3” indicates that the integration node is an integration node obtained by integrating a plurality of integration nodes.
  • FIG. 11 is a sequence diagram for explaining the processing flow of the computer system when the state transition information 426 of the first embodiment is generated.
  • FIG. 12 is a diagram illustrating an example of a GUI (Graphical User Interface) operated when generating the state transition information 426 according to the first embodiment.
  • FIG. 13 is a diagram illustrating an example of a CUI (Character User Interface) operated when generating the state transition information 426 according to the first embodiment.
  • FIG. 11 illustrates an example in which the state transition information 426 is generated using the event log 321 stored in the data store server 102.
  • the input / output unit 421 of the state transition generation server 103 displays a display screen 1200 as shown in FIG. 12 or a display screen 1300 as shown in FIG.
  • a display screen 1300 as shown in FIG.
  • each of the display screens 1200 and 1300 will be described.
  • the display screen 1200 shows an example of a GUI, and includes a setting information input field 1210, a START button 1220, a display switching selection field 1230, and a state transition information display field 1240.
  • the setting information input column 1210 is a column for inputting various parameters used for generating the state transition information 426.
  • the setting information input field 1210 includes a definition information input field 1211, a reference button 1212, a target device ID input field 1213, a state number input field 1214, and a period input field 1215.
  • the definition information input field 1211 is an input field for designating reference message definition information 427 to be referred to.
  • a path name or a file name in which the reference message definition information 427 is stored is input.
  • the reference button 1212 is a button for determining reference to the reference message definition information 427 set in the definition information input field 1211.
  • the state transition generation server 103 executes state transition information generation processing using the reference message definition information 427.
  • the target device ID input column 1213 is a column for inputting the identifier of the device 101 that generates the state transition information 426.
  • the target device ID input field 1213 is displayed as a pull-down input field.
  • the state number input column 1214 is an input column for setting the maximum number of states included in the state transition information 426.
  • the period input field 1215 is an input field for designating a period for acquiring a message.
  • the state transition information generation unit 423 holds the maximum value of the state input in the state number input field 1214 and the like as granularity information, and also holds the period input in the period input field 1215 and the like as period information.
  • the START button 1220 is an operation button for instructing generation of the state transition information 426 based on the value set in the setting information input field 1210.
  • the user sets a value in at least the target device ID input field 1213 and operates the START button 1220.
  • values are not necessarily input.
  • the state transition information display column 1240 is a column for displaying the state transition information 426 generated by the state transition generation server 103.
  • the plurality of state transition information 426 is displayed in a tab format as shown in FIG.
  • various parameters used when the state transition information 426 is generated may be displayed together.
  • the state transition information display field 1240 of FIG. 12 the state transition information 426 is displayed in a graph format.
  • a reference message is displayed in the state transition information display field 1240 in FIG.
  • the display switching selection column 1230 is a selection column for changing the display format of the state transition information 426 displayed in the state transition information display column 1240.
  • the display switching selection field 1230 in FIG. 12 includes radio buttons for switching the state color and the state alignment method in the state transition information 426 in the graph format.
  • the OK button 1250 is an operation button for determining the state transition information 426 stored in the nonvolatile storage unit 411 from among the plurality of state transition information 426.
  • state transition information 426 corresponding to the tab is stored in the nonvolatile storage unit 411.
  • the display screen 1300 shows an example of a CUI.
  • the line 1301 corresponds to a command instructing generation of the state transition information 426.
  • the command includes various parameters used when the state transition information 426 is generated.
  • the date and time, the reference message definition information 427, the identifier of the apparatus 101, and the granularity information are included.
  • Line 1302 shows the generated state transition information 426.
  • three pieces of state transition information 426 are displayed.
  • the line 1303 corresponds to a command for selecting the state transition information 426 stored in the nonvolatile storage unit 411.
  • FIG. 13 shows that the state transition information 426 of “pattern03” is selected.
  • the input / output unit 421 receives various types of information via the display screen 1200 or the display screen 1300 (step S1101).
  • the input / output unit 421 issues a process start request to the state transition information generation unit 423 (step S1102).
  • the input / output unit 421 issues a process start request to the state transition information generation unit 423 when the START button 1220 is operated.
  • the state transition information generation unit 423 When the state transition information generation unit 423 receives the processing start request, the state transition information generation unit 423 issues a read request for the reference message definition information 427 to the nonvolatile storage unit 411 (step S1103).
  • the non-volatile storage unit 411 outputs the reference message definition information 427 designated by the user to the state transition information generation unit 423 when receiving the read request (step S1104).
  • the state transition information generation unit 423 temporarily stores the received reference message definition information 427 in the volatile storage unit 410.
  • step S1103 and step S1104 are omitted.
  • the state transition information generation unit 423 transmits a message acquisition request to the data store management unit 312 of the data store server 102 via the message acquisition unit 422 (step S1105).
  • the message acquisition request includes at least the identifier of the target device 101.
  • the message acquisition request includes information on the period.
  • the data store management unit 312 reads the message of the target device 101 from the event log 321 and transmits operation information including the read message to the state transition generation server 103 (step S1106).
  • the state transition information generation unit 423 acquires the operation information transmitted from the data store server 102 via the message acquisition unit 422.
  • the state transition information generation unit 423 temporarily stores the acquired operation information in the volatile storage unit 410.
  • the state transition information generation unit 423 executes state transition information generation processing after the operation information including a plurality of messages is acquired (step S1107). Details of the state transition information generation processing will be described with reference to FIG. As a result of the state transition information generation process, one or more state transition information 426 is generated. At this time, the generated state transition information 426 is temporarily stored in the volatile storage unit 410.
  • the state transition information generation unit 423 outputs one or more state transition information 426 generated in the input / output unit 421 (step S1108).
  • the input / output unit 421 displays the generated state transition information 426 in the state transition information display field 1240.
  • the user refers to the state transition information 426 displayed on the display screen 1200 or the display screen 1300, and selects the state transition information 426 to be stored in the nonvolatile storage unit 411.
  • the input / output unit 421 issues a storage request for the selected state transition information 426 to the state transition information generation unit 423 (step S1110).
  • the state transition information generation unit 423 When the state transition information generation unit 423 receives a storage request, the state transition information generation unit 423 outputs the selected state transition information 426 to the nonvolatile storage unit 411 (step S1111).
  • the nonvolatile storage unit 411 stores the state transition information 426 and then responds to the state transition information generation unit 423 (step S1112).
  • FIG. 14 is a flowchart illustrating an example of state transition information generation processing executed by the state transition generation server 103 according to the first embodiment.
  • FIG. 15 is a diagram illustrating an example of the state transition information 426 according to the first embodiment.
  • FIG. 14 describes a state transition information generation process when the reference message definition information 427 is not used.
  • the state transition information generation unit 423 generates a list of reference messages based on the operation information of the target device 101 (step S1401).
  • the state transition information generation unit 423 analyzes the contents of a plurality of messages included in the operation information, and generates a list of reference messages based on the appearance frequency. For example, the state transition information generation unit 423 generates a list of reference messages by extracting messages that appear above a predetermined threshold and sorting the extracted messages in order of frequency. Note that the state transition information generation unit 423 may extract a low-frequency message as a reference message.
  • step S1402 the state transition information generation unit 423 starts a loop process for the reference message.
  • the state transition information generation unit 423 selects one reference message from the list of reference messages. For example, the state transition information generation unit 423 selects the reference messages in descending order of frequency. Note that the state transition information generation unit 423 may select the reference messages in ascending order of frequency.
  • the state transition information generation unit 423 generates scenario information 424 based on the operation information of the target device 101 and the selected reference message (step S1403). Specifically, the following processing is executed.
  • the state transition information generation unit 423 sorts the plurality of messages included in the operation information in chronological order, and divides the operation information into a plurality of message groups based on the reference message.
  • the reference message is handled as the last message included in the scenario. That is, the state transition information generation unit 423 divides a plurality of messages included between a certain message and a reference message as one message group. One divided message group corresponds to one scenario.
  • the state transition information generation unit 423 assigns an identifier (scenario identifier) to each of the divided message groups.
  • the operation information dividing method based on the reference message is not limited to the method described above.
  • the reference message may be treated as the first message included in the scenario.
  • the state transition information generation unit 423 divides a plurality of messages included between the reference message and the message immediately before the next reference message as one scenario.
  • the state transition information generation unit 423 selects one scenario.
  • the state transition information generation unit 423 generates empty scenario information 424 and assigns the identifier of the target device 101 and the scenario identifier to the scenario information 424.
  • the state transition information generation unit 423 calculates the number of messages included in one scenario.
  • the state transition information generation unit 423 generates nodes as many as the number of messages, and defines the nodes as one state. That is, the state transition information generation unit 423 generates entries for the number of messages in the scenario information 424, and sets an identifier in the state ID 801 of each entry.
  • the state transition information generation unit 423 generates an edge connecting nodes. For example, the state transition information generation unit 423 generates an edge between the node having the identifier “St1” and the node having the identifier “St2”.
  • the state transition information generation unit 423 registers edge information in the scenario information 424. That is, the state transition information generation unit 423 sets the identifier of the connection destination node in the connection destination state ID 802 of the entry corresponding to each node. Thereby, the edge and the direction of the edge are set.
  • connection destination state ID 802 of the entry corresponding to the node is blank.
  • the state transition information generation unit 423 associates one message with the edge. That is, the state transition information generation unit 423 sets the content of one message in the output message 803 of one entry. For each edge, the contents of the message are set in the output message 803 so that the order of the edges corresponds to the time series of the messages.
  • the edge connecting the first node and the second node is associated with the content of the first message in time series.
  • a message input to a certain node (state) is described as an input message
  • a message output from a certain node (state) is described as an output message.
  • the state transition information generation unit 423 sets values for all entries. Note that the connection destination state ID 802 of the entry corresponding to the terminal node remains blank.
  • the state transition information generation unit 423 executes the above-described processing for all scenarios. As a result, scenario information 424 for all scenarios is generated. The above is the description of the process in step S1403.
  • the state transition information generation unit 423 executes a scenario integration process for integrating the states of a plurality of scenarios (step S1404).
  • Scenario integration information 425 is generated from a plurality of scenario information 424 by scenario integration processing. Details of the scenario integration processing will be described with reference to FIG.
  • the state transition information generation unit 423 determines whether or not the integrated state included in the scenario integration information 425 needs to be integrated (step S1405). Specifically, the following processing is executed.
  • the state transition information generation unit 423 determines whether information specifying the number of states is input. For example, the state transition information generation unit 423 determines whether or not the granularity information is held.
  • the state transition information generation unit 423 determines that it is not necessary to integrate the integrated state included in the scenario integration information 425.
  • the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than the value included in the granularity information.
  • the state transition information generation unit 423 determines that it is not necessary to integrate the integration states included in the scenario integration information 425.
  • the state transition information generation unit 423 determines that the integration states included in the scenario integration information 425 need to be integrated. The above is the description of the processing in step S1405.
  • step S1407 If it is determined that it is not necessary to integrate the integration state included in the scenario integration information 425, the state transition information generation unit 423 proceeds to step S1407.
  • the state transition information generation unit 423 executes state integration processing for integrating the integration state included in the scenario integration information 425 ( Step S1406). With the state integration process, the granularity of the state transition information 426 can be adjusted. Details of the state integration processing will be described with reference to FIG.
  • step S1405 If step S1405 is NO or after the state integration process is executed, the state transition information generation unit 423 generates a state transition from the terminal state to the starting state (step S1407).
  • the state transition information generation unit 423 sets the identifier of the integrated state at the start end in the connection destination integrated state ID 1002 of the entry corresponding to the integrated state at the end of the scenario integrated information 425.
  • the process in step S1407 is a process for generating state transition information 426 corresponding to an analysis process such as the time for transition from the terminal integrated state to the starting integrated state, the behavior of the apparatus 101, and the like. Therefore, the process of step S1407 is not necessarily executed. In this case, the presence or absence of the process in step S1407 may be designated based on the user's selection.
  • the state transition information generation unit 423 determines whether or not the number of generated scenario integration information 425 is equal to or greater than a predetermined threshold (step S1408).
  • a predetermined threshold it is assumed that the number of scenario integration information 425 to be generated is set in the state transition generation server 103 in advance.
  • the threshold value may be updated as appropriate by the user.
  • the state transition information generation unit 423 exits the loop and ends the state transition information generation process.
  • the state transition information generation unit 423 determines whether or not processing has been completed for all reference messages (step S1409).
  • the state transition information generation unit 423 returns to step S1402 and executes the same processing.
  • step S1408 If it is determined that the processing has been completed for all the reference messages, or if step S1408 is YES, the state transition information generation unit 423 generates state transition information 426 based on the scenario integration information 425 (step S1410). Thereafter, the state transition information generation unit 423 ends the state transition information generation process.
  • the state transition information generation unit 423 generates the state transition information 426 by converting the scenario integration information 425 into a predetermined data format. For example, the state transition information generation unit 423 generates state transition information 426 in a JSON (Java Script Object Notification) format as shown in FIG.
  • JSON Java Script Object Notification
  • state transition information generation unit 423 may generate the scenario integration information 425 as the state transition information 426 as it is.
  • FIG. 14 illustrates the state transition information generation processing when the reference message definition information 427 is not used.
  • the state transition information generation processing when the reference message definition information 427 is used will be described.
  • the processing in step S1401, the processing in step S1408, and the reference message loop processing are not executed. Other processing is the same.
  • FIG. 16 is a flowchart illustrating an example of a scenario integration process executed by the state transition generation server 103 according to the first embodiment.
  • the state transition information generation unit 423 selects one scenario from a plurality of scenarios (step S1601). Furthermore, the state transition information generation unit 423 generates scenario integration information 425 based on the scenario information 424 of the selected scenario (step S1602).
  • the state transition information generation unit 423 copies the contents of the scenario information 424 of the selected scenario to the empty scenario integration information 425. At this time, the state transition information generation unit 423 assigns an integrated state identifier to each state, and sets the integrated state identifier in the integrated state ID 1001 and the connection destination integrated state ID 1002. In addition, the state transition information generation unit 423 calculates the distance from the start state and the distance from the end state for each state, and calculates the distances calculated as the distance (start end) 1004 and the distance (end) 1005. Set.
  • step S1603 the state transition information generation unit 423 starts a scenario loop process.
  • the state transition information generation unit 423 selects one scenario that is not integrated.
  • the scenario selected in step S1603 is also referred to as a selected scenario.
  • the state transition information generation unit 423 starts a loop process of the selected scenario state (step S1604).
  • the state transition information generation unit 423 selects one state entry from the scenario information 424 of the selected scenario.
  • the state selected in step S1604 is also referred to as a selected state.
  • the state transition information generation unit 423 calculates the distance from the start state and the distance from the end state for the selected state.
  • the state transition information generation unit 423 determines whether there is an integrated state that is the same as the selected state (step S1605). Specifically, the following processing is executed.
  • the state transition information generation unit 423 refers to the scenario information 424 of the selected scenario and identifies the input message and output message of the selected state.
  • the state transition information generation unit 423 refers to the scenario integration information 425 and searches for an integrated state where the input message matches the specified input message and the output message matches the specified output message.
  • the state transition information generation unit 423 determines that there is no integrated state having the same state as the selected state.
  • the state transition information generation unit 423 determines that the distance (starting edge) 1004 of the integrated state is the same as the distance from the starting state of the selected state, or the distance of the integrated state ( It is determined whether or not (end) 1005 is the same as the distance from the selected end state.
  • the state transition information generation unit 423 determines that there is no integrated state that is the same as the selected state. When the conditions described above are satisfied, the state transition information generation unit 423 determines that an integrated state having the same state as the selected state exists.
  • the input message and output message of the integrated status are all the same. Therefore, even when there are a plurality of input messages and output messages in an integrated state, the above-described determination criteria may be applied to a combination of one input message and output message.
  • step S1606 If it is determined that an integrated state having the same state as the selected state exists, the state transition information generating unit 423 integrates the selected state into the integrated state having the same state (step S1606). Thereafter, the state transition information generation unit 423 proceeds to step S1608. In step S1606, the following processing is executed.
  • the state transition information generation unit 423 adds one row to the connection destination integrated state ID 1002 of the entry corresponding to the searched integrated state, and sets the value of the connection destination state ID 802 of the entry corresponding to the selected state to the added row. Set.
  • the state transition information generation unit 423 adds one line to the output message 1003 of the entry, and sets the value of the output message 803 of the entry corresponding to the selected state in the added line.
  • the state transition information generation unit 423 refers to each entry and searches for a row in which the value of the state ID 801 of the entry corresponding to the selected state is set in the connection destination integrated state ID 1002.
  • the state transition information generation unit 423 sets the identifier of the integrated state in which the selected state is integrated in the connection destination integrated state ID 1002 of the searched row. The above is the description of the processing in step S1606.
  • step S1607 When it is determined that there is no integrated state having the same state as the selected state, the state transition information generating unit 423 registers the selected state in the scenario integrated information 425 as a new integrated state (step S1607). Thereafter, the state transition information generation unit 423 proceeds to step S1608. In step S1607, the following processing is executed.
  • the state transition information generation unit 423 gives an integrated state identifier to the selected state.
  • the state transition information generation unit 423 adds a new entry to the scenario integration information 425, and sets the identifier assigned to the selected state in the integration state ID 1001 of the added entry.
  • the state transition information generation unit 423 sets the value of the connection destination state ID 802 of the entry corresponding to the selected state in the connection destination integrated state ID 1002 of the added entry.
  • the state transition information generation unit 423 sets the value of the output message 803 of the entry corresponding to the selected state in the output message 1003 of the added entry.
  • the state transition information generation unit 423 refers to each entry and searches for a row in which the value of the state ID 801 of the entry corresponding to the selected state is set in the connection destination integrated state ID 1002.
  • the state transition information generation unit 423 sets the identifier assigned to the selected state in the connection destination integrated state ID 1002 of the searched row. The above is the description of the processing in step S1607.
  • step S1606 or step S1607 After the processing of step S1606 or step S1607 is executed, the state transition information generation unit 423 determines whether or not processing has been completed for all states included in the selected scenario (step S1608).
  • the state transition information generation unit 423 returns to step S1604 and executes the same processing.
  • the state transition information generation unit 423 determines whether the processing has been completed for all scenarios (step S1609).
  • the state transition information generation unit 423 returns to Step S1603 and executes the same processing.
  • the state transition information generation unit 423 ends the scenario integration processing.
  • the scenario integrated information 425 shown in FIG. 10A is generated from the scenario information 424 shown in FIGS. 8A and 8B.
  • the state transition information generation unit 423 deletes the distance (start end) 1004 and the distance (end end) 1005 from the scenario integration information 425 before starting the state integration processing.
  • the state transition information generation unit 423 compares the two scenarios and integrates the two scenario information 424, but the present invention is not limited to this.
  • the state transition information generation unit 423 may integrate a plurality of scenarios by selecting a target integrated state from one scenario and searching for an integrated state having the same state as the selected integrated state.
  • FIGS. 17A and 17B are flowcharts for explaining an example of the state integration process executed by the state transition generation server 103 according to the first embodiment.
  • the state transition information generation unit 423 generates a list of integrated states based on the analysis result of the operation information of the target device 101 (step S1701). Specifically, the following processing is executed.
  • the state transition information generation unit 423 generates an empty integrated state list.
  • the state transition information generation unit 423 analyzes the contents of a plurality of messages included in the operation information, and generates a message list by sorting the messages included in the message group based on the appearance frequency. It is assumed that the message list includes a plurality of entries including message contents and appearance frequency.
  • the state transition information generation unit 423 selects one entry in order from the entry on the message list.
  • the state transition information generation unit 423 extracts the entry in the integrated state in which the output message 1003 of the scenario integration information 425 matches the content of the message of the selected entry.
  • the state transition information generation unit 423 registers an entry in which the integrated state ID 1001 of the extracted entry and the appearance frequency of the message are associated with each other in the integrated state list.
  • the state transition information generation unit 423 executes the same processing for all messages included in the message list. As a result, a list of integrated states is generated so as to correspond to the appearance frequency of messages. The above is the description of the processing in step S1701.
  • step S1702 the state transition information generation unit 423 starts an integrated state loop process. Specifically, the following processing is executed.
  • the state transition information generation unit 423 selects one integrated state from the integrated state list. At this time, the state transition information generation unit 423 refers to the integration state ID 1001 of the scenario integration information 425 and determines whether or not an entry corresponding to the selected integration state exists in the scenario integration information 425.
  • the state transition information generation unit 423 selects another integration state from the integration state list. This is because when there is no entry corresponding to the selected integration state in the scenario integration information 425, the integration state has already been integrated with another integration state.
  • the integrated state selected in step S1702 is also referred to as a selected integrated state. The above is the description of the processing in step S1702.
  • the state transition information generation unit 423 refers to the list of integrated states and determines whether or not there is an integrated state whose appearance frequency is the same as the appearance frequency of the selected integrated state (step S1703).
  • the state transition information generation unit 423 refers to the entry of the selected integrated state in the integrated state list, and searches for an integrated state entry whose appearance frequency is the same as the appearance frequency of the selected integrated state.
  • an integrated state having the same appearance frequency is also described as a specific integrated state.
  • the state transition information generation unit 423 determines whether the selected integration state is a single connection state based on the scenario integration information 425 (step S1704).
  • the single connection state is a state in which the number of integrated states connected via the input message is “1” and the number of integrated states connected via the output message is “1”. Indicates. Specifically, the following processing is executed.
  • the state transition information generation unit 423 refers to the scenario integration information 425 and determines whether or not the selected integration state is a terminal integration state.
  • the state transition information generation unit 423 determines that the selected integrated state is not a single connection state. This is because when the selected integrated state is the terminal integrated state, there is no integrated state whose time series is behind the terminal integrated state.
  • the selected integrated state is not the terminal integrated state, it is determined whether the number of identifiers set in the connection destination integrated state ID 1002 of the selected integrated state entry is one.
  • the state transition information generating unit 423 determines that the selected integrated state is not a single connection state.
  • the state transition information generation unit 423 When one identifier is set in the connection destination integration state ID 1002 of the entry of the selected integration state, the state transition information generation unit 423 has one entry in which the identifier of the selection integration state is stored in the connection destination integration state ID 1002. It is determined whether or not.
  • the state transition information generation unit 423 determines that the selected integrated state is not a single connection state.
  • the state transition information generation unit 423 determines that the selected integrated state is a single connection state. The above is the description of the process in step S1704.
  • the state transition information generation unit 423 starts a loop process of the related integration state (step S1705).
  • the related integration state indicates an integration state in which the time series is subsequent to the selected integration state, or an integration state in which the time series is in front and has a connection relationship with the selected integration state. Whether the time series is the previous integrated state or the time series is the subsequent integrated state is determined as a related integrated state based on the user's selection. Specifically, the following processing is executed.
  • the state transition information generation unit 423 refers to the scenario integration information 425 and searches for a connected state from the selected integrated state via an output message. The searched state becomes the related integrated state. The state transition information generation unit 423 generates a list of related integrated states. The state transition information generation unit 423 selects one entry from the list.
  • the list of related integration states includes a plurality of entries including identifiers of related integration states.
  • the entries in the list are sorted in the order of transition from the selected integrated state. That is, the list includes entries in order of generation, such as the order of the integration state directly connected to the selected integration state (first integration state) and the integration state directly connected to the first integration state (second integration state). Stored.
  • step S1706 determines whether or not the related integration state is a single connection state. Note that the process of step S1706 is the same as the process of step S1704.
  • the state transition information generation unit 423 integrates the related integration state into the selected integration state (step S1707). Thereafter, the state transition information generation unit 423 proceeds to step S1709. Specifically, the following processing is executed.
  • the state transition information generation unit 423 acquires the connection destination integrated state ID 1002 and the value of the output message 1003 from the related integrated state entry.
  • the state transition information generation unit 423 sets the value of the connection destination integrated state ID 1002 acquired in the connection destination integrated state ID 1002 of the entry corresponding to the selected integration state. Further, the state transition information generation unit 423 adds the value of the acquired output message 1003 to the output message 1003 of the entry corresponding to the selected integration state.
  • connection destination integrated state ID 1002 is updated to the identifier of the integrated state connected to the related integrated state, and the output message of the related integrated state is added to the output message 1003.
  • the connection destination integrated state ID 1002 is updated to the identifier of the integrated state connected to the related integrated state, and the output message of the related integrated state is added to the output message 1003.
  • the state transition information generation unit 423 determines whether or not the selected integration state has been integrated with the related integration state at least once (step S1708).
  • the state transition information generation unit 423 determines whether or not the number of messages set in the output message 1003 of the entry corresponding to the selected integration state is “2” or more. If the number of messages set in the output message 1003 is “2” or more, it indicates that the selected integration state has been integrated with the related integration state at least once.
  • the state transition information generation unit 423 exits the related integrated state loop and proceeds to step S1710.
  • step S1707 the state transition information generation unit 423 determines whether the processing has been completed for all related integration states (step S1709).
  • the state transition information generation unit 423 returns to step S1705 and executes similar processing.
  • step S1710 If it is determined that the processing has been completed for all the related integration states, the state transition information generation unit 423 proceeds to step S1710.
  • step S1710 the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S1710).
  • the state transition information generation unit 423 determines whether the number of integrated states included in the scenario integrated information 425 is smaller than a value included in the granularity information.
  • step S1712 If the number of integrated states included in the scenario integration information 425 is equal to or greater than a predetermined threshold, the state transition information generation unit 423 proceeds to step S1712.
  • the state transition information generation unit 423 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S1711). Thereafter, the state transition information generation unit 423 ends the state integration process. For example, it is conceivable to add a flag indicating the conversion target to the scenario integration information 425.
  • step S1712 the state transition information generation unit 423 determines whether or not the processing has been completed for all integrated states included in the integrated state list (step S1712).
  • the state transition information generation unit 423 returns to step S1702 and executes the same processing.
  • the state transition information generation unit 423 ends the state integration processing.
  • step S1703 When it is determined in step S1703 that the specific integration state exists, the state transition information generation unit 423 starts the loop processing of the specific integration state (step S1721). Specifically, the following processing is executed.
  • the state transition information generation unit 423 registers the selected integrated state and the searched integrated state in the specific integrated state list.
  • the list of specific integration states includes a plurality of entries including integration state identifiers.
  • the state transition information generation unit 423 selects one specific integrated state from the list of specific integrated states.
  • the state transition information generation unit 423 refers to the integration state ID 1001 of the scenario integration information 425 to determine whether an entry corresponding to the selected specific integration state exists in the scenario integration information 425.
  • the state transition information generation unit 423 selects another specific integration state from the list of specific integration states. The above is the description of the process in step S1721.
  • step S1722 determines whether the selected specific integration state is a single connection state (step S1722).
  • the process in step S1722 is the same as the process in step S1704.
  • step S1730 If it is determined that the selected specific integration state is not a single connection state, the state transition information generation unit 423 proceeds to step S1730.
  • the state transition information generation unit 423 starts a loop process of the related integration state (step S1723).
  • steps S1723 to S1727 processing is executed for the related integration state of the selected specific integration state.
  • the related integration state search method is the same as that in step S1705.
  • step S 1723 the state transition information generation unit 423 generates a copy of the scenario integration information 425, and integrates the integration state using the copied scenario integration information 425. This is because in the loop processing in the specific integration state, a plurality of scenario integration information 425 having different integration states to be integrated is output.
  • step S1724 determines whether or not the related integration state is a single connection state. Note that the process of step S1724 is the same process as step S1706.
  • the state transition information generation unit 423 integrates the related integration state into the specific integration state (step S1725). Thereafter, the state transition information generation unit 423 proceeds to step S1727.
  • step S1725 is the same process as the process of step S1707. Further, the process of step S1727 is the same process as the process of step S1709.
  • step S1726 determines whether or not the specific integration state has been integrated with the related integration state at least once.
  • the process of step S1726 is the same process as the process of step S1708.
  • step S1730 If it is determined that the specific integration state is not integrated with the related integration state, the state transition information generation unit 423 proceeds to step S1730. When it is determined that the specific integration state has been integrated with the related integration state at least once, the state transition information generation unit 423 proceeds to step S1728.
  • step S1728 the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S1728).
  • the process of step S1728 is the same process as the process of step S1710.
  • step S1729 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S1729). Thereafter, the state transition information generation unit 423 proceeds to step S1730.
  • the process of step S1729 is the same process as the process of step S1711.
  • step S1730 the state transition information generation unit 423 determines whether or not the processing has been completed for all the specific integration states included in the specific integration state list (step S1730).
  • the state transition information generation unit 423 returns to step S1721 and executes the same processing.
  • the state transition information generation unit 423 determines whether one or more scenario integration information 425 has been output (step S1731).
  • the state transition information generation unit 423 When it is determined that one or more scenario integration information 425 has not been output, the state transition information generation unit 423 performs integration for all the specific integration states (step S1732). Thereafter, the state transition information generation unit 423 proceeds to step S1710.
  • the state transition information generation unit 423 updates the scenario integration information 425 by executing the processing from step S1723 to step S1727 for each specific integration state.
  • the state transition information generation unit 423 may generate one scenario integration information 425 by merging a plurality of scenario integration information 425 that is the processing result of each specific integration state.
  • the state transition information generation unit 423 ends the state integration processing.
  • the state transition information generation unit 423 can change the granularity of the state transition information 426 by integrating the states included in the scenario integration information 425 based on the granularity information.
  • FIGS. 18A, 18B, and 18C are diagrams illustrating a process of generating the state transition information 426 according to the first embodiment.
  • scenario integration information 425 is in a state as shown in FIG. 18A.
  • the scenario integration information 425 is in a state as shown in FIG. 18B.
  • FIG. 10B corresponds to the scenario integration information 425 shown in FIG. 18B.
  • Step S1407 when the transition from the terminal integrated state to the starting integrated state is generated, the scenario integrated information 425 becomes a state as shown in FIG. 18C.
  • state transition information 426 as shown in FIG. 18C is generated.
  • 19A and 19B are diagrams for explaining display examples of the state transition information display field 1240 according to the first embodiment.
  • the display switching selection field 1230 When the display switching selection field 1230 is operated, the display method of the state transition information 426 in the state transition information display field 1240 is changed. Here, it is assumed that state transition information 426 as shown in FIG. 12 is displayed in the state transition information display field 1240 before the display switching selection field 1230 is operated.
  • the input / output unit 421 When the “colored” radio button in the display switching selection field 1230 is operated, the input / output unit 421, as shown in FIG. 19A, state transition information in which the same color is given to the integrated state where the input message is the same. 426 is displayed.
  • the difference in the representation of the node frame is represented as a difference in color.
  • the input / output unit 421 displays state transition information 426 in which the input messages are aligned in the same integrated state on the same line.
  • state transition information 426 as shown in FIG. 19B is displayed in the state transition information display field 1240.
  • the state transition generation server 103 can generate the state transition information 426 indicating the state transition of the device 101 using the message acquired from the device 101.
  • the state transition information 426 of the device 101 can be generated. Further, the state transition generation server 103 can generate state transition information 426 with various granularities regardless of whether or not there is knowledge about the device 101. Therefore, even if a manual or the like of the apparatus 101 exists, the state transition information 426 having a granularity adapted to the analysis processing desired to be executed by the analysis server 104 can be generated.
  • the state transition generation server 103 generates a plurality of state transition information 426 for one device 101 and stores the state transition information 426 selected by the user in the nonvolatile storage unit 411.
  • the state transition generation server 103 generates one state transition information 426 for one device 101, and stores the generated state transition information 426 in the nonvolatile storage unit 411.
  • the configuration of the computer system according to the second embodiment is the same as the configuration of the computer system according to the first embodiment, description thereof is omitted.
  • the configurations of the device 101, the data store server 102, the state transition generation server 103, and the analysis server 104 of the second embodiment are the same as the configurations of the respective devices of the first embodiment, and thus description thereof is omitted.
  • the processing at the time of generating the state transition information 426 is partially different from the processing in the first embodiment.
  • FIG. 20 is a sequence diagram illustrating the flow of processing for generating the processing flow in the computer system when the state transition information 426 according to the second embodiment is generated.
  • step S2001 to step S2007 is the same as the process flow from step S1101 to step S1107.
  • processing flow is as follows.
  • the input / output unit 421 receives various types of information via a program execution command from the display screen 1200 or the display screen 1300 or another application (step S2001).
  • the input / output unit 421 issues a process start request to the state transition information generation unit 423 (step S2002).
  • the state transition information generation unit 423 When the state transition information generation unit 423 receives the processing start request, the state transition information generation unit 423 issues a read request for the reference message definition information 427 to the nonvolatile storage unit 411 (step S2003).
  • the non-volatile storage unit 411 outputs the reference message definition information 427 designated by the user to the state transition information generation unit 423 when receiving the read request (step S2004).
  • the state transition information generation unit 423 temporarily stores the received reference message definition information 427 in the volatile storage unit 410.
  • the state transition information generation unit 423 transmits a message acquisition request to the data store management unit 312 of the data store server 102 via the message acquisition unit 422 (step S2005).
  • the data store management unit 312 reads the message of the target device 101 from the event log 321 and transmits operation information including the read message to the state transition generation server 103 (step S2006).
  • the state transition information generation unit 423 executes the state transition information generation process after obtaining the operation information (step S2007).
  • the state transition information generation unit 423 outputs the generated state transition information 426 to the nonvolatile storage unit 411 (step S2008).
  • the nonvolatile storage unit 411 After storing the state transition information 426, the nonvolatile storage unit 411 responds to the state transition information generation unit 423 (step S2009).
  • the state transition information generation unit 423 When the state transition information generation unit 423 receives a response from the nonvolatile storage unit 411, the state transition information generation unit 423 outputs a completion notification to the input / output unit 421 (step S2010).
  • FIG. 21 is a flowchart illustrating an example of state transition information generation processing executed by the state transition generation server 103 according to the second embodiment.
  • FIG. 21 illustrates a state transition information generation process when the reference message definition information 427 is not used.
  • the state transition information generation unit 423 determines a reference message based on the message group of the target device 101 (step S2101).
  • the state transition information generation unit 423 analyzes the content of the message and generates a list of reference messages based on the appearance frequency. The state transition information generation unit 423 selects one message having the highest appearance frequency or the lowest appearance frequency.
  • step S2102 the state transition information generation unit 423 generates scenario information 424 based on the operation information of the target device 101 and the determined reference message (step S2102).
  • the process of step S2102 is the same as the process of step S1403.
  • the state transition information generation unit 423 executes a scenario integration process for integrating the states of a plurality of scenarios (step S2103).
  • the state transition information generation unit 423 determines whether or not the states included in the state transition information 426 need to be integrated (step S2104).
  • the process in step S2104 is the same as the process in step S1405.
  • the state transition information generation unit 423 proceeds to step S2106.
  • the state transition information generation unit 423 executes a state integration process for integrating the states included in the scenario integration information 425 (step S2105).
  • the process in step S2105 is the same as the process in step S1405.
  • step S2105 When step S2105 is NO or after the state integration process is executed, the state transition information generation unit 423 generates a state transition from the terminal state to the starting state (step S2106).
  • step S2106 The process in step S2106 is the same as the process in step S1407.
  • step S2107 the state transition information generation unit 423 generates state transition information 426 based on the generated scenario integration information 425 (step S2107). Thereafter, the state transition information generation unit 423 ends the state transition information generation process.
  • the process in step S2107 is the same as the process in step S1410.
  • the reference message loop processing may also be executed.
  • the state transition information generation unit 423 generates one state transition information 426 for one reference message, and stores the generated state transition information 426 in the nonvolatile storage unit 411.
  • scenario integration process of the second embodiment is the same as the scenario integration process of the first embodiment, description thereof is omitted.
  • FIG. 22 is a flowchart illustrating an example of a state integration process executed by the state transition generation server 103 according to the second embodiment.
  • the state transition information generation unit 423 generates a list of integrated states based on the operation information of the target device 101 (step S2201).
  • the state transition information generation unit 423 starts a loop process for the integrated state (step S2202).
  • the process of step S2201 is the same as the process of step S1701. Further, the process of step S2202 is the same as the process of step S1702.
  • step S2203 determines whether or not the selected integration state is a single connection state.
  • the process in step S2203 is the same as the process in step S1704.
  • step S2211 If it is determined that the selected integration state is not a single connection state, the state transition information generation unit 423 proceeds to step S2211.
  • step S2204 When it is determined that the selected integration state is a single connection state, the state transition information generation unit 423 starts a loop process of the related integration state (step S2204).
  • the process in step S2204 is the same as the process in step S1705.
  • step S2205 determines whether or not the related integration state is a single connection state.
  • the process in step S2205 is the same as the process in step S1706.
  • step S2206 When it is determined that the related integrated state is a single connection state, the state transition information generation unit 423 integrates the related integrated state into the selected integrated state (step S2206). Thereafter, the state transition information generation unit 423 proceeds to step S2208.
  • the process in step S2206 is the same as the process in step S1707.
  • step S2207 determines whether or not the selected integration state is integrated with another integration state at least once.
  • the process in step S2207 is the same as the process in step S1708.
  • step S2211 If it is determined that the selected integration state is not integrated with the related integration state, the state transition information generation unit 423 proceeds to step S2211.
  • the state transition information generation unit 423 exits the related integrated state loop and proceeds to step S2209.
  • step S2208 determines whether or not the process has been completed for all related integration states.
  • the process in step S2208 is the same as the process in step S1709.
  • the state transition information generation unit 423 returns to step S2204 and executes the same processing.
  • step S2209 If it is determined that the processing has been completed for all related integration states, the state transition information generation unit 423 proceeds to step S2209.
  • step S2209 the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S2209).
  • the process in step S2209 is the same as the process in step S1710.
  • step S2211 If the number of integrated states included in the scenario integration information 425 is equal to or greater than a predetermined threshold, the state transition information generation unit 423 proceeds to step S2211.
  • the state transition information generation unit 423 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S2210). Thereafter, the state transition information generation unit 423 ends the state integration process.
  • the process in step S2210 is the same as the process in step S1711.
  • step S2211 the state transition information generation unit 423 determines whether or not processing has been completed for all integrated states included in the integrated state list (step S2211).
  • the process of step S2211 is the same as the process of step S1712.
  • the state transition information generation unit 423 returns to step S2202 and executes similar processing.
  • the state transition information generation unit 423 ends the state integration processing.
  • the number of state transition information 426 generated is one, but is not limited to this.
  • the state transition generation server 103 can generate the set number of state transition information 426.
  • the state transition generation server 103 can generate the state transition information 426 indicating the state transition of the device 101 using the message acquired from the device 101.
  • the state transition information 426 of the apparatus 101 is automatically generated, it is possible to reduce a user's operation burden and the like.
  • this invention is not limited to the above-mentioned Example, Various modifications are included. Further, for example, the above-described embodiments are described in detail for easy understanding of the present invention, and are not necessarily limited to those provided with all the described configurations. Further, a part of the configuration of each embodiment can be added to, deleted from, or replaced with another configuration.
  • each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit.
  • the present invention can also be realized by software program codes that implement the functions of the embodiments.
  • a storage medium in which the program code is recorded is provided to the computer, and a processor included in the computer reads the program code stored in the storage medium.
  • the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing it constitute the present invention.
  • Examples of storage media for supplying such program codes include flexible disks, CD-ROMs, DVD-ROMs, hard disks, SSDs (Solid State Drives), optical disks, magneto-optical disks, CD-Rs, magnetic tapes, A non-volatile memory card, ROM, or the like is used.
  • program code for realizing the functions described in this embodiment can be implemented by a wide range of programs or script languages such as assembler, C / C ++, Perl, Shell, PHP, Java, and the like.
  • the program code is stored in a storage means such as a hard disk or memory of a computer or a storage medium such as a CD-RW or CD-R.
  • a processor included in the computer may read and execute the program code stored in the storage unit or the storage medium.
  • control lines and information lines indicate those that are considered necessary for the explanation, and do not necessarily indicate all the control lines and information lines on the product. All the components may be connected to each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A computer for generating state transition information indicating transitions in the operating state of a device, said computer comprising a state transition information generation unit for generating the state transition information, wherein the state transition information generation unit: acquires operating information including a plurality of messages indicating the operating state of a target device; divides the operating information to generate a plurality of sets of scenario information, each representing a scenario corresponding to one state transition pattern of the target device; and integrates the plurality of sets of scenario information together, thereby generating the state transition information, which indicates all state transitions of the target device.

Description

計算機及び状態遷移情報の生成方法Computer and method for generating state transition information
 本発明は、装置の状態遷移を示す状態遷移情報を生成する計算機、及び状態遷移情報の生成方法に関する。 The present invention relates to a computer that generates state transition information indicating a state transition of a device, and a state transition information generation method.
 全てのデバイスが通信接続されるIoT(モノのインターネット)時代では、様々な装置をネットワークに接続して、分析及び管理するケースが増えている。IoTの動向として、ドイツが提唱している「Industrie 4.0」やアメリカの推進団体である「インダストリアル・インターネット・コンソーシアム(IIC)」が注目を集めている。これらによると、今後、各種装置の情報やセンサデータをネットワーク越しにリアルタイムに収集及び解析し、運用及び保守に活用されるようになると予測されている。 In the IoT (Internet of Things) era where all devices are connected for communication, there are an increasing number of cases where various devices are connected to a network for analysis and management. As the trend of IoT, “Industrie 4.0” advocated by Germany and “Industrial Internet Consortium (IIC)”, an American promotion organization, are attracting attention. According to these, it is predicted that information and sensor data of various devices will be collected and analyzed in real time via a network and used for operation and maintenance.
 装置類の情報及びセンサデータの収集及び解析に基づく管理にあたり、以下の処理を行う。まず、収集したいデータ(例えば、産業向けの装置であれば温度、圧力、振動など)を観測するセンサを取り付けた装置が、継続的にデータを送信する。次に、収集及び解析を行う処理サーバが装置から送信されたデータを受信し、変換処理等の前処理を実行した後、解析を行う。これらの一連の処理を行うことによって、例えば、センサの異常値を観測し、装置が破損する前に部品の交換といった予防保全を行うことなどが可能となる。 The following processing is performed for management based on collection and analysis of device information and sensor data. First, a device equipped with a sensor for observing data to be collected (for example, temperature, pressure, vibration, etc. for an industrial device) continuously transmits data. Next, a processing server that performs collection and analysis receives data transmitted from the apparatus, performs preprocessing such as conversion processing, and then performs analysis. By performing these series of processes, for example, it is possible to observe an abnormal value of the sensor and perform preventive maintenance such as replacement of parts before the apparatus is damaged.
 ここで、リアルタイムにセンサデータを収集及び解析し、運用及び保守に利用する場合、対象となる装置が現在どのような状態であるかを外部から特定できる必要がある。例えば、対象となる装置が、停止中であるか否か、稼働中にどのような処理を実行しているか等を特定する必要がある。これを解決するためには、装置の状態遷移が必要となる。装置の状態遷移を示す状態遷移情報を生成する技術として、例えば、特許文献1に示すような方法が知られている。 Here, when sensor data is collected and analyzed in real time and used for operation and maintenance, it is necessary to be able to identify the state of the target device from the outside. For example, it is necessary to specify whether the target device is stopped or not, what kind of processing is being performed during operation, and the like. In order to solve this, a state transition of the apparatus is necessary. As a technique for generating state transition information indicating a state transition of a device, for example, a method as disclosed in Patent Document 1 is known.
 特許文献1には、「メッセージシーケンス図記憶部A1は、変換の対象となる全てのメッセージシーケンス図を記憶し、プロセス指定手段A2は、メッセージシーケンス図上の変換の対象となるプロセスを指定する。状態遷移情報変換手段A3は、メッセージシーケンス図記憶部A1に格納されたメッセージシーケンス図からプロセス指定手段A2で指定されたプロセスの全てのメッセージシーケンス図上のイベント列を抽出して状態遷移情報に変換し、状態遷移図記憶部A4に記憶する。状態遷移情報縮小手段A5は、状態遷移図記憶部A4に格納されている状態遷移情報中の重複している遷移情報を削除して状態遷移情報を縮小する。」ことが記載されている。 Patent Document 1 states that “the message sequence diagram storage unit A1 stores all message sequence diagrams to be converted, and the process designating unit A2 designates a process to be converted on the message sequence diagram. The state transition information conversion unit A3 extracts event sequences on all message sequence diagrams of the process specified by the process specification unit A2 from the message sequence diagram stored in the message sequence diagram storage unit A1, and converts them into state transition information. The state transition information reduction unit A5 deletes the duplicate transition information in the state transition information stored in the state transition diagram storage unit A4, and stores the state transition information in the state transition diagram storage unit A4. It will be reduced. "
特開平11-134180号公報JP-A-11-134180
 状態遷移情報を生成する場合、装置の状態を定義し、かつ、装置の状態間の遷移を特定する必要がある。装置の状態を定義するためには、予め、装置の仕様又は設計を記した情報が必要となる。 When generating state transition information, it is necessary to define the state of the device and specify the transition between the states of the device. In order to define the state of the device, information describing the specification or design of the device is required in advance.
 しかし、前述したような情報は必ずしも存在しない場合がある。例えば、外部から購入した製品は、仕様書又は設計書が公開されていない場合がある。 However, there are cases where information as described above does not necessarily exist. For example, for a product purchased from the outside, a specification or design document may not be released.
 特許文献1に記載されているような従来技術では、予め、装置の仕様書又は設計書が用意されている必要がある。したがって、前述した情報が存在しない場合、従来技術では、装置の状態遷移情報を生成することができない。 In the prior art as described in Patent Document 1, it is necessary to prepare a specification or design document of the apparatus in advance. Therefore, when the above-described information does not exist, the state transition information of the device cannot be generated by the conventional technique.
 本発明は、装置の仕様書又は設計書等が存在しないため装置の状態を定義できない場合であっても、効率的に装置の状態遷移情報を生成する計算機及び方法を提供することを目的とする。 It is an object of the present invention to provide a computer and a method for efficiently generating state transition information of a device even when the device state cannot be defined because there is no device specification or design document. .
 本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、装置の稼働状態の遷移を示す状態遷移情報を生成する計算機であって、前記計算機は、プロセッサ、前記プロセッサに接続されるメモリ、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを備え、前記状態遷移情報を生成する状態遷移情報生成部を有し、前記状態遷移情報生成部は、対象の装置の稼働状態を示す複数のメッセージを含む稼働情報を取得し、前記対象の装置の一つの状態遷移のパターンに対応するシナリオ毎に前記稼働情報を分割することによって複数のシナリオ情報を生成し、前記複数のシナリオ情報を統合することによって、前記対象の装置の全ての状態遷移を示す前記状態遷移情報を生成することを特徴とする。 A typical example of the invention disclosed in the present application is as follows. That is, a computer that generates state transition information indicating a transition of an operating state of a device, the computer being a processor, a memory connected to the processor, and an interface connected to the processor and connected to an external device A state transition information generation unit configured to generate the state transition information, wherein the state transition information generation unit acquires operation information including a plurality of messages indicating an operation state of the target device, and the target device A plurality of scenario information is generated by dividing the operation information for each scenario corresponding to a single state transition pattern, and all the state transitions of the target device are obtained by integrating the plurality of scenario information. The state transition information shown is generated.
 本発明によれば、装置の仕様書又は設計書等が存在しない場合であっても、効率的に装置の状態遷移情報を生成できる。前述した以外の課題、構成及び効果は、以下の実施例の説明によって明らかにされる。 According to the present invention, it is possible to efficiently generate device state transition information even when there is no device specification or design document. Problems, configurations, and effects other than those described above will become apparent from the following description of embodiments.
実施例1の計算機システムの構成の一例を説明するブロック図である。It is a block diagram explaining an example of a structure of the computer system of Example 1. FIG. 実施例1の装置の構成の一例を説明するブロック図である。1 is a block diagram illustrating an example of a configuration of a device according to a first embodiment. 実施例1のデータストアサーバの構成の一例を説明するブロック図である。FIG. 3 is a block diagram illustrating an example of a configuration of a data store server according to the first embodiment. 実施例1の状態遷移生成サーバの構成の一例を説明するブロック図である。It is a block diagram explaining an example of a structure of the state transition production | generation server of Example 1. FIG. 実施例1の解析サーバの構成の一例を説明するブロック図である。It is a block diagram explaining an example of a structure of the analysis server of Example 1. FIG. 実施例1のイベントログの一例を説明する図である。6 is a diagram illustrating an example of an event log according to the first embodiment. 実施例1の基準メッセージ定義情報の一例を説明する図である。It is a figure explaining an example of the reference | standard message definition information of Example 1. FIG. 実施例1のシナリオ情報の一例を説明する図である。It is a figure explaining an example of the scenario information of Example 1. FIG. 実施例1のシナリオ情報の一例を説明する図である。It is a figure explaining an example of the scenario information of Example 1. FIG. 実施例1のシナリオの概念を示すグラフである。3 is a graph showing a concept of a scenario of Example 1. 実施例1のシナリオの概念を示すグラフである。3 is a graph showing a concept of a scenario of Example 1. 実施例1のシナリオ統合情報の一例を説明する図である。It is a figure explaining an example of the scenario integration information of Example 1. FIG. 実施例1のシナリオ統合情報の一例を説明する図である。It is a figure explaining an example of the scenario integration information of Example 1. FIG. 実施例1の状態遷移情報を生成する場合の計算機システムの処理の流れを説明するシーケンス図である。It is a sequence diagram explaining the flow of a process of the computer system in the case of producing | generating the state transition information of Example 1. FIG. 実施例1の状態遷移情報を生成する場合に操作されるGUIの一例を説明する図である。FIG. 6 is a diagram illustrating an example of a GUI operated when generating state transition information according to the first embodiment. 実施例1の状態遷移情報を生成する場合に操作されるCUIの一例を説明する図である。FIG. 6 is a diagram illustrating an example of a CUI operated when generating state transition information according to the first embodiment. 実施例1の状態遷移生成サーバが実行する状態遷移情報生成処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the state transition information generation process which the state transition generation server of Example 1 performs. 実施例1の状態遷移情報の一例を説明する図である。It is a figure explaining an example of the state transition information of Example 1. FIG. 実施例1の状態遷移生成サーバが実行するシナリオ統合処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the scenario integration process which the state transition production | generation server of Example 1 performs. 実施例1の状態遷移生成サーバが実行する状態統合処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the state integration process which the state transition production | generation server of Example 1 performs. 実施例1の状態遷移生成サーバが実行する状態統合処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the state integration process which the state transition production | generation server of Example 1 performs. 実施例1の状態遷移情報の生成過程を説明する図である。It is a figure explaining the production | generation process of the state transition information of Example 1. FIG. 実施例1の状態遷移情報の生成過程を説明する図である。It is a figure explaining the production | generation process of the state transition information of Example 1. FIG. 実施例1の状態遷移情報の生成過程を説明する図である。It is a figure explaining the production | generation process of the state transition information of Example 1. FIG. 実施例1の状態遷移情報表示欄の表示例を説明する図である。It is a figure explaining the example of a display of the state transition information display column of Example 1. FIG. 実施例1の状態遷移情報表示欄の表示例を説明する図である。It is a figure explaining the example of a display of the state transition information display column of Example 1. FIG. 実施例2の状態遷移情報の生成時の計算機システム内の処理の流れを生成処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of a production | generation processing flow in the computer system at the time of the production | generation of the state transition information of Example 2. FIG. 実施例2の状態遷移生成サーバが実行する状態遷移情報生成処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the state transition information generation process which the state transition generation server of Example 2 performs. 実施例2の状態遷移生成サーバが実行する状態統合処理の一例を説明するフローチャートである。It is a flowchart explaining an example of the state integration process which the state transition production | generation server of Example 2 performs.
 以下、本発明の実施例について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
 図1は、実施例1の計算機システムの構成の一例を説明するブロック図である。 FIG. 1 is a block diagram illustrating an example of the configuration of a computer system according to the first embodiment.
 実施例1の計算機システムは、複数の装置101、データストアサーバ102、状態遷移生成サーバ103、及び解析サーバ104から構成される。複数の装置101、データストアサーバ102、状態遷移生成サーバ103、及び解析サーバ104は、ネットワーク105を介して互いに接続される。 The computer system according to the first embodiment includes a plurality of devices 101, a data store server 102, a state transition generation server 103, and an analysis server 104. The plurality of devices 101, the data store server 102, the state transition generation server 103, and the analysis server 104 are connected to each other via a network 105.
 ネットワーク105は、LAN(Local Area Network)、及びWAN(Wide Area Network)等が考えられる。なお、本発明はネットワーク105の種別に限定されない。また、本発明は、各装置とネットワーク105との間の接続形式に限定されず、無線又は有線でもよい。 The network 105 may be a LAN (Local Area Network), a WAN (Wide Area Network), or the like. Note that the present invention is not limited to the type of the network 105. Further, the present invention is not limited to the connection form between each device and the network 105, and may be wireless or wired.
 装置101は、状態遷移情報426(図4参照)の生成対象の装置である。なお、本発明は、装置101の種別に限定されない。例えば、ある工場内の機器、及びセンサ等が装置101に対応する。 The device 101 is a device for which the state transition information 426 (see FIG. 4) is to be generated. Note that the present invention is not limited to the type of the apparatus 101. For example, equipment in a certain factory, sensors, and the like correspond to the apparatus 101.
 データストアサーバ102は、データストアを管理する。本実施例では、データストアには、イベントログ321(図3参照)が格納される。イベントログ321は、複数の装置101の稼働状態を示すメッセージを複数含む。なお、図1では、データストアサーバ102の数は一つであるが、複数存在してもよい。この場合、複数のデータストアサーバ102の記憶領域を統合することによってデータストアが構成される。 The data store server 102 manages the data store. In this embodiment, the event log 321 (see FIG. 3) is stored in the data store. The event log 321 includes a plurality of messages indicating operating states of the plurality of apparatuses 101. In FIG. 1, the number of data store servers 102 is one, but a plurality of data store servers 102 may exist. In this case, a data store is configured by integrating storage areas of a plurality of data store servers 102.
 状態遷移生成サーバ103は、イベントログ321又は装置101から取得した複数のメッセージを用いて、装置101の状態遷移情報426(図4参照)を生成する。 The state transition generation server 103 generates state transition information 426 (see FIG. 4) of the apparatus 101 using a plurality of messages acquired from the event log 321 or the apparatus 101.
 解析サーバ104は、状態遷移生成サーバ103によって生成された状態遷移情報426を用いて解析処理を実行する。なお、本発明は、解析処理の処理内容に限定されない。 The analysis server 104 executes an analysis process using the state transition information 426 generated by the state transition generation server 103. Note that the present invention is not limited to the processing content of the analysis processing.
 図2は、実施例1の装置101の構成の一例を説明するブロック図である。 FIG. 2 is a block diagram illustrating an example of the configuration of the apparatus 101 according to the first embodiment.
 装置101は、プロセッサ201、揮発性メモリ202、不揮発性メモリ203、ネットワークI/F204、及び入出力I/F205を備え、各構成はバス等の内部通信線を介して互いに接続される。 The apparatus 101 includes a processor 201, a volatile memory 202, a nonvolatile memory 203, a network I / F 204, and an input / output I / F 205, and the respective components are connected to each other via an internal communication line such as a bus.
 プロセッサ201は、揮発性メモリ202に格納されるに格納されるプログラムを実行する。プロセッサ201が揮発性メモリ202に格納されるプログラムを実行することによって、装置101の機能が実現される。以下の説明では、プログラムを主体に処理を記載する場合、プロセッサ201によって当該プログラムが実行されていることを示す。 The processor 201 executes a program stored in the volatile memory 202. The function of the apparatus 101 is realized by the processor 201 executing a program stored in the volatile memory 202. In the following description, when a process is described mainly with a program, it indicates that the processor 201 is executing the program.
 揮発性メモリ202は、プロセッサ201によって実行されるプログラムを格納し、また、当該プログラムの実行に必要なデータを一時的に格納する記憶領域を含む。不揮発性メモリ203は、永続的にデータを格納する記憶領域を含む。揮発性メモリ202及び不揮発性メモリ203に格納されるプログラム及び記憶領域については後述する。 The volatile memory 202 stores a program executed by the processor 201, and includes a storage area for temporarily storing data necessary for executing the program. The nonvolatile memory 203 includes a storage area for permanently storing data. The programs and storage areas stored in the volatile memory 202 and the nonvolatile memory 203 will be described later.
 ネットワークI/F204は、ネットワーク105を介して他の装置と接続するためのインタフェースである。入出力I/F205は、入出力装置と接続するためのインタフェースである。入出力装置は、例えば、ディスプレイ、タッチパネル、キーボード、及びマウス等を含む。 The network I / F 204 is an interface for connecting to other devices via the network 105. The input / output I / F 205 is an interface for connecting to an input / output device. The input / output device includes, for example, a display, a touch panel, a keyboard, and a mouse.
 ここで、揮発性メモリ202及び不揮発性メモリ203に格納されるプログラム及び記憶領域について説明する。 Here, programs and storage areas stored in the volatile memory 202 and the nonvolatile memory 203 will be described.
 揮発性メモリ202は、制御部212及び揮発性記憶部210を実現するプログラムを格納する。 The volatile memory 202 stores a program for realizing the control unit 212 and the volatile storage unit 210.
 制御部212は、複数のプログラムモジュールから構成され、装置の各種制御を行う。具体的には、制御部212は、装置制御部221及びメッセージ出力部222を含む。 The control unit 212 is composed of a plurality of program modules and performs various controls of the apparatus. Specifically, the control unit 212 includes a device control unit 221 and a message output unit 222.
 装置制御部221は、装置101全体の制御を行う。なお、本発明は装置制御部221が行う制御内容に限定されない。メッセージ出力部222は、装置101の稼働状態を示すメッセージの出力を制御する。なお、装置制御部221にメッセージ出力部222の機能を含めてもよい。 The device control unit 221 controls the entire device 101. Note that the present invention is not limited to the control content performed by the device control unit 221. The message output unit 222 controls output of a message indicating the operating state of the apparatus 101. Note that the function of the message output unit 222 may be included in the device control unit 221.
 メッセージ出力部222は、メッセージが発生するたびにデータストアサーバ102にメッセージを出力してもよいし、所定の数のメッセージが蓄積された場合にデータストアサーバ102に複数のメッセージを出力してもよい。このとき、メッセージ出力部222がデータ中継アプリケーションを介して、直接データストアサーバ102にメッセージを出力してもよい。 The message output unit 222 may output a message to the data store server 102 each time a message is generated, or may output a plurality of messages to the data store server 102 when a predetermined number of messages are accumulated. Good. At this time, the message output unit 222 may directly output a message to the data store server 102 via the data relay application.
 また、メッセージ出力部222は、メッセージの出力要求を受け付けるAPIを提供してもよい。例えば、メッセージ出力部222は、APIを介して状態遷移生成サーバ103からメッセージの出力要求を受け付けた場合、所定の数のメッセージを状態遷移生成サーバ103に出力する。また、メッセージ出力部222に対してAPIを介してメッセージを取得し、取得したメッセージをデータストアサーバ102へ格納するアプリケーションを用いて、状態遷移生成サーバ103がデータストアサーバ102を介してAPIの出力メッセージを取得してもよい。 Further, the message output unit 222 may provide an API for receiving a message output request. For example, when a message output request is received from the state transition generation server 103 via the API, the message output unit 222 outputs a predetermined number of messages to the state transition generation server 103. Further, the state transition generation server 103 outputs an API via the data store server 102 using an application that acquires the message via the API to the message output unit 222 and stores the acquired message in the data store server 102. A message may be obtained.
 揮発性記憶部210は、揮発性メモリ202に対するデータの読出処理及び書込処理を制御する。本実施例では、揮発性記憶部210は、装置制御部221が管理するデータ及びメッセージ出力部222が出力するメッセージを管理する。 The volatile storage unit 210 controls data reading processing and writing processing for the volatile memory 202. In the present embodiment, the volatile storage unit 210 manages data managed by the device control unit 221 and messages output by the message output unit 222.
 不揮発性メモリ203は、不揮発性記憶部211を実現するプログラムを格納する。 The nonvolatile memory 203 stores a program for realizing the nonvolatile storage unit 211.
 不揮発性記憶部211は、不揮発性メモリ203に対するデータの読出処理及び書込処理を制御する。不揮発性メモリ203には、例えば、重要なメッセージが格納される。 The nonvolatile storage unit 211 controls data read processing and write processing with respect to the nonvolatile memory 203. For example, an important message is stored in the nonvolatile memory 203.
 なお、装置101は、不揮発性メモリ203を備えていなくてもよい。また、装置101は、入出力I/F205を備えていなくてもよい。 Note that the device 101 may not include the nonvolatile memory 203. Further, the apparatus 101 may not include the input / output I / F 205.
 図3は、実施例1のデータストアサーバ102の構成の一例を説明するブロック図である。 FIG. 3 is a block diagram illustrating an example of the configuration of the data store server 102 according to the first embodiment.
 データストアサーバ102は、プロセッサ301、揮発性メモリ302、不揮発性メモリ303、ネットワークI/F304、及び入出力I/F305を備え、各構成はバス等の内部通信線を介して互いに接続される。 The data store server 102 includes a processor 301, a volatile memory 302, a nonvolatile memory 303, a network I / F 304, and an input / output I / F 305, and the respective components are connected to each other via an internal communication line such as a bus.
 本実施例のプロセッサ301、揮発性メモリ302、不揮発性メモリ303、ネットワークI/F304、及び入出力I/F305は、プロセッサ201、揮発性メモリ202、不揮発性メモリ203、ネットワークI/F204、及び入出力I/F205と同一のものである。 The processor 301, the volatile memory 302, the nonvolatile memory 303, the network I / F 304, and the input / output I / F 305 of this embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 305. This is the same as the output I / F 205.
 揮発性メモリ302は、揮発性記憶部310及びデータストア管理部312を実現するプログラムを格納する。 The volatile memory 302 stores a program for realizing the volatile storage unit 310 and the data store management unit 312.
 データストア管理部312は、揮発性メモリ302の記憶領域を用いて構成されるデータストアを管理する。 The data store management unit 312 manages a data store configured using the storage area of the volatile memory 302.
 揮発性記憶部310は、データストア管理部312と連携して、揮発性メモリ302に対するデータの読出処理及び書込処理を制御する。本実施例では、揮発性記憶部310は、イベントログ321、及び複数の解析データ322を管理する。イベントログ321は、複数の装置101の複数のメッセージを含む。解析データ322は、解析サーバ104によって実行された解析処理の結果を含む。例えば、解析データ322には、一つの装置101に対する解析処理の結果が含まれる。 The volatile storage unit 310 controls data reading processing and writing processing for the volatile memory 302 in cooperation with the data store management unit 312. In this embodiment, the volatile storage unit 310 manages the event log 321 and a plurality of analysis data 322. The event log 321 includes a plurality of messages from a plurality of devices 101. The analysis data 322 includes the result of the analysis process executed by the analysis server 104. For example, the analysis data 322 includes the results of analysis processing for one device 101.
 不揮発性メモリ303は、不揮発性記憶部311を実現するプログラムを格納する。不揮発性記憶部311は、不揮発性記憶部211と同一のものである。 The nonvolatile memory 303 stores a program for realizing the nonvolatile storage unit 311. The nonvolatile storage unit 311 is the same as the nonvolatile storage unit 211.
 なお、データストアは、不揮発性メモリ303の記憶領域を用いて構成されてもよい。この場合、データストア管理部312は、不揮発性記憶部311と連携して、不揮発性メモリ303に対するデータの読出処理及び書込処理を制御する。 Note that the data store may be configured using a storage area of the nonvolatile memory 303. In this case, the data store management unit 312 controls data reading processing and writing processing with respect to the nonvolatile memory 303 in cooperation with the nonvolatile storage unit 311.
 図4は、実施例1の状態遷移生成サーバ103の構成の一例を説明するブロック図である。 FIG. 4 is a block diagram illustrating an example of the configuration of the state transition generation server 103 according to the first embodiment.
 状態遷移生成サーバ103は、プロセッサ401、揮発性メモリ402、不揮発性メモリ403、ネットワークI/F404、及び入出力I/F405を備え、各構成はバス等の内部通信線を介して互いに接続される。 The state transition generation server 103 includes a processor 401, a volatile memory 402, a nonvolatile memory 403, a network I / F 404, and an input / output I / F 405, and the respective components are connected to each other via an internal communication line such as a bus. .
 本実施例のプロセッサ401、揮発性メモリ402、不揮発性メモリ403、ネットワークI/F404、及び入出力I/F405は、プロセッサ201、揮発性メモリ202、不揮発性メモリ203、ネットワークI/F204、及び入出力I/F205と同一のものである。 The processor 401, the volatile memory 402, the nonvolatile memory 403, the network I / F 404, and the input / output I / F 405 of the present embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 405. This is the same as the output I / F 205.
 揮発性メモリ402は、揮発性記憶部410、及び状態遷移生成アプリケーション412を実現するプログラムを格納する。 The volatile memory 402 stores a program for realizing the volatile storage unit 410 and the state transition generation application 412.
 状態遷移生成アプリケーション412は、複数のプログラムモジュールから構成され、複数の装置101の各々の状態遷移情報を生成する。具体的には、状態遷移生成アプリケーション412は、入出力部421、メッセージ取得部422、及び状態遷移情報生成部423を含む。 The state transition generation application 412 includes a plurality of program modules, and generates state transition information for each of the plurality of apparatuses 101. Specifically, the state transition generation application 412 includes an input / output unit 421, a message acquisition unit 422, and a state transition information generation unit 423.
 入出力部421は、状態遷移情報の生成時の各種データの入力、及び状態遷移情報の出力等を制御する。入出力部421は、状態遷移情報426を用いてGUI等を表示するための表示情報を生成する。メッセージ取得部422は、対象の装置101の稼働状態を示すメッセージを含む稼働情報を取得する。なお、メッセージ取得部422は、データストアサーバ102が管理するイベントログ321から稼働情報を取得してもよいし、また、装置101が提供するAPIを介して稼働情報を取得してもよい。 The input / output unit 421 controls input of various data when generating state transition information, output of state transition information, and the like. The input / output unit 421 uses the state transition information 426 to generate display information for displaying a GUI or the like. The message acquisition unit 422 acquires operation information including a message indicating the operation state of the target apparatus 101. The message acquisition unit 422 may acquire operation information from the event log 321 managed by the data store server 102, or may acquire operation information via an API provided by the device 101.
 状態遷移情報生成部423は、メッセージ取得部422によって取得された稼働情報を用いて、装置101の状態遷移を示す状態遷移情報426を生成する。 The state transition information generation unit 423 generates state transition information 426 indicating the state transition of the apparatus 101 using the operation information acquired by the message acquisition unit 422.
 揮発性記憶部410は、揮発性メモリ402に対するデータの読出処理及び書込処理を制御する。本実施例では、揮発性記憶部410は、シナリオ情報424、及びシナリオ統合情報425を管理する。 The volatile storage unit 410 controls data read processing and write processing with respect to the volatile memory 402. In this embodiment, the volatile storage unit 410 manages scenario information 424 and scenario integration information 425.
 シナリオ情報424は、シナリオを管理する情報である。シナリオ統合情報425は、複数のシナリオ情報424を統合することによって生成される情報である。本実施例では、一つの装置101の全てのシナリオを統合することによって、一つの装置101の状態遷移情報426が生成される。 Scenario information 424 is information for managing a scenario. The scenario integration information 425 is information generated by integrating a plurality of scenario information 424. In this embodiment, the state transition information 426 of one device 101 is generated by integrating all scenarios of one device 101.
 不揮発性記憶部411は、不揮発性メモリ403に対するデータの読出処理及び書込処理を制御する。不揮発性記憶部411は、状態遷移情報426及び基準メッセージ定義情報427を管理する。 The non-volatile storage unit 411 controls a data reading process and a writing process with respect to the non-volatile memory 403. The nonvolatile storage unit 411 manages the state transition information 426 and the reference message definition information 427.
 状態遷移情報426は、状態遷移情報生成部423によって生成された情報である。一つの状態遷移情報426が一つの装置101の状態遷移を示す情報である。本実施例では、一つの装置101に対して、基準メッセージ、又は状態の統合状況が異なる状態遷移情報426が複数生成される場合がある。なお、状態遷移情報426は、揮発性記憶部410に格納されてもよい。 The state transition information 426 is information generated by the state transition information generation unit 423. One state transition information 426 is information indicating the state transition of one device 101. In this embodiment, a plurality of state transition information 426 having different reference messages or different state integration states may be generated for one apparatus 101. Note that the state transition information 426 may be stored in the volatile storage unit 410.
 基準メッセージ定義情報427は、複数のメッセージを含む稼働情報から複数のシナリオを生成する場合に用いられる基準メッセージの情報を格納する。ここで、シナリオは、一つの装置101の一つの状態遷移のパターンを示す。 The reference message definition information 427 stores reference message information used when generating a plurality of scenarios from operation information including a plurality of messages. Here, the scenario indicates one state transition pattern of one device 101.
 装置101の状態遷移は、複数のパターンが存在する。したがって、状態遷移情報426の生成時に、複数のメッセージをそのまま解析した場合、処理が非常に複雑になる。そこで、本実施例では、状態遷移情報生成部423は、複数のメッセージを含む稼働情報を複数のシナリオに分割し、各シナリオを比較することによって統合する。これによって、一つの装置101の全ての状態遷移を網羅した状態遷移情報426が生成される。 The state transition of the device 101 has a plurality of patterns. Therefore, when a plurality of messages are analyzed as they are when the state transition information 426 is generated, the processing becomes very complicated. Therefore, in this embodiment, the state transition information generation unit 423 divides operation information including a plurality of messages into a plurality of scenarios, and integrates the scenarios by comparing them. As a result, state transition information 426 covering all state transitions of one device 101 is generated.
 以下の説明では、「データを揮発性記憶部410への格納」と記載した場合、揮発性記憶部410にデータの格納要求が出力され、揮発性記憶部410が揮発性メモリ402の記憶領域にデータを格納することを示す。また、「データを不揮発性記憶部411への格納」と記載した場合、不揮発性記憶部411にデータの格納要求が出力され、不揮発性記憶部411が不揮発性メモリ403の記憶領域にデータを格納することを示す。 In the following description, when “store data in the volatile storage unit 410” is described, a data storage request is output to the volatile storage unit 410, and the volatile storage unit 410 is stored in the storage area of the volatile memory 402. Indicates that data is to be stored. In addition, when “store data in the nonvolatile storage unit 411” is described, a data storage request is output to the nonvolatile storage unit 411, and the nonvolatile storage unit 411 stores the data in the storage area of the nonvolatile memory 403. Indicates to do.
 図5は、実施例1の解析サーバ104の構成の一例を説明するブロック図である。 FIG. 5 is a block diagram illustrating an example of the configuration of the analysis server 104 according to the first embodiment.
 解析サーバ104は、プロセッサ501、揮発性メモリ502、不揮発性メモリ503、ネットワークI/F504、及び入出力I/F505を備え、各構成はバス等の内部通信線を介して互いに接続される。 The analysis server 104 includes a processor 501, a volatile memory 502, a nonvolatile memory 503, a network I / F 504, and an input / output I / F 505, and each component is connected to each other via an internal communication line such as a bus.
 本実施例のプロセッサ501、揮発性メモリ502、不揮発性メモリ503、ネットワークI/F504、及び入出力I/F505は、プロセッサ201、揮発性メモリ202、不揮発性メモリ203、ネットワークI/F204、及び入出力I/F205と同一のものである。 The processor 501, the volatile memory 502, the nonvolatile memory 503, the network I / F 504, and the input / output I / F 505 of this embodiment are the processor 201, the volatile memory 202, the nonvolatile memory 203, the network I / F 204, and the input / output I / F 505. This is the same as the output I / F 205.
 揮発性メモリ502は、揮発性記憶部510、メッセージ受信アプリケーション512、及び解析アプリケーション513を実現するプログラムを格納する。 The volatile memory 502 stores programs for realizing the volatile storage unit 510, the message reception application 512, and the analysis application 513.
 メッセージ受信アプリケーション512は、メッセージを受信するための機能を提供するアプリケーションであり、メッセージ受信部521を含む。 The message receiving application 512 is an application that provides a function for receiving a message, and includes a message receiving unit 521.
 メッセージ受信部521は、装置101又はデータストアサーバ102からメッセージを受信する。例えば、メッセージ受信部521は、装置101が提供するAPIを介して、リアルタイムなメッセージを装置101から受信する。 The message receiving unit 521 receives a message from the device 101 or the data store server 102. For example, the message receiving unit 521 receives a real-time message from the device 101 via an API provided by the device 101.
 解析アプリケーション513は、各種解析を行うための機能を提供するアプリケーションであり、入出力部522、状態遷移解析部523、及び表示情報生成部524を含む。 The analysis application 513 is an application that provides a function for performing various types of analysis, and includes an input / output unit 522, a state transition analysis unit 523, and a display information generation unit 524.
 入出力部522は、解析処理の実行時の各種データの入力、及び解析処理の結果の出力等を制御する。状態遷移解析部523は、メッセージ及び状態遷移情報525を用いた解析処理を実行する。なお、本発明は、解析処理の内容に限定されない。表示情報生成部524は、解析処理の結果等を表示するための表示情報を生成する。 The input / output unit 522 controls input of various data during execution of analysis processing, output of results of analysis processing, and the like. The state transition analysis unit 523 executes an analysis process using the message and the state transition information 525. Note that the present invention is not limited to the contents of the analysis process. The display information generation unit 524 generates display information for displaying the result of the analysis processing and the like.
 揮発性記憶部510は、揮発性メモリ502に対するデータの読出処理及び書込処理を制御する。本実施例では、揮発性記憶部510は、受信したメッセージ、及び表示情報等を管理する。 The volatile storage unit 510 controls data reading processing and writing processing for the volatile memory 502. In this embodiment, the volatile storage unit 510 manages received messages, display information, and the like.
 不揮発性記憶部511は、不揮発性メモリ503に対するデータの読出処理及び書込処理を制御する。不揮発性記憶部511は、状態遷移情報525を管理する。状態遷移情報525は、状態遷移生成サーバ103によって生成された状態遷移情報426と同一のものである。 The non-volatile storage unit 511 controls data reading processing and writing processing for the non-volatile memory 503. The nonvolatile storage unit 511 manages the state transition information 525. The state transition information 525 is the same as the state transition information 426 generated by the state transition generation server 103.
 本実施例では、状態遷移生成サーバ103が生成された状態遷移情報426を解析サーバ104に出力し、解析サーバ104が受信した状態遷移情報426を状態遷移情報525として管理する。なお、状態遷移生成サーバ103は、生成された状態遷移情報426をデータストアサーバ102に送信してもよい。この場合、解析サーバ104は、データストアサーバ102から状態遷移情報426を取得し、不揮発性記憶部511に状態遷移情報525として管理する。 In this embodiment, the state transition generation server 103 outputs the state transition information 426 generated to the analysis server 104, and the state transition information 426 received by the analysis server 104 is managed as the state transition information 525. The state transition generation server 103 may transmit the generated state transition information 426 to the data store server 102. In this case, the analysis server 104 acquires the state transition information 426 from the data store server 102 and manages it as state transition information 525 in the nonvolatile storage unit 511.
 図6は、実施例1のイベントログ321の一例を説明する図である。 FIG. 6 is a diagram illustrating an example of the event log 321 according to the first embodiment.
 イベントログ321は、日付、装置101の識別子、及び装置101の状態を示すメッセージの内容から構成されるメッセージを複数含む。 The event log 321 includes a plurality of messages including a date, an identifier of the device 101, and a message content indicating the state of the device 101.
 図6に示す一番上のメッセージは、日時が「2015」年「12月14日」の「13:15」であり、かつ、装置101の識別子が「X0123931」であり、メッセージの内容が「power on」であることを示す。 The top message shown in FIG. 6 is “13:15” with the date and time “December 14, 2015”, the identifier of the device 101 is “X0123931”, and the message content is “ Indicates “power on”.
 データストア管理部312は、メッセージを受信した場合、図6に示すような形式のデータを追加することによってイベントログ321を更新する。 When the data store management unit 312 receives the message, the data store management unit 312 updates the event log 321 by adding data in the format shown in FIG.
 図7は、実施例1の基準メッセージ定義情報427の一例を説明する図である。 FIG. 7 is a diagram illustrating an example of the reference message definition information 427 according to the first embodiment.
 基準メッセージ定義情報427は、計算機システムの管理者又は装置101を使用するユーザ等によって予め設定された情報であり、装置ID701及び基準メッセージ702から構成されるエントリを複数含む。 The reference message definition information 427 is information set in advance by a computer system administrator or a user who uses the apparatus 101, and includes a plurality of entries including a device ID 701 and a reference message 702.
 装置ID701は、装置101の識別子である。基準メッセージ702は、シナリオの生成時に用いられるメッセージの内容である。 The device ID 701 is an identifier of the device 101. The reference message 702 is the content of a message used when generating a scenario.
 図8A及び図8Bは、実施例1のシナリオ情報424の一例を説明する図である。図9A及び図9Bは、実施例1のシナリオの概念を示すグラフである。 8A and 8B are diagrams illustrating an example of the scenario information 424 according to the first embodiment. 9A and 9B are graphs showing the concept of the scenario of the first embodiment.
 シナリオ情報424には、装置101の識別子及びシナリオの識別子が付与される。図8Aは、装置101の識別子が「装置1」であり、かつ、シナリオの識別子が「シナリオ1」であるシナリオ情報424を示す。また、図8Bは、装置101の識別子が「装置1」であり、かつ、シナリオの識別子が「シナリオ2」であるシナリオ情報424を示す。 The scenario information 424 is given the identifier of the apparatus 101 and the scenario identifier. FIG. 8A shows scenario information 424 in which the identifier of the device 101 is “device 1” and the scenario identifier is “scenario 1”. FIG. 8B shows scenario information 424 in which the identifier of the device 101 is “device 1” and the scenario identifier is “scenario 2”.
 シナリオ情報424は、状態ID801、接続先状態ID802、及び出力メッセージ803から構成されるエントリを複数含む。一つのエントリが、一つの状態(ノード)に対応する。 Scenario information 424 includes a plurality of entries including a status ID 801, a connection destination status ID 802, and an output message 803. One entry corresponds to one state (node).
 状態ID801は、状態を示すノードの識別子である。接続先状態ID802は、状態ID801に対応するノードより時系列が一つ後のノードの識別子である。シナリオの終端に対応するノードの場合、当該ノードの後のノードは存在しないため、接続先状態ID802は、空欄となる。出力メッセージ803は、状態ID801に対応する状態から接続先状態ID802に対応する状態に遷移する場合に出力されるメッセージの内容である。 Status ID 801 is an identifier of a node indicating a status. The connection destination state ID 802 is an identifier of a node whose time series is one after the node corresponding to the state ID 801. In the case of the node corresponding to the end of the scenario, there is no node after the node, so the connection destination state ID 802 is blank. The output message 803 is the content of a message that is output when the state corresponding to the state ID 801 transits to the state corresponding to the connection destination state ID 802.
 図8Aに示すシナリオ情報424は、図9Aに示すようなシナリオに対応する。図8Bに示すシナリオ情報424は、図9Bに示すようなシナリオに対応する。図9A及び図9Bに示すように、各ノードが状態として定義され、各状態を接続するエッジにはメッセージが対応付けられている。 The scenario information 424 shown in FIG. 8A corresponds to the scenario shown in FIG. 9A. The scenario information 424 shown in FIG. 8B corresponds to the scenario shown in FIG. 9B. As shown in FIGS. 9A and 9B, each node is defined as a state, and a message is associated with an edge connecting each state.
 図10A及び図10Bは、実施例1のシナリオ統合情報425の一例を説明する図である。図10Aは、シナリオ統合処理の実行時に使用されるシナリオ統合情報425を示す。図10Bは、状態統合処理の実行時に使用されるシナリオ統合情報425を示す。 10A and 10B are diagrams illustrating an example of the scenario integration information 425 according to the first embodiment. FIG. 10A shows scenario integration information 425 used when executing the scenario integration processing. FIG. 10B shows scenario integration information 425 used when executing the state integration processing.
 シナリオ統合情報425には、装置101の識別子が付与される。図10Aに示すシナリオ統合情報425は、統合状態ID1001、接続先統合状態ID1002、出力メッセージ1003、距離(始端)1004、及び距離(終端)1005から構成されるエントリを複数含む。一つのエントリが、一つの状態(ノード)に対応する。 The identifier of the apparatus 101 is given to the scenario integration information 425. The scenario integrated information 425 illustrated in FIG. 10A includes a plurality of entries including an integrated state ID 1001, a connection destination integrated state ID 1002, an output message 1003, a distance (starting end) 1004, and a distance (ending) 1005. One entry corresponds to one state (node).
 統合状態ID1001、接続先統合状態ID1002、及び出力メッセージ1003は、状態ID801、接続先状態ID802、及び出力メッセージ803と同様のものである。ただし、統合状態ID1001、及び接続先統合状態ID1002には、シナリオが統合された後の状態の識別子が格納される。以下の説明では、シナリオが統合された後の状態を統合状態とも記載する。 The integration state ID 1001, the connection destination integration state ID 1002, and the output message 1003 are the same as the state ID 801, the connection destination state ID 802, and the output message 803. However, the integrated state ID 1001 and the connection destination integrated state ID 1002 store the identifiers of the states after the scenarios are integrated. In the following description, the state after the scenario is integrated is also referred to as an integrated state.
 距離(始端)1004は、統合前のシナリオに含まれる状態の始端の状態からの距離(ホップ数)である。距離(終端)1005は、統合前のシナリオに含まれる状態の終端の状態からの距離(ホップ数)である。距離(始端)1004及び距離(終端)1005は、シナリオを統合するときに用いられる。 Distance (starting point) 1004 is a distance (hop count) from the starting state of the state included in the scenario before integration. The distance (termination) 1005 is the distance (number of hops) from the termination state of the state included in the scenario before integration. The distance (starting edge) 1004 and the distance (ending edge) 1005 are used when integrating scenarios.
 例えば、図9Aの状態「S1_St1」は、始点状態であるため、始端の状態からの距離は「0」、終端の状態からの距離は「6」となる。また、図9Aの状態「S1_St4」は、始端の状態からの距離は「3」、終端の状態からの距離は「3」となる。 For example, since the state “S1_St1” in FIG. 9A is the start point state, the distance from the start end state is “0”, and the distance from the end state is “6”. In the state “S1_St4” in FIG. 9A, the distance from the start end state is “3”, and the distance from the end end state is “3”.
 図10Bに示すシナリオ統合情報425は、統合状態ID1001、接続先統合状態ID1002、及び出力メッセージ1003から構成されるエントリを複数含む。一つのエントリが、一つの状態(ノード)に対応する。 The scenario integration information 425 illustrated in FIG. 10B includes a plurality of entries including an integration state ID 1001, a connection destination integration state ID 1002, and an output message 1003. One entry corresponds to one state (node).
 複数のノードが統合された場合、一つのエントリの接続先統合状態ID1002には、統合される各ノードに接続されるノードの数だけ行が生成される。また、当該エントリの出力メッセージ1003にも当該ノードに接続されるノードの数だけ行が生成される。 When a plurality of nodes are integrated, as many rows as the number of nodes connected to each node to be integrated are generated in the connection destination integration state ID 1002 of one entry. Also, as many lines as the number of nodes connected to the node are generated in the output message 1003 of the entry.
 例えば、統合状態ID1001が「St2」のエントリは、異なるシナリオに含まれる二つのノードが統合された統合ノードであることを示す。 For example, an entry whose integrated state ID 1001 is “St2” indicates that two nodes included in different scenarios are integrated nodes.
 一方、状態統合処理において複数の統合状態が一つの統合状態に統合された場合、出力メッセージ1003の行は一つであり、一つの行に複数のメッセージが格納される。 On the other hand, when a plurality of integration states are integrated into one integration state in the state integration process, the output message 1003 has one line, and a plurality of messages are stored in one line.
 例えば、統合状態ID1001が「St3」のエントリは、複数の統合ノードが統合された統合ノードであることを示す。 For example, an entry whose integration state ID 1001 is “St3” indicates that the integration node is an integration node obtained by integrating a plurality of integration nodes.
 図11は、実施例1の状態遷移情報426を生成する場合の計算機システムの処理の流れを説明するシーケンス図である。図12は、実施例1の状態遷移情報426を生成する場合に操作されるGUI(Graphical User Interface)の一例を説明する図である。図13は、実施例1の状態遷移情報426を生成する場合に操作されるCUI(Character User Interface)の一例を説明する図である。 FIG. 11 is a sequence diagram for explaining the processing flow of the computer system when the state transition information 426 of the first embodiment is generated. FIG. 12 is a diagram illustrating an example of a GUI (Graphical User Interface) operated when generating the state transition information 426 according to the first embodiment. FIG. 13 is a diagram illustrating an example of a CUI (Character User Interface) operated when generating the state transition information 426 according to the first embodiment.
 図11では、データストアサーバ102に格納されるイベントログ321を用いて状態遷移情報426が生成される場合を例に説明する。 FIG. 11 illustrates an example in which the state transition information 426 is generated using the event log 321 stored in the data store server 102.
 まず、状態遷移生成サーバ103の入出力部421は、図12に示すような表示画面1200又は図13に示すような表示画面1300を表示する。ここで、表示画面1200、1300のそれぞれについて説明する。 First, the input / output unit 421 of the state transition generation server 103 displays a display screen 1200 as shown in FIG. 12 or a display screen 1300 as shown in FIG. Here, each of the display screens 1200 and 1300 will be described.
 表示画面1200は、GUIの一例を示し、設定情報入力欄1210、STARTボタン1220、表示切替選択欄1230、及び状態遷移情報表示欄1240を含む。 The display screen 1200 shows an example of a GUI, and includes a setting information input field 1210, a START button 1220, a display switching selection field 1230, and a state transition information display field 1240.
 設定情報入力欄1210は、状態遷移情報426の生成に使用する各種パラメータを入力する欄である。設定情報入力欄1210は、定義情報入力欄1211、参照ボタン1212、対象装置ID入力欄1213、状態数入力欄1214、及び期間入力欄1215を含む。 The setting information input column 1210 is a column for inputting various parameters used for generating the state transition information 426. The setting information input field 1210 includes a definition information input field 1211, a reference button 1212, a target device ID input field 1213, a state number input field 1214, and a period input field 1215.
 定義情報入力欄1211は、参照する基準メッセージ定義情報427を指定する入力欄である。定義情報入力欄1211には、基準メッセージ定義情報427が格納されるパス名、又はファイル名等が入力される。 The definition information input field 1211 is an input field for designating reference message definition information 427 to be referred to. In the definition information input field 1211, a path name or a file name in which the reference message definition information 427 is stored is input.
 参照ボタン1212は、定義情報入力欄1211に設定された基準メッセージ定義情報427の参照を決定するためのボタンである。参照ボタン1212が操作された場合、状態遷移生成サーバ103は、基準メッセージ定義情報427を用いて状態遷移情報生成処理を実行する。 The reference button 1212 is a button for determining reference to the reference message definition information 427 set in the definition information input field 1211. When the reference button 1212 is operated, the state transition generation server 103 executes state transition information generation processing using the reference message definition information 427.
 対象装置ID入力欄1213は、状態遷移情報426を生成する装置101の識別子を入力する欄である。図12に示す例では、対象装置ID入力欄1213は、プルダウン形式の入力欄として表示される。 The target device ID input column 1213 is a column for inputting the identifier of the device 101 that generates the state transition information 426. In the example shown in FIG. 12, the target device ID input field 1213 is displayed as a pull-down input field.
 状態数入力欄1214は、状態遷移情報426に含まれる状態数の最大値を設定するための入力欄である。期間入力欄1215は、メッセージを取得する期間を指定するための入力欄である。状態遷移情報生成部423は、状態数入力欄1214等に入力された状態の最大値を粒度情報として保持し、また、期間入力欄1215等に入力された期間を期間情報として保持する。 The state number input column 1214 is an input column for setting the maximum number of states included in the state transition information 426. The period input field 1215 is an input field for designating a period for acquiring a message. The state transition information generation unit 423 holds the maximum value of the state input in the state number input field 1214 and the like as granularity information, and also holds the period input in the period input field 1215 and the like as period information.
 STARTボタン1220は、設定情報入力欄1210に設定された値に基づいて、状態遷移情報426の生成を指示するための操作ボタンである。本実施例では、ユーザは、少なくとも対象装置ID入力欄1213に値を設定し、STARTボタン1220を操作する。定義情報入力欄1211、状態数入力欄1214、及び期間入力欄1215には、必ずしも値が入力されなくてもよい。 The START button 1220 is an operation button for instructing generation of the state transition information 426 based on the value set in the setting information input field 1210. In this embodiment, the user sets a value in at least the target device ID input field 1213 and operates the START button 1220. In the definition information input field 1211, the state number input field 1214, and the period input field 1215, values are not necessarily input.
 状態遷移情報表示欄1240は、状態遷移生成サーバ103によって生成された状態遷移情報426を表示する欄である。複数の状態遷移情報426が存在する場合、図12に示すようにタブ形式で複数の状態遷移情報426が表示される。なお、状態遷移情報表示欄1240には、状態遷移情報426の生成時に使用された各種パラメータを合わせて表示してもよい。図12の状態遷移情報表示欄1240には、グラフ形式で状態遷移情報426が表示される。また、図12の状態遷移情報表示欄1240には、基準メッセージが表示される。 The state transition information display column 1240 is a column for displaying the state transition information 426 generated by the state transition generation server 103. When a plurality of state transition information 426 exists, the plurality of state transition information 426 is displayed in a tab format as shown in FIG. In the state transition information display field 1240, various parameters used when the state transition information 426 is generated may be displayed together. In the state transition information display field 1240 of FIG. 12, the state transition information 426 is displayed in a graph format. A reference message is displayed in the state transition information display field 1240 in FIG.
 表示切替選択欄1230は、状態遷移情報表示欄1240に表示された状態遷移情報426の表示形式を変更するための選択欄である。図12の表示切替選択欄1230には、グラフ形式の状態遷移情報426における状態の色彩及び状態の整列方法を切り替えるためのラジオボタンが含まれる。 The display switching selection column 1230 is a selection column for changing the display format of the state transition information 426 displayed in the state transition information display column 1240. The display switching selection field 1230 in FIG. 12 includes radio buttons for switching the state color and the state alignment method in the state transition information 426 in the graph format.
 OKボタン1250は、複数の状態遷移情報426の中から不揮発性記憶部411に格納する状態遷移情報426を決定するための操作ボタンである。ユーザは、所定のタブを操作し、OKボタン1250を操作することによって、当該タブに対応する状態遷移情報426が不揮発性記憶部411に格納される。 The OK button 1250 is an operation button for determining the state transition information 426 stored in the nonvolatile storage unit 411 from among the plurality of state transition information 426. When the user operates a predetermined tab and operates an OK button 1250, state transition information 426 corresponding to the tab is stored in the nonvolatile storage unit 411.
 表示画面1300は、CUIの一例を示す。 The display screen 1300 shows an example of a CUI.
 ライン1301は、状態遷移情報426の生成を指示するコマンドに対応する。当該コマンドには、状態遷移情報426の生成時に使用される各種パラメータが含まれる。図13では、日時、基準メッセージ定義情報427、装置101の識別子、及び粒度情報が含まれる。 The line 1301 corresponds to a command instructing generation of the state transition information 426. The command includes various parameters used when the state transition information 426 is generated. In FIG. 13, the date and time, the reference message definition information 427, the identifier of the apparatus 101, and the granularity information are included.
 ライン1302は、生成された状態遷移情報426を示す。図13では、三つの状態遷移情報426が表示される。 Line 1302 shows the generated state transition information 426. In FIG. 13, three pieces of state transition information 426 are displayed.
 ライン1303は、不揮発性記憶部411に格納する状態遷移情報426を選択するコマンドに対応する。図13では、「pattern03」の状態遷移情報426が選択されていることを示す。 The line 1303 corresponds to a command for selecting the state transition information 426 stored in the nonvolatile storage unit 411. FIG. 13 shows that the state transition information 426 of “pattern03” is selected.
 入出力部421は、表示画面1200又は表示画面1300を介して各種情報を受け付ける(ステップS1101)。入出力部421は、処理の開始指示を受け付けた場合、状態遷移情報生成部423に処理開始要求を発行する(ステップS1102)。例えば、入出力部421は、STARTボタン1220が操作された場合、状態遷移情報生成部423に処理開始要求を発行する。 The input / output unit 421 receives various types of information via the display screen 1200 or the display screen 1300 (step S1101). When receiving the process start instruction, the input / output unit 421 issues a process start request to the state transition information generation unit 423 (step S1102). For example, the input / output unit 421 issues a process start request to the state transition information generation unit 423 when the START button 1220 is operated.
 状態遷移情報生成部423は、処理開始要求を受け付けた場合、基準メッセージ定義情報427の読出要求を不揮発性記憶部411に発行する(ステップS1103)。 When the state transition information generation unit 423 receives the processing start request, the state transition information generation unit 423 issues a read request for the reference message definition information 427 to the nonvolatile storage unit 411 (step S1103).
 不揮発性記憶部411は、当該読出要求を受け付けた場合、ユーザに指定された基準メッセージ定義情報427を状態遷移情報生成部423に出力する(ステップS1104)。状態遷移情報生成部423は、受信した基準メッセージ定義情報427を揮発性記憶部410に一時的に格納する。 The non-volatile storage unit 411 outputs the reference message definition information 427 designated by the user to the state transition information generation unit 423 when receiving the read request (step S1104). The state transition information generation unit 423 temporarily stores the received reference message definition information 427 in the volatile storage unit 410.
 なお、ユーザが基準メッセージ定義情報427を指定していない場合、ステップS1103及びステップS1104の処理は省略される。 Note that if the user does not specify the reference message definition information 427, the processing in step S1103 and step S1104 is omitted.
 状態遷移情報生成部423は、メッセージ取得部422を介してデータストアサーバ102のデータストア管理部312にメッセージの取得要求を送信する(ステップS1105)。当該メッセージの取得要求には、少なくとも対象となる装置101の識別子が含まれる。なお、ユーザが表示画面1200の期間入力欄1215に取得するメッセージの期間を指定した場合、メッセージの取得要求には、当該期間の情報も含まれる。 The state transition information generation unit 423 transmits a message acquisition request to the data store management unit 312 of the data store server 102 via the message acquisition unit 422 (step S1105). The message acquisition request includes at least the identifier of the target device 101. When the user specifies a period of a message to be acquired in the period input field 1215 of the display screen 1200, the message acquisition request includes information on the period.
 データストア管理部312は、イベントログ321から対象の装置101のメッセージを読み出し、読み出されたメッセージを含む稼働情報を状態遷移生成サーバ103に送信する(ステップS1106)。状態遷移情報生成部423は、メッセージ取得部422を介して、データストアサーバ102から送信された稼働情報を取得する。状態遷移情報生成部423は、取得された稼働情報を揮発性記憶部410に一時的に格納する。 The data store management unit 312 reads the message of the target device 101 from the event log 321 and transmits operation information including the read message to the state transition generation server 103 (step S1106). The state transition information generation unit 423 acquires the operation information transmitted from the data store server 102 via the message acquisition unit 422. The state transition information generation unit 423 temporarily stores the acquired operation information in the volatile storage unit 410.
 状態遷移情報生成部423は、複数のメッセージを含む稼働情報が取得された後、状態遷移情報生成処理を実行する(ステップS1107)。状態遷移情報生成処理の詳細は、図14を用いて説明する。状態遷移情報生成処理の結果、一つ以上の状態遷移情報426が生成される。この時点では、生成された状態遷移情報426は、揮発性記憶部410に一時的に格納されるものとする。 The state transition information generation unit 423 executes state transition information generation processing after the operation information including a plurality of messages is acquired (step S1107). Details of the state transition information generation processing will be described with reference to FIG. As a result of the state transition information generation process, one or more state transition information 426 is generated. At this time, the generated state transition information 426 is temporarily stored in the volatile storage unit 410.
 状態遷移情報生成部423は、入出力部421に生成された一つ以上の状態遷移情報426を出力する(ステップS1108)。入出力部421は、状態遷移情報表示欄1240に生成された状態遷移情報426を表示する。ユーザは、表示画面1200又は表示画面1300に表示された状態遷移情報426を参照し、不揮発性記憶部411に格納する状態遷移情報426を選択する。 The state transition information generation unit 423 outputs one or more state transition information 426 generated in the input / output unit 421 (step S1108). The input / output unit 421 displays the generated state transition information 426 in the state transition information display field 1240. The user refers to the state transition information 426 displayed on the display screen 1200 or the display screen 1300, and selects the state transition information 426 to be stored in the nonvolatile storage unit 411.
 入出力部421は、ユーザによって状態遷移情報426が選択された場合(ステップS1109)、選択された状態遷移情報426の格納要求を状態遷移情報生成部423に発行する(ステップS1110)。 When the state transition information 426 is selected by the user (step S1109), the input / output unit 421 issues a storage request for the selected state transition information 426 to the state transition information generation unit 423 (step S1110).
 状態遷移情報生成部423は、格納要求を受け付けた場合、選択された状態遷移情報426を不揮発性記憶部411に出力する(ステップS1111)。 When the state transition information generation unit 423 receives a storage request, the state transition information generation unit 423 outputs the selected state transition information 426 to the nonvolatile storage unit 411 (step S1111).
 不揮発性記憶部411は、状態遷移情報426を格納した後、状態遷移情報生成部423に応答する(ステップS1112)。 The nonvolatile storage unit 411 stores the state transition information 426 and then responds to the state transition information generation unit 423 (step S1112).
 図14は、実施例1の状態遷移生成サーバ103が実行する状態遷移情報生成処理の一例を説明するフローチャートである。図15は、実施例1の状態遷移情報426の一例を説明する図である。 FIG. 14 is a flowchart illustrating an example of state transition information generation processing executed by the state transition generation server 103 according to the first embodiment. FIG. 15 is a diagram illustrating an example of the state transition information 426 according to the first embodiment.
 図14では、基準メッセージ定義情報427が用いられない場合の状態遷移情報生成処理について説明する。 FIG. 14 describes a state transition information generation process when the reference message definition information 427 is not used.
 状態遷移情報生成部423は、対象の装置101の稼働情報に基づいて基準メッセージのリストを生成する(ステップS1401)。 The state transition information generation unit 423 generates a list of reference messages based on the operation information of the target device 101 (step S1401).
 具体的には、状態遷移情報生成部423は、稼働情報に含まれる複数のメッセージの内容を解析し、出現頻度に基づいて基準メッセージのリストを生成する。例えば、状態遷移情報生成部423は、所定に閾値以上の出現するメッセージを抽出し、頻度の高い順に抽出されたメッセージをソートすることによって基準メッセージのリストを生成する。なお、状態遷移情報生成部423は、頻度が低いメッセージを基準メッセージとして抽出してもよい。 Specifically, the state transition information generation unit 423 analyzes the contents of a plurality of messages included in the operation information, and generates a list of reference messages based on the appearance frequency. For example, the state transition information generation unit 423 generates a list of reference messages by extracting messages that appear above a predetermined threshold and sorting the extracted messages in order of frequency. Note that the state transition information generation unit 423 may extract a low-frequency message as a reference message.
 次に、状態遷移情報生成部423は、基準メッセージのループ処理を開始する(ステップS1402)。 Next, the state transition information generation unit 423 starts a loop process for the reference message (step S1402).
 具体的には、状態遷移情報生成部423は、基準メッセージのリストの中から一つの基準メッセージを選択する。例えば、状態遷移情報生成部423は、頻度の高い順に基準メッセージを選択する。なお、状態遷移情報生成部423は、頻度が低い順に基準メッセージを選択してもよい。 Specifically, the state transition information generation unit 423 selects one reference message from the list of reference messages. For example, the state transition information generation unit 423 selects the reference messages in descending order of frequency. Note that the state transition information generation unit 423 may select the reference messages in ascending order of frequency.
 次に、状態遷移情報生成部423は、対象の装置101の稼働情報及び選択された基準メッセージに基づいて、シナリオ情報424を生成する(ステップS1403)。具体的には、以下のような処理が実行される。 Next, the state transition information generation unit 423 generates scenario information 424 based on the operation information of the target device 101 and the selected reference message (step S1403). Specifically, the following processing is executed.
 状態遷移情報生成部423は、稼働情報に含まれる複数のメッセージを時系列順にソートし、基準メッセージに基づいて、稼働情報を複数のメッセージ群に分割する。本実施例では、基準メッセージをシナリオに含まれる最後のメッセージとして扱う。すなわち、状態遷移情報生成部423は、あるメッセージから基準メッセージまで間に含まれる複数のメッセージを一つのメッセージ群として分割する。分割された一つのメッセージ群が一つのシナリオに対応する。状態遷移情報生成部423は、分割されたメッセージ群の各々に識別子(シナリオの識別子)を付与する。 The state transition information generation unit 423 sorts the plurality of messages included in the operation information in chronological order, and divides the operation information into a plurality of message groups based on the reference message. In this embodiment, the reference message is handled as the last message included in the scenario. That is, the state transition information generation unit 423 divides a plurality of messages included between a certain message and a reference message as one message group. One divided message group corresponds to one scenario. The state transition information generation unit 423 assigns an identifier (scenario identifier) to each of the divided message groups.
 なお、基準メッセージに基づく稼働情報の分割方法は前述した方法に限定されない。例えば、基準メッセージをシナリオに含まれる最初のメッセージとして扱ってもよい。この場合、状態遷移情報生成部423は、基準メッセージから次に出現する基準メッセージの一つ前のメッセージまでの間に含まれる複数のメッセージを一つのシナリオとして分割する。 Note that the operation information dividing method based on the reference message is not limited to the method described above. For example, the reference message may be treated as the first message included in the scenario. In this case, the state transition information generation unit 423 divides a plurality of messages included between the reference message and the message immediately before the next reference message as one scenario.
 状態遷移情報生成部423は、一つのシナリオを選択する。状態遷移情報生成部423は、空のシナリオ情報424を生成し、当該シナリオ情報424に対象の装置101の識別子及びシナリオの識別子を付与する。 The state transition information generation unit 423 selects one scenario. The state transition information generation unit 423 generates empty scenario information 424 and assigns the identifier of the target device 101 and the scenario identifier to the scenario information 424.
 状態遷移情報生成部423は、一つのシナリオに含まれるメッセージの数を算出する。状態遷移情報生成部423は、メッセージの数だけノードを生成し、当該ノードを一つの状態として定義する。すなわち、状態遷移情報生成部423は、シナリオ情報424にメッセージの数だけエントリを生成し、各エントリの状態ID801に識別子を設定する。 The state transition information generation unit 423 calculates the number of messages included in one scenario. The state transition information generation unit 423 generates nodes as many as the number of messages, and defines the nodes as one state. That is, the state transition information generation unit 423 generates entries for the number of messages in the scenario information 424, and sets an identifier in the state ID 801 of each entry.
 状態遷移情報生成部423は、ノード間を接続するエッジを生成する。例えば、状態遷移情報生成部423は、識別子が「St1」のノードと識別子が「St2」のノードとの間にエッジを生成する。状態遷移情報生成部423は、エッジの情報をシナリオ情報424に登録する。すなわち、状態遷移情報生成部423は、各ノードに対応するエントリの接続先状態ID802に、接続先のノードの識別子を設定する。これによって、エッジ及びエッジの向きが設定される。 The state transition information generation unit 423 generates an edge connecting nodes. For example, the state transition information generation unit 423 generates an edge between the node having the identifier “St1” and the node having the identifier “St2”. The state transition information generation unit 423 registers edge information in the scenario information 424. That is, the state transition information generation unit 423 sets the identifier of the connection destination node in the connection destination state ID 802 of the entry corresponding to each node. Thereby, the edge and the direction of the edge are set.
 なお、終端のノードについては、接続されるノードが存在しないため、当該ノードに対応するエントリの接続先状態ID802は、空欄となる。 Note that since there is no node to be connected to the terminal node, the connection destination state ID 802 of the entry corresponding to the node is blank.
 状態遷移情報生成部423は、エッジに一つのメッセージを対応付ける。すなわち、状態遷移情報生成部423は、一つのエントリの出力メッセージ803に一つのメッセージの内容を設定する。各エッジには、エッジの順番と、メッセージの時系列とが対応するように出力メッセージ803にメッセージの内容が設定される。 The state transition information generation unit 423 associates one message with the edge. That is, the state transition information generation unit 423 sets the content of one message in the output message 803 of one entry. For each edge, the contents of the message are set in the output message 803 so that the order of the edges corresponds to the time series of the messages.
 例えば、一番目のノードと二番目のノードとを接続するエッジには、時系列が一番目のメッセージの内容が対応付けられる。以下の説明では、あるノード(状態)に入力されるメッセージを入力メッセージと記載し、あるノード(状態)から出力されるメッセージを出力メッセージと記載する。 For example, the edge connecting the first node and the second node is associated with the content of the first message in time series. In the following description, a message input to a certain node (state) is described as an input message, and a message output from a certain node (state) is described as an output message.
 以上の処理によって、状態遷移情報生成部423は、全てのエントリに値を設定する。なお、終端のノードに対応するエントリの接続先状態ID802は、空欄のままである。 Through the above processing, the state transition information generation unit 423 sets values for all entries. Note that the connection destination state ID 802 of the entry corresponding to the terminal node remains blank.
 状態遷移情報生成部423は、前述の処理を全てのシナリオに対して実行する。これによって、全てのシナリオのシナリオ情報424が生成される。以上がステップS1403の処理の説明である。 The state transition information generation unit 423 executes the above-described processing for all scenarios. As a result, scenario information 424 for all scenarios is generated. The above is the description of the process in step S1403.
 次に、状態遷移情報生成部423は、複数のシナリオの状態を統合するためのシナリオ統合処理を実行する(ステップS1404)。シナリオ統合処理によって、複数のシナリオ情報424からシナリオ統合情報425が生成される。シナリオ統合処理の詳細は図16を用いて説明する。 Next, the state transition information generation unit 423 executes a scenario integration process for integrating the states of a plurality of scenarios (step S1404). Scenario integration information 425 is generated from a plurality of scenario information 424 by scenario integration processing. Details of the scenario integration processing will be described with reference to FIG.
 次に、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態を統合する必要があるか否かを判定する(ステップS1405)。具体的には、以下のような処理が実行される。 Next, the state transition information generation unit 423 determines whether or not the integrated state included in the scenario integration information 425 needs to be integrated (step S1405). Specifically, the following processing is executed.
 状態遷移情報生成部423は、状態数を指定する情報が入力されているか否かを判定する。例えば、状態遷移情報生成部423は、粒度情報を保持しているか否かを判定する。 The state transition information generation unit 423 determines whether information specifying the number of states is input. For example, the state transition information generation unit 423 determines whether or not the granularity information is held.
 粒度情報を保持していないと判定された場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態を統合する必要がないと判定する。 When it is determined that the granularity information is not held, the state transition information generation unit 423 determines that it is not necessary to integrate the integrated state included in the scenario integration information 425.
 粒度情報を保持していると判定された場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態の数が粒度情報に含まれる値より小さいか否かを判定する。 When it is determined that the granularity information is held, the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than the value included in the granularity information.
 シナリオ統合情報425に含まれる統合状態の数が粒度情報に含まれる値より小さい場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態を統合する必要がないと判定する。 When the number of integration states included in the scenario integration information 425 is smaller than the value included in the granularity information, the state transition information generation unit 423 determines that it is not necessary to integrate the integration states included in the scenario integration information 425.
 シナリオ統合情報425に含まれる統合状態の数が粒度情報に含まれる値以上である場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態を統合する必要があると判定する。以上がステップS1405の処理の説明である。 If the number of integration states included in the scenario integration information 425 is equal to or greater than the value included in the granularity information, the state transition information generation unit 423 determines that the integration states included in the scenario integration information 425 need to be integrated. The above is the description of the processing in step S1405.
 シナリオ統合情報425に含まれる統合状態を統合する必要がないと判定された場合、状態遷移情報生成部423は、ステップS1407に進む。 If it is determined that it is not necessary to integrate the integration state included in the scenario integration information 425, the state transition information generation unit 423 proceeds to step S1407.
 シナリオ統合情報425に含まれる統合状態を統合する必要があると判定された場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態を統合するための状態統合処理を実行する(ステップS1406)。状態統合処理によって、状態遷移情報426の粒度を調整することが可能となる。状態統合処理の詳細は図17を用いて説明する。 When it is determined that the integration state included in the scenario integration information 425 needs to be integrated, the state transition information generation unit 423 executes state integration processing for integrating the integration state included in the scenario integration information 425 ( Step S1406). With the state integration process, the granularity of the state transition information 426 can be adjusted. Details of the state integration processing will be described with reference to FIG.
 ステップS1405がNOの場合、又は、状態統合処理が実行された後、状態遷移情報生成部423は、終端の状態から始端の状態への状態遷移を生成する(ステップS1407)。 If step S1405 is NO or after the state integration process is executed, the state transition information generation unit 423 generates a state transition from the terminal state to the starting state (step S1407).
 具体的には、状態遷移情報生成部423は、シナリオ統合情報425の終端の統合状態に対応するエントリの接続先統合状態ID1002に始端の統合状態の識別子を設定する。 Specifically, the state transition information generation unit 423 sets the identifier of the integrated state at the start end in the connection destination integrated state ID 1002 of the entry corresponding to the integrated state at the end of the scenario integrated information 425.
 ステップS1407の処理は、例えば、終端の統合状態から始端の統合状態に遷移する時間、装置101の挙動等の解析処理に対応した状態遷移情報426を生成するための処理である。したがって、ステップS1407の処理は必ずしも実行される必要はない。この場合、ユーザの選択に基づいてステップS1407の処理の有無を指定できるようにしてもよい。 The process in step S1407 is a process for generating state transition information 426 corresponding to an analysis process such as the time for transition from the terminal integrated state to the starting integrated state, the behavior of the apparatus 101, and the like. Therefore, the process of step S1407 is not necessarily executed. In this case, the presence or absence of the process in step S1407 may be designated based on the user's selection.
 次に、状態遷移情報生成部423は、生成されたシナリオ統合情報425の数が所定の閾値以上であるか否かを判定する(ステップS1408)。本実施例では、生成するシナリオ統合情報425の数は、予め、状態遷移生成サーバ103に設定されているものとする。なお、閾値は、ユーザが適宜更新してもよい。 Next, the state transition information generation unit 423 determines whether or not the number of generated scenario integration information 425 is equal to or greater than a predetermined threshold (step S1408). In this embodiment, it is assumed that the number of scenario integration information 425 to be generated is set in the state transition generation server 103 in advance. The threshold value may be updated as appropriate by the user.
 生成されたシナリオ統合情報425の数が所定の閾値以上であると判定された場合、状態遷移情報生成部423は、ループから抜け、状態遷移情報生成処理を終了する。 When it is determined that the number of generated scenario integration information 425 is equal to or greater than a predetermined threshold, the state transition information generation unit 423 exits the loop and ends the state transition information generation process.
 生成されたシナリオ統合情報425の数が所定の閾値より小さいと判定された場合、状態遷移情報生成部423は、全ての基準メッセージについて処理が完了したか否かを判定する(ステップS1409)。 When it is determined that the number of generated scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 determines whether or not processing has been completed for all reference messages (step S1409).
 全ての基準メッセージについて処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1402に戻り、同様の処理を実行する。 If it is determined that the processing has not been completed for all the reference messages, the state transition information generation unit 423 returns to step S1402 and executes the same processing.
 全ての基準メッセージについて処理が完了したと判定された場合、又はステップS1408がYESの場合、状態遷移情報生成部423は、シナリオ統合情報425に基づいて状態遷移情報426を生成する(ステップS1410)。その後、状態遷移情報生成部423は、状態遷移情報生成処理を終了する。 If it is determined that the processing has been completed for all the reference messages, or if step S1408 is YES, the state transition information generation unit 423 generates state transition information 426 based on the scenario integration information 425 (step S1410). Thereafter, the state transition information generation unit 423 ends the state transition information generation process.
 具体的には、状態遷移情報生成部423は、シナリオ統合情報425を所定のデータ形式に変換することによって、状態遷移情報426を生成する。例えば、状態遷移情報生成部423は、図15に示すようなJSON(JavaScript Object Notation)形式の状態遷移情報426を生成する。 Specifically, the state transition information generation unit 423 generates the state transition information 426 by converting the scenario integration information 425 into a predetermined data format. For example, the state transition information generation unit 423 generates state transition information 426 in a JSON (Java Script Object Notification) format as shown in FIG.
 なお、状態遷移情報生成部423は、シナリオ統合情報425をそのまま状態遷移情報426として生成してもよい。 Note that the state transition information generation unit 423 may generate the scenario integration information 425 as the state transition information 426 as it is.
 図14では、基準メッセージ定義情報427を用いない場合の状態遷移情報生成処理を説明した。ここで、基準メッセージ定義情報427を用いた場合の状態遷移情報生成処理について説明する。基準メッセージ定義情報427を用いる場合、一意に基準メッセージは定まるため、ステップS1401の処理、ステップS1408の処理、及び基準メッセージのループ処理は実行されない。その他の処理は同一である。 FIG. 14 illustrates the state transition information generation processing when the reference message definition information 427 is not used. Here, the state transition information generation processing when the reference message definition information 427 is used will be described. When the reference message definition information 427 is used, since the reference message is uniquely determined, the processing in step S1401, the processing in step S1408, and the reference message loop processing are not executed. Other processing is the same.
 図16は、実施例1の状態遷移生成サーバ103が実行するシナリオ統合処理の一例を説明するフローチャートである。 FIG. 16 is a flowchart illustrating an example of a scenario integration process executed by the state transition generation server 103 according to the first embodiment.
 状態遷移情報生成部423は、複数のシナリオの中から一つのシナリオを選択する(ステップS1601)。さらに、状態遷移情報生成部423は、選択されたシナリオのシナリオ情報424に基づいてシナリオ統合情報425を生成する(ステップS1602)。 The state transition information generation unit 423 selects one scenario from a plurality of scenarios (step S1601). Furthermore, the state transition information generation unit 423 generates scenario integration information 425 based on the scenario information 424 of the selected scenario (step S1602).
 具体的には、状態遷移情報生成部423は、空のシナリオ統合情報425に、選択されたシナリオのシナリオ情報424の内容をコピーする。このとき、状態遷移情報生成部423は、各状態に統合状態の識別子を付与し、統合状態ID1001、及び接続先統合状態ID1002に、統合状態の識別子を設定する。また、状態遷移情報生成部423は、それぞれの状態について、始端の状態からの距離及び終端の状態からの距離を算出し、距離(始端)1004、及び距離(終端)1005に算出された距離を設定する。 Specifically, the state transition information generation unit 423 copies the contents of the scenario information 424 of the selected scenario to the empty scenario integration information 425. At this time, the state transition information generation unit 423 assigns an integrated state identifier to each state, and sets the integrated state identifier in the integrated state ID 1001 and the connection destination integrated state ID 1002. In addition, the state transition information generation unit 423 calculates the distance from the start state and the distance from the end state for each state, and calculates the distances calculated as the distance (start end) 1004 and the distance (end) 1005. Set.
 次に、状態遷移情報生成部423は、シナリオのループ処理を開始する(ステップS1603)。 Next, the state transition information generation unit 423 starts a scenario loop process (step S1603).
 具体的には、状態遷移情報生成部423は、統合されていないシナリオを一つ選択する。以下、ステップS1603において選択されたシナリオを選択シナリオとも記載する。 Specifically, the state transition information generation unit 423 selects one scenario that is not integrated. Hereinafter, the scenario selected in step S1603 is also referred to as a selected scenario.
 次に、状態遷移情報生成部423は、選択シナリオの状態のループ処理を開始する(ステップS1604)。 Next, the state transition information generation unit 423 starts a loop process of the selected scenario state (step S1604).
 具体的には、状態遷移情報生成部423は、選択シナリオのシナリオ情報424の中から一つの状態のエントリを選択する。以下の説明では、ステップS1604において選択された状態を選択状態とも記載する。このとき、状態遷移情報生成部423は、選択状態について、始端の状態からの距離、及び終端の状態からの距離を算出する。 Specifically, the state transition information generation unit 423 selects one state entry from the scenario information 424 of the selected scenario. In the following description, the state selected in step S1604 is also referred to as a selected state. At this time, the state transition information generation unit 423 calculates the distance from the start state and the distance from the end state for the selected state.
 次に、状態遷移情報生成部423は、選択シナリオのシナリオ情報424及びシナリオ統合情報425に基づいて、選択状態と同一の状態の統合状態が存在するか否かを判定する(ステップS1605)。具体的には、以下のような処理が実行される。 Next, based on the scenario information 424 and scenario integration information 425 of the selected scenario, the state transition information generation unit 423 determines whether there is an integrated state that is the same as the selected state (step S1605). Specifically, the following processing is executed.
 状態遷移情報生成部423は、選択シナリオのシナリオ情報424を参照し、選択状態の入力メッセージ及び出力メッセージを特定する。状態遷移情報生成部423は、シナリオ統合情報425を参照し、入力メッセージが特定された入力メッセージと一致し、かつ、出力メッセージが特定された出力メッセージと一致する統合状態を検索する。 The state transition information generation unit 423 refers to the scenario information 424 of the selected scenario and identifies the input message and output message of the selected state. The state transition information generation unit 423 refers to the scenario integration information 425 and searches for an integrated state where the input message matches the specified input message and the output message matches the specified output message.
 前述した条件を満たす統合状態が存在しない場合、状態遷移情報生成部423は、選択状態と同一の状態の統合状態が存在しないと判定する。 When there is no integrated state that satisfies the above-described conditions, the state transition information generation unit 423 determines that there is no integrated state having the same state as the selected state.
 前述した条件を満たす統合状態が存在する場合、状態遷移情報生成部423は、当該統合状態の距離(始端)1004が選択状態の始端の状態からの距離と同一、又は、当該統合状態の距離(終端)1005が選択状態の終端の状態からの距離と同一であるか否かを判定する。 When there is an integrated state that satisfies the above-described conditions, the state transition information generation unit 423 determines that the distance (starting edge) 1004 of the integrated state is the same as the distance from the starting state of the selected state, or the distance of the integrated state ( It is determined whether or not (end) 1005 is the same as the distance from the selected end state.
 前述した条件を満たさない場合、状態遷移情報生成部423は、選択状態と同一の状態の統合状態が存在しないと判定する。前述した条件を満たす場合、状態遷移情報生成部423は、選択状態と同一の状態の統合状態が存在すると判定する。 If the conditions described above are not satisfied, the state transition information generation unit 423 determines that there is no integrated state that is the same as the selected state. When the conditions described above are satisfied, the state transition information generation unit 423 determines that an integrated state having the same state as the selected state exists.
 前述したルールに基づいて状態を統合した場合、統合状態の入力メッセージ及び出力メッセージは全て同一となる。したがって、統合状態の入力メッセージ及び出力メッセージが複数存在する場合であっても、一つの入力メッセージ及び出力メッセージの組合せについて前述した判定基準を適用すればよい。 When the status is integrated based on the rules described above, the input message and output message of the integrated status are all the same. Therefore, even when there are a plurality of input messages and output messages in an integrated state, the above-described determination criteria may be applied to a combination of one input message and output message.
 また、入力メッセージ及び出力メッセージのみに基づいて状態を統合した場合、不正な状態遷移が生成される可能性がある。そこで、入力メッセージ及び出力メッセージが同一であり、かつ、始端からの距離が同一、又は、終端からの距離が同一である状態を統合することによって、不正な状態遷移が生成されるリスクを軽減することができる。以上がステップS1605の処理の説明である。 In addition, if the state is integrated based only on the input message and the output message, an incorrect state transition may be generated. Therefore, by integrating the states in which the input message and the output message are the same and the distance from the start end is the same or the distance from the end is the same, the risk of generating an illegal state transition is reduced. be able to. The above is the description of the processing in step S1605.
 選択状態と同一の状態の統合状態が存在すると判定された場合、状態遷移情報生成部423は、選択状態を同一の状態の統合状態に統合する(ステップS1606)。その後、状態遷移情報生成部423は、ステップS1608に進む。ステップS1606では、以下のような処理が実行される。 If it is determined that an integrated state having the same state as the selected state exists, the state transition information generating unit 423 integrates the selected state into the integrated state having the same state (step S1606). Thereafter, the state transition information generation unit 423 proceeds to step S1608. In step S1606, the following processing is executed.
 状態遷移情報生成部423は、検索された統合状態に対応するエントリの接続先統合状態ID1002に行を一つ追加し、追加された行に選択状態に対応するエントリの接続先状態ID802の値を設定する。また、状態遷移情報生成部423は、当該エントリの出力メッセージ1003に行を一つ追加し、追加された行に選択状態に対応するエントリの出力メッセージ803の値を設定する。 The state transition information generation unit 423 adds one row to the connection destination integrated state ID 1002 of the entry corresponding to the searched integrated state, and sets the value of the connection destination state ID 802 of the entry corresponding to the selected state to the added row. Set. The state transition information generation unit 423 adds one line to the output message 1003 of the entry, and sets the value of the output message 803 of the entry corresponding to the selected state in the added line.
 さらに、状態遷移情報生成部423は、各エントリを参照して、接続先統合状態ID1002に選択状態に対応するエントリの状態ID801の値が設定される行を検索する。状態遷移情報生成部423は、検索された行の接続先統合状態ID1002に、選択状態が統合された統合状態の識別子を設定する。以上がステップS1606の処理の説明である。 Furthermore, the state transition information generation unit 423 refers to each entry and searches for a row in which the value of the state ID 801 of the entry corresponding to the selected state is set in the connection destination integrated state ID 1002. The state transition information generation unit 423 sets the identifier of the integrated state in which the selected state is integrated in the connection destination integrated state ID 1002 of the searched row. The above is the description of the processing in step S1606.
 選択状態と同一の状態の統合状態が存在しないと判定された場合、状態遷移情報生成部423は、選択状態を新たな統合状態としてシナリオ統合情報425に登録する(ステップS1607)。その後、状態遷移情報生成部423は、ステップS1608に進む。ステップS1607では、以下のような処理が実行される。 When it is determined that there is no integrated state having the same state as the selected state, the state transition information generating unit 423 registers the selected state in the scenario integrated information 425 as a new integrated state (step S1607). Thereafter, the state transition information generation unit 423 proceeds to step S1608. In step S1607, the following processing is executed.
 状態遷移情報生成部423は、選択状態に統合状態の識別子を付与する。状態遷移情報生成部423は、シナリオ統合情報425に新たなエントリを追加し、追加されたエントリの統合状態ID1001に選択状態に付与された識別子を設定する。 The state transition information generation unit 423 gives an integrated state identifier to the selected state. The state transition information generation unit 423 adds a new entry to the scenario integration information 425, and sets the identifier assigned to the selected state in the integration state ID 1001 of the added entry.
 状態遷移情報生成部423は、追加されたエントリの接続先統合状態ID1002に、選択状態に対応するエントリの接続先状態ID802の値を設定する。状態遷移情報生成部423は、追加されたエントリの出力メッセージ1003に、選択状態に対応するエントリの出力メッセージ803の値を設定する。 The state transition information generation unit 423 sets the value of the connection destination state ID 802 of the entry corresponding to the selected state in the connection destination integrated state ID 1002 of the added entry. The state transition information generation unit 423 sets the value of the output message 803 of the entry corresponding to the selected state in the output message 1003 of the added entry.
 状態遷移情報生成部423は、各エントリを参照して、接続先統合状態ID1002に選択状態に対応するエントリの状態ID801の値が設定される行を検索する。状態遷移情報生成部423は、検索された行の接続先統合状態ID1002に、選択状態に付与された識別子を設定する。以上がステップS1607の処理の説明である。 The state transition information generation unit 423 refers to each entry and searches for a row in which the value of the state ID 801 of the entry corresponding to the selected state is set in the connection destination integrated state ID 1002. The state transition information generation unit 423 sets the identifier assigned to the selected state in the connection destination integrated state ID 1002 of the searched row. The above is the description of the processing in step S1607.
 ステップS1606又はステップS1607の処理が実行された後、状態遷移情報生成部423は、選択シナリオに含まれる全ての状態に対して処理が完了したか否かを判定する(ステップS1608)。 After the processing of step S1606 or step S1607 is executed, the state transition information generation unit 423 determines whether or not processing has been completed for all states included in the selected scenario (step S1608).
 選択シナリオに含まれる全ての状態に対して処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1604に戻り、同様の処理を実行する。 If it is determined that the processing has not been completed for all states included in the selected scenario, the state transition information generation unit 423 returns to step S1604 and executes the same processing.
 選択シナリオに含まれる全ての状態に対して処理が完了したと判定された場合、状態遷移情報生成部423は、全てのシナリオに対して処理が完了したか否かを判定する(ステップS1609)。 If it is determined that the processing has been completed for all states included in the selected scenario, the state transition information generation unit 423 determines whether the processing has been completed for all scenarios (step S1609).
 全てのシナリオに対して処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1603に戻り、同様の処理を実行する。 If it is determined that the processing has not been completed for all scenarios, the state transition information generation unit 423 returns to Step S1603 and executes the same processing.
 全てのシナリオに対して処理が完了したと判定された場合、状態遷移情報生成部423は、シナリオ統合処理を終了する。以上の処理によって、図8A及び図8Bに示すシナリオ情報424から図10Aに示すシナリオ統合情報425が生成される。なお、状態遷移情報生成部423は、状態統合処理を開始する前に、シナリオ統合情報425から距離(始端)1004、及び距離(終端)1005を削除する。 If it is determined that the processing has been completed for all scenarios, the state transition information generation unit 423 ends the scenario integration processing. Through the above processing, the scenario integrated information 425 shown in FIG. 10A is generated from the scenario information 424 shown in FIGS. 8A and 8B. Note that the state transition information generation unit 423 deletes the distance (start end) 1004 and the distance (end end) 1005 from the scenario integration information 425 before starting the state integration processing.
 なお、図16に示すシナリオ統合処理では、状態遷移情報生成部423は、二つのシナリオを比較して、二つのシナリオ情報424を統合していたが、本発明はこれに限定されない。例えば、状態遷移情報生成部423は、一つのシナリオから対象の統合状態を選択し、選択された統合状態と同一の状態の統合状態を検索することによって、複数のシナリオを統合してもよい。 In the scenario integration process shown in FIG. 16, the state transition information generation unit 423 compares the two scenarios and integrates the two scenario information 424, but the present invention is not limited to this. For example, the state transition information generation unit 423 may integrate a plurality of scenarios by selecting a target integrated state from one scenario and searching for an integrated state having the same state as the selected integrated state.
 図17A及び図17Bは、実施例1の状態遷移生成サーバ103が実行する状態統合処理の一例を説明するフローチャートである。 FIGS. 17A and 17B are flowcharts for explaining an example of the state integration process executed by the state transition generation server 103 according to the first embodiment.
 状態遷移情報生成部423は、対象の装置101の稼働情報の解析結果に基づいて、統合状態のリストを生成する(ステップS1701)。具体的には、以下のような処理が実行される。 The state transition information generation unit 423 generates a list of integrated states based on the analysis result of the operation information of the target device 101 (step S1701). Specifically, the following processing is executed.
 状態遷移情報生成部423は、空の統合状態のリストを生成する。状態遷移情報生成部423は、稼働情報に含まれる複数のメッセージの内容を解析し、出現頻度に基づいてメッセージ群に含まれるメッセージをソートすることによってメッセージのリストを生成する。なお、当該メッセージのリストは、メッセージの内容及び出現頻度から構成されるエントリを複数含むものとする。 The state transition information generation unit 423 generates an empty integrated state list. The state transition information generation unit 423 analyzes the contents of a plurality of messages included in the operation information, and generates a message list by sorting the messages included in the message group based on the appearance frequency. It is assumed that the message list includes a plurality of entries including message contents and appearance frequency.
 状態遷移情報生成部423は、メッセージのリストの上のエントリから順にエントリを一つ選択する。状態遷移情報生成部423は、シナリオ統合情報425の出力メッセージ1003が、選択されたエントリのメッセージの内容と一致する統合状態のエントリを抽出する。 The state transition information generation unit 423 selects one entry in order from the entry on the message list. The state transition information generation unit 423 extracts the entry in the integrated state in which the output message 1003 of the scenario integration information 425 matches the content of the message of the selected entry.
 状態遷移情報生成部423は、抽出されたエントリの統合状態ID1001、及びメッセージの出現頻度を対応付けたエントリを統合状態のリストに登録する。 The state transition information generation unit 423 registers an entry in which the integrated state ID 1001 of the extracted entry and the appearance frequency of the message are associated with each other in the integrated state list.
 状態遷移情報生成部423は、メッセージのリストに含まれる全てのメッセージについて同様の処理を実行する。これによって、メッセージの出現頻度に対応するように統合状態のリストが生成される。以上がステップS1701の処理の説明である。 The state transition information generation unit 423 executes the same processing for all messages included in the message list. As a result, a list of integrated states is generated so as to correspond to the appearance frequency of messages. The above is the description of the processing in step S1701.
 次に、状態遷移情報生成部423は、統合状態のループ処理を開始する(ステップS1702)。具体的には、以下のような処理が実行される。 Next, the state transition information generation unit 423 starts an integrated state loop process (step S1702). Specifically, the following processing is executed.
 状態遷移情報生成部423は、統合状態のリストから一つ統合状態を選択する。このとき、状態遷移情報生成部423は、シナリオ統合情報425の統合状態ID1001を参照して、選択された統合状態に対応するエントリがシナリオ統合情報425に存在するか否かを判定する。 The state transition information generation unit 423 selects one integrated state from the integrated state list. At this time, the state transition information generation unit 423 refers to the integration state ID 1001 of the scenario integration information 425 and determines whether or not an entry corresponding to the selected integration state exists in the scenario integration information 425.
 選択された統合状態に対応するエントリがシナリオ統合情報425に存在しない場合、状態遷移情報生成部423は、統合状態のリストから別の統合状態を選択する。シナリオ統合情報425に選択された統合状態に対応するエントリが存在しない場合、すでに、当該統合状態は他の統合状態に統合されているためである。以下の説明では、ステップS1702において選択された統合状態を選択統合状態とも記載する。以上が、ステップS1702の処理の説明である。 When the entry corresponding to the selected integration state does not exist in the scenario integration information 425, the state transition information generation unit 423 selects another integration state from the integration state list. This is because when there is no entry corresponding to the selected integration state in the scenario integration information 425, the integration state has already been integrated with another integration state. In the following description, the integrated state selected in step S1702 is also referred to as a selected integrated state. The above is the description of the processing in step S1702.
 次に、状態遷移情報生成部423は、統合状態のリストを参照して、出現頻度が選択統合状態の出現頻度と同一である統合状態が存在するか否かを判定する(ステップS1703)。 Next, the state transition information generation unit 423 refers to the list of integrated states and determines whether or not there is an integrated state whose appearance frequency is the same as the appearance frequency of the selected integrated state (step S1703).
 具体的には、状態遷移情報生成部423は、統合状態のリストの選択統合状態のエントリを参照し、出現頻度が選択統合状態の出現頻度と同一の統合状態のエントリを検索する。以下の説明では、出現頻度が同一の統合状態を特定統合状態とも記載する。 Specifically, the state transition information generation unit 423 refers to the entry of the selected integrated state in the integrated state list, and searches for an integrated state entry whose appearance frequency is the same as the appearance frequency of the selected integrated state. In the following description, an integrated state having the same appearance frequency is also described as a specific integrated state.
 特定統合状態が存在しないと判定された場合、状態遷移情報生成部423は、シナリオ統合情報425に基づいて、選択統合状態が単連結な状態であるか否かを判定する(ステップS1704)。ここで、単連結な状態とは、入力メッセージを介して接続される統合状態の数が「1」であり、かつ、出力メッセージを介して接続される統合状態の数が「1」である状態を示す。具体的には、以下のような処理が実行される。 If it is determined that the specific integration state does not exist, the state transition information generation unit 423 determines whether the selected integration state is a single connection state based on the scenario integration information 425 (step S1704). Here, the single connection state is a state in which the number of integrated states connected via the input message is “1” and the number of integrated states connected via the output message is “1”. Indicates. Specifically, the following processing is executed.
 状態遷移情報生成部423は、シナリオ統合情報425を参照し、選択統合状態が終端の統合状態であるか否かを判定する。 The state transition information generation unit 423 refers to the scenario integration information 425 and determines whether or not the selected integration state is a terminal integration state.
 選択統合状態が終端の統合状態である場合、状態遷移情報生成部423は、選択統合状態は単連結な状態ではないと判定する。選択統合状態が終端の統合状態である場合、終端の統合状態より時系列が後ろの統合状態は存在しないためである。 When the selected integrated state is the terminal integrated state, the state transition information generation unit 423 determines that the selected integrated state is not a single connection state. This is because when the selected integrated state is the terminal integrated state, there is no integrated state whose time series is behind the terminal integrated state.
 選択統合状態が終端の統合状態ではない場合、選択統合状態のエントリの接続先統合状態ID1002に設定された識別子の数が一つであるか否かを判定する。 If the selected integrated state is not the terminal integrated state, it is determined whether the number of identifiers set in the connection destination integrated state ID 1002 of the selected integrated state entry is one.
 選択統合状態のエントリの接続先統合状態ID1002に複数の識別子が設定される場合、状態遷移情報生成部423は、選択統合状態は単連結な状態ではないと判定する。 When a plurality of identifiers are set in the connection destination integrated state ID 1002 of the entry of the selected integrated state, the state transition information generating unit 423 determines that the selected integrated state is not a single connection state.
 選択統合状態のエントリの接続先統合状態ID1002に一つの識別子が設定される場合、状態遷移情報生成部423は、接続先統合状態ID1002に選択統合状態の識別子が格納されるエントリの数が一つであるか否かを判定する。 When one identifier is set in the connection destination integration state ID 1002 of the entry of the selected integration state, the state transition information generation unit 423 has one entry in which the identifier of the selection integration state is stored in the connection destination integration state ID 1002. It is determined whether or not.
 接続先統合状態ID1002に選択統合状態の識別子が格納されるエントリが複数存在する場合、状態遷移情報生成部423は、選択統合状態は単連結な状態ではないと判定する。 When there are a plurality of entries in which the identifier of the selected integrated state is stored in the connection destination integrated state ID 1002, the state transition information generation unit 423 determines that the selected integrated state is not a single connection state.
 接続先統合状態ID1002に選択統合状態の識別子が格納されるエントリが一つである場合、状態遷移情報生成部423は、選択統合状態は単連結な状態であると判定する。以上がステップS1704の処理の説明である。 When there is one entry in which the identifier of the selected integrated state is stored in the connection destination integrated state ID 1002, the state transition information generation unit 423 determines that the selected integrated state is a single connection state. The above is the description of the process in step S1704.
 選択統合状態が単連結な状態でないと判定された場合、状態遷移情報生成部423は、ステップS1712に進む。 If it is determined that the selected integration state is not a single connection state, the state transition information generation unit 423 proceeds to step S1712.
 選択統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、関連統合状態のループ処理を開始する(ステップS1705)。ここで、関連統合状態とは、選択統合状態より時系列が後ろの統合状態、又は時系列が前の統合状態であって、選択統合状態と接続関係がある統合状態を示す。時系列が前の統合状態又は時系列が後ろの統合状態を関連統合状態にするかは、ユーザの選択に基づいて事前に決定される。具体的には、以下のような処理が実行される。 When it is determined that the selected integration state is a single connection state, the state transition information generation unit 423 starts a loop process of the related integration state (step S1705). Here, the related integration state indicates an integration state in which the time series is subsequent to the selected integration state, or an integration state in which the time series is in front and has a connection relationship with the selected integration state. Whether the time series is the previous integrated state or the time series is the subsequent integrated state is determined as a related integrated state based on the user's selection. Specifically, the following processing is executed.
 状態遷移情報生成部423は、シナリオ統合情報425を参照し、選択統合状態から出力メッセージを介して接続される状態を検索する。検索された、状態が関連統合状態となる。状態遷移情報生成部423は、関連統合状態のリストを生成する。状態遷移情報生成部423は、当該リストから一つのエントリを選択する。 The state transition information generation unit 423 refers to the scenario integration information 425 and searches for a connected state from the selected integrated state via an output message. The searched state becomes the related integrated state. The state transition information generation unit 423 generates a list of related integrated states. The state transition information generation unit 423 selects one entry from the list.
 なお、関連統合状態のリストは、関連統合状態の識別子から構成されるエントリを複数含むものとする。また、リストのエントリは、選択統合状態からの遷移順にソートされたものとする。すなわち、リストには、選択統合状態と直接接続される統合状態(第1統合状態)、第1統合状態と直接接続される統合状態(第2統合状態)の順のように、世代順にエントリが格納される。 Note that the list of related integration states includes a plurality of entries including identifiers of related integration states. The entries in the list are sorted in the order of transition from the selected integrated state. That is, the list includes entries in order of generation, such as the order of the integration state directly connected to the selected integration state (first integration state) and the integration state directly connected to the first integration state (second integration state). Stored.
 次に、状態遷移情報生成部423は、関連統合状態が単連結な状態であるか否かを判定する(ステップS1706)。なお、ステップS1706の処理はステップS1704の処理と同一である。 Next, the state transition information generation unit 423 determines whether or not the related integration state is a single connection state (step S1706). Note that the process of step S1706 is the same as the process of step S1704.
 関連統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、選択統合状態に関連統合状態を統合する(ステップS1707)。その後、状態遷移情報生成部423は、ステップS1709に進む。具体的には、以下のような処理が実行される。 If it is determined that the related integration state is a single connection state, the state transition information generation unit 423 integrates the related integration state into the selected integration state (step S1707). Thereafter, the state transition information generation unit 423 proceeds to step S1709. Specifically, the following processing is executed.
 状態遷移情報生成部423は、関連統合状態のエントリから接続先統合状態ID1002及び出力メッセージ1003の値を取得する。 The state transition information generation unit 423 acquires the connection destination integrated state ID 1002 and the value of the output message 1003 from the related integrated state entry.
 状態遷移情報生成部423は、選択統合状態に対応するエントリの接続先統合状態ID1002に取得された接続先統合状態ID1002の値を設定する。また、状態遷移情報生成部423は、選択統合状態に対応するエントリの出力メッセージ1003に、取得された出力メッセージ1003の値を追加する。 The state transition information generation unit 423 sets the value of the connection destination integrated state ID 1002 acquired in the connection destination integrated state ID 1002 of the entry corresponding to the selected integration state. Further, the state transition information generation unit 423 adds the value of the acquired output message 1003 to the output message 1003 of the entry corresponding to the selected integration state.
 すなわち、接続先統合状態ID1002は、関連統合状態と接続される統合状態の識別子に更新され、出力メッセージ1003には、関連統合状態の出力メッセージが追加される。以上がステップS1707の処理の説明である。 That is, the connection destination integrated state ID 1002 is updated to the identifier of the integrated state connected to the related integrated state, and the output message of the related integrated state is added to the output message 1003. The above is the description of step S1707.
 関連統合状態が単連結な状態でないと判定された場合、状態遷移情報生成部423は、選択統合状態が関連統合状態と一回以上統合されたか否かを判定する(ステップS1708)。 When it is determined that the related integration state is not a single connection state, the state transition information generation unit 423 determines whether or not the selected integration state has been integrated with the related integration state at least once (step S1708).
 具体的には、状態遷移情報生成部423は、選択統合状態に対応するエントリの出力メッセージ1003に設定されたメッセージの数が「2」以上であるか否かを判定する。出力メッセージ1003に設定されたメッセージの数が「2」以上である場合、選択統合状態が関連統合状態と一回以上統合されたことを示す。 Specifically, the state transition information generation unit 423 determines whether or not the number of messages set in the output message 1003 of the entry corresponding to the selected integration state is “2” or more. If the number of messages set in the output message 1003 is “2” or more, it indicates that the selected integration state has been integrated with the related integration state at least once.
 選択統合状態が関連統合状態と統合されていないと判定された場合、状態遷移情報生成部423は、ステップS1712に進む。 If it is determined that the selected integrated state is not integrated with the related integrated state, the state transition information generation unit 423 proceeds to step S1712.
 選択統合状態が関連統合状態と一回以上統合されたと判定された場合、状態遷移情報生成部423は、関連統合状態のループを抜け、ステップS1710に進む。 When it is determined that the selected integrated state has been integrated with the related integrated state at least once, the state transition information generation unit 423 exits the related integrated state loop and proceeds to step S1710.
 ステップS1707の処理の後、状態遷移情報生成部423は、全ての関連統合状態について処理が完了したか否かを判定する(ステップS1709)。 After the processing in step S1707, the state transition information generation unit 423 determines whether the processing has been completed for all related integration states (step S1709).
 全ての関連統合状態について処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1705に戻り、同様の処理を実行する。 If it is determined that processing has not been completed for all related integration states, the state transition information generation unit 423 returns to step S1705 and executes similar processing.
 全ての関連統合状態について処理が完了したと判定された場合、状態遷移情報生成部423は、ステップS1710に進む。 If it is determined that the processing has been completed for all the related integration states, the state transition information generation unit 423 proceeds to step S1710.
 ステップS1710では、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいか否かを判定する(ステップS1710)。 In step S1710, the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S1710).
 具体的には、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態の数が粒度情報に含まれる値より小さいか否かを判定する。 Specifically, the state transition information generation unit 423 determines whether the number of integrated states included in the scenario integrated information 425 is smaller than a value included in the granularity information.
 シナリオ統合情報425に含まれる統合状態の数が所定の閾値以上である場合、状態遷移情報生成部423は、ステップS1712に進む。 If the number of integrated states included in the scenario integration information 425 is equal to or greater than a predetermined threshold, the state transition information generation unit 423 proceeds to step S1712.
 シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいと判定された場合、状態遷移情報生成部423は、状態遷移情報426に変換するシナリオ統合情報425として揮発性記憶部410に出力する(ステップS1711)。その後、状態遷移情報生成部423は、状態統合処理を終了する。例えば、変換対象を示すフラグをシナリオ統合情報425に付与することが考えられる。 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S1711). Thereafter, the state transition information generation unit 423 ends the state integration process. For example, it is conceivable to add a flag indicating the conversion target to the scenario integration information 425.
 ステップS1712では、状態遷移情報生成部423は、統合状態のリストに含まれる全ての統合状態について処理が完了したか否かを判定する(ステップS1712)。 In step S1712, the state transition information generation unit 423 determines whether or not the processing has been completed for all integrated states included in the integrated state list (step S1712).
 統合状態のリストに含まれる全ての統合状態について処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1702に戻り、同様の処理を実行する。 When it is determined that the processing has not been completed for all the integration states included in the integration state list, the state transition information generation unit 423 returns to step S1702 and executes the same processing.
 統合状態のリストに含まれる全ての統合状態について処理が完了したと判定された場合、状態遷移情報生成部423は、状態統合処理を終了する。 When it is determined that the processing has been completed for all the integration states included in the integration state list, the state transition information generation unit 423 ends the state integration processing.
 ステップS1703において、特定統合状態が存在すると判定された場合、状態遷移情報生成部423は、特定統合状態のループ処理を開始する(ステップS1721)。具体的には、以下のような処理が実行される。 When it is determined in step S1703 that the specific integration state exists, the state transition information generation unit 423 starts the loop processing of the specific integration state (step S1721). Specifically, the following processing is executed.
 状態遷移情報生成部423は、選択統合状態及び検索された統合状態を特定統合状態のリストに登録する。特定統合状態のリストは、統合状態の識別子から構成されるエントリを複数含むものとする。状態遷移情報生成部423は、特定統合状態のリストから一つの特定統合状態を選択する。 The state transition information generation unit 423 registers the selected integrated state and the searched integrated state in the specific integrated state list. The list of specific integration states includes a plurality of entries including integration state identifiers. The state transition information generation unit 423 selects one specific integrated state from the list of specific integrated states.
 状態遷移情報生成部423は、シナリオ統合情報425の統合状態ID1001を参照して、選択された特定統合状態に対応するエントリがシナリオ統合情報425に存在するか否かを判定する。 The state transition information generation unit 423 refers to the integration state ID 1001 of the scenario integration information 425 to determine whether an entry corresponding to the selected specific integration state exists in the scenario integration information 425.
 選択された特定統合状態に対応するエントリがシナリオ統合情報425に存在しない場合、状態遷移情報生成部423は、特定統合状態のリストから別の特定統合状態を選択する。以上が、ステップS1721の処理の説明である。 When no entry corresponding to the selected specific integration state exists in the scenario integration information 425, the state transition information generation unit 423 selects another specific integration state from the list of specific integration states. The above is the description of the process in step S1721.
 次に、状態遷移情報生成部423は、シナリオ統合情報425に基づいて、選択された特定統合状態が単連結な状態であるか否かを判定する(ステップS1722)。ステップS1722の処理は、ステップS1704の処理と同一である。 Next, based on the scenario integration information 425, the state transition information generation unit 423 determines whether the selected specific integration state is a single connection state (step S1722). The process in step S1722 is the same as the process in step S1704.
 選択された特定統合状態が単連結な状態ではないと判定された場合、状態遷移情報生成部423は、ステップS1730に進む。 If it is determined that the selected specific integration state is not a single connection state, the state transition information generation unit 423 proceeds to step S1730.
 選択された特定統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、関連統合状態のループ処理を開始する(ステップS1723)。ステップS1723からステップS1727では、選択された特定統合状態の関連統合状態について処理が実行される。関連統合状態の検索方法は、ステップS1705と同一である。 When it is determined that the selected specific integration state is a single connection state, the state transition information generation unit 423 starts a loop process of the related integration state (step S1723). In steps S1723 to S1727, processing is executed for the related integration state of the selected specific integration state. The related integration state search method is the same as that in step S1705.
 なお、ステップS1723では、状態遷移情報生成部423は、シナリオ統合情報425のコピーを生成し、コピーされたシナリオ統合情報425を用いて、統合状態の統合を行う。特定統合状態のループ処理では、統合される統合状態が異なる複数のシナリオ統合情報425が出力されるためである。 In step S 1723, the state transition information generation unit 423 generates a copy of the scenario integration information 425, and integrates the integration state using the copied scenario integration information 425. This is because in the loop processing in the specific integration state, a plurality of scenario integration information 425 having different integration states to be integrated is output.
 次に、状態遷移情報生成部423は、関連統合状態が単連結な状態であるか否かを判定する(ステップS1724)。なお、ステップS1724の処理はステップS1706と同一の処理である。 Next, the state transition information generation unit 423 determines whether or not the related integration state is a single connection state (step S1724). Note that the process of step S1724 is the same process as step S1706.
 関連統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、特定統合状態に関連統合状態を統合する(ステップS1725)。その後、状態遷移情報生成部423は、ステップS1727に進む。 When it is determined that the related integration state is a single connection state, the state transition information generation unit 423 integrates the related integration state into the specific integration state (step S1725). Thereafter, the state transition information generation unit 423 proceeds to step S1727.
 ステップS1725の処理は、ステップS1707の処理と同様の処理である。また、ステップS1727の処理は、ステップS1709の処理と同様の処理である。 The process of step S1725 is the same process as the process of step S1707. Further, the process of step S1727 is the same process as the process of step S1709.
 関連統合状態が単連結な状態でないと判定された場合、状態遷移情報生成部423は、特定統合状態が関連統合状態と一回以上統合されたか否かを判定する(ステップS1726)。ステップS1726の処理は、ステップS1708の処理と同様の処理である。 When it is determined that the related integration state is not a single connection state, the state transition information generation unit 423 determines whether or not the specific integration state has been integrated with the related integration state at least once (step S1726). The process of step S1726 is the same process as the process of step S1708.
 特定統合状態が関連統合状態と統合されていないと判定された場合、状態遷移情報生成部423は、ステップS1730に進む。特定統合状態が関連統合状態と一回以上統合されたと判定された場合、状態遷移情報生成部423は、ステップS1728に進む。 If it is determined that the specific integration state is not integrated with the related integration state, the state transition information generation unit 423 proceeds to step S1730. When it is determined that the specific integration state has been integrated with the related integration state at least once, the state transition information generation unit 423 proceeds to step S1728.
 ステップS1728では、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいか否かを判定する(ステップS1728)。ステップS1728の処理は、ステップS1710の処理と同様の処理である。 In step S1728, the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S1728). The process of step S1728 is the same process as the process of step S1710.
 シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいと判定された場合、状態遷移情報生成部423は、状態遷移情報426に変換するシナリオ統合情報425として揮発性記憶部410に出力する(ステップS1729)。その後、状態遷移情報生成部423は、ステップS1730に進む。ステップS1729の処理は、ステップS1711の処理と同様の処理である。 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S1729). Thereafter, the state transition information generation unit 423 proceeds to step S1730. The process of step S1729 is the same process as the process of step S1711.
 ステップS1730では、状態遷移情報生成部423は、特定統合状態のリストに含まれる全ての特定統合状態について処理が完了したか否かを判定する(ステップS1730)。 In step S1730, the state transition information generation unit 423 determines whether or not the processing has been completed for all the specific integration states included in the specific integration state list (step S1730).
 特定統合状態のリストに含まれる全ての特定統合状態について処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS1721に戻り同様の処理を実行する。 When it is determined that the processing has not been completed for all the specific integration states included in the list of specific integration states, the state transition information generation unit 423 returns to step S1721 and executes the same processing.
 特定統合状態のリストに含まれる全ての特定統合状態について処理が完了したと判定された場合、状態遷移情報生成部423は、シナリオ統合情報425が一つ以上出力されたか否かを判定する(ステップS1731)。 When it is determined that processing has been completed for all the specific integration states included in the list of specific integration states, the state transition information generation unit 423 determines whether one or more scenario integration information 425 has been output (step S1731).
 シナリオ統合情報425が一つ以上出力されていないと判定された場合、状態遷移情報生成部423は、全ての特定統合状態について統合を行う(ステップS1732)。その後、状態遷移情報生成部423は、ステップS1710に進む。 When it is determined that one or more scenario integration information 425 has not been output, the state transition information generation unit 423 performs integration for all the specific integration states (step S1732). Thereafter, the state transition information generation unit 423 proceeds to step S1710.
 具体的には、状態遷移情報生成部423は、各特定統合状態についてステップS1723からステップS1727までの処理を実行することによって、シナリオ統合情報425を更新する。なお、状態遷移情報生成部423は、各特定統合状態の処理結果である複数のシナリオ統合情報425をマージすることによって、一つのシナリオ統合情報425を生成してもよい。 Specifically, the state transition information generation unit 423 updates the scenario integration information 425 by executing the processing from step S1723 to step S1727 for each specific integration state. Note that the state transition information generation unit 423 may generate one scenario integration information 425 by merging a plurality of scenario integration information 425 that is the processing result of each specific integration state.
 シナリオ統合情報425が一つ以上出力されたと判定された場合、状態遷移情報生成部423は、状態統合処理を終了する。状態遷移情報生成部423は、粒度情報に基づいてシナリオ統合情報425に含まれる状態を統合することによって、状態遷移情報426の粒度を変更することができる。 When it is determined that one or more scenario integration information 425 has been output, the state transition information generation unit 423 ends the state integration processing. The state transition information generation unit 423 can change the granularity of the state transition information 426 by integrating the states included in the scenario integration information 425 based on the granularity information.
 ここで、図18A、図18B、及び図18Cを用いて、状態遷移情報426が生成される過程について説明する。図18A、図18B、及び図18Cは、実施例1の状態遷移情報426の生成過程を説明する図である。 Here, the process of generating the state transition information 426 will be described with reference to FIGS. 18A, 18B, and 18C. 18A, 18B, and 18C are diagrams illustrating a process of generating the state transition information 426 according to the first embodiment.
 ここでは、図8A及び図8Bに示すようなシナリオに対してシナリオ統合処理及び状態統合処理が行われるものとする。また、状態数入力欄1214には「7」が設定されたものとする。 Here, it is assumed that the scenario integration process and the state integration process are performed on the scenario as shown in FIGS. 8A and 8B. It is assumed that “7” is set in the state number input field 1214.
 シナリオ統合処理が実行された結果、「S1_St1」と「S2_St1」とが統合され、「S1_St2」と「S2_St2」とが統合され、「S1_St6」と「S2_St6」とが統合され、また、「S1_St7」と「S2_St7」とが統合される。したがって、シナリオ統合処理の実行された後、シナリオ統合情報425は、図18Aに示すような状態となる。 As a result of the scenario integration process, “S1_St1” and “S2_St1” are integrated, “S1_St2” and “S2_St2” are integrated, “S1_St6” and “S2_St6” are integrated, and “S1_St7” And “S2_St7” are integrated. Therefore, after the scenario integration process is executed, the scenario integration information 425 is in a state as shown in FIG. 18A.
 状態統合処理が実行された結果、「St4」及び「St5」が「St3」に統合され、また、「St9」及び「St10」が「St8」に統合される。したがって、状態統合処理が実行された後、シナリオ統合情報425は、図18Bに示すような状態となる。なお、図10Bは、図18Bに示すシナリオ統合情報425に対応する。 As a result of executing the state integration process, “St4” and “St5” are integrated into “St3”, and “St9” and “St10” are integrated into “St8”. Therefore, after the state integration process is executed, the scenario integration information 425 is in a state as shown in FIG. 18B. Note that FIG. 10B corresponds to the scenario integration information 425 shown in FIG. 18B.
 また、ステップS1407において、終端の統合状態から始端の統合状態への遷移が生成された場合、シナリオ統合情報425は、図18Cに示すような状態となる。 In Step S1407, when the transition from the terminal integrated state to the starting integrated state is generated, the scenario integrated information 425 becomes a state as shown in FIG. 18C.
 以上の処理の結果、図18Cに示すような状態遷移情報426が生成される。 As a result of the above processing, state transition information 426 as shown in FIG. 18C is generated.
 図19A及び図19Bは、実施例1の状態遷移情報表示欄1240の表示例を説明する図である。 19A and 19B are diagrams for explaining display examples of the state transition information display field 1240 according to the first embodiment.
 表示切替選択欄1230が操作された場合、状態遷移情報表示欄1240の状態遷移情報426の表示方法が変更される。ここでは、表示切替選択欄1230が操作される前の状態遷移情報表示欄1240には、図12に示すような状態遷移情報426が表示されているものとする。 When the display switching selection field 1230 is operated, the display method of the state transition information 426 in the state transition information display field 1240 is changed. Here, it is assumed that state transition information 426 as shown in FIG. 12 is displayed in the state transition information display field 1240 before the display switching selection field 1230 is operated.
 表示切替選択欄1230の「色あり」のラジオボタンが操作された場合、入出力部421は、図19Aに示すように、入力メッセージが同一の統合状態に同一の色彩が付与された状態遷移情報426を表示する。図19Aでは、ノードの枠の表現の違いを色彩の違いとして表している。 When the “colored” radio button in the display switching selection field 1230 is operated, the input / output unit 421, as shown in FIG. 19A, state transition information in which the same color is given to the integrated state where the input message is the same. 426 is displayed. In FIG. 19A, the difference in the representation of the node frame is represented as a difference in color.
 表示切替選択欄1230の「整列あり」のラジオボタンが操作された場合、入出力部421は、入力メッセージが同一の統合状態を同一のラインに整列させた状態遷移情報426を表示する。「色あり」及び「整列あり」のそれぞれのラジオボタンが操作された場合、状態遷移情報表示欄1240には、図19Bに示すような状態遷移情報426が表示される。 When the “Arranged” radio button in the display switching selection field 1230 is operated, the input / output unit 421 displays state transition information 426 in which the input messages are aligned in the same integrated state on the same line. When the “colored” and “aligned” radio buttons are operated, state transition information 426 as shown in FIG. 19B is displayed in the state transition information display field 1240.
 以上で説明したように、状態遷移生成サーバ103は、装置101から取得されるメッセージを用いて、装置101の状態遷移を示す状態遷移情報426を生成することができる。 As described above, the state transition generation server 103 can generate the state transition information 426 indicating the state transition of the device 101 using the message acquired from the device 101.
 これによって、装置101のマニュアル等がなく、装置101の状態を定義できないような場合であっても、装置101の状態遷移情報426を生成できる。また、状態遷移生成サーバ103は、装置101に関する知識の有無にかかわらず、様々な粒度の状態遷移情報426を生成できる。そのため、仮に装置101のマニュアル等が存在する場合であっても、解析サーバ104によって実行したい解析処理に合わせた粒度の状態遷移情報426を生成できる。 Thus, even if there is no manual of the device 101 and the state of the device 101 cannot be defined, the state transition information 426 of the device 101 can be generated. Further, the state transition generation server 103 can generate state transition information 426 with various granularities regardless of whether or not there is knowledge about the device 101. Therefore, even if a manual or the like of the apparatus 101 exists, the state transition information 426 having a granularity adapted to the analysis processing desired to be executed by the analysis server 104 can be generated.
 実施例1では、状態遷移生成サーバ103が一つの装置101に対して複数の状態遷移情報426を生成し、ユーザによって選択された状態遷移情報426を不揮発性記憶部411に格納する。実施例2では、状態遷移生成サーバ103が一つの装置101に対して一つの状態遷移情報426を生成し、生成された状態遷移情報426を不揮発性記憶部411に格納する。 In Example 1, the state transition generation server 103 generates a plurality of state transition information 426 for one device 101 and stores the state transition information 426 selected by the user in the nonvolatile storage unit 411. In the second embodiment, the state transition generation server 103 generates one state transition information 426 for one device 101, and stores the generated state transition information 426 in the nonvolatile storage unit 411.
 以下、実施例1との差異を中心に、実施例2について説明する。 Hereinafter, the second embodiment will be described focusing on the differences from the first embodiment.
 実施例2の計算機システムの構成は、実施例1の計算機システムの構成と同一であるため、説明を省略する。実施例2の装置101、データストアサーバ102、状態遷移生成サーバ103、及び解析サーバ104の構成は、実施例1の各装置の構成と同一であるため、説明を省略する。 Since the configuration of the computer system according to the second embodiment is the same as the configuration of the computer system according to the first embodiment, description thereof is omitted. The configurations of the device 101, the data store server 102, the state transition generation server 103, and the analysis server 104 of the second embodiment are the same as the configurations of the respective devices of the first embodiment, and thus description thereof is omitted.
 実施例2では、状態遷移情報426の生成時の処理が実施例1の処理と一部異なる。 In the second embodiment, the processing at the time of generating the state transition information 426 is partially different from the processing in the first embodiment.
 図20は、実施例2の状態遷移情報426の生成時の計算機システム内の処理の流れを生成処理の流れを示すシーケンス図である。 FIG. 20 is a sequence diagram illustrating the flow of processing for generating the processing flow in the computer system when the state transition information 426 according to the second embodiment is generated.
 ステップS2001からステップS2007までの処理の流れは、ステップS1101からステップS1107までの処理の流れと同一である。具体的には、以下のような処理の流れになる。 The process flow from step S2001 to step S2007 is the same as the process flow from step S1101 to step S1107. Specifically, the processing flow is as follows.
 入出力部421は、表示画面1200若しくは表示画面1300、又は、他のアプリケーションからのプログラム実行命令を介して各種情報を受け付ける(ステップS2001)。入出力部421は、処理の開始指示を受け付けた場合、状態遷移情報生成部423に処理開始要求を発行する(ステップS2002)。 The input / output unit 421 receives various types of information via a program execution command from the display screen 1200 or the display screen 1300 or another application (step S2001). When receiving the process start instruction, the input / output unit 421 issues a process start request to the state transition information generation unit 423 (step S2002).
 状態遷移情報生成部423は、処理開始要求を受け付けた場合、基準メッセージ定義情報427の読出要求を不揮発性記憶部411に発行する(ステップS2003)。 When the state transition information generation unit 423 receives the processing start request, the state transition information generation unit 423 issues a read request for the reference message definition information 427 to the nonvolatile storage unit 411 (step S2003).
 不揮発性記憶部411は、当該読出要求を受け付けた場合、ユーザに指定された基準メッセージ定義情報427を状態遷移情報生成部423に出力する(ステップS2004)。状態遷移情報生成部423は、受信した基準メッセージ定義情報427を揮発性記憶部410に一時的に格納する。 The non-volatile storage unit 411 outputs the reference message definition information 427 designated by the user to the state transition information generation unit 423 when receiving the read request (step S2004). The state transition information generation unit 423 temporarily stores the received reference message definition information 427 in the volatile storage unit 410.
 状態遷移情報生成部423は、メッセージ取得部422を介してデータストアサーバ102のデータストア管理部312にメッセージの取得要求を送信する(ステップS2005)。 The state transition information generation unit 423 transmits a message acquisition request to the data store management unit 312 of the data store server 102 via the message acquisition unit 422 (step S2005).
 データストア管理部312は、イベントログ321から対象の装置101のメッセージを読み出し、読み出されたメッセージを含む稼働情報を状態遷移生成サーバ103に送信する(ステップS2006)。 The data store management unit 312 reads the message of the target device 101 from the event log 321 and transmits operation information including the read message to the state transition generation server 103 (step S2006).
 状態遷移情報生成部423は、稼働情報を取得した後、状態遷移情報生成処理を実行する(ステップS2007)。 The state transition information generation unit 423 executes the state transition information generation process after obtaining the operation information (step S2007).
 実施例2では、一つの装置101に対して一つの状態遷移情報426が生成されるため、ユーザが選択する必要がない。したがって、状態遷移情報生成部423は、状態遷移情報生成処理が終了した後、生成された状態遷移情報426を不揮発性記憶部411に出力する(ステップS2008)。 In the second embodiment, since one state transition information 426 is generated for one device 101, the user does not need to select. Therefore, after the state transition information generation process ends, the state transition information generation unit 423 outputs the generated state transition information 426 to the nonvolatile storage unit 411 (step S2008).
 不揮発性記憶部411は、状態遷移情報426を格納した後、状態遷移情報生成部423に応答をする(ステップS2009)。 After storing the state transition information 426, the nonvolatile storage unit 411 responds to the state transition information generation unit 423 (step S2009).
 状態遷移情報生成部423は、不揮発性記憶部411から応答を受け付けた場合、入出力部421に完了通知を出力する(ステップS2010)。 When the state transition information generation unit 423 receives a response from the nonvolatile storage unit 411, the state transition information generation unit 423 outputs a completion notification to the input / output unit 421 (step S2010).
 図21は、実施例2の状態遷移生成サーバ103が実行する状態遷移情報生成処理の一例を説明するフローチャートである。 FIG. 21 is a flowchart illustrating an example of state transition information generation processing executed by the state transition generation server 103 according to the second embodiment.
 図21では、基準メッセージ定義情報427が用いられない場合の状態遷移情報生成処理について説明する。 FIG. 21 illustrates a state transition information generation process when the reference message definition information 427 is not used.
 状態遷移情報生成部423は、対象の装置101のメッセージ群に基づいて、基準メッセージを決定する(ステップS2101)。 The state transition information generation unit 423 determines a reference message based on the message group of the target device 101 (step S2101).
 具体的には、状態遷移情報生成部423は、メッセージの内容を解析し、出現頻度に基づいて基準メッセージのリストを生成する。状態遷移情報生成部423は、最も出現頻度が高いメッセージ又は最も出現頻度が低いメッセージを一つ選択する。 Specifically, the state transition information generation unit 423 analyzes the content of the message and generates a list of reference messages based on the appearance frequency. The state transition information generation unit 423 selects one message having the highest appearance frequency or the lowest appearance frequency.
 次に、状態遷移情報生成部423は、対象の装置101の稼働情報及び決定された基準メッセージに基づいて、シナリオ情報424を生成する(ステップS2102)。ステップS2102の処理はステップS1403の処理と同一である。 Next, the state transition information generation unit 423 generates scenario information 424 based on the operation information of the target device 101 and the determined reference message (step S2102). The process of step S2102 is the same as the process of step S1403.
 次に、状態遷移情報生成部423は、複数のシナリオの状態を統合するためのシナリオ統合処理を実行する(ステップS2103)。状態遷移情報生成部423は、状態遷移情報426に含まれる状態を統合する必要があるか否かを判定する(ステップS2104)。ステップS2104の処理は、ステップS1405の処理と同一である。 Next, the state transition information generation unit 423 executes a scenario integration process for integrating the states of a plurality of scenarios (step S2103). The state transition information generation unit 423 determines whether or not the states included in the state transition information 426 need to be integrated (step S2104). The process in step S2104 is the same as the process in step S1405.
 状態遷移情報426に含まれる状態を統合する必要がないと判定された場合、状態遷移情報生成部423は、ステップS2106に進む。 If it is determined that it is not necessary to integrate the states included in the state transition information 426, the state transition information generation unit 423 proceeds to step S2106.
 状態遷移情報426に含まれる状態を統合する必要があると判定された場合、状態遷移情報生成部423は、シナリオ統合情報425に含まれる状態を統合するための状態統合処理を実行する(ステップS2105)。ステップS2105の処理はステップS1405の処理と同一である。 When it is determined that the states included in the state transition information 426 need to be integrated, the state transition information generation unit 423 executes a state integration process for integrating the states included in the scenario integration information 425 (step S2105). ). The process in step S2105 is the same as the process in step S1405.
 ステップS2105がNOの場合、又は、状態統合処理が実行された後、状態遷移情報生成部423は、終端の状態から始端の状態への状態遷移を生成する(ステップS2106)。ステップS2106の処理は、ステップS1407の処理と同様の処理である。 When step S2105 is NO or after the state integration process is executed, the state transition information generation unit 423 generates a state transition from the terminal state to the starting state (step S2106). The process in step S2106 is the same as the process in step S1407.
 次に、状態遷移情報生成部423は、生成されたシナリオ統合情報425に基づいて、状態遷移情報426を生成する(ステップS2107)。その後、状態遷移情報生成部423は、状態遷移情報生成処理を終了する。ステップS2107の処理は、ステップS1410の処理と同一である。 Next, the state transition information generation unit 423 generates state transition information 426 based on the generated scenario integration information 425 (step S2107). Thereafter, the state transition information generation unit 423 ends the state transition information generation process. The process in step S2107 is the same as the process in step S1410.
 なお、実施例2でも、基準メッセージのループ処理が実行されてもよい。この場合、状態遷移情報生成部423は、一つの基準メッセージに対して一つの状態遷移情報426を生成し、生成された状態遷移情報426を不揮発性記憶部411に格納する。 In the second embodiment, the reference message loop processing may also be executed. In this case, the state transition information generation unit 423 generates one state transition information 426 for one reference message, and stores the generated state transition information 426 in the nonvolatile storage unit 411.
 実施例2のシナリオ統合処理は、実施例1のシナリオ統合処理と同一であるため説明を省略する。 Since the scenario integration process of the second embodiment is the same as the scenario integration process of the first embodiment, description thereof is omitted.
 図22は、実施例2の状態遷移生成サーバ103が実行する状態統合処理の一例を説明するフローチャートである。 FIG. 22 is a flowchart illustrating an example of a state integration process executed by the state transition generation server 103 according to the second embodiment.
 状態遷移情報生成部423は、対象の装置101の稼働情報に基づいて、統合状態のリストを生成する(ステップS2201)。状態遷移情報生成部423は、統合状態のループ処理を開始する(ステップS2202)。ステップS2201の処理は、ステップS1701の処理と同一である。また、ステップS2202の処理は、ステップS1702の処理と同一である。 The state transition information generation unit 423 generates a list of integrated states based on the operation information of the target device 101 (step S2201). The state transition information generation unit 423 starts a loop process for the integrated state (step S2202). The process of step S2201 is the same as the process of step S1701. Further, the process of step S2202 is the same as the process of step S1702.
 次に、状態遷移情報生成部423は、シナリオ統合情報425に基づいて、選択統合状態が単連結な状態であるか否かを判定する(ステップS2203)。ステップS2203の処理は、ステップS1704の処理と同様の処理である。 Next, based on the scenario integration information 425, the state transition information generation unit 423 determines whether or not the selected integration state is a single connection state (step S2203). The process in step S2203 is the same as the process in step S1704.
 選択統合状態が単連結な状態でないと判定された場合、状態遷移情報生成部423は、ステップS2211に進む。 If it is determined that the selected integration state is not a single connection state, the state transition information generation unit 423 proceeds to step S2211.
 選択統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、関連統合状態のループ処理を開始する(ステップS2204)。ステップS2204の処理は、ステップS1705の処理と同一である。 When it is determined that the selected integration state is a single connection state, the state transition information generation unit 423 starts a loop process of the related integration state (step S2204). The process in step S2204 is the same as the process in step S1705.
 次に、状態遷移情報生成部423は、関連統合状態が単連結な状態であるか否かを判定する(ステップS2205)。ステップS2205の処理は、ステップS1706の処理と同一である。 Next, the state transition information generation unit 423 determines whether or not the related integration state is a single connection state (step S2205). The process in step S2205 is the same as the process in step S1706.
 関連統合状態が単連結な状態であると判定された場合、状態遷移情報生成部423は、選択統合状態に関連統合状態を統合する(ステップS2206)。その後、状態遷移情報生成部423は、ステップS2208に進む。ステップS2206の処理は、ステップS1707の処理と同一である。 When it is determined that the related integrated state is a single connection state, the state transition information generation unit 423 integrates the related integrated state into the selected integrated state (step S2206). Thereafter, the state transition information generation unit 423 proceeds to step S2208. The process in step S2206 is the same as the process in step S1707.
 関連統合状態が単連結な状態でないと判定された場合、状態遷移情報生成部423は、選択統合状態が他の統合状態と一回以上統合されたか否かを判定する(ステップS2207)。ステップS2207の処理は、ステップS1708の処理と同一である。 When it is determined that the related integration state is not a single connection state, the state transition information generation unit 423 determines whether or not the selected integration state is integrated with another integration state at least once (step S2207). The process in step S2207 is the same as the process in step S1708.
 選択統合状態が関連統合状態と統合されていないと判定された場合、状態遷移情報生成部423は、ステップS2211に進む。 If it is determined that the selected integration state is not integrated with the related integration state, the state transition information generation unit 423 proceeds to step S2211.
 選択統合状態が関連統合状態と一回以上統合されたと判定された場合、状態遷移情報生成部423は、関連統合状態のループを抜け、ステップS2209に進む。 When it is determined that the selected integrated state has been integrated with the related integrated state at least once, the state transition information generation unit 423 exits the related integrated state loop and proceeds to step S2209.
 ステップS2206の処理の後、状態遷移情報生成部423は、全ての関連統合状態について処理が完了したか否かを判定する(ステップS2208)。ステップS2208の処理は、ステップS1709の処理と同一である。 After the process of step S2206, the state transition information generation unit 423 determines whether or not the process has been completed for all related integration states (step S2208). The process in step S2208 is the same as the process in step S1709.
 全ての関連統合状態について処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS2204に戻り、同様の処理を実行する。 If it is determined that the processing has not been completed for all the related integration states, the state transition information generation unit 423 returns to step S2204 and executes the same processing.
 全ての関連統合状態について処理が完了したと判定された場合、状態遷移情報生成部423は、ステップS2209に進む。 If it is determined that the processing has been completed for all related integration states, the state transition information generation unit 423 proceeds to step S2209.
 ステップS2209では、状態遷移情報生成部423は、シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいか否かを判定する(ステップS2209)。ステップS2209の処理は、ステップS1710の処理と同一である。 In step S2209, the state transition information generation unit 423 determines whether or not the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold (step S2209). The process in step S2209 is the same as the process in step S1710.
 シナリオ統合情報425に含まれる統合状態の数が所定の閾値以上である場合、状態遷移情報生成部423は、ステップS2211に進む。 If the number of integrated states included in the scenario integration information 425 is equal to or greater than a predetermined threshold, the state transition information generation unit 423 proceeds to step S2211.
 シナリオ統合情報425に含まれる統合状態の数が所定の閾値より小さいと判定された場合、状態遷移情報生成部423は、状態遷移情報426に変換するシナリオ統合情報425として揮発性記憶部410に出力する(ステップS2210)。その後、状態遷移情報生成部423は、状態統合処理を終了する。ステップS2210の処理は、ステップS1711の処理と同一である。 When it is determined that the number of integrated states included in the scenario integration information 425 is smaller than a predetermined threshold, the state transition information generation unit 423 outputs the scenario transition information 425 to be converted into the state transition information 426 to the volatile storage unit 410. (Step S2210). Thereafter, the state transition information generation unit 423 ends the state integration process. The process in step S2210 is the same as the process in step S1711.
 ステップS2211では、状態遷移情報生成部423は、統合状態のリストに含まれる全ての統合状態について処理が完了したか否かを判定する(ステップS2211)。ステップS2211の処理は、ステップS1712の処理と同一である。 In step S2211, the state transition information generation unit 423 determines whether or not processing has been completed for all integrated states included in the integrated state list (step S2211). The process of step S2211 is the same as the process of step S1712.
 統合状態のリストに含まれる全ての統合状態について処理が完了していないと判定された場合、状態遷移情報生成部423は、ステップS2202に戻り、同様の処理を実行する。 If it is determined that processing has not been completed for all integration states included in the integration state list, the state transition information generation unit 423 returns to step S2202 and executes similar processing.
 統合状態のリストに含まれる全ての統合状態について処理が完了したと判定された場合、状態遷移情報生成部423は、状態統合処理を終了する。 When it is determined that the processing has been completed for all the integration states included in the integration state list, the state transition information generation unit 423 ends the state integration processing.
 実施例2では、生成される状態遷移情報426の数は一つであるが、これに限定されない。予め生成する状態遷移情報426の数を設定することによって、状態遷移生成サーバ103は、設定された数の状態遷移情報426を生成できる。 In the second embodiment, the number of state transition information 426 generated is one, but is not limited to this. By setting the number of state transition information 426 to be generated in advance, the state transition generation server 103 can generate the set number of state transition information 426.
 実施例2によれば、状態遷移生成サーバ103は、装置101から取得されるメッセージを用いて、装置101の状態遷移を示す状態遷移情報426を生成することができる。 According to the second embodiment, the state transition generation server 103 can generate the state transition information 426 indicating the state transition of the device 101 using the message acquired from the device 101.
 また、自動的に装置101の状態遷移情報426が生成されるため、ユーザの操作負担等を低減することができる。 Moreover, since the state transition information 426 of the apparatus 101 is automatically generated, it is possible to reduce a user's operation burden and the like.
 なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。また、例えば、上記した実施例は本発明を分かりやすく説明するために構成を詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、各実施例の構成の一部について、他の構成に追加、削除、置換することが可能である。 In addition, this invention is not limited to the above-mentioned Example, Various modifications are included. Further, for example, the above-described embodiments are described in detail for easy understanding of the present invention, and are not necessarily limited to those provided with all the described configurations. Further, a part of the configuration of each embodiment can be added to, deleted from, or replaced with another configuration.
 また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、本発明は、実施例の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をコンピュータに提供し、そのコンピュータが備えるプロセッサが記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、CD-ROM、DVD-ROM、ハードディスク、SSD(Solid State Drive)、光ディスク、光磁気ディスク、CD-R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。 In addition, each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. The present invention can also be realized by software program codes that implement the functions of the embodiments. In this case, a storage medium in which the program code is recorded is provided to the computer, and a processor included in the computer reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing it constitute the present invention. Examples of storage media for supplying such program codes include flexible disks, CD-ROMs, DVD-ROMs, hard disks, SSDs (Solid State Drives), optical disks, magneto-optical disks, CD-Rs, magnetic tapes, A non-volatile memory card, ROM, or the like is used.
 また、本実施例に記載の機能を実現するプログラムコードは、例えば、アセンブラ、C/C++、perl、Shell、PHP、Java等の広範囲のプログラム又はスクリプト言語で実装できる。 Further, the program code for realizing the functions described in this embodiment can be implemented by a wide range of programs or script languages such as assembler, C / C ++, Perl, Shell, PHP, Java, and the like.
 さらに、実施例の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信することによって、それをコンピュータのハードディスクやメモリ等の記憶手段又はCD-RW、CD-R等の記憶媒体に格納し、コンピュータが備えるプロセッサが当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行するようにしてもよい。 Furthermore, by distributing the program code of the software that realizes the functions of the embodiments via a network, the program code is stored in a storage means such as a hard disk or memory of a computer or a storage medium such as a CD-RW or CD-R. A processor included in the computer may read and execute the program code stored in the storage unit or the storage medium.
 上述の実施例において、制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていてもよい。 In the above-described embodiments, the control lines and information lines indicate those that are considered necessary for the explanation, and do not necessarily indicate all the control lines and information lines on the product. All the components may be connected to each other.

Claims (14)

  1.  装置の稼働状態の遷移を示す状態遷移情報を生成する計算機であって、
     前記計算機は、
     プロセッサ、前記プロセッサに接続されるメモリ、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを備え、
     前記状態遷移情報を生成する状態遷移情報生成部を有し、
     前記状態遷移情報生成部は、
     対象の装置の稼働状態を示す複数のメッセージを含む稼働情報を取得し、
     前記対象の装置の一つの状態遷移のパターンに対応するシナリオ毎に前記稼働情報を分割することによって複数のシナリオ情報を生成し、
     前記複数のシナリオ情報を統合することによって、前記対象の装置の全ての状態遷移を示す前記状態遷移情報を生成することを特徴とする計算機。
    A computer that generates state transition information indicating the transition of the operating state of the device,
    The calculator is
    A processor, a memory connected to the processor, and an interface connected to the processor and connected to an external device;
    A state transition information generating unit for generating the state transition information;
    The state transition information generation unit
    Obtain operational information including multiple messages indicating the operational status of the target device,
    Generating a plurality of scenario information by dividing the operation information for each scenario corresponding to one state transition pattern of the target device,
    A computer that generates the state transition information indicating all state transitions of the target device by integrating the plurality of scenario information.
  2.  請求項1に記載の計算機であって、
     前記状態遷移情報生成部は、
     前記稼働情報を分割する基準となる基準メッセージを決定し、
     前記基準メッセージに基づいて、前記稼働情報を前記複数のシナリオに分割し、
     前記シナリオに含まれる一つの前記メッセージに対して一つのノードを生成して、前記複数のノードを前記装置の状態として定義し、
     前記複数のノード間を接続するエッジを生成して、前記複数のエッジに前記ノードから出力される前記メッセージを対応付け、
     前記ノードの識別子、前記ノードの接続先の前記ノードの識別子、及び前記ノードから出力される前記メッセージが対応付けられたエントリを複数含む前記シナリオ情報を生成し、
     前記複数のシナリオ情報の各々に含まれる前記複数のノードのうち、入力される前記メッセージ及び出力される前記メッセージが同一である複数のノードを統合することによって、前記複数のシナリオ情報が統合されたシナリオ統合情報を生成し、
     前記シナリオ統合情報に基づいて前記状態遷移情報を生成することを特徴とする計算機。
    The computer according to claim 1,
    The state transition information generation unit
    Determining a reference message as a reference for dividing the operation information;
    Based on the reference message, the operation information is divided into the plurality of scenarios,
    Generating one node for one message included in the scenario, and defining the plurality of nodes as the state of the device;
    Generating an edge connecting the plurality of nodes, associating the message output from the node with the plurality of edges,
    Generating the scenario information including a plurality of entries associated with the identifier of the node, the identifier of the node to which the node is connected, and the message output from the node;
    Among the plurality of nodes included in each of the plurality of scenario information, the plurality of scenario information is integrated by integrating a plurality of nodes in which the input message and the output message are the same. Generate scenario integration information,
    The computer that generates the state transition information based on the scenario integration information.
  3.  請求項2に記載の計算機であって、
     前記状態遷移情報生成部は、
     前記シナリオ統合情報を参照して、入力メッセージを介して一つの前記ノードと接続され、かつ、出力メッセージを介して一つの前記ノードと接続される単連結なノードを検索し、
     前記複数の単連結なノードを統合することによって前記状態遷移情報を生成することを特徴とする計算機。
    The computer according to claim 2,
    The state transition information generation unit
    With reference to the scenario integration information, a single connected node connected to one of the nodes via an input message and connected to one of the nodes via an output message is searched.
    The computer is characterized in that the state transition information is generated by integrating the plurality of single-connected nodes.
  4.  請求項3に記載の計算機であって、
     前記状態遷移情報生成部は、
     前記状態遷移情報の粒度を示す粒度情報を保持し、
     前記粒度情報に基づいて、統合する前記単連結なノードの数を調整することを特徴とする計算機。
    The computer according to claim 3, wherein
    The state transition information generation unit
    Holds granularity information indicating the granularity of the state transition information,
    A computer that adjusts the number of the single connected nodes to be integrated based on the granularity information.
  5.  請求項2又は請求項3に記載の計算機であって、
     前記状態遷移情報生成部は、
     前記稼働情報を解析し、
     前記メッセージの出現頻度に基づいて、前記基準メッセージを決定することを特徴とする計算機。
    A computer according to claim 2 or claim 3, wherein
    The state transition information generation unit
    Analyzing the operational information,
    The computer, wherein the reference message is determined based on the appearance frequency of the message.
  6.  請求項2又は請求項3に記載の計算機であって、
     前記状態遷移情報生成部は、
     前記シナリオ統合情報が生成された後、前記シナリオ統合情報に含まれる終端ノードから始端ノードへのエッジを生成することによって、前記終端ノードから前記始端ノードへの状態遷移を含む前記状態遷移情報を生成することを特徴とする計算機。
    A computer according to claim 2 or claim 3, wherein
    The state transition information generation unit
    After the scenario integration information is generated, the state transition information including the state transition from the termination node to the start node is generated by generating an edge from the termination node to the start node included in the scenario integration information A computer characterized by
  7.  請求項2又は請求項3に記載の計算機であって、
     前記状態遷移情報をユーザに提示するための表示情報を生成する入出力部を有することを特徴とする計算機。
    A computer according to claim 2 or claim 3, wherein
    A computer comprising: an input / output unit that generates display information for presenting the state transition information to a user.
  8.  装置の稼働状態の遷移を示す状態遷移情報を生成する計算機の状態遷移情報の生成方法であって、
     前記計算機は、
     プロセッサ、前記プロセッサに接続されるメモリ、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを有し、
     前記状態遷移情報の生成方法は、
     前記プロセッサが、対象の装置の稼働状態を示す複数のメッセージを含む稼働情報を取得し、前記メモリに前記稼働情報を格納する第1のステップと、
     前記プロセッサが、前記対象の装置の一つの状態遷移のパターンに対応するシナリオ毎に前記稼働情報を分割することによって複数のシナリオ情報を生成し、前記メモリに前記複数のシナリオ情報を格納する第2のステップと、
     前記プロセッサが、前記複数のシナリオ情報を統合することによって、前記対象の装置の全ての状態遷移を示す前記状態遷移情報を生成し、前記メモリに前記状態遷移情報を格納する第3のステップと、を含むことを特徴とする状態遷移情報の生成方法。
    A method for generating state transition information of a computer that generates state transition information indicating a transition of an operating state of a device,
    The calculator is
    A processor, a memory connected to the processor, and an interface connected to the processor and connected to an external device;
    The method for generating the state transition information is as follows:
    A first step in which the processor acquires operation information including a plurality of messages indicating an operation state of a target device, and stores the operation information in the memory;
    The processor generates a plurality of scenario information by dividing the operation information for each scenario corresponding to one state transition pattern of the target device, and stores the plurality of scenario information in the memory And the steps
    A third step in which the processor generates the state transition information indicating all the state transitions of the target device by integrating the plurality of scenario information, and stores the state transition information in the memory; A state transition information generation method characterized by comprising:
  9.  請求項8に記載の状態遷移情報の生成方法であって、
     前記第2のステップは、
     前記プロセッサが、前記稼働情報を分割する基準となる基準メッセージを決定する第4のステップと、
     前記プロセッサが、前記基準メッセージに基づいて、前記稼働情報を前記複数のシナリオに分割する第5のステップと、
     前記プロセッサが、前記シナリオに含まれる一つの前記メッセージに対して一つのノードを生成して、前記複数のノードを前記装置の状態として定義する第6のステップと、
     前記プロセッサが、前記複数のノード間を接続するエッジを生成して、前記複数のエッジに前記ノードから出力される前記メッセージを対応付ける第7のステップと、
     前記プロセッサが、前記ノードの識別子、前記ノードの接続先の前記ノードの識別子、及び前記ノードから出力される前記メッセージが対応付けられたエントリを複数含む前記シナリオ情報を生成する第8のステップと、を含み、
     前記第3のステップは、
     前記プロセッサが、前記複数のシナリオ情報の各々に含まれる前記複数のノードのうち、入力される前記メッセージ及び出力される前記メッセージが同一である複数のノードを統合することによって、前記複数のシナリオ情報が統合されたシナリオ統合情報を生成するステップと、
     前記プロセッサが、前記シナリオ統合情報に基づいて前記状態遷移情報を生成するステップと、を含むことを特徴とする状態遷移情報の生成方法。
    The state transition information generation method according to claim 8,
    The second step includes
    A fourth step in which the processor determines a reference message as a reference for dividing the operation information;
    A fifth step in which the processor divides the operation information into the plurality of scenarios based on the reference message;
    A sixth step in which the processor generates one node for one message included in the scenario and defines the plurality of nodes as the state of the device;
    A seventh step in which the processor generates an edge connecting the plurality of nodes, and associates the message output from the node with the plurality of edges;
    An eighth step in which the processor generates the scenario information including a plurality of entries associated with an identifier of the node, an identifier of the node to which the node is connected, and the message output from the node; Including
    The third step includes
    The processor integrates a plurality of nodes having the same input message and a plurality of output messages out of the plurality of nodes included in each of the plurality of scenario information. Generating scenario integration information integrated with
    And a step of generating the state transition information based on the scenario integration information. The method for generating state transition information.
  10.  請求項9に記載の状態遷移情報の生成方法であって、
     前記第3のステップは、
     前記プロセッサが、前記シナリオ統合情報を参照して、入力メッセージを介して一つの前記ノードと接続され、かつ、出力メッセージを介して一つの前記ノードと接続される単連結なノードを検索する第9のステップと、
     前記プロセッサが、前記複数の単連結なノードを統合することによって前記状態遷移情報を生成する第10のステップと、を含むことを特徴とする状態遷移情報の生成方法。
    The method for generating state transition information according to claim 9,
    The third step includes
    The processor refers to the scenario integration information, and searches for a single connected node connected to one of the nodes via an input message and connected to one of the nodes via an output message. And the steps
    And a tenth step in which the processor generates the state transition information by integrating the plurality of single-connected nodes.
  11.  請求項10に記載の状態遷移情報の生成方法であって、
     前記計算機は、前記状態遷移情報の粒度を示す粒度情報を保持し、
     前記第10のステップは、前記プロセッサが、前記粒度情報に基づいて、統合する前記単連結なノードの数を調整するステップを含むことを特徴とする状態遷移情報の生成方法。
    The state transition information generation method according to claim 10,
    The computer holds granularity information indicating the granularity of the state transition information,
    The tenth step includes a step in which the processor adjusts the number of the single connected nodes to be integrated based on the granularity information.
  12.  請求項9又は請求項10に記載の状態遷移情報の生成方法であって、
     前記第4のステップは、
     前記プロセッサが、前記稼働情報を解析するステップと、
     前記プロセッサが、前記メッセージの出現頻度に基づいて、前記基準メッセージを決定するステップと、を含むことを特徴とする状態遷移情報の生成方法。
    A method for generating state transition information according to claim 9 or claim 10, wherein:
    The fourth step includes
    The processor analyzing the operation information;
    And a step of determining the reference message based on the frequency of appearance of the message.
  13.  請求項9又は請求項10に記載の状態遷移情報の生成方法であって、
     前記第3のステップは、前記プロセッサが、前記シナリオ統合情報が生成された後、前記シナリオ統合情報に含まれる終端ノードから始端ノードへのエッジを生成することによって、前記終端ノードから前記始端ノードへの状態遷移を含む前記状態遷移情報を生成するステップを含むことを特徴とする状態遷移情報の生成方法。
    A method for generating state transition information according to claim 9 or claim 10, wherein:
    In the third step, after the scenario integration information is generated, the processor generates an edge from the end node to the start node included in the scenario integration information, thereby causing the end node to the start node. A step of generating the state transition information including the state transition information including the step of generating the state transition information.
  14.  請求項9又は請求項10に記載の状態遷移情報の生成方法であって、
     前記プロセッサが、前記状態遷移情報をユーザに提示するための表示情報を生成するステップを含むことを特徴とする状態遷移情報の生成方法。
    A method for generating state transition information according to claim 9 or claim 10, wherein:
    A method for generating state transition information, wherein the processor includes a step of generating display information for presenting the state transition information to a user.
PCT/JP2016/055518 2016-02-24 2016-02-24 Computer and state transition information generation method WO2017145309A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/055518 WO2017145309A1 (en) 2016-02-24 2016-02-24 Computer and state transition information generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/055518 WO2017145309A1 (en) 2016-02-24 2016-02-24 Computer and state transition information generation method

Publications (1)

Publication Number Publication Date
WO2017145309A1 true WO2017145309A1 (en) 2017-08-31

Family

ID=59686087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/055518 WO2017145309A1 (en) 2016-02-24 2016-02-24 Computer and state transition information generation method

Country Status (1)

Country Link
WO (1) WO2017145309A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10232799A (en) * 1997-02-18 1998-09-02 Fujitsu Ltd Operation log data managing device
JPH11134180A (en) * 1997-10-27 1999-05-21 Nec Corp State transition drawing conversion device
JP2016048506A (en) * 2014-08-28 2016-04-07 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method for estimating format of log message as well as computer therefor and computer program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10232799A (en) * 1997-02-18 1998-09-02 Fujitsu Ltd Operation log data managing device
JPH11134180A (en) * 1997-10-27 1999-05-21 Nec Corp State transition drawing conversion device
JP2016048506A (en) * 2014-08-28 2016-04-07 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method for estimating format of log message as well as computer therefor and computer program

Similar Documents

Publication Publication Date Title
CN108345482A (en) The self-defined edit methods of dynamic page, device, electronic equipment and storage medium
JP6803754B2 (en) Log message grouping device, log message grouping system and log message grouping method
JP2018147261A (en) Model integration device, model integration system, method and program
US20200167202A1 (en) Cold start deployment for edge ai system
JP6256115B2 (en) Operation search program, operation search method, and operation search device
CN104536997A (en) Method and device for data batch processing of client interface
CN104627385B (en) A kind of process visualization decision-making diagnostic system and reasoning and decision method thereof
JP2021170187A (en) Consensus building support device and consensus building support method
KR20210072872A (en) System and Method for User Behavior Analysis and Agent for Collection of Event
JP5651381B2 (en) Failure cause determination rule verification device and program
CN111695584A (en) Time series data monitoring system and time series data monitoring method
CN111723515A (en) Method, device and system for operating operator
CN113778403A (en) Front-end code generation method and device
CN109669967A (en) A kind of space-time data association analysis method based on big data technology
CN104731062A (en) Intelligent network management system and method used for monitoring state and dispatching for instruments
KR20150058709A (en) Integrated system for research productivity and operation managment based on big date technology, and method thereof
JP2010211483A (en) Operability improvement method and screen controller
CN110880128A (en) Abnormal information mining method, device and system and terminal equipment
US20200167652A1 (en) Implementation of incremental ai model for edge system
WO2017145309A1 (en) Computer and state transition information generation method
DE102016102357A1 (en) MONITORING DEVICE AND METHOD
CN103646096B (en) Method and device for generating sub-queries through user configuration
JP6617589B2 (en) Device management method and device management apparatus
JP2011253465A (en) Information processing device, control method and program thereof
JP5345020B2 (en) Clone code detection evaluation apparatus, clone code detection evaluation method and program

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16891466

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16891466

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP