CN112506638A - Operation and maintenance script flow arrangement method based on Activiti technology - Google Patents

Operation and maintenance script flow arrangement method based on Activiti technology Download PDF

Info

Publication number
CN112506638A
CN112506638A CN202011514618.1A CN202011514618A CN112506638A CN 112506638 A CN112506638 A CN 112506638A CN 202011514618 A CN202011514618 A CN 202011514618A CN 112506638 A CN112506638 A CN 112506638A
Authority
CN
China
Prior art keywords
maintenance
execution
script
flow
technology
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.)
Granted
Application number
CN202011514618.1A
Other languages
Chinese (zh)
Other versions
CN112506638B (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.)
China Telecom Fufu Information Technology Co Ltd
Original Assignee
China Telecom Fufu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Fufu Information Technology Co Ltd filed Critical China Telecom Fufu Information Technology Co Ltd
Priority to CN202011514618.1A priority Critical patent/CN112506638B/en
Publication of CN112506638A publication Critical patent/CN112506638A/en
Application granted granted Critical
Publication of CN112506638B publication Critical patent/CN112506638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an operation and maintenance script flow arrangement method based on an Activiti technology, which arranges operation and maintenance scripts through free combination, only needs to edit the scripts, set a flow execution sequence and execute by one key aiming at execution operation with high repeatability and complexity, does not need manual step-by-step repeated execution, improves the execution efficiency and reduces human errors. The multi-type script mixing arrangement supports the mixing arrangement of multi-type scripts such as SHELL, SQL, FTP and the like, and provides multi-dimensional support for the script flow arrangement of complex scenes. And a high-concurrency script execution flow is adopted, so that the low-efficiency repeated work is reduced, and the script execution efficiency is improved. The invention arranges the script flow by free combination and then solidifies the flow, thereby providing the operation and maintenance personnel with the capability of high concurrent execution solution of one-key execution.

Description

