Business process updating method, business process constructing method and related equipment

By integrating the process engine and rule engine in business programs, front-end business personnel are allowed to directly update decision rules, solving the problem of low efficiency in business process updates in the existing technology, and achieving more efficient business process updates and rule management.

CN119067422APending Publication Date: 2024-12-03SUNSHINE PROPERTY & CASUALTY INSURANCE CO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411079632.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing business process update requires updating the code of the business program, which leads to inefficient update efficiency, which increases the burden on software developers and may lead to code confusion, affecting the normal operation of the business program.

Method used

Provide a business process update method, which integrates the process engine and the rule engine in the business program, allows front-end business personnel to directly update decision rules in the rule editing interface, and store the updated rules in the rule library for the rule engine to call. , avoid direct adjustment of the code.

Benefits of technology

It improves the efficiency of business processes, reduces dependence on software developers, reduces the risk of code chaos, and enables front-end business personnel to update decision rules on their own.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067422A_ABST
    Figure CN119067422A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of software deployment, in particular to a business process updating method, a business process construction method and related equipment. The method comprises the following steps: acquiring update content of a decision rule corresponding to a target decision node in a target business process; according to the update content, updating the decision rule on a rule editing interface of a target decision node displayed by the first business program to obtain an updated decision rule; and storing the updated decision rule in a rule base of a rule engine, so that the rule engine calls the corresponding updated decision rule in the rule base to make a decision when the first business program is driven by the process engine to execute the target business process until the target decision node needs to make a decision. The target business process provided by the invention further comprises the decision node which is used for the front-end business personnel to directly edit the decision rule stored in the rule base of the rule engine through the interactive operation with the first business program, so that the updating efficiency of the business process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of software deployment, and in particular to a business process updating method, a construction method and related equipment. Background Art

[0002] In the insurance business, business procedures are used to execute business processes, such as underwriting and issuing policies and claims settlement tasks, and each business process usually includes multiple process nodes.

[0003] In the prior art, the decision rules corresponding to the conditional flow relationship between process nodes in the business process are embedded in the business program where the business process is located in a hard-coded form. In actual applications, for the purpose of business process optimization, front-end business personnel will have the need to update the decision rules. In order to solve this need, it is usually necessary to seek help from software developers.

[0004] In actual applications, there are situations where the decision rules need to be updated multiple times, which not only increases the burden on software developers, but may also lead to problems such as the business program code becoming more and more chaotic, affecting the normal operation of the business program. Ultimately, software developers will need to repeatedly update the relevant code to solve the corresponding problems.

[0005] In summary, the existing business process update has a low updating efficiency because the code of the business program needs to be updated. Summary of the invention

[0006] In view of this, the purpose of the present application is to provide a business process update method, construction method and related equipment to solve the technical problem that the existing business process update has low update efficiency due to the need to update the business program code.

[0007] In a first aspect, the present application provides a method for updating a business process, which is applied to a first electronic device, wherein the first electronic device is installed with a first business program; the first business program is integrated with a process engine and a rule engine for updating a target business process, and the method includes:

[0008] Obtaining updated content of a decision rule corresponding to a target decision node in the target business process;

[0009] Wherein, the target business process includes: a plurality of process nodes and at least one decision node;

[0010] According to the updated content, updating the decision rule on the rule editing interface of the target decision node displayed by the first business program to obtain an updated decision rule;

[0011] The updated decision rule is stored in the rule base of the rule engine, so that when the first business program is driven by the process engine to execute the target business process until the target decision node needs to make a decision, the rule engine can retrieve the corresponding updated decision rule in the rule base to make a decision.

[0012] Preferably, the decision rule includes: rule content and rule execution order;

[0013] The rule execution order is the execution order of multiple decision rules when there are multiple decision rules.

[0014] Preferably, the method further comprises:

[0015] Displaying a process editing interface of the target business process through the first business program;

[0016] In response to a trigger operation on the target decision node on the process editing interface, a rule editing interface of the target decision node is displayed.

[0017] Preferably, the method further comprises:

[0018] Obtaining identification information of a process node preceding the target decision node in the target business process;

[0019] Wherein, the identification information of the previous process node of the target decision node is used for the decision rule corresponding to the target decision node, and is correspondingly stored in the rule base;

[0020] The storing the updated decision rule into the rule base of the rule engine comprises:

[0021] Based on the identification information, the current decision rule corresponding to the target decision node in the rule base is replaced by the updated decision rule, so that when the first business program is driven by the process engine to execute the target business process to the previous process node of the target decision node, the rule engine can retrieve the corresponding updated decision rule in the rule base according to the identification information to make a decision.

[0022] Preferably, the first business program is also used to execute the target business process, and the method further includes:

[0023] In the process of the first business program being driven by the process engine to execute the target business process, in response to the identification information of the current process node in the target business process meeting the preset standard, determining, based on the identification information of the current process node, a storage path for data required by the rule engine when making a decision according to the decision rule corresponding to the identification information;

[0024] Wherein, the preset standard indicates that the next node of the current process node is a decision node;

[0025] Acquire the required data according to the storage path of the required data;

[0026] Retrieving the corresponding decision rule from the rule base according to the identification information of the current process node by the rule engine;

[0027] The rule engine makes a decision according to the decision rule and the required data to obtain identification information of the next process node of the decision node;

[0028] The process engine drives the target business process to execute to the next process node according to the identification information of the next process node.

[0029] In a second aspect, the present application further provides a method for constructing a business process, which is applied to a second electronic device, wherein the second electronic device is installed with a second business program; the second business program is integrated with a process engine and a rule engine for constructing a target business process, and the method includes:

[0030] Obtain the target decision rules in the business process to be constructed;

[0031] Inserting a decision node corresponding to the target decision rule on the process editing interface of the business process to be constructed displayed by the second business program;

[0032] Fill in the target decision rule on the rule editing interface of the decision node displayed by the second business program to obtain the target business process;

[0033] The software development kit of the target business process is exported through the second business program, so that the business program installed with the software development kit is driven by the process engine to execute the target business process and when the target business process is executed to the point where the decision node needs to make a decision, the rule engine makes a decision according to the target decision rule.

[0034] Preferably, the target decision rule includes: location information and rule content;

[0035] The position information indicates the position of the process node having the conditional flow relationship corresponding to the target decision rule in the business process to be constructed.

[0036] Preferably, inserting a decision node corresponding to the target decision rule on the process editing interface of the to-be-constructed business process displayed by the second business program includes:

[0037] According to the position information, decision nodes are correspondingly inserted between multiple current process nodes on the process editing interface of the business process to be constructed displayed by the second business program.

[0038] In a third aspect, the present application also provides an electronic device, comprising a processor and a memory, wherein the memory is used to store a first business program or a second business program, and the processor runs or executes the first business program or the second business program stored in the memory so that the electronic device implements the above-mentioned business process update method or the above-mentioned business process construction method.

[0039] In a fourth aspect, the present application also provides a computer-readable storage medium, which is used to store program codes executed by a processor, wherein the program codes include a method for updating the above-mentioned business process or a method for constructing the above-mentioned business process.

[0040] Beneficial effects:

[0041] The present application provides a method for updating a business process, the method comprising: obtaining the updated content of the decision rule corresponding to the target decision node in the target business process; updating the decision rule on the rule editing interface of the target decision node displayed in the first business program according to the updated content to obtain the updated decision rule; storing the updated decision rule in the rule base of the rule engine, so that when the first business program is driven by the process engine to execute the target business process to the point where the target decision node is required to make a decision, the rule engine can retrieve the corresponding updated decision rule in the rule base for decision making. In summary, since the target business process in the first business program provided by the present application includes decision nodes in addition to process nodes, it can not only make the front-end business personnel intuitively feel the existence of the decision rules, but also provide the front-end business personnel with an operation interface of "modifying decision rules", so that the front-end business personnel can directly edit the decision rules stored in the rule base of the rule engine through interactive operations with the first business program, and can update the target business process without the help of software developers, thereby improving the update efficiency of the business process. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1A schematic diagram of the business system provided for this application;

[0044] Figure 2 A flowchart of a method for updating a business process provided for this application;

[0045] Figure 3 An example diagram of a process editing interface displayed for the first business program provided in this application;

[0046] Figure 4 for Figure 3 A first partial schematic diagram of;

[0047] Figure 5 for Figure 3 A second partial schematic diagram of;

[0048] Figure 6 A flowchart of a method for constructing a business process provided in this application;

[0049] Figure 7 An example diagram of a process editing interface displayed for the second business program provided in this application;

[0050] Figure 8 This is an example diagram of the node editing interface of the process node model provided in this application. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0052] In the prior art, there are usually multiple insurance businesses due to the types of insurance and other reasons. Each insurance business usually has a multi-stage business process, such as the underwriting process and the claim task process. Although the existing business system can assist the front-end business personnel to control the execution process of the business process, the following problems exist in the actual execution process:

[0053] 1) There are process nodes with conditional flow relationships in the business process, but the decision rules corresponding to the conditional flow relationships are embedded in the business program where the business process is located in a hard-coded form. In actual applications, for the purpose of organizational structure optimization and / or business process optimization, front-end business personnel will have the need to update the decision rules. Since front-end business personnel usually do not have code writing skills, in order to meet this demand, front-end business personnel usually need to seek help from software developers to adjust the code of the business program.

[0054] 2) Multi-stage business processes in insurance business are usually executed separately. Even if the multi-stage business processes have a head-to-tail relationship, they are separated in business execution, that is, multiple business programs used to execute business processes at different stages are set in different electronic devices, and front-end business personnel can only raise update requirements for a certain stage of the business process with update authority on the corresponding electronic device. In actual applications, the update content of a certain stage of the business process on different electronic devices needs to be updated to the business processes at other stages on other electronic devices. However, synchronization failure is very likely to occur in actual execution. In order to solve the above problems, it is still necessary to seek help from software developers to adjust the code of the business program.

[0055] In summary, the update of decision rules in existing business processes requires updating the code of business programs, which not only increases the burden on software developers, but may also cause problems such as the code of business programs becoming more and more chaotic, affecting the normal operation of business programs. In particular, when the decision rules need to be updated multiple times, the above-mentioned application difficulties will be aggravated, resulting in lower and lower update efficiency of business processes.

[0056] In order to solve the above technical problems, the present application proposes a business system, which includes multiple first electronic devices 100 and at least one second electronic device 200, the first electronic device 100 is installed with a first business program, the second electronic device 200 is installed with a second business program, the first business program is used to execute and update the target business process, and the second business program is used to build the target business process; whether it is the construction, execution and update of the target business program, it can be directly interactively operated by front-end business personnel on the corresponding electronic device without the need to seek help from software developers, thereby significantly improving the updating efficiency of the business process.

[0057] like Figure 1 As shown, Figure 1 This is a structural diagram of the business system provided in the present application. The business system includes: multiple first electronic devices 100 and at least one second electronic device 200.

[0058] The first electronic device 100 is a device used by the front-end business personnel of the insurance company to perform business operations. The first business program is also a program used by the front-end business personnel of the insurance company to perform business operations. The second electronic device 200 is a device used by the front-end business personnel to build a target business process for the first business program, and the second business program is a program used by the front-end business personnel to build a target business process for the first business program.

[0059] The first business program on the first electronic device 100 is usually used to execute a certain stage of a business process in a multi-stage business process; different from the prior art, the business process corresponding to the first business program in the present application is a full-cycle business process, which is a business process obtained by connecting the multi-stage business processes end to end, but the first business program only executes a certain stage of the business process corresponding to its business function in the full-cycle business process; when the front-end business personnel adjust the first business program on a first electronic device 100 for a certain stage of the business process, the adjusted business process will be updated to the first business programs on other first electronic devices 100, and there will be no update failure or synchronization failure.

[0060] The first business program is integrated with a process engine and a rule engine; the rule engine is used to drive the first business program to execute the target business program, and is specifically responsible for the sequential flow and conditional flow of nodes in the target business process; the rule engine is used for decision-making to assist in realizing conditional flow. Since the first business program in this application is integrated with a rule engine, front-end business personnel can directly edit the decision rules stored in the rule library of the rule engine through interactive operations on the first business program, without the need for software developers to adjust the code to update the target business process.

[0061] First, based on the application of the above-mentioned business system, the present application proposes a business process update method, which is applied to a first electronic device in the business system, wherein the first electronic device is installed with a first business program; the first business program is integrated with a process engine and a rule engine for updating a target business process executed by the first business program installed on the first electronic device 100, such as Figure 2 As shown, Figure 2 A flowchart of a method for updating a business process provided in this application, the method comprising:

[0062] S110: Acquire updated content of a decision rule corresponding to a target decision node in the target business process.

[0063] The target business process includes: multiple process nodes and at least one decision node.

[0064] Specifically, compared with the prior art, the target business process in the first business program provided in the embodiment of the present application includes decision nodes in addition to process nodes. The setting of decision nodes can "front-end" and "visualize" the decision rules in the target business process, which can not only enable front-end business personnel to intuitively feel the existence of decision rules, but also provide front-end business personnel with an operation interface for "modifying decision rules".

[0065] During actual execution, when the front-end business personnel have the need to update a decision rule in the target business process, they can first determine the position of the decision node corresponding to the decision rule, and then obtain the updated decision rule by operating the decision node based on the updated content of the decision rule. The updated decision rule obtained by the front-end business personnel can be reflected in the code layer of the first business program, and the decision rule can be updated without the help of software developers.

[0066] In one implementation, the decision rule includes: rule content and rule execution order;

[0067] The rule execution order is the execution order of multiple decision rules when there are multiple decision rules.

[0068] Specifically, the content of the rule is determined according to the content of the conditional flow relationship between two process nodes with a conditional flow relationship. The rule execution order is usually applied when the number of the latter process nodes of the two process nodes with a conditional flow relationship is more than 2. Multiple decision rules are associated through "and" and "or".

[0069] In actual implementation, the decision rules may also include other contents, which can be determined according to actual needs, and this application does not make specific limitations on this.

[0070] In one implementation, the update content includes: at least one of: location information, rule content, and rule execution order. The location information of the target decision node indicates the location of the target decision node in the target business process.

[0071] In one implementation, before S110, the method further includes: Step (01) to Step (02), the details of which are as follows:

[0072] Step (01): Displaying the process editing interface of the target business process through the first business program.

[0073] Specifically, the first business program has an interface for editing the target business process. The target business process is displayed in the form of a flow chart on the process editing interface. The flow chart includes: process nodes, decision nodes and connection relationships between nodes.

[0074] When updating the target business process on the process editing interface displayed by the first business program, adjustments are usually made based on the existing process of the target business process. In actual operation, the first business program is triggered to display the process editing interface of the target business process. Figure 3 As shown, Figure 3This is an example diagram of the process editing interface displayed by the first business program provided in the present application, wherein the process editing interface (in the form of a flowchart) displays multiple process nodes (rectangular nodes) and at least one decision node (diamond node) of the target business process.

[0075] In the embodiment of the present application, although the first business program is provided with a corresponding full-cycle business process, each first business program usually only has the editing authority for the business process corresponding to a certain stage of its function, so usually only the target business process can be edited. If it is necessary to uniformly edit the full-cycle business process, it can be achieved by updating or opening the authority of the first business program corresponding to the business process at different stages, etc., and this application will not go into details.

[0076] Step (02): In response to a trigger operation on the target decision node on the process editing interface, a rule editing interface of the target decision node is displayed.

[0077] Specifically, when in the process editing interface, the target decision node in the flowchart displayed in the process editing interface can be clicked to make the first business program display the rule editing interface of the target decision node. In actual execution, other triggering operations can also be taken to make the first business program display the rule editing interface of the target decision node, and this application does not make specific limitations on this.

[0078] The rule editing interface includes at least two editing boxes, corresponding to the rule content and the rule execution order, respectively. In practical applications, the number and position of the editing boxes can be determined according to actual needs, and this application does not make specific restrictions on this.

[0079] S120: According to the updated content, the decision rule is updated on the rule editing interface of the target decision node displayed in the first business program to obtain an updated decision rule.

[0080] Specifically, the update content of the decision rule can be determined according to actual needs.

[0081] When in the rule editing interface of the target decision node, the decision rule can be updated accordingly according to the updated content to obtain the updated decision rule.

[0082] Since the first business program in the present application can provide a rule editing interface for the target decision node, the front-end business personnel of the business program can directly edit the decision rules. Therefore, when the decision rules are updated, the business process can be updated without the help of software developers.

[0083] S130: Storing the updated decision rule in the rule base of the rule engine, so that when the first business program is driven by the process engine to execute the target business process to the target decision node that needs to make a decision, the rule engine can retrieve the corresponding updated decision rule in the rule base to make a decision.

[0084] Specifically, the first business program is driven by the process engine therein to execute the target business process. When the target business process is executed to the point where a target decision node is required to make a decision, the rule engine in the first business program will retrieve the decision rule corresponding to the decision node from the rule library to make a decision.

[0085] In one implementation, the method further includes: step (03), S130 includes: step (04), the details of which are as follows:

[0086] Step (03): Obtain identification information of the previous process node of the target decision node in the target business process;

[0087] Specifically, in an embodiment of the present application, each process node in the target business process has corresponding identification information. The identification information is used to indicate the position of the corresponding node in the target business process, etc., which is equivalent to a "locator" of the node in the target business process to some extent. The first business program can locate the corresponding node in the target business process based on the identification information. In an embodiment of the present application, the identification information can be the name of the node or a string corresponding to the node, etc.

[0088] In an embodiment of the present application, the signal that the first business program determines that "a decision needs to be made" is not determined when it is executed to the decision node, but is determined when the first business program is driven by the process engine to execute the target business process to the previous process node of the decision node, that is, the decision rule has a corresponding relationship with the identification information of the previous process node of the decision node corresponding to the decision rule.

[0089] In order to implement the above execution logic, it is necessary to store the identification information of the previous process node of all decision nodes. For example, the identification information of the previous process node of all decision nodes can be stored in a data table A.

[0090] Step (04): Based on the identification information, the current decision rule corresponding to the target decision node in the rule base is replaced by the updated decision rule, so that when the first business program is driven by the process engine to execute the target business process to the previous process node of the target decision node, the rule engine can retrieve the corresponding updated decision rule in the rule base according to the identification information to make a decision.

[0091] Specifically, when the first business program executes the target business process, the first business program will confirm the identification information of each process node and detect the identification information. If it is detected that the identification information of the process node is in data table A, it can be determined that the next node of the process node is a decision node, that is, it is necessary to retrieve the data required for making decisions according to the decision rules based on the identification information of the process node, and then transmit the required data to the rule engine based on the identification information of the process node. The rule engine retrieves the decision rule corresponding to the identification information in the rule library based on the identification information, and then makes a decision based on the decision rules and the required data.

[0092] In one implementation, the first business program is also used to execute the target business process. The method further includes: Steps (05) to (09), the details of which are as follows:

[0093] Step (05): In the process of the first business program being driven by the process engine to execute the target business process, in response to the identification information of the current process node in the target business process meeting the preset standard, the rule engine is determined to perform the storage path of the required data according to the decision rule corresponding to the identification information based on the identification information of the current process node.

[0094] Step (06): Obtain the required data according to the storage path of the required data;

[0095] Step (07): The rule engine retrieves the corresponding decision rule from the rule base according to the identification information of the current process node;

[0096] Step (08): Make a decision based on the decision rules and required data through the rule engine to obtain the identification information of the next process node of the decision node;

[0097] Step (09): The process engine drives the execution of the current business process to the next process node according to the identification information of the next process node.

[0098] Specifically, step (05) to step (09) are steps for making decisions when the first business program executes the target business process.

[0099] In the embodiment of the present application, the storage path of the required data is determined in order to retrieve the required data from a pre-set data table.

[0100] In actual execution, "the rule engine feeds back the next process node of the decision node" means that the rule engine feeds back identification information that can point to the next process node of the decision node or other information that can instruct the process engine to transfer the target business process from the current decision node to the next process node.

[0101] During the execution of the entire target business process, the above steps will be repeated multiple times according to the process content of the target business process. Figure 4 and attached Figure 5 For example, the details are as follows:

[0102] like Figure 4 As shown, Figure 4 for Figure 3 The first partial schematic diagram is used to show the sequential flow between process nodes in the business process; when the first business program is executed Figure 4 In the business process shown, after executing the process node of inspection, the process node of vehicle damage assessment and the process node of property damage assessment will continue to be executed, and the first business program will execute the business code logic of the two process nodes respectively.

[0103] like Figure 5 As shown, Figure 5 for Figure 3 The second partial schematic diagram is used to show the conditional flow between process nodes in the business process; when the first business program is executed Figure 5 In the business process shown, when executing to the process node of vehicle and property damage assessment, the rule engine calls the corresponding decision rule to make a decision based on the identification information of the process node of vehicle and property damage assessment. After the rule engine makes the decision, it will feedback the identification information of the process node of automatic property damage assessment or the identification information of the process node of manual property damage assessment to the process engine, so that the process engine can continue to execute the target business process based on the corresponding identification information.

[0104] If the decision result of the rule engine is that the next process node can be either a process node for automatic damage assessment or a process node for manual damage assessment, the rule engine will mark the priority of the identification information of the two process nodes when providing feedback, and the process engine will make corresponding judgments and flow processing based on the priority.

[0105] Second, based on the application of the above-mentioned business system, the present application also proposes a method for constructing a business process, which is applied to a second electronic device in the business system, wherein the second electronic device is installed with a second business program; the second business program is integrated with a process engine and a rule engine for constructing a target business process executed by the first business program installed on the first electronic device 100, such as Figure 6 As shown, Figure 6 A flowchart of a method for constructing a business process provided in this application, the method includes: S210 to S240, the details of which are as follows:

[0106] S210: Obtaining target decision rules in the business process to be constructed;

[0107] Specifically, the business process update method proposed in the present application enables front-end business personnel to directly adjust the decision rules at the front end of the first business program. In order to enable the first business program to have an update function for the target business process, the front-end business personnel are required to build the target business process on the second business program, and then export the SDK (Software Development Kit) of the target business process through the second business program for installation by the first business program.

[0108] When the first business program installs the SDK, the first business program has the function of allowing front-end business personnel to directly modify the decision rules. In the embodiment of the present application, caffeine is used in the SDK for local cache.

[0109] In the embodiment of the present application, the second business procedure can be used to construct a new target business process according to demand, and can also be used to insert decision nodes into an existing business process to be constructed that only has process nodes to obtain a target business process according to demand.

[0110] Since constructing a target business process that only includes process nodes is a prior art, this application selects the usage scenario of "inserting decision nodes into an existing business process to be constructed that only has process nodes to obtain a target business process" to specifically explain the process of constructing the target business process.

[0111] S220: Inserting a decision node corresponding to the target decision rule on the process editing interface of the business process to be constructed displayed by the second business program.

[0112] Specifically, Figure 7 As shown, Figure 7 This is an example diagram of the process editing interface displayed by the second business program provided in this application. Figure 7 The process nodes or decision nodes that can be inserted are on the left side.

[0113] The process editing interface is the place for writing the target business process. The process editing interface is built based on vue.js and uses the AntV X6 diagram editing plug-in to realize the editing and configuration of the target business process on the front end, including: zoom in, zoom out, clear, undo, preview, export, change records and other functions.

[0114] In one implementation, the target decision rule includes: location information and rule content;

[0115] The location information indicates the location of the process node having the conditional flow relationship corresponding to the target decision rule in the business process to be constructed.

[0116] S230: Fill in the target decision rule on the rule editing interface of the decision node displayed by the second business program to obtain the target business process.

[0117] Specifically, when inserting process nodes and decision nodes, you need to configure the process node model for the process node and the decision node model for the decision node. When configuring each node, write the current node name, the current node link name, and the service arrangement (pipline is optional).

[0118] The construction of the target business process is now explained by taking the new car claims process as an example. The new car claims process includes: reporting, dispatching, inspection, damage assessment, quotation and other process nodes. On the process editing interface, connect each process node with an arrow, and then trigger the process node to display the configuration interface of the process node model of the corresponding process node, such as Figure 8 As shown, Figure 8 This is an example diagram of the node editing interface of the process node model provided in this application. The process node model includes: basic attributes and extended attributes. The basic attributes usually indicate the name of the process node. The decision node model includes: the type of decision rules and the execution order of decision rules, etc.

[0119] When the editing interface of the process node model is displayed, you can click the drop-down box to configure the name of the current node, service orchestration, whether to automatically transfer, and the service orchestration configuration pipline script. Through the customized DSL execution logic and the local code of the scheduling claims system, the automatic orchestration execution of the services of the current process can be realized.

[0120] S240: Exporting the software development kit of the target business process through the second business program, so that the business program installed with the software development kit is driven by the process engine to execute the target business process and when the target business process is executed to the point where a decision is required, the rule engine makes a decision according to the target decision rule.

[0121] Specifically, after the target business process is built, the flowchart corresponding to the target business process will be saved in the graph database and ssdb (Simple Structured DataBase) and provide query services for the SDK, which can be viewed in the change log and used for rollback.

[0122] The editing of the decision rules on the second business program is the initial editing, which only provides an initial version. After the second business program exports the SDK of the target business process and the first business program installs the corresponding SDK, the front-end business personnel can update the decision rules on the first process program, that is, execute S110~S130.

[0123] In one implementation, S220 includes: step (10), the details of which are as follows:

[0124] Step (10): According to the position information, a decision node is correspondingly inserted between multiple current process nodes on the process editing interface of the business process to be constructed displayed by the second business program.

[0125] Specifically, in actual execution, if a decision node is to be inserted into the business process to be constructed, it is necessary to obtain the location information and rule content of the decision rule corresponding to the decision node. The location information is used to determine the insertion position of the decision node.

[0126] In actual execution, you can directly import the flowchart of the business process to be constructed, and then insert decision nodes on this basis. You can also use the business process to be constructed as a reference, and insert the process nodes and decision nodes that the target business process should include one by one on the process editing interface of the second business program to obtain the target business process.

[0127] If the operation of inserting multiple nodes in the target business process one by one is adopted, the process engine in the second business program provides pipeline service orchestration for each process node and directly schedules the configured business code.

[0128] In actual implementation, a BOM model can be constructed for the decision rules, and then the BOM model can be tailored to obtain the decision rules required for the rule engine to make decisions.

[0129] Third, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, steps S110 to S130 or S210 to S240 provided in the above embodiments are implemented.

[0130] Fourth, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, steps S110 to S130 or S210 to S240 provided in the above embodiment are executed.

[0131] Fifth, the computer program product provided in the present application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the previous method embodiments. For specific implementations, please refer to steps S110 to S130 or S210 to S240 provided in the method embodiments.

[0132] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0133] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0134] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0135] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM) random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0136] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0137] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various modifications and variations. Any updates, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for updating a business process, characterized in that: Applied to a first electronic device, the first electronic device is installed with a first business program; the first business program is integrated with a process engine and a rule engine for updating a target business process, the method includes: Obtaining updated content of a decision rule corresponding to a target decision node in the target business process; Wherein, the target business process includes: a plurality of process nodes and at least one decision node; According to the updated content, updating the decision rule on the rule editing interface of the target decision node displayed by the first business program to obtain an updated decision rule; The updated decision rule is stored in the rule base of the rule engine, so that when the first business program is driven by the process engine to execute the target business process until the target decision node needs to make a decision, the rule engine can retrieve the corresponding updated decision rule in the rule base to make a decision.

2. The method according to claim 1, characterized in that The decision-making rules include: rule content and rule execution order; The rule execution order is the execution order of multiple decision rules when there are multiple decision rules.

3. The method according to claim 2, characterized in that The method further comprises: Displaying a process editing interface of the target business process through the first business program; In response to a trigger operation on the target decision node on the process editing interface, a rule editing interface of the target decision node is displayed.

4. The method according to claim 1, characterized in that The method further comprises: Obtaining identification information of a process node preceding the target decision node in the target business process; Wherein, the identification information of the previous process node of the target decision node is used for the decision rule corresponding to the target decision node, and is correspondingly stored in the rule base; The storing the updated decision rule into the rule base of the rule engine comprises: Based on the identification information, the current decision rule corresponding to the target decision node in the rule base is replaced by the updated decision rule, so that when the first business program is driven by the process engine to execute the target business process to the previous process node of the target decision node, the rule engine can retrieve the corresponding updated decision rule in the rule base according to the identification information to make a decision.

5. The method according to claim 4, characterized in that The first business program is further used to execute the target business process, and the method further includes: In the process of the first business program being driven by the process engine to execute the target business process, in response to the identification information of the current process node in the target business process meeting the preset standard, determining, based on the identification information of the current process node, a storage path for data required by the rule engine when making a decision according to the decision rule corresponding to the identification information; Wherein, the preset standard indicates that the next node of the current process node is a decision node; Acquire the required data according to the storage path of the required data; Retrieving the corresponding decision rule from the rule base according to the identification information of the current process node by the rule engine; The rule engine makes a decision according to the decision rule and the required data to obtain identification information of the next process node of the decision node; The process engine drives the target business process to execute to the next process node according to the identification information of the next process node.

6. A method for constructing a business process, characterized in that: Applied to a second electronic device, the second electronic device is installed with a second business program; the second business program is integrated with a process engine and a rule engine for building a target business process, the method includes: Obtain the target decision rules in the business process to be constructed; Inserting a decision node corresponding to the target decision rule on the process editing interface of the business process to be constructed displayed by the second business program; Fill in the target decision rule on the rule editing interface of the decision node displayed by the second business program to obtain the target business process; The software development kit of the target business process is exported through the second business program, so that the business program installed with the software development kit is driven by the process engine to execute the target business process and when the target business process is executed to the point where the decision node needs to make a decision, the rule engine makes a decision according to the target decision rule.

7. The method according to claim 6, characterized in that The target decision rule includes: location information and rule content; The position information indicates the position of the process node having the conditional flow relationship corresponding to the target decision rule in the business process to be constructed.

8. The method according to claim 7, characterized in that The inserting a decision node corresponding to the target decision rule on the process editing interface of the to-be-constructed business process displayed by the second business program includes: According to the position information, decision nodes are correspondingly inserted between multiple current process nodes on the process editing interface of the business process to be constructed displayed by the second business program.

9. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory is used to store a first business program or a second business program, and the processor runs or executes the first business program or the second business program stored in the memory, so that the electronic device implements the business process update method as described in any one of claims 1 to 5 or the business process construction method as described in any one of claims 6 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes executed by a processor, wherein the program codes include a method for implementing an update method of a business process as described in any one of claims 1 to 5 or a method for implementing a construction method of a business process as described in any one of claims 6 to 7.

Citation Information

Cited By

  • Business process regulation and control system and method, electronic equipment and storage medium

    CN119377077A

  • Intelligent processing method and system for business process decision nodes based on AI Agent

    CN119761796A