CN111526049B - Operation and maintenance system, operation and maintenance method, electronic device and storage medium - Google Patents

Operation and maintenance system, operation and maintenance method, electronic device and storage medium Download PDF

Info

Publication number
CN111526049B
CN111526049B CN202010302471.3A CN202010302471A CN111526049B CN 111526049 B CN111526049 B CN 111526049B CN 202010302471 A CN202010302471 A CN 202010302471A CN 111526049 B CN111526049 B CN 111526049B
Authority
CN
China
Prior art keywords
task
command
execution
service
control server
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
CN202010302471.3A
Other languages
Chinese (zh)
Other versions
CN111526049A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010302471.3A priority Critical patent/CN111526049B/en
Publication of CN111526049A publication Critical patent/CN111526049A/en
Application granted granted Critical
Publication of CN111526049B publication Critical patent/CN111526049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The present disclosure provides an operation and maintenance system based on business logic arrangement, which includes: the business process editor is used for receiving business logic creating operation designed based on the operation and maintenance scene and generating a target business process; the flow execution engine is used for receiving the target business flow, generating one or more flow tasks according to the business logic of the target business flow, and distributing the tasks to the flow tasks according to the task types of the flow tasks; the interface service bus is used for registering and managing a service interface, receiving and executing an interface task with the task type being the interface service type; and the command task control server is used for receiving the command task with the task type being the command task service type and distributing the command task to the controlled server for execution. The disclosure also provides an operation and maintenance method, an electronic device and a computer readable storage medium.

Description

