CN117172518A - Asynchronous analysis method and system based on activity workflow - Google Patents

Asynchronous analysis method and system based on activity workflow Download PDF

Info

Publication number
CN117172518A
CN117172518A CN202311071570.5A CN202311071570A CN117172518A CN 117172518 A CN117172518 A CN 117172518A CN 202311071570 A CN202311071570 A CN 202311071570A CN 117172518 A CN117172518 A CN 117172518A
Authority
CN
China
Prior art keywords
task
personnel
asynchronous
activity workflow
link
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
CN202311071570.5A
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.)
Inspur Software Co Ltd
Original Assignee
Inspur Software 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 Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202311071570.5A priority Critical patent/CN117172518A/en
Publication of CN117172518A publication Critical patent/CN117172518A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an asynchronous analysis method and a system based on an activity workflow, which belong to the technical field of data processing, wherein the method is based on tasks of an activity workflow asynchronous analysis link personnel, and scheduling and distributing are carried out according to requirements; comprising the following steps: defining an activity workflow model comprising a plurality of activities and dependencies therebetween; adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel; adding an asynchronous executor in a task node of the asynchronous analysis link personnel for asynchronously executing tasks; and adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement. The invention can solve the problems of task blocking, resource waste and the like and improve the efficiency and the flexibility of task processing.

Description