Operation and maintenance script flow arrangement method based on Activiti technology
Technical Field
The invention relates to the technical field of internet information, in particular to an operation and maintenance script flow arrangement method based on an Activiti technology.
Background
With the deepening of information-based construction, an enterprise IT system is increasingly complex, general network equipment, servers, middleware, business systems and the like of forests make IT operation and maintenance personnel difficult to cope with the situation, even if the maintenance, deployment and management are carried out on spot after shift, the interruption of business is often caused by the failure of the equipment, and the normal operation of the enterprise is seriously influenced. Although IT operation and maintenance of many enterprises have been implemented from manual operation and maintenance to computer management, the operation and maintenance state is only semi-automatic, and simply executing a command or script in batches is not enough to cope with the increasingly complex operation and maintenance scenario.
Disclosure of Invention
The invention aims to provide an operation and maintenance script flow arrangement method based on an Activiti technology, aiming at solving the problems of high complexity, high repeatability and more execution resources of an operation and maintenance scene; the problems of high difficulty, low efficiency and many human errors in the operation and maintenance process.
The technical scheme adopted by the invention is as follows:
the operation and maintenance script flow arrangement method based on the Activiti technology comprises the following steps:
step 1, an operation and maintenance worker combs an operation and maintenance scene and decomposes a multi-step complex operation and maintenance scene into substeps which can be independently executed one by one;
step 2, compiling a corresponding operation and maintenance script according to the sub-step requirements;
step 3, freely arranging each sub-step according to the operation and maintenance scene requirement to form a complex operation and maintenance flow, and solidifying and storing to provide one-key execution capability;
step 4, the operation and maintenance personnel configure execution resources and click to execute the resources, the flow direction of the process is managed through Activiti,
step 5, randomly screening out the matched available agents from the agent communication pool according to the configured resources, and then sending the json strings to a message queue;
step 6, acquiring json strings and analyzing the json strings after monitoring the producer information by the corresponding self-research agent; then calling a bottom layer method to execute a command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue to be put in storage and displayed.
Further, step 2 supports multiple script types, such as shell, Sql, FTP, etc.
Further, step 3 supports mixed arrangement of scripts and sub-processes, multiplexing of existing processes, branch process judgment, branch process convergence and parameter transfer among scripts.
Furthermore, two execution modes of serial execution and concurrent execution are provided in step 4.
Furthermore, in step 6, the bottom-layer method is called according to the command type and the resource type to execute the command on the corresponding resource.
By adopting the technical scheme, the invention has the following advantages: 1) and freely combining and arranging the operation and maintenance scripts. Aiming at the execution operation with high repeatability and complexity, only the script needs to be edited, the flow execution sequence is set, the execution is carried out by one key, the manual one-step repeated execution is not needed, the execution efficiency is improved, and the human errors are reduced. 2) And mixing and arranging the multi-type scripts. And the method supports mixed arrangement of multiple types of scripts such as SHELL, SQL, FTP and the like, and provides multi-dimensional support for script flow arrangement of complex scenes. 3) And executing the script flow at high concurrency. The repeated work of inefficiency is reduced, promotes script execution efficiency. The invention arranges the script flow by free combination and then solidifies the flow, thereby providing the operation and maintenance personnel with the capability of high concurrent execution solution of one-key execution.
Drawings
The invention is described in further detail below with reference to the accompanying drawings and the detailed description;
fig. 1 is a schematic flow diagram of the operational script flow arrangement method based on the activti technology.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
As shown in fig. 1, the invention discloses an operation and maintenance script flow arrangement method based on an Activiti technology, which comprises the following steps:
step 1, an operation and maintenance worker combs an operation and maintenance scene and decomposes a multi-step complex operation and maintenance scene into substeps which can be independently executed one by one;
step 2, compiling a corresponding operation and maintenance script according to the sub-step requirements;
step 3, freely arranging each sub-step according to the operation and maintenance scene requirement to form a complex operation and maintenance flow, and solidifying and storing to provide one-key execution capability;
step 4, the operation and maintenance personnel configure execution resources and click to execute the resources, the flow direction of the process is managed through Activiti,
step 5, randomly screening out the matched available agents from the agent communication pool according to the configured resources, and then sending the json strings to a message queue;
step 6, acquiring json strings and analyzing the json strings after monitoring the producer information by the corresponding self-research agent; then calling a bottom layer method to execute a command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue to be put in storage and displayed.
Further, step 2 supports multiple script types, such as shell, Sql, FTP, etc.
Further, step 3 supports mixed arrangement of scripts and sub-processes, multiplexing of existing processes, branch process judgment, branch process convergence and parameter transfer among scripts.
Furthermore, two execution modes of serial execution and concurrent execution are provided in step 4.
Furthermore, in step 6, the bottom-layer method is called according to the command type and the resource type to execute the command on the corresponding resource.
By adopting the technical scheme, the invention has the following advantages: 1) and freely combining and arranging the operation and maintenance scripts. Aiming at the execution operation with high repeatability and complexity, only the script needs to be edited, the flow execution sequence is set, the execution is carried out by one key, the manual one-step repeated execution is not needed, the execution efficiency is improved, and the human errors are reduced. 2) And mixing and arranging the multi-type scripts. And the method supports mixed arrangement of multiple types of scripts such as SHELL, SQL, FTP and the like, and provides multi-dimensional support for script flow arrangement of complex scenes. 3) And executing the script flow at high concurrency. The repeated work of inefficiency is reduced, promotes script execution efficiency. The invention arranges the script flow by free combination and then solidifies the flow, thereby providing the operation and maintenance personnel with the capability of high concurrent execution solution of one-key execution.
It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The embodiments and features of the embodiments in the present application may be combined with each other without conflict. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments of the present application is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Claims (5)

1. The operation and maintenance script flow arrangement method based on the Activiti technology is characterized by comprising the following steps: which comprises the following steps:
step 1, an operation and maintenance worker combs an operation and maintenance scene and decomposes a multi-step complex operation and maintenance scene into substeps which can be independently executed one by one;
step 2, compiling a corresponding operation and maintenance script according to the sub-step requirements;
step 3, freely arranging each sub-step according to the operation and maintenance scene requirement to form a complex operation and maintenance flow, and solidifying and storing to provide one-key execution capability;
step 4, the operation and maintenance personnel configure execution resources and click to execute the resources, the flow direction of the process is managed through Activiti,
step 5, randomly screening out the matched available agents from the agent communication pool according to the configured resources, and then sending the json strings to a message queue;
step 6, acquiring json strings and analyzing the json strings after monitoring the producer information by the corresponding self-research agent; then calling a bottom layer method to execute a command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue to be put in storage and displayed.
2. The activti technology-based operation and maintenance script flow arrangement method according to claim 1, wherein: the script types supported by the step 2 comprise shell, Sql and FTP.
3. The activti technology-based operation and maintenance script flow arrangement method according to claim 1, wherein: and 3, supporting mixed arrangement of scripts and sub-processes, multiplexing the existing processes, supporting branch process judgment, branch process convergence and parameter transfer among scripts.
4. The activti technology-based operation and maintenance script flow arrangement method according to claim 1, wherein: in step 4, two execution modes of serial execution and concurrent execution are provided.
5. The activti technology-based operation and maintenance script flow arrangement method according to claim 1, wherein: and 6, calling a bottom layer method through the command type and the resource type to execute the command on the corresponding resource.
CN202011514618.1A 2020-12-21 2020-12-21 Operation and maintenance script flow programming method based on Activiti technology Active CN112506638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011514618.1A CN112506638B (en) 2020-12-21 2020-12-21 Operation and maintenance script flow programming method based on Activiti technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011514618.1A CN112506638B (en) 2020-12-21 2020-12-21 Operation and maintenance script flow programming method based on Activiti technology

