A business process orchestration engine system based on BPMN2 and its operation method

Through the BPMN2 business process orchestration engine system and process data bus, combined with the third-party independent approval process, the problems of low efficiency of business process automation and complexity of approval process are solved, and efficient process orchestration and flexible approval process management are achieved.

CN118550512BActive Publication Date: 2024-11-08国投人力资源服务有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410692187.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-11-08
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

When the existing business process orchestration system handles different user needs and process projects, the automation efficiency is insufficient, and the separate processing of the approval process from the main business process increases system complexity and maintenance costs.

Method used

Adopt a business process orchestration engine system based on BPMN2, and by pre-creating component libraries and process data buses, the process is quickly searched and processed, and the third-party independent approval process is introduced to ensure the independence and security of the approval process and simplify the main business process. Interaction with the approval process.

Benefits of technology

It improves the efficiency of automated orchestration of business processes, simplifies system maintenance, improves the scalability and flexibility of the system, and allows adjustment of approval process rules according to needs without the need to modify business processes at scale.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550512B_ABST
    Figure CN118550512B_ABST
Patent Text Reader

Abstract

The present invention discloses a business process orchestration engine system based on BPMN2 and its operation method, and relates to the technical field of business process orchestration. It includes: a pre-creation module: building a component library for storing different component names and processes corresponding to the component names, which are initialized by the process engine into executable component instances during the process execution process, and are used to execute computing tasks; an acquisition module: acquiring user requests, searching for corresponding processes in the component library, and obtaining a required process set; a construction module: building a data process data bus according to the connection method, which is used to exchange and share data for the required process set. The present invention pre-configures the component library, and the component library will store the component names and the processes corresponding to the component names. The process search and processing speed is faster, and the process data bus is used as a data carrier channel for various types of data in the entire process execution process, which greatly improves the process operation rate and information interaction effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of business process orchestration, and in particular to a business process orchestration engine system based on BPMN2 and an operation method thereof. Background Art

[0002] Business processes mainly refer to a series of interrelated activities and tasks within or across organizations, which are carried out in a specific order and according to specific rules to achieve specific business goals. Business processes usually involve collaboration and interaction between multiple participants, resources and systems, including information flow, decision flow and workflow. BPMN2 refers to Business Process Modeling and Markup Language, which is a standardized symbol and graphical representation for describing business processes. It aims to provide a unified and visual way to describe, analyze and optimize business processes.

[0003] The patent publication number is CN117555613A, which is a system and method for arranging business processes based on application systems. The system includes a data acquisition and processing module, a rule engine module and a storage module. The method is as follows: S1, obtaining data flow: obtaining the data required for business execution and preprocessing the data required for business execution; S2, obtaining data results: obtaining the required business rules through the preset basic business rules required for the corresponding functions and arranging the execution order in accordance with the preset logic into a script, and then realizing the target function by executing the corresponding script to obtain the data results; S3, storing data: storing the obtained data results.

[0004] In the actual use of the above and similar technical solutions, due to the different needs of different users, different process projects are applied in different systems, and different events may occur during the process of the process project. Therefore, in actual operation, certain links still need to be manually processed to ensure the accuracy, timeliness and smoothness of the process processing, which leads to insufficient automation efficiency of business processes. In addition, the approval process is often an important link in the business process, but it usually needs to be processed separately from the main business process, which increases the complexity and maintenance cost of the system. Summary of the invention

[0005] The purpose of the present invention is to provide a business process orchestration engine system based on BPMN2 and an operation method thereof to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solution: a business process orchestration engine system based on BPMN2 and an operation method thereof, comprising:

[0007] Pre-creation module: Build a component library to store different component names and the processes corresponding to the component names. During the process execution, the process engine will initialize it into an executable component instance to perform computing tasks.

[0008] Acquisition module: obtains user requests, searches for corresponding processes in the component library, and obtains the required process set;

[0009] Building modules: Building a data process data bus based on the connection method to exchange and share data for the required process set;