Asynchronous analysis method and system based on activity workflow
Technical Field
The invention relates to the technical field of data processing, in particular to an activity workflow-based asynchronous analysis method and an activity workflow-based asynchronous analysis system.
Background
In enterprise applications, it is often necessary to handle a large number of business processes and tasks that may involve multiple departments or personnel in concert. To improve work efficiency and reduce human intervention, many enterprises employ workflow engines to manage business processes and tasks. Among them, activity workflow is a common workflow model that abstracts a complex business process into a series of ordered activities (activities), each with its own inputs, outputs and behaviors. In activity workflow, tasks are typically assigned and scheduled to complete tasks in time and to ensure consistency of data. However, conventional activity work is typically performed in a synchronous manner, i.e., each task needs to wait for the completion of the previous task before starting to perform. This approach can easily lead to task blocking and resource waste, affecting the performance and efficiency of the system.
Disclosure of Invention
The technical task of the invention aims at the defects, and provides an activity workflow-based asynchronous analysis method and an activity workflow-based asynchronous analysis system, which can solve the problems of task blocking, resource waste and the like and improve the efficiency and flexibility of task processing.
The technical scheme adopted for solving the technical problems is as follows:
an asynchronous analysis method based on activity workflow, the method is based on the task of the activity workflow asynchronous analysis link personnel, schedule and distribute according to need; the method comprises the following steps:
1) Defining an activity workflow model comprising a plurality of activities (activities) and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
The method can realize the task of the personnel in the asynchronous analysis link, and avoid task blocking and resource waste; by adding the monitoring module, the state and progress of the task can be monitored in real time, scheduling and optimizing can be performed according to the needs, and the efficiency and flexibility of task processing are improved.
The method can conveniently manage and control the business process and task, and improves the maintainability and expandability of the system.
Preferably, the task node of the asynchronous analysis link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
Preferably, the monitoring module is configured to automatically adjust the priority and the scheduling policy of the task according to the state and the progress of the task.
Preferably, the method is specifically implemented as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
The invention also claims an activity workflow-based asynchronous analysis system, which performs scheduling and distribution according to the needs by establishing an activity workflow model and asynchronously analyzing the tasks of link personnel; the specific implementation is as follows:
1) Defining an activity workflow model comprising a plurality of activities (activities) and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
Preferably, the task node of the asynchronous analysis link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
Preferably, the monitoring module is configured to automatically adjust the priority and the scheduling policy of the task according to the state and the progress of the task.
Preferably, the specific process of the system for realizing the tasks of the asynchronous analysis link personnel is as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
The invention also claims an asynchronous analysis device based on activity workflow, comprising: at least one memory and at least one processor;
the at least one memory for storing a machine readable program;
the at least one processor is configured to invoke the machine-readable program to implement the activity workflow-based asynchronous parsing method described above.
The invention also claims a computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the above-described activity workflow based asynchronous parsing method.
Compared with the prior art, the asynchronous analysis method and the asynchronous analysis system based on the activity workflow have the following beneficial effects:
by adding the task nodes and the asynchronous executors of the asynchronous analysis link personnel, the tasks of the asynchronous analysis link personnel can be realized, and task blocking and resource waste are avoided;
the state and progress of the task can be monitored in real time by adding the monitoring module, and scheduling and optimizing can be performed according to the needs, so that the efficiency and flexibility of task processing are improved;
by defining the activity workflow model, the business process and tasks can be conveniently managed and controlled, and the maintainability and expandability of the system are improved.
Drawings
Fig. 1 is a flowchart of an implementation of an asynchronous parsing method based on activity workflow according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an activity workflow-based asynchronous analysis method, which is based on tasks of an activity workflow asynchronous analysis link personnel, and performs scheduling and distribution according to requirements; the method comprises the following steps:
1) Defining an activity workflow model comprising a plurality of activities (activities) and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
The task node of the asynchronous analysis link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
The monitoring module is configured to automatically adjust the priority and the scheduling strategy of the task according to the state and the progress of the task.
As shown in fig. 1, the specific implementation process of the method is as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
The method can realize the task of the personnel in the asynchronous analysis link, and avoid task blocking and resource waste; by adding the monitoring module, the state and progress of the task can be monitored in real time, scheduling and optimizing can be performed according to the needs, and the efficiency and flexibility of task processing are improved.
The method can conveniently manage and control the business process and task, and improves the maintainability and expandability of the system.
The embodiment of the invention also provides an activity workflow-based asynchronous analysis system, which performs scheduling and distribution according to the needs by establishing an activity workflow model and asynchronously analyzing the tasks of link personnel; the specific implementation is as follows:
1) Defining an activity workflow model comprising a plurality of activities (activities) and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
The task node of the asynchronous analysis link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
The monitoring module is configured to automatically adjust the priority and the scheduling strategy of the task according to the state and the progress of the task.
The specific process of the system for realizing the tasks of the asynchronous analysis link personnel is as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
The embodiment of the invention also provides an asynchronous analysis device based on the activity workflow, which comprises: at least one memory and at least one processor;
the at least one memory for storing a machine readable program;
the at least one processor is configured to invoke the machine-readable program to implement the activity workflow-based asynchronous parsing method described in the foregoing embodiment.
The embodiment of the invention also provides a computer readable medium, wherein the computer readable medium stores computer instructions, and the computer instructions, when executed by a processor, cause the processor to execute the asynchronous analysis method based on the activity workflow in the embodiment. Specifically, a system or apparatus provided with a storage medium on which a software program code realizing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or apparatus may be caused to read out and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium may realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code form part of the present invention.
Examples of the storage medium for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer by a communication network.
Further, it should be apparent that the functions of any of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform part or all of the actual operations based on the instructions of the program code.
Further, it is understood that the program code read out by the storage medium is written into a memory provided in an expansion board inserted into a computer or into a memory provided in an expansion unit connected to the computer, and then a CPU or the like mounted on the expansion board or the expansion unit is caused to perform part and all of actual operations based on instructions of the program code, thereby realizing the functions of any of the above embodiments.
While the invention has been illustrated and described in detail in the drawings and in the preferred embodiments, the invention is not limited to the disclosed embodiments, and it will be appreciated by those skilled in the art that the code audits of the various embodiments described above may be combined to produce further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. An activity workflow-based asynchronous analysis method is characterized in that the method is based on tasks of activity workflow asynchronous analysis link personnel, and scheduling and distribution are carried out according to requirements; the method comprises the following steps:
1) Defining an activity workflow model comprising a plurality of activities and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
2. The asynchronous analysis method based on activity workflow according to claim 1, wherein the task node of the asynchronous analysis link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
3. The asynchronous parsing method based on activity workflow according to claim 1 or 2, wherein the monitoring module is configured to automatically adjust the priority and scheduling policy of tasks according to the status and progress of the tasks.
4. The asynchronous analysis method based on activity workflow according to claim 1, wherein the specific implementation process of the method is as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
5. An asynchronous analysis system based on activity workflow is characterized in that tasks of an asynchronous analysis link personnel are scheduled and distributed according to requirements by establishing an activity workflow model; the specific implementation is as follows:
1) Defining an activity workflow model comprising a plurality of activities and dependencies therebetween;
2) Adding task nodes of asynchronous analysis link personnel in the activity workflow model, and analyzing information of the link personnel and distributing tasks to other personnel;
3) Adding an asynchronous executor in the task node of the asynchronous analysis link personnel for asynchronously executing the task;
4) And adding a monitoring module in the activity workflow model, wherein the monitoring module is used for monitoring the state and progress of the task in real time and carrying out scheduling and optimization according to the requirement.
6. The activity workflow-based asynchronous resolution system of claim 5, wherein the task node of the asynchronous resolution link personnel is configured to wait for the link personnel to provide information before starting to execute the task.
7. The activity workflow-based asynchronous parsing system of claim 5 or 6, wherein the monitoring module is configured to automatically adjust the priority and scheduling policy of tasks according to the status and progress of the tasks.
8. The asynchronous analysis system based on activity workflow as claimed in claim 5, wherein the specific process of the system for realizing the task of the asynchronous analysis link personnel is as follows:
s1, firstly checking whether information of a link personnel to be analyzed exists;
s2, if the task exists, adding a task node of an asynchronous analysis link personnel, and starting to execute the task after waiting for the link personnel to provide information; if not, directly ending the flow;
s3, waiting for link personnel to provide information when the task node is activated;
after the information is provided, analyzing the information of the link personnel and distributing tasks to other personnel;
s4, adding an asynchronous executor for asynchronously executing tasks;
in the task execution process, monitoring the state and progress of the task in real time;
and S5, when the task is completed, scheduling and optimizing according to the requirement.
9. An activity workflow-based asynchronous parsing device, comprising: at least one memory and at least one processor;
the at least one memory for storing a machine readable program;
the at least one processor being configured to invoke the machine readable program to implement the method of any of claims 1 to 4.
10. A computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 4.
CN202311071570.5A 2023-08-24 2023-08-24 Asynchronous analysis method and system based on activity workflow Pending CN117172518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311071570.5A CN117172518A (en) 2023-08-24 2023-08-24 Asynchronous analysis method and system based on activity workflow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311071570.5A CN117172518A (en) 2023-08-24 2023-08-24 Asynchronous analysis method and system based on activity workflow