Publications (2)

Publication Number Publication Date
CN112506638A true CN112506638A (en) 2021-03-16
CN112506638B CN112506638B (en) 2023-06-06

Family

ID=74922717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011514618.1A Active CN112506638B (en) 2020-12-21 2020-12-21 Operation and maintenance script flow programming method based on Activiti technology

Country Status (1)

Country Link
CN (1) CN112506638B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676354A (en) * 2021-08-27 2021-11-19 北京神州光大科技有限公司 Hybrid cloud operation and maintenance management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100094926A1 (en) * 2008-10-14 2010-04-15 Microsoft Corporation Declarative programming model for modeling and execution of triggers for resource oriented system
US20140196029A1 (en) * 2013-01-10 2014-07-10 VCE Company LLC Scripting language executor service for applications
CN106600238A (en) * 2016-12-26 2017-04-26 上海轻维软件有限公司 Network service fulfillment realization method based on Activiti flow engine and apparatus thereof
CN111124636A (en) * 2019-12-07 2020-05-08 杭州安恒信息技术股份有限公司 Process arrangement engine and control method thereof
CN111858253A (en) * 2020-07-23 2020-10-30 平安普惠企业管理有限公司 Server operation and maintenance control method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100094926A1 (en) * 2008-10-14 2010-04-15 Microsoft Corporation Declarative programming model for modeling and execution of triggers for resource oriented system
US20140196029A1 (en) * 2013-01-10 2014-07-10 VCE Company LLC Scripting language executor service for applications
CN106600238A (en) * 2016-12-26 2017-04-26 上海轻维软件有限公司 Network service fulfillment realization method based on Activiti flow engine and apparatus thereof
CN111124636A (en) * 2019-12-07 2020-05-08 杭州安恒信息技术股份有限公司 Process arrangement engine and control method thereof
CN111858253A (en) * 2020-07-23 2020-10-30 平安普惠企业管理有限公司 Server operation and maintenance control method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676354A (en) * 2021-08-27 2021-11-19 北京神州光大科技有限公司 Hybrid cloud operation and maintenance management method and system

Also Published As

Publication number Publication date
CN112506638B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN110389900B (en) Distributed database cluster testing method and device and storage medium
CN111506412B (en) Airflow-based distributed asynchronous task construction and scheduling system and method
CN110543328B (en) Cross-platform component management method, system, terminal and storage medium based on Ambari
CN111158708A (en) Task arrangement engine system
CN112463211A (en) System architecture transformation method compatible with multiple development architectures and system architecture
CN112099919B (en) Application service visualization rapid deployment method based on cloud computing API
CN110888657B (en) Method for deploying microservice based on Groovy template engine
CN113220422B (en) Method and system for modifying Pod network interface based on operation of CNI plug-in K8s
CN106648771B (en) Openstack cloud platform custom deployment system and deployment method
CN109639818A (en) Service discovery method, device, server and storage medium under a kind of cloud environment
CN112506638A (en) Operation and maintenance script flow arrangement method based on Activiti technology
CN116414521A (en) Virtual machine remote command interaction method, device and medium for distributed heterogeneous shooting ranges
CN111124642A (en) Automatic flow method and system allowing cloud management platform to be customized
CN112422349B (en) Network management system, method, equipment and medium for NFV
US7254627B2 (en) Method, service agent and network management system for operating a telecommunications network
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN115065720A (en) Method and device for automatically adapting a plurality of external registries to service grid Istio
CN111078302B (en) Automatic deployment method and terminal of distribution network monitoring platform system
CN109921940B (en) System and method for realizing off-line arrangement processing of network service based on SDWAN scene
CN114553917A (en) Intelligent network management method based on block chain
CN111984275A (en) System deployment method, system, terminal and storage medium based on CPU architecture type
CN113722135A (en) Error log acquisition system, method, device and medium
CN113778570B (en) Distributed system breakpoint retry method based on AOP+Threadlocal technology
CN114785673B (en) Method and device for acquiring abnormal information during active-standby switching
CN112817808B (en) Computer cluster maintenance task management method and system

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