Dynamic process control method based on process data driving
By using a dynamic process control method driven by process data, the process topology and resource allocation are dynamically generated, which solves the problems of rigidity and resource waste in traditional process engines. It achieves efficient data transmission and fault isolation, improves system efficiency and reliability, and is suitable for scenarios such as bank credit approval.
Patent Information
- Application Number
- CN202511517694.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-23
- Publication Date
- 2025-12-30
AI Technical Summary
Traditional workflow engines suffer from static topology rigidity, lack of data aggregation, poor resource adaptability, and risk of fault propagation, making them unable to meet the needs of modern business scenarios for dynamically generating multi-level approval workflows and real-time data aggregation.
A dynamic process control method based on process data is adopted. The dynamic distribution gateway parses business data variables in real time, automatically generates a flexible process topology, dynamically creates parallel or serial sub-process instances, and uses bidirectional data channels to realize information flow between the main and sub-processes. Combined with declarative aggregation rules, it automatically performs data aggregation and consistency checks, and dynamically adjusts resource allocation.
It achieved 100% data integrity across 100,000+ task instances, reduced manual configuration workload by 80%, decreased resource consumption by 58%, reduced system interruption rate from 4.7% to 0.03%, improved efficiency by 220%, supported dynamic expansion from 5 to 20 departments with zero millisecond process refactoring time, and enabled continuous operation 24/7.
Smart Images

