Dynamic business process processing method and device, storage medium and electronic equipment

By dynamically accessing the business rule base and link set, adaptive business process definitions are generated, which solves the problem that traditional technology is difficult to deal with complex business scenarios, and realizes dynamic scheduling and flexibility of business processes.

CN119005657APending Publication Date: 2024-11-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310581582.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Traditional business process processing solutions are difficult to provide dynamic business process definition and processing services in complex and uncertain business scenarios, and cannot adapt to changes in business processes and new scenarios.

Method used

By obtaining business data, accessing the business rule database and dynamic link set, dynamically generate business process definitions, and combining business links using the rule engine, dynamic orchestration engine and process engine to form adaptive business process examples.

Benefits of technology

It realizes dynamic scheduling and operation of business process definition, improves the flexibility and efficiency of business processing, supports standardized description and approval of complex scenarios, and expands the supportability of business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119005657A_ABST
    Figure CN119005657A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a dynamic business process processing method and device, a storage medium and electronic equipment, and the method can dynamically determine a plurality of target business links based on business data and preset business rules and business links. And the target business links are dynamically combined according to the respective priorities of the preset target business links, so that the business process definition adaptive to the business data is automatically formed, and the specific business process definition does not need to be manually preset in advance. According to the scheme, a brand-new dynamic workflow processing scheme can be provided for solving a complex and uncertain business process scene, and standardized description, treatment and approval efficiency improvement of the business process definition are achieved. In the business process processing process, business process definition, business process scheduling and follow-up can be dynamically and adaptively adjusted, the flexibility of business processing is improved, and supportable business scenes are expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a dynamic business process processing method, device, storage medium and electronic device. Background Art

[0002] In traditional business process processing solutions, it is necessary to pre-set complete business process definitions for various business scenarios. However, in some business scenarios, it may not be possible to perform complete business process definitions or the business processes may need to be changed. For these business scenarios, traditional business process processing solutions find it difficult to provide business process processing services. Summary of the invention

[0003] In order to automatically and dynamically obtain a complete business process definition that adapts to the business data based on the business data, thereby realizing dynamic business process processing, or in scenarios where the business process needs to be changed, being able to adapt to change requirements and dynamically change the business process, the embodiments of the present application provide a dynamic business process processing method, device, storage medium and electronic device.

[0004] On the one hand, an embodiment of the present application provides a dynamic business process processing method, the method comprising:

[0005] When the business data is acquired, access the business rule library to obtain at least one target business rule matching the business data;

[0006] Accessing a dynamic link set to determine a matching result corresponding to the at least one target business rule, the dynamic link set storing at least one business link and a corresponding relationship between each of the business links and the business rules in the business rule library;

[0007] When there is one target business link in the matching result, generating target business process definition information based on the target business link; or when there are at least two target business links in the matching result, generating target business process definition information based on priority information corresponding to each of the at least two target business links;

[0008] Dynamically generate a business process instance according to the target business process definition information;

[0009] In the business process instance, the business process is processed based on the business data.

[0010] On the other hand, an embodiment of the present application provides a dynamic business process processing device, the device comprising:

[0011] A business data dynamic processing module is used to access the business rule library to obtain at least one target business rule matching the business data when the business data is acquired; access the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library;

[0012] a definition information generating module, configured to generate target business process definition information based on the target business link when there is one target business link in the matching result; or to generate target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the matching result;

[0013] The instance interaction module is used to dynamically generate a business process instance according to the target business process definition information; in the business process instance, the business process is processed based on the business data.

[0014] On the other hand, an embodiment of the present application provides a dynamic business process processing system, the dynamic business process processing system comprising a business rule library, a dynamic link set, a rule engine, a process engine and a dynamic orchestration engine;

[0015] The rule engine is used to access the business rule library when the business data is acquired to obtain at least one target business rule that matches the business data; and access the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library;

[0016] The dynamic orchestration engine is used to generate target business process definition information based on the target business link when there is one target business link in the matching result; or to generate target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the matching result;

[0017] The process engine is used to dynamically generate a business process instance according to the target business process definition information; and, in the business process instance, process the business process based on the business data.

[0018] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the above-mentioned dynamic business process processing method.

[0019] On the other hand, an embodiment of the present application provides an electronic device, comprising at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the above-mentioned dynamic business process processing method by executing the instructions stored in the memory.

[0020] On the other hand, an embodiment of the present application provides a computer program product, including a computer program or instructions, which implement the above-mentioned dynamic business process processing method when executed by a processor.

[0021] The dynamic business process processing method, device, storage medium and electronic device provided in the present application can dynamically determine a number of target business links based on business data, preset business rules and business links, and dynamically combine each target business link according to the preset priority information of each target business link, so as to automatically form a specific business process definition adapted to the business data, and the specific business process definition does not need to be preset in advance manually, and the dynamic scheduling and operation of the process is realized according to the business process definition. This solution can provide a new dynamic workflow processing solution for solving complex and uncertain business process scenarios, realize the standardized description of business process definitions, and improve the governance and approval efficiency. In addition, during the business process processing process, the business process definition, business process scheduling and follow-up can also be dynamically adaptively adjusted, which significantly improves the flexibility of business processing and expands the supported business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 It is a schematic diagram of the architecture of the dynamic workflow engine provided in the embodiments of this specification;

[0024] Figure 2 This is a feasible implementation framework diagram of the dynamic business process processing method provided in the embodiments of this specification;

[0025] Figure 3 It is a flowchart of a dynamic business process processing method provided by an embodiment of the present application;

[0026] Figure 4 This is a schematic diagram of the business rule configuration interface provided by an embodiment of the present application;

[0027] Figure 5 It is a schematic diagram of the data structure used by the left-right tree mode storage method provided in an embodiment of the present application;

[0028] Figure 6 This is an example schematic diagram of using the left-right tree mode storage provided by an embodiment of the present application;

[0029] Figure 7 It is a schematic diagram of the business link configuration method provided in the embodiment of the present application;

[0030] Figure 8 This is a schematic diagram of the business link editing interface provided by the embodiment of the present application;

