Free flow handling system and method based on workflow engine
By introducing process design, permission management, analysis and execution modules into the workflow engine, flexible scheduling and customization of processes are achieved, and the shortcomings of process scheduling and user selection in the existing technology are solved, and office efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411042167.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing workflow engine lacks flexibility in parallel processing and process scheduling, and cannot select branch processing and designate executors based on actual needs, which limits the user's ability to customize and process scheduling, and is difficult to meet the complex government-enterprise approval business needs.
A free flow processing system based on the workflow engine is designed, including process design module, permission management module, process analysis module and process execution module, allowing administrators to establish branch paths and scheduling processing processes according to customer needs, and users can choose the processing path. and personnel, and optimize the handling candidates through scheduling algorithms to achieve flexible jumps and scheduling of the process.
It improves office efficiency and process flexibility, enhances the system's customization capabilities and security, ensures the accuracy and user experience of the process, and can quickly handle processes in special circumstances to meet the needs of special matters.
Smart Images

Figure CN118967034A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of enterprise management and business process management, and in particular to a free flow processing system and method based on a workflow engine. Background Art
[0002] In daily office work, enterprises usually use business process management systems (BPMS) to standardize and automate office processes. As an industry standard, the BPMN2.0 model provides modeling and execution support for complex business processes, and supports various types of task processing, gateway processing, etc. Based on the process engine, regular process handling steps are formulated according to user needs. The system executes the flow according to the preset process steps and handling paths, and gradually submits for approval, which standardizes the daily business process handling and significantly improves work efficiency, process transparency and work rigor. When handling, users only need to focus on the steps they are currently responsible for and handle them according to the work and process guidelines, which improves handling efficiency.
[0003] The current industry standard workflow engine is based on the BMMN2.0 standard, which improves daily work processing in terms of flow management, but there are still some shortcomings; first, when the standard model is processed in parallel, it cannot allow users to specifically select the required branch processing according to their needs, nor can it specify specific executors, which makes it difficult to meet actual business needs; secondly, the existing workflow solutions can only process flows according to the preset established processing paths and directions, and cannot temporarily skip or fall back to other nodes for processing, resulting in users being unable to skip certain processing nodes without affecting other existing processes. Quick approval process, users cannot handle special matters according to actual work arrangements, which limits flexibility and user customization capabilities, lacks customized control over process flow, and is difficult to meet actual government and enterprise approval business needs. Summary of the invention
[0004] In view of the deficiencies of the prior art, the present invention provides a free flow processing system and method based on a workflow engine, which solves the problems of the prior art.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: A free flow processing system based on a workflow engine, comprising:
[0006] The process design module 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 each node's basic information, name, node-related personnel, and processing and completion constraints;
[0007] The permission management module is used to control the user's access rights to each module and function, and limit the scope of operation and data access according to the user's role and permissions to ensure the security of the system and data privacy;
[0008] The process analysis module is used to receive the normal processing data submitted by the user and analyze the data content; according to the processing path selected by the user, the process engine is controlled to process the processing information of the node and perform flow control;
[0009] The process execution module is used when scheduling processing is required. The process administrator schedules the process according to the scheduling request within the scope of allowed processing, selects the processing node to be scheduled on the flowchart, and selects the processing personnel who need to continue to execute within the original scope of processing personnel.
[0010] Preferably, in the process design module, each branch path allows different nodes to be set, and the path is allowed to continue to extend to add more processing nodes, and different processors and processing rules are preset.
[0011] Preferably, the work content of the process design module includes:
[0012] It allows you to define conditions in the branch path, so that the process follows the specified approval nodes and paths according to the rules, which can be expressed as the following formula:
[0013]
[0014] Among them, the branch path selection results include three process results: P1, P2, and undefined or default processing. P1 and P2 both have predefined execution conditions. When the process flow is approved, the execution conditions are judged respectively and different processing processes are executed; when condition 1 is met, process P1 is executed, and when condition 2 is met, process P2 is executed. If both condition 1 and condition 2 are not met, it is judged as undefined or default processing is performed;
[0015] In the above formula, assume that B1 and B2 are Boolean variables, B1 and B2 represent the judgment condition results of the branch path, and the parameters represent any inputs that may be required for processes P1 and P2. When the corresponding conditions are met, the corresponding process P1 or P2 is executed; the process is judged according to the above process, and a specific branch path is judged and selected for flow processing;
[0016] In addition, the process allows nodes to be adjusted according to customer needs, which can be described by the following formula:
[0017]
[0018] Among them, x i represents the number of the i-th handler (i=1, 2, ..., n), where n is the number of handlers; yj represents the weight or complexity of the j-th handling rule (j=1, 2, ..., m), where m is the number of handling rules; ai is the cost or time consumption per unit time of the i-th handler; bj is the cost or time consumption per unit time of the j-th handling rule;
[0019] Allow users to make adjustments within a given range of handlers, and each handler and quantity must be within the given range. The given range is set as a constraint, expressed by the following formula:
[0020]
[0021] When the constraints are met, the process will assign tasks according to the changed person in charge;
[0022] Administrators create and modify flowcharts through the user interface and configure the name and basic information of each node, define the flow process and steps of each branch path, including possible sub-processes; flowcharts and node information are recorded through data.
[0023] Preferably, the work content of the rights management module includes:
[0024] Regarding the allocation of user rights management, it is expressed based on the following formula:
[0025] UserPermissions(u)=U{assignPermission(r)|r∈assignRole(u)};
[0026] Suppose there is the following set:
[0027] U: user set, where each element u represents a user;
[0028] R: role set, where each element r represents a role;
[0029] O: permission set, where each element o represents a permission;
[0030] Define a function getUserPermissions:U→2^O. This function accepts a user u as input and returns the set of all permissions possessed by the user. It is defined by combining the assignRole and assignPermission mappings: for a given user u, first find the set of all roles possessed by the user assignRole(u), then for each role r in the set, find the permission set possessed by the role assignPermission(r), and perform a union operation on these permission sets to obtain all permission sets for user u.
[0031] Preferably, the work content of the process analysis module includes:
[0032] After receiving the normal processing data submitted by the user, parse the data content; according to the processing path selected by the user, control the process engine to process the processing information of the node and perform flow control; when the user selects the processing path, according to the existing processing information in the process, select the path that meets the needs for processing. The selection process is as follows:
[0033]
[0034] Assume that priority1 is the priority of p1 and priority2 is the priority of p2. According to the processing information in the process, the priority levels of priority1 and priority2 are obtained through analysis. If the priority of p1 is higher than that of p2, p1 is selected for execution; otherwise, p2 is selected for execution.
[0035] After the user submits the processing form, the module parses the data submitted by the user, including branch selection and handler information, and controls the processing branches and branch executors according to preset rules. When the process flows to the branch, it generates the specified processing execution flow data and processing task data, and records the path and handler selected by the user; calls the process engine API to execute the flow control of the branch node;
[0036] When the user submits data, the submitted data is verified and processed at the same time. When it meets the preset data standards, it is allowed to be submitted, which is described by the following formula:
[0037]
[0038] Suppose there are n data Z1, Z2, ..., Z on the form A , each data Z k There is a corresponding condition C k (Z k ), each value Z k And its corresponding condition C k (Z k ) is represented as a vector Z and a function vector C, where the elements of the function vector C are Boolean values, and the function F is used to check whether all conditions are true; k Each condition in the above example is checked and calculated one by one. k All meet the corresponding conditions C k When , it means that C is established; when all of the above are established, it means that the data set meets the expected settings and is submitted for processing according to the data set.
[0039] Preferably, the work content of the process execution module includes:
[0040] When selecting the executor of the processing node to be dispatched, the user reselects the executor within the preset range for scheduling. This range has one or more execution objects. When there are multiple execution objects, it is necessary to determine the candidate for the processing object based on the priority level of the processing ability of the personnel within the range and the workload of the personnel's work tasks. The weight and sum are calculated using the following scoring formula:
[0041]
[0042] Each scheduling task has a priority g W , and D executors, each executor v has a current load lv; define a score score(w,v) for each combination of task w and executor v, which is calculated based on the priority of the task and the load of the executor; where: g w is the priority of task w; lv is the current load of executor v; α and β are weight factors used to adjust the importance of priority and load in scoring;
[0043] The above scoring formula represents the suitability of task w being assigned to executor v. The higher the score, the more suitable the assignment. The scheduling algorithm selects the optimal assignment scheme based on the score. In the current handling situation, the weighted sum of each execution object is calculated by using a weighted method, and finally the executor is determined.
[0044] The system controls the process engine and intervenes in the data flow processing of the process engine, allowing the process instance to skip certain nodes and jump to the specified processing node, establish the processing relationship of the node, and specify the execution object of the process for the node;
[0045] After the scheduling is completed, the process execution module manages and monitors the execution of the task, ensures that the path processing is resumed in the established direction, and provides status feedback and progress tracking for the task status;
[0046] When monitoring the execution of a task, we determine whether the processing meets normal expectations by counting its processing progress, processing efficiency, remaining processing time, etc. We construct a formula to predict the remaining completion time based on the current progress and the time spent; based on the concept of estimated remaining time ERT, we set the total progress to 100%. Assuming that the total workload of the task is H, the completed workload is E, the time spent is h, and the current progress is E, the estimated remaining time ERT and the estimated completion time ECT are expressed as:
[0047]
[0048] The process monitors the execution of the subsequent tasks scheduled, provides status updates and records task completion and feedback information;
[0049] The user who receives the to-do task will follow the subsequent processing path of the node in the original process, continue to process it in the direction of the original path, and continue to execute it according to the processing results until the process is completed.
[0050] The present invention also discloses a processing method of a free flow processing system based on a workflow engine, comprising the following steps:
[0051] S10 Establishment of workflow flow chart;
[0052] Administrators use the process design module to create workflow flow charts based on customer needs;
[0053] S20 users carry out routine processing;
[0054] During the processing, the user follows the established process branches and processing steps. After receiving the normal processing data submitted by the user, the process analysis module analyzes the data content and assigns the node handler within the preset node involved personnel range to submit the processing operation;
[0055] S30 users need to adjust the process;
[0056] During the processing, if the current pending user is unable to process the task in time due to work reasons, or needs to re-process certain nodes due to other reasons, the user will notify the process administrator to assist in process scheduling;
[0057] S40 process administrator performs process scheduling;
[0058] The process administrator with scheduling authority schedules nodes of the processing process through the process execution module according to the user requirements in S30. The process administrator selects the processing node to be scheduled on the original flowchart, and selects the personnel who need to execute the processing within the range of the node processing personnel originally set for this processing node. According to the processing constraints of the node, the processing method of scheduling execution is confirmed;
[0059] S50 data analysis and dynamic processing;
[0060] After receiving the scheduling data submitted by the process administrator, the system parses the data content, intervenes in the flow of the task data of the process engine, and dynamically and temporarily establishes an association between the current pending task node and the task node designated for scheduling. The system dynamically generates the execution flow data and task data of the processing path selected by the user, and schedules the process according to the result selected by the user, realizing the node processing jump flow, and freely jumping to the designated instruction node for processing;
[0061] S60 handles the user to continue the flow;
[0062] After the system completes the scheduling process, the designated user receives the processing information and continues to transfer and process according to the original processing path under the node until the transfer is completed.
[0063] Preferably, the processing node in S40 is any processing node on the original flow chart.
[0064] Preferably, the system in S50 and S60 is a free flow processing system based on a workflow engine.
[0065] The present invention provides a free flow processing system and method based on a workflow engine. Compared with the prior art, its technical effects are mainly reflected in the following aspects:
[0066] Improve office efficiency: By dynamically scheduling the current processing nodes, the problem of being unable to handle the process in time due to work or other reasons in special circumstances is solved, and the efficiency of document circulation is significantly improved;
[0067] Enhanced flexibility and customization: Ensure that the process instance flow information can be adjusted according to customer needs based on the special flow needs in actual office scenarios, and handle the rules and personnel configuration of each node, which enhances the flexibility and customization of the system;
[0068] Ensure process security and accuracy: Although ordinary users cannot actually control the process, process administrators are allowed to assist users in implementing process control scheduling within their authority to ensure process flow data security. After scheduling, the process will continue to be executed according to the original processing rules, ensuring the accuracy of the process flow;
[0069] Optimize user experience: By simplifying the operation process and improving the system's responsiveness, it provides users with a better operation experience and improves the practicality and ease of use of the system;
[0070] To sum up, the present invention, through the transformation and optimization of the process engine, provides technical support for documents that require special handling under special circumstances, realizes flexible processing and scheduling of processes, adds certain flexible operations to the rigor of the original process flow, improves process office efficiency and flexible processing and adaptability, significantly improves office efficiency, and optimizes user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 It is a schematic diagram of the system flow of the present invention;
[0072] Figure 2 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0073] 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.
[0074] See also Figure 1 The present invention discloses a free flow processing system based on a workflow engine and provides the following five technical solutions:
[0075] The first implementation method includes:
[0076] The process design module 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. Each branch path allows different nodes to be set, and the path allows for continued extension and addition of more processing nodes, and presets different handlers and processing rules. Each node is connected through a branch processing gateway to form a processing flow chart, allowing configuration of each node's basic information, name, node-related personnel, and processing and completion constraints;
[0077] The permission management module is used to control the user's access rights to each module and function, and limit the scope of operation and data access according to the user's role and permissions to ensure the security of the system and data privacy;
[0078] The process analysis module is used to receive the normal processing data submitted by the user and analyze the data content; according to the processing path selected by the user, the process engine is controlled to process the processing information of the node and perform flow control;
[0079] The process execution module is used when scheduling processing is required. The process administrator schedules the process according to the scheduling request within the scope of allowed processing, selects the processing node to be scheduled on the flowchart, and selects the processing personnel who need to continue to execute within the original scope of processing personnel.
[0080] Compared with existing technologies, this system achieves high flexibility and dynamic configuration capabilities for workflow management. Through the process design module, enterprises can quickly respond to changes in customer needs and freely customize complex and changeable business processes, significantly improving the adaptability and efficiency of business processing. The authority management module ensures strict control of system operations and data security, effectively preventing information leakage and improper operations. The process analysis and execution module realizes intelligent processing and flexible scheduling of processes, which not only simplifies the operating process, but also enhances the controllability and transparency of the process. Overall, the system promotes the standardization, automation and intelligence of enterprise business processes, reduces operating costs, and improves service quality and customer satisfaction.
[0081] The second implementation mode is mainly different from the first implementation mode in that the work contents of the process design module include:
[0082] It allows you to define conditions in the branch path, so that the process follows the specified approval nodes and paths according to the rules, which can be expressed as the following formula:
[0083]
[0084] Among them, the branch path selection results include three process results: P1, P2, and undefined or default processing. P1 and P2 both have predefined execution conditions. When the process flow is approved, the execution conditions are judged respectively and different processing processes are executed; when condition 1 is met, process P1 is executed, and when condition 2 is met, process P2 is executed. If both condition 1 and condition 2 are not met, it is judged as undefined or default processing is performed;
[0085] In the above formula, assume that B1 and B2 are Boolean variables (i.e., they can only be true or false), B1 and B2 represent the judgment condition results of the branch path, and the parameters represent any inputs that may be required for processes P1 and P2. When the corresponding conditions are met, the corresponding process P1 or P2 is executed; the process is judged according to the above process, and a specific branch path is judged and selected for flow processing;
[0086] In addition, the process allows nodes to be adjusted according to customer needs, such as changing the person handling the transaction and the processing rules, which can be described by the following formula:
[0087]
[0088] Among them, x i represents the number of the i-th handler (i=1, 2, ..., n), where n is the number of handlers; y j represents the weight or complexity of the j-th processing rule (or process step) (j=1, 2, ..., m), where m is the number of processing rules; ai is the cost or time consumption per unit time of the i-th processing person; bj is the cost or time consumption per unit time of the j-th processing rule;
[0089] Allow users to make adjustments within a given range of handlers, and each handler and quantity must be within the given range. The given range is set as a constraint, expressed by the following formula:
[0090]
[0091] When the constraints are met, the process will assign tasks according to the changed person in charge;
[0092] Administrators create and modify flowcharts through the user interface and configure the name and basic information of each node, such as the default approver, approver range, approval conditions, approval reminders, etc., and define the flow process and steps of each branch path, including possible sub-processes; flowcharts and node information are recorded through data.
[0093] This module achieves refined management and dynamic adjustment of business processes through a highly configurable process design module. It can intelligently select approval paths based on preset conditions to improve approval efficiency and accuracy. At the same time, the flexible node adjustment mechanism allows for on-demand configuration of handlers and rules, optimizes resource allocation, and reduces costs. The user-friendly interface makes it easy for administrators to create and modify flowcharts and node information, enhancing the flexibility and response speed of the system. These features significantly improve the level of intelligence in enterprise process management and are an important breakthrough in existing technologies.
[0094] The third implementation mode is mainly different from the first implementation mode in that the work contents of the rights management module include:
[0095] Regarding the allocation of user rights management, it is expressed based on the following formula:
[0096] UserPermissions(u)=U{assignPermission(r)|r∈assignRole(u)};
[0097] Suppose there is the following set:
[0098] U: user set, where each element u represents a user;
[0099] R: role set, where each element r represents a role;
[0100] O: permission set, where each element o represents a permission;
[0101] Define a function getUserPermissions:U→2^O. This function accepts a user u as input and returns the set of all permissions possessed by the user. It is defined by combining the assignRole and assignPermission mappings: for a given user u, first find the set of all roles possessed by the user assignRole(u), then for each role r in the set, find the permission set possessed by the role assignPermission(r), and perform a union operation on these permission sets to obtain all permission sets for user u.
[0102] The permission management module realizes the dynamic allocation and management of user permissions through a refined role and permission mapping mechanism. This mechanism not only simplifies the permission management process, but also improves the accuracy and flexibility of permission allocation. By combining the mapping relationship between roles and permissions, the system can automatically calculate and allocate user permissions, effectively avoiding permission conflicts and redundancy. This innovation significantly improves the security and ease of use of the system, is an important improvement on existing permission management technology, and provides enterprises with a more efficient and secure permission management solution.
[0103] The fourth implementation mode is mainly different from the first implementation mode in that the work contents of the process analysis module include:
[0104] After receiving the normal processing data submitted by the user, parse the data content; according to the processing path selected by the user, control the process engine to process the processing information of the node and perform flow control; when the user selects the processing path, according to the existing processing information in the process, select the path that meets the needs for processing. The selection process is as follows:
[0105]
[0106] Assume that priority1 is the priority of p1 and priority2 is the priority of p2. According to the processing information in the process, the priority levels of priority1 and priority2 are obtained through analysis. If the priority of p1 is higher than that of p2, p1 is selected for execution; otherwise, p2 is selected for execution.
[0107] After the user submits the processing form, the module parses the data submitted by the user, including branch selection and handler information, and controls the processing branches and branch executors according to preset rules. When the process flows to the branch, it generates the specified processing execution flow data and processing task data, and records the path and handler selected by the user; calls the process engine API to execute the flow control of the branch node;
[0108] When the user submits data, the submitted data is verified and processed at the same time. When it meets the preset data standards, it is allowed to be submitted, which is described by the following formula:
[0109]
[0110] Suppose there are n data Z1, Z2, ..., Z on the form A , each data Z k There is a corresponding condition C k (Z k ), each value Z k And its corresponding condition C k (Z k) is represented as a vector Z and a function vector C, where the elements of the function vector C are Boolean values (true or false), where the function F checks whether all conditions are true (that is, all C k (Z k ) are all true); for C k Each condition in the above example is checked and calculated one by one. k All meet the corresponding conditions C k When , it means that C is established; when all of the above are established, it means that the data set meets the expected settings and is submitted for processing according to the data set.
[0111] The process analysis module significantly improves the accuracy and efficiency of business processing through intelligent path selection and data verification mechanisms. The module can automatically analyze and recommend the optimal processing path to reduce human errors, while strict data verification ensures data compliance and integrity. These functions not only simplify the processing process, but also enhance the reliability of the system and user experience. They are important advances in existing technologies and provide enterprises with more efficient and intelligent business processing solutions.
[0112] The fifth implementation mode is mainly different from the first implementation mode in that the work contents of the process execution module include:
[0113] When selecting the executor of the processing node to be dispatched, the user reselects the executor within the preset range for scheduling. This range has one or more execution objects. When there are multiple execution objects, it is necessary to determine the candidate for the processing object based on the priority level of the processing ability of the personnel within the range and the workload of the personnel's work tasks. The weight and sum are calculated using the following scoring formula:
[0114]
[0115] Each scheduling task has a priority g W , and D executors, each executor v has a current load lv; define a score score(w,v) for each combination of task w and executor v, which is calculated based on the priority of the task and the load of the executor; where: g w is the priority of task w; lv is the current load of executor v; α and β are weight factors used to adjust the importance of priority and load in the score; if α is larger, priority is more important; if β is larger, load is more important, so that the score is in a comparable range;
[0116] The above scoring formula represents the suitability of task w being assigned to executor v. The higher the score, the more suitable the assignment. The scheduling algorithm selects the optimal assignment scheme based on the score. In the current handling situation, the weighted sum of each execution object is calculated by using a weighted method, and finally the person who can handle the task is determined.
[0117] The system controls the process engine and intervenes in the data flow processing of the process engine, allowing the process instance to skip certain nodes and jump to the specified processing node, establish the processing relationship of the node, and specify the execution object of the process for the node;
[0118] After the scheduling is completed, the process execution module manages and monitors the execution of the task, ensures that the path processing is resumed in the established direction, and provides status feedback and progress tracking for the task status;
[0119] When monitoring the execution of a task, we determine whether the processing meets normal expectations by counting its processing progress, processing efficiency, remaining processing time, etc. We construct a formula to predict the remaining completion time based on the current progress and the time spent; based on the concept of estimated remaining time ERT, we set the total amount of progress to 100%, assuming that the total workload of the task is H, the completed workload is E, the time spent is h, and the current progress is E (expressed as a percentage), then the estimated remaining time ERT and the estimated completion time ECT are expressed as:
[0120]
[0121] The process monitors the execution of the subsequent tasks scheduled, provides status updates and records task completion and feedback information;
[0122] The user who receives the to-do task will follow the subsequent processing path of the node in the original process, continue to process it in the direction of the original path, and continue to execute it according to the processing results until the process is completed.
[0123] The process execution module achieves optimal resource allocation and flexible process control through intelligent scheduling algorithms and task monitoring. It can dynamically adjust the candidates according to the task priority and the executor load to ensure efficient task execution. At the same time, real-time monitoring and prediction functions enhance the controllability and transparency of the process, making it easier for managers to adjust strategies in a timely manner. In addition, the module also supports flexible process jumps and status feedback, improving processing efficiency and user experience. These functions together constitute an important breakthrough in existing technologies, bringing higher flexibility and efficiency to enterprise process management.
[0124] See also Figure 2 The present invention also discloses a processing method of a free flow processing system based on a workflow engine, comprising the following steps:
[0125] S10 Establishment of workflow flow chart;
[0126] Administrators use the process design module to create workflow flow charts based on customer needs;
[0127] S20 users carry out routine processing;
[0128] During the processing, the user follows the established process branches and processing steps. After receiving the normal processing data submitted by the user, the process analysis module analyzes the data content and assigns the node handler within the preset node involved personnel range to submit the processing operation;
[0129] S30 users need to adjust the process;
[0130] During the processing, if the current pending user is unable to process the task in time due to work reasons, or needs to re-process certain nodes due to other reasons, the user will notify the process administrator to assist in process scheduling;
[0131] S40 process administrator performs process scheduling;
[0132] The process administrator with scheduling authority schedules nodes of the processing process through the process execution module according to the user requirements in S30. The process administrator selects the processing node to be scheduled on the original process diagram. The processing node can be any processing node on the original process diagram, and selects the personnel who need to execute the processing within the range of the node processing personnel originally set for this processing node. According to the processing constraints of the node, the processing method of scheduling execution is confirmed;
[0133] S50 data analysis and dynamic processing;
[0134] After receiving the scheduling data submitted by the process administrator, the system parses the data content, intervenes in the flow of the task data of the process engine, and dynamically and temporarily establishes an association between the current pending task node and the task node designated for scheduling. The system dynamically generates the execution flow data and task data of the processing path selected by the user, and schedules the process according to the result selected by the user, realizing the node processing jump flow, and freely jumping to the designated instruction node for processing;
[0135] S60 handles the user to continue the flow;
[0136] After the system completes the scheduling process, the designated user receives the processing information and continues to transfer and process according to the original processing path under the node until the transfer is completed.
[0137] The effects of the invention are mainly reflected in the following aspects:
[0138] Improve office efficiency: By dynamically scheduling the current processing nodes, the problem of being unable to handle the process in time due to work or other reasons in special circumstances is solved, and the efficiency of document circulation is significantly improved;
[0139] Enhanced flexibility and customization: Ensure that the process instance flow information can be adjusted according to customer needs based on the special flow needs in actual office scenarios, and handle the rules and personnel configuration of each node, which enhances the flexibility and customization of the system;
[0140] Ensure process security and accuracy: Although ordinary users cannot actually control the process, process administrators are allowed to assist users in implementing process control scheduling within their authority to ensure process flow data security. After scheduling, the process will continue to be executed according to the original processing rules, ensuring the accuracy of the process flow;
[0141] Optimize user experience: By simplifying the operation process and improving the system's responsiveness, it provides users with a better operation experience and improves the practicality and ease of use of the system;
[0142] To sum up, the present invention, through the transformation and optimization of the process engine, provides technical support for documents that require special handling under special circumstances, realizes flexible processing and scheduling of processes, adds certain flexible operations to the rigor of the original process flow, improves process office efficiency and flexible processing and adaptability, significantly improves office efficiency, and optimizes user experience.
[0143] Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0144] 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.
[0145] 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 free flow management system based on a workflow engine, characterized in that: include: The process design module 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 each node's basic information, name, node-related personnel, and processing and completion constraints; The permission management module is used to control the user's access rights to each module and function, and limit the scope of operation and data access according to the user's role and permissions to ensure the security of the system and data privacy; The process analysis module is used to analyze the data content after receiving the normal processing data submitted by the user; According to the processing path selected by the user, the control process engine processes the processing information of the node and performs flow control; The process execution module is used when scheduling processing is required. The process administrator schedules the process according to the scheduling request within the scope of allowed processing, selects the processing node to be scheduled on the flowchart, and selects the processing personnel who need to continue to execute within the original scope of processing personnel.
2. A free flow processing system based on a workflow engine according to claim 1, characterized in that: In the process design module, each branch path allows different nodes to be set, and the path is allowed to continue to extend and add more processing nodes, and different processors and processing rules can be preset.
3. The free flow processing system based on workflow engine according to claim 1, characterized in that: The work content of the process design module includes: It allows you to define conditions in the branch path, so that the process follows the specified approval nodes and paths according to the rules, which can be expressed as the following formula: Among them, the branch path selection results include three process results: P1, P2, and undefined or default processing. P1 and P2 both have predefined execution conditions. When the process flow is approved, the execution conditions are judged respectively and different processing processes are executed; when condition 1 is met, process P1 is executed, and when condition 2 is met, process P2 is executed. If both condition 1 and condition 2 are not met, it is judged as undefined or default processing is performed; In the above formula, assume that B1 and B2 are Boolean variables, B1 and B2 represent the judgment condition results of the branch path, and the parameters represent any inputs that may be required for processes P1 and P2. When the corresponding conditions are met, the corresponding process P1 or P2 is executed; the process is judged according to the above process, and a specific branch path is judged and selected for flow processing; In addition, the process allows nodes to be adjusted according to customer needs, which can be described by the following formula: Among them, x i represents the number of the i-th handler (i=1, 2, ..., n), where n is the number of handlers; y j represents the weight or complexity of the j-th handling rule (j=1, 2, ..., m), where m is the number of handling rules; ai is the cost or time consumption per unit time of the i-th handler; bj is the cost or time consumption per unit time of the j-th handling rule; Allow users to make adjustments within a given range of handlers, and each handler and quantity must be within the given range. The given range is set as a constraint, expressed by the following formula: When the constraints are met, the process will assign tasks according to the changed person in charge; Administrators create and modify flowcharts through the user interface and configure the name and basic information of each node, define the flow process and steps of each branch path, including possible sub-processes; flowcharts and node information are recorded through data.
4. The free flow processing system based on workflow engine according to claim 1, characterized in that: The work content of the rights management module includes: Regarding the allocation of user rights management, it is expressed based on the following formula: UserPermissions(u)=U{assignPermission(r)|r∈assignRole(u)}; Suppose there is the following set: U: user set, where each element u represents a user; R: role set, where each element r represents a role; O: permission set, where each element o represents a permission; Define a function getUserPermissions:U→2^O. This function accepts a user u as input and returns the set of all permissions possessed by the user. It is defined by combining the assignRole and assignPermission mappings: for a given user u, first find the set of all roles possessed by the user assignRole(u), then for each role r in the set, find the permission set possessed by the role assignPermission(r), and perform a union operation on these permission sets to obtain all permission sets for user u.
5. The free flow processing system based on workflow engine according to claim 1 is characterized by: The work content of the process analysis module includes: After receiving the normal processing data submitted by the user, parse the data content; according to the processing path selected by the user, control the process engine to process the processing information of the node and perform flow control; when the user selects the processing path, according to the existing processing information in the process, select the path that meets the needs for processing. The selection process is as follows: Assume that priority1 is the priority of p1 and priority2 is the priority of p2. According to the processing information in the process, the priority levels of priority1 and priority2 are obtained through analysis. If the priority of p1 is higher than that of p2, p1 is selected for execution; otherwise, p2 is selected for execution. After the user submits the processing form, the module parses the data submitted by the user, including branch selection and handler information, and controls the processing branches and branch executors according to preset rules. When the process flows to the branch, it generates the specified processing execution flow data and processing task data, and records the path and handler selected by the user; calls the process engine API to execute the flow control of the branch node; When the user submits data, the submitted data is verified and processed at the same time. When it meets the preset data standards, it is allowed to be submitted, which is described by the following formula: Suppose there are n data Z1, Z2, ..., Z on the form A , each data Z k There is a corresponding condition C k (Z k ), each value Z k And its corresponding condition C k (Z k ) is represented as a vector Z and a function vector C, where the elements of the function vector C are Boolean values, and the function F is used to check whether all conditions are true; k Each condition in the above example is checked and calculated one by one. k All meet the corresponding conditions C k When , it means that C is established; when all of the above are established, it means that the data set meets the expected settings and is submitted for processing according to the data set.
6. The free flow processing system based on workflow engine according to claim 1 is characterized by: The work content of the process execution module includes: When selecting the executor of the processing node to be dispatched, the user reselects the executor within the preset range for scheduling. This range has one or more execution objects. When there are multiple execution objects, it is necessary to determine the candidate for the processing object based on the priority level of the processing ability of the personnel within the range and the workload of the personnel's work tasks. The weight and sum are calculated using the following scoring formula: Each scheduling task has a priority g W , and D executors, each executor v has a current load lv; define a score score(w,v) for each combination of task w and executor v, which is calculated based on the priority of the task and the load of the executor; where: g w is the priority of task w; lv is the current load of executor v; α and β are weight factors used to adjust the importance of priority and load in scoring; The above scoring formula represents the suitability of task w being assigned to executor v. The higher the score, the more suitable the assignment. The scheduling algorithm selects the optimal assignment scheme based on the score. In the current handling situation, the weighted sum of each execution object is calculated by using a weighted method, and finally the executor is determined. The system controls the process engine and intervenes in the data flow processing of the process engine, allowing the process instance to skip certain nodes and jump to the specified processing node, establish the processing relationship of the node, and specify the execution object of the process for the node; After the scheduling is completed, the process execution module manages and monitors the execution of the task, ensures that the path processing is resumed in the established direction, and provides status feedback and progress tracking for the task status; When monitoring the execution of a task, we determine whether the processing meets normal expectations by counting its processing progress, processing efficiency, remaining processing time, etc. We construct a formula to predict the remaining completion time based on the current progress and the time spent; based on the concept of estimated remaining time ERT, we set the total progress to 100%. Assuming that the total workload of the task is H, the completed workload is E, the time spent is h, and the current progress is E, the estimated remaining time ERT and the estimated completion time ECT are expressed as: The process monitors the execution of the subsequent tasks scheduled, provides status updates and records task completion and feedback information; The user who receives the to-do task will follow the subsequent processing path of the node in the original process, continue to process it in the direction of the original path, and continue to execute it according to the processing results until the process is completed.
7. A method for handling a free flow handling system based on a workflow engine according to any one of claims 1 to 6, characterized in that: The following steps are involved: S10 Establishment of workflow flow chart; Administrators use the process design module to create workflow flow charts based on customer needs; S20 users carry out routine processing; During the processing, the user follows the established process branches and processing steps. After receiving the normal processing data submitted by the user, the process analysis module analyzes the data content and assigns the node handler within the preset node involved personnel range to submit the processing operation; S30 users need to adjust the process; During the processing, if the current pending user is unable to process the task in time due to work reasons, or needs to re-process certain nodes due to other reasons, the user will notify the process administrator to assist in process scheduling; S40 process administrator performs process scheduling; The process administrator with scheduling authority schedules nodes of the processing process through the process execution module according to the user requirements in S30. The process administrator selects the processing node to be scheduled on the original flowchart, and selects the personnel who need to execute the processing within the range of the node processing personnel originally set for this processing node. According to the processing constraints of the node, the processing method of scheduling execution is confirmed; S50 data analysis and dynamic processing; After receiving the scheduling data submitted by the process administrator, the system parses the data content, intervenes in the flow of the task data of the process engine, and dynamically and temporarily establishes an association between the current pending task node and the task node designated for scheduling. The system dynamically generates the execution flow data and task data of the processing path selected by the user, and schedules the process according to the result selected by the user, realizing the node processing jump flow, and freely jumping to the designated instruction node for processing; S60 handles the user to continue the flow; After the system completes the scheduling process, the designated user receives the processing information and continues to transfer and process according to the original processing path under the node until the transfer is completed.
8. The method for handling a free flow handling system based on a workflow engine according to claim 7, characterized in that: The processing node in S40 is any processing node on the original flow chart.
9. The method for handling a free flow handling system based on a workflow engine according to claim 7, characterized in that: The system in S50 and S60 is a free flow processing system based on a workflow engine.
Citation Information
Patent Citations
Method for arranging examination and approval roles at work flow examination and approval nodes based on form field
CN107146072A
Working method of workflow engine, server, medium and equipment
CN112712335A
Workflow-based to-do list processor matching method and processing system
CN113919757A
Automatic office method and system based on workflow engine
CN116308132A
Cited By
Workflow execution method, device and equipment based on edge driving and computer program
CN121458014A
