CN114327601A - Business process control method, device, system and related equipment - Google Patents

Business process control method, device, system and related equipment Download PDF

Info

Publication number
CN114327601A
CN114327601A CN202111675833.4A CN202111675833A CN114327601A CN 114327601 A CN114327601 A CN 114327601A CN 202111675833 A CN202111675833 A CN 202111675833A CN 114327601 A CN114327601 A CN 114327601A
Authority
CN
China
Prior art keywords
node
business process
business
nodes
database
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
CN202111675833.4A
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.)
Shanghai Pinshun Information Technology Co ltd
Original Assignee
Shanghai Pinshun Information Technology 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 Shanghai Pinshun Information Technology Co ltd filed Critical Shanghai Pinshun Information Technology Co ltd
Priority to CN202111675833.4A priority Critical patent/CN114327601A/en
Publication of CN114327601A publication Critical patent/CN114327601A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device, a system and related equipment for controlling a business process, wherein the method comprises the following steps: judging whether a first business process which changes exists in a database or not; if yes, updating the first business process which exists in the memory before the change by using the changed first business process; when a second business process needs to be executed, determining a corresponding second business process from the memory according to the process number of the second business process, and loading the second business process to the process engine; each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes. Each business process is composed of process nodes and the connection relation among the process nodes, the process nodes are precompiled process nodes, and the business process composed of the process nodes can be executed by a process engine without recompiling, so that the development and deployment processes of the business process are simplified, and the maintainability of the business process is enhanced.

Description