Figure CN121235640A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a dynamic process control method based on process data driving. BACKGROUND
[0002] The current mainstream process engine relies on preset logic gateways (such as parallel gateways and exclusive gateways) to control process branches, and its core defect is that:
[0003] Static topology rigidity: the number of branches and the execution mode (parallel / serial) need to be pre-configured statically, and the size and structure of sub-processes cannot be adjusted flexibly according to the process instance runtime business data (such as dynamically generated application content list and real-time changing involved department number);
[0004] Data aggregation deficiency: after the execution of the sub-process, there is a lack of standardized data aggregation mechanism, and manual intervention is needed to summarize the approval results, merge the business data list and check the consistency, which leads to process interruption and error rate rising;
[0005] Low resource adaptation: fixed branch mode produces a large number of idle process instances when the business volume fluctuates (such as order surge in promotion period), or the branch capacity is insufficient when the load is sudden, which causes system resource waste and processing bottleneck;
[0006] Risk of fault diffusion: sub-process exception directly blocks the main process, and lacks exception isolation and local recovery capability.
[0007] The above defects result in that the traditional scheme cannot meet the modern business scenarios which need to dynamically generate multi-level approval flow and rely on real-time data aggregation, and innovation is urgently needed. SUMMARY
[0008] The purpose of this invention is to provide a dynamic process control method based on process data. This invention presents a dynamic process control method based on process data driving. By using a dynamic distribution gateway to parse business data variables in real time and automatically generate a flexible process topology, it enables the dynamic creation of parallel or serial sub-process instances at runtime. This completely solves the rigidity problem caused by the need to preset the number of branches in traditional process engines. Based on the principle of minimum context, it accurately transmits application IDs, handlers, and form data to sub-processes. Combined with a bidirectional data channel, it achieves zero-loss information flow between main and sub-processes, resulting in 100% data integrity in tests with over 100,000 task instances. Through declarative aggregation rules, it automatically executes approval result summarization, statistical value calculation, and consistency checks, reducing manual configuration workload by 80%. The resource allocation mechanism dynamically adjusts computing resources according to business data fluctuations, reducing resource consumption by 58% in scenarios such as handling promotional orders. The fault self-isolation design ensures that errors are automatically marked and valid results are continuously aggregated when a single sub-process is abnormal, reducing the system interruption rate from 4.7% in traditional solutions to 0.03%. Ultimately, it achieves a 220% efficiency improvement in scenarios such as bank loan approval, meeting the dynamic expansion requirements of the number of departments involved from 5 to 20 with zero millisecond process refactoring time, achieving 24 / 7 continuous operation.
[0009] To achieve the above effects, the present invention provides the following technical solution: a dynamic process control method based on process data, comprising the following steps:
[0010] S1, Locate the distribution process node;
[0011] S2, Configure distribution rules;
[0012] S3, routine process task execution;
[0013] S4. Distribution node opens for distribution;
[0014] S5. Obtain distribution data and rules;
[0015] S6, Execute dispatch;
[0016] S7. The main process is paused and waiting, while multiple sub-process instances are created.
[0017] S8, Execute convergence;
[0018] S9. Merge sub-process data;
[0019] S10, Update the main process context;
[0020] S11, Execution of routine process tasks.
[0021] Furthermore, step two also includes: associating distribution rules with the dynamic distribution node, wherein the data source is defined as business data variables in the process instance, including at least one of the following: application content list, number of departments involved, and risk assessment result array.
[0022] Furthermore, step six also includes: dynamically calculating the number and type of sub-process instances based on business data variables, wherein the types include parallel sub-process instances and serial sub-process instances.
[0023] Furthermore, step seven also includes: transmitting the application ID, current handler, form data, and business data information of the main process instance to each sub-process instance.
[0024] Furthermore, step seven also includes: hiding the main process task and pausing the main process instance at the dynamic distribution node.
[0025] Furthermore, step eight also includes: after all sub-process instances have been executed, triggering the convergence processor to read the output data of the sub-process instances.
[0026] Furthermore, step nine also includes: performing data aggregation operations through the aggregation processor, including at least one of summarizing approval results, calculating statistical values, merging lists, and checking data consistency.
[0027] Furthermore, step ten also includes setting the aggregated result back to the context variable of the main process instance.
[0028] Furthermore, step seven also includes: each sub-process instance is an independent process instance with its own execution context.
[0029] Furthermore, step four is in response to the automatic triggering of a distribution operation when the process instance runs to the dynamic distribution node.
[0030] This invention provides a dynamic process control method based on process data, which has the following advantages: This dynamic process control method, based on process data, automatically generates a flexible process topology structure by dynamically distributing business data variables in real time through a dynamic distribution gateway. It enables the dynamic creation of parallel or serial sub-process instances at runtime, completely solving the rigidity problem caused by the need to preset the number of branches in traditional process engines. Based on the principle of minimum context, it accurately transmits application ID, handler, and form data to sub-processes. Combined with a bidirectional data channel, it achieves zero-loss information flow between the main and sub-processes, resulting in a 100% data integrity rate in tests with over 100,000 task instances. By automatically performing approval result aggregation, statistical value calculation, and consistency checks through declarative aggregation rules, the workload of manual configuration is reduced by 80%. The resource allocation mechanism dynamically adjusts computing resources according to business data fluctuations, reducing resource consumption by 58% in scenarios such as processing promotional orders. The fault self-isolation design ensures that errors are automatically marked and valid results are continuously aggregated when a sub-process is abnormal, reducing the system interruption rate from 4.7% in the traditional solution to 0.03%. Ultimately, it achieves a 220% efficiency improvement in scenarios such as bank credit approval, meets the dynamic expansion requirements of the number of departments involved from 5 to 20, and achieves 24 / 7 continuous operation with zero milliseconds of process refactoring time. Attached Figure Description
[0031] Figure 1 This is a schematic diagram of a dynamic process control method based on process data driven by the present invention. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments.
[0033] Example 1: The present invention provides a technical solution: Please refer to... Figure 1A dynamic process control method based on process data-driven operation is characterized by the following steps: Step 1: Define a "dynamic distribution node". In the process definition, a special node type called "dynamic distribution gateway" is added for this scenario. Simultaneously, a preset distribution rule is associated with this gateway. This distribution rule specifies the data source that triggers the distribution and the distribution rules. The distribution data source is based on the business data variables specified in the process instance (such as the application content list, the number of departments involved, the risk assessment result array, etc.). The distribution rule describes the number and type of sub-process instances to be created based on the above real-time data. Step 2: When the process instance runs to this predefined "dynamic distribution node", it enters the process distribution logic. The system automatically obtains the current business data of the process instance according to the set data source and processes this data according to the configured rules to calculate the number and type (serial or parallel) of sub-process instances to be created. Step 3: The process engine dynamically creates sub-process instances based on the calculation results of the distribution logic. The system dynamically creates a specified number and type of sub-process instances, each... Sub-process instances are independent process instances. Simultaneously, the system passes relevant data from the main process instance (such as application ID, current handler, related forms, and business data) as input parameters to each sub-process instance, ensuring the sub-process has the minimum context required for execution. The system also hides the main process instance's related tasks, causing the main process to pause and wait at the "dynamic distribution node." Step four: All created sub-process instances begin independent execution. The process engine tracks and controls the status of all sub-process instances. Step five: After all created sub-process instances have completed execution, the system automatically aggregates the processes and enters the process aggregation processor. Step six: The aggregation processor first reads the output data of all completed sub-process instances through the engine, aggregates this data according to configured rules (such as summarizing approval results, calculating statistical values, merging lists, checking consistency, etc.), and then sets the aggregated results back to the main process instance's context variables. Then, the main process instance resumes execution from the previous node and continues subsequent process steps. At this point, the main process has the complete aggregated data.
[0034] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for dynamic process control based on process data driving, characterized in that, The method comprises the following steps: S1, positioning a distribution flow node; S2, configuring a distribution rule; S3, executing a regular flow task; S4, opening a distribution at the distribution node; S5, obtaining distribution data and rules; S6, executing the distribution; S7, pausing the main flow to wait and creating multiple sub-flow instances; S8, executing a convergence; S9, merging sub-flow data; S10, updating the main flow context; S11, executing a regular flow task.
2. The method of claim 1, wherein, The step two further comprises associating a distribution rule at the dynamic distribution node, which defines data sources as business data variables in the flow instance, including at least one of an application content list, a number of involved departments, and a risk assessment result array.
3. The method of claim 2, wherein, The step six further comprises dynamically calculating the number and type of sub-flow instances according to the business data variables, and the type includes parallel sub-flow instances and serial sub-flow instances.
4. The dynamic process control method based on process data driving of claim 3, wherein, The method comprises the following steps, The step seven further comprises passing the application ID, the current handler, the form data, and the business data information of the main flow instance to each sub-flow instance.
5. The method of claim 4, wherein, The method comprises the following steps, The step seven further comprises hiding the main flow task and pausing the main flow instance at the dynamic distribution node.
6. The method of claim 5, wherein, The method comprises the following steps, The step eight further comprises triggering a convergence processor to read the sub-flow instance output data after all sub-flow instances are executed.
7. The method of claim 6, wherein, The method comprises the following steps, The step nine further comprises performing a data aggregation operation by the convergence processor, including at least one of summarizing the approval results, calculating statistical values, merging lists, and checking data consistency.
8. The method of claim 7, wherein, The step ten further comprises setting the results after the aggregation processing back to the context variables of the main flow instance.
9. The method of claim 8, wherein, The method comprises the following steps, The step seven further comprises that each sub-flow instance is an independent flow instance and has an independent execution context.
10. The method of claim 9, wherein, The step four is automatically triggered in response to the flow instance running to the dynamic distribution node.
