CN109409853A - Flow of task processing method and processing device based on operation management platform - Google Patents

Flow of task processing method and processing device based on operation management platform Download PDF

Info

Publication number
CN109409853A
CN109409853A CN201811646265.3A CN201811646265A CN109409853A CN 109409853 A CN109409853 A CN 109409853A CN 201811646265 A CN201811646265 A CN 201811646265A CN 109409853 A CN109409853 A CN 109409853A
Authority
CN
China
Prior art keywords
task
flow
management platform
operation management
attribute data
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
CN201811646265.3A
Other languages
Chinese (zh)
Inventor
王功俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Di Di Information Technology Ltd By Share Ltd
Original Assignee
Shenzhen Di Di Information Technology Ltd By Share 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 Shenzhen Di Di Information Technology Ltd By Share Ltd filed Critical Shenzhen Di Di Information Technology Ltd By Share Ltd
Priority to CN201811646265.3A priority Critical patent/CN109409853A/en
Publication of CN109409853A publication Critical patent/CN109409853A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The present invention discloses a kind of flow of task processing method and processing device based on operation management platform, wherein the flow of task processing method based on operation management platform, comprising: a creation at least flow of task;It obtains flow of task and flow of task is distributed in message queue;The state of all flow of task in supervisory messages queue obtains corresponding task attribute data;Corresponding task operating is executed according to task attribute data call terminal.Technical solution of the present invention can realize the processing to flow of task on operation management platform, user-friendly;Overall plan performance is stablized, and O&M efficiency is able to ascend.

Description

