CN111275389A - Operation and maintenance operation creating and managing method and device - Google Patents

Operation and maintenance operation creating and managing method and device Download PDF

Info

Publication number
CN111275389A
CN111275389A CN201811479410.3A CN201811479410A CN111275389A CN 111275389 A CN111275389 A CN 111275389A CN 201811479410 A CN201811479410 A CN 201811479410A CN 111275389 A CN111275389 A CN 111275389A
Authority
CN
China
Prior art keywords
template
job
parameters
maintenance
running
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.)
Pending
Application number
CN201811479410.3A
Other languages
Chinese (zh)
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.)
SF Technology Co Ltd
SF Tech Co Ltd
Original Assignee
SF Technology Co 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 SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN201811479410.3A priority Critical patent/CN111275389A/en
Publication of CN111275389A publication Critical patent/CN111275389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The application discloses an operation and maintenance operation creating and managing method and device. The device includes: the selection module is used for selecting at least one operation item according to the operation and maintenance task scene to create an operation template corresponding to the operation and maintenance task scene, wherein the operation item is realized based on a first type of self-defined operation script, and the first type of operation script comprises an operation table and an operation parameter table; the sequencing module is used for adjusting the execution sequence of the operation items, and the sequence is realized based on a self-defined second type of operation script, wherein the second type of operation script comprises an operation table, an operation template common parameter table, an operation template step table and an operation template step parameter table; and the configuration module is used for configuring the public parameters, the input parameters and the output parameters of the operation items. According to the technical scheme of the embodiment of the application, the operation template can be freely created based on the operation and maintenance scene, the workload of development and debugging is reduced, and the coupling of services is greatly reduced.

Description