[0010] Processing module: divides the demand process set into a common process set, a business process set and an approval process set according to the judgment method, obtains the common process node set, the business process node set and the approval process node set respectively, adjusts the created decision table based on the adjustment method, and obtains the output data of the common process node set, the business process node set and the approval process node set through the acquisition method to obtain the output data set;

[0011] Output module: Based on the output data set, the output data set is introduced into the decision table to output the decision to be executed;

[0012] Introduction module: introduce a third-party independent approval process and perform approval operations based on the third-party independent approval process;

[0013] The method for introducing the third-party independent approval process includes:

[0014] S1: Process formulation: Users formulate approval processes according to their own needs and obtain a subset of approval process nodes:

[0015] S2: Threshold determination, setting approval thresholds, and judging whether the output data set reaches the approval threshold. When the output data set reaches the approval threshold, access to third-party independent approval through a standard interface, and approval is performed based on a subset of approval process nodes;

[0016] S3: Data feedback. After completing the approval process of the approval process node subset, the output data of the approval system is returned to the process data bus, and the process engine will continue to orchestrate subsequent process nodes.

[0017] Furthermore, the method for building the component library includes:

[0018] N1: Database selection: select the target database as the storage medium of the component library and create the corresponding table structure;

[0019] N2: Process acquisition, based on big data, obtains the processes corresponding to different components and obtains the process information set;

[0020] N3: Data insertion, inserting the process information set into the corresponding database table;

[0021] N4: Database connection, set up the database connection in the application, connect to the database through the connection parameters of the target database, and output an executable component instance.

[0022] Furthermore, the connection method includes:

[0023] M1: Define a unified data format, including data structure, fields, and data exchange protocols, to ensure that data reading and writing operations can be performed between different process nodes in accordance with unified specifications;

[0024] M2: Design data read and write interfaces. Design a unified data read and write interface for all process nodes, including data input interface and data output interface. Through the input interface and data output interface, the process node can send data to the channel or receive data from the channel;

[0025] M3: Integrate data read and write channels, integrate the designed data read and write interfaces and data transmission mechanisms into the business process orchestration engine system, and ensure that all process nodes can perform data read and write operations through a unified channel.

[0026] Furthermore, the determination method includes:

[0027] P1: Process analysis: Based on the required process set, analyze the information of each process in the required process set to obtain a process subset, and extract the features of the process subset to obtain a subset feature set;

[0028] P2: Scope division: divide into multiple scopes, set as general process scope, business process scope and approval process scope respectively;

[0029] P3: Feature extraction, extracting the scope features of the common process scope, business process scope and approval process scope respectively, and obtaining the first feature set, the second feature set and the third feature set, which correspond to the common process set, the business process set and the approval process set respectively;

[0030] P4: Feature comparison: compare the subset feature set with the first feature set, the second feature set and the third feature set respectively, so as to divide the range features of the subset feature set.

[0031] Furthermore, the analysis method of the demand process set includes: purpose analysis, analyzing the purpose information of each process in the demand process set, wherein the purpose information of the general process set, the business process set and the approval process set are all different. The general process refers to the routine operation process, the business process involves business activities and decisions within the organization or across departments, and the approval process involves operations that need to be approved or reviewed by superiors.

[0032] Furthermore, the decision table is created in the following manner: determining the decision purpose and decision result based on the requirement process set, determining the decision condition based on different component names in the component library and the processes corresponding to the component names, determining the decision action according to the result of data exchange and sharing of the requirement process set, and the input and output data sets are used to output the decision to be executed.

[0033] Furthermore, the adjustment method includes: based on user needs, filtering the processes in the required process set to obtain a filtered subset, and adjusting the decision table according to the filtered subset.

[0034] Furthermore, the acquisition method includes listener acquisition, which is based on the listener bound to the demand process set and monitors various system message events to obtain the output data of the ordinary process node set, business process node set and approval process node set, including message sending events, message receiving events and execution exception events.

[0035] Furthermore, a method for operating a business process orchestration engine system based on BPMN2 uses any one of the above-mentioned business process orchestration engine systems based on BPMN2, including installing the business process orchestration engine system based on BPMN2 in different carriers.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] The BPMN2-based business process orchestration engine system and its operation method pre-configure a component library. When the component library is built, the component library will store the component name and the process corresponding to the component name, so that the process search and processing speed is faster, and the process data bus is used as the data carrier channel for various types of data in the entire process execution process. When the process data bus is built, the output data and received data generated by each process in the demand process set will interact on the process data bus, which greatly improves the process operation rate and information interaction effect, and improves the efficiency of automatic orchestration of business processes.

[0038] At the same time, by introducing a third-party independent approval process, seamless integration of the approval process and the main business process is achieved. When the business process engine executes the third-party independent approval process, the data during this period is managed by the third-party system, ensuring the independence and security of the approval process. Once the approval process is completed and the output data is returned, the data will automatically enter the process data bus and maintain consistency with other data in the main business process. In this way, not only the interaction between the approval process and the main business process is simplified, but also the scalability and flexibility of the system are improved. Enterprises can adjust the rules and processes of the approval process at any time according to their own needs without making large-scale modifications to the entire business process.

[0039] Not only that, through the set approval threshold, when the output data reaches the process data bus, the output data will be checked. When the output data reaches the set approval threshold, on the basis of the original normal process, the third-party independent approval is connected through the standard interface, and the approval is carried out through the set approval process node subset, which has a higher degree of automation. After all processes in the approval process node subset are completed, the output data generated by the last approval process node subset will be returned to the process data bus to continue the subsequent process. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the overall process structure of the present invention;

[0041] Figure 2 It is a schematic diagram of the process data bus data interaction process structure of the present invention;

[0042] Figure 3 A schematic diagram of the process structure is introduced for the third-party independent approval process of the present invention;

[0043] Figure 4 Formulate a structural schematic diagram for the process of the present invention;

[0044] Figure 5 It is a schematic diagram of the structure of the demand process set judgment process of the present invention;

[0045] Figure 6 It is a schematic diagram of the structure of the judgment method flow of the present invention. DETAILED DESCRIPTION

[0046] 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.

[0047] During the process, there will be an approval link to approve the process, which usually involves the participation of multiple parties, including the process initiator, approvers at all levels, and other stakeholders that may be involved. The process initiator is responsible for submitting the process request that needs to be approved, and the approvers at all levels review and authorize the process request step by step according to the preset approval process and rules, resulting in low efficiency in the automated orchestration of the process, which affects the work efficiency of the process. This technical solution introduces the concept of a third-party independent approval process to achieve seamless integration of the approval process with the main business process. When the business process engine executes the third-party independent approval process, the data during this period is managed by the third-party system, ensuring the independence and security of the approval process. Once the approval process is completed and the output data is returned, the data will automatically enter the process data bus and maintain consistency with other data of the main business process. In this way, not only is the interaction between the approval process and the main business process simplified, but the scalability and flexibility of the system are also improved. Enterprises can adjust the rules and processes of the approval process at any time according to their own needs without making large-scale modifications to the entire business process.

[0048] like Figure 1-Figure 6 As shown, the present invention provides a technical solution: a business process orchestration engine system based on BPMN2 and its operation method, including: a pre-creation module: building a component library for storing different component names and processes corresponding to the component names, which are initialized into executable component instances by the process engine during the process execution to execute calculation tasks; an acquisition module: acquiring user requests, searching for corresponding processes in the component library, and obtaining a required process set.

[0049] As a specific implementation method, when the component library is built, the component library will store the component name and the process corresponding to the component name. For example, for invoice reimbursement, the process is roughly as follows: submit an invoice reimbursement application, fill in the reimbursement amount, invoice information and other relevant content and submit it to the system, and then the system verifies the authenticity of the invoice, checks the reimbursement amount, etc. After the verification is completed, the invoice reimbursement application will be submitted to the approval personnel for approval. This type of information will be stored in the component library. When the acquisition module obtains the user request information, it searches for related processes in the component library according to different user requests.

[0050] Building module: Building a data flow data bus according to the connection method, which is used for data exchange and sharing of the demand process set; processing module: dividing the demand process set into a common process set, a business process set and an approval process set according to the judgment method, and obtaining the common process node set, the business process node set and the approval process node set respectively, adjusting the created decision table based on the adjustment method, and obtaining the output data of the common process node set, the business process node set and the approval process node set through the acquisition method to obtain the output data set.

[0051] As a specific implementation method, when building a process data bus, the output data and received data generated by each process in the demand process set will interact on the process data bus, greatly improving the process operation rate and information interaction effect. Different processes will generate different output data and received data. After the decision table is created, the content in the decision table can be adjusted according to the specific needs of the user.

[0052] Output module: Based on the output data set, the output data set is introduced into the decision table to output the decision to be executed; Introduction module: Introduce a third-party independent approval process, and perform approval operations based on the third-party independent approval process; The introduction method of the third-party independent approval process includes: S1: Process formulation, the user formulates the approval process according to his own needs and obtains the approval process node subset: S2: Threshold determination, establishes the approval threshold, and determines whether the output data set reaches the approval threshold. When the output data set reaches the approval threshold, it is connected to the third-party independent approval through the standard interface, and approval is performed based on the approval process node subset; S3: Data feedback, after completing the approval process of the approval process node subset, the output data of the approval system is returned to the process data bus, and the process engine will continue to orchestrate subsequent process nodes.

[0053] As a specific implementation method, when independent approval is required on the basis of the original process, a third-party independent approval process can be introduced through the introduction module for independent approval operations. The user first formulates the approval process according to his own needs, such as the approval person in charge, approval participants, etc., and obtains multiple approval process nodes, which are combined into an approval process node subset, and the approval threshold is set. For example, in the reimbursement process, when the reimbursement amount reaches the set approval threshold, on the basis of the original normal process, the third-party independent approval is accessed through the standard interface, and the approval is carried out through the set approval process node subset, which has a higher degree of automation. After all processes in the approval process node subset are approved, the output data generated by the last approval process node subset will be returned to the process data bus to continue the subsequent process.

[0054] The method for building a component library includes: N1: database selection, selecting the target database as the storage medium of the component library and creating the corresponding table structure; N2: process acquisition, obtaining the processes corresponding to different components based on big data, and obtaining the process information set; N3: data insertion, inserting the process information set into the corresponding database table; N4: database connection, setting the database connection in the application, connecting to the database through the connection parameters of the target database, and outputting executable component instances.

[0055] As a specific implementation method, the target database can be MySQL, which is a relational database management system that can be used to store and manage various types of data, including business process data. When MySQL is used as a component library for storing business processes, the steps are as follows: Design the database table structure. First, you need to design a database table structure suitable for storing business process data. According to business needs and process design, determine the data fields that need to be stored and the relationship between tables; create databases and tables. Create a database in MySQL to store business process data and create the corresponding table structure. You can use MySQL command line tools or visualization tools such as phpMyAdmin to create databases and tables; insert data. Insert business process-related data into the corresponding database table. You can use the I NSERT statement to insert data into the table; query and update data. You can use the SELECT statement to query the business process data in the database and update and modify the data as needed; database connection. Set the database connection in the application and connect to the database through MySQL connection parameters to read and write data.

[0056] The connection methods include: M1: define a unified data format, including data structure, fields and data exchange protocol, to ensure that different process nodes can perform data reading and writing operations according to unified specifications; M2: design a data reading and writing interface, design a unified data reading and writing interface for all process nodes, including a data input interface and a data output interface. Through the input interface and the data output interface, the process node can send data to the channel or receive data from the channel; M3: integrate the data reading and writing channel, integrate the designed data reading and writing interface and data transmission mechanism into the business process orchestration engine system, to ensure that all process nodes can perform data reading and writing operations through a unified channel.