[0031] Fig. 9 is a schematic diagram of a dynamic arrangement result provided in an embodiment of the present application;

[0032] Fig.10 This is a result schematic diagram of a standard workflow description of a dynamic orchestration result conversion provided by an embodiment of the present application;

[0033] Fig.11 This is a workflow diagram of a dynamic business process processing system provided in an embodiment of the present application;

[0034] Fig.12 is a block diagram of a dynamic business process processing device provided in an embodiment of the present application;

[0035] Fig.13 is a block diagram of a dynamic business process processing system provided by an embodiment of the present application;

[0036] Fig.14 It is a schematic diagram of the hardware structure of a device provided in an embodiment of the present application for implementing the method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0039] In order to make the purpose, technical solution and advantages disclosed in the embodiments of the present application more clearly understood, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present application and are not used to limit the embodiments of the present application.

[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "multiple" means two or more. In order to facilitate the understanding of the above-mentioned technical solutions and the technical effects produced by the embodiments of the present application, the embodiments of the present application first explain the relevant professional terms:

[0041] Business Process Modeling Notation (BPMN) is a set of specifications, including how to combine graphics elements into a business process diagram. It is an industry standard for business process modeling maintained by the Object Management Group (OMG), providing a set of graphical notations for business processes. The main goal of BPMN is to provide some symbols that are easily understood by all business users, from business analysis to create process outlines to the implementation of these processes, and to the management of end users, bridging the gap from business process design to process development. BPMN defines a business process diagram, which is designed to create a graphical model of business process operations. A business process model refers to a network diagram composed of graphic objects, including activities and process controllers used to define the execution order of these activities. BPMN is one of the modeling language standards.

[0042] DSL is a tool whose core value lies in providing a means to more clearly communicate the intent of a part of a system. DSL is a computer programming language with limited expressiveness for a specific domain. DSL is a programming language, so it must have coherent expressive capabilities, whether it is a single expression or multiple expressions combined. DSL only supports the minimum set of features required for a specific domain. Using DSL cannot build a complete system, but on the contrary, it can solve problems in a certain aspect of the system.

[0043] Dynamic workflow engine: An engine that dynamically generates business process definitions and flow control through business rule calculations during business runtime, providing a new and more flexible workflow tool for business process processing. The dynamic workflow engine can be considered as the executor of the dynamic process processing solution provided by this application.

[0044] Cloud technology: refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing. It is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application, which can form a resource pool and be used on demand, flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark, and all need to be transmitted to the background system for logical processing. Different levels of data will be processed separately, and all kinds of industry data require strong system backing support, which can only be achieved through cloud computing.

[0045] In traditional business process processing solutions, if a complex business process needs to be implemented, an exhaustive method (or definition of different process branches) is usually used to cover all business scenarios, that is, a complete business process definition is pre-set for each business scenario. However, some business scenario branches may be too complex or even impossible to implement through exhaustive enumeration. For these business scenarios, traditional business process processing solutions are difficult to support. For example, almost all products on the market currently provide the aforementioned traditional business process processing solutions. The processing logic of these products for workflows is based on standard specifications. For example, the business process definition is pre-configured manually using the BPMN specification or other tool components. Users trigger the corresponding business process through business operations to realize the automated processing of business logic. This business process processing solution can be divided into three parts as a whole: defining business processes, initiating process instances, and following up on process instance status.

[0046] However, the definitions of these business processes all adopt an exhaustive definition method, and the business processes are relatively fixed. In the embodiments of the present application, the engine that implements this type of business process processing solution is called a static workflow engine. In a static workflow engine, once the business process definition is completed, all business processing logic is executed according to the defined specified process. When the specific process instance is running, the corresponding business links cannot be added dynamically. If the business flow processing logic needs to be changed, the business process can only be updated and upgraded through process version control; at the same time, for business scenarios that cannot provide clear business process definitions and scenarios where business processes cannot be drawn out through branch exhaustive enumeration, business process processing services cannot be provided. Therefore, the embodiments of the present application propose: It is necessary to provide a new dynamic workflow engine to solve the business scenarios of dynamic business process definition and dynamic addition of links at runtime, that is, to provide a dynamic business process processing solution.

[0047] In view of this, the embodiment of the present application provides a dynamic business process processing solution. The solution can dynamically determine a number of target business links based on business data, as well as preset business rules and business links, and dynamically combine each target business link according to the preset priority information of each target business link, so as to automatically form a specific business process definition adapted to the business data, and the specific business process definition does not need to be manually preset in advance, and then the dynamic scheduling and operation of the process is realized according to the business process definition. This solution can provide a new dynamic workflow processing solution for solving complex and uncertain business process scenarios, realize the standardized description of business process definitions, governance and approval efficiency, and can also dynamically adjust the business process definition, business process scheduling and follow-up during the business process processing process, significantly improve the flexibility of business processing, and expand the supported business scenarios.

[0048] Specifically, the business process processing method can be implemented by a dynamic workflow engine. Of course, the workflow engine can also be regarded as a dynamic business process processing system. Figure 1 , which shows a schematic diagram of the architecture of a dynamic workflow engine. The dynamic workflow engine includes two libraries and three engines. The so-called two libraries refer to the business data center and business rule library for storing business data and business rules respectively, and the three engines refer to the rule engine, dynamic orchestration engine and process engine respectively. The description of the above two libraries and three engines is as follows:

[0049] Business data center: stores business data.

[0050] Business rule library: used to store the association definition between approval links (business links) and business rules. The approval link can be understood as the above-mentioned business link.

[0051] Rule engine: a front-end tool used to describe the visible definition between business processing logic and approval links, and finally outputs several approval links, which can be expressed by corresponding logical expressions or DSL script fragments, and the dynamic orchestration engine further orchestrates the final output of the rule engine to obtain the business process definition. The rule engine specifically completes the matching output of the approval link by interacting with the business rule library and the dynamic link set, where the dynamic link set includes the relevant definitions of each preset approval link. Optionally, the dynamic link set can also support the editing and management of the approval link.

[0052] Dynamic orchestration engine: When it receives a request to initiate a dynamic business process, it combines with the rule engine to obtain the approval links that need to be executed in the current business scenario. At the same time, it combines the priority information defined in each approval link to dynamically generate a complete business process definition.

[0053] Process Engine: Stores and executes the business process definitions output by the dynamic orchestration engine, provides full lifecycle management of business process instances, and supports regular process approval operations such as submission, transfer, and rejection.

[0054] The embodiment of the present application provides an architecture of a dynamic workflow engine including two libraries and three engines, which can fully decouple the data and logical links involved in the working process of the dynamic workflow engine, reduce the degree of coupling of the dynamic workflow engine, and improve the robustness and scalability of the dynamic workflow engine. The dynamic workflow engine can rely on the rule engine to calculate the predefined approval links that need to be dynamically combined based on business data and business rules, and then dynamically combine the pre-set approval links according to priority information through the dynamic orchestration engine, and finally form a specific business process definition, which is then handed over to the process engine to realize the dynamic scheduling and operation of the instantiation results of the business process definition. The dynamic workflow engine can be applied to the following business scenarios that the aforementioned traditional static workflow engine cannot support:

[0055] (1) Dynamic business process definition

[0056] According to the pre-defined business rules and the corresponding business data, the qualified approval links are dynamically calculated, and multiple approval links are dynamically combined to generate a business process definition. By instantiating the business process definition, the instantiation result can be subsequently dynamically scheduled.

[0057] (2) Dynamically add approval nodes

[0058] For business processes that are being executed, if they are not rejected, predefined additional rules can be used in combination with business instances to dynamically calculate and modify certain business attributes to quickly meet business change requirements.

[0059] The method provided in the embodiment of the present application may involve a blockchain, that is, the method provided in the embodiment of the present application may be implemented based on a blockchain, or the data involved in the method provided in the embodiment of the present application may be stored based on a blockchain, or the execution object of the method provided in the embodiment of the present application may be located in a blockchain. Blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods, each of which contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain may include a blockchain underlying platform, a platform product service layer, and an application service layer.

[0060] The embodiments of the present application can be applied to public cloud, private cloud or hybrid cloud scenarios. Figure 2 , Figure 2 This is a feasible implementation framework diagram of the dynamic business process processing method provided in the embodiment of this specification, such as Figure 2 As shown, the implementation framework may include at least a mobile terminal 10 and a server 20. The mobile terminal 10 and the server 20 communicate via a network 30. The server 20 may refer to various components mentioned in the embodiments of the present application. One or all of the various components may be cloud devices, such as a cloud-based business rule library, a dynamic link set, a rule engine, a process engine, and a dynamic orchestration engine. Each of these components may be selectively set in a public cloud, a private cloud, or a hybrid cloud. The implementation framework may also be considered as a dynamic business process processing system or a dynamic workflow engine. The dynamic business process processing system is used to provide dynamic business process processing services. The server 20 is a node in the dynamic business process processing system in the cloud environment, and the node is any node in the cloud environment.

[0061] The mobile terminal 10 may obtain business data by interacting with a user, or by interacting with a business data center, generate a business process initiation request according to the business data, and send the business process initiation request to the server 20 .

[0062] When the server 20 obtains the business data, it accesses the business rule library to obtain at least one target business rule that matches the business data; it accesses the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library; when there is a target business link in the matching result, it generates target business process definition information based on the target business link; or when there are at least two target business links in the matching result, it generates target business process definition information based on the priority information corresponding to the at least two target business links; according to the target business process definition information, it dynamically generates a business process instance; and in the business process instance, it processes the business process based on the business data.

[0063] Specifically, the server 20 controls the flow of the business process in the business process instance through interaction with the mobile terminal 10 .

[0064] The above framework of the embodiment of the present invention can provide dynamic business process processing capabilities required by applications in various scenarios, including but not limited to cloud technology, cloud games, cloud rendering, artificial intelligence, smart transportation, assisted driving, video media, smart communities, instant messaging, etc. Each component in the framework can be a terminal device or a server. Terminal devices include but are not limited to mobile phones, computers, intelligent voice switching devices, smart home appliances, vehicle-mounted terminals, etc.

[0065] The following describes a dynamic business process processing method according to an embodiment of the present application. Figure 3 A schematic diagram of a dynamic business process processing method provided in an embodiment of the present application is shown. The execution subject of the method is the dynamic business process processing system. In some embodiments, the dynamic business process processing system can be as follows: Figure 1 As shown. The embodiments of the present application provide method operation steps as described in the embodiments or flowcharts, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual system, terminal device or server product is executed, it can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the method shown in the embodiments or drawings. The above method may include:

[0066] S301. When the business data is acquired, access the business rule library to obtain at least one target business rule matching the business data.

[0067] The specific content of business data and business rules can be set according to actual needs, and the embodiments of the present application do not limit this. For example, in scenarios such as employee onboarding, employee resignation, and employee attendance, business data and business rules can use different fields according to specific scenarios, and give specific meanings and specific information to the different fields, thereby forming business data and business rules. The business rules in the embodiments of the present application can all be stored in the business rule library.

[0068] The business rule library can be pre-configured, and the business rules in the above business rule library are defined in at least one of the following ways: expression, decision set, decision table; wherein the above expression is used to represent the business rules through logical expressions combined with binary results; the above decision set is used to represent the business rules through condition sets; the above decision table is used to represent the business rules through condition items combined with forms.

[0069] In one embodiment, the configuration of the business rule library can be implemented by the rule engine, which can perform operations such as business rule definition, business rule storage, and business rule editing on the business rule library. Expressions are mainly used to describe logical expressions, and there are only two return results, true or false. The former indicates that the business rule is matched, and the latter indicates that the business rule is not matched. Please refer to Figure 4 , which shows a schematic diagram of the business rule configuration interface. Figure 4(1) is a schematic diagram of the expression configuration method. Any field of the logical expression can be configured, such as the bill of lading person ID or the bill of lading person organization ID, and the relevant logical values ​​of the configured fields are described. If these logical values ​​are matched, the business rules are matched.

[0070] Decision sets are suitable for situations where business rules are simple and variable dimensions are few. They are suitable for developers to define and write rules. Please refer to Figure 4 (2) shows a schematic diagram of the decision set configuration method. Several conditions can be configured, and the relationship between the conditions can be set, such as whether they are mutually exclusive. Any field of the conditional expression can be configured arbitrarily, such as background check items or contract templates. The matching of business rules can be judged based on whether the conditions are met.

[0071] Decision tables are suitable for situations where business rules are complex and there are many business scenarios. They are a capability expansion and supplement of decision sets. They are similar to the model of two-dimensional tables and are easier for non-development business personnel to understand and maintain. Please refer to Figure 4 (3) shows a schematic diagram of the decision set configuration method, which can be used to configure specific rules in the decision table, including configuring conditions, skipping conditions, adding condition rows, deleting condition columns, deleting condition rows, etc. Based on the condition rows and condition columns, specific condition items can be determined. The condition rows can be used to edit several condition fields, and the condition columns can be used to edit the values ​​corresponding to the condition fields.

[0072] The embodiments of the present application do not limit the storage method of business rules. In one embodiment, the above business rules can be stored through the left and right tree mode, where the left tree is used to describe the rule conditions, and the right tree is used to describe the trigger results after the above rule conditions are met. The left and right tree mode storage is different from the storage method in the traditional process processing solution. The user cost is relatively low, and the extensibility of the scripting language is better, such as supporting the seamless embedding of groovy scripts. Groovy is an agile development language based on the Java virtual machine. It can be well integrated with Java code and can also be used to expand existing code. Due to its ability to run on the Java virtual machine, Groovy can also use libraries written in other non-Java languages. Java is an object-oriented programming language with two characteristics: powerful functions and simple and easy to use.

[0073] Please refer to Figure 5 , which shows a schematic diagram of the data structure used by the left-right tree mode storage method of the embodiment of the present application. The schematic diagram reflects the relationship between the relevant entities, and the left-right tree mode storage can be implemented based on the schematic diagram.

[0074] Please refer to Table 1, which shows the content of the RuleInfo data structure, which is used to store rule definitions and related basic information.

[0075] Table 1

[0076]

[0077] Element represents the smallest atomic variable or constant in the expression of the business rule, such as the expression a>b, then Element includes: a and b. Please refer to Table 2, which shows the content of the Element data structure, which is used to store various information in Element.

[0078] Table 2

[0079]

[0080] Module represents the expression module of the business rule, such as a>b represents an expression. Please refer to Table 3, which shows the content of the Module data structure, which is used to store various information in the Module.

[0081] Table 3

[0082]

[0083] LHS represents the left subtree of the business rule, and is used to store multiple expressions (Expression) to define Modules. Please refer to Table 4, which shows the content of the LHS data structure, which is used to store various information in the LHS.

[0084] Table 4

[0085]

[0086] RHS represents the right subtree of the business rule, and is used to store corresponding operations, such as assignment, execution function, return value, etc. For example, {if a>b, then employee type = 1}, "employee type = 1" represents an assignment operation. Please refer to Table 5, which shows the content of the RHS data structure, which is used to store various information in the RHS.

[0087] Table 5

[0088] Field Name Field Description Actions Action Collection

[0089] Action represents the execution operation table of business rules. Please refer to Table 6, which shows the content of the Action data structure, which is used to store various information in the Action.

[0090] Table 6

[0091]

[0092]

[0093] Please refer to Figure 6 , which shows an example schematic diagram of using the left-right tree mode for storage. The storage result of the left-right tree mode can represent the expression: Staff.Nationality = "China" and (Stafff.WorkYear = 10 and Staff.Worklocation = "Beijing").

[0094] S302. Access a dynamic link set to determine a matching result corresponding to the at least one target business rule. The dynamic link set stores at least one business link and a corresponding relationship between each business link and a business rule in the business rule library.

[0095] The specific content of the business link can be set according to actual needs, and the embodiments of the present application do not limit this. The business links in the embodiments of the present application can all be stored in a dynamic link set. The dynamic link set can be pre-configured, and the business links in the above dynamic link set include at least one of the following attributes: business link identification, business rule definition information corresponding to the business link, priority information of the business link, approval role definition information of the business link, business link approval mode information, and entry condition information of the business link. Among them, the above business rule definition information is used to describe the business rules that the business data needs to hit when the business link is matched.

[0096] The above-mentioned approval mode information is used to indicate the approval mode corresponding to the above-mentioned business link, and the above-mentioned approval mode includes at least one of the following: co-signing within the link, sequential signing, or signing, and any signing. In the case of co-signing within the link, all approvers must agree before the process will flow to the next link. In the case of or signing, after any approval to-do agrees, the remaining unapproved to-do will be deleted, and the process will flow to the next link after completion. In the case of any signing, after any approval to-do is completed, whether it is agreed or not, the remaining unapproved to-do will be deleted, and the process will flow to the next link after completion. In the case of sequential signing, the approvers are in order, and the approval is completed in order before the process will flow to the next link.

[0097] The above-mentioned priority information is used to indicate the order of the above-mentioned business links in the process of business process processing. For example, alphabetical order is used, and the earlier the order, the higher the priority, such as a>b; the numerical priority is greater than the alphabetical priority, such as 1>a, and the process sequence with a higher priority precedes the process sequence with a lower priority. The entry condition information of the above-mentioned business link can be used to indicate that when no conditional rules are set, it will enter directly by default; when conditional rules are set, it will be converted to a conditional branch; by configuring the entry condition information of the business link, complex process definitions such as parallel process branches and conditional branches can be implemented.

[0098] Please refer to Figure 7 , which shows a schematic diagram of the business link configuration method. In the business link configuration stage, users can configure at least one of the link name, link code, business rule definition, priority, approval role and entry condition involved in the business link in the visual interface. Please refer to Figure 8 , which shows a schematic diagram of a business link editing interface. In this editing interface, users can edit each business link in the dynamic link set, and can also view the brief information of each business link.

[0099] S303. In the case where there is one target business link in the above matching results, the target business process definition information is generated based on the above target business link; or in the case where there are at least two target business links in the above matching results, the target business process definition information is generated based on the priority information corresponding to each of the at least two target business links.

[0100] Step S303 can be understood as a process of dynamically arranging the target business links, and the basis of dynamic arrangement is the priority information of each target business link. The dynamic arrangement can be implemented by a dynamic arrangement engine, which is mainly used to reassemble the target business processing links according to certain rules to form a complete business processing flow, that is, to obtain the target business process definition information. This assembly process supports multiple business process forms such as sequential flow, parallel flow, conditional branching, etc., and provides conversion between BPMN standard workflow models.

[0101] Please refer to Table 7, which shows the business link matching in an example. The business rule column corresponds to the identification of the business rule, where the definition of the business rule can refer to the above rule set and decision table. The rule engine can output an executable script for business link matching, and after execution, it will return the result of whether a certain business link matches the business data. For example, the "Email Duplicate Verification" link in Table 7 does not need to be executed, but the remaining links need to be executed.

[0102] Table 7

[0103]

[0104]

[0105] The dynamic orchestration engine dynamically arranges the business links in Table 7 based on priority. The process after link reorganization based on priority is as follows: Fig. 9 As shown, it shows a schematic diagram of the dynamic arrangement result. The dynamic arrangement process can be sorted by the ASCII code size of the characters based on priority, and of course it can be further expanded into other sorting modes. ASCII (American Standard Code for Information Interchange) is the American Standard Code for Information Interchange, a computer coding system based on the Latin alphabet, mainly used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard. ASCII was first published as a standard in 1967 and the last update was in 1986. So far, a total of 128 characters have been defined. Please refer to Fig.10 , which shows a schematic diagram of the result of dynamically choreographing the result conversion standard workflow description, that is, Fig. 9 The target business process definition information shown is converted into a description result of a BPMN standard workflow description method.

[0106] S304. Dynamically generate a business process instance according to the above target business process definition information.

[0107] A business process instance can be understood as an actual object that is generated according to the target business process definition information and specifically executes a process processing procedure. It is the instantiation result of the target business process definition information. The business process instance can be the result dynamically generated by the process engine based on the target business process definition information output by the dynamic orchestration engine.

[0108] In one embodiment, before accessing the business rule library to obtain at least one target business rule matching the business data, the method includes: extracting the business data in the business process initiation request upon receiving the business process initiation request. Accordingly, dynamically generating a business process instance according to the target business process definition information includes: generating a business process instance corresponding to the business process initiation request according to the target business process definition information, and returning the instance data corresponding to the business process instance to the sender of the business process initiation request.

[0109] S305. In the above business process instance, the business process is processed based on the above business data.

[0110] The processing of a business process is the process by which each business link in the business process is approved and circulated according to the constraints defined by the target business process. This process depends on the interaction with the sender of the business process request to be initiated. This is not limited in the embodiments of the present application. In the process of interacting with the sender of the business process request, the process of processing the business process based on the business data is not significantly different from the traditional static business process processing solution.

[0111] In one embodiment, the above method is applied to a dynamic business process processing system, and the above dynamic business process processing system includes the above business rule library and the above dynamic link set, and also includes a rule engine, a process engine and a dynamic orchestration engine. Specifically, the above accessing the business rule library to obtain at least one target business rule that matches the above business data when the business data is acquired includes: the above rule engine accessing the business rule library to obtain at least one target business rule that matches the above business data when the business data is acquired. The above accessing the dynamic link set to determine the matching result corresponding to the above at least one target business rule includes: the above rule engine accessing the dynamic link set to determine the matching result corresponding to the above at least one target business rule;

[0112] The above method also includes: the above rule engine transmits the above matching result to the above dynamic orchestration engine, triggering the above dynamic orchestration engine to generate target business process definition information based on the target business link when there is one target business link in the above matching result; or generating target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the above matching result; the above dynamic orchestration engine stores the above target business process definition information in the above process engine, triggering the above process engine to dynamically generate a business process instance according to the above target business process definition information; and, in the above business process instance, processing the business process based on the above business data.

[0113] Please refer to Fig.11 , which shows a workflow diagram of a dynamic business process processing system. Based on the dynamic business process processing system, or in the embodiment of the present application, it can also be called a dynamic workflow engine, the following operations can be performed:

[0114] Step 1: The demander of the business process processing service calls the open service interface of the dynamic workflow engine, sends a business process initiation request, and attaches the corresponding business data in the request.

[0115] Step 2: After receiving the request, the dynamic workflow engine first calculates and outputs a set of matching business links through the rule engine.

[0116] Step 3: The dynamic orchestration engine reassembles and assembles the corresponding target business process definition information based on the priority of each business link.

[0117] Step 4: Store the target business process definition information generated by the dynamic orchestration engine into the process engine, and initiate the business process instance corresponding to the request.

[0118] Step 5: Return the successfully initiated process instance data to the demander of the business process processing service.

[0119] Step 6: The demander of the business process processing service receives the process instance data and stores the corresponding processor's to-do list, initiating instance interaction until the business process is completed.

[0120] Taking the employee account activation process as an example, assuming that the business links include: OA account verification, blacklist verification, re-entry verification, email duplicate verification, appointment entry, and account activation, the business rules and priorities are simply defined as follows (the priority is sorted by character size, the smaller the character, the higher the priority):

[0121]

[0122] The onboarding system (the demander of business process processing services) initiates a business process initiation request to the dynamic workflow engine, carrying business data. The business data includes the following request parameters: the employee type is a formal employee, the contract subject is the group, and it is an employee document that has resigned and returned. At this time, the business links that are hit include: OA account verification, blacklist verification, re-entry verification, appointment entry, and account activation. After the dynamic workflow engine dynamically arranges the five business links through priority sorting, the final definition of this employee's onboarding process is as follows: Fig. 9 As shown, according to the Fig. 9 The defined logic execution flow completes the entire onboarding process.

[0123] During the business flow, the above-mentioned business data is in a read-only state during the processing of the above-mentioned business process. The above-mentioned method also includes: when the above-mentioned rule engine obtains additional business data, at least one additional business link is determined according to the above-mentioned additional business data; the above-mentioned dynamic orchestration engine updates the above-mentioned target business process definition information according to the above-mentioned at least one additional business link, and transmits the update result to the above-mentioned process engine; when the priority of the above-mentioned at least one additional business link is lower than the priority of the business link being executed in the above-mentioned business process instance, the above-mentioned process engine dynamically adds the above-mentioned at least one additional business link to the above-mentioned business process instance; when the priority of any of the above-mentioned additional business links is higher than the priority of the business link being executed in the above-mentioned business process instance, the above-mentioned process engine terminates the business process instance being executed, and regenerates the business process instance based on the updated target business process definition information.

[0124] The determination logic of adding business links is the same as the logic of matching business links in the previous text, and the process of determining the updated target business process definition information is also based on the same inventive concept as the process of determining the target business process definition information in the previous text. During the process execution, business data is read-only and cannot be modified during the circulation process, and new fields can be added during the circulation process; if new business links need to be added, new fields can be added, the dynamic orchestration engine can be re-executed, and a new process definition can be generated by matching calculations, based on which the target business process definition information is updated. If the dynamically added business link has a lower priority than the currently executed business link, dynamic addition can be directly implemented, otherwise the original process instance must be terminated first, and then a new process must be re-initiated.

[0125] The dynamic business process processing method provided in the present application can dynamically determine a number of target business links based on business data, as well as preset business rules and business links, and dynamically combine each target business link according to the preset priority information of each target business link, thereby automatically forming a specific business process definition that is adapted to the business data. The specific business process definition does not need to be manually preset in advance, and the dynamic scheduling and operation of the process is realized according to the business process definition. This solution can provide a new dynamic workflow processing solution for solving complex and uncertain business process scenarios, realize the standardized description of business process definitions, and improve the efficiency of governance and approval. In addition, during the business process processing process, the business process definition, business process scheduling and follow-up can also be dynamically adaptively adjusted, which significantly improves the flexibility of business processing and expands the supported business scenarios.

[0126] Please refer to Fig.12 , which shows a block diagram of a dynamic business process processing device according to an embodiment of the present application, the device comprising:

[0127] The business data dynamic processing module 1201 is used to access the business rule library to obtain at least one target business rule matching the business data when the business data is obtained; access the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library;

[0128] The definition information generating module 1202 is used to generate the target business process definition information based on the target business link when there is one target business link in the matching result; or to generate the target business process definition information based on the priority information corresponding to each of the at least two target business links when there are at least two target business links in the matching result;

[0129] The instance interaction module 1203 is used to dynamically generate a business process instance according to the target business process definition information; in the business process instance, the business process is processed based on the business data.

[0130] In one embodiment, the business data dynamic processing module 1201 is used to perform the following operations: extracting the business data in the business process initiation request when receiving the business process initiation request;

[0131] The above-mentioned instance interaction module 1203 is used to perform the following operations: generate a business process instance corresponding to the above-mentioned business process initiation request according to the above-mentioned target business process definition information, and return the instance data corresponding to the above-mentioned business process instance to the sender of the above-mentioned business process initiation request; in the interaction process with the sender of the above-mentioned business process initiation request, process the business process based on the above-mentioned business data.

[0132] In one embodiment, the business data dynamic processing module 1201 is used to perform the following operations: configure the dynamic link set, where the business link in the dynamic link set includes at least one of the following attributes: business link identifier, business rule definition information corresponding to the business link, priority information of the business link, approval role definition information of the business link, business link approval mode information, and entry condition information of the business link;

[0133] The business rule definition information is used to describe the business rules that the business data needs to match when the business link is matched;

[0134] The approval mode information is used to indicate the approval mode corresponding to the business link. The approval mode includes at least one of the following: joint signing within the link, sequential signing, or signing, or any signing;

[0135] The above priority information is used to indicate the order of the above business links in the business process processing.

[0136] In one embodiment, the business data dynamic processing module 1201 is used to perform the following operations: configure the business rule library, where the business rules in the business rule library are defined in at least one of the following ways: expression, decision set, decision table;

[0137] The above expression is used to represent business rules through logical expressions combined with binarization results;

[0138] The above decision set is used to represent business rules by means of condition sets;

[0139] The above decision table is used to represent business rules by combining condition items with forms.

[0140] In one embodiment, the above device is applied to a dynamic business process processing system, which includes the above business rule library and the above dynamic link set, and also includes a rule engine, a process engine and a dynamic orchestration engine.

[0141] The rule engine is used to access the business rule library when the business data is acquired to obtain at least one target business rule matching the business data;

[0142] The rule engine is further used to access the dynamic link set to determine a matching result corresponding to the at least one target business rule;

[0143] The rule engine is further configured to transmit the matching result to the dynamic orchestration engine, triggering the dynamic orchestration engine to generate target business process definition information based on the target business link when there is one target business link in the matching result; or to generate target business process definition information based on the priority information corresponding to the at least two target business links when there are at least two target business links in the matching result; the dynamic orchestration engine is configured to store the target business process definition information in the process engine, triggering the process engine to dynamically generate a business process instance according to the target business process definition information; and, in the business process instance, processing the business process based on the business data.

[0144] In one embodiment, the business rules are stored in a left-right tree mode, where the left tree is used to describe the rule conditions, and the right tree is used to describe the triggering results after the rule conditions are met.

[0145] In one embodiment, the business data is in a read-only state during the processing of the business process. The instance interaction module 1203 is further used to determine at least one additional business link according to the additional business data when the rule engine obtains the additional business data; the dynamic orchestration engine updates the target business process definition information according to the at least one additional business link, and transmits the update result to the process engine; when the priority of the at least one additional business link is lower than the priority of the business link being executed in the business process instance, the process engine dynamically adds the at least one additional business link to the business process instance;

[0146] When the priority of any of the additional business links is higher than the priority of the business link being executed in the business process instance, the process engine terminates the executing business process instance and regenerates the business process instance based on the updated target business process definition information.

[0147] The device embodiment and method embodiment provided in the embodiments of the present application are based on the same inventive concept. For details, please refer to the method embodiment, which will not be described in detail here.

[0148] Please refer to Fig.13 , which shows a block diagram of a dynamic business process processing system according to an embodiment of the present application, the system includes a business rule library 1301, a dynamic link set 1302, a rule engine 1303, a process engine 1304 and a dynamic orchestration engine 1305;

[0149] The rule engine 1303 is used to access the business rule library 1301 to obtain at least one target business rule matching the business data when the business data is obtained; and to access the dynamic link set 1302 to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set 1302 stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library 1301;

[0150] The dynamic orchestration engine 1305 is used to generate target business process definition information based on the target business link when there is one target business link in the matching result; or to generate target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the matching result;

[0151] The process engine 1304 is used to dynamically generate a business process instance according to the target business process definition information; and, in the business process instance, process the business process based on the business data.

[0152] The system embodiment and method embodiment provided in the embodiments of the present application are based on the same inventive concept. For details, please refer to the method embodiment, which will not be described in detail here.

[0153] Further, Fig.14 A schematic diagram of the hardware structure of a device for implementing the method provided in the embodiment of the present application is shown. The above device may participate in constituting or include the apparatus or system provided in the embodiment of the present application. Fig.14 As shown, the device 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.14 The structure shown is for illustration only and does not limit the structure of the electronic device. Fig.14 More or fewer components as shown, or with Fig.14 Different configurations are shown.

[0154] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the device 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0155] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the above-mentioned method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned dynamic business process processing method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the device 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0156] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the device 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0157] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with an interface of the device 10 (or mobile device).

[0158] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of the embodiments of the present application are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0159] Each embodiment in the embodiments of the present application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and server embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0160] Those skilled in the art will appreciate that all or part of the steps of the above embodiments can be accomplished by hardware, or by programs to instruct related hardware, and the above programs can be stored in a computer-readable storage medium to implement all or part of the steps of the above methods. In one embodiment, the computer-readable storage medium is used to implement the following solutions:

[0161] A dynamic business process processing method, the method comprising:

[0162] When the business data is obtained, access the business rule library to obtain at least one target business rule matching the business data;

[0163] Accessing a dynamic link set to determine a matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and a corresponding relationship between each of the business links and the business rules in the business rule library;

[0164] In the case where there is one target business link in the above matching results, target business process definition information is generated based on the target business link; or in the case where there are at least two target business links in the above matching results, target business process definition information is generated based on priority information corresponding to each of the at least two target business links;

[0165] Dynamically generate a business process instance according to the target business process definition information;

[0166] In the above business process instance, the business process is processed based on the above business data.

[0167] In one embodiment, before accessing the business rule library to obtain at least one target business rule matching the business data, upon obtaining the business data, the method includes: extracting the business data in the business process initiation request upon receiving the business process initiation request;

[0168] The dynamically generating a business process instance according to the target business process definition information includes: generating a business process instance corresponding to the business process initiation request according to the target business process definition information, and returning instance data corresponding to the business process instance to the sender of the business process initiation request;