Operation and maintenance system, operation and maintenance method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an operation and maintenance system based on business logic arrangement, an operation and maintenance method, an electronic device, and a computer-readable storage medium.
Background
With the large number of applications in distributed environments, the size and complexity of application systems is increasing day by day. In a traditional operation and maintenance mode, operation and maintenance personnel generally can only manually operate item by item, the cost is high, the efficiency is low, the business logic sequence is lacked, and the method is not suitable for large-scale application systems, especially for change and emergency scenes of highly-clustered distributed enterprise applications.
Disclosure of Invention
In view of the above, the present disclosure provides an operation and maintenance system based on business logic arrangement, an operation and maintenance method, an electronic device, and a computer-readable storage medium.
One aspect of the present disclosure provides an operation and maintenance system based on business logic orchestration, including: the business process editor is used for receiving business logic creating operation designed based on the operation and maintenance scene and generating a target business process; the flow execution engine is used for receiving the target business flow, generating one or more flow tasks according to the business logic of the target business flow, and distributing the flow tasks according to the task types of the flow tasks; the interface service bus is used for registering and managing a service interface, receiving and executing an interface task with the task type being the interface service type; and the command task control server is used for receiving the command task with the task type being the command task service type and distributing the command task to the controlled server for execution.
According to an embodiment of the present disclosure, the system described above further includes: one or more controlled servers, which are used for receiving and executing the command tasks distributed by the command task control server and returning the execution results to the command task control server.
According to an embodiment of the present disclosure, the system described above further includes: and the script library is used for providing one or more scripts for being called by the one or more controlled servers.
According to an embodiment of the present disclosure, the command task control server includes: the task receiving module is used for receiving a command task with a task type of command task service type; the management control module is used for receiving server registration information from the one or more controlled servers, wherein the controlled servers which are successfully registered can receive command tasks; and the task flow processing module is used for receiving the command task, decomposing the command task into an execution command set and sending the execution command set to a specified controlled server through a message queue for execution.
According to an embodiment of the present disclosure, the command task control server further includes: and the heartbeat service module is used for collecting and processing the active condition information of the one or more controlled servers and triggering the health early warning message according to a preset strategy.
According to the embodiment of the disclosure, the management control module is used for receiving the health early warning message sent by the heartbeat service module and generating a disposal scheme.
According to an embodiment of the present disclosure, the command task control server further includes: the communication connection module is used for starting a controlled server with abnormal active condition according to the handling scheme; if the controlled server with the abnormal active condition is normally started, starting an agent detection task and restoring the execution of the command task; and if the controlled server with abnormal active condition can not communicate, outputting the alarm of the controlled server with abnormal active condition to the centralized monitoring station.
According to an embodiment of the present disclosure, the one or more controlled servers include: the task service agent module is used for receiving and executing the command tasks distributed by the command task control server and returning the execution results to the command task control server; and the health service agent module is used for monitoring the active condition of the task service agent module in real time and sending the active condition information to the command task control server.
Another aspect of the present disclosure provides an operation and maintenance method, including: receiving a business logic creating operation designed based on an operation and maintenance scene through a business process editor, and generating a target business process; receiving the target business process through a process execution engine, generating one or more process tasks according to the business logic of the target business process, and distributing the tasks of the process tasks according to the task types of the process tasks; receiving and executing an interface task with a task type being an interface service type through an interface service bus, wherein the interface service bus is used for registering and managing a service interface; and receiving a command task with the task type being a command task service type through a command task control server, and distributing the command task to a controlled server for execution.
According to an embodiment of the present disclosure, the controlled server includes a task service agent module and a health service agent module, and the method further includes: receiving and executing the command task distributed by the command task control server through the task service agent module, and returning an execution result to the command task control server; and monitoring the active condition of the task service agent module in real time through the health service agent module, and sending the active condition information to the command task control server.
Another aspect of the present disclosure provides an electronic device including: one or more processors; a memory for storing one or more instructions, wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
According to the embodiment of the disclosure, a business logic creating operation based on operation and maintenance scene design is received through a business process editor, and a target business process is generated; receiving the target business process through a process execution engine, generating one or more process tasks according to the business logic of the target business process, and distributing the tasks of the process tasks according to the task types of the process tasks; receiving and executing an interface task with a task type as an interface service type through an interface service bus; and receiving a command task with the task type being a command task service type through a command task control server, and distributing the command task to a controlled server for execution. The embodiment of the disclosure can perform automatic operation and maintenance management based on the service logic, realize the automatic operation and maintenance of the controlled server such as a distributed system according to the operation and maintenance service logic defined in advance, realize one-click, batch and scheduling execution with a service logic sequence, greatly reduce the cost of operation and maintenance management of a heterogeneous distributed system, and is particularly suitable for complex operation and maintenance scenes with complex logic and conditional dependence; in the process of executing the business process, the process execution engine can execute the success or failure judgment strategy according to the interface service and the command set, and perform rollback or continuous execution or conditional branch execution.
Compared with the prior art that only task scheduling can be realized, the operation and maintenance system and the operation and maintenance method are more suitable for integrated execution of operation and maintenance operations of network interfaces, infrastructures, systems, applications and other layers, have strong practicability, and have the advantages of batch environment construction, park-level application emergency switching and one-click type change of complex logic scenes, so that the technical problem of manually realizing operation and maintenance processes in the prior art is at least partially solved.
In addition, through the embodiment of the disclosure, a relatively comprehensive monitoring management and problem analysis means is provided to help a system operation department to identify and find operation problems in time; through the task agent module and the health service agent module of the controlled server, the command task control server can perform real-time monitoring and automatic operation and maintenance on all control servers in a distributed environment, so that the manual operation and maintenance cost is saved for the automatic operation and maintenance aiming at complex scenes such as repeated work, condition dependence, sequence requirements and the like of a plurality of servers in the distributed environment, and the efficiency and the accuracy are improved; the communication mode based on the message queue can realize cross-platform and cross-operating system command execution.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an exemplary system architecture to which an operation and maintenance system and operation and maintenance method may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow diagram of an operation and maintenance method according to an embodiment of the disclosure;
FIG. 3 is a logic block diagram schematically illustrating an operation and maintenance system based on business logic orchestration according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a logical block diagram of a command task control server according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a logical block diagram of a controlled server according to an embodiment of the present disclosure;
FIG. 6 is a logic block diagram of an operation and maintenance system based on business logic orchestration according to another embodiment of the present disclosure; and
FIG. 7 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method, according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction should be interpreted in the sense one having ordinary skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B, a and C, B and C, and/or A, B, C, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include, but not be limited to, systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The operation and maintenance automation of the business logic is that a large amount of repetitive work in daily operation and maintenance is converted from the past manual execution into the automatic operation based on the prefabricated business logic flow, so that the low efficiency in the operation and maintenance is reduced or even eliminated, one-key operation and maintenance is realized, the quick, high-efficiency and simple operation and maintenance management is realized, the operation and maintenance efficiency of the system is improved, and the labor cost is reduced. Repetitive work includes, for example, simple daily checks, configuration changes and software installation and updates, ordered scheduling of the entire change flow, emergency disposal, and the like.
The embodiment of the present disclosure provides an operation and maintenance system based on business logic arrangement, including: the business process editor is used for receiving business logic creating operation designed based on the operation and maintenance scene and generating a target business process; the flow execution engine is used for receiving the target business flow, generating one or more flow tasks according to the business logic of the target business flow, and distributing the tasks to the flow tasks according to the task types of the flow tasks; the interface service bus is used for registering and managing a service interface, receiving and executing an interface task with the task type being the interface service type; and the command task control server is used for receiving the command task with the task type being the command task service type and distributing the command task to the controlled server for execution.
Fig. 1 schematically illustrates an exemplary system architecture 100 to which the operation and maintenance system and the operation and maintenance method may be applied, according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include a terminal device 101, a flow execution engine 102, a command task control server 103, a controlled server 104, and a network 105. The network 105 is used to provide a medium of communication links between the terminal apparatus 101, the process execution engine 102, the command task control server 103, and the controlled server 104. The network 105 may include various connection types, such as wired and/or wireless communication links, and so forth.
The terminal device 101 may be provided with a business process editor, and is configured to receive a business logic creation operation designed based on an operation and maintenance scenario, and generate a target business process. The user can input a business logic creation operation designed based on the operation and maintenance scene by using the terminal device 101. Of course, various messaging client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, and/or social platform software, etc. (by way of example only), may also be included on terminal device 101.
The terminal device 101 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The process execution engine 102 may be a separate server, but the present disclosure does not limit the design form of the process execution engine 102. For example, it may be provided in the command task control server 103 as a software product.
The controlled servers 104 may be servers in a distributed system, and the number of the controlled servers 104 is not limited.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flowchart of an operation and maintenance method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S204.
In operation S201, a business logic creation operation designed based on an operation and maintenance scenario is received by a business process editor, and a target business process is generated.
According to an embodiment of the present disclosure, a business process editor provides a drag-and-drop process orchestration function, supporting business process modeling and labeling (BPMN 2.0) standards.
In operation S202, the target business process is received by the process execution engine, one or more process tasks are generated according to the business logic of the target business process, and the process tasks are distributed according to the task types of the process tasks.
According to the embodiment of the disclosure, the process execution engine can receive the business process designed by the business process editor and execute the business process in order according to the business logic.
In operation S203, an interface task having a task type of an interface service type is received and executed through an interface service bus, where the interface service bus is used to register and manage a service interface.
According to the embodiment of the disclosure, the interface service bus can be used for registering a service interface, and completing service interface forwarding, authority control and flow control.
In operation S204, a command task having a task type that is a command task service type is received by the command task control server, and the command task is distributed to the controlled server for execution.
According to the embodiment of the disclosure, a command task can be distributed to a controlled server under a distributed system for execution, and the distributed system can comprise a plurality of servers.
The embodiment of the disclosure can perform automatic operation and maintenance management based on the service logic, realize the automatic operation and maintenance of the controlled server such as a distributed system according to the operation and maintenance service logic defined in advance, realize one-click, batch and scheduling execution with a service logic sequence, greatly reduce the cost of operation and maintenance management of a heterogeneous distributed system, and is particularly suitable for complex operation and maintenance scenes with complex logic and conditional dependence; in the process of executing the business process, the process execution engine can execute the success or failure judgment strategy according to the interface service and the command set, and perform rollback or continuous execution or conditional branch execution.
Compared with the prior art that only task scheduling can be realized, the operation and maintenance system and the operation and maintenance method are more suitable for integrated execution of operation and maintenance operations of network interfaces, infrastructures, systems, applications and other layers, have strong practicability, and have the advantages of batch environment construction, park-level application emergency switching and one-click type change of complex logic scenes, so that the technical problem of manually realizing operation and maintenance processes in the prior art is at least partially solved.
FIG. 3 schematically illustrates a logic block diagram of an operation and maintenance system based on business logic orchestration according to an embodiment of the present disclosure.
As shown in fig. 3, the operation and maintenance system 300 based on business logic orchestration includes a business process editor 301, a process execution engine 302, an interface service bus 303, and a command task control server 304.
The business process editor 301 is configured to receive a business logic creation operation designed based on an operation and maintenance scenario, and generate a target business process.
The process execution engine 302 is configured to receive the target business process, generate one or more process tasks according to the business logic of the target business process, and perform task distribution on the process tasks according to task types of the process tasks.
The interface service bus 303 is used to register and manage service interfaces, and receive and execute interface tasks whose task types are interface service types.
The command task control server 304 is configured to receive a command task with a task type being a command task service type, and distribute the command task to a controlled server for execution.
According to the embodiment of the disclosure, the operation and maintenance scene is taken as an example of a change scene, and for the change scene, the following target business process can be designed. Firstly, a database table is created, initialization data is imported, then application service is restarted, then relevant middleware is restarted, then application nodes in the distributed cluster are restarted, then application configuration is adjusted, and finally network configuration is adjusted. Of course, the operation and maintenance scene may also include environment building, emergency scene, and the like.
According to the embodiment of the present disclosure, a logical precedence relationship exists between the process tasks, and the process execution engine 302 may decompose the target business process into a plurality of process tasks and perform task distribution on the process tasks according to the task types of the process tasks. For example, a database table is created, the initialization data is imported into a command task service type, and the adjustment application configuration and the adjustment network configuration are interface tasks of an interface service type.
In the process of executing the business process, the process execution engine 302 may perform rollback or continuous execution or conditional branch execution according to the interface service and the command set execution success or failure judgment policy.
Compared with the prior art that only task scheduling can be realized, the operation and maintenance system and the operation and maintenance method are more suitable for integrated execution of operation and maintenance operations of network interfaces, infrastructures, systems, applications and other layers, have strong practicability, and have the advantages of batch environment construction, park-level application emergency switching and one-click type change of complex logic scenes, so that the technical problem of manually realizing operation and maintenance processes in the prior art is at least partially solved.
According to the embodiment of the present disclosure, the operation and maintenance system 300 may further include one or more controlled servers, configured to receive and execute the command task distributed from the command task control server, and return the execution result to the command task control server 304.
According to the embodiment of the disclosure, the controlled server can receive the timing task and the instant task of the control server; the task execution results may be sent to the command task control server via a message queue.
According to an embodiment of the present disclosure, the operation and maintenance system 300 may further include a script library for providing one or more scripts for the one or more controlled servers to call.
According to embodiments of the present disclosure, the script library may provide various types of scripts, such as bat, shell, sql, vbs, etc., for invocation by one or more controlled servers.
FIG. 4 schematically shows a logical block diagram of a command task control server according to an embodiment of the present disclosure.
As shown in fig. 4, according to an embodiment of the present disclosure, the command task control server 304 includes a task receiving module 401, a management control module 402, and a task flow processing module 403.
The task receiving module 401 is configured to receive a command task with a task type being a command task service type.
The management control module 402 is configured to receive server registration information from one or more controlled servers, wherein the controlled servers with successful registration are capable of receiving the command task.
According to the embodiment of the disclosure, the controlled server may establish a communication channel between the controlled server and the command task control server by sending server registration information to the message queue.
According to the embodiment of the present disclosure, the management control module 402 may be responsible for managing information of all controlled servers in the system, including processing of heartbeat states of controlled server agents, task issuing, task returning, and the like. Management control module 402 may act as a system administrator portal to enable emergency operations (restart, install, uninstall, etc.) on the controlled servers.
The task flow processing module 403 is configured to receive a command task, decompose the command task into an execution command set, and send the execution command set to a specified controlled server through a message queue for execution.
According to an embodiment of the present disclosure, the task flow processing module 403 may be responsible for receiving a command task, and sending the command task to a specific controlled server for execution through a message queue cluster.
According to the embodiment of the disclosure, a manager may directly input a task instruction through the management control module 402 (or referred to as a management console), and the management control module 402 sends an operation command message of the task instruction to the flow execution engine 302.
The flow execution engine 302 may parse the task, send the parsed task to the interface service bus or the command task control server 304 according to the task type, send the command set message composed by the command task control server 304 to the task flow processing module 403, and send the command set message to the task agent module of the controlled server through the message queue according to the task execution range by the task flow processing module 403, thereby completing the execution of the command task.
According to an embodiment of the present disclosure, specifically, for example, an administrator may send an operation and maintenance management operation task in the distributed environment to the flow execution engine 302 through the management control module 402; the process execution engine 302 receives task messages, business process schemes, and sends step-by-step concurrent or serial messages to the interface service bus 303 or the command task control server 304; the command task control server 304 analyzes the processing scheme into an operation command set executable by the controlled server, and sends the operation command set to a task agent module in the specified controlled server; the task agent module executes the relevant operation according to the command set, the success or failure of the execution is fed back to the command task control server 304, and the command task control server 304 feeds back the execution result to the flow execution engine 302.
According to an embodiment of the present disclosure, the command task control server 304 may further include a heartbeat service module for collecting and processing the active status information of the one or more controlled servers, and triggering the health warning message according to a preset policy. The heartbeat service module may send a health alert message to management control module 402.
According to an embodiment of the present disclosure, the management control module may be further configured to receive a health warning message sent by the heartbeat service module, and generate a disposal plan.
According to an embodiment of the present disclosure, the command task control server further includes a communication connection module, configured to start a controlled server with an abnormal active status according to the handling scheme.
According to the embodiment of the disclosure, if the controlled server with abnormal active condition is normally started, the agent detection task is started, and the command task execution is resumed; and if the controlled server with the abnormal active condition can not communicate, outputting an alarm of the controlled server with the abnormal active condition to the centralized monitoring station.
Fig. 5 schematically illustrates a logical block diagram of a controlled server according to an embodiment of the present disclosure.
As shown in fig. 5, according to an embodiment of the present disclosure, a controlled server 500 includes a task service agent module 501 and a health service agent module 502.
The task service agent module 501 is configured to receive and execute a command task distributed from the command task control server, and return an execution result to the command task control server.
The task service agent module 501 is responsible for receiving and executing a command set sent by the control server, and the task service agent module 501 may be composed of a message component and a command execution component: the message component is used for receiving the command set message of the control server and feeding back the execution condition of the command set; the command execution component is used for specific execution of the command, and can comprise timing task and instant task operations.
The health service agent module 502 is configured to monitor the active status of the task service agent module 501 in real time, and send the active status information to the command task control server.
The task service agent module 501 on the controlled server 500 is responsible for receiving and executing a command set sent by a command task control server, and the health service agent module 502 is responsible for monitoring the running status of the task service agent module 501 in real time, and periodically reports heartbeat information to the heartbeat service in a message manner according to a resource control policy, and when the task service agent module 501 is found to be abnormal or the resource occupancy is high, the task service agent module 501 can be restarted.
The health service agent module 502 can be responsible for monitoring the real-time health condition of the task service agent module 501, controlling the upper limit of the resource used by the task service agent module 501, and after the upper limit is exceeded, the task service agent module 501 can be forced to restart, thereby avoiding the influence on the service system on the controlled server; after the health service agent module 502 finds that the task service agent module 501 exits abnormally in operation, the task service agent module 501 can be started in time.
Through the embodiment of the disclosure, a relatively comprehensive monitoring management and problem analysis means is provided to help the system operation department to identify and find operation problems in time; through the task service agent module and the health service agent module of the controlled server, the command task control server can perform real-time monitoring and automatic operation and maintenance on all the controlled servers in the distributed environment, so that the manual operation and maintenance cost is saved for the automatic operation and maintenance aiming at complex scenes such as repeated work, condition dependence, sequence requirements and the like of a plurality of servers in the distributed environment, and the efficiency and the accuracy are improved; the communication mode based on the message queue can realize cross-platform and cross-operating system command execution.
FIG. 6 is a logic block diagram of an operation and maintenance system based on business logic orchestration according to another embodiment of the present disclosure.
As shown in fig. 6, the operation and maintenance system 300' based on business logic orchestration includes a business process editor 301, a process execution engine 302, an interface service bus 303, a command task control server 304, a controlled server 500, and a script library 601.
The command task control server 304 is internally provided with a task receiving module, a task flow processing module, a message queue cluster, a management control module, a heartbeat service module and a communication connection module; the controlled server 500 deploys a task service agent module and a health service agent module. The interface service bus 303 may be used to manage networks and applications, among other things.
According to the embodiment of the disclosure, the health service agent module can monitor whether the task service agent module is online or not, and regularly sends online information of the task service agent module to the message queue cluster, the heartbeat service module obtains real-time online data of the task service agent module through the message queue, when the task service agent module is disconnected, the state information of the controlled server is updated, the task flow processing module judges whether the controlled server is online or not according to the heartbeat service module, and if the task service agent module is not online, the task flow processing module stops issuing command tasks to the controlled server. When the task flow service module sends execution instructions to each controlled server, the instructions of each controlled server are sequenced according to the execution steps and sent to the message queue in sequence, and the task service agent module at the side of the controlled server monitors the message queue, analyzes the message content and performs task execution operation.
If the heartbeat data received by the command task control server is abnormal or the heartbeat data cannot be received, the heartbeat service module triggers heartbeat early warning according to a preset strategy and sends an early warning message to the management control module; the management control module receives the early warning message and generates a disposal scheme, the communication connection module tries to start the controlled server and remotely logs in the controlled server, and if the controlled server can log in normally, an agent detection task is started and agent operation is recovered; and if the controlled server is not communicable, sending out an alarm of the controlled server to the centralized monitoring.
Any of the modules according to embodiments of the present disclosure, or at least part of the functionality of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules according to the embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging the circuit, or in any one of three implementations, or in any suitable combination of any of the software, hardware, and firmware. Alternatively, one or more of the modules according to embodiments of the disclosure may be implemented at least partly as computer program modules which, when executed, may perform corresponding functions.
For example, any plurality of the task receiving module, the task flow processing module, the message queue cluster, the management control module, the heartbeat service module and the communication connection module may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the task receiving module, the task flow processing module, the message queue cluster, the management control module, the heartbeat service module, and the communication connection module may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or an appropriate combination of any several of them. Alternatively, at least one of the task receiving module, the task flow processing module, the message queue cluster, the management control module, the heartbeat service module, and the communication connection module may be at least partially implemented as a computer program module that, when executed, may perform a corresponding function.
It should be noted that, the operation and maintenance system part in the embodiment of the present disclosure corresponds to the operation and maintenance method part in the embodiment of the present disclosure, and the description of the operation and maintenance method part specifically refers to the operation and maintenance system part, which is not described herein again.
Another aspect of the present disclosure provides an electronic device including: one or more processors; a memory for storing one or more instructions, wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Fig. 7 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 7 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 7, a computer system 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 701 may also include on-board memory for caching purposes. The processor 701 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 703, various programs and data necessary for the operation of the system 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. The processor 701 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. It is noted that the programs may also be stored in one or more memories other than the ROM 702 and RAM 703. The processor 701 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the system 700 may also include an input/output (I/O) interface 705, the input/output (I/O) interface 705 also being connected to the bus 704. The system 700 may also include one or more of the following components connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by the processor 701, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement a method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: 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), 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 disclosure, 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.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 702 and/or the RAM 703 and/or one or more memories other than the ROM 702 and the RAM 703 described above.
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 disclosure. 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 or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (12)

