CN113535128A - Design method of process engine - Google Patents
Design method of process engine Download PDFInfo
- Publication number
- CN113535128A CN113535128A CN202110615393.7A CN202110615393A CN113535128A CN 113535128 A CN113535128 A CN 113535128A CN 202110615393 A CN202110615393 A CN 202110615393A CN 113535128 A CN113535128 A CN 113535128A
- Authority
- CN
- China
- Prior art keywords
- configuring
- node
- flow
- nodes
- business
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a design method of a process engine, which comprises the following steps: step 1: configuring a form; step 2: configuring a flow; and step 3: and generating the service function. The invention can generate the business function according to the process configuration, rapidly configure the general business process and meet the business function requirement. The form can be dynamically generated, the nodes can be freely transmitted, the configuration can be dynamically adjusted to meet the service requirement, the development cost is saved, and the development efficiency is improved.
Description
Technical Field
The invention relates to the technical field of computer software design, in particular to a design method of a process engine.
Background
The process engine is usually designed based on a finite state machine (the finite state machine represents a finite number of states and a mathematical model of behaviors such as conversion, action and the like among the states), is a software system which operates according to an external input object or a plurality of objects, can be used for driving business to flow according to a set fixed process, can greatly reduce the cost of designing the business by using a set process under the condition of complicated and changeable business, and ensures the accuracy of business execution.
The existing design methods of the process engine have two types: one is a flow engine design method based on linear scheduling, and the flow engine needs to perform each action linearly, and this method needs to exhaust all states of all flows and conditions for switching between states, and is limited to very simple object operation. The other method is a flow engine design method based on nonlinear scheduling, which supports multi-time input and flow nonlinear scheduling, and when a certain event causes the state of one or more objects to change, the action execution sequence of each object is not preset, but is dynamically selected by the flow engine according to the specific context at that time. The method is not limited to the linear execution sequence of the flow, but the flow engine determines the object to be called next and the action of the object, so that the complex system can be operated, but the excessive object operation makes the program design become complicated and complicated.
By integrating the design method, the existing process engine technology has certain defects and shortcomings, and mainly embodies the following points:
1. the process is not integrated with the form, and the form cannot be dynamically modified and configured
2. The transfer conditions of the process nodes can not be dynamically configured according with the service according to the form content 3. the process transfer process can not be freely circulated.
Disclosure of Invention
The invention aims to provide a design method of a flow engine, which aims to solve the technical problem that the flow circulation in the flow engine in the prior art is high in limitation degree.
In order to solve the technical problems, the invention specifically provides the following technical scheme:
a design method of a flow engine comprises the following steps:
step 1: configuring a form;
step 2: configuring a flow;
and step 3: and generating the service function.
As a preferred scheme of the invention, step 1 configures and generates a business function form through a database table.
As a preferred solution of the present invention, the functions that can be realized by the service function form according to the service requirement include but are not limited to: adjusting form fields, form field display, and conditional queries.
As a preferred scheme of the invention, the implementation process of the step 2 comprises the following steps:
step 21: configuring a flow correlation form;
step 22: configuring a process node;
step 23: and configuring flow node transmission.
As a preferred solution of the present invention, step 21 is implemented by selecting a form to be configured and associating the selected form with the process.
As a preferred aspect of the present invention, step 22 includes assigning a hierarchy to the process nodes, configuring a node role for each process node assigned to the hierarchy, and specifying permissions associated with the node roles.
As a preferred aspect of the present invention, the nodes are configured for mesh transmission.
As a preferred scheme of the present invention, the node can be arbitrarily transmitted according to the transmission condition, and the transmission condition is configured according to the service form.
As a preferable scheme of the invention, the nodes can flow back and forth until the flow is finished, and any node can be configured to finish.
As a preferred scheme of the present invention, a corresponding flow service function is generated according to the flow configuration in step 2.
Compared with the prior art, the invention has the following beneficial effects:
the design method of the flow engine comprises the following steps: step 1: configuring a form; step 2: configuring a flow; and step 3: and generating the service function. The form can be dynamically generated, the nodes can be freely transmitted, the configuration can be dynamically adjusted to meet the service requirement, the development cost is saved, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
FIG. 1 is a flow chart of a method for designing a process engine 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 only a part of the embodiments of the present invention, 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 invention.
As shown in the flowchart of fig. 1, the present invention provides a method for designing a process engine, which comprises the steps of:
step 1: configuring a form; and configuring and generating a business function form through a database table.
The functions that can be realized by the business function form according to business requirements include but are not limited to: adjusting form fields, form field display, and conditional queries.
Step 2: configuring a flow; the detailed implementation process comprises the following steps:
the implementation process of the step 2 comprises the following steps:
step 21: configuring a flow correlation form; and selecting a form to be configured, and associating the selected form with the process, so as to realize the integration of the business form. The process is integrated with the form and the table, and can be dynamically modified and configured, so that the cost is saved, and the efficiency is improved.
Step 22: configuring a process node; the method comprises the steps of distributing hierarchy to process nodes, configuring node roles for each process node distributed with the hierarchy, and specifying the authority related to the node roles.
For example, the initiating node, the manager approves the node, the general manager approves the node, and the like, simultaneously configures the roles of all the nodes, and specifies which role the person under has the node authority.
Step 23: and configuring node transmission. The traditional flow engine is generally linear transmission and has certain limitation. The process engine designed by the invention can be understood as a mesh delivery.
For example, in step 22, the three nodes (the initiating node, the manager approval node, and the general manager approval) can be arbitrarily transmitted according to the transmission conditions, and the transmission conditions of the process nodes can be dynamically configured according to the contents of the service form, so as to realize free circulation of the process transmission process.
Further, the nodes may flow back and forth until the flow is completed, the flow conditions may be configured according to the service form, and any node may also be configured to be completed. If the node is the countersign node, the passing rate and the like can be configured for the countersign node.
And step 3: and generating the service function. And generating a corresponding flow business function according to the flow configuration in the step 2. Through the steps, the universal business process can be rapidly configured, and the business function requirements are met.
Through the implementation steps, the method can generate the business function according to the process configuration, the form can be dynamically generated, the nodes can be freely transmitted, the configuration can be dynamically adjusted and the like to meet the business requirement, the development cost is saved, and the development efficiency is improved.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.
Claims (10)
1. A method for designing a process engine, comprising the steps of:
step 1: configuring a form;
step 2: configuring a flow;
and step 3: and generating the service function.
2. The method for designing a process engine according to claim 1, wherein the step 1 configures and generates the business function form through a database table.
3. The method of claim 2, wherein the functions that the business function form can implement according to business requirements include but are not limited to: adjusting form fields, form field display, and conditional queries.
4. The method of claim 3, wherein the step 2 is implemented by:
step 21: configuring a flow correlation form;
step 22: configuring a process node;
step 23: and configuring flow node transmission.
5. The method of claim 4, wherein the step 21 is performed by selecting a form to be configured and associating the selected form with the process completion.
6. The method of claim 4, wherein the step 22 comprises assigning a hierarchy to process nodes, configuring node roles for each process node assigned a hierarchy, and specifying permissions associated with the node roles.
7. The method of claim 6, wherein the nodes are configured for mesh routing.
8. The method of claim 7, wherein the nodes can be arbitrarily transferred according to transfer conditions, and the transfer conditions are configured according to a business form.
9. The method of claim 8, wherein the nodes can flow back and forth until the process is completed, and any node can be configured to complete.
10. The method of claim 9, wherein the corresponding process business function is generated according to the process configuration in step 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110615393.7A CN113535128A (en) | 2021-06-02 | 2021-06-02 | Design method of process engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110615393.7A CN113535128A (en) | 2021-06-02 | 2021-06-02 | Design method of process engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113535128A true CN113535128A (en) | 2021-10-22 |
Family
ID=78095093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110615393.7A Pending CN113535128A (en) | 2021-06-02 | 2021-06-02 | Design method of process engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113535128A (en) |
-
2021
- 2021-06-02 CN CN202110615393.7A patent/CN113535128A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105549982B (en) | A kind of development of automation platform based on model configuration | |
CN102087594B (en) | Management method and device for extension point and plugins | |
CN105761007B (en) | Auxiliary method and system for information management software design | |
CN108694564B (en) | Task state control method and device | |
CN104216715A (en) | Web App development framework and method | |
CN110597842B (en) | Service data query method and system | |
CN110058853B (en) | API (application program interface) flow method based on workflow and authority control | |
US20080065751A1 (en) | Method and computer program product for assigning ad-hoc groups | |
CN108304473A (en) | Data transmission method between data source and system | |
CN103780686A (en) | Method and system for customizing application approval procedure in cloud organization | |
CN111897799A (en) | Hydrological model service system based on process engine | |
CN102316128A (en) | A kind ofly be used to generate network service method and device | |
CN107896242B (en) | Service sharing method and device | |
CN107491700B (en) | Data access method and equipment | |
CN112686580A (en) | Workflow definition method and system capable of customizing flow | |
CN103809951A (en) | Graphical service arrangement and management device based on FLEX technology | |
CN113535128A (en) | Design method of process engine | |
CN116011943A (en) | Robot automation flow service system, method and medium based on low codes | |
WO2016201813A1 (en) | Dynamic layout method and system based on android | |
CN115729535A (en) | Complex process application development framework based on automatic code generation | |
CN114610803A (en) | Data processing method and device, electronic equipment and storage medium | |
CN107766141B (en) | Method for managing interrupt processing of GPIO (general purpose input/output) of embedded system | |
CN106407427A (en) | key-value engine interface method and system | |
CN108536758B (en) | Data table reconstruction method, device and system for database mode | |
CN110717976A (en) | Technical state linkage method in product manufacturing process |
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 |