Business process control method, device, system and related equipment
Technical Field
The present application relates to the field of process control technologies, and in particular, to a method, an apparatus, a system and a related device for controlling a business process.
Background
Activti is a Business Process Management (BPM) framework, which is an open-source, flexible and easily extensible executable Process language framework covering the fields of Business Process Management, workflow, service collaboration, and the like. Activiti can be used to develop Workflow (Workflow) applications, intended to provide solutions for automating parts or the whole of business processes in a computer application environment, by automatically proceeding through the process of passing documents, information or tasks between multiple participants according to some predefined rules, thus achieving some desired business goal.
When secondary development is performed based on the activti framework, the whole execution flow can be configured in the form of XML generally. The XML file is used to describe not only the flow execution steps, but also which java class each node is specifically executed by. Specifically, the nodes include start and end nodes (start and end), parallel nodes (fork and join), split nodes (split), and the like. When the flow needs to be modified to execute specific logic, the configuration of the XML file needs to be modified each time, and then the project is redeployed, so that the steps are tedious and lack of flexibility.
Therefore, how to simplify the development and deployment of the business process becomes an urgent problem to be solved.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a system and related devices for controlling a business process, so as to simplify the development and deployment of the business process.
In order to achieve the above object, a first aspect of the present application provides a method for controlling a service flow, including:
judging whether a first business process which changes exists in a database, wherein at least one business process is stored in the database;
if yes, updating the first service flow existing in the memory before the change by using the changed first service flow, wherein each service flow is loaded in the memory from the database in advance;
when a second business process needs to be executed, determining a corresponding second business process from the memory according to the process number of the second business process, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
Preferably, the process node is an instantiation object of a class inherited to an activti framework, and the process node includes: the system comprises a start node, an end node, a shunting node, a data node, a parallel node, an aggregation node and a strategy node.
Preferably, the process of constructing the business process includes:
generating at least one process node based on the selected node template and configuration information corresponding to the node template;
and generating a business process based on the connection relation of each process node.
Preferably, the process of generating at least one flow node based on the selected node template and configuration information corresponding to the node template comprises:
for each selected node template:
instantiating the node template according to the configuration information of the node template to obtain a process node;
wherein the node template is a class inherited to an Activiti framework; the configuration information of the node template comprises basic attributes and field attributes of the process node to be generated, the basic attributes comprise node description, class name and synchronization attributes, and the field attributes comprise attributes of the related fields.
Preferably, the process of generating a business process based on the connection relationship of each process node includes:
determining the logical relationship of each process node according to the connection information of each process node input by a user;
and generating a business process according to the process nodes and the logic relationship of the process nodes.
Preferably, the step of determining whether there is a changed first business process in the database includes:
and monitoring the Zookeeper node, wherein the Zookeeper node stores state information of each process node, and when a new service process or a modified service process occurs in the database, the state of the new service process or the modified service process is synchronized to the Zookeeper node.
A second aspect of the present application provides a business process control apparatus, including:
the system comprises a judging unit, a judging unit and a judging unit, wherein the judging unit is used for judging whether a first business process which changes exists in a database or not, and the database stores at least one business process;
the updating unit is used for updating the first business process which is existed in the memory before the change by using the changed first business process when the judging unit judges that the database has the changed first business process, and each business process is loaded in the memory from the database in advance;
the loading unit is used for determining a corresponding second business process from the memory according to the process number of the second business process when the second business process needs to be executed, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
A third aspect of the present application provides a service flow control device, including: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program, and implement the steps of the service flow control method.
A fourth aspect of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the business process control method as described above.
A fifth aspect of the present application provides a business process control system, including:
the flow editor is used for creating, deleting or editing the service flow through the visual operation interface and storing the created or edited service flow into the database;
a business process control device for implementing the steps of the business process control method;
and the process engine is used for executing the business process.
According to the technical scheme, whether the first business process which changes exists is judged by monitoring the database. Wherein the database stores at least one business process. And updating the first business process to the memory when the first business process which changes is judged to exist. And the memory is loaded with all business processes from the database in advance. The changed business processes are loaded into the memory from the database in a quasi-real-time manner, so that each business process in the memory is kept to be the latest version. When the second business process needs to be executed, the corresponding target business process is determined from the memory according to the process number of the second business process, and the target business process is loaded to the process engine. Each business process is composed of process nodes and a connection relation between the process nodes, the process nodes are precompiled process nodes, the business processes composed of the process nodes can be executed by the process engine without recompiling, the development and deployment processes of the business processes are simplified, and the maintainability of the business processes is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a business process control method disclosed in an embodiment of the present application;
fig. 2 is a schematic diagram of a business process control system disclosed in an embodiment of the present application;
FIG. 3 illustrates a schematic view of a visual operation interface disclosed in an embodiment of the present application;
FIG. 4 illustrates another schematic view of a visual operation interface disclosed in an embodiment of the present application;
fig. 5 is a schematic diagram of a limb image recognition device disclosed in an embodiment of the present application;
fig. 6 is another schematic diagram of a limb image recognition device disclosed in the embodiment of the present application;
fig. 7 is a schematic diagram of a limb image recognition device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The following describes a method for controlling a service flow provided in an embodiment of the present application. Referring to fig. 1, a method for controlling a service flow according to an embodiment of the present application may include the following steps:
step S101, judging whether the database has a first business process which changes. If yes, go to step S102.
Wherein the database stores at least one business process. In addition, in addition to storing each business process through a database, each business process may also be stored through Redis (remote dictionary service).
Step S102, updating the first business process existing in the memory before the change by using the changed first business process.
In which, the memory is loaded with the business processes from the database mentioned in step S101 in advance.
Step S103, when the second service process needs to be executed, loading the second service process in the memory to the process engine.
Specifically, according to the process number of the second business process, the corresponding second business process is determined from the memory, then the second business process is loaded to the process engine, and then the process engine executes the business process.
Each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes. It is understood that the change of the business process detected in step S101 includes one or more operations of a change in configuration parameters of the business process, a change in the order of the upper flow nodes of the business process, and a deletion of a part of the flow nodes, and the business process with the change can be executed by the flow engine without recompilation.
It is understood that step S103 is a step independent from steps S101 and S102, and the execution thereof is triggered by a condition, specifically, when it is detected that the second business process needs to be executed, step S103 is executed.
The method and the device for monitoring the database firstly monitor the database to judge whether the first business process which changes exists. Wherein the database stores at least one business process. And updating the first business process to the memory when the first business process which changes is judged to exist. And the memory is loaded with all business processes from the database in advance. The changed business processes are loaded into the memory from the database in a quasi-real-time manner, so that each business process in the memory is kept to be the latest version. When the second business process needs to be executed, the corresponding target business process is determined from the memory according to the process number of the second business process, and the target business process is loaded to the process engine. Each business process is composed of process nodes and a connection relation between the process nodes, the process nodes are precompiled process nodes, the business processes composed of the process nodes can be executed by the process engine without recompiling, the development and deployment processes of the business processes are simplified, and the maintainability of the business processes is enhanced.
In some embodiments of the present application, the above-mentioned flow nodes are instantiation objects of classes that inherit to an activti framework. Specifically, the process of generating these flow nodes may include:
and (4) abstracting general nodes by combining the service characteristics, and realizing the common logic through the general nodes. Different service scenes only need to inherit the template class of the universal node, and service requirements are realized through the combination of different universal nodes.
Specifically, the generic nodes are various execution classes of the abstracted Activity, for example, for an entry node of a business process, the generic nodes may inherit from StartActivity, and for a node implementing branching, the generic nodes may inherit from splittiness.
The Activities are mainly responsible for flow and logic control before and after the nodes, each Activity also comprises a delete abstraction for specifically executing the flow, and the core of the delete is an execute method and is responsible for concrete implementation of the abstract class.
In some embodiments of the present application, the above-mentioned flow nodes may include: the system comprises a start node, an end node, a shunting node, a data node, a parallel node, an aggregation node and a strategy node.
The start node represents an execution entry of the process and is a starting point for starting and executing the process. Wherein the start node may inherit from StartActivity, which accepts Flow Execution of the session context, triggering Execution of the Activity node of the outlying Transition.
The end node represents that the whole flow is executed.
The shunting node is used for processing the logic branch. When a service flow is executed to a certain node, a branch (i.e. different routes are taken under different conditions) may occur, and a shunting node is needed at this time, and the shunting node has an inlet, but a plurality of outlets can be used for pointing to different logic branches.
The data node is used for providing related data loading in the process of executing the process. For example, if a user mobile phone number is required in the operation process of the business process, a data node may be placed in front of the node, and the data node is used by a subsequent node after the data is loaded. The data node can inherit from Java Activity and is a Java task node, and the property of the data node comprises a Java entrusted object and a corresponding temporary input variable. When the Java task node is executed, the Java entrusting object is called to execute the task, and after the task execution is finished, the execution of the Activity node of the going Transition is triggered.
The parallel nodes are similar to the shunting nodes, and the biggest difference between the parallel nodes and the shunting nodes is that the shunting nodes only select one logic branch to execute finally, and the parallel nodes execute all the logic branches in parallel in a multithreading mode and summarize results after all the logic branches are executed, so that the parallel nodes are matched with the aggregation nodes for use. The parallel nodes can inherit from ForkActivity, and the parallel nodes support asynchronous parallel execution of Activity on each outputting Transition.
The aggregation node is used for being matched with the parallel node, and a plurality of logic branch results of the parallel node are finally gathered to the aggregation node. The aggregation node may inherit from the join Activity, and when all the incorporating transitions of the aggregation node are executed, the Activity of the outlying Transition is executed.
The strategy node is a relatively universal rule execution strategy node defined by a developer, which is equivalent to providing an execution template, the template already contains basic logic operation, and the developer only needs to configure a small amount of self-defined parameters.
In addition, the process nodes can also comprise custom nodes, the custom nodes are used for aiming at the non-general logic of special scenes, and developers can customize the nodes according to the needs.
The types of the process nodes related by the method are few, but the combination and collocation among different process nodes can well facilitate the realization of complex logic, and the process nodes are pre-compiled, so that the development process of the business process is simplified, and the development and deployment efficiency is improved.
In some embodiments of the present application, the process of constructing the business process mentioned above may include:
s1, at least one flow node is generated based on the selected node template and the configuration information corresponding to the node template.
And S2, generating the business process based on the connection relation of the process nodes.
Generally, a business process includes a plurality of process nodes, and when a business process is constructed, the process nodes need to be constructed first, then a logical relationship is given to each process node, and finally the business process is generated.
In some embodiments of the present application, the step of generating at least one flow node based on the selected node template and the configuration information corresponding to the node template at S1 may include:
for each selected node template:
instantiating the node template according to the configuration information of the node template to obtain a process node;
wherein the node template is a class inherited to an Activiti framework; the configuration information of the node template comprises basic attributes and field attributes of the process node to be generated, the basic attributes comprise node description, class name and synchronization attributes, and the field attributes comprise attributes of the related fields.
In some embodiments of the application, the step of generating the business process based on the connection relationship between the process nodes in the above S2 may include:
and S21, determining the logical relationship of each process node according to the connection information of each process node input by the user.
And S22, generating the business process according to the process nodes and the logic relation of the process nodes.
The flow nodes can be added in a dragging mode through a visual operation interface, and after the attribute editing of the flow nodes is completed, the logical relationship between the flow nodes is described by adding corresponding connecting lines with flow directions to the flow nodes.
In some embodiments of the present application, the step S101 of determining whether there is a process of the first business process that changes in the database may include:
and monitoring the Zookeeper node.
The Zookeeper node stores state information of each process node, and when a new service flow or a modified service flow occurs in the database, the state of the new service flow or the modified service flow is synchronized to the Zookeeper node. By monitoring the Zookeeper node, the change condition of the service flow can be obtained.
The service flow control system provided in the embodiment of the present application is described below. Referring to fig. 2, a service flow control system provided in the embodiment of the present application may include:
the flow editor 10 is used for creating, deleting or editing the service flow through the visual operation interface, and storing the created or edited service flow into the database;
a service flow control device 20, configured to implement the steps of the service flow control method in the embodiments described above;
and the process engine 40 is used for executing the business process.
Through the process editor 10, a user can construct a business process in a mouse dragging manner through a visual operation interface. Fig. 3 and fig. 4 illustrate a visual operation interface in the flow editor 10 according to the embodiment of the present application, where fig. 3 illustrates a selection interface of a flow node, and fig. 4 illustrates an interface for editing a property of the flow node. As shown in fig. 4, the process node represents a general java processing class, and the user only needs to adjust individual parameters according to a specific scenario to realize personalized configuration of the process node. The visual and dragging operation mode in the process editor 10 enables the creation of the business process to be humanized, and the efficiency is high, thereby being very convenient for quick iteration.
The logical relationship and the execution sequence between the process nodes are constructed through the process editor 10, and the connection between the process nodes not only enables the operation to be more intuitive, but also plays a vital role in shunting the nodes. The connection line following the shunting node not only can configure the shunting decision in the form of an el (expression) expression, but also can adjust the sequence of different flow directions, thereby playing the role of self-defining the priority.
Each complete flow chart is distinguished by the version number, if the flow chart has large adjustment, only a new version needs to be copied based on the original flow chart, and the new version can be online at any time as required after the new version is adjusted.
Each process node involved in the business process control device 20 has universality, and only individual node parameters need to be modified, the modified flow chart is persisted to a database, and the service memory is synchronously updated to take effect in real time. Can bring great convenience to developers and remarkably enhance the maintainability of the system.
After the business process is adjusted, the business process is firstly persisted to a database and then is updated to a memory in real time in a mode of event pushing and monitoring. After the service process control device 20 acquires the process code to be executed each time, the latest online version process configuration is loaded from the system memory, and then the process engine 40 sequentially executes the whole process according to the sequence of each process node.
The service process control device 20 provided in the embodiment of the present application is described below, and the service process control device 20 described below and the service process control method described above may be referred to correspondingly.
Referring to fig. 5, a service flow control apparatus provided in an embodiment of the present application may include:
the system comprises a judging unit 21, a processing unit and a processing unit, wherein the judging unit is used for judging whether a first business process which changes exists in a database, and the database stores at least one business process;
an updating unit 22, configured to update the first service flow that is in the memory before the change by using the changed first service flow when the determining unit determines that the database has the changed first service flow, where each service flow is loaded in the database in advance in the memory;
the loading unit 23 is configured to, when a second service flow needs to be executed, determine a corresponding second service flow from the memory according to the flow number of the second service flow, and load the second service flow to the flow engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
In some embodiments of the present application, referring to fig. 6, the business process control apparatus further includes a process constructing unit 24, where the process constructing unit is configured to construct a business process, and a process of constructing the business process by the process constructing unit 24 may include:
generating at least one process node based on the selected node template and configuration information corresponding to the node template;
and generating a business process based on the connection relation of each process node.
In some embodiments of the present application, the process of generating at least one process node by the process construction unit 24 based on the selected node template and the configuration information corresponding to the node template may include:
for each selected node template:
instantiating the node template according to the configuration information of the node template to obtain a process node;
wherein the node template is a class inherited to an Activiti framework; the configuration information of the node template comprises basic attributes and field attributes of the process node to be generated, the basic attributes comprise node description, class name and synchronization attributes, and the field attributes comprise attributes of the related fields.
In some embodiments of the present application, the process creating unit 24 generates a business process based on the connection relationship between the process nodes, and may include:
determining the logical relationship of each process node according to the connection information of each process node input by a user;
and generating a business process according to the process nodes and the logic relationship of the process nodes.
In some embodiments of the present application, the determining unit 21 may determine whether there is a process of the first business process that is changed in the database, including:
and monitoring the Zookeeper node, wherein the Zookeeper node stores state information of each process node, and when a new service process or a modified service process occurs in the database, the state of the new service process or the modified service process is synchronized to the Zookeeper node.
The business process control device provided by the embodiment of the application can be applied to business process control equipment, such as a computer and the like. Optionally, fig. 7 shows a block diagram of a hardware structure of the business process control device, and referring to fig. 7, the hardware structure of the business process control device may include: at least one processor 31, at least one communication interface 32, at least one memory 33 and at least one communication bus 34.
In the embodiment of the present application, the number of the processor 31, the communication interface 32, the memory 33 and the communication bus 34 is at least one, and the processor 31, the communication interface 32 and the memory 33 complete the communication with each other through the communication bus 34;
the processor 31 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present application, etc.;
the memory 32 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory 33 stores a program and the processor 31 may invoke the program stored in the memory 33, the program being for:
judging whether a first business process which changes exists in a database, wherein at least one business process is stored in the database;
if yes, updating the first service flow existing in the memory before the change by using the changed first service flow, wherein each service flow is loaded in the memory from the database in advance;
when a second business process needs to be executed, determining a corresponding second business process from the memory according to the process number of the second business process, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
judging whether a first business process which changes exists in a database, wherein at least one business process is stored in the database;
if yes, updating the first service flow existing in the memory before the change by using the changed first service flow, wherein each service flow is loaded in the memory from the database in advance;
when a second business process needs to be executed, determining a corresponding second business process from the memory according to the process number of the second business process, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
Alternatively, the detailed function and the extended function of the program may be as described above.
In summary, the following steps:
the method and the device for monitoring the database firstly monitor the database to judge whether the first business process which changes exists. Wherein the database stores at least one business process. And updating the first business process to the memory when the first business process which changes is judged to exist. And the memory is loaded with all business processes from the database in advance. The changed business processes are loaded into the memory from the database in a quasi-real-time manner, so that each business process in the memory is kept to be the latest version. When the second business process needs to be executed, the corresponding target business process is determined from the memory according to the process number of the second business process, and the target business process is loaded to the process engine. Each business process is composed of process nodes and a connection relation between the process nodes, the process nodes are precompiled process nodes, the business processes composed of the process nodes can be executed by the process engine without recompiling, the development and deployment processes of the business processes are simplified, and the maintainability of the business processes is enhanced.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, the embodiments may be combined as needed, and the same and similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for controlling a business process, comprising:
judging whether a first business process which changes exists in a database, wherein at least one business process is stored in the database;
if yes, updating the first service flow existing in the memory before the change by using the changed first service flow, wherein each service flow is loaded in the memory from the database in advance;
when a second business process needs to be executed, determining a corresponding second business process from the memory according to the process number of the second business process, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
2. The method of claim 1, wherein the process node is an instantiation object of a class that inherits an Activiti framework, and wherein the process node comprises: the system comprises a start node, an end node, a shunting node, a data node, a parallel node, an aggregation node and a strategy node.
3. The method of claim 1, wherein the business process building process comprises:
generating at least one process node based on the selected node template and configuration information corresponding to the node template;
and generating a business process based on the connection relation of each process node.
4. The method of claim 3, wherein generating at least one process node based on the selected node template and configuration information corresponding to the node template comprises:
for each selected node template:
instantiating the node template according to the configuration information of the node template to obtain a process node;
wherein the node template is a class inherited to an Activiti framework; the configuration information of the node template comprises basic attributes and field attributes of the process node to be generated, the basic attributes comprise node description, class name and synchronization attributes, and the field attributes comprise attributes of the related fields.
5. The method of claim 3, wherein the process of generating the business process based on the connection relationship of each process node comprises:
determining the logical relationship of each process node according to the connection information of each process node input by a user;
and generating a business process according to the process nodes and the logic relationship of the process nodes.
6. The method according to any one of claims 1 to 5, wherein the step of determining whether the database has the changed first business process comprises:
and monitoring the Zookeeper node, wherein the Zookeeper node stores state information of each process node, and when a new service process or a modified service process occurs in the database, the state of the new service process or the modified service process is synchronized to the Zookeeper node.
7. A business process control apparatus, comprising:
the system comprises a judging unit, a judging unit and a judging unit, wherein the judging unit is used for judging whether a first business process which changes exists in a database or not, and the database stores at least one business process;
the updating unit is used for updating the first business process which is existed in the memory before the change by using the changed first business process when the judging unit judges that the database has the changed first business process, and each business process is loaded in the memory from the database in advance;
the loading unit is used for determining a corresponding second business process from the memory according to the process number of the second business process when the second business process needs to be executed, and loading the second business process to the process engine;
each business process is composed of process nodes and a connection relation between the process nodes, and the process nodes are precompiled process nodes.
8. A business process control apparatus, comprising: a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program and realizing the steps of the business process control method according to any one of claims 1 to 6.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the business process control method of any one of claims 1 to 6.
10. A business process control system, comprising:
the flow editor is used for creating, deleting or editing the service flow through the visual operation interface and storing the created or edited service flow into the database;
a business process control device for implementing each step of the business process control method according to any one of claims 1 to 6;
and the process engine is used for executing the business process.
CN202111675833.4A 2021-12-31 2021-12-31 Business process control method, device, system and related equipment Pending CN114327601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111675833.4A CN114327601A (en) 2021-12-31 2021-12-31 Business process control method, device, system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111675833.4A CN114327601A (en) 2021-12-31 2021-12-31 Business process control method, device, system and related equipment