1. An operation and maintenance system based on business logic arrangement, comprising:
the business process editor is used for receiving business logic creating operation designed based on the operation and maintenance scene and generating a target business process;
the flow execution engine is used for receiving the target business flow, generating one or more flow tasks according to the business logic of the target business flow, and distributing the tasks of the flow tasks according to the task types of the flow tasks, wherein the task distribution comprises the step of sending one or more flow tasks to an interface service bus or a command task control server in parallel or in series according to the interface service type or the command task service type;
the interface service bus is used for registering and managing a service interface, receiving and executing an interface task with the task type being the interface service type; and
the command task control server is used for receiving a command task with a task type being a command task service type and distributing the command task to the controlled server for execution;
the interface service bus and the command task control server execute tasks of corresponding types according to the logical precedence relationship, the flow execution engine is further used for performing rollback or continuous execution or conditional branch execution according to an interface service and command set execution success or failure judgment strategy in the process of executing the business flow, and the command set is obtained by decomposing the command tasks through the command task control server.
2. The system of claim 1, further comprising:
and the one or more controlled servers are used for receiving and executing the command tasks distributed by the command task control server and returning the execution results to the command task control server.
3. The system of claim 2, further comprising:
and the script library is used for providing one or more scripts for the one or more controlled servers to call.
4. The system of claim 2, wherein the command task control server comprises:
the task receiving module is used for receiving the command task with the task type being the command task service type;
the management control module is used for receiving server registration information from the one or more controlled servers, wherein the controlled servers which are successfully registered can receive command tasks; and
and the task flow processing module is used for receiving the command task, decomposing the command task into an execution command set and sending the execution command set to a specified controlled server through a message queue for execution.
5. The system of claim 4, wherein the command task control server further comprises:
and the heartbeat service module is used for collecting and processing the active condition information of the one or more controlled servers and triggering the health early warning message according to a preset strategy.
6. The system of claim 5, wherein the management control module is configured to receive a health warning message sent by the heartbeat service module and generate a treatment plan.
7. The system of claim 6, wherein the command task control server further comprises:
the communication connection module is used for starting a controlled server with abnormal active condition according to the handling scheme;
if the controlled server with the abnormal active condition is normally started, starting an agent detection task and restoring the execution of the command task; and if the controlled server with the abnormal active condition can not communicate, outputting an alarm of the controlled server with the abnormal active condition to a centralized monitoring station.
8. The system of claim 2, wherein the one or more controlled servers comprise:
the task service agent module is used for receiving and executing the command task distributed by the command task control server and returning an execution result to the command task control server; and
and the health service agent module is used for monitoring the active condition of the task service agent module in real time and sending the active condition information to the command task control server.
9. An operation and maintenance method, comprising:
receiving a business logic creating operation designed based on an operation and maintenance scene through a business process editor, and generating a target business process;
receiving the target business process through a process execution engine, generating one or more process tasks according to the business logic of the target business process, and distributing the tasks of the process tasks according to the task types of the process tasks, wherein the task distribution comprises the step of sending one or more process tasks to an interface service bus or a command task control server in parallel or in series according to the interface service type or the command task service type;
receiving and executing an interface task with a task type being an interface service type through an interface service bus, wherein the interface service bus is used for registering and managing a service interface; and
receiving a command task with a task type being a command task service type through a command task control server, and distributing the command task to a controlled server for execution;
wherein, there is a logical precedence relationship among a plurality of said process tasks, said interface service bus and said order task control server execute the task of the corresponding type according to said logical precedence relationship, said method also includes:
and performing rollback or continuous execution or conditional branch execution according to an interface service and command set execution success or failure judgment strategy in the process of executing the business process by the process execution engine, wherein the command set is obtained by decomposing the command task by the command task control server.
10. The method of claim 9, wherein the controlled server includes a task service agent module and a health service agent module, the method further comprising:
receiving and executing the command task distributed by the command task control server through the task service agent module, and returning an execution result to the command task control server; and
and monitoring the active condition of the task service agent module in real time through the health service agent module, and sending the active condition information to the command task control server.
11. An electronic device, comprising:
one or more processors;
a memory to store one or more instructions that,
wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method of claim 9 or 10.
12. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of claim 9 or 10.
CN202010302471.3A 2020-04-16 2020-04-16 Operation and maintenance system, operation and maintenance method, electronic device and storage medium Active CN111526049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010302471.3A CN111526049B (en) 2020-04-16 2020-04-16 Operation and maintenance system, operation and maintenance method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010302471.3A CN111526049B (en) 2020-04-16 2020-04-16 Operation and maintenance system, operation and maintenance method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111526049A CN111526049A (en) 2020-08-11
CN111526049B true CN111526049B (en) 2023-04-07

