[go: up one dir, main page]

CN114723191A - Operation and maintenance method and device and electronic equipment - Google Patents

Operation and maintenance method and device and electronic equipment Download PDF

Info

Publication number
CN114723191A
CN114723191A CN202011508507.XA CN202011508507A CN114723191A CN 114723191 A CN114723191 A CN 114723191A CN 202011508507 A CN202011508507 A CN 202011508507A CN 114723191 A CN114723191 A CN 114723191A
Authority
CN
China
Prior art keywords
job
executed
node
maintenance
flow template
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
CN202011508507.XA
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011508507.XA priority Critical patent/CN114723191A/en
Publication of CN114723191A publication Critical patent/CN114723191A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

本申请提出了一种运维方法、装置和电子设备,涉及互联网技术领域。其中,上述运维方法包括:首先,确定作业流程模板,作业流程模板包括多个作业节点,每个作业节点设置有触发条件。然后,根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。最后,检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务,以便自动执行。从而实现IT系统的自动运维,提高运维的效率,减少运维过程中的人为失误,提升运维的可靠性。

Figure 202011508507

The present application proposes an operation and maintenance method, apparatus and electronic device, which relate to the field of Internet technologies. The above operation and maintenance method includes: first, determining a job flow template, the job flow template includes a plurality of job nodes, and each job node is set with a trigger condition. Then, according to the executed job nodes, the to-be-executed job nodes and trigger conditions of the to-be-executed job nodes are determined from the job flow template. Finally, the trigger message is detected, and when the detected trigger message satisfies the trigger condition of the job to be executed, a job task about the job node to be executed is generated, and the job task is dispatched for automatic execution. In this way, the automatic operation and maintenance of the IT system is realized, the efficiency of the operation and maintenance is improved, the human error in the operation and maintenance process is reduced, and the reliability of the operation and maintenance is improved.

Figure 202011508507

Description

运维方法、装置和电子设备Operation and maintenance method, apparatus and electronic equipment

【技术领域】【Technical field】

本申请涉及互联网技术领域,尤其涉及一种运维方法、装置和电子设备。The present application relates to the field of Internet technologies, and in particular, to an operation and maintenance method, apparatus, and electronic device.

【背景技术】【Background technique】

随着电信运营商业务云化展开,IT系统日益庞大,系统的运维工作越来越复杂。目前在执行运维工作时,需要多个运维人员协作完成。每个运维人员都需要手动执行运维作业,人工确认执行结果,并且需要及时将执行结果通知下一环节的运维人员。With the development of cloudification of telecom operators' business, IT systems are becoming larger and larger, and system operation and maintenance work is becoming more and more complex. At present, when performing operation and maintenance work, multiple operation and maintenance personnel are required to cooperate to complete it. Each operation and maintenance personnel needs to manually perform the operation and maintenance operations, manually confirm the execution results, and promptly notify the operation and maintenance personnel of the next link of the execution results.

可见,目前的运维方式极大程度依赖人工,执行效率较低。且人工执行的方式容易增加人为失误。It can be seen that the current operation and maintenance method relies heavily on manual labor, and the execution efficiency is low. And the way of manual execution is easy to increase human error.

【发明内容】[Content of the invention]

本申请实施例提供了一种运维方法、装置和电子设备,以实现IT系统的自动运维,提高运维的效率,减少运维过程中的人为失误。The embodiments of the present application provide an operation and maintenance method, an apparatus, and an electronic device, so as to realize automatic operation and maintenance of an IT system, improve the efficiency of operation and maintenance, and reduce human errors in the operation and maintenance process.

第一方面,本申请实施例提供一种运维方法,包括:确定作业流程模板,所述作业流程模板包括多个作业节点,每个所述作业节点设置有触发条件;根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件;检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,派发所述作业任务。In a first aspect, an embodiment of the present application provides an operation and maintenance method, including: determining a job flow template, where the job flow template includes a plurality of job nodes, each of the job nodes is set with a trigger condition; , determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template; detect a trigger message, when the detected trigger message satisfies the trigger condition of the job to be executed, generate information about the job to be executed The job task of the job node is executed, and the job task is dispatched.

其中一种可能的实现方式中,确定作业流程模板之前,所述方法还包括:提供作业编排界面,所述作业编排界面包括编排控件和编排模板;根据用户在所述作业编排界面上通过所述编排控件对所述编排模板的编排操作,生成对应的作业流程模板。In one possible implementation manner, before determining the job flow template, the method further includes: providing a job scheduling interface, where the job scheduling interface includes scheduling controls and scheduling templates; The orchestration control performs the orchestration operation on the orchestration template to generate a corresponding job flow template.

其中一种可能的实现方式中,根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件,包括:根据已执行的作业节点的执行结果,从所述作业流程模板确定待执行作业节点;查询所述作业流程模板确定所述待执行作业节点的预设执行时间。In one possible implementation manner, determining the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node includes: according to the execution result of the executed job node , determining the job node to be executed from the job flow template; querying the job flow template to determine the preset execution time of the job node to be executed.

其中一种可能的实现方式中,检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,包括:检测当前时间,当检测到的当前时间与所述待执行作业节点的预设执行时间一致,生成关于所述待执行作业节点的作业任务。In one possible implementation manner, a trigger message is detected, and when the detected trigger message satisfies the trigger condition of the job to be executed, generating a job task about the job node to be executed includes: detecting the current time, when detecting The arrived current time is consistent with the preset execution time of the to-be-executed job node, and a job task for the to-be-executed job node is generated.