Operation and maintenance operation creating and managing method and device
Technical Field
The present application relates generally to the field of operation and maintenance management technologies, and in particular, to an operation and maintenance job creation method and device and an operation and maintenance job management method and device.
Background
The automatic operation and maintenance system is a set of automatic operation and maintenance management system developed aiming at a cloud platform, basic setting hardware (a server, network equipment and safety equipment) and a virtualization platform, and helps to realize automation of operation and maintenance management.
With the development of business of each enterprise and different business fields, it is expected to develop operation and maintenance automation tools matched with the business, but the number of workflow frameworks related to different businesses is not large. If according to the traditional workflow framework, the change requirement of the working scene in the operation and maintenance automation field can not be met.
For example, the existing workflow framework has a problem of complicated management, and the number of basic tables required for workflow management is large in the case of ensuring the core function. In addition, if multi-node concurrent execution under different operation and maintenance scenes needs to be satisfied, secondary development is needed, which results in excessively high development cost. Even the relation between the steps in the existing workflow is usually fixedly set, and the workflow framework is not flexible, so that a large amount of work is required to be consumed for building and managing the workflow framework of the automatic operation and maintenance management.
Disclosure of Invention
In view of the foregoing defects or shortcomings in the prior art, it is desirable to provide an operation and maintenance job template creation device, an operation and maintenance task management method, an operation and maintenance task management device, and a storage medium, so as to promote automation of operation and maintenance management, reduce workload of development and debugging, and greatly reduce coupling of services.
In a first aspect, an embodiment of the present application provides an operation and maintenance job template creation apparatus, where the apparatus includes a selection module, configured to select at least one operation item according to an operation and maintenance task scene to create a job template corresponding to the operation and maintenance task scene, where the operation item is implemented based on a first type of self-defined operation script, and the first type of operation script includes an operation table and an operation parameter table;
the sequencing module is used for adjusting the execution sequence of the operation items, and the sequence is realized based on a self-defined second type of operation script, wherein the second type of operation script comprises an operation table, an operation template common parameter table, an operation template step table and an operation template step parameter table;
and the configuration module is used for configuring the public parameters, the input parameters and the output parameters of the operation items.
In a second aspect, an embodiment of the present application provides an operation and maintenance task management apparatus, which includes an operation and maintenance job template creation apparatus described in the first aspect of the embodiment of the present application, and a task execution module, wherein,
and the task execution module is used for running tasks on at least one node according to the operation template created by the operation and maintenance operation template creation device, and the running tasks are realized based on a self-defined third type operation script, wherein the third type operation script comprises a running operation table, a running operation common parameter table, a running operation step parameter table, a running operation step node table and a running operation step node parameter table.
In a third aspect, an embodiment of the present application provides an operation and maintenance job template creating method, where the method includes:
selecting at least one operation item according to the operation and maintenance task scene to create an operation template corresponding to the operation and maintenance task scene, wherein the operation item is realized based on a self-defined first type of operation script, and the first type of operation script comprises an operation table and an operation parameter table;
adjusting the execution sequence of the operation items, wherein the sequence is realized based on a self-defined second type of operation script, and the second type of operation script comprises a job operation table, a job template public parameter table, a job template step table and a job template step parameter table;
and configuring the common parameters, the input parameters and the output parameters of the operation items.
In a fourth aspect, an embodiment of the present application provides an operation and maintenance task management method, where the method includes:
and running the task on at least one node according to the operation template created by the operation and maintenance operation template creation device, wherein the running task is realized based on a third type of self-defined operation script, and the third type of operation script comprises a running operation table, a running operation common parameter table, a running operation step parameter table, a running operation step node table and a running operation step node parameter table.
The embodiment of the application realizes the user-defined adjustment of the workflow through the workflow template creating device, and particularly can realize a lightweight automatic operation and maintenance workflow framework through the selection module, the sorting module and the configuration module, wherein the selection module can select the compiled business operation codes and logics as operation steps according to the requirements of an operation and maintenance scene, the sorting module freely combines the operation steps determined by the selection module according to the ordered logics, so that a workflow template suitable for the operation and maintenance scene is constructed, and the configuration module is responsible for parameter configuration of the workflow template, so that the workflow template normally operates according to the configured parameters. In the embodiment of the application, the selection module, the sequencing module and the configuration module are used for realizing related setting based on the lightweight basic table, and the operation templates suitable for different operation and maintenance scenes can be freely created, so that the problem of repeated development of the same operation steps in different operation and maintenance scenes is solved, the manual repetitive labor is reduced, and the development efficiency of the operation and maintenance management tool is improved.
Furthermore, the multi-node concurrent processing is realized through the node table of the operation steps of the task execution module, and the problem of resource waste caused by secondary development required for concurrent execution in the prior art is solved.
Furthermore, the satisfaction degree of the user is improved through an automatic visual interface.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic structural diagram illustrating an operation and maintenance job template creation apparatus 100 according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an operation and maintenance task management device 200 according to yet another embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for creating an operation and maintenance job template according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an operation and maintenance task management method according to another embodiment of the present application;
fig. 5 shows a schematic structural diagram of a computer system suitable for implementing the terminal device of the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The daily operation and maintenance work usually needs the operation and maintenance personnel to manually maintain the daily operation and maintenance tool, so that the problems of nonstandard operation, high error rate and the like of the operation and maintenance personnel exist, the operation and maintenance work has the characteristic of repeated operation, and if no effective operation and maintenance tool is used for supporting the operation and maintenance work, the work efficiency of the operation and maintenance work is extremely low.
With the generation of various novel operation and maintenance tools, the problems are solved, for example, an anchor tool integrates the advantages of many operation and maintenance tools based on Python development, and functions such as batch system configuration and batch program deployment are realized. However, the current lightest workflow management basic tables can be more than 15, and the problem that a multi-node concurrent scene needs secondary development, so that the development cost is high exists.
The embodiment of the present application provides a novel operation and maintenance operation template to solve the above problems.
Referring to fig. 1, fig. 1 is a schematic structural diagram illustrating an operation and maintenance job template creation apparatus 100 according to an embodiment of the present disclosure.
As shown in fig. 1, the apparatus 100 includes a selection module 110, a sorting module 120, a configuration module 130, and the like:
and the selecting module 110 is configured to select at least one operation item according to the operation and maintenance task scene to create a job template corresponding to the operation and maintenance task scene.
In the embodiment of the application, the operation items are realized based on a customized first-class operation script, and the first-class operation script comprises an operation table and an operation parameter table.
The operation table defines user information, operation names, execution plug-ins, and the like of executable classes.
The input and output parameters in the operation table are defined in the operation parameter table.
The operation and maintenance task scene can be, for example, a database building recovery, a middleware building recovery, a physical machine and a virtual machine building recovery, a storage mount/capacity expansion, a DNS analysis, a firewall opening and closing, an ETL (extract transform load) creation, a container building and scaling container, an instance starting and stopping and scaling container and the like.
At least one operation item or preset function options can be selected in a corresponding page according to the operation and maintenance task scene, for example, in the MySQL creation process, multiple operation items or actions may be required. Such as: the method comprises the following operation items of resource allocation, resource table write-back, system configuration management library entry, DNS new addition analysis, DNS analysis entry configuration management library, MySQL master library construction, MySQL standby library construction, MySQL check, standby library backup and the like.
And selecting at least one operation item for realizing the MySQL creating task through a human-computer interaction interface.
And the sorting module 120 is configured to adjust an execution order of the operation items.
In the embodiment of the present application, the execution sequence of the operation items may be implemented based on a customized second-type operation script. The second type of operation script comprises a job operation table, a job template public parameter table, a job template step table and a job template step parameter table.
After at least one operation item is determined, function keys can be provided according to the page, and the position of the operation item is moved by operating the function keys through the man-machine interaction interface. For example, the sorting combination of the operation items can be adjusted by setting up and down keys.
In the prior art, different job templates are created according to different operation and maintenance targets, and each job is fixedly set, or the sequence between each job step in the interface is not adjustable. For example, when creating the MySQL task, the respective job steps of creating the MySQL task are fixedly set in the job layout process. However, as the execution of tasks changes quickly and efficiently, relevant steps may need to be adapted for creating MySQL tasks. Therefore, in the embodiment of the present application, by setting the function that the order of the operation items (i.e., operation steps) can be adjusted, the problem of low arrangement efficiency caused by fixed setting in the prior art is avoided. The operation table defines the name of the operation template;
the job template common parameter table defines initial environment parameters, such as common parameters, for the job to start.
The operation template step table is in one-to-one correspondence with the operation table of at least one operation item, and the operation table of each operation item is defined in the operation template step table.
The operation template step parameter table defines input and output parameters of each step in the operation template step table and corresponds to the operation parameter table of at least one operation item one by one.
The association relationship, i.e. the execution sequence, between the operation items can be configured through the job template step table.
And the configuration module 130 is used for configuring the common parameters, the input parameters and the output parameters of the operation items.
According to the embodiment of the application, parameters such as public parameters, input parameters and output parameters are set for the selected operation items through the man-machine interaction interface. The parameters may also include key value key, default value, and the like. The setting of the parameters may be completed through a resource application interface or output parameters between steps, or may also be completed by operating other parameter configuration interfaces as needed, for example, a single-click or double-click operation item may be provided through a human-computer interaction interface to activate the parameter configuration interface, and an operation name, an operation tag, and the like may be set for each step through the interface.
For example, the setting of the common parameters and the input parameters can also be realized by selecting the type of system building, such as an infrastructure, an SSD fragmentation architecture, and the like, in the resource application process.
The configuration module 130, for example, may include:
the resource configuration submodule is used for acquiring public parameters and input parameters through resource configuration options; alternatively, the first and second electrodes may be,
and the parameter definition submodule is used for defining the output parameter of the previous operation item in at least one operation item in sequence as the input parameter of the subsequent operation item.
According to the method and the device, when the operation and maintenance operation template is created, built-in abundant basic operation is provided through the visual interface, the operation and maintenance efficiency is effectively improved, and the satisfaction degree of a user can be provided through flexible operation template creation.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an operation and maintenance task management device 200 according to another embodiment of the present application.
As shown in fig. 2, the apparatus 200 includes: the system comprises a selection module 110, a sorting module 120, a configuration module 130 and a task execution module 140, wherein the selection module 110, the sorting module 120 and the configuration module 130 are the same as the same modules described above.
The task execution module 140 is configured to execute a task on at least one node according to the job template created by the operation and maintenance job template creation device.
According to the method and the device, the running task is realized based on the customized third-class operation script. The third kind of operation script includes operation list, operation common parameter list, operation step parameter list, operation step node list and operation step node parameter list.
The operation table is data generated in the actual operation process, only one operation template is needed, and different operation results can be generated by operating the operation table according to different data transmitted each time. The operation of the job table is that data transmitted by a user is provided to the job template table in an assignment mode during operation, and the operation of the job table can be executed on an actual node.
The operation step table is in one-to-one correspondence with the operation template step table and is executed according to the operation template steps during operation;
and operating the operation step parameter table and defining the number of the execution parameters.
And running the node table of the job step, and defining the execution of the job template on at least one node.
And running a job step node parameter table, and defining an input example, a node execution rule and the like.
When the configuration of the job template is completed, the user can select to execute the job template according to actual requirements. And transmitting the actual operation parameters to the operation template so as to generate the actual operation.
And when the job runs, sequentially executing each step according to the sequence specified by the job template, and assigning values to each step by calling the related parameter table during executing each step.
The task execution module is further used for running the tasks on a plurality of nodes in the at least one node in parallel according to the job template.
When the job template is executed, it is possible that some steps will have different execution nodes to execute by calling the node table of the step of executing the job. If a step is executed concurrently on each node, the state of the step is updated when all nodes are executed.
The job templates are executed in sequence until the job status is completely updated.
The apparatus 200 further comprises:
and the operation planning module 150 is used for setting the execution mode of the operation template.
For updating and clearly understanding the embodiment of the present application, for example, creating MySQL resources is taken as an example.
Configuring an operation template on a page, and selecting operation items, such as resource allocation, resource table write-back, entry system configuration management library, DNS new addition analysis, DNS analysis entry configuration management library, MySQL master library construction, MySQL standby library construction, MySQL verification, standby library backup and the like.
If all the operation items of the job template are realized, the steps can be freely combined into one job template according to logic.
Then, the number of common parameters of the job template is configured, and the parameter values which can be reused do not need to be defined and realized in each step.
Configuring the number of input parameters of each operation item, wherein the input parameters can be set as default values without configuration; configuring the source of the input parameters, for example, the output parameters from the previous step establish a mapping relation, or the output parameters come from the public parameters, or the user inputs determined values through a human-computer interaction interface.
After the input parameters are configured, the output parameters are configured, so that the steps after the step can use the output parameters as the input parameters.
After all the steps are configured, the execution sequence of the steps can be adjusted according to the requirements of the user, and finally the job template is generated. And then the job template is operated through the input of the actual operation parameters, so that the job flow is executed.
With further reference to fig. 3, fig. 3 is a flowchart illustrating a method for creating an operation and maintenance job template according to an embodiment of the present application.
As shown in fig. 3, the method includes:
and 310, selecting at least one operation item according to the operation and maintenance task scene to create a job template corresponding to the operation and maintenance task scene.
In the embodiment of the application, the operation items are realized based on a customized first-class operation script, and the first-class operation script comprises an operation table and an operation parameter table.
The operation table defines user information, operation names, execution plug-ins, and the like of executable classes.
The input and output parameters in the operation table are defined in the operation parameter table.
The operation and maintenance task scene can be, for example, a database building recovery, a middleware building recovery, a physical machine and a virtual machine building recovery, a storage mount/capacity expansion, a DNS analysis, a firewall opening and closing, an ETL (extract transform load) creation, a container building and scaling container, an instance starting and stopping and scaling container and the like.
At least one operation item or preset function options can be selected in a corresponding page according to the operation and maintenance task scene, for example, in the MySQL creation process, multiple operation items or actions may be required. Such as: the method comprises the following steps of resource allocation, resource table write-back, system configuration management library entry, DNS new addition analysis, DNS analysis entry configuration management library, MySQL master library construction, MySQL standby library construction, MySQL check, standby library backup and other operation items.
And selecting at least one operation item for realizing the MySQL creating task through a human-computer interaction interface.
And step 320, adjusting the execution sequence of the operation items.
In the embodiment of the present application, the execution sequence of the operation items may be implemented based on a customized second-type operation script. The second type of operation script comprises a job operation table, a job template public parameter table, a job template step table and a job template step parameter table.
After at least one operation item is determined, function keys can be provided according to the page, and the position of the operation item is moved by operating the function keys through the man-machine interaction interface. For example, the sorting combination of the operation items can be adjusted by setting up and down keys.
In the prior art, different job templates are created according to different operation and maintenance targets, and each job is fixedly set, or the sequence between each job step in the interface is not adjustable. For example, when creating the MySQL task, the respective job steps of creating the MySQL task are fixedly set in the job layout process. However, as the execution of tasks changes quickly and efficiently, relevant steps may need to be adapted for creating MySQL tasks. Therefore, in the embodiment of the present application, by setting the function that the order of the operation items (i.e., operation steps) can be adjusted, the problem of low arrangement efficiency caused by fixed setting in the prior art is avoided.
The operation table defines the name of the operation template;
the job template common parameter table defines initial environment parameters, such as common parameters, for the job to start.
The operation template step table is in one-to-one correspondence with the operation table of at least one operation item, and the operation table of each operation item is defined in the operation template step table.
The operation template step parameter table defines input and output parameters of each step in the operation template step table and corresponds to the operation parameter table of at least one operation item one by one.
The association relationship, i.e. the execution sequence, between the operation items can be configured through the job template step table.
And step 330, configuring the public parameters, the input parameters and the output parameters of the operation items.
According to the embodiment of the application, parameters such as public parameters, input parameters and output parameters are set for the selected operation items through the man-machine interaction interface. The parameters may also include key value key, default value, and the like. The setting of the parameters may be completed through a resource application interface or output parameters between steps, or may also be completed by operating other parameter configuration interfaces as needed, for example, a single-click or double-click operation item may be provided through a human-computer interaction interface to activate the parameter configuration interface, and an operation name, an operation tag, and the like may be set for each step through the interface.
For example, the setting of the common parameters and the input parameters can also be realized by selecting the type of system building, such as an infrastructure, an SSD fragmentation architecture, and the like, in the resource application process.
Step 330 may also include:
acquiring public parameters and input parameters through resource configuration options; alternatively, the first and second electrodes may be,
and defining the output parameter of the previous operation item in at least one operation item in the sequential order as the input parameter of the subsequent operation item.
According to the method and the device, when the operation and maintenance operation template is created, built-in abundant basic operation is provided through the visual interface, the operation and maintenance efficiency is effectively improved, and the satisfaction degree of a user can be provided through flexible operation template creation.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating an operation and maintenance task management method according to another embodiment of the present application.
As shown in fig. 4, the method includes steps 310-330, wherein the steps 310-330 are the same as the steps with the same reference numerals, and the detailed description refers to the description of the steps 310-330 in fig. 3. The method further comprises the following steps:
and 340, running the task on at least one node according to the job template created by the operation and maintenance job template creation device.
According to the method and the device, the running task is realized based on the customized third-class operation script. The third kind of operation script includes operation list, operation common parameter list, operation step parameter list, operation step node list and operation step node parameter list.
The operation table is data generated in the actual operation process, only one operation template is needed, and different operation results can be generated by operating the operation table according to different data transmitted each time. The operation of the job table is that data transmitted by a user is provided to the job template table in an assignment mode during operation, and the operation of the job table can be executed on an actual node.
The operation step table is in one-to-one correspondence with the operation template step table and is executed according to the operation template steps during operation;
and operating the operation step parameter table and defining the number of the execution parameters.
And running the node table of the job step, and defining the execution of the job template on at least one node.
And running a job step node parameter table, and defining an input example, a node execution rule and the like.
When the configuration of the job template is completed, the user can select to execute the job template according to actual requirements. And transmitting the actual operation parameters to the operation template so as to generate the actual operation.
And when the job runs, sequentially executing each step according to the sequence specified by the job template, and assigning values to each step by calling the related parameter table during executing each step.
The task execution module is further used for running the tasks on a plurality of nodes in the at least one node in parallel according to the job template.
When the job template is executed, it is possible that some steps will have different execution nodes to execute by calling the node table of the step of executing the job. If a step is executed concurrently on each node, the state of the step is updated when all nodes are executed.
The job templates are executed in sequence until the job status is completely updated.
The method further comprises the following steps:
and step 350, setting the execution mode of the job template.
For updating and clearly understanding the embodiment of the present application, for example, creating MySQL resources is taken as an example.
Configuring an operation template on a page, and selecting operation items, such as resource allocation, resource table write-back, entry system configuration management library, DNS new addition analysis, DNS analysis entry configuration management library, MySQL master library construction, MySQL standby library construction, MySQL verification, standby library backup and the like.
If all the operation items of the job template are realized, the steps can be freely combined into one job template according to logic.
Then, the number of common parameters of the job template is configured, and the parameter values which can be reused do not need to be defined and realized in each step.
Configuring the number of input parameters of each operation item, wherein the input parameters can be set as default values without configuration; configuring the source of the input parameters, for example, the output parameters from the previous step establish a mapping relation, or the output parameters come from the public parameters, or the user inputs determined values through a human-computer interaction interface.
After the input parameters are configured, the output parameters are configured, so that the steps after the step can use the output parameters as the input parameters.
After all the steps are configured, the execution sequence of the steps can be adjusted according to the requirements of the user, and finally the job template is generated. And then the job template is operated through the input of the actual operation parameters, so that the job flow is executed.
It should be understood that the units or modules described in the apparatus 100-200 correspond to the various steps in the method described with reference to fig. 3-4. Thus, the operations and features described above with respect to the method are equally applicable to the apparatus 100 and 200 and the units included therein, and are not described in detail herein. The apparatus 100-200 may be implemented in a browser or other security applications of the electronic device in advance, or may be loaded into the browser or other security applications of the electronic device by downloading or the like. The corresponding units in the apparatus 100 and 200 may cooperate with units in the electronic device to implement the solution of the embodiment of the present application.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for implementing a server according to embodiments of the present application is shown.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, the processes described above with reference to the flow diagrams of fig. 3-4 may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes a selection module, a ranking module, and a configuration module. The names of the units or modules do not form a limitation on the units or modules, for example, the selection module may also be described as a "module for selecting at least one operation item according to the operation and maintenance task scene to create a job template corresponding to the operation and maintenance task scene".
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may be separate and not incorporated into the electronic device. The computer readable storage medium stores one or more programs, and when the programs are used by one or more processors to execute the operation and maintenance job template creation and management method described in the present application. For example, the electronic device described above may implement as shown in fig. 3: step 310, selecting at least one operation item according to the operation and maintenance task scene to create a job template corresponding to the operation and maintenance task scene; step 320, adjusting the execution sequence of the operation items; and step 330, configuring the public parameters, the input parameters and the output parameters of the operation items. As another example, the electronic device described above may implement the various steps as shown in fig. 4.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention as defined above. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. An operation and maintenance work template creation device, characterized by comprising:
the operation item creating module is used for creating an operation template corresponding to the operation and maintenance task scene, and selecting at least one operation item according to the operation and maintenance task scene, wherein the operation item is realized based on a first type of self-defined operation script, and the first type of operation script comprises an operation table and an operation parameter table;
the sequencing module is used for adjusting the execution sequence of the operation items, the sequence is realized based on a self-defined second type operation script, and the second type operation script comprises a job operation table, a job template common parameter table, a job template step table and a job template step parameter table;
and the configuration module is used for configuring the public parameters, the input parameters and the output parameters of the operation items.
2. The apparatus of claim 1, wherein the configuration module comprises:
the resource configuration submodule is used for acquiring the public parameters and the input parameters through resource configuration options; alternatively, the first and second electrodes may be,
and the parameter definition submodule is used for defining the output parameter of the previous operation item in the at least one operation item in sequence as the input parameter of the subsequent operation item.
3. An operation and maintenance task management device, characterized in that the device comprises an operation and maintenance job template creation device according to claims 1-2, and a task execution module, wherein,
the task execution module is used for running tasks on at least one node according to the operation template created by the operation and maintenance operation template creation device, and the running tasks are realized based on a third type of self-defined operation script, wherein the third type of operation script comprises a running operation table, a running operation common parameter table, a running operation step parameter table, a running operation step node table and a running operation step node parameter table.
4. The apparatus of claim 3, wherein the task execution module is further configured to run tasks according to the job template in parallel on a plurality of nodes of the at least one node.
5. The apparatus of claim 3, further comprising:
and the operation planning module is used for setting the execution mode of the operation template.
6. An operation and maintenance operation template creating method is characterized by comprising the following steps:
selecting at least one operation item according to an operation and maintenance task scene to create an operation template corresponding to the operation and maintenance task scene, wherein the operation item is realized based on a first type of self-defined operation script, and the first type of operation script comprises an operation table and an operation parameter table;
adjusting the execution sequence of the operation items, wherein the sequence is realized based on a self-defined second type of operation script, and the second type of operation script comprises a job operation table, a job template common parameter table, a job template step table and a job template step parameter table;
and configuring the common parameters, the input parameters and the output parameters of the operation items.
7. The method of claim 6, wherein configuring common parameters, input parameters, and output parameters of the operation items comprises:
acquiring the public parameters and the input parameters through resource configuration options; alternatively, the first and second electrodes may be,
defining the output parameter of the previous operation item in the at least one operation item in sequence as the input parameter of the operation item next to the previous operation item.
8. The method of claim 7, wherein after configuring the common parameters, input parameters, and output parameters of the operation items, the method further comprises:
and inserting the operation template into other operation templates.
9. An operation and maintenance task management method is characterized by comprising the following steps:
running a task on at least one node according to the job template created according to any one of claims 6-8, the running task being implemented based on a customized third type of operation script, the third type of operation script comprising a running job table, a running job common parameter table, a running job step parameter table, a running job step node parameter table.
10. The method of claim 9, wherein tasks are run in parallel on a plurality of nodes in the at least one node according to the job template.
11. The method of claim 10, further comprising:
and setting the execution mode of the operation template.
CN201811479410.3A 2018-12-05 2018-12-05 Operation and maintenance operation creating and managing method and device Pending CN111275389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811479410.3A CN111275389A (en) 2018-12-05 2018-12-05 Operation and maintenance operation creating and managing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811479410.3A CN111275389A (en) 2018-12-05 2018-12-05 Operation and maintenance operation creating and managing method and device