Family

ID=71901373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010302471.3A Active CN111526049B (en) 2020-04-16 2020-04-16 Operation and maintenance system, operation and maintenance method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111526049B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527962A (en) * 2020-11-23 2022-05-24 中国移动通信集团重庆有限公司 Flow automation processing device and method and computing equipment
CN112651705B (en) * 2020-12-15 2023-09-19 赛尔网络有限公司 Mail processing method, device, equipment and medium
CN113872811A (en) * 2021-09-29 2021-12-31 中国建设银行股份有限公司 Operation change method, wide area network control system, electronic device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281906A (en) * 2013-07-11 2015-01-14 江苏达科信息科技有限公司 Process engine achieving method and system in service process
CN108762735A (en) * 2018-07-19 2018-11-06 平安科技(深圳)有限公司 Management method and device, storage medium, the terminal of workflow engine

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060229925A1 (en) * 2005-04-08 2006-10-12 International Business Machines Corporation Automatic discovery and maintenance of business processes in web services and enterprise development environments
CN103279840B (en) * 2013-06-08 2017-02-08 北京首钢自动化信息技术有限公司 Workflow engine implement method based on dynamic language and event processing mechanism
CN105094984A (en) * 2014-11-25 2015-11-25 航天恒星科技有限公司 Resource scheduling method and system
CN104657150B (en) * 2015-03-13 2018-01-02 浪潮集团有限公司 A kind of automation O&M method under cluster environment
CN106055316B (en) * 2016-05-19 2020-02-07 四川物联亿达科技有限公司 Supply chain financial engine system, system establishing method and server
CN109086894A (en) * 2018-07-06 2018-12-25 西安热工研究院有限公司 A kind of warning message centring system of facing area genco

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281906A (en) * 2013-07-11 2015-01-14 江苏达科信息科技有限公司 Process engine achieving method and system in service process
CN108762735A (en) * 2018-07-19 2018-11-06 平安科技(深圳)有限公司 Management method and device, storage medium, the terminal of workflow engine

