CN112288397A - Flow template configuration method, flow execution method and device and electronic equipment - Google Patents

Flow template configuration method, flow execution method and device and electronic equipment Download PDF

Info

Publication number
CN112288397A
CN112288397A CN202011180589.XA CN202011180589A CN112288397A CN 112288397 A CN112288397 A CN 112288397A CN 202011180589 A CN202011180589 A CN 202011180589A CN 112288397 A CN112288397 A CN 112288397A
Authority
CN
China
Prior art keywords
template
sub
decision
input
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011180589.XA
Other languages
Chinese (zh)
Inventor
孙世奇
邹永强
杨晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accumulus Technologies Tianjin Co Ltd
Original Assignee
Accumulus Technologies Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accumulus Technologies Tianjin Co Ltd filed Critical Accumulus Technologies Tianjin Co Ltd
Priority to CN202011180589.XA priority Critical patent/CN112288397A/en
Publication of CN112288397A publication Critical patent/CN112288397A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The invention provides a flow template configuration method, a flow execution device and electronic equipment, wherein the flow template configuration method comprises the following steps: receiving a first input for configuring a process template of a business process; displaying a process template configuration interface in response to the first input; receiving a second input for adding a sub-process template to the process template under the configuration interface; responding to the second input, and displaying sub-process templates of the process template on a configuration interface; receiving a third input for the sub-process template; in response to a third input, configuring a decision condition for the sub-process template; receiving a fourth input for the sub-process template; in response to a fourth input, configuring a sub-process node for the sub-process template; receiving a fifth input; and responding to a fifth input, saving and publishing the process template, wherein the process template comprises at least one sub-process template. The method solves the problems that the prior art has high maintenance cost of the flow template, is not suitable for complex business processing and is difficult to carry out business iteration.

Description