其中一种可能的实现方式中,派发所述作业任务,包括:确定所述待执行作业节点的作业类型为脚本类型,将所述作业任务派发至自动执行模块,以使所述自动执行模块自动执行所述待执行作业节点。In one possible implementation manner, dispatching the job task includes: determining that the job type of the job node to be executed is a script type, and dispatching the job task to an automatic execution module, so that the automatic execution module automatically executes Execute the to-be-executed job node.

其中一种可能的实现方式中,派发所述作业任务之后,所述方法还包括:获取所述待执行作业节点的执行结果;将所述执行结果发送至与所述待执行作业节点对应的运维负责人。In one possible implementation manner, after the job task is dispatched, the method further includes: acquiring the execution result of the job node to be executed; sending the execution result to the operation node corresponding to the job node to be executed. Wei in charge.

第二方面,本申请实施例提供一种运维装置,包括:确定模块,用于确定作业流程模板,所述作业流程模板包括多个作业节点,每个所述作业节点设置有触发条件;计算模块,用于根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件;派发模块,用于检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,派发所述作业任务。In a second aspect, an embodiment of the present application provides an operation and maintenance device, including: a determination module configured to determine a job flow template, wherein the job flow template includes a plurality of job nodes, and each of the job nodes is set with a trigger condition; computing The module is used to determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node; the dispatch module is used to detect the trigger message, when the detected trigger message satisfies When the trigger condition of the to-be-executed job is found, a job task about the to-be-executed job node is generated, and the job task is dispatched.

其中一种可能的实现方式中,所述装置还包括:显示模块,用于提供作业编排界面,所述作业编排界面包括编排控件和编排模板;生成模块,用于根据用户在所述作业编排界面上通过所述编排控件对所述编排模板的编排操作,生成对应的作业流程模板;自动执行模块,用于自动执行待执行作业节点;通知模块,用于获取所述待执行作业节点的执行结果;将所述执行结果发送至与所述待执行作业节点对应的运维负责人。In one possible implementation manner, the apparatus further includes: a display module, configured to provide a job scheduling interface, where the job scheduling interface includes scheduling controls and scheduling templates; Above, through the orchestration operation on the orchestration template by the orchestration control, a corresponding job flow template is generated; the automatic execution module is used to automatically execute the to-be-executed job node; the notification module is used to obtain the execution result of the to-be-executed job node ; Send the execution result to the person in charge of operation and maintenance corresponding to the job node to be executed.

第三方面,本申请实施例提供一种电子设备,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中:所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如上所述的方法。In a third aspect, embodiments of the present application provide an electronic device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores a program executable by the processor Instructions, the processor invoking the program instructions capable of performing the method as described above.

第四方面,本申请实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如上所述的方法。In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the above method.

以上技术方案中,首先,确定作业流程模板,作业流程模板包括多个作业节点,每个作业节点设置有触发条件。然后,根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。最后,检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务,以便自动执行。从而实现IT系统的自动运维,提高运维的效率,减少运维过程中的人为失误。In the above technical solution, first, a job flow template is determined, the job flow template includes a plurality of job nodes, and each job node is set with a trigger condition. Then, according to the executed job nodes, the to-be-executed job nodes and trigger conditions of the to-be-executed job nodes are determined from the job flow template. Finally, a trigger message is detected, and when the detected trigger message satisfies the trigger condition of the job to be executed, a job task about the job node to be executed is generated, and the job task is dispatched for automatic execution. In this way, the automatic operation and maintenance of the IT system is realized, the efficiency of operation and maintenance is improved, and human errors in the operation and maintenance process are reduced.

【附图说明】【Description of drawings】

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的一种运维管理系统的示意图;FIG. 1 is a schematic diagram of an operation and maintenance management system provided by an embodiment of the present application;

图2为本申请实施例提供的一种运维方法的流程图;FIG. 2 is a flowchart of an operation and maintenance method provided by an embodiment of the present application;

图3为本申请实施例提供的一种运维方法的示意图;FIG. 3 is a schematic diagram of an operation and maintenance method provided by an embodiment of the present application;

图4为本申请实施例提供的另一种运维方法的示意图;FIG. 4 is a schematic diagram of another operation and maintenance method provided by an embodiment of the present application;

图5为本申请实施例提供的一种运维装置的结构示意图;FIG. 5 is a schematic structural diagram of an operation and maintenance device according to an embodiment of the present application;

图6为本申请实施例提供的另一种运维装置的结构示意图;FIG. 6 is a schematic structural diagram of another operation and maintenance device provided by an embodiment of the present application;

图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

【具体实施方式】【Detailed ways】

为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。In order to better understand the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the embodiments of this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

本申请实施例中,可提供一种运维管理系统,用以执行本申请实施例的运维方法。如图1所示,本申请实施例的运维管理系统可包含门户管理单元、作业引擎单元、作业执行单元以及消息通知单元。In the embodiment of the present application, an operation and maintenance management system may be provided, which is used to execute the operation and maintenance method of the embodiment of the present application. As shown in FIG. 1 , the operation and maintenance management system of the embodiment of the present application may include a portal management unit, a job engine unit, a job execution unit, and a message notification unit.