[0057] like Figure 6 As shown, the judgment methods include: P1: process analysis, based on the demand process set, analyzing the information of each process in the demand process set to obtain a process subset, and extracting the characteristics of the process subset to obtain a subset feature set; P2: range division, dividing into multiple ranges, respectively set as ordinary process range, business process range and approval process range; P3: feature extraction, respectively extracting the range characteristics of the ordinary process range, business process range and approval process range, and obtaining the first feature set, the second feature set and the third feature set, the first feature set, the second feature set and the third feature set respectively correspond to the ordinary process set, the business process set and the approval process set; P4: feature comparison, comparing the subset feature set with the first feature set, the second feature set and the third feature set respectively, so as to divide the range characteristics of the subset feature set.

[0058] The analysis methods of the demand process set include: purpose analysis, analyzing the purpose information of each process in the demand process set, where the purpose information of the general process set, business process set and approval process set are all different. The general process refers to the routine operation process, the business process involves the business activities and decisions within the organization or across departments, and the approval process involves the operations that need to be approved or reviewed by the superior.

[0059] As a specific implementation method, ordinary processes usually refer to some daily operational processes, such as information transmission, file processing, notification issuance, etc. Such processes are usually simpler and do not have complex business rules and approval processes. They are usually a combination of a series of simple operating steps to complete specific tasks or goals; business processes usually involve business activities and decisions within an organization or across departments, and usually include a series of business rules, conditional judgments, data processing, etc. Such processes are usually related to the core business of the organization, such as sales processes, procurement processes, customer service processes, etc. Business processes usually involve multiple participants and multiple business activities, and need to follow certain business rules and process specifications; approval processes usually involve some operations that need to be approved or reviewed by superiors, such as leave approval, reimbursement approval, contract approval, etc. Such processes usually include application submission, approval process, decision-making of approving personnel, etc., and need to follow certain approval regulations and processes.

[0060] The creation method of the decision table includes: determining the decision purpose and decision result based on the demand process set, and determining the decision condition based on the different component names in the component library and the processes corresponding to the component names, determining the decision action according to the results of data exchange and sharing of the demand process set, and the input and output data sets are used to output the decision to be executed.

[0061] The adjustment method includes: based on user needs, filtering the processes in the demand process set to obtain a filtered subset, and adjusting the decision table according to the filtered subset.

[0062] It should be noted that since the decision table determines the next step of the process based on the output data of the general process node set, the business process node set and the approval process node set, the order and content of the decision table can be adjusted according to different needs. For example, some processes can be deleted, or some new processes can be added, such as some new approval processes. By adjusting the decision table, the start of the next process can be determined at the beginning of the process based on the different received data generated by the previous process received by the process data bus.

[0063] The acquisition method includes listener acquisition, which is based on the listener that monitors various system message events bound to the demand process set, and obtains the output data of the common process node set, business process node set and approval process node set, including message sending events, message receiving events and execution exception events.

[0064] 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 limited by the attached embodiments and their equivalents.

Claims

