This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2014-071195, filed on Mar. 31, 2014, the entire contents of which are incorporated herein by reference.
The present invention relates to a prediction program, a prediction apparatus, and a prediction method.
Business systems (for example, customer management systems) need to detect an abnormality early which occurs while the system is in operation to expeditiously deal with the abnormality. Furthermore, to prevent a possible abnormality, for example, checks of various parameters (hereinafter referred to as operation processes) need to be periodically executed. The operation processes include, for example, processes from which subsequent processes branch depending on a situation (hereinafter referred to as determination processes) and processes that need judgment or operation performed by an operator (human being) depending on the situation (hereinafter referred to as tasks).
For such operation processes, a technique is present which automatically executes processes that can be automated, in accordance with a preset work flow, and which, for tasks, manages a schedule to prompt an operator to perform work (see, for example, Japanese Patent Application Laid-open No. 2004-13769, Japanese Patent Application Laid-open No. 2001-155062, and Japanese Patent Application Laid-open No. H10-97573).
The above-described technique allows the operator to recognize time to perform a task (time when the task is to occur). However, depending on task occurrence timing, the task that needs to be processed within a certain time may exceed the operator's processing capacity. Thus, the operator needs to pre-recognize whether the task is to occur in order to prevent a delay in the process and subsequent processes.
Furthermore, whether or not the task is to occur depends on, for example, the branching result of the determination process. The branching result of the determination process varies depending on the situation at the time of execution of the determination process. Thus, predetermining whether or not the task is to occur is difficult.
According to an aspect of the embodiments, a non-transitory computer-readable storage medium storing a prediction program that causes a computer to execute a process includes: storing accumulated information in a storage unit, in association with a task having previously occurred, the task being a process that needs work performed by an operator, from among a plurality of operation processes executed by an information processing apparatus, the accumulated information including a status information on the information processing apparatus obtained at a time of execution of a determination process from which subsequent processes branch depending on a determination result and which is executed before a task to be predicted, and a branching result of the determination process; and predicting whether the task is to occur after a predetermined timing based on the status information on the information processing apparatus obtained at the predetermined timing and the accumulated information.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
Embodiments of the present invention will be described below in accordance with the drawings. However, the technical scope of the present invention is not limited to the embodiments and includes matters recited in the claims and equivalents thereto. First, a hardware configuration of an information processing system will be described.
[Configuration of Information Processing Apparatus]
The information processing apparatus 1, for example, monitors an operation status of the server group 3 that is in operation (a state in which the server group 3 is serving a customer). Specifically, the information processing apparatus 1 monitors the operation status of the server group 3 by executing a plurality of operation processes for monitoring various parameters indicating the operation status of the server group 3.
The client terminal 2 is a terminal that displays the operation status acquired by the information processing apparatus 1 by monitoring the server group 3. Furthermore, the client terminal 2 activates an alarm when, for example, the information processing apparatus 1 detects an abnormality in the server group 3. An operator in the data center 4 checks the client terminal 2 to identify the operation status of the server group 3.
The server group 3, for example, periodically transmits information on the operation status of the server group 3 to the information processing apparatus 1. The information processing apparatus 1 may monitor the operation status of the server group 3 based on the transmitted information on the operation status.
The information processing apparatus 1 has a CPU 101 that is a processor, a memory 102, a storage medium 103 (hereinafter also referred to as a storage unit 103), and an external interface (I/O unit) 104. The CPU 101, the memory 102, the storage medium 103, and the external interface 104 are connected together via a bus 105.
The storage medium 103, for example, stores a program 110 for predicting whether a task is to occur. Furthermore, the storage medium 103, for example, stores information used to execute the program 110. When executing the program 110, the CPU 101 loads the program 110 into the memory 102 and cooperates with the program 110 in executing a process of predicting whether the task is to occur.
The automatic-operation control unit 111 prepares an automatic-operation schedule (hereinafter also referred to as an automatic execution process) according to which operation processes are executed to automatically execute operation processes that can be automatically executed. An automatic execution process created by the automatic-operation control unit 111 will be described with reference to
For a task having previously occurred, the accumulated information storage unit 112 stores accumulated information 122 resulting from association, with the task, of the status information on the status of the information processing apparatus 1 at the time of execution of a determination process from which subsequent processes branch depending on a determination result and which is executed before the task, and the branching result of the determination process. The accumulated information 122 will be described with reference to
Based on the status information on the information processing apparatus 1 at a predetermined timing and the accumulated information stored in the accumulated information storage unit 112, the task occurrence prediction unit 113 predicts whether the task is to occur after the predetermined timing.
The abnormal-route exclusion unit 114 excludes, from among execution routes corresponding to the order of execution of the operation processes possibly executed by the information processing apparatus 1, an execution route which is passed when the branching result of the determination process is abnormal. The task occurrence prediction unit 113, for example, performs prediction of whether the task is to occur, on execution routes that are not excluded by the abnormal-route exclusion unit 114.
The normal-route selection unit 115 selects a single execution route that meets a predetermined condition when a plurality of execution routes are present which have not been excluded by the abnormal-route exclusion unit 114. The task occurrence prediction unit 113, for example, performs prediction of whether the task is to occur, on the execution route selected by the normal-route selection unit 115.
The task time prediction unit 116 predicts a timing when the task is to occur by calculating the sum of the processing time of the operation processes executed before the task. Furthermore, the processing time storage unit 117 stores the processing time of the executed operation processes (hereinafter also referred to as processing time history information 124). The task time prediction unit 116, for example, calculates the sum of the processing time based on the processing time history information 124 stored in the processing time storage unit 117. Additionally, the task time limit adjustment unit 118 warns an operator when the time when the task is to occur that is predicted by the task time prediction unit 116 follows an occurrence time limit (or a process completion time limit) for the task. Alternatively, the task time limit adjustment unit 118 corrects the occurrence time of the task.
The operation process management information 121 is information on operation processes which is used by the automatic-operation control unit 111 to create an automatic execution process. Furthermore, the accumulated information 122 is information resulting from association, with a task, of the above-described status information on the information processing apparatus 1 and the branching result of the determination process. The accumulated information 122 is stored in the accumulated information storage unit 112. Additionally, the initial processing time information 123 is an initial value for the processing time of each operation process. The processing time history information 124 is history information on the processing time of previously executed operation processes. In addition, the number-of-task-executions information 125 is information on the number of times that each task is executed during an automatic execution process.
[Automatic Execution Process]
Now, the automatic execution process created by the automatic-operation control unit 111 will be described.
The automatic-operation control unit 111 creates an automatic operation process based on input information pre-input by the operator or information on operation processes stored in the operation process management information 121. The automatic operation process specifies the order of execution of operation processes and the execution time of the operation processes. In accordance with the automatic operation process, the automatic-operation control unit 111 executes operation processes that can be automatically executed (hereinafter also referred to as operation manipulation components) based on a specified order of execution and a specified execution time. Furthermore, tasks that are not automatically executed are, for example, displayed on the client terminal 2 to prompt the operator to execute the task.
In the automatic execution process in the example in
Furthermore, each of the operation processes has one or more exits. In the example in
The operation process is a process executed by the information processing apparatus 1 to actually operate the monitoring target server group 3. The automatic-operation control unit 111 sequentially executes operation processes in accordance with the automatic execution process. Furthermore, the operation processes include determination processes from which subsequent processes branch depending on the determination result. Thus, the execution route corresponding to the order of operation processes executed by the automatic-operation control unit 111 varies depending on the results of branching from determination processes. In the present embodiment, the determination process is an operation manipulation component and is an operation process with two or more normality-related exits. In the example in
In the example in
Upon determining that the service is stopped (“stopped” in S102), the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “stopped”. Then, the automatic-operation control unit 111 initiates the service in accordance with the automatic execution process (S103). Moreover, the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “success” to start a work unit (S104). Then, the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “success” to prompt the operator to perform a parameter check (S105). Then, when the operator inputs the result of the parameter check (accept or reject), the automatic-operation control unit 111 determines that the automatic execution process in the example in
On the other hand, upon determining that the service is in operation as a result of the service initiation check performed on the monitoring target server group 3 in accordance with the automatic execution process (“in operation” in S102), the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “in operation”. Then, the automatic-operation control unit 111 reboots the OS (S108). Moreover, the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “success” to restart the work unit (S109). Then, the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “success” to prompt the operator to perform a parameter check (S110). Then, when the operator inputs the result of the parameter check (accept or reject), the automatic-operation control unit 111 determines that the automatic execution process in the example in
Furthermore, upon failing in the execution of the operation process in S102 to S104, S108, or S109, the automatic-operation control unit 111 proceeds, in each case, to a route connecting to the exit with the attribute “fail”. In this case, for example, the automatic-operation control unit 111 transmits the status to a person in charge of development of the operation process by mail (S113). Then, upon completing the mail transmission (S113), the automatic-operation control unit 111 determines, in the example in
The automatic execution process in
Thus, in the present embodiment, the status information obtained at the time of execution of a determination process that is executed before a task that is a process needing work performed by the operator and the branching result of the determination process are stored in association with the task, to predict the task that is to occur in the future.
First, a first embodiment will be described.
[Accumulated Information Storage Process]
The accumulated information storage unit 112 stand by until a determination process that is executed before a prediction target task is carried out (NO in S1). Then, when the determination process is carried out (YES in S1), the accumulated information storage unit 112 in the information processing apparatus 1 acquires the status information on the monitoring target server group 3 at the time of execution of the determination process that is executed before the task (S2).
The status information is information acquired based on the operation status of the monitoring target server group 3. The status information corresponds to, for example, the operating rate of a CPU, the line speed of communication with other servers, or a free space in a backup medium. A case where the status information is the free space in the backup medium will be described by way of example.
On the other hand, upon determining that a medium change needs to be performed because a sufficient medium free space does not remain and the backup process is expected not to complete normally (S121), the automatic-operation control unit 111 proceeds to a route connecting to the exit with the attribute “abnormal”. Then, the automatic-operation control unit 111 performs a medium change (S123) and then carries out backup in accordance with the automatic execution process (S122).
In the example in
The left side of
The process will further be described with reference to
The accumulated information 122 results from association, with a task on which occurrence prediction is to be performed, of the status information on the status of the monitoring target server group 3 obtained at the time of execution of the determination process that is executed before the take on which occurrence prediction is to be performed and the branching result of the determination process. A specific example of the accumulated information will be described.
That is, in the example in
The determination process that is executed before the prediction target task is carried out before the prediction target task, and the branching result of the determination process affects occurrence of the task. Thus, when a plurality of determination processes that affects occurrence of the task is present on the automatic execution process, the accumulated information storage unit 112 may acquire the status information on the statuses of the plurality of determination processes at the time of execution of the processes. Alternatively, when a plurality of determination processes that affects occurrence of the task is present, the accumulated information storage unit 112 may acquire only the status information on a determination process with an execution timing temporally closest to the prediction target task (the last determination process).
[Task Generation Prediction Process]
The task occurrence prediction unit 113 in the information processing apparatus 1 stands by until upon receiving a task occurrence prediction instruction (NO in S4). Then, upon receiving a task occurrence prediction instruction (YES in S4), the task occurrence prediction unit 113 acquires status information on the status at a predetermined timing (S5). The task occurrence instruction is, for example, manually given by the operator via the client terminal 2. Furthermore, for example, a timer may be provided in the information processing apparatus 1 so that the task occurrence prediction unit 113 can start predicting whether the task is to occur, based on the time on the timer.
Then, based on the acquired status information obtained at the predetermined timing and the accumulated information 122 stored in the accumulated information storage unit 112, the task occurrence prediction unit 113 predicts whether the task is to occur after the predetermined timing (S6).
The predetermined timing in S5 and S6 precedes occurrence of the prediction target task. Specifically, the predetermined timing corresponds to each operator's operation start time. That is, the task occurrence prediction unit 113 acquires, at the operation start time (for example, 10 a.m.) of an operator who may execute a task within the operator's operation time, “freeSpace”, the status information on the status of the monitoring target server group 3 at the operation start time (S5). As the information on the operation time and the operation start time, for example, the task occurrence prediction unit 113 may use information pre-registered in the information processing apparatus 1 by the operator.
Then, based on the acquired “freeSpace” and accumulated information 122, the task occurrence prediction unit 113 predicts the branching result of the determination process before the prediction target task (task that occurs after the predetermined timing) occurring within the operator's operation time (for example, 10 a.m. to 7 p.m.). Then, based on the predicted branching result of the determination process, the task occurrence prediction unit 113 predicts whether the prediction target task is to occur (S6). When the operation start time varies depending on the operator, whether the task is to occur after each operation start time is predicted based on the information obtained at the operation start time and the accumulated information 122.
The status information obtained at the predetermined timing may be, for example, the latest information of the status information that can be acquired by the task occurrence prediction unit 113. Furthermore, the status information obtained at the predetermined timing may be, for example, acquired by the task occurrence prediction unit 113 in response to reception of a task occurrence prediction instruction. A specific example of task occurrence prediction will be described based on the accumulated information 122 in the example in
In the example in
Specifically, upon acquiring “2000 GB” as “freeSpace” present at the operation start time, the task occurrence prediction unit 113 predicts that the branching result of the determination process is to be “normal” because “2000 GB” is more than “1840 GB”, which is determined to be “normal”.
On the other hand, upon acquiring “10 GB” as “freeSpace” present at the operation start time, the task occurrence prediction unit 113 predicts that the branching result of the determination process is to be “abnormal” because “10 GB” is less than “50 GB”, which is determined to be “abnormal”. Thus, the task occurrence prediction unit 113 predicts that the task “medium change” is to occur.
Furthermore, it is assumed that the task occurrence prediction unit 113 acquires “1200 GB” as “freeSpace” present at the operation start time. Then, since “1200 GB” is a value midway between “1840 GB”, which is determined to be “normal”, and “50 GB”, which is determined to be “abnormal”, the task occurrence prediction unit 113 fails to predict the branching result of the determination process based on the accumulated information 122 in the example in
That is, the task occurrence prediction unit 113 checks the information stored in the accumulated information 122 based on the status information obtained at the predetermined timing. The task occurrence prediction unit 113 thus predicts whether the task is to occur by utilizing information in the accumulated information 122 which allows prediction of whether the task is to occur after the predetermined timing.
Furthermore, when the medium free space changes between the operator's operation start time (predetermined timing) and the time of the determination process, the task occurrence prediction unit 113 may predict whether the task is to occur taking into account the value of a decrease in the medium free space during a period between the predetermined timing and the time of the determination process. Prediction of whether the task is to occur when the medium free space changes during the period between the predetermined timing and the time of the determination process will be described with reference to
Thus, according to the present embodiment, for a task having previously occurrence, the accumulated information storage unit 112 stores the accumulated information resulting from association, with the task, of the status information obtained at the time of execution of a determination process from which subsequent processes branch depending on the determination result and which is executed before the task, and the branching result of the determination process. Furthermore, based on the status information on the status at the predetermined timing and the accumulated information stored in the accumulated information storage unit 112, the task occurrence prediction unit 113 predicts whether the task is to occur after the predetermined timing. Thus, an execution route along which the actual operation is performed can be predicted, enabling the operator to preliminarily know whether the task is to occur. Consequently, by determining the time zone when work concentrates, the operator can prevent a delay in subsequent processes. Additionally, the operator prevents a delay in subsequent processes and thus need not pre-recognize tasks that may occur. Therefore, the processing load on the operator can be reduced.
[Details of the First Embodiment]
Now, the details of the first embodiment will be described.
[Details of the Accumulated Information Storage Process]
As depicted in
The accumulated information storage unit 112 may acquire the second free space in the storage medium so as to, for example, set a constant time difference (for example, three hours) between the time of acquisition of the second free space and the time of acquisition of the first free space. Furthermore, the accumulated information storage unit 112 may, for example, acquire the second free space at predetermined times (for example, 10 o'clock and 22 o'clock every day). Moreover, the accumulated information storage unit 112 may, for example, acquire, at the operator's operation start time, the second free space in order to predict tasks that may occur during the operator's operation time.
When the time difference between the time of acquisition of the second free space and the time of acquisition of the first free space is not constant, the accumulated information storage unit 112 may, for example, also store the information obtained at the time of acquisition of the second free space and the time of acquisition of the first free space, in the accumulated information 122. Furthermore, the accumulated information storage unit 112 may, for example, store information on the time difference between the time of acquisition of the second free space and the time of acquisition of the first free space in the accumulated information 122 instead of the information obtained at the time of acquisition of the second free space and the time of acquisition of the first free space.
That is, unlike in the case in
[Details of the Task Occurrence Prediction Process]
[S21 to S23 in
As depicted in
Then, the task occurrence prediction unit 113 executes a normal-route selection process to select one execution route on which whether the task is to occur is predicted (S23). Normal routes are those of the execution routes in the automatic execution process which end normally. That is, the task occurrence prediction unit 113 selects one normal route highly expected to be actually executed. Then, the task occurrence prediction unit 113 predicts whether a task that may occur on the selected normal route is to occur. Thus, the task occurrence prediction unit 113 can predict whether a task highly expected to occur in the actual operation is to occur. The task occurrence prediction unit 113 may predict tasks that may occur, for all the normal routes. Alternatively, the task occurrence prediction unit 113 may predict whether tasks are to occur including those which may occur on those of the routes in the automatic execution process which end abnormally (hereinafter also referred to as abnormal routes). The details of the normal-route selection process (S23) will be described with reference to
[S24 in
Then, the task occurrence prediction unit 113 classifies the task on the selected normal route (S24). The tasks may be classified into, for example, “accept”, “parameter input”, “check/determine”, and “work”. The “accept” is, for example, input by the operator upon checking the execution state of the operation manipulation component to find no problem. Furthermore, the “parameter input” is a task in which, for example, the operator inputs parameters, for example, in selecting a monitoring target server group. Additionally, the “check/determine” is a task in which, for example, the operator checks actual machines (monitoring target server group 3) to input determination of whether or not to continue the execution of the process. In addition, the “work” is a task that needs work such as a change of the medium which is done by the operator upon checking for a medium free space.
When, for example, the task is present immediately after the start of the automatic execution process, is provided with a form displaying the values of variables, and further involves a plurality of selections, the task occurrence prediction unit 113 may determine the task to be “accept”. Furthermore, when, for example, an input form for the variables is present, the task occurrence prediction unit 113 may determine the task to be “parameter input”. Alternatively, when, for example, the task is not present immediately after the start of the automatic execution process, is provided with a form displaying the values of variables, and further involves a plurality of selections, the task occurrence prediction unit 113 may determine the task to be “accept”. Additionally, when, for example, a file corresponding to an operational procedure is attached, a hyperlink is present, or the form is described in 10 lines or more, the task occurrence prediction unit 113 may determine the task to be “work”.
Furthermore, the task occurrence prediction unit 113 may, for example, predict whether the task is to occur only for tasks that need a long processing time. In the example in
[S25 and S26 in
Then, when the task on the normal route selected in S23 is “check/determine” or “work” (YES in S25), then based on the status information obtained at a predetermined timing (for example, the operator's operation start time) and the accumulated information 122 stored in the accumulated information storage unit 112, the task occurrence prediction unit 113 predicts whether the task is to occur after the predetermined timing (S26). The details of prediction of whether the task is to occur will be described below.
[Prediction of Whether the Task is to Occur]
In S26, the task occurrence prediction unit 113 predicts a reference used for the determination in the determination process. Specifically, the task occurrence prediction unit 113 determines a boundary line (hereinafter also referred to as a first line) based on the accumulated information 122. Then, the task occurrence prediction unit 113 predicts whether the task is to occur in the future using the determined boundary line as a prediction reference.
First, the task occurrence prediction unit 113 determines the mean value (hereinafter also referred to as a first value) of the first free spaces in the accumulated information 122 which are determined to be “abnormal”. That is, the following Equation (1) holds true.
First value=the sum of the first free spaces determined to be abnormal/the number of the first free spaces determined to be abnormal (1)
In the example in
Then, the task occurrence prediction unit 113 determines the value of a change in free space per unit time based on the difference between the first free space in the accumulated information 122 and the second free space corresponding to the first free space. The task occurrence prediction unit 113 then determines the mean value (hereinafter also referred to as a second value) of the determined values of a change in free space. That is, Equations (2) and (3) hold true.
Value of a change in free space per unit time=(first free space−second free space)/time difference between the time of acquisition of the second free space and the time of acquisition of the first free space (2)
Second value=the sum of values of a change in free space per unit time/the number of pieces of information stored in the accumulated information 122 (3)
In the example in
Moreover, the task occurrence prediction unit 113 adds “−60”, “−45”, “−50”, and “−45” in accordance with Equation (3). The task occurrence prediction unit 113 then determines the sum of the values of a change in free space per unit time to be “−200”. The task occurrence prediction unit 113 then divides the calculated sum of the values of a change in free space per unit time, “−200”, by the number of pieces of information (first free space and second free space) stored in the accumulated information 122, “4”. The task occurrence prediction unit 113 thus determines the second value to be “−50”.
Then, the task occurrence prediction unit 113 determines, in a graph in which the axis of abscissas represents the time and the axis of ordinate represents the free space, the first line passing the first value at the time of execution of the determination process and having a gradient of the second value.
When it is preliminarily clear that the time difference between the time of acquisition of the first free space (the time of execution of the determination process) and the time of acquisition of the second free space is constant, the task occurrence prediction unit 113 may determine the second value as illustrated by Equations (4) and (5).
Free space change value=first free space−second free space (4)
Second value=the sum of free space change values/the number of pieces of information stored in the accumulated information 122 (5)
For example, when, for a certain task, the acquisition of the first free space (execution of the determination process) and the acquisition of the second free space are performed at predetermined times every day, the time difference between the time of acquisition of the first free space (the time of execution of the determination process) and the time of acquisition of the second free space in the accumulated information 122 is constant. Thus, by determining the second value using Equations (4) and (5), the task occurrence prediction unit 113 can calculate the second value without determining the value of a change in free space per unit time as in the case of Equations (2) and (3). Thus, the task occurrence prediction unit 113 need not store the information obtained at the time of acquisition of the first free space and the information obtained at the time of acquisition of the second free space, in the accumulated information 122 or the like, in order to determine the value of a change in free space per unit time.
Now, prediction of the branching result of the determination process using the boundary line will be described.
Then, when the medium free space present at the operator's operation start time (hereinafter also referred to as a third free space) is smaller than a value on the first line corresponding to a predetermined timing, the task occurrence prediction unit 113 predicts the determination of a determination process that is executed after the predetermined timing is abnormal. Specifically, as depicted in
The task occurrence prediction unit 113 performs prediction on the assumption that the medium free space changes along the first line in
[S27 to S29 in
The process will further be described with reference back to
[Normal-Route Selection Process (S23)]
Now, the details of the normal-route selection process will be described. As described with reference to
The process will further be described with reference back to
The example in
First, the normal-route selection unit 115 excludes nodes present on both of the two execution routes to be compared with each other (execution route No. 3 and execution route No. 2) (S34). This is because the nodes present on both of the two execution routes do not affect the result of comparison. In
Then, the normal-route selection unit 115 rearranges the nodes included in the two routes in the order of development from the latest development to the oldest development (S35).
In
Then, the normal-route selection unit 115, for example, determines whether or not the latest node and the other nodes of the leading four nodes of the node strings belong to a first route (S36). In the description below, the execution route No. 2 is defined as a first route, and the execution route No. 3 is defined as a second route.
In the example in
On the other hand, when, in the example in
Upon performing the comparison in S34 to S38 on all the execution routes (for the example in
On the other hand, when the comparison has not been finished for all the execution routes (NO in S40), the normal-route selection unit 115 selects the execution routes that have not been excluded in S37 or S38 and execution routes that have not been compared with each other yet (S41), and performs the comparison from S34 to S38 on these execution routes.
[Abnormal-Route Exclusion Process (S31)]
Now, the details of the abnormal-route exclusion process (S31) will be described.
Abnormal routes include, for example, execution routes that have ended abnormally, execution routes connecting to abnormality-related exits described with reference to
In the abnormal-route exclusion process (S31), first, the abnormal-route exclusion unit 114 extracts all the execution routes in the automatic operation process (S51) and sets the first execution route to be a verification target execution route (S52). When the verification target route is an execution route that ends abnormally (NO in S53), the abnormal-route exclusion unit 114 excludes the verification target route that ends abnormally (S54). The abnormal-route exclusion unit 114 sets the next execution route to be the verification target route (S55).
On the other hand, when the verification target route is an execution route that ends normally (YES in S53), the abnormal-route exclusion unit 114 sets the first node to be a verification target node (S56). Then, when an exit with an abnormality-related attribute is present at the verification target node (NO in S57), the abnormal-route exclusion unit 114 excludes, from the verification target route, a route connecting to the exit with the abnormality-related attribute (S58). The abnormal-route exclusion unit 114 then sets the next node to be the verification target route (S59).
Now, a case where all the exits at the verification target node are related to normality will be described (YES in S57). When the verification target node is a task (YES in S60) and the exit with the attribute “reject” is present at the verification target node (NO in S61), the abnormal-route exclusion unit 114 deletes routes connecting to the exits of the verification target node with the attribute “reject” (S62). When the verification target node is not a task, that is, when the verification target node is an operation manipulation component (NO in S60) and when the verification target node is a task and all the exits have the attribute “accept” (YES in S60 and YES in S61), the abnormal-route exclusion unit 114 excludes no execution route.
Then, when the verification has been finished for all the execution routes and all the nodes in the automatic operation process (YES in S63 and YES in S64), the abnormal-route exclusion unit 114 ends the abnormal-route exclusion process (S31). When the verification has not been finished for all of the nodes in the automatic operation process (NO in S63), the abnormal-route exclusion unit 114 sets the next node to be the verification target node (S59) to continue the verification. Furthermore, when the verification has not been finished for all of the routes in the automatic operation process (NO in S64), the abnormal-route exclusion unit 114 sets the next execution route to be the verification target route (S55) to continue the verification.
[Task Time Prediction Process]
Now, a task time prediction process will be described. The task time prediction process predicts the time when a task in the automatic execution process is to occur. The task time prediction process predicts when the task predicted to occur by the task occurrence prediction unit 113 described with reference to
First, the task time prediction unit 116 acquires a list of nodes (operation management components or tasks) executed before a task in the normal route selected in the task occurrence prediction process (S71). When, for example, a plurality of monitoring target servers 3 is present, the node that is executed before the task is carried out on each of the plurality of servers 3.
Furthermore, the number of servers 3 on which the node needs to be executed may be changed depending on the operation status at the time of execution of the node. Thus, the task time prediction unit 116 preferably acquires the list of the nodes executed before the task each time the task time prediction unit 116 predicts a task occurrence time. The task time prediction unit 116 may acquire the number of servers 3 on which each node is executed using a prepared conditional expression.
Then, the task time prediction unit 116 resets a task time prediction counter (S72), and sets the first node of the nodes acquired in S61 to be a calculation target node (S73).
Then, when the processing time of the calculation target node is present in the execution history (YES in S74), the task time prediction unit 116 adds the processing time in the execution history to the task time prediction counter (S75). On the other hand, when the processing time of the calculation target node is not present in the execution history (NO in S74), the task time prediction unit 116 adds a preset initial value for the processing time to the task time prediction counter (S76).
A case will be described where, in the example in
Specifically, in the example in
The process will further be described with reference back to
That is, the task time prediction unit 116 calculates the processing time of the node that is executed before the task in the normal route, based on the initial processing time information 123 or the processing time history information 124. Thus, the task time prediction unit 116 can acquire the predicted time from the operation start in the automatic execution process to the start of processing of the prediction target task. Consequently, the operator can acquire not only the prediction of whether the task is to occur but also the prediction of the task occurrence time before the task occurs.
When each operation manipulation component involves processing in a plurality of servers, the servers may execute the processing in series as in the example in
[Task Time Limit Adjustment Process]
Now, a task time limit adjustment process will be described.
The task time limit adjustment process involves adjusting (correcting) the task occurrence time predicted by the task time limit adjustment process. Specifically, when the task occurrence time predicted in the task time prediction process described in
First, when the task occurrence time predicted by the task time prediction unit 116 is later than the processing time limit (or the time limit on occurrence of the task) on the task (S81), task time limit adjustment unit 118 checks for the number of executions of the prediction target task based on the number-of-task-executions information 125 (S82).
Then, when the number of executions of the prediction target task is equal to or larger than a predetermined number (for example, at least 10) (YES in S72), the task time limit adjustment unit 118 warns the operator that completion of task processing will be delayed (S73). Furthermore, when the number of executions of the prediction target task is equal to or smaller than the predetermined number (NO in S72), the task time limit adjustment unit 118 corrects the predicted task occurrence time to a time before the time limit (S74).
That is, when the number of executions of the prediction target task is equal to or larger than the predetermined number, the task time prediction unit 116 has predicted the task occurrence time based on the past history and is thus reliable. Thus, the task time limit adjustment unit 118 deals with this situation by warning the operator that completion of processing of the task will be delayed.
On the other hand, when the number of executions of the prediction target task is equal to or smaller than the predetermined number, the task time prediction unit 116 may have been predicted the task occurrence time based on the initial processing time information 123. Thus, the prediction is expected not to be reliable. Consequently, the task time limit adjustment unit 118 corrects the predicted task occurrence time.
In the example in
On the other hand, for the task “medium check”, the time limit on occurrence of the task is “2014-01-21, 17:20”, whereas the predicted task occurrence time is “2014-01-21, 18:50”. That is, the predicted task occurrence time is later than the time limit on occurrence of the task. Thus, when the task “medium check” has been performed at least a predetermined number of times, the task time limit adjustment unit 118 warns the operator that completion of processing of the task will be delayed. Furthermore, when the number of executions of the task “medium check” is equal to or smaller than the predetermined number, the task time limit adjustment unit 118 corrects the predicted task occurrence time.
Now, a second embodiment will be described.
As depicted in
The storage medium 103 stores, for example, a program 110 that predicts whether a task is to occur, and a program 210 that provides a service to clients (for example, an operation program). Furthermore, in the example in
The second embodiment allows the information processing apparatus 1 to internally monitor the information processing apparatus 1 providing the service. Thus, the service can be monitored without provision of a separate monitoring server.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2014-071195 | Mar 2014 | JP | national |