Parallel handling method and system based on BPMN2.0 process engine
Patent Information
- Application Number
- CN202410940874.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118917648A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of enterprise management, and in particular to a parallel processing method and system based on a BPMN2.0 process engine. Background Art
[0002] In daily office work, enterprises usually use business process management systems (BPMS) to standardize and automate office processes. These systems flow according to preset process steps and gradually submit for approval, which significantly improves work efficiency and process transparency. As an industry standard, the BPMN2.0 model provides modeling and execution support for complex business processes, supports various types of task processing, gateway processing, etc., including standards such as parallel gateways and branch processing, to help enterprises achieve parallel processing and result aggregation of multiple process branches.
[0003] The reference patent name is: A system for unified process processing based on a process engine (patent publication number: CN102929602A, patent publication date: 2013-02-13). The system sets a unified process processing module outside the process engine kernel. The unified process processing module includes an acquisition task interface for acquiring the next action of the task and a task configuration interface for configuring the task action. An interaction module providing a user interaction interface is set outside the unified process processing module. The acquisition task interface communicates with the process engine kernel by calling the task action warehouse, and the task configuration interface communicates with the process engine kernel by calling the action executor module. The system is completely separated from the engine kernel, which is convenient for customizing one's own processing strategy, changing the system's default processing strategy, and facilitating the front-end UI display operation.
[0004] Based on the description in the above documents, the existing standard model cannot allow users to specifically select the required branch for processing, nor can it specify specific executors when processing in parallel, which makes it difficult to meet actual business needs. Secondly, the existing workflow solution based on BPMN2.0 cannot allow users to specifically select the required branch for processing, nor can it specify specific executors when processing multi-node parallel business, which limits flexibility and user customization capabilities. Moreover, when users receive multiple processing tasks, they cannot choose to only process or complete one of the node tasks. Finally, the standard model's operations within the branch, such as return, withdrawal, and scheduling, cannot achieve single-step processing, which can easily affect the normal flow of other branches and lack customized control over process flow, making it difficult to meet the actual government and enterprise approval business needs. To this end, the present invention provides a parallel processing method and system based on the BPMN2.0 process engine. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides a parallel processing method and system based on the BPMN2.0 process engine, which solves the problem that the existing processing model fails to pre-define multiple branch paths, making it impossible for users to select these paths separately and assign different processors to perform simultaneous circulation and processing on these paths.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a parallel processing method based on the BPMN2.0 process engine, specifically comprising the following steps:
[0007] A1. Collect and summarize user demand data and store them in the database;
[0008] A2. Establish a workflow model based on the user's demand data, and parse and dynamically process the data submitted by the user based on the workflow model to complete the reduction of the processing path and the flow operation of the branch nodes. The user who receives the processing information will circulate and process according to the established processing path. Specifically, the following steps are included:
[0009] a21. According to user needs, establish a preset workflow model, set the scope of personnel and relevant processing rules for processing nodes;
[0010] a22. The user selects one or more processing branch paths according to the processing needs, and specifies the node handler within the preset range of node-related personnel;
[0011] a23. The process engine processes the handling information of the branch nodes. The system dynamically generates the execution flow data and handling task data of the handling path selected by the user, removes irrelevant handling paths, and controls the flow of the process at the branch nodes according to the results selected by the user;
[0012] a24. Process each branch path independently or in parallel according to the situation, and summarize the results or complete the operation separately after completion;
[0013] A3. Summarize or withdraw the processed results to complete the node processing operations until all task nodes are completed.
[0014] Preferably, the establishment operation of the workflow model is:
[0015] B1. Define different branch paths and the flow processes and steps under each path according to needs;
[0016] B2. Different nodes can be set in each branch path, and multiple processing nodes can be added under the path, and different handlers and processing rules can be preset;
[0017] B3. Configure and control the basic information of each node, the scope of personnel involved in the node, and the constraints for handling and completion, manage the relevant information of the process steps, and form a workflow model that covers all processing methods.
[0018] Preferably, the operation of the system dynamically generating the execution flow data and the processing task data of the processing path selected by the user in a23 is:
[0019] C1. After the user's demand data is transmitted to the workflow model, the demand data is matched with the content matching algorithm of the node data in the workflow model to determine the corresponding selected branch node;
[0020] C2. Obtain the execution flow data of the processing path according to the order of the branch node data, and at the same time feedback the corresponding processing task data according to the execution flow data of the processing path;
[0021] C3. Before processing the task data, the branch node data shall be aggregated according to the processors to be transferred.
[0022] Preferably, the matching operation of the content matching algorithm in C1 is:
[0023] c11. First, the corresponding content feature part is obtained by searching the formula for the demand data, and the content feature part is introduced into the content of the node data of the workflow model for matching;
[0024] c12. Identify the content feature part step by step according to the execution process of the node data of the workflow model until all content feature parts are matched;
[0025] c13. Save the branch node data that has been matched and marked in the workflow model, and handle the task according to the branch node data. At the same time, delete the other branch task node data without processing.
[0026] Preferably, the search formula in c11 is specifically:
[0027]
[0028] Among them, f(X) is the content feature part that is searched and selected and is the same as the node data of the workflow model, and Xn is represented by the content feature part X with n words, M is the node data content of the workflow model, and when the content feature part X with n words belongs to the node data content M of the workflow model, then based on the characteristics of the content feature part Xn, only one searched word is added each time to form a new content feature part Xn, until the content feature part X with n words does not belong to the node data content M of the workflow model, then the searched content feature part at this time is the content feature part with (n-1) words, and the branch node data with the same number of words as the content feature part with (n-1) words is marked.
[0029] Preferably, the operation of obtaining the processing path execution flow data according to the order of the branch node data by C2 is:
[0030] c21. First, determine the first branch node in the parallel relationship, and check whether there is a marked branch node below the first-level branch node;
[0031] c22, then determine the lower branch nodes in sequence according to the branch nodes until the last branch node is determined;
[0032] c23. After the last branch node has completed the processing, it is determined whether it needs to be transmitted to the upper branch node, and the order of the flow is sorted out according to the corresponding results.
[0033] Preferably, the sequential operation of combing the flow according to the corresponding results in c23 is:
[0034] c231, the resulting data is:
[0035] Result 1: After the last branch node has completed the judgment, it needs to transmit data to the upper branch node;
[0036] Result 2: After the last branch node completes the judgment, it transmits data to the first branch node;
[0037] Result 3: After the last branch node completes the judgment and processing, it transmits the data to the new aggregation point;
[0038] c232. When result 1 is satisfied, continue to judge and complete the processing of the upper branch node until result 2 or result 3 is satisfied;
[0039] c233. When the second and third results are met, the processed data will be summarized and transmitted to the next task node until each task node completes the feedback data.
[0040] Preferably, the operation of independently processing each branch path or processing them in parallel according to the situation in a24 is:
[0041] D1. Determine the business involved in each branch path and classify the lower branch paths belonging to the same branch node;
[0042] D2. Perform synchronous processing operations on the classified branch paths. After the processed branch paths are input to the same aggregation point, they are processed in parallel at one time or individually according to the same processor;
[0043] D3, and transmit the result data after processing is completed.
[0044] Preferably, the task node in A3 is completed or withdrawn when each task node is operated, while executing the parallel flow operation of the process and independently managing the completion and withdrawal operations of the task node data, and the processor determines it according to the data situation and constraints.
[0045] The present invention also discloses a processing system of a parallel processing method based on a BPMN2.0 process engine, comprising:
[0046] The process design module is used for general process configuration. It is used by administrators to establish workflow flow charts according to customer needs, define different branch paths and the flow processes and steps under each path, connect various nodes through the branch processing gateway to form a processing flow chart, and allow configuration of basic information, names, personnel involved in the nodes, and processing and completion constraints of each node, and allow adjustments to the nodes according to customer needs;
[0047] Permission management module: users manage the processes and data accessible to users, control the user's access rights to various modules and functions, provide the function of defining user roles and permissions, check user permissions in each module, restrict operations and access, and record permission changes and access logs;
[0048] The process analysis module analyzes and controls the process flow. After receiving the data submitted by the user, it analyzes the data content, dynamically generates the processing execution flow data and processing task data according to the branch path selected by the user, controls the process engine to process the processing information of the branch node, and performs flow control;
[0049] The process execution module executes the parallel flow of the process and independently manages the return and withdrawal operations. According to the preset conditions and submitted content, it executes the node operations in the branch path selected by the user and circulates and handles according to the established processing path;
[0050] In the parallel processing state, an independent data flow is created for each project branch and managed separately as an independent transaction. According to the actual situation, multiple data flow tasks that are executed simultaneously are actually generated. The process execution module manages and monitors the execution of tasks to ensure that each branch path is handled independently, and provides status feedback and progress tracking for the task status.
[0051] The result summary module summarizes the processing results of each branch after the processing of each branch path is completed, and submits the processing task summary results to the subsequent flow steps or directly completes the processing according to needs;
[0052] After the parallel flow task is completed, the processing results of all branches are collected, summarized and a report or data record is generated. The next step or direct completion is determined based on the summary results.
[0053] The present invention provides a parallel processing method and system based on the BPMN2.0 process engine. Compared with the prior art, it has the following beneficial effects:
[0054] (1) The parallel processing method and system based on the BPMN2.0 process engine allows the process to pre-define multiple branch paths. Through the pre-defined paths, users can select these paths separately and assign them to different handlers on these paths for simultaneous circulation and processing without affecting each other. In addition, there can be different nodes in the branch paths and different handlers and processing rules can be preset. During implementation, it can be adjusted according to customer needs. Each branch path can be set to be completed separately, or the processing status can be summarized before completion. In this way, the process engine is transformed and optimized, and users can dynamically select multiple processing paths and designate executors during the processing process, ensuring the efficiency and flexibility of document circulation, significantly improving office efficiency, and optimizing user experience.
[0055] (2) The parallel processing method and system based on the BPMN2.0 process engine establishes a workflow model through user demand data, and parses and dynamically processes the data submitted by the user based on the workflow model to complete the reduction of the processing path and the flow operation of the branch nodes. The users who receive the processing information flow and process according to the established processing path, thereby automatically marking the branch nodes according to the expression of user needs to form execution process data, thereby simplifying the operation process and improving the system response capability, thereby improving the user experience and convenience.
[0056] (3) The parallel processing method and system based on the BPMN2.0 process engine, by setting up a processing system, applies the system containing the processing method in actual operation. The processing user dynamically selects one or more processing paths and assigns processing information at the same time. The basic information, name, node-related personnel and processing and completion constraints of each selected processing path can be configured and controlled according to user needs, realizing the simultaneous flow of multiple processing paths, multiple people and multiple nodes. The operation is simple and convenient, which improves office efficiency and can complete the flow, completion or withdrawal operations in the task processing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flow chart of the parallel processing method of the present invention;
[0058] Figure 2 It is a processing flow chart of the work flow model of the present invention;
[0059] Figure 3 A matching flow chart of the execution flow data of the processing path of the present invention;
[0060] Figure 4 It is a functional block diagram of the processing system of the present invention. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] See also Figure 1-Figure 4 , the present invention provides two technical solutions:
[0063] Embodiment 1: A parallel processing method based on a BPMN2.0 process engine specifically includes the following steps:
[0064] A1. Collect and summarize user demand data and store them in the database;
[0065] A2. Establish a workflow model based on the user's demand data, and parse and dynamically process the data submitted by the user based on the workflow model to complete the reduction of the processing path and the flow operation of the branch nodes. The user who receives the processing information will circulate and process according to the established processing path. Specifically, the following steps are included:
[0066] a21. According to user needs, establish a preset workflow model, set the scope of personnel and relevant processing rules for processing nodes;
[0067] a22. The user selects one or more processing branch paths according to the processing needs, and specifies the node handler within the preset range of node-related personnel;
[0068] a23. The process engine processes the handling information of the branch nodes. The system dynamically generates the execution flow data and handling task data of the handling path selected by the user, removes irrelevant handling paths, and controls the flow of the process at the branch nodes according to the results selected by the user;
[0069] a24. Process each branch path independently or in parallel according to the situation, and summarize the results or complete the operation separately after completion;
[0070] A3. Summarize or withdraw the processed results to complete the node processing operations until all task nodes are completed.
[0071] Among them, by allowing the process to pre-define multiple branch paths, users can select these paths separately through the pre-defined paths, and assign them to different handlers on these paths for simultaneous circulation and processing without affecting each other. There can be different nodes in the branch paths and different handlers and processing rules can be preset. During implementation, it can be adjusted according to customer needs. Each branch path can be set to be completed separately, or the processing status can be summarized before completion. The process engine is transformed and optimized in this way, which enables users to dynamically select multiple processing paths and designate executors during the processing process, ensuring the efficiency and flexibility of document circulation, significantly improving office efficiency, and optimizing user experience.
[0072] In the embodiment of the present invention, the operation of establishing the workflow model is as follows:
[0073] B1. Define different branch paths and the flow processes and steps under each path according to needs;
[0074] B2. Different nodes can be set in each branch path, and multiple processing nodes can be added under the path, and different handlers and processing rules can be preset;
[0075] B3. Configure and control the basic information of each node, the scope of personnel involved in the node, and the constraints for handling and completion, manage the relevant information of the process steps, and form a workflow model that covers all processing methods.
[0076] In the embodiment of the present invention, the operation of the system in a23 dynamically generating the execution flow data and the processing task data of the processing path selected by the user is:
[0077] C1. After the user's demand data is transmitted to the workflow model, the demand data is matched with the content matching algorithm of the node data in the workflow model to determine the corresponding selected branch node;
[0078] C2. Obtain the execution flow data of the processing path according to the order of the branch node data, and at the same time feedback the corresponding processing task data according to the execution flow data of the processing path;
[0079] C3. Before processing the task data, the branch node data shall be aggregated according to the processors to be transferred.
[0080] In the embodiment of the present invention, the matching operation of the content matching algorithm in C1 is:
[0081] c11. First, the corresponding content feature part is obtained by searching the formula for the demand data, and the content feature part is introduced into the content of the node data of the workflow model for matching;
[0082] c12. Identify the content feature part step by step according to the execution process of the node data of the workflow model until all content feature parts are matched;
[0083] c13. Save the branch node data that has been matched and marked in the workflow model, and handle the task according to the branch node data. At the same time, delete the other branch task node data without processing.
[0084] In the embodiment of the present invention, the search formula in c11 is specifically:
[0085]
[0086] Among them, f(X) is the content feature part that is searched and selected and is the same as the node data of the workflow model, and Xn is represented by the content feature part X with n words, M is the node data content of the workflow model, and when the content feature part X with n words belongs to the node data content M of the workflow model, then based on the characteristics of the content feature part Xn, only one searched word is added each time to form a new content feature part Xn, until the content feature part X with n words does not belong to the node data content M of the workflow model, then the searched content feature part at this time is the content feature part with (n-1) words, and the branch node data with the same number of words as the content feature part with (n-1) words is marked.
[0087] Among them, a workflow model is established through the user's demand data, and the data submitted by the user is parsed and dynamically processed based on the workflow model to complete the reduction of the processing path and the flow operation of the branch nodes. The users who receive the processing information will circulate and process according to the established processing path. In this way, the branch nodes are automatically marked according to the expression of user needs to form execution process data, thereby simplifying the operating process and improving the system's responsiveness, thereby improving the convenience of the user experience.
[0088] In the embodiment of the present invention, the operation of C2 to obtain the processing path execution flow data according to the order of the branch node data is:
[0089] c21. First, determine the first branch node in the parallel relationship, and check whether there is a marked branch node below the first-level branch node;
[0090] c22, then determine the lower branch nodes in sequence according to the branch nodes until the last branch node is determined;
[0091] c23. After the last branch node has completed the processing, it is determined whether it needs to be transmitted to the upper branch node, and the order of the flow is sorted out according to the corresponding results.
[0092] In the embodiment of the present invention, the sequential operation of combing the flow according to the corresponding results in c23 is:
[0093] c231, the resulting data is:
[0094] Result 1: After the last branch node has completed the judgment, it needs to transmit data to the upper branch node;
[0095] Result 2: After the last branch node completes the judgment, it transmits data to the first branch node;
[0096] Result 3: After the last branch node completes the judgment and processing, it transmits the data to the new aggregation point;
[0097] c232. When result 1 is satisfied, continue to judge and complete the processing of the upper branch node until result 2 or result 3 is satisfied;
[0098] c233. When the second and third results are met, the processed data will be summarized and transmitted to the next task node until each task node completes the feedback data.
[0099] In the embodiment of the present invention, the operation of independently processing each branch path or processing each branch path in parallel according to the situation in a24 is:
[0100] D1. Determine the business involved in each branch path and classify the lower branch paths belonging to the same branch node;
[0101] D2. Perform synchronous processing operations on the classified branch paths. After the processed branch paths are input to the same aggregation point, they are processed in parallel at one time or individually according to the same processor;
[0102] D3, and transmit the result data after processing is completed.
[0103] In the embodiment of the present invention, the task node in A3 completes or withdraws the operation. When operating each task node, the parallel flow operation of the execution process is performed while independently managing the completion and withdrawal operations of the task node data, and the judgment is made by the processor based on the data situation and constraints.
[0104] Embodiment 2 is different from Embodiment 1 in that: the present invention also discloses a processing system of a parallel processing method based on a BPMN2.0 process engine, including:
[0105] The process design module is used for general process configuration. It is used by administrators to establish workflow flow charts according to customer needs, define different branch paths and the flow processes and steps under each path, connect various nodes through the branch processing gateway to form a processing flow chart, and allow configuration of basic information, names, personnel involved in the nodes, and processing and completion constraints of each node, and allow adjustments to the nodes according to customer needs;
[0106] Permission management module: users manage the processes and data accessible to users, control the user's access rights to various modules and functions, provide the function of defining user roles and permissions, check user permissions in each module, restrict operations and access, and record permission changes and access logs;
[0107] The process analysis module analyzes and controls the process flow. After receiving the data submitted by the user, it analyzes the data content, dynamically generates the processing execution flow data and processing task data according to the branch path selected by the user, controls the process engine to process the processing information of the branch node, and performs flow control;
[0108] The process execution module executes the parallel flow of the process and independently manages the return and withdrawal operations. According to the preset conditions and submitted content, it executes the node operations in the branch path selected by the user and circulates and handles according to the established processing path;
[0109] In the parallel processing state, an independent data flow is created for each project branch and managed separately as an independent transaction. According to the actual situation, multiple data flow tasks that are executed simultaneously are actually generated. The process execution module manages and monitors the execution of tasks to ensure that each branch path is handled independently, and provides status feedback and progress tracking for the task status.
[0110] The result summary module summarizes the processing results of each branch after the processing of each branch path is completed, and submits the processing task summary results to the subsequent flow steps or directly completes the processing according to needs;
[0111] After the parallel flow task is completed, the processing results of all branches are collected, summarized and a report or data record is generated. The next step or direct completion is determined based on the summary results.
[0112] Among them, by setting up a processing system, the system containing the processing method is applied in actual operation. The processing user dynamically selects one or more processing paths and assigns processing information at the same time. The basic information, name, node-involved personnel and processing and completion constraints of each selected processing path can be configured and controlled according to user needs, realizing the simultaneous flow of multiple processing paths, multiple people and multiple nodes. The operation is simple and convenient, which improves office efficiency and can complete the flow, completion or withdrawal operations in the task processing process.
[0113] In the process design module, the administrator creates and modifies the flowchart through the user interface and configures the name and basic information of each node, such as the default approver, approver range, approval conditions, approval reminders, etc., defines the flow process and steps of each branch path, including possible sub-processes, and the flowchart and node information are recorded through the database. After the user submits the processing form, the process parsing module parses the data submitted by the user, including branch selection and processor information, and dynamically generates execution flow data and task data according to preset rules, handles processing flows that the user does not need, controls processing branches and branch executors, and generates specified processing execution flow data and processing task data when the process flows to the branch, records the path and processor selected by the user, calls the process engine API, and executes the flow control of the branch node. The process function of the process execution module supports single-step return and single-step withdrawal operations within the branch to ensure that the operations within the branch are independent and do not interfere with each other.
[0114] A comparative experiment was conducted, in which the existing processing system and the processing system of the parallel processing method based on the BPMN2.0 process engine of the present invention were used to process the same business, and the time required for the processing in and out of the two systems as well as the user and processor's usage experience were recorded. The time used for processing the business by the existing processing system and the processing system of the parallel processing method based on the BPMN2.0 process engine of the present invention and the average evaluation of the users were compared, as shown in Table 1:
[0115] Table 1 Comparison data table
[0116]
[0117] In summary, by using the parallel processing method based on the BPMN2.0 process engine to handle business, the processing time is shorter, and the average satisfaction score of users and processors is relatively high.
[0118] Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0119] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0120] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A parallel processing method based on the BPMN2.0 process engine, characterized by: The specific steps include: A1. Collect and summarize user demand data and store them in the database; A2. Establish a workflow model based on the user's demand data, and parse and dynamically process the data submitted by the user based on the workflow model to complete the reduction of the processing path and the flow operation of the branch nodes. The user who receives the processing information will circulate and process according to the established processing path. Specifically, the following steps are included: a21. According to user needs, establish a preset workflow model, set the scope of personnel and relevant processing rules for processing nodes; a22. The user selects one or more processing branch paths according to the processing needs, and specifies the node handler within the preset range of node-related personnel; a23. The process engine processes the handling information of the branch nodes. The system dynamically generates the execution flow data and handling task data of the handling path selected by the user, removes irrelevant handling paths, and controls the flow of the process at the branch nodes according to the results selected by the user; a24. Process each branch path independently or in parallel according to the situation, and summarize the results or complete the operation separately after completion; A3. Summarize or withdraw the processed results to complete the node processing operations until all task nodes are completed.
2. The parallel processing method based on the BPMN2.0 process engine according to claim 1 is characterized in that: The establishment operation of the workflow model is as follows: B1. Define different branch paths and the flow processes and steps under each path according to needs; B2. Different nodes can be set in each branch path, and multiple processing nodes can be added under the path, and different handlers and processing rules can be preset; B3. Configure and control the basic information of each node, the scope of personnel involved in the node, and the constraints for handling and completion, manage the relevant information of the process steps, and form a workflow model that covers all processing methods.
3. The parallel processing method based on the BPMN2.0 process engine according to claim 1 is characterized in that: The operation of the system dynamically generating the execution flow data and processing task data of the processing path selected by the user in a23 is: C1. After the user's demand data is transmitted to the workflow model, the demand data is matched with the content matching algorithm of the node data in the workflow model to determine the corresponding selected branch node; C2. Obtain the execution flow data of the processing path according to the order of the branch node data, and at the same time feedback the corresponding processing task data according to the execution flow data of the processing path; C3. Before processing the task data, the branch node data shall be aggregated according to the processors to be transferred.
4. The parallel processing method based on the BPMN2.0 process engine according to claim 3 is characterized in that: The matching operation of the content matching algorithm in C1 is: c11. First, the corresponding content feature part is obtained by searching the formula for the demand data, and the content feature part is introduced into the content of the node data of the workflow model for matching; c12. Identify the content feature part step by step according to the execution process of the node data of the workflow model until all content feature parts are matched; c13. Save the branch node data that has been matched and marked in the workflow model, and handle the task according to the branch node data. At the same time, delete the other branch task node data without processing.
5. The parallel processing method based on BPMN2.0 process engine according to claim 4 is characterized in that: The search formula in c11 is specifically: Among them, f(X) is the content feature part that is searched and selected and is the same as the node data of the workflow model, and Xn is represented by the content feature part X with n words, M is the node data content of the workflow model, and when the content feature part X with n words belongs to the node data content M of the workflow model, then based on the characteristics of the content feature part Xn, only one searched word is added each time to form a new content feature part Xn, until the content feature part X with n words does not belong to the node data content M of the workflow model, then the searched content feature part at this time is the content feature part with (n-1) words, and the branch node data with the same number of words as the content feature part with (n-1) words is marked.
6. The parallel processing method based on BPMN2.0 process engine according to claim 3 is characterized in that: The operation of C2 to obtain the processing path execution flow data according to the order of the branch node data is: c21. First, determine the first branch node in the parallel relationship, and check whether there is a marked branch node below the first-level branch node; c22, then determine the lower branch nodes in sequence according to the branch nodes until the last branch node is determined; c23. After the last branch node has completed the processing, it is determined whether the data needs to be transmitted to the upper branch node, and the order of the flow is sorted out according to the corresponding results.
7. The parallel processing method based on BPMN2.0 process engine according to claim 6 is characterized in that: The order of operations for sorting out the flow according to the corresponding results in c23 is: c231, the resulting data is: Result 1: After the last branch node has completed the judgment, it needs to transmit data to the upper branch node; Result 2: After the last branch node completes the judgment, it transmits data to the first branch node; Result 3: After the last branch node completes the judgment and processing, it transmits the data to the new aggregation point; c232. When result 1 is satisfied, continue to judge and complete the processing of the upper branch node until result 2 or result 3 is satisfied; c233. When the second and third results are met, the processed data will be summarized and transmitted to the next task node until each task node completes the feedback data.
8. The parallel processing method based on BPMN2.0 process engine according to claim 1 is characterized in that: The operation of handling each branch path independently or in parallel according to the situation in a24 is: D1. Determine the business involved in each branch path and classify the lower branch paths belonging to the same branch node; D2. Perform synchronous processing operations on the classified branch paths. After the processed branch paths are input to the same aggregation point, they are processed in parallel at one time or individually according to the same processor; D3, and transmit the result data after processing is completed.
9. The parallel processing method based on BPMN2.0 process engine according to claim 1, characterized in that: The task node completion or withdrawal operation in A3 is to perform operations on each task node while executing the parallel flow operation of the process and independently managing the completion and withdrawal operations of the task node data, and the processing person determines it according to the data situation and constraints.
10. The processing system of the parallel processing method based on the BPMN2.0 process engine according to any one of claims 1 to 9, characterized in that: include: The process design module is used for general process configuration. It is used by administrators to establish workflow flow charts according to customer needs, define different branch paths and the flow processes and steps under each path, connect various nodes through the branch processing gateway to form a processing flow chart, and allow configuration of basic information, names, personnel involved in the nodes, and processing and completion constraints of each node, and allow adjustments to the nodes according to customer needs; The permission management module manages the processes and data that users can access, controls the user's access rights to each module and function, provides the function of defining user roles and permissions, checks user permissions in each module, restricts operations and access, and records permission changes and access logs; The process analysis module analyzes and controls the process flow. After receiving the data submitted by the user, it analyzes the data content, dynamically generates the processing execution flow data and processing task data according to the branch path selected by the user, controls the process engine to process the processing information of the branch node, and performs flow control; The process execution module executes the parallel flow of the process and independently manages the return and withdrawal operations. According to the preset conditions and submitted content, it executes the node operations in the branch path selected by the user and circulates and handles according to the established processing path; In the parallel processing state, an independent data flow is created for each project branch and managed separately as an independent transaction. According to the actual situation, multiple data flow tasks that are executed simultaneously are actually generated. The process execution module manages and monitors the execution of tasks to ensure that each branch path is handled independently, and provides status feedback and progress tracking for the task status. The result summary module summarizes the processing results of each branch after the processing of each branch path is completed, and submits the processing task summary results to the subsequent flow steps or directly completes the processing according to needs; After the parallel flow task is completed, the processing results of all branches are collected, summarized and a report or data record is generated. The next step or direct completion is determined based on the summary results.
Citation Information
Patent Citations
System for unified treatment of processes based on process engine
CN102929602A
Data management platform process tool
CN114037431A
Method for realizing workflow engine of office system
CN114819895A
Techniques for workflow analysis and design task optimization
US20200349482A1