Flow template configuration method, flow execution method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a flow template configuration method, a flow execution device and electronic equipment.
Background
At present, the configuration of a general examination and approval workflow template is realized according to a service configuration and a general template, and when condition judgment or special treatment is needed, the general method is realized by adding a large number of gateways and branches.
With the increase of the complexity of the service, the number of the personnel participating in the service is increased, and a large number of branches and gateways are fully distributed in the flow template, so that the service and the template are mixed together, and the maintenance cost is very high.
The situation that logic is confused can easily occur on the basis of the level of an operator in the flow template of the complex service, and hidden dangers are buried for the service iteration in the future.
Disclosure of Invention
The embodiment of the invention provides a flow template configuration method, a flow execution device and electronic equipment, and aims to solve the problems that the flow template in the prior art is high in maintenance cost, is not suitable for complex business processing and is difficult to perform business iteration.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for configuring a flow template, including:
receiving a first input for configuring a process template of a business process;
displaying a process template configuration interface in response to the first input;
receiving a second input for adding a sub-process template to the process template under the configuration interface;
responding to the second input, and displaying sub-process templates of the process template on the configuration interface;
receiving a third input for the sub-flow template;
configuring a decision condition for the sub-flow template in response to the third input;
receiving a fourth input for the sub-flow template;
in response to the fourth input, configuring a sub-process node for the sub-process template;
receiving a fifth input;
and responding to the fifth input, saving and publishing the process template, wherein the process template comprises at least one sub-process template.
Optionally, the method further includes:
receiving a sixth input for the sub-flow template;
in response to the sixth input, configuring an execution priority for the at least one sub-flow template.
Optionally, the process template for storing and publishing the service process includes:
saving the flow template in a decision tree mode, wherein the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision nodes are associated with the decision conditions of the corresponding sub-process template, and the template nodes are associated with the sub-processes of the corresponding sub-process template.
In a second aspect, an embodiment of the present invention further provides a process executing method, which is applied to a service system, where the service system stores a process template of at least one service type, and the process template is stored in a decision tree manner, where the decision tree includes multiple layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision node is associated with a decision condition of a corresponding sub-process template, and the template node is associated with a sub-process of the corresponding sub-process template, the method comprising:
a receiving step: receiving first form data of a service type submitted by a user;
the extraction step comprises: extracting the first form data, inputting the first form data into the first layer of the decision tree, and executing decision conditions associated with decision nodes of the current layer;
a first processing step: if the decision condition is met, entering a template node of the current level, and executing the business process of the first form according to the sub-process associated with the template node;
a second processing step: otherwise, entering a decision node of the next level and executing a decision condition of the corresponding level, and switching to the first processing step until all levels of the decision tree are executed.
Optionally, the last layer of the decision tree further includes a default template node, and the default template node is associated with a default sub-process;
the method further comprises the following steps:
and if the first form data does not meet the decision conditions of all the levels of the decision tree, moving to the default template node of the last layer, and executing the service process of the first form according to the default sub-process corresponding to the default template node.
Optionally, before receiving the first form data of a service type submitted by the user, the method further includes:
modifying the decision tree of the flow template;
storing and releasing the modified decision tree;
the decision tree for modifying the flow template includes, but is not limited to, at least one of:
modifying the decision condition and/or the sub-process of a sub-process template;
add or delete sub-flow templates.
In a third aspect, an embodiment of the present invention further provides a flow template configuration apparatus, including:
the system comprises a first receiving module, a second receiving module and a processing module, wherein the first receiving module is used for receiving first input of a process template for configuring a business process;
the display module is used for responding to the first input and displaying a flow template configuration interface;
the second receiving module is used for receiving second input used for adding a sub-process template to the process template under the configuration interface;
the display module is further used for responding to the second input and displaying sub-process templates of the process template on the configuration interface;
a third receiving module, configured to receive a third input for the sub-process template;
a configuration module, configured to configure a decision condition for the sub-process template in response to the third input;
a fourth receiving module, configured to receive a fourth input for the sub-process template;
the configuration module is further configured to configure a sub-process node for the sub-process template in response to the fourth input;
a fifth receiving module, configured to receive a fifth input;
and the issuing module is used for responding to the fifth input, storing and issuing the process template, wherein the process template comprises at least one sub-process template.
In a fourth aspect, an embodiment of the present invention further provides a flow execution device, which is applied to a service system, where the service system stores a flow template of at least one service type, and the flow template is stored in a decision tree manner, where the decision tree includes multiple layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision node is associated with the decision condition of the corresponding sub-process template, and the template node is associated with the sub-process of the corresponding sub-process template, including:
the first receiving module is used for receiving first form data of a service type submitted by a user;
the extraction module is used for extracting the first layer of the decision tree to which the first form data is input and executing decision conditions associated with decision nodes of the current level;
the first processing module is used for entering a template node of the current level if the decision condition is met, and executing the business process of the first form according to the sub-process associated with the template node;
and the second processing module is used for entering a decision node of the next level and executing the decision condition of the corresponding level if the decision condition is not met, and switching to the first processing module until all levels of the decision tree are executed.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including: a processor, a memory and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the flow template configuration method according to any one of the first aspect or the steps of the flow execution method according to any one of the second aspect.
In a sixth aspect, the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the flow template configuration method according to any one of the first aspects, or implements the steps of the flow execution method according to any one of the second aspects.
In the embodiment of the invention, the business judgment is separated from the template configuration, a complex and huge process template is split into a plurality of small sub-process templates according to the business decision conditions, and each sub-process template is not influenced and is completely independent; the split flow template has clear logic, simple layers, convenient understanding, higher release speed, more convenient template configuration modification, greatly reduced use threshold and extremely high fault tolerance rate.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart diagram of a method for configuring a flow template according to an embodiment of the present invention;
fig. 2 is a second schematic flowchart of a method for configuring a flow template according to an embodiment of the present invention;
fig. 3 is a third schematic flow chart of a method for configuring a flow template according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart illustrating a method for configuring a process template according to an embodiment of the present invention;
FIG. 5 is a fifth flowchart illustrating a method for configuring a process template according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a flow executing method according to an embodiment of the present invention;
FIG. 7 is a second flowchart illustrating a method for executing a process according to an embodiment of the present invention;
fig. 8 is a third schematic flowchart of a process execution method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a flow template configuration apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a flow execution device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a method for configuring a process template, including:
step 111: receiving a first input for configuring a process template of a business process;
step 112: displaying a process template configuration interface in response to the first input;
step 121: receiving a second input for adding a sub-process template to the process template under the configuration interface;
step 122: responding to the second input, and displaying sub-process templates of the process template on the configuration interface;
step 131: receiving a third input for the sub-flow template;
step 132: configuring a decision condition for the sub-flow template in response to the third input;
step 141: receiving a fourth input for the sub-flow template;
step 142: in response to the fourth input, configuring a sub-process node for the sub-process template;
step 151: receiving a fifth input;
step 152: and responding to the fifth input, saving and publishing the process template, wherein the process template comprises at least one sub-process template.
In the embodiment of the invention, the business judgment is separated from the template configuration, a complex and huge process template is split into a plurality of small sub-process templates according to the business decision conditions, and each sub-process template is not influenced and is completely independent; the split flow template has clear logic, simple layers, convenient understanding, higher release speed, more convenient template configuration modification, greatly reduced use threshold and extremely high fault tolerance rate.
In some embodiments of the present invention, optionally, each sub-process includes a plurality of process nodes, and a node type, a node structure, a node order, and a node number of the process nodes are configurable.
Specifically, the node structure of the sub-process corresponding to the decision condition may be that a plurality of nodes are connected in series, may also be that a plurality of nodes are connected in parallel, and may also be that the series connection is combined with the parallel connection; the node type can be freely set according to the service type, for example, under the condition of examining and approving the service type, the node type is mostly an examination and approval identity or an examination and approval department.
In some embodiments of the present invention, optionally, further comprising:
receiving a sixth input for the sub-flow template;
in response to the sixth input, configuring an execution priority for the at least one sub-flow template.
In the embodiment of the invention, a complex and huge flow template is split into a plurality of small sub-flow templates according to the service decision conditions, the sub-flow templates are not influenced mutually and are completely independent, and a user can set the execution priority of each sub-flow template according to an application scene and actual requirements, thereby further realizing the configuration and management of the execution sequence of each sub-flow.
In some embodiments of the present invention, optionally, the storing and publishing the process template of the business process includes:
saving the flow template in a decision tree mode, wherein the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision nodes are associated with the decision conditions of the corresponding sub-process template, and the template nodes are associated with the sub-processes of the corresponding sub-process template.
In some embodiments of the present invention, optionally, the decision tree is automatically constructed by the decision engine through an algorithm when the flow template is released.
In some embodiments of the present invention, optionally, the first layer of the decision tree is used to execute the decision condition of the sub-process template with the highest priority, and the other layers associate the corresponding sub-process templates according to the execution priority in sequence.
In some embodiments of the present invention, optionally, the last layer of the decision tree further includes a default template node, and the default template node is associated with a default sub-process.
In some embodiments of the present invention, optionally, the decision weight of the corresponding sub-flow template in the whole flow template may be configured by adjusting the priority of the decision condition.
In the embodiment of the invention, the flow template is stored in a decision tree mode, the decision tree comprises a plurality of layers, each layer corresponds to a sub-flow template and comprises a decision node and a template node, the decision node is associated with the decision condition of the corresponding sub-flow template, and the template node is associated with the sub-flow of the corresponding sub-flow template; the first layer of the decision tree is used for executing the decision conditions of the sub-process template with the highest priority, and the other layers are sequentially associated with the corresponding sub-process templates according to the execution priority; when the process template is released, the decision tree can be automatically generated through the decision engine, and only the process template set which is tiled and visualized is displayed outwards.
Specifically, referring to fig. 2, fig. 2 is a second schematic flow chart of the method for configuring a flow template according to the embodiment of the present invention, taking an approval process of an active expense application of a company as an example, the approval process can be split into 4 sub-flow templates according to different approval amounts, and each sub-flow template configures corresponding link approval processes according to an actual scene, as shown in fig. 2.
Referring to fig. 4, fig. 4 is a fourth schematic flowchart of a process template configuration method according to an embodiment of the present invention, specifically, a process template for an active expense application approval, which is configured according to the process template configuration method and has no execution sequence.
Referring to fig. 3, fig. 3 is a third schematic flow chart diagram of a flow template configuration method according to an embodiment of the present invention, specifically, a configuration page for configuring a flow template; taking the application approval process of the activity expense of a certain company as an example, the application approval process is split into 4 sub-process templates according to different approval amounts or department numbers, each sub-process template is configured with corresponding link approval processes according to actual scenes, and for convenience of description, the sub-processes are named as sub-processes A, B, C and D respectively;
the configuration contents of each sub-flow template are as follows:
1. { default }: indicating default, and if all other conditions are not satisfied, going to the sub-process A;
2. { money <20000 }: the sub-process B is taken when the value of the money field is less than 2 ten thousand;
3. { money > -20000 & & money <50000 }: is a combination condition, when the value of the money field is more than or equal to 2 ten thousand [ and ] the value of the money field is less than 5 ten thousand, the C sub-process is carried out;
4. { money > -50000 | | dept _ id ═ d123455 }: when the monoy field value is larger than 5 ten thousand (or) department ID is D123455, the D sub-process is carried out;
the specific content required to be configured in the configuration interface includes: selecting the configured service type: an active expense application approval process;
4 sub-process templates configured according to different decision conditions, wherein each sub-process template relates to corresponding decision condition configuration and each link approval process under the corresponding decision condition; and (3) according to decision conditions: for example, the approval amount is less than 20000, and the corresponding approval process is configured to be a complete approval sub-process after being approved by B1 (platform leader) and B2 (regional cost accounting);
further, the execution sequence of the approval process of the approval money amount <20000 in the whole activity expense application can be set as a second execution sequence.
Referring to fig. 5, fig. 5 is a fifth flowchart of a flow template configuration method according to an embodiment of the present invention, specifically, a flow template obtained after setting priorities of sub-flow templates configured according to the flow template configuration method is stored in a decision tree form.
The embodiment of the invention also provides a process execution method, which is applied to a service system, wherein the service system stores at least one process template of a service type, the process template is stored in a decision tree mode, and the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision nodes are associated with decision conditions of corresponding sub-process templates, and the template nodes are associated with sub-processes of the corresponding sub-process templates;
referring to fig. 6, fig. 6 is a schematic flow chart diagram of a flow execution method according to an embodiment of the present invention; the method comprises the following steps:
a receiving step 61: receiving first form data of a service type submitted by a user;
an extraction step 62: extracting the first form data, inputting the first form data into the first layer of the decision tree, and executing decision conditions associated with decision nodes of the current layer;
first process step 63: if the decision condition is met, entering a template node of the current level, and executing the business process of the first form according to the sub-process associated with the template node;
second processing step 64: otherwise, entering a decision node of the next level and executing a decision condition of the corresponding level, and turning to the first processing step 63 until all levels of the decision tree are executed.
In the embodiment of the invention, the flow template is constructed according to the decision tree, each sub-flow is taken as a leaf node in the decision tree, the configured condition is taken as a decision condition, and one tree is the flow template of a large business type, and the process template is tiled and visually displayed to shield complex association relation for users; each split sub-flow template has a small volume and approaches to a straight flow, and the node construction speed and the flow chart rendering speed during flow circulation are remarkably improved; when the process is executed, the decision engine automatically searches the path in the decision tree and matches a process template meeting the requirement for use, and the process execution efficiency is obviously improved along with the increase of the complexity of the service and the increase of the number of the participators.
In some embodiments of the present invention, optionally, the last layer of the decision tree further includes a default template node, and the default template node is associated with a default sub-process;
the method further comprises the following steps:
and if the first form data does not meet the decision conditions of all the levels of the decision tree, moving to the default template node of the last layer, and executing the service process of the first form according to the default sub-process corresponding to the default template node.
In the embodiment of the invention, the last layer of the decision tree further comprises a default template node, and the default template node is associated with a default sub-process, so that when the first form data does not meet the decision conditions of all the levels of the decision tree, the default template node of the last layer is used for moving to the default template node of the last layer, and the business process of the first form is executed according to the default sub-process corresponding to the default template node, thereby meeting the actual process template configuration requirements.
In some embodiments of the present invention, optionally, before receiving the first form data of a service type submitted by the user, the method further includes:
modifying the decision tree of the flow template;
storing and releasing the modified decision tree;
the decision tree for modifying the flow template includes, but is not limited to, at least one of:
modifying the decision condition and/or the sub-process of a sub-process template;
add or delete sub-flow templates.
In the embodiment of the present invention, before the flow is executed, the corresponding flow template may be configured or modified in a user-defined manner, and the modification of the flow template may be to increase or decrease the sub-flow template, or to modify the decision conditions, the sub-flows, or the execution priority of the sub-flow template, where the modification of the sub-flows includes, but is not limited to, the node structure, the node type, the node number, and the like of the sub-flows.
Specifically, referring to fig. 3, a new sub-flow template may be added by adding a sub-flow add button; the decision condition can be modified by re-inputting the content in the decision condition input box; each sub-process can be added or deleted through a sub-process adding or sub-process deleting button; the execution priority of each sub-flow template may also be adjusted by clicking the move up or down arrow.
In some embodiments of the present invention, optionally, the flow template for each business type includes multiple versions, the extracting the first form data is input into the first layer of the decision tree model, and before executing the decision condition associated with the decision node of the current level, the method further includes:
and determining a target decision tree model corresponding to the process template of the target version.
In some embodiments of the present invention, optionally, a flow template specific to each decision condition is configured, and the conditions do not need to be completely configured at one time, thereby supporting temporary storage and modification.
In the embodiment of the invention, when the process is released, the decision engine automatically generates the snapshot, distributes the version and archives and saves the version. When the process is initiated, the process templates with different versions can be selected by self, and the decision engine returns the process templates meeting the conditions after performing decision analysis.
In some embodiments of the present invention, a process execution method is comprised of a web page, a decision engine, and a process engine, wherein the web interface is configured to configure a plurality of sub-process templates of a process template for a business type; the decision engine is used for generating a decision tree according to the configured flow template; the flow engine is used for selecting a corresponding sub-flow according to first form data and a flow template of a corresponding business type submitted by a user, and then executing the circulation of the business flow for the first form according to the sub-flow.
Referring to fig. 7, fig. 7 is a second schematic flowchart of a process execution method according to an embodiment of the present invention, and specifically, fig. 7 is first form data based on an activity expense application approval business type submitted by a user;
referring to fig. 8, fig. 8 is a third schematic flowchart of a process execution method according to an embodiment of the present invention, and specifically, fig. 8 is a specific process of implementing the process execution method based on the first form data of fig. 7 and the process template configured for the activity expense application approval business type of fig. 5;
specifically, the method comprises the following steps:
the first step is as follows: judging whether the approval amount is less than 20000 according to the decision condition corresponding to the first layer of the decision tree when the first form data application amount is 60000;
the second step is that: if the execution condition is not met, switching to the second layer of the decision tree, and entering the decision condition corresponding to the second layer of the decision tree to judge whether the approval amount is more than or equal to 20000 and less than 50000;
the third step: if the execution condition is not met, switching to the third layer of the decision tree, and entering the decision condition corresponding to the third layer of the decision tree to judge whether the approval amount is larger than or equal to 50000; and the first form data meets the decision condition, and the business process of the first form is executed according to the sub-process associated with the third layer of decision tree, namely the D sub-process.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a flow template configuration apparatus 9 according to an embodiment of the present invention;
the embodiment of the present invention further provides a flow template configuration apparatus 9, including:
a first receiving module 901, configured to receive a first input of a process template for configuring a business process;
a display module 906, configured to display a flow template configuration interface in response to the first input;
a second receiving module 902, configured to receive, under the configuration interface, a second input for adding a sub-process template to the process template;
the display module 906 is further configured to display a sub-process template of the process template on the configuration interface in response to the second input;
a third receiving module 903, configured to receive a third input for the sub-process template;
a configuration module 907 for configuring a decision condition for the sub-flow template in response to the third input;
a fourth receiving module 904, configured to receive a fourth input for the sub-process template;
the configuration module 907 is further configured to configure a sub-process node for the sub-process template in response to the fourth input;
a fifth receiving module 905, configured to receive a fifth input;
an issuing module 908, configured to store and issue the flow template in response to the fifth input, where the flow template includes at least one of the sub-flow templates.
In the embodiment of the invention, the business judgment is separated from the template configuration, a complex and huge process template is split into a plurality of small sub-process templates according to the business decision conditions, and each sub-process template is not influenced and is completely independent; the split flow template has clear logic, simple layers, convenient understanding, higher release speed, more convenient template configuration modification, greatly reduced use threshold and extremely high fault tolerance rate.
In some embodiments of the present invention, optionally, further comprising:
a sixth receiving module, configured to receive a sixth input for the sub-process template;
the configuration module is further configured to configure an execution priority for the at least one sub-flow template in response to the sixth input.
In the embodiment of the invention, a complex and huge flow template is split into a plurality of small sub-flow templates according to the service decision conditions, the sub-flow templates are not influenced mutually and are completely independent, and a user can set the execution priority of each sub-flow template according to an application scene and actual requirements, thereby further realizing the configuration and management of the execution sequence of each sub-flow.
In some embodiments of the present invention, optionally, the publishing module 908 is further configured to store the flow template in a decision tree manner, where the decision tree includes multiple layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision nodes are associated with the decision conditions of the corresponding sub-process template, and the template nodes are associated with the sub-processes of the corresponding sub-process template.
In some embodiments of the present invention, optionally, the last layer of the decision tree further includes a default template node, and the default template node is associated with a default sub-process.
In the embodiment of the invention, the flow template is stored in a decision tree mode, the decision tree comprises a plurality of layers, each layer corresponds to a sub-flow template and comprises a decision node and a template node, the decision node is associated with the decision condition of the corresponding sub-flow template, and the template node is associated with the sub-flow of the corresponding sub-flow template; the first layer of the decision tree is used for executing the decision conditions of the sub-process template with the highest priority, and the other layers are sequentially associated with the corresponding sub-process templates according to the execution priority; when the process template is released, the decision tree can be automatically generated through the decision engine, and only the process template set which is tiled and visualized is displayed outwards.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a flow execution device 10 according to an embodiment of the present invention;
the embodiment of the invention also provides a flow executing device 10, which is applied to a service system, wherein the service system stores at least one flow template of a service type, the flow template is stored in a decision tree mode, and the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision node is associated with the decision condition of the corresponding sub-process template, and the template node is associated with the sub-process of the corresponding sub-process template, including:
a first receiving module 1001, configured to receive first form data of a service type submitted by a user;
an extracting module 1002, configured to extract the first form data, input the first layer of the decision tree, and execute a decision condition associated with a decision node of a current level;
a first processing module 1003, configured to enter a template node of a current hierarchy if the decision condition is met, and execute a business process of the first form according to a sub-process associated with the template node;
a second processing module 1004, configured to enter a decision node of a next level and execute a decision condition of a corresponding level if the decision condition is not satisfied, and then switch to the first processing module 1003 until all levels of the decision tree are executed.
In the embodiment of the invention, the flow template is constructed according to the decision tree, each sub-flow is taken as a leaf node in the decision tree, the configured condition is taken as a decision condition, and one tree is the flow template of a large business type, and the process template is tiled and visually displayed to shield complex association relation for users; each split sub-flow template has a small volume and approaches to a straight flow, and the node construction speed and the flow chart rendering speed during flow circulation are remarkably improved; when the process is executed, the decision engine automatically searches the path in the decision tree and matches a process template meeting the requirement for use, and the process execution efficiency is obviously improved along with the increase of the complexity of the service and the increase of the number of the participators.
In some embodiments of the present invention, optionally, the last layer of the decision tree further includes a default template node, and the default template node is associated with a default sub-process;
if the first form data does not satisfy the decision conditions of all levels of the decision tree, the second processing module 1004 is further configured to trend to the default template node of the last level, and execute the service flow of the first form according to the default sub-flow corresponding to the default template node.
In the embodiment of the invention, the last layer of the decision tree further comprises a default template node, and the default template node is associated with a default sub-process, so that when the first form data does not meet the decision conditions of all the levels of the decision tree, the default template node of the last layer is used for moving to the default template node of the last layer, and the business process of the first form is executed according to the default sub-process corresponding to the default template node, thereby meeting the actual process template configuration requirements.
In some embodiments of the present invention, optionally, a configuration module is further included;
the configuration module is used for modifying the decision tree of the flow template before receiving first form data of a service type submitted by a user, and storing and issuing the modified decision tree;
the decision tree for modifying the flow template includes, but is not limited to, at least one of:
modifying the decision condition and/or the sub-process of a sub-process template;
add or delete sub-flow templates.
In the embodiment of the present invention, before the flow is executed, the corresponding flow template may be configured or modified in a user-defined manner, and the modification of the flow template may be to increase or decrease the sub-flow template, or to modify the decision conditions, the sub-flows, or the execution priority of the sub-flow template, where the modification of the sub-flows includes, but is not limited to, the node structure, the node type, the node number, and the like of the sub-flows.
In some embodiments of the present invention, optionally, a selection module is further included;
the flow template of each business type comprises a plurality of versions, and the first form data is extracted and input into a first layer of the decision tree model;
the selection module is used for determining a target decision tree model corresponding to the flow template of the target version before executing the decision condition associated with the decision node of the current level.
In the embodiment of the invention, when the process is released, the decision engine automatically generates the snapshot, distributes the version and archives and saves the version. When the process is initiated, the process templates with different versions can be selected by self, and the decision engine returns the process templates meeting the conditions after performing decision analysis.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an electronic device 11 according to an embodiment of the present invention, where the electronic device 11 includes: the processor 1101, the memory 1102, and a program stored in the memory 1102 and capable of being executed on the processor 1101, where the program, when executed by the processor 1101, implements each process of the embodiment of the above-described flow template configuration method, or, as implementing each process of the embodiment of the above-described flow execution method, can achieve the same technical effect, and are not described herein again to avoid repetition.
An embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and the computer program, when executed by a processor, implements each process of the embodiment of the above-described flow template configuration method, or, as implementing each process of the embodiment of the above-described flow execution method, can achieve the same technical effect, and is not described herein again to avoid repetition.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for configuring a process template, comprising:
receiving a first input for configuring a process template of a business process;
displaying a process template configuration interface in response to the first input;
receiving a second input for adding a sub-process template to the process template under the configuration interface;
responding to the second input, and displaying sub-process templates of the process template on the configuration interface;
receiving a third input for the sub-flow template;
configuring a decision condition for the sub-flow template in response to the third input;
receiving a fourth input for the sub-flow template;
in response to the fourth input, configuring a sub-process node for the sub-process template;
receiving a fifth input;
and responding to the fifth input, saving and publishing the process template, wherein the process template comprises at least one sub-process template.
2. The process template configuration method of claim 1, further comprising:
receiving a sixth input for the sub-flow template;
in response to the sixth input, configuring an execution priority for the at least one sub-flow template.
3. The process template configuration method according to claim 1, wherein the storing and issuing the process template of the business process comprises:
saving the flow template in a decision tree mode, wherein the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision nodes are associated with the decision conditions of the corresponding sub-process template, and the template nodes are associated with the sub-processes of the corresponding sub-process template.
4. A flow execution method is applied to a business system, and is characterized in that the business system stores at least one flow template of a business type, the flow template is stored in a decision tree mode, and the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision node is associated with a decision condition of a corresponding sub-process template, and the template node is associated with a sub-process of the corresponding sub-process template, the method comprising:
a receiving step: receiving first form data of a service type submitted by a user;
the extraction step comprises: extracting the first form data, inputting the first form data into the first layer of the decision tree, and executing decision conditions associated with decision nodes of the current layer;
a first processing step: if the decision condition is met, entering a template node of the current level, and executing the business process of the first form according to the sub-process associated with the template node;
a second processing step: otherwise, entering a decision node of the next level and executing a decision condition of the corresponding level, and switching to the first processing step until all levels of the decision tree are executed.
5. The flow execution method of claim 4,
the last layer of the decision tree also comprises a default template node, and the default template node is associated with a default sub-process;
the method further comprises the following steps:
and if the first form data does not meet the decision conditions of all the levels of the decision tree, moving to the default template node of the last layer, and executing the service process of the first form according to the default sub-process corresponding to the default template node.
6. The process execution method of claim 4, wherein the receiving the first form data of a business type submitted by the user further comprises:
modifying the decision tree of the flow template;
storing and releasing the modified decision tree;
the decision tree for modifying the flow template includes, but is not limited to, at least one of:
modifying the decision condition and/or the sub-process of a sub-process template;
add or delete sub-flow templates.
7. A process template configuration apparatus, comprising:
the system comprises a first receiving module, a second receiving module and a processing module, wherein the first receiving module is used for receiving first input of a process template for configuring a business process;
the display module is used for responding to the first input and displaying a flow template configuration interface;
the second receiving module is used for receiving second input used for adding a sub-process template to the process template under the configuration interface;
the display module is further used for responding to the second input and displaying sub-process templates of the process template on the configuration interface;
a third receiving module, configured to receive a third input for the sub-process template;
a configuration module, configured to configure a decision condition for the sub-process template in response to the third input;
a fourth receiving module, configured to receive a fourth input for the sub-process template;
the configuration module is further configured to configure a sub-process node for the sub-process template in response to the fourth input;
a fifth receiving module, configured to receive a fifth input;
and the issuing module is used for responding to the fifth input, storing and issuing the process template, wherein the process template comprises at least one sub-process template.
8. A flow execution device is applied to a business system, and is characterized in that the business system stores at least one flow template of a business type, the flow template is stored in a decision tree mode, and the decision tree comprises a plurality of layers; each layer corresponds to a sub-process template and comprises a decision node and a template node; the decision node is associated with the decision condition of the corresponding sub-process template, and the template node is associated with the sub-process of the corresponding sub-process template, including:
the first receiving module is used for receiving first form data of a service type submitted by a user;
the extraction module is used for extracting the first layer of the decision tree to which the first form data is input and executing decision conditions associated with decision nodes of the current level;
the first processing module is used for entering a template node of the current level if the decision condition is met, and executing the business process of the first form according to the sub-process associated with the template node;
and the second processing module is used for entering a decision node of the next level and executing the decision condition of the corresponding level if the decision condition is not met, and switching to the first processing module until all levels of the decision tree are executed.
9. An electronic device, comprising: a processor, a memory and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the process template configuration method of any of claims 1 to 3 or the steps of the process execution method of any of claims 4 to 6.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the steps of the flow template configuration method according to any one of claims 1 to 3, or the steps of the flow execution method according to any one of claims 4 to 6.
CN202011180589.XA 2020-10-29 2020-10-29 Flow template configuration method, flow execution method and device and electronic equipment Pending CN112288397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011180589.XA CN112288397A (en) 2020-10-29 2020-10-29 Flow template configuration method, flow execution method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011180589.XA CN112288397A (en) 2020-10-29 2020-10-29 Flow template configuration method, flow execution method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112288397A true CN112288397A (en) 2021-01-29

Family

ID=74373925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011180589.XA Pending CN112288397A (en) 2020-10-29 2020-10-29 Flow template configuration method, flow execution method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112288397A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065746A (en) * 2021-03-12 2021-07-02 深圳赛动生物自动化有限公司 Dynamic editing method, device, system and medium for stem cell preparation process flow
CN113609831A (en) * 2021-08-05 2021-11-05 北京金堤科技有限公司 Method and device for generating product delivery flow template

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404507A (en) * 2015-11-04 2016-03-16 山东中创软件工程股份有限公司 Process template construction method and system
CN105550851A (en) * 2015-12-09 2016-05-04 中国建设银行股份有限公司 Business flow generation method and system
CN105700888A (en) * 2016-01-14 2016-06-22 国网山东省电力公司物资公司 Visualization rapid developing platform based on jbpm workflow engine
CN106845741A (en) * 2015-12-03 2017-06-13 北大方正集团有限公司 The customization device and customization method of workflow
CN109615333A (en) * 2018-12-13 2019-04-12 普元信息技术股份有限公司 The system and method examined step by step in cloud platform based on drawer model realization process
CN109670686A (en) * 2018-12-05 2019-04-23 泰康保险集团股份有限公司 Construct method, equipment and the business process management system of operation flow template
CN109669690A (en) * 2018-09-25 2019-04-23 平安科技(深圳)有限公司 Vocational work stream generating method, device, equipment and computer readable storage medium
CN111199379A (en) * 2018-11-20 2020-05-26 马上消费金融股份有限公司 Examination and approval method, examination and approval device and storage medium of workflow engine
CN111199381A (en) * 2019-11-25 2020-05-26 江苏艾佳家居用品有限公司 Intelligent work order approval method based on process engine

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404507A (en) * 2015-11-04 2016-03-16 山东中创软件工程股份有限公司 Process template construction method and system
CN106845741A (en) * 2015-12-03 2017-06-13 北大方正集团有限公司 The customization device and customization method of workflow
CN105550851A (en) * 2015-12-09 2016-05-04 中国建设银行股份有限公司 Business flow generation method and system
CN105700888A (en) * 2016-01-14 2016-06-22 国网山东省电力公司物资公司 Visualization rapid developing platform based on jbpm workflow engine
CN109669690A (en) * 2018-09-25 2019-04-23 平安科技(深圳)有限公司 Vocational work stream generating method, device, equipment and computer readable storage medium
CN111199379A (en) * 2018-11-20 2020-05-26 马上消费金融股份有限公司 Examination and approval method, examination and approval device and storage medium of workflow engine
CN109670686A (en) * 2018-12-05 2019-04-23 泰康保险集团股份有限公司 Construct method, equipment and the business process management system of operation flow template
CN109615333A (en) * 2018-12-13 2019-04-12 普元信息技术股份有限公司 The system and method examined step by step in cloud platform based on drawer model realization process
CN111199381A (en) * 2019-11-25 2020-05-26 江苏艾佳家居用品有限公司 Intelligent work order approval method based on process engine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李天驰: ""基于JPBM工作流的车辆保险理赔应用"", 《微型机与应用》 *
蒋建彬 等: ""基于SOA的审批流程管理系统研究与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065746A (en) * 2021-03-12 2021-07-02 深圳赛动生物自动化有限公司 Dynamic editing method, device, system and medium for stem cell preparation process flow
CN113609831A (en) * 2021-08-05 2021-11-05 北京金堤科技有限公司 Method and device for generating product delivery flow template

Similar Documents

Publication Publication Date Title
CN106126521B (en) The social account method for digging and server of target object
CN104020997B (en) Extensible graphical rule application system
US9208137B2 (en) Method to preview an undo/redo list
CN106933889A (en) For regular collocation method, display methods and the client screened
CN111382956A (en) Enterprise group relationship mining method and device
CN101464797A (en) Method and system for automatically generating test use case based on unified modeling language activity graph
EP2983117A1 (en) Event processing method in stream processing system and stream processing system
CN112288397A (en) Flow template configuration method, flow execution method and device and electronic equipment
CN115857920A (en) Application page development method, device and system, computing equipment and storage medium
CN108845942A (en) Product feature management method, device, system and storage medium
CN105591803A (en) Resource processing method and equipment
CN113641806B (en) Dialogue method, dialogue system, electronic equipment and storage medium
CN111930366B (en) Rule engine implementation method and system based on JIT real-time compilation
CN114936019A (en) Component and strategy linkage method, device, equipment, system and storage medium
CN107832440A (en) A kind of data digging method, device, server and computer-readable recording medium
CN103324679B (en) Control method and equipment that in a kind of caching server, data update
CN112988123B (en) DDD-oriented software design method and system
CN114816170A (en) Rule scheme generation method, device, medium and electronic equipment
CN115329753B (en) Intelligent data analysis method and system based on natural language processing
CN116911763A (en) Flow approval method, device, terminal equipment and storage medium
CN115438643A (en) Questionnaire template configuration method, device, equipment, storage medium and product
CN115543428A (en) Simulated data generation method and device based on strategy template
CN112559603B (en) Feature extraction method, device, equipment and computer-readable storage medium
US9483332B2 (en) Event processing method in stream processing system and stream processing system
CN112163840A (en) Workflow definition method, cross-region management method and device of example

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210129

RJ01 Rejection of invention patent application after publication