CN112506638B - Operation and maintenance script flow programming method based on Activiti technology - Google Patents
Operation and maintenance script flow programming method based on Activiti technology Download PDFInfo
- Publication number
- CN112506638B CN112506638B CN202011514618.1A CN202011514618A CN112506638B CN 112506638 B CN112506638 B CN 112506638B CN 202011514618 A CN202011514618 A CN 202011514618A CN 112506638 B CN112506638 B CN 112506638B
- Authority
- CN
- China
- Prior art keywords
- execution
- maintenance
- script
- flow
- programming method
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- Y—GENERAL 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
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS 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/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems 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 programming method based on an action technology, which is characterized in that operation and maintenance scripts are freely combined and programmed, so that the execution operation with higher repeatability and complexity is realized by only editing the scripts, setting the flow execution sequence and executing one key, and the repeated execution step by no longer needs to be manually performed, thereby improving the execution efficiency and reducing human errors. The multi-type script mixing arrangement, support SHELL, SQL, FTP and other multi-type script mixing arrangement, and provide multi-dimensional support for script flow arrangement of complex scenes. And the high concurrency execution script flow is adopted, so that the work of low-efficiency repetition is reduced, and the script execution efficiency is improved. The invention provides the high concurrent execution solving capability of one-key execution for operation and maintenance personnel by freely combining and arranging the script flow and then solidifying the flow.
Description
Technical Field
The invention relates to the technical field of Internet information, in particular to an operation and maintenance script flow programming method based on an Activiti technology.
Background
With the penetration of informatization construction, an enterprise IT system is more and more complex, and general network equipment, servers, middleware, business systems and the like in the forest are difficult to be handled by IT operation and maintenance personnel, and even if maintenance, deployment and management are carried out on the added-class site, the business interruption caused by equipment faults can be caused, so that the normal operation of the enterprise is seriously affected. While IT operations of many enterprises today have been implemented from manual operations to computer management, they are still in a "semi-automated" state of operation, and merely executing a command or script in bulk is not sufficient to cope with increasingly complex operation scenarios.
Disclosure of Invention
The invention aims to provide an operation and maintenance script flow programming method based on an action technology, which aims to solve the problems of high complexity, high repeatability and multiple execution resources of operation and maintenance scenes; the operation and maintenance process has the problems of high difficulty, low efficiency and great human errors.
The technical scheme adopted by the invention is as follows:
an operation and maintenance script flow programming method based on an Activiti technology comprises the following steps:
step 1, an operation and maintenance person combs an operation and maintenance scene, and decomposes a multi-step complex operation and maintenance scene into sub-steps which can be executed independently;
step 2, compiling corresponding operation and maintenance scripts according to the requirements of the substeps;
step 3, freely arranging each sub-step to form a complex operation and maintenance flow according to the operation and maintenance scene requirement, and solidifying and storing to provide one-key execution capability;
step 4, the operation and maintenance personnel configures the execution resources and clicks the execution, manages the flow direction of the flow through the action,
step 5, randomly screening out the matched available agents from the agent connected pool according to the configured resources, and then sending json strings to a message queue;
step 6, after the corresponding self-research agent monitors the producer information, json strings are obtained and analyzed; calling the bottom layer method to execute the command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue for warehousing and displaying.
Further, step 2 supports multiple script types, such as shell, sql, FTP, etc.
Further, in step 3, mixed arrangement of scripts and sub-flows is supported, existing flows are multiplexed, branch flow judgment is supported, and branch flows are converged and parameters among the scripts are transferred.
Further, in step 4, two execution modes of serial execution and concurrent execution are provided.
In step 6, the underlying method is called by the command type and the resource type to execute the command on the corresponding resource.
The invention adopts the technical proposal and has the following advantages: 1) And freely combining and compiling operation and maintenance scripts. Aiming at the execution operation with higher repeatability and complexity, only the script is edited, the flow execution sequence is set, and one-key execution is carried out, so that the repeated execution step by manpower is not needed, the execution efficiency is improved, and the human error is reduced. 2) The multiple types of scripts are mixed and arranged. Support SHELL, SQL, FTP and the like, and provide multidimensional support for script flow arrangement of complex scenes. 3) Script flows are executed at high concurrency. The work of low-efficiency repetition is reduced, and the script execution efficiency is improved. The invention provides the high concurrent execution solving capability of one-key execution for operation and maintenance personnel by freely combining and arranging the script flow and then solidifying the flow.
Drawings
The invention is described in further detail below with reference to the drawings and detailed description;
FIG. 1 is a flow chart of an operation and maintenance script flow arrangement method based on an Activiti technology.
Detailed Description
For the purposes, technical solutions and advantages of the embodiments of the present application, 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 programming method based on an Activiti technology, which comprises the following steps:
step 1, an operation and maintenance person combs an operation and maintenance scene, and decomposes a multi-step complex operation and maintenance scene into sub-steps which can be executed independently;
step 2, compiling corresponding operation and maintenance scripts according to the requirements of the substeps;
step 3, freely arranging each sub-step to form a complex operation and maintenance flow according to the operation and maintenance scene requirement, and solidifying and storing to provide one-key execution capability;
step 4, the operation and maintenance personnel configures the execution resources and clicks the execution, manages the flow direction of the flow through the action,
step 5, randomly screening out the matched available agents from the agent connected pool according to the configured resources, and then sending json strings to a message queue;
step 6, after the corresponding self-research agent monitors the producer information, json strings are obtained and analyzed; calling the bottom layer method to execute the command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue for warehousing and displaying.
Further, step 2 supports multiple script types, such as shell, sql, FTP, etc.
Further, in step 3, mixed arrangement of scripts and sub-flows is supported, existing flows are multiplexed, branch flow judgment is supported, and branch flows are converged and parameters among the scripts are transferred.
Further, in step 4, two execution modes of serial execution and concurrent execution are provided.
In step 6, the underlying method is called by the command type and the resource type to execute the command on the corresponding resource.
The invention adopts the technical proposal and has the following advantages: 1) And freely combining and compiling operation and maintenance scripts. Aiming at the execution operation with higher repeatability and complexity, only the script is edited, the flow execution sequence is set, and one-key execution is carried out, so that the repeated execution step by manpower is not needed, the execution efficiency is improved, and the human error is reduced. 2) The multiple types of scripts are mixed and arranged. Support SHELL, SQL, FTP and the like, and provide multidimensional support for script flow arrangement of complex scenes. 3) Script flows are executed at high concurrency. The work of low-efficiency repetition is reduced, and the script execution efficiency is improved. The invention provides the high concurrent execution solving capability of one-key execution for operation and maintenance personnel by freely combining and arranging the script flow and then solidifying the flow.
It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. Embodiments and features of embodiments in this application may be combined with each other without conflict. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may 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 application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Claims (3)
1. The operation and maintenance script flow programming method based on the Activiti technology is characterized by comprising the following steps of: which comprises the following steps:
step 1, an operation and maintenance person combs an operation and maintenance scene, and decomposes a multi-step complex operation and maintenance scene into sub-steps which can be executed independently;
step 2, compiling corresponding operation and maintenance scripts according to the requirements of the substeps;
step 3, freely arranging each sub-step to form a complex operation and maintenance flow according to the operation and maintenance scene requirement, and solidifying and storing to provide one-key execution capability; step 3, supporting mixed arrangement of scripts and sub-flows, multiplexing the existing flows, supporting judgment of branch flows, converging the branch flows and transferring parameters among the scripts;
step 4, the operation and maintenance personnel configures the execution resources and clicks the execution, manages the flow direction of the flow through the action,
step 5, randomly screening out the matched available agents from the agent connected pool according to the configured resources, and then sending json strings to a message queue;
step 6, after the corresponding self-research agent monitors the producer information, json strings are obtained and analyzed; calling the bottom layer method to execute the command on the corresponding resource; step 6, calling the bottom layer method through the command type and the resource type to execute the command on the corresponding resource;
and 7, transmitting the execution result to an operation platform through a message queue for warehousing and displaying.
2. The operation and maintenance script flow programming method based on the Activiti technology according to claim 1, wherein the operation and maintenance script flow programming method is characterized in that: the script types supported in the step 2 include shell, sql and FTP.
3. The operation and maintenance script flow programming method based on the Activiti technology according to claim 1, wherein the operation and maintenance script flow programming method is characterized in that: and step 4, providing two execution modes of serial execution and concurrent execution.
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 CN112506638A (en) | 2021-03-16 |
CN112506638B true 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) |
Families Citing this family (1)
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 (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8438295B2 (en) * | 2008-10-14 | 2013-05-07 | Microsoft Corporation | Declarative programming model for modeling and execution of triggers for resource oriented system |
US8904388B2 (en) * | 2013-01-10 | 2014-12-02 | Vce Company, Llc | Scripting language executor service for applications |
-
2020
- 2020-12-21 CN CN202011514618.1A patent/CN112506638B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112506638A (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928774B (en) | Automatic test system based on node type | |
US8442958B2 (en) | Server change management | |
CN102904738B (en) | Work order processing method, relevant device and relevant system | |
Benefield | Seven dimensions of agile maturity in the global enterprise: a case study | |
CN110888657B (en) | Method for deploying microservice based on Groovy template engine | |
CN108134690B (en) | Network service deployment process control method, device and system | |
CN102306122A (en) | Automated testing method and equipment | |
CN112506638B (en) | Operation and maintenance script flow programming method based on Activiti technology | |
CN111130922A (en) | Airborne information safety automatic test method and test platform | |
CN107302476A (en) | A kind of automated testing method and system for testing asynchronous interactive system | |
CN114461357B (en) | Remote sensing satellite original data real-time processing flow scheduling system | |
CN106648771B (en) | Openstack cloud platform custom deployment system and deployment method | |
CN108268305A (en) | For the system and method for virtual machine scalable appearance automatically | |
CN111797173B (en) | Alliance chain sharing system, method and device, electronic equipment and storage medium | |
CN104217270A (en) | Business process application file generating and execution methods, client, device and system | |
CN102185856A (en) | Team organizing video method, device and system used in team organizing game | |
CN107329738A (en) | Component update method and device | |
CN111124642A (en) | Automatic flow method and system allowing cloud management platform to be customized | |
CN101266566B (en) | Multi- test scene automatic dispatch system and method | |
Chen et al. | Management as a service: an empirical case study in the internetware cloud | |
CN105335145B (en) | Operating result processing method, apparatus and system | |
CN110765009B (en) | Automatic AI voice software test frame of execution | |
CN107608887A (en) | A kind of method for creating virtual opetrating system test server | |
CN106598599A (en) | Program execution method and device | |
CN115495051B (en) | System and method for managing standardized business process of ubiquitin service |
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 |