其中,用户可通过门户管理单元实现与运维管理系统之间的人机交互。具体的,用户可通过作业编排界面编排作业流程模板,以及通过作业执行界面执行人工类型的待执行作业节点。作业引擎单元可用来实现作业节点的确定。作业引擎单元还可以通过统一消息接口与作业执行单元进行通信,将作业任务派发至作业执行单元进行执行。消息通知单元可将作业执行结果通知到对应的运维负责人。Among them, the user can realize the human-computer interaction with the operation and maintenance management system through the portal management unit. Specifically, the user can arrange the job flow template through the job scheduling interface, and execute the manual type of to-be-executed job nodes through the job execution interface. The job engine unit can be used to implement the determination of job nodes. The job engine unit can also communicate with the job execution unit through the unified message interface, and dispatch the job task to the job execution unit for execution. The message notification unit can notify the corresponding operation and maintenance person of the job execution result.

图2为本申请实施例提供的一种运维方法的流程图。如图2所示,上述运维方法可以包括:FIG. 2 is a flowchart of an operation and maintenance method provided by an embodiment of the present application. As shown in Figure 2, the above operation and maintenance method may include:

步骤101,确定作业流程模板。Step 101, determining a job flow template.

本申请实施例中,运维管理系统可提供作业编排界面。作业编排界面中可包含编排控件和编排模板。根据运维业务的不同,如操作系统安装、MySQL集群部署等,编排模板可分不同的类型。In this embodiment of the present application, the operation and maintenance management system may provide a job scheduling interface. The job orchestration interface can contain orchestration controls and orchestration templates. According to different operation and maintenance services, such as operating system installation, MySQL cluster deployment, etc., the orchestration template can be divided into different types.

用户可根据待执行的运维业务,在编排界面中调用对应的编排模板。通过编排控件,对该编排模板进行编排操作,生成对应的作业流程模板。Users can call the corresponding orchestration template in the orchestration interface according to the operation and maintenance business to be executed. Through the choreography control, the choreography template is choreographed to generate a corresponding job flow template.

作业流程模板中可包含运维过程中的各个作业节点以及每个作业节点的触发条件。当其中一个作业节点的执行状态发生变化时,其变化情况可在作业流程模板中进行实时显示。执行状态例如可以是,是否执行、执行结果等。The job process template can contain each job node in the operation and maintenance process and the trigger conditions of each job node. When the execution state of one of the job nodes changes, the change can be displayed in real time in the job flow template. The execution status may be, for example, whether to execute, execution result, and the like.

本申请实施例中,可根据预设的运维触发条件,生成运维指令。运维管理系统响应于运维指令,自动确定对应的作业流程模板。其中,预设的触发条件例如可以是,周期性触发时间、用户的触发操作。In this embodiment of the present application, an operation and maintenance instruction may be generated according to a preset operation and maintenance trigger condition. The operation and maintenance management system automatically determines the corresponding job process template in response to the operation and maintenance instruction. The preset trigger condition may be, for example, a periodic trigger time or a user's trigger operation.

步骤102,根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。Step 102: Determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node.

本申请实施例中,作业流程模板中还可以包含各个作业节点之间的执行路径。可根据已执行作业节点的执行结果,从作业流程模板中确定下一执行路径,并进一步确定待执行作业节点。其中,已执行作业节点的执行结果例如可以是,逻辑判断结果,如是或否。还可以是,指定参数计算结果。已执行作业节点的参数计算结果可传输至待执行作业节点。In this embodiment of the present application, the job flow template may further include execution paths between various job nodes. According to the execution result of the executed job node, the next execution path can be determined from the job flow template, and the job node to be executed can be further determined. The execution result of the executed job node may be, for example, a logical judgment result, such as yes or no. Optionally, specify the parameter calculation result. The parameter calculation results of the executed job node can be transmitted to the to-be-executed job node.

一些实施例中,执行结果为逻辑判断结果。举例来说,如果执行结果为是,则接下来执行路径1,确定作业节点a为待执行作业节点。如果执行结果为否,则接下来执行路径2,确定作业节点b为待执行作业节点。In some embodiments, the execution result is a logical judgment result. For example, if the execution result is yes, then execute path 1 next, and determine that the job node a is the job node to be executed. If the execution result is no, then execute path 2 next, and determine that the job node b is the job node to be executed.

一些实施例中,执行结果为指定参数计算结果。如图3所示,如果指定参数计算结果为5.7.16-log,确定图3中的查询原子服务为待执行作业节点。如果指定参数计算结果为3,确定图3中的会话数为待执行作业节点。In some embodiments, the execution result is the calculation result of the specified parameter. As shown in Figure 3, if the calculation result of the specified parameter is 5.7.16-log, it is determined that the query atomic service in Figure 3 is the job node to be executed. If the calculation result of the specified parameter is 3, determine that the number of sessions in Figure 3 is the job node to be executed.

根据作业流程模板,可查询待执行节点的触发条件。其中,触发条件例如可以为,预设执行时间。According to the job process template, you can query the trigger conditions of the nodes to be executed. The trigger condition may be, for example, a preset execution time.

步骤103,检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务。Step 103 , detecting a trigger message, and when the detected trigger message satisfies the trigger condition of the job to be executed, generate a job task on the node of the job to be executed, and dispatch the job task.

本申请实施例中,以待执行作业的触发条件为预设执行时间为例进行说明。此时,可检测当前时间,如果检测到当前时间与待执行作业节点的预设执行时间一致,则生成关于待执行作业节点的作业任务。In the embodiment of the present application, the trigger condition of the job to be executed is the preset execution time as an example for description. At this time, the current time can be detected, and if it is detected that the current time is consistent with the preset execution time of the to-be-executed job node, a job task about the to-be-executed job node is generated.

本申请实施例中,根据待执行作业节点的作业类型的不同,可将生成的作业任务派发至与待执行作业节点的作业类型匹配的执行主体,由与作业类型匹配的执行主体执行待执行作业节点。In the embodiment of the present application, according to the different job types of the job nodes to be executed, the generated job tasks can be dispatched to the execution body matching the job type of the job node to be executed, and the execution body matching the job type can execute the to-be-executed job. node.

具体的,待执行作业节点的作业类型例如可以包括:脚本类型和人工类型。如果作业类型为脚本类型,可将待执行作业节点的作业任务派发至自动执行模块,如Ansible,由Ansible自动执行待执行作业节点。如果作业类型为人工类型,可将待执行作业节点的作业任务派发至人工执行模块,由用户通过图1所示的作业执行界面手动执行待执行作业节点。Specifically, the job type of the job node to be executed may include, for example, a script type and a manual type. If the job type is a script type, the job task of the job node to be executed can be dispatched to an automatic execution module, such as Ansible, and Ansible will automatically execute the job node to be executed. If the job type is manual, the job task of the job node to be executed can be dispatched to the manual execution module, and the user can manually execute the job node to be executed through the job execution interface shown in FIG. 1 .

本申请实施例中,将待执行作业节点的作业任务派发至对应的执行主体进行执行之后,还可以获取待执行作业的执行结果。以及,将执行结果通过电话、短信、邮件等方式,发送至与该待执行作业节点对应的运维负责人。或者,将执行结果通知下一待执行作业节点的运维负责人。以使运维负责人可及时获知待执行作业节点的执行情况,并在必要时对自动运维流程进行人为干预。In the embodiment of the present application, after the job task of the job node to be executed is dispatched to the corresponding execution subject for execution, the execution result of the job to be executed can also be obtained. And, the execution result is sent to the person in charge of the operation and maintenance corresponding to the to-be-executed job node by means of a phone call, a short message, an email, or the like. Or, notify the operation and maintenance person in charge of the next job node to be executed of the execution result. In order to make the person in charge of operation and maintenance know the execution status of the job node to be executed in time, and manually intervene in the automatic operation and maintenance process when necessary.

本申请实施例中,首先,可响应于运维指令确定作业流程模板。然后,根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。最后,检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务,以便自动执行。从而实现了IT系统的自动运维,提高了运维的效率,减少了运维过程中的人为失误。In this embodiment of the present application, first, a job flow template may be determined in response to an operation and maintenance instruction. Then, according to the executed job nodes, the to-be-executed job nodes and trigger conditions of the to-be-executed job nodes are determined from the job flow template. Finally, a trigger message is detected, and when the detected trigger message satisfies the trigger condition of the job to be executed, a job task about the job node to be executed is generated, and the job task is dispatched for automatic execution. In this way, the automatic operation and maintenance of the IT system is realized, the efficiency of the operation and maintenance is improved, and the human error in the operation and maintenance process is reduced.

本申请实施例中,为方便理解,将以一个具体的实现过程为例,对上述运维方法作进一步说明。In the embodiments of the present application, for the convenience of understanding, a specific implementation process is taken as an example to further describe the above operation and maintenance method.

图4为本申请实施例提供的另一种运维方法的示意图。如图4所示,首先,可生成作业流程模板。然后,根据已执行节点的执行结果,确定待执行作业节点。具体的实现方式可参考上述实施例,此处不作赘述。FIG. 4 is a schematic diagram of another operation and maintenance method provided by an embodiment of the present application. As shown in FIG. 4 , first, a job flow template can be generated. Then, according to the execution result of the executed node, the job node to be executed is determined. For a specific implementation manner, reference may be made to the foregoing embodiments, which will not be repeated here.

确定待执行作业节点之后,根据待执行作业节点的作业类型派发待执行作业节点的执行任务。如图4所示,如果作业类型为人工类型,可将待执行作业的执行任务发送给对应的运维负责人。由运维负责人通过人工执行模块进行手动执行。执行完成之后,可根据待执行作业节点的审批要求,进入审批流程,对执行结果进行审批。After the job node to be executed is determined, the execution task of the job node to be executed is dispatched according to the job type of the job node to be executed. As shown in Figure 4, if the job type is a manual type, the execution task of the job to be executed can be sent to the corresponding operation and maintenance person in charge. Manual execution is performed by the person in charge of operation and maintenance through the manual execution module. After the execution is completed, you can enter the approval process according to the approval requirements of the job node to be executed, and approve the execution result.

本申请实施例中,还可实现作业转发功能。当待执行作业节点对应的运维负责人繁忙时,可将待执行作业的执行任务转发给对应的代工人员进行执行。In this embodiment of the present application, a job forwarding function can also be implemented. When the operation and maintenance person in charge of the node of the job to be executed is busy, the execution task of the job to be executed can be forwarded to the corresponding foundry personnel for execution.

如图4所示,如果作业类型为脚本类型,可将待执行作业的执行任务发送至Ansible进行自动执行。如果自动执行失败,可将待执行作业的执行任务变更为人工类型,由运维负责人或代工人员重新进行手动执行。As shown in Figure 4, if the job type is a script type, the execution task of the job to be executed can be sent to Ansible for automatic execution. If the automatic execution fails, the execution task of the job to be executed can be changed to a manual type, and the operation and maintenance person or OEM personnel can manually execute it again.

如图4所示,对于得到的执行结果,不论是手动执行的执行结果或自动执行的执行结果,均可返回至前述确定待执行作业节点的流程,以便根据已执行作业节点的执行结果,确定下一待执行作业节点。As shown in FIG. 4 , for the obtained execution result, whether it is the execution result of manual execution or the execution result of automatic execution, it can be returned to the aforementioned process of determining the job node to be executed, so as to determine the execution result of the executed job node according to the execution result. The next job node to be executed.

本申请实施例中,可根据待执行作业节点的作业类型,将作业任务分为人工类型和脚本类型两类,实现了人工执行和自动执行的结合,满足了多种运维场景的需要。当自动执行失败时,可重新进行人工执行,实现了自动执行和手动执行的相互配合和相互补充,提高了运维工作的效率和可靠性。In the embodiment of the present application, job tasks can be divided into two types: manual type and script type according to the job type of the job node to be executed, which realizes the combination of manual execution and automatic execution, and meets the needs of various operation and maintenance scenarios. When automatic execution fails, manual execution can be performed again, realizing the mutual cooperation and complementation of automatic execution and manual execution, and improving the efficiency and reliability of operation and maintenance work.

图5为本申请实施例提供的一种运维装置的结构示意图。本实施例中的运维装置可以作为运维设备实现本申请实施例提供的运维方法。如图5所示,上述运维装置可以包括:确定模块51、计算模块52和派发模块53。FIG. 5 is a schematic structural diagram of an operation and maintenance apparatus according to an embodiment of the present application. The operation and maintenance apparatus in this embodiment may be used as an operation and maintenance device to implement the operation and maintenance method provided by the embodiment of the present application. As shown in FIG. 5 , the above-mentioned operation and maintenance apparatus may include: a determination module 51 , a calculation module 52 and a distribution module 53 .

确定模块51,用于确定作业流程模板。作业流程模板可包括多个作业节点,每个作业节点设置有触发条件。The determining module 51 is used for determining the job flow template. A job flow template can include multiple job nodes, and trigger conditions are set for each job node.

计算模块52,用于根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。The calculation module 52 is configured to determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node.

派发模块53,用于检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务。The dispatching module 53 is configured to detect a trigger message, and when the detected trigger message satisfies the trigger condition of the to-be-executed job, generate a job task about the to-be-executed job node, and dispatch the job task.

在具体执行过程中,计算模块52具体用于根据已执行的作业节点的执行结果,从作业流程模板确定待执行作业节点。查询作业流程模板确定待执行作业节点的预设执行时间。In the specific execution process, the calculation module 52 is specifically configured to determine the to-be-executed job node from the job flow template according to the execution result of the executed job node. Query the job process template to determine the preset execution time of the job node to be executed.

派发模块53具体用于,检测当前时间,当检测到的当前时间与待执行作业节点的预设执行时间一致,生成关于待执行作业节点的作业任务。确定待执行作业节点的作业类型为脚本类型,将作业任务派发至自动执行模块。确定待执行作业节点的作业类型为人工类型,将作业任务派发至人工执行模块。The dispatching module 53 is specifically configured to detect the current time, and when the detected current time is consistent with the preset execution time of the to-be-executed job node, generate a job task about the to-be-executed job node. Determine that the job type of the job node to be executed is the script type, and dispatch the job task to the automatic execution module. Determine that the job type of the job node to be executed is the manual type, and dispatch the job task to the manual execution module.

本申请实施例中,首先,可由确定模块51确定作业流程模板。然后,计算模块52根据已执行的作业节点,从作业流程模板中确定待执行作业节点以及待执行作业节点的触发条件。最后,派发模块53检测触发消息,当检测到的触发消息满足待执行作业的触发条件时,生成关于待执行作业节点的作业任务,派发作业任务,以便自动执行。从而实现了IT系统的自动运维,提高了运维的效率,减少了运维过程中的人为失误。In this embodiment of the present application, firstly, the determination module 51 may determine the job flow template. Then, the calculation module 52 determines the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node. Finally, the dispatching module 53 detects the trigger message, and when the detected trigger message satisfies the trigger condition of the job to be executed, generates a job task about the job node to be executed, and dispatches the job task for automatic execution. In this way, the automatic operation and maintenance of the IT system is realized, the efficiency of the operation and maintenance is improved, and the human error in the operation and maintenance process is reduced.

图6为本申请实施例提供的另一种运维装置的结构示意图。与图5所示的运维装置相比,不同之处在于,图6所示的运维装置还可以包括:显示模块61、生成模块62、自动执行模块63、人工执行模块64以及通知模块65。FIG. 6 is a schematic structural diagram of another operation and maintenance apparatus according to an embodiment of the present application. Compared with the operation and maintenance device shown in FIG. 5 , the difference is that the operation and maintenance device shown in FIG. 6 may further include: a display module 61 , a generation module 62 , an automatic execution module 63 , a manual execution module 64 and a notification module 65 .

显示模块61,用于提供作业编排界面。其中,作业编排界面包括编排控件和编排模板。The display module 61 is used to provide a job scheduling interface. The job scheduling interface includes scheduling controls and scheduling templates.

生成模块62,用于根据用户在作业编排界面上通过编排控件对编排模板的编排操作,生成对应的作业流程模板。The generating module 62 is configured to generate a corresponding job flow template according to the user's choreography operation on the choreography template through the choreography control on the job choreography interface.

自动执行模块63,用于自动执行待执行作业节点。The automatic execution module 63 is used to automatically execute the job node to be executed.