Publications (1)

Publication Number Publication Date
CN114327601A true CN114327601A (en) 2022-04-12

Family

ID=81023449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111675833.4A Pending CN114327601A (en) 2021-12-31 2021-12-31 Business process control method, device, system and related equipment

Country Status (1)

Country Link
CN (1) CN114327601A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114926143A (en) * 2022-05-16 2022-08-19 三峡高科信息技术有限责任公司 Method and platform for configuring enterprise workflow based on business components and process engine
CN115291856A (en) * 2022-07-19 2022-11-04 中电金信软件有限公司 Flow establishing method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114926143A (en) * 2022-05-16 2022-08-19 三峡高科信息技术有限责任公司 Method and platform for configuring enterprise workflow based on business components and process engine
CN114926143B (en) * 2022-05-16 2022-11-08 三峡高科信息技术有限责任公司 Method and platform for configuring enterprise workflow based on business components and process engine
CN115291856A (en) * 2022-07-19 2022-11-04 中电金信软件有限公司 Flow establishing method and device and electronic equipment
CN115291856B (en) * 2022-07-19 2023-09-22 中电金信软件有限公司 Flow establishing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
Morin et al. An aspect-oriented and model-driven approach for managing dynamic variability
US8762187B2 (en) Easy process modeling platform
US20170372442A1 (en) Healthcare workflow system
JP4599364B2 (en) Automated workflow service system
US9589240B2 (en) System and method for flexible chaining of distinct workflow task instances in a business process execution language workflow
CN114327601A (en) Business process control method, device, system and related equipment
US20120284686A1 (en) System and method for mobile application development
US20050268232A1 (en) Software logistics for pattern-based applications
US20080015911A1 (en) Methods and apparatuses for developing business solutions
US20160103660A1 (en) Metadata based eventing
CN106201614A (en) A kind of universal method and system that multiple similar software can be carried out chain type upgrading
Blouin et al. Combining aspect-oriented modeling with property-based reasoning to improve user interface adaptation
US8126693B2 (en) Method and system for modeling, validating and automatically resolving goals and dependencies between elements within a topology
US8126692B2 (en) Method and system for modeling, validating and automatically resolving goals and dependencies between elements within a topology
US7606820B2 (en) Detecting and handling changes to back-end systems
JP5267732B2 (en) Web page control method, computer system, and program
US20120060141A1 (en) Integrated environment for software design and implementation
JP2021501429A (en) Converting Specifications to Persistent Computer Programs
US9244652B1 (en) State management for task queues
CN115526578A (en) Method and device for generating project flow, electronic equipment and storage medium
US7831921B2 (en) Navigation connection points
JP2020509792A (en) System and method for managing dynamic design data for a virtual environment
Caire et al. Wolf–an Eclipse Plug-in for WADE
US20130346141A1 (en) Workflow modeling with workets and transitions
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium

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