CN106293897B - Automatic scheduling system of subassembly - Google Patents

Automatic scheduling system of subassembly Download PDF

Info

Publication number
CN106293897B
CN106293897B CN201510249656.1A CN201510249656A CN106293897B CN 106293897 B CN106293897 B CN 106293897B CN 201510249656 A CN201510249656 A CN 201510249656A CN 106293897 B CN106293897 B CN 106293897B
Authority
CN
China
Prior art keywords
component
flow
knowledge base
offset correction
execution result
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510249656.1A
Other languages
Chinese (zh)
Other versions
CN106293897A (en
Inventor
俞松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to CN201510249656.1A priority Critical patent/CN106293897B/en
Publication of CN106293897A publication Critical patent/CN106293897A/en
Application granted granted Critical
Publication of CN106293897B publication Critical patent/CN106293897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A component automated dispatch system, comprising: an editing module configured to edit a component flow; a standard value setting module configured to set a standard value of an execution result of an operation of the component flow; an execution module configured to execute a component flow; an execution result comparison module configured to compare the execution result of the component flow operation with a standard value, thereby determining whether there is a deviation between the execution result and the standard value; an offset correction module configured to generate an offset correction flow for correcting the offset, wherein when the execution result comparison module determines that there is an offset between the execution result and the standard value, the offset correction module generates the offset correction flow and executes the offset correction flow so that the execution result comparison module further compares that there is no offset between the obtained execution result and the standard value; and when the execution result comparison module judges that the execution result does not deviate from the standard value, the component flow of the component automatic scheduling is finished.

Description

Automatic scheduling system of subassembly
Technical Field
The present invention relates generally to the field of job (component-wise) automation management, in which methods for implementing a result standard and correcting a standard deviation can be configured.
Background
At present, along with the continuous deepening of information technology, the IT system of enterprise and mechanism is gradually complicated, and on the one hand, the degree of difficulty of the operation, maintenance and management of IT system is constantly increasing, becomes a burden of enterprise. On the other hand, the dependence of enterprise business on IT systems is getting stronger, IT has become a core part of many business processes, even the basis on which some business runs. Enterprises often want consolidated development of business and even expansion of new business to an IT system. Under the background, a job automation management tool comes along, and the main aim of the tool is to closely link the management of an IT system with a business target, so that the IT operation and maintenance become stable and efficient, and the manual work is liberated.
In terms of a specific job processing aspect, the job automation management tool has enabled operations of a plurality of business systems of a company to realize automatic and intelligent operations according to a predefined flow, and enables the jobs to be managed in a unified manner, thereby greatly improving the work efficiency. However, in some cases, especially in the case of inconsistency between the execution result and the expectation of the component flow, there is a strong need for a method for the system administrator to easily correct the deviation.
The following patents now exist in this field:
patent-1: chinese patent 201410267171.0 entitled automatic dispatching system for bank's job
Patent-1: the known example discloses a bank job automatic scheduling system, which is divided into a display management layer, a unified scheduling layer and a job processing layer to realize the automatic scheduling of the whole bank job. The automatic scheduling system takes two independent hosts as a central pivot of job scheduling, one is main domain management and the other is main domain management backup, and the two hosts run in parallel and can be backup for each other. On the managed server, the TWS is enabled to seamlessly interface with the IBM Tivoli Netcool network monitoring system, and this is optional. The TWS fault-tolerant agent automatically schedules various jobs issued from the main domain management to the open platform, and batch processing jobs can be scheduled across platforms through a uniform batch scheduling management tool. And various job scheduling management of the job automation scheduling system is realized through the report system.
The prior art provides a cross-platform job scheduling system, which involves a plurality of objects, and the core of the prior art is scheduling, which does not involve any point of the job itself. The present invention relates to the component flow (equivalent to the operation network) itself: the standard value setting of the output attribute, when the component flow is executed, the result is highlighted (the offset occurs) according with the expectation, and a method for correcting the offset of the component offset correction flow is provided. The invention also provides a knowledge base for storing the component flow and the component, and a method for retrieving the component and the component flow from the knowledge base.
Disclosure of Invention
The invention provides an automatic scheduling system of a component, which is characterized by comprising: an editing module configured to edit a component flow; a standard value setting module configured to set a standard value of an execution result of an operation of the component flow; an execution module configured to execute the component flow; an execution result comparison module configured to compare an execution result of the operation of the component flow with the standard value, thereby determining whether there is a deviation between the execution result and the standard value; an offset correction module configured to generate an offset correction flow for correcting an offset, wherein when the execution result comparison module determines that there is an offset between the execution result and the standard value, the offset correction module generates the offset correction flow and executes the offset correction flow so that the execution result comparison module further compares the obtained execution result with the standard value without an offset; and when the execution result comparison module judges that no deviation exists between the execution result and the standard value, the component flow of the component automatic scheduling is finished.
In the automatic component scheduling system, when the execution result comparison module judges that the execution result and the standard value have deviation, the component flow with the deviation between the execution result and the standard value is highlighted.
The invention can set standard values for the operation flow in the automatic operation environment, when the execution result of the operation flow has deviation, the component flow with deviation from the standard value is automatically highlighted, the system automatically generates or prompts a user to create a new deviation correction flow, and the purpose of performing standard deviation correction on the execution result is finally achieved after the deviation correction flows are executed.
In the component automatic scheduling system, the component flow comprises components, logical relations among the components and a component flow definition file, wherein the number of the components is zero or more, the number of the logical relations is zero or more, and the editing module edits the component flow by selecting the components and the logical relations.
The component automation scheduling system further comprises: a knowledge base module configured to include a component base including one or more components and a component flow base including one or more component flows, wherein when the execution result comparison module determines that there is a deviation between the execution result and the standard value, it determines whether there is a component flow used as the deviation correction flow in the knowledge base module, and if there is a component flow used as the deviation correction flow in the knowledge base module, selects the component flow used as the deviation correction flow, and executes the deviation correction flow; if the knowledge base module does not have the component flow used as the offset correction flow, judging whether the knowledge base module has a component required by the offset correction flow, if so, generating the offset correction flow, then executing the offset correction flow, otherwise, manually inputting and generating the offset correction flow, and then executing the offset correction flow; and when the execution result comparison module judges that no deviation exists between the execution result and the standard value, the component flow of the component automatic scheduling is finished.
The invention provides a knowledge base for storing component processes and components, and a method for retrieving the components and the component processes from a knowledge base module.
The component automation scheduling system further comprises: and the execution result viewing module is configured to view and display the execution state and the execution result of the component flow.
Through the execution result viewing module, system management personnel can clearly and intuitively see the execution state and the execution result of the expected component flow, so that the execution condition of the component flow is comprehensively known.
In the component automation scheduling system, the criterion value is a threshold class criterion value.
In the component automation scheduling system, the criterion value is a non-threshold class criterion value.
In the present invention, the standard value may be in any form, for example, may be a threshold-class standard value such as 80%, or may be a non-threshold-class standard value such as yes/no.
In the component automation scheduling system, the method for judging whether the component flow used as the offset correction flow exists in the knowledge base module comprises the following steps:
judging whether a component flow exists in the knowledge base module,
if no component flow exists in the knowledge base module, the method is ended and the judgment result is that no component flow used as the offset correction flow exists in the knowledge base module,
if the knowledge base module has component flows, reading an un-searched component flow, inputting a component flow search keyword, further judging whether the component flow name of the un-searched component flow is consistent with the component flow search keyword,
when the component flow name is identical to the component flow search key, the method ends and the component flow not searched is determined to be the component flow used as the offset correction flow,
when the component process name is inconsistent with the component process search keyword, judging whether the component process which is not searched is the last component process in the knowledge base module,
if the component flow that has not been retrieved is the last component flow in the knowledge base module, the method ends and a determination is made that there is no component flow in the knowledge base module that is used as the offset correction flow,
if the component flow which is not retrieved is not the last component flow in the knowledge base module, returning to the step of judging whether a component flow exists in the knowledge base module.
By using the method, the component flow serving as the offset correction flow can be retrieved from the knowledge base module.
In the component automatic scheduling system, the method for judging whether the components required by the offset correction process exist in the knowledge base module comprises the following steps:
determining whether a component is present in the knowledge base module,
if no component exists in the knowledge base module, the method is ended, and the judgment result is that no component required by the offset correction process exists in the knowledge base module,
if the component exists in the knowledge base module, reading an component which is not searched, inputting a component search key word, further judging whether the component name of the component which is not searched is consistent with the component search key word,
when the component name is consistent with the component retrieval key, the method is ended, and the component which is not retrieved is selected as the component required by the offset correction flow as a result of judgment,
when the component name is inconsistent with the component retrieval key, determining whether the component which is not retrieved is the last component in the knowledge base module,
if the component which is not retrieved is the last component in the knowledge base module, the method is ended and the judgment result is that the component required by the offset correction process does not exist in the knowledge base module,
if the component that has not been retrieved is not the last component in the knowledge base module, returning to the step of determining whether a component exists in the knowledge base module of the method.
By using the method, the components required by the offset correction process can be retrieved from the knowledge base module.
In the component automation scheduling system, the method for generating the offset correction flow comprises the following steps:
determining whether a component is the last component required for the offset correction procedure,
if the component is not the last component required by the offset correction process, determining whether manual input is required to create a new component,
selecting a component from said knowledge base module when manual input is not required to create a new component, and then returning to said step of said method of determining whether a component is the last component required by said offset correction flow,
when manual input is required to create a component, manually inputting to create a component, and then returning to the step of determining whether a component is the last component required by the offset correction flow of the method,
if the component is the last component required by the offset correction flow, the definition of the component flow definition file is executed, and then the method ends.
With the offset correction flow generated by the above method, in the case where the component flow execution result does not match the expectation, the system administrator can easily correct such an offset until the component flow execution result reaches the expectation result.
Drawings
Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
FIG. 1 shows an overall architecture diagram of a component automation dispatch system in accordance with an embodiment of the invention;
FIG. 2 shows a hardware composition diagram according to an embodiment of the invention;
FIG. 3 shows a flowchart for setting the execution result criterion value and the correction offset according to an embodiment of the present invention;
FIG. 4 shows a flowchart for setting the standard value of the execution result according to an embodiment of the present invention;
FIG. 5 shows a flowchart for setting the standard value of the execution result according to an embodiment of the present invention;
FIG. 6 shows a flow diagram of a component flow for determining whether there is a component in the knowledge base module that is used as an offset correction flow, according to an embodiment of the invention;
FIG. 7 shows a flow diagram of the components required to determine whether an offset correction flow exists in the knowledge base module, according to an embodiment of the invention;
FIG. 8 shows a flow diagram of a generate offset correction flow according to an embodiment of the invention;
FIG. 9 shows a schematic diagram of a knowledge base module according to an embodiment of the invention;
FIG. 10 shows a flowchart of a detect CPU usage component according to a first embodiment of the present invention;
FIG. 11 shows a flowchart of a close garbage component according to a first embodiment of the present invention;
FIG. 12 shows a flowchart of a procedure list according to the first embodiment of the present invention;
FIG. 13 is a flowchart illustrating a new virtual machine component according to a second embodiment of the present invention;
FIG. 14 shows a diagram of the extended virtual machine memory space components in the knowledge base module according to the second embodiment of the invention;
FIG. 15 shows a flow diagram of a database backup component according to a third embodiment of the invention.
Detailed Description
The following describes a specific embodiment of the present invention with reference to the drawings.
In the invention, a component is a basic unit for executing IT operation, and is composed of an IT operation program performing file and a component definition file, and the IT operation program performing file (namely, a code line, a script and the like) is optional; the component flow is formed by components according to a certain sequence and comprises components or component flow definition files, and the component flow definition files comprise names, attribute values and the like of the component flows.
Referring to fig. 1, fig. 1 shows an overall architecture diagram of a component automation scheduling system according to an embodiment of the invention. In fig. 1, the following are included: the editing module 101 is configured to edit the component flow, where the component flow includes components, logical relationships between the components, and a component flow definition file, where the number of the components is zero or more, the number of the logical relationships is zero or more, and the editing module edits the component flow by selecting the components and the logical relationships, where in the present invention, the logical relationships are, for example, flow arrows; a standard value setting module 102 configured to set a standard value of an execution result of the operation component flow; an execution module 103 configured to complete execution of the component flow; an execution result viewing module 104, configured to view and display an execution state and an execution result of the component flow; an execution result comparing module 105 configured to compare the execution result of the operation of the component flow with a standard value, thereby determining whether there is a deviation between the execution result and the standard value, and upon the deviation, highlighting the deviated operation component flow, wherein highlighting refers to displaying the component flow in different colors; an offset correction module 106 configured to generate an offset correction flow for correcting the offset, the offset correction module 106 being a component flow for correcting the standard offset, typically the offset correction component flow originates from a component flow or component in the knowledge base; the knowledge base module 107 is configured to include a component library and a component process library, the component library includes more than one component, and the component process library includes more than one component process, that is, the knowledge base module 107 is a warehouse composed of components and component processes. Typically, the components and component flows in the knowledge base come from either the operational component flow or the offset-rest component flow.
When the execution result comparison module judges that the execution result is offset from the standard value, the offset correction module generates an offset correction flow and executes the offset correction flow so as to enable the execution result comparison module to further compare the obtained execution result with the standard value without offset; and when the execution result comparison module judges that the execution result does not deviate from the standard value, the component flow of the component automatic scheduling is finished.
Referring now to FIG. 2, FIG. 2 illustrates a hardware composition diagram according to an embodiment of the invention. In fig. 2, the following components are included:
200 computer, full name: an electronic computer, commonly known as a computer, is a modern intelligent electronic device capable of automatically and quickly processing mass data according to program operation.
The mainboard module 201 is a platform for each component in the computer to work, and tightly connects each component of the computer together, and each component carries out data transmission through the mainboard. That is, the important "transportation hub" in the computer is on the main board, and the stability of its work influences the stability of the whole machine work.
The 202CPU module, i.e., central processing unit, is the computational core and control core of a computer. Its functions are mainly to interpret computer instructions and to process data in computer software. The CPU is composed of an arithmetic unit, a controller, a register, a cache and a bus for realizing the data, control and state of the connection among the arithmetic unit, the controller, the register and the cache. As the core of the whole system, the CPU is also the highest execution unit of the whole system, and therefore, the CPU has become a core component that determines the performance of the computer.
The 203 memory module, also called internal memory or Random Access Memory (RAM), is divided into DDR memory and SDRAM memory, the memory belongs to electronic memory equipment, it is made up of circuit board and chip, the characteristic is small, fast, there is electricity can store, there is no electricity to empty, can store the data in the memory when the computer is in the power-on state, will empty all data therein automatically after shutting down. The collections in the present invention are stored here.
204 hard disk module, the hard disk belongs to the external memory, the mechanical hard disk is made of metal magnetic sheet, and the magnetic sheet has memory function, so the data stored on the magnetic sheet can not be lost no matter at the time of starting up or shutting down. The homework network/job definition in the present invention, execution, state information is stored therein.
The 205 network card module is a network component working at a data link layer, is an interface for connecting a computer and a transmission medium in a local area network, not only can realize physical connection and electric signal matching with the transmission medium of the local area network, but also relates to functions of frame sending and receiving, frame packaging and unpacking, medium access control, data encoding and decoding, data caching and the like. The network card, which functions as a bridge between a computer and a network cable, is one of the important devices used to establish a local area network and connect to the internet.
And a display module 206 for displaying the processed result of the computer. It is an output device, one of the indispensable components of computer.
207 input device module, which is used to input characters, numbers and the like to the computer, and quickly locate on the screen and control the computer.
A flow of setting the execution result standard value and correcting the offset according to the embodiment of the present invention is explained with reference to fig. 3. Fig. 3 shows a flowchart of setting the execution result standard value and correcting the offset according to an embodiment of the present invention. The flow in fig. 3 is as follows:
301, determining whether the current operating component process standard set setting flag is 1, that is, determining whether a standard value needs to be set, if not, ending, if yes, executing 302.
302 set the standard value for the process of operating the component. For example, the threshold class standard value in the embodiment of the present invention is ≧ 80%. However, the standard value is not limited to the threshold class of ≧ 80% similar to the present embodiment, but may be other types such as a yes or no non-threshold class. Also for the class of thresholds, the threshold may be selected, for example, first by selecting an interval of >, <, or a combination thereof, and then filling in the specific values.
303 perform operational component flows.
304 determines whether the output attribute value of the component flow matches the standard set value, if no (e.g., 79% in the present embodiment) ends, and if yes (e.g., 81% in the present embodiment) executes 305.
305 highlight the current operational component flow.
306 determining whether there is a required component flow in the knowledge base as an offset correction flow, if not, executing step 308, and if yes, executing step 307.
307 selects the component flow as the offset correction flow.
A determination is made 308 as to whether there are any required components in the knowledge base that are available for the offset correction process, if not, step 310 is performed, and if so, step 309 is performed.
309 generates an offset correction flow.
The offset correction flow is generated manually 310.
311 performs the current offset correction procedure.
Referring now to fig. 4, fig. 4 shows a flowchart for setting the standard value of the execution result according to an embodiment of the present invention. Fig. 4 is a further description of step 302 in fig. 3. The flow in fig. 4 is as follows:
401 reads an output attribute information for which a standard value is not set.
402, determining whether a standard value needs to be set, if not, executing step 406, and if yes, executing step 403.
403, determining whether the threshold value is a standard value of the threshold class, if not, executing 405, and if yes, executing 404.
404 set a threshold class criterion value.
405 set non-threshold class criteria.
406 determines whether it is the last output criterion value.
Referring now to fig. 5, fig. 5 shows a flowchart for setting the standard value of the execution result according to an embodiment of the present invention. Fig. 5 is a further description of the case of the non-threshold class in step 302 in fig. 3. The flow in fig. 5 is as follows:
501 sets the non-threshold class criterion value as "yes", if no, executes step 502, if yes, executes step 503.
502 sets the standard value to "no".
503 sets the standard value to "yes".
Referring now to FIG. 6, FIG. 6 shows a flow diagram of a component flow for determining whether there is a component in the knowledge base module that is used as an offset correction flow, according to an embodiment of the invention. Fig. 6 is a further illustration of step 306 in fig. 3. The flow in fig. 6 is as follows:
601 judges if there is any component flow in the knowledge base, if not, it ends, if yes, it executes 602 and 603 steps in parallel.
602 reads a component flow that has not been retrieved.
603 manually enter component flow search keys.
604 determines whether the component process name is consistent with the component process search key, if yes, it is ended, otherwise, step 605 is executed.
605 to determine whether the component process is the last component process in the knowledge base, if not, execute step 601, and if yes, end.
Referring now to FIG. 7, FIG. 7 shows a flowchart of the components required to determine whether an offset correction flow exists in the knowledge base module, according to an embodiment of the invention. Fig. 7 is a further illustration of step 308 in fig. 3. The flow in fig. 7 is as follows:
701 determining whether there is a component in the knowledge base, if not, ending, if yes, executing 702 and 703 in parallel.
702 reads a component that has not been retrieved.
703 the manual input component retrieves the keyword.
704 determines whether the component name matches the component search key.
705 select a current component flow.
706 determines if the component flow is the last component flow in the knowledge base, if not, proceeds to 701, and if so, ends.
Referring now to FIG. 8, FIG. 8 shows a flow diagram of a generate offset correction flow, according to an embodiment of the invention. Fig. 8 is a further illustration of step 309 in fig. 3. The flow in fig. 7 is as follows:
801 determines whether the last component is required for the offset correction process, if not, 802 is performed, and if so, 805 is performed.
802 determines whether manual input is required to create a component, if not, 803 is performed, and if so, 804 is performed.
803 selects a component from the knowledge base.
804 are manually entered to create a component.
805 define component flow definition files.
Referring now to FIG. 9, FIG. 9 shows a schematic diagram of a knowledge base module according to an embodiment of the invention. As shown in fig. 9, the Repository (hierarchy) in fig. 9 is a warehouse made up of components and component flows. The component is a basic unit for executing IT operation, and is composed of an IT operation program file and a component definition file. The component flow is composed of components according to a certain sequence and comprises components or component flow definition files.
First embodiment
The off-the-shelf component flow in the knowledge base can be used as the offset correction flow. The main content in this embodiment is to detect the cpu usage, and when the cpu usage is greater than or equal to a standard threshold (e.g., 80%), take relevant measures. An off-the-shelf component flow in the knowledge base is assumed as the offset correction flow.
A first embodiment of the present invention will now be described with reference to fig. 10. FIG. 10 shows a flowchart of a detect CPU usage component according to a first embodiment of the present invention. The detection cpu use component flow is composed of one detection cpu use component. The detection cpu use component is composed of a component definition file and a detection cpu use rate script.
A first embodiment of the present invention will now be described with reference to fig. 11. FIG. 11 shows a flowchart for shutting down a garbage component according to a first embodiment of the present invention. In the knowledge base, there is a garbage closure component flow, and as shown in fig. 11, the garbage closure component flow is composed of a single garbage closure component. Wherein closing the garbage component is defined by the component.
Files and close garbage component scripts.
The close garbage script closes the program that needs to be closed according to the program list, which is shown in fig. 12. Fig. 12 shows a flowchart of the procedure list according to the first embodiment of the present invention.
Detecting cpu component flow (hereinafter referred to as a) information:
the standard set sets up the identification: 1
The standard set setting threshold of A is as follows: 80%, the details of the settings are: greater than or equal to 80 percent
Actual running value of a: 82 percent of
Suppose that: component flow existing in component library as offset correction flow
According to the following steps: configuring a main flow of executing a result standard and correcting standard deviation, wherein the operation process comprises the following steps:
whether the standard set setting identification of the A is 1 or not is judged, if the identification is actually detected to be 1, the standard set of the A is set, and the setting details are as follows: the CPU running value is greater than or equal to 80%, then A is executed, whether the output attribute of A is consistent with the standard set value (whether the standard value of A is greater than 80%) is judged, and when the actual running value of A is 82%, the A is highlighted. And judging that the required assembly flow is in the knowledge base as an offset correction flow, directly selecting the offset correction flow as the existing assembly flow is in the assembly base as the offset correction flow, and then executing the offset correction flow to achieve the aim of repairing the standard offset.
According to the value processing flow of reading one attribute information and setting a standard set, the operation process is as follows:
reading output attribute information of the standard value A, setting a standard set value of the A, firstly judging whether the A needs to set a standard value, then judging whether the A is a standard value of a valve class, setting the standard value of the A to be of a valve class type, and setting the details as follows: the operating value of the CPU is greater than or equal to 80%.
And taking the flow of the required assembly as an offset correction flow according to the judgment of whether the knowledge base has the flow of the required assembly, wherein the operation process is as follows:
whether a component flow exists in the knowledge base or not, if the component flow exists actually, reading an unresearched component flow, and inputting: and closing the useless program component flow, and judging whether the component flow name is consistent with the retrieval key word or not until all the component flows in the knowledge base are retrieved.
Second embodiment
There is no existing component flow in the knowledge base as the correction flow, but there is a required component as a component of the offset correction component flow. The main content in the embodiment is to newly build a virtual machine, and corresponding measures are taken when the virtual machine is unsuccessful.
The flow of the new virtual machine component is shown in fig. 13. FIG. 13 is a flowchart of a new virtual machine component according to a second embodiment of the present invention.
The new virtual machine component flow is composed of a new virtual machine component and an initialized virtual machine OS component. The new virtual machine component is composed of a component definition file and a new virtual machine script, and the initialized virtual machine OS component is composed of a component definition file and an initialized virtual machine script.
In the knowledge base, there is no existing component flow as the correction flow, but there is a required component as a component of the offset correction component flow, as shown in fig. 14. FIG. 14 shows a diagram of the extended virtual machine memory space components in the knowledge base module according to the second embodiment of the invention.
Information of a new virtual machine component flow (hereinafter referred to as B) is as follows:
the standard set sets up the identification: 1
The standard set setting threshold of B is: otherwise, the details of the setting are as follows: the standard value of the newly-built virtual machine is No
Actual operating conditions of B: failure in new virtual machine due to insufficient storage space
Suppose that: there is no existing component flow in the knowledge base as the correction flow, but there is a required component as a component of the offset correction component flow.
According to the following steps: configuring a main flow of executing a result standard and correcting standard deviation, wherein the operation process comprises the following steps:
whether the standard set setting identification of the B is 1 or not is judged, if the identification is actually detected to be 1, the standard set of the B is set, and the setting details are as follows: and if the virtual machine standard value is not newly built, executing the B, judging whether the output attribute of the B is consistent with the standard set value, and if the actual operation condition of the B is that the storage space is insufficient and the virtual machine is not successfully newly built, highlighting the B. And judging that the required assembly flow is used as an offset correction flow in the knowledge base, generating the offset correction flow because the assembly flow which is not ready in the knowledge base is not used as the offset correction flow, and executing the offset correction flow to fulfill the aim of repairing the standard offset.
According to the value processing flow of reading one attribute information and setting a standard set, the operation process is as follows:
reading output attribute information of the standard value of B, setting a standard set value of B, firstly judging whether B needs to set a standard value, then judging whether B is a standard value of a threshold class, actually judging that B is a non-threshold class standard value, setting a non-threshold class standard value of B, and setting details as follows: setting a standard value of the newly built virtual machine: "No".
And taking the flow of the required assembly as an offset correction flow according to the judgment of whether the knowledge base has the flow of the required assembly, wherein the operation process is as follows:
whether a component flow exists in the knowledge base or not, and the actual situation is that no component flow exists, reading an unresearched component flow, and inputting: and expanding the storage space to build a virtual machine, for example, changing the virtual machine from 8G to 10G, and judging whether the component process name is consistent with the search key or not until all the component processes in the knowledge base are searched.
Whether the needed component flow exists in the knowledge base or not is used as an offset correction flow chart, and the operation process is as follows:
firstly, judging whether a component exists in a knowledge base or not, and the required component exists in an actual knowledge base, reading a component which is not searched, inputting the component into an extended virtual machine storage space, judging whether the component name is consistent with a search keyword or not, selecting the component, and selecting all the components according to the process until all the components are selected.
According to the flow chart of the offset correction flow, the operation process is as follows:
firstly, judging whether the component is the last component required by the offset correction process, if so, judging whether the component needs to be manually newly built, if so, directly selecting from a knowledge base, if so, directly manually and newly building until all the components are completely newly built, and finally defining a definition file of the component process.
Third embodiment
There is no existing component flow in the knowledge base as the correction flow, nor is there a required component as a component of the offset correction component flow. The main content of this embodiment is: database backup, taking corresponding action when unsuccessful, where the unsuccessful may cause the backup to fail, such as a network outage.
FIG. 15 shows a flow diagram of a database backup component according to a third embodiment of the invention.
The database component process is composed of a database backup component. The detection database backup component is composed of a component definition file and a database backup script.
There is no existing component flow in the knowledge base as the correction flow, nor is there a required component as a component of the offset correction component flow.
Database backup component flow (hereinafter referred to as C) information:
the standard set sets up the identification: 1
The standard set setting details of C are: and finishing the standard value of the database backup: whether or not
The actual operating conditions of C are: network disruption leading to backup failure
Suppose that: there is no existing component flow in the knowledge base as the correction flow, nor is there any component needed as the component of the offset correction component flow
According to the following steps: configuring a main flow of executing a result standard and correcting standard deviation, wherein the operation process comprises the following steps:
whether the standard set setting identification of the C is 1 or not is judged, and if the identification is actually detected to be 1, the standard set of the C is set, and the setting details are as follows: and finishing the standard value of the database backup: if not, then executing C, judging whether the output attribute of C is consistent with the standard set value, and if the actual operation condition of C is: and C is highlighted when the network interruption causes the backup failure. And judging that the required assembly flow is used as an offset correction flow in the knowledge base, manually generating the offset correction flow because no existing assembly flow is used as the offset correction flow in the assembly base and no existing assembly is used as the offset correction flow, and then executing the offset correction flow to fulfill the aim of repairing the standard offset.
The above is a further description of step 310 in fig. 3 and is well known in the art.
According to the value processing flow of reading one attribute information and setting a standard set, the operation process is as follows:
reading output attribute information of the standard value of C, setting a standard set value of C, firstly judging whether C needs to set a standard value, then judging whether C is a standard value of a valve class, setting the standard value of C to be of a non-valve class type, and setting details as follows: and finishing the standard value of the database backup: "No".
According to the flow of setting the threshold class standard value, the operation process is as follows:
and taking the flow of the required assembly as an offset correction flow according to the judgment of whether the knowledge base has the flow of the required assembly, wherein the operation process is as follows:
whether a component flow exists in the knowledge base or not, if the actual condition is that no required component flow exists, reading an unresearched component flow, and inputting: and repairing the network interrupt & database backup component process, and judging whether the component process name is consistent with the retrieval key word or not until all the component processes in the knowledge base are retrieved.
Whether the required components exist in the knowledge base or not is used as an offset correction flow chart, and the operation process is as follows:
firstly, judging whether a component exists in a knowledge base or not, and the required component exists in an actual knowledge base, reading a component which is not searched, inputting a repairing network interruption component, judging whether the component name is consistent with a searching keyword or not, selecting the component, and selecting all the components according to the process.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (9)

1. An automated component scheduling system, comprising:
an editing module configured to edit a component flow;
a standard value setting module configured to set a standard value of an execution result of an operation of the component flow;
an execution module configured to execute the component flow;
an execution result comparison module configured to compare an execution result of the operation of the component flow with the standard value, thereby determining whether there is a deviation between the execution result and the standard value;
an offset correction module configured to generate an offset correction flow for correcting an offset, wherein,
when the execution result comparison module judges that the execution result has deviation from the standard value, the deviation correction module generates a deviation correction flow and executes the deviation correction flow, so that the execution result comparison module further compares the obtained execution result with the standard value without deviation;
when the execution result comparison module judges that no deviation exists between the execution result and the standard value, the component flow of the component automatic scheduling is ended,
the automatic scheduling system of the assembly further comprises:
a knowledge base module configured to include a component library including one or more components and a component flow library including one or more component flows, wherein,
when the execution result comparison module judges that there is a deviation between the execution result and the standard value, judging whether there is a component flow used as the deviation correction flow in the knowledge base module,
if the component flow used as the offset correction flow exists in the knowledge base module, selecting the component flow used as the offset correction flow, and executing the offset correction flow;
if the component flow used as the offset correction flow does not exist in the knowledge base module, judging whether a component required by the offset correction flow exists in the knowledge base module or not,
if the components required by the offset correction flow exist in the knowledge base module, generating the offset correction flow, then executing the offset correction flow,
if the components required by the offset correction flow do not exist in the knowledge base module, manually inputting and generating the offset correction flow, and then executing the offset correction flow;
and when the execution result comparison module judges that no deviation exists between the execution result and the standard value, the component flow of the component automatic scheduling is finished.
2. The component automation scheduling system of claim 1,
the component flow comprises components, logical relations between the components, and a component flow definition file, wherein the number of the components is zero or more, the number of the logical relations is zero or more, and,
the editing module edits the component flow by selecting the components and the logical relationships.
3. The component automated scheduling system of claim 1, further comprising:
and the execution result viewing module is configured to view and display the execution state and the execution result of the component flow.
4. The component automation scheduling system of claim 1,
and when the execution result comparison module judges that the execution result has deviation from the standard value, highlighting the component flow with the deviation between the execution result and the standard value.
5. The component automation scheduling system of claim 1,
the standard value is a threshold class standard value.
6. The component automation scheduling system of claim 1,
the standard value is a non-threshold class standard value.
7. The component automation scheduling system of claim 1 wherein the method of determining whether a component flow exists in the knowledge base module that is used as the offset correction flow comprises the steps of:
judging whether a component flow exists in the knowledge base module,
if no component flow exists in the knowledge base module, the method is ended and the judgment result is that no component flow used as the offset correction flow exists in the knowledge base module,
if the knowledge base module has component flows, reading an un-searched component flow, inputting a component flow search keyword, further judging whether the component flow name of the un-searched component flow is consistent with the component flow search keyword,
when the component flow name is identical to the component flow search key, the method ends and the component flow not searched is determined to be the component flow used as the offset correction flow,
when the component process name is inconsistent with the component process search keyword, judging whether the component process which is not searched is the last component process in the knowledge base module,
if the component flow that has not been retrieved is the last component flow in the knowledge base module, the method ends and a determination is made that there is no component flow in the knowledge base module that is used as the offset correction flow,
if the component flow which is not retrieved is not the last component flow in the knowledge base module, returning to the step of judging whether a component flow exists in the knowledge base module.
8. The component automation scheduling system of claim 1 wherein the method of determining whether components required by the offset correction process are present in the knowledge base module comprises the steps of:
determining whether a component is present in the knowledge base module,
if no component exists in the knowledge base module, the method is ended, and the judgment result is that no component required by the offset correction process exists in the knowledge base module,
if the component exists in the knowledge base module, reading an component which is not searched, inputting a component search key word, further judging whether the component name of the component which is not searched is consistent with the component search key word,
when the component name is consistent with the component retrieval key, the method is ended, and the component which is not retrieved is selected as the component required by the offset correction flow as a result of judgment,
when the component name is inconsistent with the component retrieval key, determining whether the component which is not retrieved is the last component in the knowledge base module,
if the component which is not retrieved is the last component in the knowledge base module, the method is ended and the judgment result is that the component required by the offset correction process does not exist in the knowledge base module,
if the component that has not been retrieved is not the last component in the knowledge base module, returning to the step of determining whether a component exists in the knowledge base module of the method.
9. The component automated scheduling system of claim 1 wherein the method of generating the offset correction flow comprises the steps of:
determining whether a component is the last component required for the offset correction procedure,
if the component is not the last component required by the offset correction process, determining whether manual input is required to create a new component,
selecting a component from said knowledge base module when manual input is not required to create a new component, and then returning to said step of said method of determining whether a component is the last component required by said offset correction flow,
when manual input is required to create a component, manually inputting to create a component, and then returning to the step of determining whether a component is the last component required by the offset correction flow of the method,
if the component is the last component required by the offset correction flow, the definition of the component flow definition file is executed, and then the method ends.
CN201510249656.1A 2015-05-15 2015-05-15 Automatic scheduling system of subassembly Active CN106293897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510249656.1A CN106293897B (en) 2015-05-15 2015-05-15 Automatic scheduling system of subassembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510249656.1A CN106293897B (en) 2015-05-15 2015-05-15 Automatic scheduling system of subassembly

Publications (2)

Publication Number Publication Date
CN106293897A CN106293897A (en) 2017-01-04
CN106293897B true CN106293897B (en) 2021-11-30

Family

ID=57632077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510249656.1A Active CN106293897B (en) 2015-05-15 2015-05-15 Automatic scheduling system of subassembly

Country Status (1)

Country Link
CN (1) CN106293897B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274023A (en) * 2017-06-20 2017-10-20 阿里巴巴集团控股有限公司 Flow of insuring generation method, insure request processing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197812A (en) * 2006-12-08 2008-06-11 华为技术有限公司 System and method for implementing page invocation
CN101662463A (en) * 2008-08-28 2010-03-03 国际商业机器公司 Device and method for customizing service flow for user
CN101876900A (en) * 2009-11-24 2010-11-03 恒生电子股份有限公司 Method for automatically adjusting and distributing flow chart and device thereof
CN101937468A (en) * 2010-09-16 2011-01-05 上海交通大学 Hierarchical quantitative measurement service process-to-process distance system
CN102130824A (en) * 2010-10-30 2011-07-20 华为技术有限公司 Joint optimization method, device and system
CN102662650A (en) * 2012-03-08 2012-09-12 北京神州数码思特奇信息技术股份有限公司 Implementation method and system of flow engine based on dynamic business
CN103927243A (en) * 2013-01-15 2014-07-16 株式会社日立制作所 Graphical user interface operation monitoring method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197812A (en) * 2006-12-08 2008-06-11 华为技术有限公司 System and method for implementing page invocation
CN101662463A (en) * 2008-08-28 2010-03-03 国际商业机器公司 Device and method for customizing service flow for user
CN101876900A (en) * 2009-11-24 2010-11-03 恒生电子股份有限公司 Method for automatically adjusting and distributing flow chart and device thereof
CN101937468A (en) * 2010-09-16 2011-01-05 上海交通大学 Hierarchical quantitative measurement service process-to-process distance system
CN102130824A (en) * 2010-10-30 2011-07-20 华为技术有限公司 Joint optimization method, device and system
CN102662650A (en) * 2012-03-08 2012-09-12 北京神州数码思特奇信息技术股份有限公司 Implementation method and system of flow engine based on dynamic business
CN103927243A (en) * 2013-01-15 2014-07-16 株式会社日立制作所 Graphical user interface operation monitoring method and device

Also Published As

Publication number Publication date
CN106293897A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN110928772B (en) Test method and device
US10621211B2 (en) Language tag management on international data storage
CN106951345B (en) Consistency test method and device for disk data of virtual machine
CN109325016B (en) Data migration method, device, medium and electronic equipment
CN107003931B (en) Decoupling test validation from test execution
CN110532056B (en) Control identification method and device applied to user interface
JP6282217B2 (en) Anti-malware system and anti-malware method
CN111694612A (en) Configuration checking method, device, computer system and storage medium
EP2951680B1 (en) Acquiring identification of an application lifecycle management entity associated with similar code
US8090994B2 (en) System, method, and computer readable media for identifying a log file record in a log file
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
US10846206B2 (en) Adaptive software testing
CN114003269A (en) Component processing method and device, electronic equipment and storage medium
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
CN106293897B (en) Automatic scheduling system of subassembly
CN106227502A (en) A kind of method and device obtaining hard disk firmware version
CN115543918A (en) File snapshot method, system, electronic equipment and storage medium
CN111209138A (en) Operation and maintenance method and device of data storage system
CN114816470A (en) Metadata database management method and device, electronic equipment and medium
CN113467941A (en) Method and device for sharing information
CN108959604B (en) Method, apparatus and computer readable storage medium for maintaining database cluster
CN110221952B (en) Service data processing method and device and service data processing system
US9508062B2 (en) Problem management record profiling
CN113742415A (en) Incremental data synchronization method and device and electronic equipment
KR100567813B1 (en) Transaction Analysing System for Tandem system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant