A process guidance method and system based on workflow engine
By monitoring the execution status and list of the workflow engine, analyzing and performing task migration and guidance, the problem of blockage or interruption in the workflow is solved, and the efficiency of the workflow is improved.
Patent Information
- Application Number
- CN202211555567.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-06
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2042-12-06
AI Technical Summary
Existing workflow engines are prone to blockage or interruption during standardized processes, resulting in reduced overall efficiency and difficult to adapt to a timely working mode.
By monitoring the execution status and list of the workflow engine, analyze whether task migration and guidance is needed. If necessary, transfer tasks that need to be migrated in the process instance list to the process guidance list to ensure the continued execution of the process.
It effectively solves the phenomenon of blockage or interruption in the workflow, avoids waiting for task response time to be too long, and improves the efficiency of the workflow.
Smart Images

Figure CN116051020B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of collaborative office technology, and in particular to a process grooming method and system based on a workflow engine. Background Art
[0002] At present, most of the workflow engines on the market generally only support standardized process operations, and only a small number of process engines support simple process operation intervention. At present, the requirements for work efficiency are gradually increasing. In the process of handling standardized processes, more and more cases of being stuck in a certain link, and a certain link takes too long, resulting in low efficiency of the overall matter, making it difficult to adapt to a high-efficiency work mode. Therefore, the present invention proposes a process diversion method and system based on a workflow engine, which effectively solves the blockage or interruption phenomenon in the workflow by performing task migration and diversion, ensures the progress of the workflow, avoids waiting for too long for task response time, and improves the efficiency of the workflow. Summary of the invention
[0003] The purpose of the present invention is to provide a process grooming method and system based on a workflow engine to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a process grooming method based on a workflow engine, comprising:
[0005] Monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list;
[0006] Analyze the workflow engine data information, determine whether task migration and guidance is needed according to the execution engine status, and obtain an analysis and judgment result;
[0007] Migrate according to the analysis and judgment result, and transfer the tasks that need to be migrated and groomed in the process instance list to the process grooming list in the execution engine list;
[0008] The process is executed according to the process guidance list and the process instance list.
[0009] Furthermore, when monitoring the workflow engine, data information is obtained in real time for the workflow engine, and the obtained data information of the workflow engine is updated in real time as the list of execution engines in the workflow engine changes and the status of the execution engines is updated.
[0010] Furthermore, when migration is performed according to the analysis and judgment result, an early warning is also issued when the analysis and judgment result indicates that migration guidance is required, and an early warning is issued while the tasks that need migration guidance in the process instance list are transferred to the process guidance list.
[0011] Furthermore, the workflow engine data information is analyzed, and whether task migration and guidance is needed is determined according to the execution engine status, including: clarifying the workflow according to the workflow engine data information; analyzing according to the nodes in the workflow, making guidance and guidance judgment for each node, analyzing whether the execution engine status of the node has reached saturation, and when the execution engine status of the node has reached saturation, making a timeliness judgment on the instance in the node to determine whether the instance in the node has timed out, and obtaining an analysis and judgment result of the node; when the instance in the node has timed out, the analysis and judgment result of the node is that task migration and guidance is needed, and when the instance in the node has not timed out, the analysis and judgment result of the node is that task migration and guidance is not needed.
[0012] Furthermore, when migration is performed based on the analysis and judgment results, the user status of the node is also combined. According to the user status of the node, when the user status is abnormal, the tasks in the node that need task migration and guidance are transferred to the process guidance list, wherein the judgment standard for the abnormal user status is time. When the user of the node does not perform any operation within a preset time period, the user status of the node is judged to be an abnormal state.
[0013] Furthermore, the process grooming list skips the node to be groomed according to the workflow and enters the next node for execution, and wakes up the tasks in the process grooming list after the user status returns to normal.
[0014] Furthermore, waking up the tasks in the process diversion list includes: when it is monitored that the user in the node performing diversion resumes the operation again, determining that the user status of the node has returned to normal, waking up the tasks in the process diversion list after the user status of the node is normal, restoring the tasks in the process diversion list in the node performing diversion, and removing them from the process diversion list, wherein the tasks in the awakened process diversion list are the tasks to be executed in the next node.
[0015] Furthermore, when executing a process according to the process diversion list and the process instance list, the state of the executed node is analyzed in combination with the process instance list to see whether it is saturated. When the executed node is in a saturated state, the process diversion list is automatically executed; when the executed node is not in a saturated state, the process diversion list is waited for execution.
[0016] Furthermore, when the executed nodes are in a saturated state, expansion processing is also performed on the execution engine, including: according to the stage status analysis results, when the nodes in the stage are all executing process instances, analyzing whether there are process instances to be executed; when there are process instances to be executed, in each stage, constructing expansion nodes, and reading and analyzing the flowchart definition file of the workflow engine for the nodes in the stage, cleaning out various basic elements, supporting the use of upper-level components, and obtaining node definition information, performing functional configuration on the expansion nodes according to the node definition information, associating and binding the functionally configured expansion nodes to the corresponding stages, and realizing node processing during the process instance execution for the execution engine list information through an interactive interface connection.
[0017] A process guidance system based on a workflow engine, comprising: an information monitoring module, an analysis and judgment module, a migration guidance module and a process execution module;
[0018] The information monitoring module is used to monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list;
[0019] The analysis and judgment module is used to analyze the workflow engine data information, determine whether task migration guidance is needed according to the execution engine status, and obtain the analysis and judgment result;
[0020] The migration and grooming module is used to perform migration according to the analysis and judgment result, and transfer the tasks that need to be migrated and groomed in the process instance list to the process grooming list in the execution engine list;
[0021] The process execution module is used to execute the process according to the process guidance list and the process instance list.
[0022] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0023] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0025] Figure 1A schematic diagram of the steps of the workflow engine-based process grooming method of the present invention;
[0026] Figure 2 It is a schematic diagram of the process guidance system based on the workflow engine described in the present invention. DETAILED DESCRIPTION
[0027] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0028] like Figure 1 As shown, an embodiment of the present invention provides a process grooming method based on a workflow engine, comprising:
[0029] Step 1: monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list;
[0030] Step 2: Analyze the workflow engine data information, determine whether task migration guidance is required according to the execution engine status, and obtain an analysis and judgment result;
[0031] Step 3: Migrate according to the analysis and judgment result, and transfer the tasks that need to be migrated and groomed in the process instance list to the process grooming list in the execution engine list;
[0032] Step 4: Execute the process according to the process guidance list and the process instance list.
[0033] The above technical scheme provides a process grooming method based on a workflow engine. When performing process grooming on a workflow engine, the workflow engine must first be monitored, and data information of the workflow engine in the workflow must be obtained by monitoring the workflow engine, wherein the data information of the workflow engine at least includes: an execution engine state and an execution engine list, wherein the execution engine state here includes process instance data and process grooming rules in the workflow process, and the execution engine list includes: a process instance list and a process grooming list; then the workflow engine data information is analyzed to clarify the data information of each node in the workflow, and whether the node is congested according to the data information of the node, thereby determining whether task migration and grooming is required, and then obtaining an analysis and judgment result, and then according to the analysis and judgment result, when the state analysis result indicates that task migration and grooming is required, the tasks that need to be migrated and groomed in the process instance list are transferred to the process grooming list in the execution engine list, forming a new execution engine state and execution engine list, and then the process is executed according to the new execution engine state and execution engine list.
[0034] The above technical solution effectively solves the problem of blockage or interruption in the workflow by performing task migration and guidance, ensures the progress of the workflow, avoids waiting for too long for task response time, and improves the efficiency of the workflow. By monitoring the workflow engine to obtain the status of the workflow engine, the specific information of each node in the workflow can be understood, so that the congested nodes can be discovered in time according to the status of the workflow engine to avoid long-term congestion of the nodes affecting the normal progress of the workflow. By analyzing the workflow engine data information, the nodes that are congested or abnormal in the workflow are migrated and guided to avoid long-term stagnation of tasks at the nodes. The process guidance is achieved by transferring the tasks that need to be migrated and guided in the process instance list in the execution engine list to the process guidance list, and the congested tasks in the node are transferred to the next process node, ensuring the progress of the process, so that the requested task can be executed in time, thereby avoiding the staff waiting for a long time for a response after submitting the request, and at the same time improving the execution efficiency of the workflow.
[0035] In one embodiment provided by the present invention, when monitoring the workflow engine, data information is obtained in real time for the workflow engine, and the obtained data information of the workflow engine is updated in real time as the execution engine list in the workflow engine changes and the execution engine status is updated.
[0036] The above technical solution acquires data information of the workflow engine in real time when monitoring the workflow engine, and updates the acquired data information of the workflow engine in real time as the execution engine list in the workflow engine changes and the execution engine status is updated.
[0037] When the acquired data information of the workflow engine is updated in real time with the changes in the execution engine list in the workflow engine and the update of the execution engine status, real-time data acquisition is performed for the execution engine list and the execution engine status in the workflow engine, and the integrity check is performed on the acquired data information of the workflow engine by the following formula:
[0038]
[0039] In the above formula, S i represents the data information judgment value of the workflow engine at time i, C i represents the data information set of the execution engine list in the workflow engine at time i, C represents the set element measurement, w i represents the number of tasks in the execution engine state of the workflow engine at time i, w i-1 represents the number of tasks in the execution engine state of the workflow engine at time i-1, D i represents the number of tasks being executed in the execution engine state of the workflow engine at time i, D i-1Indicates the number of tasks being executed in the execution engine state of the workflow engine at time i-1;
[0040] When the data information judgment value S of the workflow engine at time i i When the value of is 2, the data information integrity check result of the workflow engine is complete; otherwise, the data information integrity check result of the workflow engine is incomplete.
[0041] The above technical solution can monitor the execution engine status in time by acquiring data information from the workflow engine in real time, and process the execution engine in time, so as to avoid the staff waiting too long after sending a request, which affects the work efficiency. In addition, the continuity of the data information of the workflow engine is ensured by performing integrity check on the acquired data information of the workflow engine, ensuring that the data information of the workflow engine is acquired by monitoring the workflow engine in real time, avoiding the monitoring process from being destroyed, and timely discovering abnormal monitoring conditions. At the same time, the process can be timely guided according to the data information of the workflow engine acquired by monitoring the workflow engine.
[0042] In an embodiment provided by the present invention, when migration is performed according to the analysis and judgment result, an early warning is also issued when the analysis and judgment result indicates that migration guidance is required, and an early warning is issued while the tasks in the process instance list that require migration guidance are transferred to the process guidance list.
[0043] The above technical solution not only issues a warning based on the analysis and judgment results when performing migration, but also issues a warning based on the analysis and judgment results. When the analysis and judgment results indicate that migration guidance is required, a warning is issued while the tasks that require migration guidance in the process instance list are transferred to the process guidance list, so that the warning and guidance processes are carried out simultaneously.
[0044] The above technical solution enables relevant staff to promptly discover abnormal conditions in the work process by issuing early warnings based on the analysis and judgment results when performing migration. At the same time, it can also increase the vigilance of staff through early warnings, so that staff can promptly understand the node migration and guidance conditions in the work process.
[0045] In one embodiment provided by the present invention, the workflow engine data information is analyzed, and whether task migration and guidance is needed is determined according to the execution engine status, including: clarifying the workflow according to the workflow engine data information; analyzing according to the nodes in the workflow, performing guidance and guidance judgment for each node, analyzing whether the execution engine status of the node has reached saturation, and when the execution engine status of the node has reached saturation, performing a timeliness judgment on the instance in the node to determine whether the instance in the node has timed out, and obtaining an analysis and judgment result of the node; when the instance in the node has timed out, the analysis and judgment result of the node is that task migration and guidance is needed, and when the instance in the node has not timed out, the analysis and judgment result of the node is that task migration and guidance is not needed.
[0046] The above technical solution analyzes the workflow engine data information, and when judging whether task migration and grooming is needed according to the execution engine status, the workflow is clarified according to the workflow engine data information, the sequence of nodes in the workflow is determined, and each node in the workflow is analyzed separately to judge whether the node needs to be groomed. When judging whether the node needs to be groomed, whether the execution engine status of the node has reached saturation is analyzed according to the workflow engine data information of the node. When the execution engine status of the node reaches saturation, the timeliness of the instance in the node is further judged to judge whether the instance in the node has timed out, and the analysis and judgment result of the node is obtained. Here, the judgment basis of the timeout phenomenon is a preset time threshold, wherein the preset time threshold can be adjusted and set according to actual needs. If the instance in the node times out, the analysis and judgment result of the node is that task migration and grooming is needed. If the instance in the node does not time out, the analysis and judgment result of the node is that task migration and grooming is not needed.
[0047] The above technical solution performs saturation state analysis on the nodes and timeliness analysis when the saturation state is reached, so that the nodes that are blocked or have not executed processing tasks for a long time can be migrated and guided, thereby determining the progress of the workflow and understanding the status of each node.
[0048] In one embodiment provided by the present invention, when migration is performed based on the analysis and judgment results, the user status of the node is also combined. When the user status of the node is abnormal, the tasks in the node that need task migration and guidance are transferred to a process guidance list, wherein the judgment standard for the abnormal user status is time. When the user of the node does not perform any operation within a preset time period, the user status of the node is judged to be an abnormal state.
[0049] The above technical solution also combines the user status of the node when migrating according to the analysis and judgment results to obtain the user status of the node. When the user status of the node is normal, no migration is required. When the user status of the node is abnormal, the tasks in the node that need to be migrated and directed are transferred to the process directing list. The judgment standard for abnormal user status is time. If the user of the node does not perform any operation within the preset time period, the user status of the node will be judged as an abnormal state.
[0050] In an embodiment provided by the present invention, the process grooming list skips the node to be groomed according to the workflow and enters the next node for execution, and wakes up the tasks in the process grooming list after the user status returns to normal.
[0051] In the above technical solution, the process diversion list skips the node to be diverted according to the workflow and enters the next node for execution, and wakes up the tasks in the process diversion list after the user status returns to normal.
[0052] The above technical solution skips the node to be directed according to the workflow through the process directing list and enters the next node for execution, so that the directed node can be skipped to continue the subsequent process, avoiding process interruption due to abnormal user status of the node, and by waking up the task in the process directing list after the user status returns to normal, the node can continue to execute the task after the user status of the node returns to normal.
[0053] In one embodiment provided by the present invention, tasks in the process diversion list are awakened, including: when it is monitored that the user in the node performing diversion resumes the operation again, it is determined that the user status of the node has returned to normal, and after the user status of the node is normal, the tasks in the process diversion list are awakened, the tasks in the process diversion list are restored in the node performing diversion, and removed from the process diversion list, wherein the tasks in the awakened process diversion list are the tasks to be executed in the next node.
[0054] When the above technical solution awakens a task in the process diversion list, it first monitors the node being diverted to obtain the status of the user in the node to see if there is any operation again. When the user in the node operates again, it is considered that the node has returned to normal. At this time, it is judged that the user status of the node has returned to normal. Then, after the user status of the node is normal, the task in the process diversion list can be awakened, the task in the process diversion list can be awakened, the awakened task can be restored in the node being diverted, and removed from the process diversion list. In particular, the awakened task should be a task that has not been executed in the process diversion list.
[0055] The above technical solution wakes up the tasks in the process diversion list after the user status of the node returns to normal, so that the node can continue to execute the tasks for migration and diversion. At the same time, the awakened tasks should be tasks that have not been executed in the process diversion list to avoid repeated execution of tasks that have been executed by the next node, thereby reducing the waste of time and resources.
[0056] In one embodiment provided by the present invention, when executing a process according to the process diversion list and the process instance list, the state of the executed node is analyzed in combination with the process instance list to see whether it is saturated. When the executed node is in a saturated state, the process diversion list is automatically executed; when the executed node is not in a saturated state, the process diversion list is waited for execution.
[0057] When executing a process according to the process diversion list and the process instance list, the above technical solution obtains the process instance list and the process diversion list of the execution node, and analyzes the status of the execution node, determines the task execution status in the execution node, and judges whether the execution node is in a saturated state. If the execution node is in a saturated state, the process diversion list is automatically executed. If the node of the row is not in a saturated state, the process diversion list waits for execution.
[0058] The above technical solution performs saturation state analysis on the executed nodes so that when executing the process diversion list, it is executed according to the original process instance list of the executed nodes, thereby avoiding the process diversion list affecting the original normal execution of the executed nodes, and at the same time, it can also enable the tasks in the process diversion list to be executed.
[0059] In one embodiment provided by the present invention, when the executed node is in a saturated state, expansion processing is also performed on the execution engine, including: according to the stage state analysis result, when the nodes in the stage are all executing process instances, analyzing whether there are process instances to be executed, when there are process instances to be executed, in each stage, constructing expansion nodes, and reading and analyzing the flowchart definition file of the workflow engine for the nodes in the stage, cleaning out various basic elements, supporting the use of upper-level components, and obtaining node definition information, performing functional configuration on the expansion nodes according to the node definition information, associating and binding the functionally configured expansion nodes to the corresponding stages, and realizing node processing during the process instance execution for the execution engine list information through an interactive interface connection.
[0060] When the executed nodes are in a saturated state, the above technical solution can also perform node expansion, expand the executed nodes to obtain expansion nodes, and use the expansion nodes to jointly execute the process guidance list and the process instance list process. When performing node expansion, first analyze the stage status analysis result. If the stage status analysis result is that the nodes in the stage are all executing process instances, and there are process instances to be executed, the node expansion is performed for the stage, and the execution capacity of the stage is expanded by constructing expansion nodes, and expansion nodes are constructed. Then, the existing nodes in the stage are read to obtain the flowchart definition file of the workflow engine of the existing nodes in the stage. By analyzing the flowchart definition file of the workflow engine of the existing nodes in the stage, various basic elements are cleaned out to support the use of upper-level components, and node definition information is obtained. Then, according to the node definition information, the function of the expansion node is configured, so that the expansion node is given the same attributes as the existing nodes in the stage, and the expansion node after the function configuration is associated and bound to the corresponding stage, and then the node processing is realized in the process of executing the process instance for the execution engine list information through the interactive interface connection.
[0061] The above-mentioned technical scheme performs expansion processing on the execution engine so that each stage of the execution engine can be executed on more process instances, so that more task execution nodes can be provided for request responses, avoiding congestion in the execution engine, and also preventing the request tasks from not being responded to for a long time. In addition, when performing expansion processing, expansion is performed according to stages, so that each stage can be expanded separately according to the state of the execution engine without the need for unified expansion. Moreover, in each stage, the flowchart definition file of the workflow engine is read and analyzed for the nodes in the stage, and the properties of the existing nodes in the stage can be completely replicated in the expansion nodes, so that the expansion nodes can perform the same processing as the existing nodes in the stage, thereby achieving the purpose of sharing the existing nodes in the stage.
[0062] The present invention provides a process grooming system based on a workflow engine, comprising: an information monitoring module, an analysis and judgment module, a migration grooming module and a process execution module;
[0063] The information monitoring module is used to monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list;
[0064] The analysis and judgment module is used to analyze the workflow engine data information, determine whether task migration guidance is needed according to the execution engine status, and obtain the analysis and judgment result;
[0065] The migration and grooming module is used to perform migration according to the analysis and judgment result, and transfer the tasks that need to be migrated and groomed in the process instance list to the process grooming list in the execution engine list;
[0066] The process execution module is used to execute the process according to the process guidance list and the process instance list.
[0067] The working principle and beneficial effects of the above technical solution have been described in the method claims and will not be repeated here.
[0068] Those skilled in the art should understand that the first and second in the present invention merely refer to different application stages.
[0069] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0070] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A process grooming method based on a workflow engine, characterized in that: include: Monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list; when monitoring the workflow engine, obtain data information for the workflow engine in real time, and update the obtained data information of the workflow engine in real time as the execution engine list in the workflow engine changes and the execution engine status is updated; and when the obtained data information of the workflow engine is updated in real time as the execution engine list in the workflow engine changes and the execution engine status is updated, obtain real-time data for the execution engine list and the execution engine status in the workflow engine, and perform integrity check on the obtained data information of the workflow engine by using the following formula: In the above formula, express The data information judgment value of the workflow engine at the moment, express The data information set of the execution engine list in the workflow engine at the moment, represents the measurement of collection elements, express The number of tasks in the execution engine state of the workflow engine at the moment, express The number of tasks in the execution engine state of the workflow engine at the moment, express The number of tasks being executed in the execution engine state of the workflow engine at the moment, express The number of tasks being executed in the execution engine state of the workflow engine at the moment; when The data information judgment value of the workflow engine at the moment When the value of is 2, the data information integrity check result of the workflow engine is complete, otherwise, the data information integrity check result of the workflow engine is incomplete; Analyze the workflow engine data information, and determine whether task migration and grooming is required according to the execution engine state to obtain analysis and judgment results, including: clarifying the workflow according to the workflow engine data information; analyzing according to nodes in the workflow, performing grooming judgment on each node, analyzing whether the execution engine state of the node has reached saturation, and when the execution engine state of the node has reached saturation, performing timeliness judgment on the instance in the node to determine whether the instance in the node has timed out, and obtaining analysis and judgment results of the node; when the instance in the node has timed out, the analysis and judgment result of the node is that task migration and grooming is required, and when the instance in the node has not timed out, the analysis and judgment result of the node is that task migration and grooming is not required; Migrate according to the analysis and judgment result, transfer the tasks that need to be migrated and directed in the process instance list in the execution engine list to the process directing list; when migrating according to the analysis and judgment result, the user status of the node is also combined, and according to the user status of the node, when the user status is abnormal, the tasks that need to be migrated and directed in the node are transferred to the process directing list, the process directing list skips the node to be directed according to the workflow and enters the next node for execution, and wakes up the tasks in the process directing list after the user status returns to normal; The process is executed according to the process diversion list and the process instance list. The state of the executed node is analyzed in combination with the process instance list to see whether it is saturated. When the executed node is in a saturated state, the process diversion list is automatically executed. When the executed node is not in a saturated state, the process diversion list is waited for execution. Moreover, when the executed node is in a saturated state, the execution engine is also extended, including: when the nodes in the stage are all executing process instances according to the stage state analysis result, analyzing whether there are process instances to be executed. When there are process instances to be executed, in each stage, an extended node is constructed, and the flowchart definition file of the workflow engine is read and analyzed for the nodes in the stage, various basic elements are cleaned out to support the use of upper-level components, and node definition information is obtained. Functional configuration is performed on the extended node according to the node definition information, and the extended node after functional configuration is associated and bound to the corresponding stage. Node processing is implemented in the process of executing the process instance according to the execution engine list information through an interactive interface connection.
2. The process grooming method based on workflow engine according to claim 1 is characterized in that: When migration is performed according to the analysis and judgment result, an early warning is also issued when the analysis and judgment result indicates that migration guidance is required, and an early warning is issued while the tasks in the process instance list that need migration guidance are transferred to the process guidance list.
3. The process grooming method based on workflow engine according to claim 1 is characterized in that: The judgment standard of the abnormal user status is time. When the user of the node does not perform any operation within a preset time period, the user status of the node is judged to be an abnormal state.
4. The process grooming method based on workflow engine according to claim 1, characterized in that: Waking up the tasks in the process diversion list includes: when monitoring that the user in the node performing diversion resumes the operation again, determining that the user status of the node has returned to normal, and after the user status of the node is normal, waking up the tasks in the process diversion list, restoring the tasks in the process diversion list in the node performing diversion, and removing them from the process diversion list, wherein the tasks in the awakened process diversion list are the tasks to be executed in the next node.
5. A process guidance system based on a workflow engine, characterized in that: include: Information monitoring module, analysis and judgment module, migration and guidance module and process execution module; The information monitoring module is used to monitor the workflow engine and obtain monitoring data information of the workflow engine, wherein the monitoring data information includes: execution engine status and execution engine list; when monitoring the workflow engine, data information is obtained in real time for the workflow engine, and the obtained data information of the workflow engine is updated in real time with the changes of the execution engine list in the workflow engine and the update of the execution engine status; and when the obtained data information of the workflow engine is updated in real time with the changes of the execution engine list in the workflow engine and the update of the execution engine status, real-time data is obtained for the execution engine list and the execution engine status in the workflow engine, and integrity check is performed on the obtained data information of the workflow engine by the following formula: In the above formula, express The data information judgment value of the workflow engine at the moment, express The data information set of the execution engine list in the workflow engine at the moment, represents the measurement of collection elements, express The number of tasks in the execution engine state of the workflow engine at the moment, express The number of tasks in the execution engine state of the workflow engine at the moment, express The number of tasks being executed in the execution engine state of the workflow engine at the moment, express The number of tasks being executed in the execution engine state of the workflow engine at the moment; when The data information judgment value of the workflow engine at the moment When the value of is 2, the data information integrity check result of the workflow engine is complete, otherwise, the data information integrity check result of the workflow engine is incomplete; The analysis and judgment module is used to analyze the workflow engine data information, judge whether task migration and grooming is needed according to the execution engine state, and obtain the analysis and judgment result, including: clarifying the workflow according to the workflow engine data information; analyzing according to the nodes in the workflow, making grooming judgment for each node, analyzing whether the execution engine state of the node has reached saturation, and when the execution engine state of the node has reached saturation, making a timeliness judgment on the instance in the node, judging whether the instance in the node has timed out, and obtaining the analysis and judgment result of the node. When the instance in the node has timed out, the analysis and judgment result of the node is that task migration and grooming is needed, and when the instance in the node has not timed out, the analysis and judgment result of the node is that task migration and grooming is not needed; The migration and grooming module is used to migrate according to the analysis and judgment results, and transfer the tasks that need to be migrated and groomed in the process instance list in the execution engine list to the process grooming list; when migrating according to the analysis and judgment results, the user status of the node is also combined, and according to the user status of the node, the tasks that need to be migrated and groomed in the node are transferred to the process grooming list when the user status is abnormal, and the process grooming list skips the node to be groomed according to the workflow and enters the next node for execution, and wakes up the tasks in the process grooming list after the user status returns to normal; The process execution module is used to execute the process according to the process guidance list and the process instance list, analyze whether the state of the executed node is saturated in combination with the process instance list for the executed node, and when the executed node is in a saturated state, automatically execute the process guidance list, and when the executed node is not in a saturated state, wait for execution for the process guidance list. Moreover, when the executed node is in a saturated state, perform expansion processing on the execution engine, including: according to the stage status analysis result, when the nodes in the stage are all executing the process instance, analyze whether there is a process instance to be executed, when there is a process instance to be executed, construct an expansion node in each stage, and read and analyze the flowchart definition file of the workflow engine for the nodes in the stage, clean out various basic elements, support the use of upper-level components, obtain node definition information, perform function configuration on the expansion node according to the node definition information, associate and bind the expanded node after function configuration to the corresponding stage, and realize node processing in the process of executing the process instance for the execution engine list information through an interactive interface connection.
Citation Information
Patent Citations
Workflow-based process implementation method, user equipment, storage medium and device
CN109670664A
Order processing method and device
CN110620722A
Method for monitoring and processing abnormal process in automatic approval process
CN113627890A
Data processing method and system based on cloud platform, electronic equipment and storage medium
CN115225506A