Publications (1)

Publication Number Publication Date
CN117172518A true CN117172518A (en) 2023-12-05

Family

ID=88942299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311071570.5A Pending CN117172518A (en) 2023-08-24 2023-08-24 Asynchronous analysis method and system based on activity workflow

Country Status (1)

Country Link
CN (1) CN117172518A (en)

Similar Documents

Publication Publication Date Title
US11429433B2 (en) Process discovery and automatic robotic scripts generation for distributed computing resources
US8826286B2 (en) Monitoring performance of workload scheduling systems based on plurality of test jobs
US7779298B2 (en) Distributed job manager recovery
JP7161262B2 (en) A system that optimizes the distribution of automated processes
US8538793B2 (en) System and method for managing real-time batch workflows
JP7179086B2 (en) Method for scheduling a semiconductor back end fab
CN102508716A (en) Task control device and task control method
CN111400011B (en) Real-time task scheduling method, system, equipment and readable storage medium
JP2009532754A (en) Abstract execution model for continuation-based meta-runtime
US20220391304A1 (en) Monitoring long running workflows for robotic process automation
US20110252019A1 (en) Project management system
CN110611707A (en) Task scheduling method and device
CN110147273A (en) A kind of task executing method and device
US20080221857A1 (en) Method and apparatus for simulating the workload of a compute farm
US8789059B2 (en) Dynamic scheduling feasibility analysis of event-driven applications based on reducing tasks of overlapping events
Vairaktarakis The value of resource flexibility in the resource-constrained job assignment problem
CN116661978B (en) Distributed flow processing method and device and distributed business flow engine
US20200348926A1 (en) System and method for automating environment management of one or more software applications
CN117172518A (en) Asynchronous analysis method and system based on activity workflow
US20050288983A1 (en) Methods and systems for a multi-level scheduling framework
CN115185825A (en) Interface test scheduling method and device
JP5387083B2 (en) Job management system and method
US20080127185A1 (en) Process modeling and simulation for delegated resources
US8239870B2 (en) Scheduling execution of work units with policy based extension of long-term plan
EP2256630A2 (en) Method and system to perform time consuming follow-up process

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