Flow of task processing method and processing device based on operation management platform
Technical field
The present invention relates to technical field of data processing more particularly to a kind of flow of task processing based on operation management platform Method, apparatus, computer equipment and storage medium.
Background technique
With the continuous development of electronic technology, multiple terminal data interaction process technologies are also more and more deep.At multiple ends In the system for holding networking to be formed, in order to guarantee the reliably working of each terminal, operation management usually is accessed in the system of networking Platform is checked and is monitored to the operating status of each terminal using operation management platform.Above-mentioned operation management platform exists In operation/maintenance data, traditional data are synchronous, migration needs to be handled independently of operation management platform, in this way, causing management flat Platform is very cumbersome to the management of task, monitoring, scheduling and implementation procedure, O&M low efficiency, and is difficult to support distributed sum aggregate Group's processing.
In view of this, it is necessary to propose to carry out the flow of task processing technique of current operation management platform further It improves.
Summary of the invention
To solve an above-mentioned at least technical problem, the main object of the present invention is to provide a kind of based on operation management platform Flow of task processing method, device, computer equipment and storage medium.
To achieve the above object, first technical solution that the present invention uses are as follows: provide a kind of based on operation management platform Flow of task processing method, comprising:
Create an at least flow of task;
It obtains flow of task and flow of task is distributed in message queue;
The state of all flow of task in supervisory messages queue obtains corresponding task attribute data;
Corresponding task operating is executed according to task attribute data call terminal.
Wherein, a creation at least flow of task, specifically includes:
A gui interface is preset, dragging region and editing area, the dragging region are formed on the gui interface to be had Multiple processing steps;
After obtaining dragging request, an activation at least processing step is requested according to pulling, and will activate according to drag path Processing step be shown in editing area;
The position of multiple processing steps is configured, to form flow of task.
Wherein, the acquisition flow of task and flow of task is distributed in message queue, further includes:
Distributed caching is carried out to multiple tasks process.
Wherein, the task attribute data include multitask attribute and task chain attribute;
When task attribute data is multitask attribute, determine that a flow of task as goal task process, utilizes distribution Formula lock is locked to except goal task process, and terminal is called to execute corresponding task operating;
When task attribute data is task chain attribute, terminal is called serially to execute corresponding task operating.
Wherein, after the corresponding task operating according to the execution of task attribute data call terminal, further includes:
It obtains and reports log caused by flow of task operation;And
Log asynchronous access will be reported into database.
To achieve the above object, second technical solution that the present invention uses are as follows: provide a kind of based on operation management platform Flow of task processing unit, comprising:
Creation module, for creating an at least flow of task;
Task scheduling modules, for obtaining flow of task and flow of task being distributed in message queue;
It monitors module and obtains corresponding task attribute data for the state of all flow of task in supervisory messages queue;
Execution module, for executing corresponding task operating according to task attribute data call terminal.
To achieve the above object, the third technical solution that the present invention uses are as follows: a kind of computer equipment is provided, including is deposited Reservoir, processor and storage on a memory and the computer program that can run on a processor, described in the processor execution The step of above method is realized when computer program.
To achieve the above object, the 4th technical solution that the present invention uses are as follows: a kind of computer-readable storage medium is provided The step of matter is stored thereon with computer program, and the computer program realizes above-mentioned method when being executed by processor.
Technical solution of the present invention uses and first creates an at least flow of task;Then flow of task is obtained and by flow of task It is distributed in message queue;The state of all flow of task in then supervisory messages queue obtains corresponding task attribute data; Corresponding task operating is finally executed according to task attribute data call terminal.Task process flow in being different from the prior art For an application for managing platform independently of fortune pipe, the problem for causing task process flow comparatively laborious, this programme can transported Pipe manages the processing realized on platform to flow of task, and O&M is facilitated to operate;In addition, overall plan performance is stablized, it is able to ascend O&M efficiency.
Detailed description of the invention
Fig. 1 is the method flow diagram of flow of task processing method of the one embodiment of the invention based on operation management platform;
Fig. 2 is the specific method flow chart of step S10 of the present invention;
Fig. 3 is the block diagram of flow of task processing unit of the one embodiment of the invention based on operation management platform;
Fig. 4 is the internal structure chart of one embodiment of the invention computer equipment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that the description of " first ", " second " involved in the present invention etc. is used for description purposes only, and should not be understood as Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ", The feature of " second " can explicitly or implicitly include at least one of the features.In addition, the technical side between each embodiment Case can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when the combination of technical solution Conflicting or cannot achieve when occur will be understood that the combination of this technical solution is not present, also not the present invention claims guarantor Within the scope of shield.
Fig. 1 is please referred to, Fig. 1 is the method for flow of task processing method of the one embodiment of the invention based on operation management platform Flow chart.In embodiments of the present invention, it is somebody's turn to do the flow of task processing method based on operation management platform, comprising:
Step S10, an at least flow of task is created;
Step S20, it obtains flow of task and flow of task is distributed in message queue;
Step S30, in supervisory messages queue all flow of task state, obtain corresponding task attribute data;
Step S40, corresponding task operating is executed according to task attribute data call terminal.
It, can on the administration interface GUI of operation management platform without designing independent task creation process in the present embodiment To respond the operation of user, one or more flow of task are directly created;After getting creation flow of task, creation is appointed Business process carries out preliminary treatment and then flow of task is distributed in message queue so that flow of task meets preset requirement. The state of all flow of task in monitoring information queue obtains corresponding task attribute data.Task attribute data can basis Actual requirement is to design, such as multitask attribute and task chain attribute.Finally, being executed according to task attribute data call terminal Corresponding task operating, in this way, realizing creation, distribution, management, monitoring and execution to task in same operation management platform Process can be improved O&M efficiency.
Technical solution of the present invention uses and first creates an at least flow of task;Then flow of task is obtained and by flow of task It is distributed in message queue;The state of all flow of task in then supervisory messages queue obtains corresponding task attribute data; Corresponding task operating is finally executed according to task attribute data call terminal.Task process flow in being different from the prior art For an application for managing platform independently of fortune pipe, the problem for causing task process flow comparatively laborious, this programme can transported Pipe manages the processing realized on platform to flow of task, and O&M is facilitated to operate;In addition, overall plan performance is stablized, it is able to ascend O&M efficiency.
Referring to figure 2., Fig. 2 is the specific method flow chart of step S10 of the present invention.In a specific embodiment, institute A creation at least flow of task is stated, is specifically included:
Step S11, a gui interface is preset, is formed on the gui interface and pulls region and editing area, the dragging Region has multiple processing steps;
Step S12, after obtaining dragging request, an activation at least processing step is requested according to pulling, and according to dragging road The processing step of activation is shown in editing area by diameter;
Step S13, the position of multiple processing steps is configured, to form flow of task.
In the present embodiment, creation flow of task can directly be pulled by gui interface very much.In specific scheme, GUI circle Left side on face, which is formed, pulls region, and right side is equipped with editing area, pulls region and is equipped with multiple processing steps, if data input, Data conversion, data output, constant input and execution copy.It is defeated that data input, data conversion, data can be accommodated on editing area Out, constant inputs and executes multiple processing steps in copy.The position of multiple processing steps passes through connecting line allocation position.For Facilitate management, positioned at the processing step of editing area, can with double click operation, with configuration database connection, content for script with And operating parameter etc..
In a specific embodiment, flow of task is simultaneously distributed in message queue by the acquisition flow of task, also Include:
Distributed caching is carried out to multiple tasks process.
In the present embodiment, all data switch to structural data by task scheduling modules, and are storable in key-value In the distributed caching of format;Execution event, execution journal, data report, and are reported to data are asynchronous in message queue, lead to Above-mentioned mode is crossed, data processing will not be caused to block, is conducive to the treatment effeciency for improving data.All sections in this programme Point all statelessly designs, and processing data all exist in distributed caching and message queue, when some node delay machine or When load too high, remaining node still can continue with task until task processing is completed.
In a specific embodiment, the task attribute data include multitask attribute and task chain attribute;
When task attribute data is multitask attribute, determine that a flow of task as goal task process, utilizes distribution Formula lock is locked to except goal task process, and terminal is called to execute corresponding task operating;
When task attribute data is task chain attribute, terminal is called serially to execute corresponding task operating.
In the present embodiment, task attribute data be multitask attribute, can by distributed lock to other tasks into Row locking executes to avoid same task in other terminals, and after goal task process has executed, other appoint can be performed Business guarantees the data consistency that task status updates.
In a specific embodiment, it is described according to task attribute data call terminal execute corresponding task operating it Afterwards, further includes:
It obtains and reports log caused by flow of task operation;And
Log asynchronous access will be reported into database.
In the present embodiment, log, the triggering of various events etc. that when task run of collection reports, final data can be lasting Change into database, to facilitate follow-up data to consult and maintenance.
Referring to figure 3., Fig. 3 is the module of flow of task processing unit of the one embodiment of the invention based on operation management platform Block diagram.In the embodiment of the present invention, it is somebody's turn to do the flow of task processing unit based on operation management platform, comprising:
Creation module 10, for creating an at least flow of task;
Task scheduling modules 20, for obtaining flow of task and flow of task being distributed in message queue;
It monitors module 30 and obtains corresponding task attribute number for the state of all flow of task in supervisory messages queue According to;
Execution module 40, for executing corresponding task operating according to task attribute data call terminal.
It,, can be directly in operation management by creation module 10 without designing independent task creation process in the present embodiment The operation of user can be responded on the administration interface GUI of platform, directly create one or more flow of task;Pass through task schedule Module 20, the flow of task of available creation, and after getting creation flow of task, the flow of task of creation is carried out just Flow of task, so that flow of task meets preset requirement, is then distributed in message queue by step processing.By monitoring module 30, corresponding task attribute data can be obtained with the state of all flow of task in monitoring information queue.Task attribute data can To be designed according to actual requirement, such as multitask attribute and task chain attribute.Finally, passing through execution module 40, Ke Yigen Corresponding task operating is executed according to task attribute data call terminal, wherein above-mentioned monitoring module 30 and execution module 40 can Realized by worker cluster, in this way, same operation management platform realize creation to task, distribution, management, monitoring and Implementation procedure can be improved O&M efficiency.
Referring to figure 4., Fig. 4 is the internal structure chart of one embodiment of the invention computer equipment.In one embodiment, the meter Calculating machine equipment includes processor, memory and the network interface connected by system bus.Wherein, the processing of the computer equipment Device is for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.It should Non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories Jie The operation of operating system and computer program in matter provides environment.The network interface of the computer equipment is used for and external end End passes through network connection communication.To realize a kind of task based on operation management platform when the computer program is executed by processor Flow path processing method.
It will be understood by those skilled in the art that structure shown in Fig. 4, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor are realized when executing computer program in above each embodiment of the method The step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step in above each embodiment of the method is realized when machine program is executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in scope of patent protection of the invention.

Claims (8)

1. a kind of flow of task processing method based on operation management platform, which is characterized in that described to be based on operation management platform Flow of task processing method, comprising:
Create an at least flow of task;
It obtains flow of task and flow of task is distributed in message queue;
The state of all flow of task in supervisory messages queue obtains corresponding task attribute data;
Corresponding task operating is executed according to task attribute data call terminal.
2. the flow of task processing method based on operation management platform as described in claim 1, which is characterized in that the creation An at least flow of task, specifically includes:
A gui interface is preset, is formed on the gui interface and pulls region and editing area, the dragging region has multiple Processing step;
After obtaining and pulling request, an activation at least processing step is requested according to pulling, and according to drag path by the place of activation Reason step is shown in editing area;
The position of multiple processing steps is configured, to form flow of task.
3. the flow of task processing method based on operation management platform as described in claim 1, which is characterized in that the acquisition Flow of task is simultaneously distributed in message queue by flow of task, further includes:
Distributed caching is carried out to multiple tasks process.
4. the flow of task processing method based on operation management platform as described in claim 1, which is characterized in that the task Attribute data includes multitask attribute and task chain attribute;
When task attribute data is multitask attribute, determine that a flow of task as goal task process, utilizes distributed lock It is locked to except goal task process, terminal is called to execute corresponding task operating;
When task attribute data is task chain attribute, terminal is called serially to execute corresponding task operating.
5. the flow of task processing method based on operation management platform as described in claim 1, which is characterized in that the basis Task attribute data call terminal executes after corresponding task operating, further includes:
It obtains and reports log caused by flow of task operation;And
Log asynchronous access will be reported into database.
6. a kind of flow of task processing unit based on operation management platform, which is characterized in that described to be based on operation management platform Flow of task processing unit, comprising:
Creation module, for creating an at least flow of task;
Task scheduling modules, for obtaining flow of task and flow of task being distributed in message queue;
It monitors module and obtains corresponding task attribute data for the state of all flow of task in supervisory messages queue;
Execution module, for executing corresponding task operating according to task attribute data call terminal.
7. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 5 institute when executing the computer program The step of stating method.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of processor realizes method described in any one of claims 1 to 5 when executing.
CN201811646265.3A 2018-12-29 2018-12-29 Flow of task processing method and processing device based on operation management platform Pending CN109409853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811646265.3A CN109409853A (en) 2018-12-29 2018-12-29 Flow of task processing method and processing device based on operation management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811646265.3A CN109409853A (en) 2018-12-29 2018-12-29 Flow of task processing method and processing device based on operation management platform

Publications (1)

Publication Number Publication Date
CN109409853A true CN109409853A (en) 2019-03-01

Family

ID=65461626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811646265.3A Pending CN109409853A (en) 2018-12-29 2018-12-29 Flow of task processing method and processing device based on operation management platform

Country Status (1)

Country Link
CN (1) CN109409853A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930492A (en) * 2020-10-12 2020-11-13 南京赛宁信息技术有限公司 Task flow scheduling method and system based on decoupling task data model
CN112000476A (en) * 2020-08-21 2020-11-27 南京星邺汇捷网络科技有限公司 Queue-based task execution flow control method and system
CN112200403A (en) * 2020-08-24 2021-01-08 南方电网数字电网研究院有限公司 Power industry operation and maintenance scheduling system capacity management method
CN112365114A (en) * 2020-08-24 2021-02-12 南方电网数字电网研究院有限公司 Power operation plan management method based on operation and maintenance management platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915633A (en) * 2016-06-02 2016-08-31 北京百度网讯科技有限公司 Automated operational system and method thereof
CN106874094A (en) * 2017-02-17 2017-06-20 广州爱九游信息技术有限公司 timed task processing method, device and computing device
CN108021621A (en) * 2017-11-15 2018-05-11 平安科技(深圳)有限公司 Database data acquisition method, application server and computer-readable recording medium
US20180232255A1 (en) * 2017-02-16 2018-08-16 Nasdaq Technology Ab Methods and systems of scheduling computer processes or tasks in a distributed system
CN108845798A (en) * 2018-05-30 2018-11-20 安徽四创电子股份有限公司 A kind of visualization big data task cradle and processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915633A (en) * 2016-06-02 2016-08-31 北京百度网讯科技有限公司 Automated operational system and method thereof
US20180232255A1 (en) * 2017-02-16 2018-08-16 Nasdaq Technology Ab Methods and systems of scheduling computer processes or tasks in a distributed system
CN106874094A (en) * 2017-02-17 2017-06-20 广州爱九游信息技术有限公司 timed task processing method, device and computing device
CN108021621A (en) * 2017-11-15 2018-05-11 平安科技(深圳)有限公司 Database data acquisition method, application server and computer-readable recording medium
CN108845798A (en) * 2018-05-30 2018-11-20 安徽四创电子股份有限公司 A kind of visualization big data task cradle and processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000476A (en) * 2020-08-21 2020-11-27 南京星邺汇捷网络科技有限公司 Queue-based task execution flow control method and system
CN112200403A (en) * 2020-08-24 2021-01-08 南方电网数字电网研究院有限公司 Power industry operation and maintenance scheduling system capacity management method
CN112365114A (en) * 2020-08-24 2021-02-12 南方电网数字电网研究院有限公司 Power operation plan management method based on operation and maintenance management platform
CN111930492A (en) * 2020-10-12 2020-11-13 南京赛宁信息技术有限公司 Task flow scheduling method and system based on decoupling task data model
CN111930492B (en) * 2020-10-12 2021-01-19 南京赛宁信息技术有限公司 Task flow scheduling method and system based on decoupling task data model

Similar Documents

Publication Publication Date Title
CN109409853A (en) Flow of task processing method and processing device based on operation management platform
CN108845884B (en) Physical resource allocation method, device, computer equipment and storage medium
CN109992354B (en) Container processing method, device, main body server, system and storage medium
CN109194538A (en) Test method, device, server and storage medium based on distributed coordination
CN104219316A (en) Method and device for processing call request in distributed system
CN110427258B (en) Resource scheduling control method and device based on cloud platform
CN103701920A (en) Method for configuring virtual application server under cloud environment
CN111930525B (en) GPU resource use method, electronic device and computer readable medium
CN109032590B (en) Configuration method, device, terminal and storage medium of visual development environment
CN103618762A (en) System and method for enterprise service bus state pretreatment based on AOP
CN110704095A (en) Workflow-based configuration processing method and device, computer equipment and storage medium
CN112698952A (en) Unified management method and device for computing resources, computer equipment and storage medium
CN111857777A (en) System updating method and device based on double-core intelligent electric meter and computer equipment
CN110555074A (en) method for extracting and processing data at fixed time, terminal and computer readable storage medium
CN113419715A (en) Dynamic memory management method and device based on linked list
CN104410511A (en) Server management method and system
CN113439424B (en) Establishing a blockchain having blocks including an adjustable number of transaction blocks and a plurality of intermediate blocks
CN111273962B (en) Configuration management method, device, computer readable storage medium and computer equipment
CN109257256A (en) Apparatus monitoring method, device, computer equipment and storage medium
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN112559445B (en) Data writing method and device
CN114443294A (en) Big data service component deployment method, system, terminal and storage medium
CN114978686A (en) Digital asset chaining method and device
CN114077756A (en) Method and system for processing informatization service based on block chain
CN113419672B (en) Storage capacity management method, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301