Also Published As

Publication number Publication date
CN111526049A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN111526049B (en) Operation and maintenance system, operation and maintenance method, electronic device and storage medium
EP3543866B1 (en) Resource-efficient record processing in unified automation platforms for robotic process automation
CN110427252B (en) Task scheduling method, device and storage medium based on task dependency relationship
CN107016480B (en) Task scheduling method, device and system
US20210165693A1 (en) Control token and hierarchical dynamic control
CN106817408B (en) Distributed server cluster scheduling method and device
US20060095914A1 (en) System and method for job scheduling
CN110611707B (en) Task scheduling method and device
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN113569987A (en) Model training method and device
CN105260842B (en) Communication method and system between heterogeneous ERP systems
US10942831B2 (en) Automating and monitoring rolling cluster reboots
CN114721807A (en) Batch business task execution method, device, equipment, medium and program product
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN113434323A (en) Task flow control method of data center station and related device
CN111240998B (en) Test case processing method and device
CN112953769A (en) Data transmission method, device, computer system and readable storage medium
US20110307904A1 (en) Method and apparatus for automation language extension
CN114968636A (en) Fault processing method and device
CN113220480B (en) Distributed data task cross-cloud scheduling system and method
CN114816477A (en) Server upgrading method, device, equipment, medium and program product
CN113157461B (en) Method and device for transmitting message in task list execution process
CN114816866A (en) Fault processing method and device, electronic equipment and storage medium
CN111917812B (en) Data transmission control method, device, equipment and storage medium
CN113656239A (en) Monitoring method and device for middleware and computer program product

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
GR01 Patent grant
GR01 Patent grant