Publications (1)

Publication Number Publication Date
CN111275389A true CN111275389A (en) 2020-06-12

Family

ID=71003073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811479410.3A Pending CN111275389A (en) 2018-12-05 2018-12-05 Operation and maintenance operation creating and managing method and device

Country Status (1)

Country Link
CN (1) CN111275389A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181405A (en) * 2020-09-29 2021-01-05 中国建设银行股份有限公司 Process generation method, device, equipment and readable storage medium
CN112800741A (en) * 2021-01-29 2021-05-14 远光软件股份有限公司 Task execution method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206570A (en) * 2006-12-21 2008-06-25 国际商业机器公司 Generating templates of nodes to structure content objects and steps to process the content objects
US20090193427A1 (en) * 2008-01-30 2009-07-30 International Business Machines Corporation Managing parallel data processing jobs in grid environments
CN108365974A (en) * 2018-01-17 2018-08-03 南京邮电大学 A method of it is configured for network element device multi-service automatized script
CN108492006A (en) * 2018-02-28 2018-09-04 广东电网有限责任公司信息中心 A kind of O&M job scheduling engine of level control model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206570A (en) * 2006-12-21 2008-06-25 国际商业机器公司 Generating templates of nodes to structure content objects and steps to process the content objects
US20090193427A1 (en) * 2008-01-30 2009-07-30 International Business Machines Corporation Managing parallel data processing jobs in grid environments
CN108365974A (en) * 2018-01-17 2018-08-03 南京邮电大学 A method of it is configured for network element device multi-service automatized script
CN108492006A (en) * 2018-02-28 2018-09-04 广东电网有限责任公司信息中心 A kind of O&M job scheduling engine of level control model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181405A (en) * 2020-09-29 2021-01-05 中国建设银行股份有限公司 Process generation method, device, equipment and readable storage medium
CN112800741A (en) * 2021-01-29 2021-05-14 远光软件股份有限公司 Task execution method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
JP2018026114A (en) Application profiling job management system, program, and method
CN107807815B (en) Method and device for processing tasks in distributed mode
CN111399897A (en) Application issuing method and system based on kubernets
CN111506401B (en) Automatic driving simulation task scheduling method and device, electronic equipment and storage medium
CN111158745A (en) Data processing platform based on Docker
KR102569415B1 (en) Service platform system for generating workflow and workflow generating method
US20160259804A1 (en) Systems, devices, and methods for software discovery using application id tags
CN110019123A (en) A kind of data migration method and device
CN111459504B (en) Intelligent contract processing method, device, equipment and storage medium
CN111275389A (en) Operation and maintenance operation creating and managing method and device
CN113778486A (en) Containerization processing method, device, medium and equipment for code pipeline
CN116569141A (en) Workflow repair
CN114443076A (en) Mirror image construction method, device, equipment and storage medium
CN109829639A (en) Service item monitoring method and device
CN115469849A (en) Service processing system, method, electronic device and storage medium
CN109189370B (en) Software component generation method, device, equipment and computer readable storage medium
CN112181403B (en) Development operation and maintenance integrated implementation method, device, equipment and readable storage medium
CN114862223A (en) Robot scheduling method, device, equipment and storage medium
CN113034048A (en) Task processing method, device, server and storage medium
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
CN112328300A (en) IT (information technology) automatic operation and maintenance system based on batch control tool
CN111258618A (en) File configuration method and device, computer equipment and storage medium
CN111401825B (en) Instantiation method and device
CN115291540A (en) Device control method, device, electronic device and storage medium
CN117312273A (en) Database management method, device, equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination