CN111382953A - Dynamic process generation method and device - Google Patents

Dynamic process generation method and device Download PDF

Info

Publication number
CN111382953A
CN111382953A CN202010208776.8A CN202010208776A CN111382953A CN 111382953 A CN111382953 A CN 111382953A CN 202010208776 A CN202010208776 A CN 202010208776A CN 111382953 A CN111382953 A CN 111382953A
Authority
CN
China
Prior art keywords
predefined
flow
node
nodes
engine
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
CN202010208776.8A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010208776.8A priority Critical patent/CN111382953A/en
Publication of CN111382953A publication Critical patent/CN111382953A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a dynamic flow generation method and a dynamic flow generation device, and relates to the technical field of computers. One specific implementation mode of the method comprises the steps that a predefined node list grouped based on application scene categories is generated through predefined nodes; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process; receiving a predefined node selected by a user according to the predefined node list, further forming a process, and generating a corresponding process number; and calling an interface of the flow engine to transmit the flow for deployment, generating a flow template based on the flow engine specification, and starting a corresponding workflow through the flow engine. Therefore, the implementation mode of the invention can solve the problems of high cost and complex flow of a new online flow.

Description

Dynamic process generation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a dynamic flow generation method and a dynamic flow generation device.
Background
Conventional process engine based project development processes generally include: firstly, determining a business process, then utilizing a process designer to carry out process design, process deployment, then business development and test, and finally carrying out online.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the traditional process engine is used by an application system under the condition that the process definition (namely, the process template) is determined, so if a new process needs to be online or an existing process needs to be updated, developers need to design the new process in a process designer provided by the process engine, then test is carried out by combining with an application, and the new process and a new program version are redeployed to a production environment after the test is passed.
It can be seen that the cost of going online to a new process is expensive, and when the business requirement changes frequently, the process definition also needs to be changed continuously, the cost is more difficult to bear.
Disclosure of Invention
In view of this, embodiments of the present invention provide a dynamic flow generation method and apparatus, which can solve the problems of high cost and complex flow of a new online flow.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a dynamic flow generation method, including generating, by a predefined node, a predefined node list grouped based on application scenario categories; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process; receiving a predefined node selected by a user according to the predefined node list, further forming a process, and generating a corresponding process number; and calling an interface of the flow engine to transmit the flow for deployment, generating a flow template based on the flow engine specification, and starting a corresponding workflow through the flow engine.
Optionally, the method further comprises:
the predefined nodes are generated in the process engine in advance in a buried number mode.
Optionally, receiving a predefined node selected by a user according to the predefined node list, and further forming a process, including:
receiving a predefined node selected by a user by inquiring the predefined node list and an adjusted predefined node sequence;
and forming a flow based on the generated starting node and the generated ending node.
Optionally, generating a corresponding flow number includes:
and sequentially combining the code value fields of the predefined nodes to generate corresponding process numbers.
Optionally, before the interface for calling the process engine is introduced into the process, the method includes:
initializing the routing condition of each predefined node in the process, and setting a predefined node return function and a multi-instance function;
and the routing condition of the last predefined node in the flow is 1, and the routing conditions of other predefined nodes are 0.
Optionally, the interface for calling the process engine is introduced into the process for deployment, and generates a process template based on the process engine specification, including:
calling an interface of a process engine to transmit the process, and generating a process template record based on a dynamic process template table;
and defining a process number and a node relation according to the dynamic process node definition table, and further generating a routing relation among the process nodes.
Optionally, the method further comprises:
and providing a RepositoryService service for calling to deploy the process.
In addition, the invention also provides a dynamic flow generation device, which comprises a setting module, a setting module and a control module, wherein the setting module is used for generating a predefined node list which is grouped based on the application scene category through predefined nodes; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process;
the receiving module is used for receiving the predefined nodes selected by the user according to the predefined node list, further forming a process and generating corresponding process numbers;
and the processing module is used for calling an interface of the process engine to transmit the process to be deployed, generating a process template based on the process engine specification, and further starting a corresponding workflow through the process engine.
One embodiment of the above invention has the following advantages or benefits: because the method generates the predefined node list grouped based on the application scene category through the predefined nodes; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process; receiving a predefined node selected by a user according to the predefined node list, further forming a process, and generating a corresponding process number; the technical means that the interface of the flow engine is called to transmit the flow to carry out deployment, a flow template based on the flow engine specification is generated, and then the corresponding workflow is started through the flow engine is adopted, so that the technical problems of high cost and complex flow of a new on-line flow in the prior art are solved, the dynamic change and immediate effect of the flow during operation are realized, an application program does not need to be updated, and the technical effect of service influence caused by shutdown is avoided.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a dynamic flow generation method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a dynamic flow generation method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a dynamic flow generated in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram of a main flow of a dynamic flow generation method according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of the main blocks of a dynamic flow generation apparatus according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 7 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a dynamic flow generation method according to a first embodiment of the present invention, and as shown in fig. 1, the dynamic flow generation method includes:
step S101, through predefined nodes, generating a predefined node list grouped based on application scene categories.
The predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process.
In some embodiments, the predefined nodes are pre-generated into the flow engine in a buried number manner. Wherein, the embedding number refers to providing an sql (structured query language) script to generate a predefined node data record.
Step S102, receiving the predefined nodes selected by the user according to the predefined node list, further forming a process, and generating corresponding process numbers.
In some embodiments, a user is received querying a list of predefined nodes to select a predefined node, and an adjusted order of the predefined nodes. And forming a flow based on the generated starting node and the generated ending node. In a further embodiment, the code value fields of the predefined nodes are combined in sequence to generate the corresponding flow numbers.
Step S103, an interface of the process engine is called to transfer the process to be deployed, a process template based on the process engine specification is generated, and then the corresponding workflow is started through the process engine.
In some embodiments, before the interface for invoking the flow engine is passed into the flow, the method comprises:
initializing the routing condition of each predefined node in the process, and setting a predefined node rollback function and a multi-instance function. And the routing condition of the last predefined node in the flow is 1, and the routing conditions of other predefined nodes are 0. The routing condition refers to a condition that the flow is transferred from one node to another node, the routing condition 1 represents that the flow is stopped, the flow is transferred from the current node to the end node, and the routing condition 0 represents that the flow is normally transferred to the next designated node according to the flow definition.
As another preferred embodiment, the interface for invoking the process engine passes the process into the process for deployment, comprising:
and calling an interface of the flow engine to transmit the flow, and generating a flow template record based on the dynamic flow template table. And defining a process number and a node relation according to the dynamic process node definition table, and further generating a routing relation among the process nodes.
It is worth noting that a reposoryservice service is provided for invocation to deploy the process. Wherein, the reproducibility service provides a series of APIs (interfaces) for managing the process deployment and process definition.
In summary, the dynamic process generation method of the present invention can avoid the problem of expensive cost in the production operation and maintenance process, once the process needs to be adjusted, the process needs to be newly designed, then deployed, tested and the version is on-line. Moreover, the invention realizes the dynamic adjustment of the process in the program operation, and the business personnel directly drag and arrange the process on the interface according to the predefined nodes through a group of predefined nodes, thereby designing a process meeting the business requirements, realizing what you see is what you get and taking effect instantly, and the whole process does not need to apply a new version for testing and deployment, thus having very high practical value.
Fig. 2 is a schematic structural diagram of a dynamic process generation method according to an embodiment of the present invention, and as shown in fig. 2, in node predefining, an sql script predefined by nodes, that is, a predefined node, may be generated by a script definition, that is, an sql script, where the predefined node refers to a group of nodes that are created in advance according to a process engine specification and are used to construct a process. The nodes can be grouped according to application scene types, so that dynamic processes suitable for various scenes are constructed in practical application. The page configuration is a predefined node list page, and a user can drag the predefined node definition to generate a process template, namely the process definition.
Preferably, the predefined nodes are generated in the process engine in advance mainly in a buried number mode.
It should be noted that, in order to distinguish the predefined node from the common link node in the process engine, three fields, namely, a predefined field flag, a class to which the predefined node belongs, and a predefined node code value field, are added in the link node definition table of the process engine. The node is a predefined node when the value of the predefined field flag is 1, and the node is a common flow link node when the value of the predefined field flag is 0 or null. And the class value of the predefined node cannot be null, otherwise, the predefined node is classified as default. The predefined node code value field is a two-bit character, which can be generally defined from 00-99, and the code value of the predefined node ensures that it is not repeated.
In some embodiments, the list of predefined nodes may be provided to the client operation, i.e., the user may perform queries, node orchestration, process naming, and permission settings for the predefined nodes. Wherein, the authority setting defines that each node formulates a handler or a candidate to process.
Preferably, a user flow template definition page may be provided, which queries all predefined node lists (i.e., predefined node queries) according to user requirements. The user selects corresponding predefined nodes according to the service requirement, and adjusts the sequence of the predefined nodes in a dragging mode, so that the sequential predefined nodes form a process (namely node arrangement).
The user may define a unique process template name (i.e., process name) for the process being orchestrated. The mode of sequentially combining the predefined node code value fields can be adopted, and each group of sequential nodes is ensured to have unique process numbers.
As an embodiment, as shown in fig. 3, taking a, B, C, D, E5 predefined nodes as an example, assuming that four nodes, i.e., ABDE, are selected to generate a dynamic flow, the start node and the end node of the flow are automatically generated by the system, JV ═ 0 and JV ═ 1 are both routing conditions of the corresponding routes, and these JV parameters are passed to the engine interface by the application when the flow engine task submission interface is called. By default each node proposes JV-0. When a certain condition is met and the current node needs to be ended, JV may be set to 1.
Each predefined node only supports the rollback function of the previous level, each predefined node supports multiple instances (for example, a rechecker R1 under the rechecked predefined node can provide for a rechecker R2 to recheck), and the rollback function between multiple instances (for example, a rollback R2 is provided for a rechecker R1 to recheck).
In addition, after the user lays out the predefined nodes on the interface, the interface of the flow engine needs to be called for deployment before the template is saved, and a flow template (i.e., flow definition) meeting the flow engine specification is generated. After deployment, the corresponding workflow may be launched via the flow engine (i.e., flow launch). Preferably, the flow definition in the flow engine can be performed by a flow designer. And, flow management may be performed on the flows in the flow engine. And the task submission refers to the completion of the node, and the flow can be transferred from the current node to the next node. The task query refers to a query of a proxy task or a processed task.
The present invention provides a RepositoryService service provisioning call to deploy dynamic processes. The specific deployment implementation process comprises the following steps:
calculating a flow number, judging whether a flow code exists, if so, not deploying, if not, calling an interface of a flow engine to transmit the flow, and generating a flow template record based on a dynamic flow template table. And defining a process number and a node relation according to the dynamic process node definition table, and further generating a routing relation among the process nodes. Thus, the dynamic deployment of the flow definition is completed. When calculating the process number, the calculation may be performed according to a specified rule, and the rule may be specified by a service parameter.
Fig. 4 is a schematic diagram of a main flow of a dynamic flow generation method according to a second embodiment of the present invention, and as shown in fig. 4, the dynamic flow generation method includes:
step S401, through the predefined nodes, generating a predefined node list grouped based on the application scene category.
The predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process.
Step S402, receiving the predefined nodes selected by the user by inquiring the predefined node list and the adjusted predefined node sequence.
In step S403, a flow is further configured based on the generated start node and end node.
And S404, sequentially combining the code value fields of the predefined nodes to generate corresponding process numbers.
Step S405, initializing a routing condition of each predefined node in the process, and setting a predefined node fallback function and a multi-instance function.
And the routing condition of the last predefined node in the flow is 1, and the routing conditions of other predefined nodes are 0.
Step S406, an interface of the process engine is called to transfer the process, and a process template record is generated based on the dynamic process template table.
Step S407, defining the process number and the node relation according to the dynamic process node definition table, and further generating the routing relation among the process nodes.
Step S408, a corresponding workflow is started by the process engine.
In summary, the present invention predefines a set of process link nodes, so that a user can select and arrange nodes on a process template page, thereby generating a process template suitable for the business process, and an application can immediately create a corresponding process instance based on the process template (process definition). Therefore, compared with the common process which designs the business process definition in advance according to the process designer, the method and the system can better and flexibly meet the requirements of customers on business process processing under different business scenes, and have higher application value.
Fig. 5 is a schematic diagram of main blocks of a dynamic flow generation apparatus according to an embodiment of the present invention, and as shown in fig. 5, the dynamic flow generation apparatus 500 includes a setting module 501, a receiving module 502, and a processing module 503. The setting module 501 generates a predefined node list grouped based on application scene categories through predefined nodes. The predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process. The receiving module 502 receives the predefined nodes selected by the user according to the predefined node list, further forms a process, and generates a corresponding process number. The processing module 503 calls an interface of the process engine to transfer the process to the process for deployment, generates a process template based on the process engine specification, and then starts a corresponding workflow through the process engine.
Preferably, the setting module 501 may generate the predefined node into the flow engine in advance by using a number-burying method.
In some embodiments, the receiving module 502 receives a predefined node selected by a user according to a predefined node list, thereby forming a process including:
receiving a predefined node selected by a user by inquiring the predefined node list and an adjusted predefined node sequence; and forming a flow based on the generated starting node and the generated ending node.
In a further embodiment, the receiving module 502 generates the corresponding flow number by sequentially combining the code value fields of the predefined nodes.
As another embodiment, before the interface of the processing module 503 calls the flow engine to transfer into the flow, the method includes:
initializing the routing condition of each predefined node in the process, and setting a predefined node return function and a multi-instance function; and the routing condition of the last predefined node in the flow is 1, and the routing conditions of other predefined nodes are 0.
In a further embodiment, the processing module 503 calls an interface of the process engine to transfer the process to the process for deployment, and generates a process template based on the process engine specification, including:
calling an interface of a process engine to transmit the process, and generating a process template record based on a dynamic process template table; and defining a process number and a node relation according to the dynamic process node definition table, and further generating a routing relation among the process nodes.
It is worth noting that a reposoryservice service is provided for invocation to deploy the process.
It should be noted that the dynamic flow generation method and the dynamic flow generation apparatus according to the present invention have corresponding relationships in the specific implementation contents, and therefore, the repeated contents are not described again.
Fig. 6 illustrates an exemplary system architecture 600 to which the dynamic flow generation method or apparatus of an embodiment of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 601, 602, 603 may be various electronic devices having dynamic flow generating screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 601, 602, 603. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the dynamic flow generation method provided by the embodiment of the present invention is generally executed by the server 605, and accordingly, the computing device is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including components such as a Cathode Ray Tube (CRT), a liquid crystal dynamic flow generator (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a setup module, a receive module, and a processing module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include generating, by predefined nodes, a list of predefined nodes grouped based on application context categories; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process; receiving a predefined node selected by a user according to the predefined node list, further forming a process, and generating a corresponding process number; and calling an interface of the flow engine to transmit the flow for deployment, generating a flow template based on the flow engine specification, and starting a corresponding workflow through the flow engine.
According to the technical scheme of the embodiment of the invention, the problems of high cost and complex flow of a new online process can be solved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for dynamic process generation, comprising:
generating a predefined node list grouped based on the application scene category through predefined nodes; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process;
receiving a predefined node selected by a user according to the predefined node list, further forming a process, and generating a corresponding process number;
and calling an interface of the flow engine to transmit the flow for deployment, generating a flow template based on the flow engine specification, and starting a corresponding workflow through the flow engine.
2. The method of claim 1, further comprising:
the predefined nodes are generated in the process engine in advance in a buried number mode.
3. The method of claim 1, wherein receiving the predefined node selected by the user according to the predefined node list, and further forming a process comprises:
receiving a predefined node selected by a user by inquiring the predefined node list and an adjusted predefined node sequence;
and forming a flow based on the generated starting node and the generated ending node.
4. The method of claim 2, wherein generating the corresponding flow number comprises:
and sequentially combining the code value fields of the predefined nodes to generate corresponding process numbers.
5. The method of claim 1, wherein before the interface that invokes the process engine is passed into the process, comprising:
initializing the routing condition of each predefined node in the process, and setting a predefined node return function and a multi-instance function;
and the routing condition of the last predefined node in the flow is 1, and the routing conditions of other predefined nodes are 0.
6. The method of claim 5, wherein an interface that calls a process engine is passed into the process for deployment to generate a process template based on a process engine specification, comprising:
calling an interface of a process engine to transmit the process, and generating a process template record based on a dynamic process template table;
and defining a process number and a node relation according to the dynamic process node definition table, and further generating a routing relation among the process nodes.
7. The method of any of claims 1-6, further comprising:
and providing a RepositoryService service for calling to deploy the process.
8. A dynamic process generation apparatus, comprising:
the setting module is used for generating a predefined node list grouped based on the application scene category through predefined nodes; the predefined nodes are nodes which are created in advance according to the process engine specification and used for constructing the process;
the receiving module is used for receiving the predefined nodes selected by the user according to the predefined node list, further forming a process and generating corresponding process numbers;
and the processing module is used for calling an interface of the process engine to transmit the process to be deployed, generating a process template based on the process engine specification, and further starting a corresponding workflow through the process engine.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010208776.8A 2020-03-23 2020-03-23 Dynamic process generation method and device Pending CN111382953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010208776.8A CN111382953A (en) 2020-03-23 2020-03-23 Dynamic process generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010208776.8A CN111382953A (en) 2020-03-23 2020-03-23 Dynamic process generation method and device

Publications (1)

Publication Number Publication Date
CN111382953A true CN111382953A (en) 2020-07-07

Family

ID=71217302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010208776.8A Pending CN111382953A (en) 2020-03-23 2020-03-23 Dynamic process generation method and device

Country Status (1)

Country Link
CN (1) CN111382953A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184411A (en) * 2020-09-17 2021-01-05 京东数字科技控股股份有限公司 Account processing method and device
CN114240382A (en) * 2021-12-21 2022-03-25 中国建设银行股份有限公司 Flow instance generation method and device based on structured flow template

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
US20110191128A1 (en) * 2010-01-29 2011-08-04 International Business Machines Corporation Method and Apparatus for Creating a Monitoring Template for a Business Process
US20140019187A1 (en) * 2012-07-11 2014-01-16 Salesforce.Com, Inc. Methods and apparatus for implementing a project workflow on a social network feed
US20150220327A1 (en) * 2014-01-31 2015-08-06 Dell Products L.P. Extensible data model and service for infrastructure management
CN105373523A (en) * 2015-10-14 2016-03-02 浪潮软件集团有限公司 Workflow solution method based on user-defined form and Activiti
CN109389299A (en) * 2018-09-26 2019-02-26 中国平安人寿保险股份有限公司 Work process flow dispositions method, device, computer equipment and storage medium
CN110276533A (en) * 2019-06-04 2019-09-24 深圳市中电数通智慧安全科技股份有限公司 A kind of configuration method of emergency preplan, device and server
CN110414842A (en) * 2019-07-30 2019-11-05 杭州一骑轻尘信息技术有限公司 Air control management method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
US20110191128A1 (en) * 2010-01-29 2011-08-04 International Business Machines Corporation Method and Apparatus for Creating a Monitoring Template for a Business Process
US20140019187A1 (en) * 2012-07-11 2014-01-16 Salesforce.Com, Inc. Methods and apparatus for implementing a project workflow on a social network feed
US20150220327A1 (en) * 2014-01-31 2015-08-06 Dell Products L.P. Extensible data model and service for infrastructure management
CN105373523A (en) * 2015-10-14 2016-03-02 浪潮软件集团有限公司 Workflow solution method based on user-defined form and Activiti
CN109389299A (en) * 2018-09-26 2019-02-26 中国平安人寿保险股份有限公司 Work process flow dispositions method, device, computer equipment and storage medium
CN110276533A (en) * 2019-06-04 2019-09-24 深圳市中电数通智慧安全科技股份有限公司 A kind of configuration method of emergency preplan, device and server
CN110414842A (en) * 2019-07-30 2019-11-05 杭州一骑轻尘信息技术有限公司 Air control management method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
万晨光: "工作流技术的研究及在税收风险监控平台中的应用", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184411A (en) * 2020-09-17 2021-01-05 京东数字科技控股股份有限公司 Account processing method and device
CN112184411B (en) * 2020-09-17 2024-04-09 京东科技控股股份有限公司 Account processing method and device
CN114240382A (en) * 2021-12-21 2022-03-25 中国建设银行股份有限公司 Flow instance generation method and device based on structured flow template

Similar Documents

Publication Publication Date Title
CN109388626B (en) Method and apparatus for assigning numbers to services
CN111427701A (en) Workflow engine system and business processing method
CN113076153B (en) Interface calling method and device
CN111382953A (en) Dynamic process generation method and device
CN112947919A (en) Method and device for constructing service model and processing service request
CN111444077A (en) Method and device for generating flow node test data
CN110764769B (en) Method and device for processing user request
CN113127335A (en) System testing method and device
CN112052152A (en) Simulation test method and device
CN114896244A (en) Method, device and equipment for configuring database table and computer readable medium
CN110909269B (en) Log reporting method and device
CN113011858A (en) Audit project configuration and execution method and device
CN113760487A (en) Service processing method and device
CN112579447A (en) Browser testing method and device
CN112306984A (en) Data source routing method and device
CN111984616A (en) Method, device and system for updating shared file
CN113495747B (en) Gray scale release method and device
CN112131095A (en) Pressure testing method and device
CN113765868B (en) Service processing method and device
CN113760886B (en) Method, apparatus, device and computer readable medium for providing data service
CN118093072A (en) Method, device, electronic equipment and storage medium for processing component
CN108984189B (en) Module parsing method and device
CN115495108A (en) Method and device for generating business process chain
CN111258572A (en) Method and device for generating business code framework
CN113448652A (en) Request processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220930

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200707