1. A business process orchestration engine system based on BPMN2, It is characterized in that include: Pre-creation module: Build a component library to store different component names and the processes corresponding to the component names. During the process execution, the process engine will initialize it into an executable component instance to perform computing tasks. Acquisition module: obtains user requests, searches for corresponding processes in the component library, and obtains the required process set; Building modules: Building a data process data bus based on the connection method to exchange and share data for the required process set; Processing module: divides the demand process set into a common process set, a business process set and an approval process set according to the judgment method, obtains a common process node set, a business process node set and an approval process node set based on the common process set, the business process set and the approval process set respectively, adjusts the created decision table based on the adjustment method, and obtains the output data of the common process node set, the business process node set and the approval process node set through the acquisition method to obtain the output data set; Output module: Based on the output data set, the output data set is introduced into the decision table to output the decision to be executed; Introduction module: introduce a third-party independent approval process and perform approval operations based on the third-party independent approval process; The method for introducing the third-party independent approval process includes: S1: Process formulation: Users formulate approval processes according to their own needs and obtain a subset of approval process nodes: S2: Threshold determination, setting approval thresholds, and judging whether the output data set reaches the approval threshold. When the output data set reaches the approval threshold, access to third-party independent approval through a standard interface, and approval is performed based on a subset of approval process nodes; S3: Data feedback. After completing the approval process of the approval process node subset, the output data of the approval system is returned to the process data bus, and the process engine will continue to orchestrate subsequent process nodes. The component library construction method includes: N1: Database selection: select the target database as the storage medium of the component library and create the corresponding table structure; N2: Process acquisition, based on big data, obtains the processes corresponding to different components and obtains the process information set; N3: Data insertion, inserting the process information set into the corresponding database table; N4: Database connection: Set up the database connection in the application, connect to the database through the connection parameters of the target database, and output an executable component instance; The connection methods include: M1: Define a unified data format, including data structure, fields, and data exchange protocols, to ensure that data reading and writing operations are performed according to unified specifications between different process nodes; M2: Design data read and write interfaces. Design a unified data read and write interface for all process nodes, including data input interface and data output interface. Through the input interface and data output interface, the process node sends data to the channel or receives data from the channel; M3: Integrate data read and write channels, integrate the designed data read and write interfaces and data transmission mechanisms into the business process orchestration engine system, and ensure that all process nodes perform data read and write operations through a unified channel; The determination method includes: P1: Process analysis: Based on the required process set, analyze the information of each process in the required process set to obtain a process subset, and extract the features of the process subset to obtain a subset feature set; P2: Scope division: divide into multiple scopes, set as general process scope, business process scope and approval process scope respectively; P3: Feature extraction, extracting the scope features of the common process scope, business process scope and approval process scope respectively, and obtaining the first feature set, the second feature set and the third feature set, which correspond to the common process set, the business process set and the approval process set respectively; P4: Feature comparison: compare the subset feature set with the first feature set, the second feature set and the third feature set respectively, so as to divide the range features of the subset feature set.

2. A business process orchestration engine system based on BPMN2 according to claim 1, Features: The analysis method of the demand process set includes: purpose analysis, analyzing the purpose information of each process in the demand process set, wherein the purpose information of the general process set, the business process set and the approval process set are all different; the general process refers to the daily operation process, the business process involves the business activities and decisions within the organization or across departments, and the approval process involves the operations that need to be approved or reviewed by the superior.

3. A business process orchestration engine system based on BPMN2 according to claim 1, Features: The method for creating the decision table includes: determining the decision purpose and decision result based on the demand process set, and determining the decision condition based on different component names in the component library and the processes corresponding to the component names, determining the decision action according to the result of data exchange and sharing of the demand process set, and the input and output data sets are used to output the decision to be executed.

4. A business process orchestration engine system based on BPMN2 according to claim 1, Features: The adjustment method includes: based on user needs, screening the processes in the demand process set to obtain a screening subset, and adjusting the decision table according to the screening subset.

5. A business process orchestration engine system based on BPMN2 according to claim 1, Features: The acquisition method includes listener acquisition, which is based on the listener bound to the demand process set and monitors various system message events to obtain the output data of the ordinary process node set, the business process node set and the approval process node set. The output data includes message sending events, message receiving events and execution exception events.

6. A method for operating a business process orchestration engine system based on BPMN2, Features: A business process orchestration engine system based on BPMN2 as described in any one of claims 1 to 5 is used, including installing the business process orchestration engine system based on BPMN2 in different carriers.

Citation Information

Patent Citations

  • Cloud network service dynamic loading system and method based on process engine

    CN117555613A

  • Business approval processing method, device and system

    CN110880100A

  • Process arrangement method and device, storage medium and electronic equipment

    CN111144837A

  • Business process online arrangement method, device and system and readable storage medium

    CN115061674A

  • Service approval method and device, storage medium and computer equipment

    CN116720835A