INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
20230142525 ยท 2023-05-11
Inventors
- Aiko OI (Musashino-shi, Tokyo, JP)
- Ryosuke Sato (Musashino-shi, Tokyo, JP)
- Motomu NAKAJIMA (Musashino-shi, Tokyo, JP)
Cpc classification
G06Q10/06
PHYSICS
International classification
Abstract
An information processing device 1 according to an embodiment of the invention includes scenario definition information 17 which holds a scenario including a combination of steps in a workflow expressed using multiple kinds of general tasks, general task definition information 18 which holds an external definition file which defines processing in each of the steps, a general task executing unit 14 which executes a step according to an external definition file corresponding to the step, and a scenario executing unit 13 which selects a scenario corresponding to a received failure alarm and causes the general task executing unit 14 to execute each of the steps according to the scenario.
Claims
1. An information processing device for executing a workflow, the information processing device comprising a processor configured to execute instructions that cause the information processing device to perform operations comprising: holding a scenario including a combination of steps in the workflow expressed using multiple kinds of general tasks; holding definition information which defines processing in each of the steps in a form for each of the general tasks; executing the step according to the definition information corresponding to the step; and selecting the scenario corresponding to a generated event and executing each of the steps according to the scenario.
2. The information processing device according to claim 1, wherein the definition information includes an abstracted setting item, and the instructions cause the information processing device to perform operations including converting the value of the setting item into a form accessible to data to be operated.
3. The information processing device according to claim 1, wherein the general tasks include an external system linkage task to link with an external system, an internal system linkage task to link with a function in the information processing device, an information editing task to operate information managed by the information processing device, and a condition determining task to branch processing according to a condition.
4. The information processing device according to claim 3, wherein the information condition determining task determines a plurality of branch destinations on the basis of a plurality of conditions.
5. An information processing method for executing a workflow, the method comprising: holding a scenario including a combination of steps in the workflow expressed using multiple of kinds of general tasks; holding definition information which defines processing in each of the steps; and selecting the scenario corresponding to a generated event and executing each of the steps of the scenario according to the definition information.
6. A non-transitory computer-readable medium storing a program that, when executed by a computer, causes the computer to perform operations comprising: holding a scenario including a combination of steps in a workflow expressed using multiple of kinds of general tasks; holding definition information which defines processing in each of the steps; and selecting the scenario corresponding to a generated event and executing each of the steps of the scenario according to the definition information.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DESCRIPTION OF EMBODIMENTS
[0020] According to the embodiment, steps in a workflow are expressed by general-purpose tasks (hereinafter simply as general tasks) and general tasks are combined to compose a scenario. The general tasks are loosely coupled and can be freely combined.
[0021]
[0022] In the construction information obtaining step shown in
[0023] In the troubleshooting information obtaining step shown in
[0024] In the device information obtaining step in
[0025] In the compound condition determination A shown in
[0026] At the branch destinations A1 and A4, the maintenance person is notified. At the branch destination A2, handover information is obtained and a ticket for the handover work is issued. At the branch destination A3, remote resetting is performed. In other words, if there is a failure alarm caused by a construction, or if a failure is in the process of troubleshooting, the maintenance person is notified of the state, and if the device cannot be reset remotely, the work is handed over, while if the device can be reset remotely, remote resetting is performed.
[0027] According to the embodiment, as shown in
[0028] The processing (data operation such as extraction, formatting, and processing) in each step is defined by an external definition file of abstracted setting items in a form for each of general tasks as shown in
[0029] The information processing device refers to an external definition file which defines each step using the function for processing general tasks and executes the processing according to the external definition file. In other words, the information processing device converts the values of abstracted setting items on the external definition file into a data format accessible to various databases and various kinds of definition information and executes obtaining, updating, and deletion of various kinds of information. In this way, readability can be maintained by hiding complex settings, such as the data structure of the databases in the external system and the information processing device, data distribution consistency can be maintained between steps, and the user of the general tasks do not need advanced skills.
[0030] As described above, according to the embodiment, a workflow is expressed by combining steps using general tasks, and detailed settings for processing in each of the steps are defined in an external definition file, so that the sequential workflow and the processing in each of the steps are managed separately, which makes it easier to create workflows (scenarios).
[0031] The number of general tasks is not limited to four or the number is not limited to those shown in
[0032] Now, referring to
[0033] The receiving unit 11 receives a failure alarm (event) and passes the received failure alarm to the scenario activating unit 12. If multiple failure alarms are received, the receiving unit 11 may select a failure alarm which is a root cause and pass the alarm to the scenario activating unit 12.
[0034] In response to the failure alarm, the scenario activating unit 12 selects a corresponding scenario and calls the scenario executing unit 13.
[0035] The scenario executing unit 13 obtains the corresponding scenario from the scenario definition information 17 and causes the general task executing unit 14 to execute each of the steps in the scenario. The scenario executing unit 13 may include a commercially available workflow engine.
[0036] The general task executing unit 14 reads the external definition file of a step to be executed in response to an instruction from the scenario executing unit 13 and executes the step according to the external definition file. The general task executing unit 14 in
[0037] The task control function 141 reads the external definition file of the step to be executed from the general task definition information 18 and operates or stops the external system linkage function 142, the internal system linkage function 143, the information editing function 144, and the condition determining function 145 according to the external definition file.
[0038] The external system linkage function 142, the internal system linkage function 143, the information editing function 144, and the condition determining function 145 respectively execute the processing of general tasks for the external system linkage, the internal system linkage, the information editing, and the condition determination according to the external definition file.
[0039] The managing unit 15 includes various databases and various kinds of definition information and manages information necessary for scenario execution and task execution. For example, the managing unit 15 manages the scenario execution state, scenario thread management information, event monitoring information, and event definition information referred to by the scenario executing unit 13 and manages task resources, task processing information, and server/account information referred to by the general task executing unit 14. As a specific example, in the construction information obtaining step, the troubleshooting information obtaining step, and the device information obtaining step in
[0040] In the external definition file, the various databases and various definition information that make up the managing unit 15 are abstracted as setting items, their values are defined, and data operation contents such as setting/changing/deleting are specified. The values of the abstracted setting items are converted by the task executing unit 14 into a data format accessible to the various databases and various definition information.
[0041] The linkage unit 16 calls the interface with the external system or the internal system in response to an instruction from the general task executing unit 14.
[0042] The scenario definition information 17 holds a scenario including a combination of steps expressed using multiple types of general tasks.
[0043] The general task definition information 18 holds an external definition file which defines processing in each of the steps expressed using general tasks.
[0044] Now, the operation of the information processing device 1 according to the embodiment will be described with reference to the flowchart in
[0045] In step S11, the information processing device 1 receives an event.
[0046] In step S12, the information processing device 1 selects a scenario corresponding to the received event.
[0047] In step S13, the information processing device 1 starts to execute the scenario.
[0048] In step S14, the information processing device 1 executes steps which compose the scenario according to the external definition file.
[0049] As described above, the information processing device 1 according to the embodiment has the scenario definition information 17 that holds a scenario including a combination of steps in a workflow expressed using multiple types of general tasks, the general task definition information 18 which holds an external definition file which defines processing in each of the steps, and the general task executing unit 14 which executes a step according to an external definition file corresponding to the step, and the scenario executing unit 13 which selects a scenario according to a received failure alarm and causes the general task executing unit 14 to execute each of the steps according to the scenario. As a result, the information processing device 1 according to the embodiment can express each of the steps in the workflow using general tasks and can easily create a workflow by combining the steps. The information processing device 1 according to the embodiment can also easily create a workflow by managing a series of operation flows and processing in the steps separately.
[0050] For example, the information processing device 1 described above may be a general-purpose computer system including a central processing unit (CPU) 901, a memory 902, a storage 903, a communication device 904, an input device 905, and an output device 906 for example as shown in
REFERENCE SIGNS LIST
[0051] 1 Information processing device [0052] 11 Receiving unit [0053] 12 Scenario activating unit [0054] 13 Scenario executing unit [0055] 14 General task executing unit [0056] 15 Managing unit [0057] 16 Linkage unit [0058] 17 Scenario definition information [0059] 18 General task definition information