人工执行模块64,用于人工执行待执行作业节点。The manual execution module 64 is used to manually execute the job node to be executed.

通知模块65,用于获取待执行作业节点的执行结果。将执行结果发送至与待执行作业节点对应的运维负责人。The notification module 65 is configured to obtain the execution result of the job node to be executed. Send the execution result to the operation and maintenance manager corresponding to the job node to be executed.

图7为本申请实施例提供的一种电子设备的结构示意图。如图7所示,上述电子设备可以包括至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被处理器执行的程序指令,上述处理器调用上述程序指令能够执行本申请实施例提供的运维方法。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 7 , the above-mentioned electronic device may include at least one processor; and at least one memory connected in communication with the above-mentioned processor, wherein: the memory stores program instructions executable by the processor, and the above-mentioned processor invokes the above-mentioned program instructions to Execute the operation and maintenance method provided by the embodiment of the present application.

其中,上述电子设备可以为运维设备,本实施例对上述电子设备的具体形态不作限定。The above electronic device may be an operation and maintenance device, and the specific form of the above electronic device is not limited in this embodiment.

图7示出了适于用来实现本申请实施方式的示例性电子设备的框图。图7显示的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 7 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device shown in FIG. 7 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

如图7所示,电子设备以通用计算设备的形式表现。电子设备的组件可以包括但不限于:一个或者多个处理器410,存储器430,连接不同系统组件(包括存储器430和处理器410)的通信总线440。As shown in Figure 7, the electronic device takes the form of a general-purpose computing device. Components of an electronic device may include, but are not limited to, one or more processors 410 , memory 430 , and a communication bus 440 connecting various system components including memory 430 and processor 410 .

通信总线440表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics StandardsAssociation;以下简称:VESA)局域总线以及外围组件互连(Peripheral ComponentInterconnection;以下简称:PCI)总线。Communication bus 440 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (hereinafter referred to as: ISA) bus, Micro Channel Architecture (hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronic standard Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (Peripheral Component Interconnection; hereinafter referred to as: PCI) bus.

电子设备典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic devices typically include various computer system readable media. These media can be any available media that can be accessed by the electronic device, including both volatile and nonvolatile media, removable and non-removable media.

存储器430可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)和/或高速缓存存储器。电子设备可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。尽管图7中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与通信总线440相连。存储器430可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The memory 430 may include a computer system readable medium in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as: RAM) and/or cache memory. The electronic device may further include other removable/non-removable, volatile/non-volatile computer system storage media. Although not shown in FIG. 7, disk drives for reading and writing to removable non-volatile magnetic disks (eg, "floppy disks") and removable non-volatile optical disks (eg, compact disk read only memory) may be provided Disc Read Only Memory; hereinafter referred to as: CD-ROM), Digital Video Disc Read Only Memory (hereinafter referred to as: DVD-ROM) or other optical media) read and write optical disc drives. In these cases, each drive may be connected to communication bus 440 through one or more data media interfaces. Memory 430 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.

具有一组(至少一个)程序模块的程序/实用工具,可以存储在存储器430中,这样的程序模块包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块通常执行本申请所描述的实施例中的功能和/或方法。A program/utility having a set (at least one) of program modules that may be stored in memory 430, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include an implementation of a network environment. Program modules generally perform the functions and/or methods of the embodiments described herein.