[0169] In the above business process instance, processing the business process based on the above business data includes: processing the business process based on the above business data during the interaction with the sender of the business process initiation request.

[0170] In one embodiment, the method further includes: configuring the dynamic link set, wherein the business link in the dynamic link set includes at least one of the following attributes: business link identifier, business rule definition information corresponding to the business link, priority information of the business link, approval role definition information of the business link, business link approval mode information, and entry condition information of the business link;

[0171] The business rule definition information is used to describe the business rules that the business data needs to match when the business link is matched;

[0172] The approval mode information is used to indicate the approval mode corresponding to the business link. The approval mode includes at least one of the following: joint signing within the link, sequential signing, or signing, or any signing;

[0173] The above priority information is used to indicate the order of the above business links in the business process processing.

[0174] In one embodiment, the method further includes: configuring the business rule library, wherein the business rules in the business rule library are defined in at least one of the following ways: expression, decision set, decision table;

[0175] The above expression is used to represent business rules through logical expressions combined with binarization results;

[0176] The above decision set is used to represent business rules by means of condition sets;

[0177] The above decision table is used to represent business rules by combining condition items with forms.

[0178] In one embodiment, the method is applied to a dynamic business process processing system, which includes the business rule library and the dynamic link set, and also includes a rule engine, a process engine and a dynamic orchestration engine.

[0179] The step of accessing the business rule library to obtain at least one target business rule matching the business data upon obtaining the business data comprises: the rule engine accessing the business rule library to obtain at least one target business rule matching the business data upon obtaining the business data;

[0180] The accessing of the dynamic link set to determine the matching result corresponding to the at least one target business rule comprises: the rule engine accessing the dynamic link set to determine the matching result corresponding to the at least one target business rule;

[0181] The above method also includes: the above rule engine transmits the above matching result to the above dynamic orchestration engine, triggering the above dynamic orchestration engine to generate target business process definition information based on the target business link when there is one target business link in the above matching result; or generating target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the above matching result; the above dynamic orchestration engine stores the above target business process definition information in the above process engine, triggering the above process engine to dynamically generate a business process instance according to the above target business process definition information; and, in the above business process instance, processing the business process based on the above business data.

[0182] In one embodiment, the business rules are stored in a left-right tree mode, where the left tree is used to describe the rule conditions, and the right tree is used to describe the triggering results after the rule conditions are met.

[0183] In one embodiment, the business data is in a read-only state during the processing of the business process, and the method further includes:

[0184] In the case where the rule engine obtains the additional business data, determining at least one additional business link according to the additional business data;

[0185] The dynamic orchestration engine updates the target business process definition information according to the at least one additional business link, and transmits the update result to the process engine;

[0186] In the case where the priority of the at least one additional business link is lower than the priority of the business link being executed in the business process instance, the process engine dynamically adds the at least one additional business link to the business process instance;

[0187] When the priority of any of the additional business links is higher than the priority of the business link being executed in the business process instance, the process engine terminates the executing business process instance and regenerates the business process instance based on the updated target business process definition information.

[0188] The above are only preferred embodiments of the embodiments of the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A dynamic business process processing method, It is characterized in that The method comprises: When the business data is acquired, access the business rule library to obtain at least one target business rule matching the business data; Accessing a dynamic link set to determine a matching result corresponding to the at least one target business rule, the dynamic link set storing at least one business link and a corresponding relationship between each of the business links and the business rules in the business rule library; When there is one target business link in the matching result, generating target business process definition information based on the target business link; or when there are at least two target business links in the matching result, generating target business process definition information based on priority information corresponding to each of the at least two target business links; Dynamically generate a business process instance according to the target business process definition information; In the business process instance, the business process is processed based on the business data.

2. The method according to claim 1, It is characterized in that Before the business data is acquired and the business rule library is accessed to obtain at least one target business rule matching the business data, the method includes: extracting the business data in the business process initiation request when a business process initiation request is received; The dynamically generating a business process instance according to the target business process definition information includes: generating a business process instance corresponding to the business process initiation request according to the target business process definition information, and returning instance data corresponding to the business process instance to the sender of the business process initiation request; Processing the business process based on the business data in the business process instance includes: processing the business process based on the business data during an interaction with a sender of a request to initiate the business process.

3. The method according to claim 1 or 2, It is characterized in that The method further includes: configuring the dynamic link set, wherein the business link in the dynamic link set includes at least one of the following attributes: business link identification, business rule definition information corresponding to the business link, priority information of the business link, approval role definition information of the business link, business link approval mode information, and entry condition information of the business link; The business rule definition information is used to describe the business rules that the business data needs to match when the business link is matched; The approval mode information is used to indicate the approval mode corresponding to the business link, and the approval mode includes at least one of the following: joint signing within the link, sequential signing, or signing, or any signing; The priority information is used to indicate the order of the business links in the business process processing.

4. The method according to claim 1 or 2, It is characterized in that The method further comprises: configuring the business rule library, wherein the business rules in the business rule library are defined by at least one of the following methods: an expression, a decision set, or a decision table; The expression is used to represent the business rule by combining the binary result with the logical expression; The decision set is used to represent business rules in the form of a condition set; The decision table is used to represent business rules by combining condition items with a form.

5. The method according to claim 1 or 2, It is characterized in that The method is applied to a dynamic business process processing system, which includes the business rule library and the dynamic link set, and also includes a rule engine, a process engine and a dynamic orchestration engine. The step of accessing a business rule library to obtain at least one target business rule matching the business data upon obtaining the business data comprises: the rule engine accessing a business rule library to obtain at least one target business rule matching the business data upon obtaining the business data; The accessing of the dynamic link set to determine the matching result corresponding to the at least one target business rule includes: the rule engine accessing the dynamic link set to determine the matching result corresponding to the at least one target business rule; The method also includes: the rule engine transmits the matching result to the dynamic orchestration engine, triggering the dynamic orchestration engine to generate target business process definition information based on the target business link when there is one target business link in the matching result; or generates target business process definition information based on priority information corresponding to the at least two target business links when there are at least two target business links in the matching result; the dynamic orchestration engine stores the target business process definition information in the process engine, triggering the process engine to dynamically generate a business process instance according to the target business process definition information; and, in the business process instance, processing the business process based on the business data.

6. The method according to claim 5, It is characterized in that The business rules are stored in a left-right tree mode, where the left tree is used to describe the rule conditions, and the right tree is used to describe the triggering results after the rule conditions are met.

7. The method according to claim 6, It is characterized in that The business data is in a read-only state during the processing of the business process, and the method further includes: In the case where the rule engine obtains additional business data, determining at least one additional business link according to the additional business data; The dynamic orchestration engine updates the target business process definition information according to the at least one additional business link, and transmits the update result to the process engine; In the case where the priority of the at least one additional business link is lower than the priority of the business link being executed in the business process instance, the process engine dynamically adds the at least one additional business link to the business process instance; When the priority of any of the additional business links is higher than the priority of the business link being executed in the business process instance, the process engine terminates the executing business process instance and regenerates the business process instance based on the updated target business process definition information.

8. A dynamic business process processing device, It is characterized in that The device comprises: A business data dynamic processing module is used to access the business rule library to obtain at least one target business rule matching the business data when the business data is acquired; access the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library; a definition information generating module, configured to generate target business process definition information based on the target business link when there is one target business link in the matching result; or to generate target business process definition information based on priority information corresponding to each of the at least two target business links when there are at least two target business links in the matching result; The instance interaction module is used to dynamically generate a business process instance according to the target business process definition information; in the business process instance, the business process is processed based on the business data.

9. A dynamic business process processing system, It is characterized in that The dynamic business process processing system includes a business rule library, a dynamic link set, a rule engine, a process engine and a dynamic orchestration engine; The rule engine is used to access the business rule library when the business data is acquired to obtain at least one target business rule that matches the business data; and access the dynamic link set to determine the matching result corresponding to the at least one target business rule, wherein the dynamic link set stores at least one business link and the corresponding relationship between each of the business links and the business rules in the business rule library; The dynamic orchestration engine is used to generate target business process definition information based on the target business link when there is a target business link in the matching result; or when there are at least two target business links in the matching result, generating target business process definition information based on priority information corresponding to each of the at least two target business links; The process engine is used to dynamically generate a business process instance according to the target business process definition information; And, in the business process instance, the business process is processed based on the business data.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement a dynamic business process processing method as described in any one of claims 1 to 7.

11. An electronic device, It is characterized in that It includes at least one processor and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the at least one processor implements the dynamic business process processing method as described in any one of claims 1 to 7 by executing the instructions stored in the memory.

12. A computer program product, comprising a computer program or an instruction, wherein when the computer program or the instruction is executed by a processor, the dynamic business process processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Cross-border trade data intelligent processing method and system based on intelligent port

    CN119648084A