电子设备也可以与一个或多个外部设备(例如键盘、指向设备、显示器等)通信,还可与一个或者多个使得用户能与该电子设备交互的设备通信,和/或与使得该电子设备能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过通信接口420进行。并且,电子设备还可以通过网络适配器(图7中未示出)与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide AreaNetwork;以下简称:WAN)和/或公共网络,例如因特网)通信,上述网络适配器可以通过通信总线440与电子设备的其它模块通信。应当明白,尽管图7中未示出,可以结合电子设备使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Drives;以下简称:RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device may also communicate with one or more external devices (eg, keyboards, pointing devices, displays, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device, and/or communicate with the electronic device Any device (eg, network card, modem, etc.) capable of communicating with one or more other computing devices. Such communication may take place through communication interface 420 . In addition, the electronic device can also communicate with one or more networks (for example, Local Area Network (hereinafter referred to as: LAN), Wide Area Network (hereinafter referred to as: WAN) and/or through a network adapter (not shown in FIG. 7 ) A public network, such as the Internet, the aforementioned network adapter can communicate with other modules of the electronic device through the communication bus 440 . It should be understood that, although not shown in Figure 7, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives and data backup storage systems.

处理器410通过运行存储在存储器430中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例提供的运维方法。The processor 410 executes various functional applications and data processing by running the program stored in the memory 430, for example, to implement the operation and maintenance method provided by the embodiments of the present application.

本申请实施例还提供一种非临时性计算机可读存储介质,上述非暂态计算机可读存储介质存储计算机指令,上述计算机指令使上述计算机执行本申请实施例提供的运维方法。Embodiments of the present application further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the operation and maintenance method provided by the embodiments of the present application.

上述非临时性计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读存储器(ErasableProgrammable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The aforementioned non-transitory computer-readable storage media may employ any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) ; hereinafter referred to as: ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices , or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LocalArea Network;以下简称:LAN)或广域网(Wide Area Network;以下简称:WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (hereinafter referred to as: LAN) or a Wide Area Network (hereinafter referred to as: WAN), or may be connected to an external computer (eg using an internet service provider to connect via the internet).

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.

需要说明的是,本申请实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer;以下简称:PC)、个人数字助理(Personal Digital Assistant;以下简称:PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of the present application may include but are not limited to personal computers (Personal Computer; hereinafter referred to as: PC), personal digital assistants (Personal Digital Assistant; hereinafter referred to as: PDA), wireless handheld devices, tablet Computer (Tablet Computer), mobile phone, MP3 player, MP4 player, etc.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.

Claims (10)

1.一种运维方法,其特征在于,包括:1. An operation and maintenance method, characterized in that, comprising: 确定作业流程模板,所述作业流程模板包括多个作业节点,每个所述作业节点设置有触发条件;determining a job flow template, the job flow template includes a plurality of job nodes, and each of the job nodes is set with a trigger condition; 根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件;Determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node; 检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,派发所述作业任务。A trigger message is detected, and when the detected trigger message satisfies the trigger condition of the to-be-executed job, a job task about the to-be-executed job node is generated, and the job task is dispatched. 2.根据权利要求1所述的方法,其特征在于,确定作业流程模板之前,所述方法还包括:2. The method according to claim 1, wherein before determining the job flow template, the method further comprises: 提供作业编排界面,所述作业编排界面包括编排控件和编排模板;providing a job arrangement interface, the job arrangement interface includes an arrangement control and an arrangement template; 根据用户在所述作业编排界面上通过所述编排控件对所述编排模板的编排操作,生成对应的作业流程模板。A corresponding job flow template is generated according to a user's choreography operation on the choreography template through the choreography control on the job choreography interface. 3.根据权利要求1所述的方法,其特征在于,根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件,包括:3 . The method according to claim 1 , wherein determining the job node to be executed and a trigger condition of the job node to be executed from the job flow template according to the executed job node, comprising: 3 . 根据已执行的作业节点的执行结果,从所述作业流程模板确定待执行作业节点;Determine the to-be-executed job node from the job flow template according to the execution result of the executed job node; 查询所述作业流程模板确定所述待执行作业节点的预设执行时间。The job flow template is queried to determine the preset execution time of the job node to be executed. 4.根据权利要求3所述的方法,其特征在于,检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,包括:4 . The method according to claim 3 , wherein detecting a trigger message, and when the detected trigger message satisfies a trigger condition of the job to be executed, generating a job task about the node of the job to be executed, comprising: 5 . 检测当前时间,当检测到的当前时间与所述待执行作业节点的预设执行时间一致,生成关于所述待执行作业节点的作业任务。The current time is detected, and when the detected current time is consistent with the preset execution time of the to-be-executed job node, a job task for the to-be-executed job node is generated. 5.根据权利要求1所述的方法,其特征在于,派发所述作业任务,包括:5. The method according to claim 1, wherein dispatching the job task comprises: 确定所述待执行作业节点的作业类型为脚本类型,将所述作业任务派发至自动执行模块,以使所述自动执行模块自动执行所述待执行作业节点。It is determined that the job type of the job node to be executed is a script type, and the job task is dispatched to an automatic execution module, so that the automatic execution module automatically executes the job node to be executed. 6.根据权利要求1所述的方法,其特征在于,派发所述作业任务之后,所述方法还包括:6. The method according to claim 1, wherein after dispatching the job task, the method further comprises: 获取所述待执行作业节点的执行结果;obtaining the execution result of the job node to be executed; 将所述执行结果发送至与所述待执行作业节点对应的运维负责人。Send the execution result to the person in charge of operation and maintenance corresponding to the to-be-executed job node. 7.一种运维装置,其特征在于,包括:7. An operation and maintenance device, comprising: 确定模块,用于确定作业流程模板,所述作业流程模板包括多个作业节点,每个所述作业节点设置有触发条件;a determination module, configured to determine a job flow template, the job flow template includes a plurality of job nodes, and each of the job nodes is set with a trigger condition; 计算模块,用于根据已执行的作业节点,从所述作业流程模板中确定待执行作业节点以及所述待执行作业节点的触发条件;a calculation module, configured to determine the job node to be executed and the trigger condition of the job node to be executed from the job flow template according to the executed job node; 派发模块,用于检测触发消息,当检测到的触发消息满足所述待执行作业的触发条件时,生成关于所述待执行作业节点的作业任务,派发所述作业任务。The dispatching module is configured to detect a trigger message, and when the detected trigger message satisfies the trigger condition of the to-be-executed job, generate a job task about the to-be-executed job node, and dispatch the job task. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 7, wherein the apparatus further comprises: 显示模块,用于提供作业编排界面,所述作业编排界面包括编排控件和编排模板;a display module, configured to provide a job scheduling interface, the job scheduling interface including scheduling controls and scheduling templates; 生成模块,用于根据用户在所述作业编排界面上通过所述编排控件对所述编排模板的编排操作,生成对应的作业流程模板;a generating module, configured to generate a corresponding job flow template according to the user's choreography operation on the choreography template through the choreography control on the job choreography interface; 自动执行模块,用于自动执行待执行作业节点;The automatic execution module is used to automatically execute the to-be-executed job node; 通知模块,用于获取所述待执行作业节点的执行结果;将所述执行结果发送至与所述待执行作业节点对应的运维负责人。The notification module is configured to obtain the execution result of the job node to be executed; and send the execution result to the person in charge of operation and maintenance corresponding to the job node to be executed. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 至少一个处理器;以及at least one processor; and 与所述处理器通信连接的至少一个存储器,其中:at least one memory communicatively coupled to the processor, wherein: 所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至6任一所述的方法。The memory stores program instructions executable by the processor, and the processor invokes the program instructions to be able to perform the method as claimed in any one of claims 1 to 6 . 10.一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至6任一所述的方法。10. A non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions, the computer instructions cause the computer to execute any one of claims 1 to 6 Methods.
CN202011508507.XA 2020-12-18 2020-12-18 Operation and maintenance method and device and electronic equipment Pending CN114723191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011508507.XA CN114723191A (en) 2020-12-18 2020-12-18 Operation and maintenance method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011508507.XA CN114723191A (en) 2020-12-18 2020-12-18 Operation and maintenance method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114723191A true CN114723191A (en) 2022-07-08

Family

ID=82230115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011508507.XA Pending CN114723191A (en) 2020-12-18 2020-12-18 Operation and maintenance method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114723191A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237562A (en) * 2022-07-21 2022-10-25 中信百信银行股份有限公司 Automatic operation and maintenance method and system based on pipeline scheduling
CN117312042A (en) * 2023-12-01 2023-12-29 之江实验室 Operation and maintenance method and operation and maintenance system of computer cluster

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070185747A1 (en) * 2006-02-07 2007-08-09 Microsoft Corporation Business process assistance wizard
US20120221886A1 (en) * 2011-02-24 2012-08-30 International Business Machines Corporation Distributed job scheduling in a multi-nodal environment
CN106156939A (en) * 2015-04-27 2016-11-23 上海宝信软件股份有限公司 Dispatching System based on job stream and application process
CN109447411A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Business Process Control method, apparatus, computer equipment and storage medium
US20190370291A1 (en) * 2017-09-13 2019-12-05 Ping An Technology (Shenzhen) Co., Ltd. Node task data display method and apparatus, storage medium and computer equipment
CN110795224A (en) * 2019-10-30 2020-02-14 北京思特奇信息技术股份有限公司 Automatic operation and maintenance system and method based on infrastructure
CN111967849A (en) * 2020-08-19 2020-11-20 支付宝(杭州)信息技术有限公司 Task processing flow arrangement method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070185747A1 (en) * 2006-02-07 2007-08-09 Microsoft Corporation Business process assistance wizard
US20120221886A1 (en) * 2011-02-24 2012-08-30 International Business Machines Corporation Distributed job scheduling in a multi-nodal environment
CN106156939A (en) * 2015-04-27 2016-11-23 上海宝信软件股份有限公司 Dispatching System based on job stream and application process
US20190370291A1 (en) * 2017-09-13 2019-12-05 Ping An Technology (Shenzhen) Co., Ltd. Node task data display method and apparatus, storage medium and computer equipment
CN109447411A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Business Process Control method, apparatus, computer equipment and storage medium
CN110795224A (en) * 2019-10-30 2020-02-14 北京思特奇信息技术股份有限公司 Automatic operation and maintenance system and method based on infrastructure
CN111967849A (en) * 2020-08-19 2020-11-20 支付宝(杭州)信息技术有限公司 Task processing flow arrangement method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
范娟娟: "铁路信息系统中作业自动化管理系统设计与实现", 铁路计算机应用, vol. 26, no. 12, 31 December 2017 (2017-12-31), pages 35 - 38 *
魏新宇 等: "云原生应用构建", vol. 1, 31 July 2020, 机械工业出版社, pages: 381 - 382 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237562A (en) * 2022-07-21 2022-10-25 中信百信银行股份有限公司 Automatic operation and maintenance method and system based on pipeline scheduling
CN117312042A (en) * 2023-12-01 2023-12-29 之江实验室 Operation and maintenance method and operation and maintenance system of computer cluster

Similar Documents

Publication Publication Date Title
KR102180803B1 (en) Flow designer for contact centers
JP7219296B2 (en) Server, system, user terminal, method and program for messaging service
CN109523187A (en) Method for scheduling task, device and equipment
JP6178795B2 (en) Aggregation provider for social activity feeds and contact information
WO2019153549A1 (en) Method and apparatus for dynamically generating api, computer device and storage medium
US10491481B2 (en) Messaging queue topology configuration system
CN110399236A (en) Adaptation method, device, medium and the electronic equipment of message queue
CN114723191A (en) Operation and maintenance method and device and electronic equipment
US10250531B2 (en) Bot monitoring
CN110389809A (en) Method and device for displaying information
CN114371888A (en) Method and device for hot updating of log collection plug-in, electronic equipment and readable medium
CN107817962B (en) Remote control method, device, control server and storage medium
CN103795764A (en) Cloud service triggering method, cloud server and thin client
CN111782382A (en) Task processing method and device, storage medium and electronic equipment
AU2017201109B2 (en) Dynamic process execution architecture with disassociated resource control
WO2020177731A1 (en) Real-time communication method between hosted applications
WO2025138462A1 (en) Service text generation method and apparatus, electronic device, and readable storage medium
WO2020224295A1 (en) Information management method, device, and system
CN117234464A (en) Multi-platform charging component service management method and device, electronic equipment and medium
CN116112457A (en) Method, device, computer equipment and storage medium for message notification
CN115460265A (en) Interface calling method, device, equipment and medium
CN115187364A (en) Method and device for monitoring margin risk in bank distributed scenario
CN114489667A (en) Script generation method and device, electronic equipment and storage medium
CN114333766A (en) Voice performance testing method, device, system, equipment and storage medium
CN113569182B (en) Data processing method, device, storage medium and electronic device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220708