[go: up one dir, main page]

CN113918637B - A process engine platform creation method and system based on BPMN2.0 specification - Google Patents

A process engine platform creation method and system based on BPMN2.0 specification Download PDF

Info

Publication number
CN113918637B
CN113918637B CN202111232994.6A CN202111232994A CN113918637B CN 113918637 B CN113918637 B CN 113918637B CN 202111232994 A CN202111232994 A CN 202111232994A CN 113918637 B CN113918637 B CN 113918637B
Authority
CN
China
Prior art keywords
file
flow
data
engine
target
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.)
Active
Application number
CN202111232994.6A
Other languages
Chinese (zh)
Other versions
CN113918637A (en
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.)
Chongqing Xinzhi Jinfu Information Technology Co ltd
Original Assignee
Chongqing Xinzhi Jinfu 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 Chongqing Xinzhi Jinfu Information Technology Co ltd filed Critical Chongqing Xinzhi Jinfu Information Technology Co ltd
Priority to CN202111232994.6A priority Critical patent/CN113918637B/en
Publication of CN113918637A publication Critical patent/CN113918637A/en
Application granted granted Critical
Publication of CN113918637B publication Critical patent/CN113918637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/254Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for creating a flow engine platform based on BPMN2.0 specification, wherein the method comprises the steps of storing data stored by a system management service into a flow engine container according to the BPMN2.0 specification, enabling a flow and form designer to node-represent a target flow file according to flow requirements, calling data from the flow engine container according to node information, generating a flow file compatible with the target flow engine according to configuration rules by the called data, testing and operating the flow file compatible with the target flow engine, releasing a flow file data packet after the test operation into the target flow engine to operate, and storing the flow file data packet as the target flow file after the debugging operation is successful. The method has the advantages that the node information required by the target flow file is stored according to the BPMN2.0 specification, so that the node information can be conveniently and quickly indexed, the connection between tables is not needed, the calling link and the transaction link are simple, the quick search can be realized, and the operation pressure of the system is reduced.

Description

BPMN2.0 specification-based flow engine platform creation method and system
Technical Field
The invention relates to the field of flow creation, in particular to a method and a system for creating a flow engine platform based on BPMN2.0 specification.
Background
With the continuous development of computer technology, network technology and database technology, the number of users and the number of system flows are increased, so that the calling dependency relationship among the flows is more complicated, and the system architecture is also migrated from a single architecture era to a multi-architecture era.
In the existing business system, two main schemes are adopted for the automatic creation of the system flow, namely 1) an embedded active or Flowable open source flow library is adopted to automatically realize a plurality of additional functions, and 2) an integration scheme (a productive flow engine platform) of a commercial flow line is adopted.
The two schemes can realize quick flow creation and service appeal. However, in scheme 1, the embedded development library required by the existing implementation technology has many defects, such as 1) the embedded development library has higher requirements on developers and needs to know key interfaces and operation principles of the library, 2) the development library does not relate to the front end of drawing, if needing to be integrated, front end programs and corresponding rear end interfaces need to be stripped from other projects, the complexity is increased, 3) the embedded development library only has basic functions, the complex functions all need to be realized by themselves, particularly relates to synchronous realization of a large number of front ends, 4) the embedded development library depends on a fixed database strongly and is not easy to integrate with the currently popular Internet projects, 5) if needing to integrate service fields, the embedded development library can only be realized in a continuous form, the table lookup depth during the running of a flow is increased, and the high concurrency state performance is obviously reduced.
On the other hand, for scheme 2, the existing flow integrated scheme product often has the following defects that 1) the technical stack of the marketized product is old, which generally needs 2 to 3 years of iteration, however, the current technology development is gradually changed, 2) the market product is a targeted service scene in product design, the adaptation capability of the novel service scene is limited, the compatibility is not high, 3) the market product is subjected to a lot of optimization on the UI, which leads to far deviation from bpmn 2.0.0 specification, and is partially or completely separated from bpmn 2.0 specification, 4) the market product is blocked in expansion, particularly when a plurality of systems are in butt joint, and needs more design schemes, 5) the database of the market product is almost a fixed traditional database mode, which leads to incompatibility with the novel Nosql from the bottom layer, 6) the derivative of the market product is not compatible with bpmn 2.0.0 file format, the data of the market product cannot migrate smoothly, the release work needs more consideration, the market product is easy to make mistakes, and 7) the market product is subjected to a lot of custom table to support and the related functions are carried out, and the performance of the link is lowered deeply in the realization of the link. From the foregoing, there is a need for a fast and convenient process engine creation method.
Disclosure of Invention
The invention aims to provide a method and a system for creating a flow engine platform based on BPMN2.0 specification, wherein the method stores data stored by a system management service into a flow engine container according to the BPMN2.0 specification, a flow and form designer nodes a target flow file according to flow requirements, directly searches node information from the flow engine container according to indexes, generates a flow file compatible with the target flow engine according to configuration rules according to the node information, verifies the flow file compatible with the target flow engine in a test environment, distributes a flow file data packet into the target flow engine to operate after verification is successful, and stores the successfully operated file as an created target flow file. The method saves various node information required by the target flow file according to the BPMN2.0 specification, is convenient for quickly indexing the node information when the flow is created, does not need the connection between various tables, has simple calling link and transaction link, can realize quick retrieval, and simultaneously reduces the pressure of system operation.
In order to achieve the above purpose, the present invention is realized by the following technical scheme:
a process engine platform creation method based on BPMN2.0 specification, comprising:
storing the data stored by the system management service into a flow engine container according to the BPMN2.0 specification;
The flow and form designer nodes the target flow file according to the flow demand;
Invoking data from the flow engine container according to the nodal information;
generating a flow file compatible with the target flow engine according to the configuration rule by the called data according to the node information;
testing and running the flow files compatible with the target flow engine;
The flow core module issues the flow file data packet after the test operation to the target flow engine for operation, and the flow file data packet is saved as the target flow file after the debugging operation is successful.
Optionally, the process engine container includes multiple types of data, where the various types of data are correspondingly stored in a local frame table that can be identified by the frames of the process and form designer.
Optionally, the data stored by the system management service is analyzed and calculated, converted into BpmnModel objects according to the BPMN2.0 specification, and based on the self-defined configuration parameters, bpmnModel objects are converted into file element structure data which can be identified by the framework of the flow and form designer, and the original storage interface of the local framework table is called to persist the file element structure data into the local framework table.
Optionally, the framework of the flow and form designer is a Flowable framework.
Optionally, when generating the flow file compatible with the target flow engine according to the configuration rule by the invoked data according to the node information, the flow engine core module acquires the processor configuration data required by the flow file from the flow definition file to generate the flow file compatible with the target flow engine, analyzes the processor account of the flow file, creates the task to be handled of the corresponding processor according to the processor account, and asynchronously pushes the state data of the current flow to the service system through the message queue middleware.
Optionally, the configuration rule comprises a self-selection of an initiator, a designated link processor, a designated link processing group, an organization level of designated link approval, a continuous multi-level of designated links and an upper-level director of the designated links.
Optionally, the flow file data packet after the test operation comprises a flow file compatible with the target flow engine and compatibility configuration data generated for different environments during the test operation.
Optionally, the system further comprises a query module for issuing a query instruction, and a task center module for receiving the query instruction and retrieving query information from the flow engine container according to the index of the query instruction.
Optionally, a system adopting the process engine platform creation method based on the BPMN2.0 specification includes:
a flow engine container for storing data stored by the system management service stored according to BPMN2.0 specification;
the flow and form designer is used for node-representing the target flow file according to the flow requirement;
the flow core module is used for releasing the flow file data packet after the running test to a target flow engine for running, and storing the flow file data packet as a target flow file after the debugging running is successful;
the task center module is connected with each module and is used for receiving and forwarding task instructions of the system.
Optionally, the method further comprises:
the flow engine core module is used for acquiring the processor configuration data required by the flow file from the flow definition file to generate a flow file compatible with the target flow engine;
and the query module is used for issuing a query instruction, and the task center module receives the query instruction and invokes query information from the flow engine container according to the index of the query instruction.
Compared with the prior art, the invention has the following advantages:
In the method, data stored by a system management service is stored in a process engine container according to the BPMN2.0 specification, a process and form designer nodes the target process file according to the process requirement, node information is directly searched from the process engine container according to indexes, a process file compatible with the target process engine is generated according to configuration rules according to the node information, the process file compatible with the target process engine is verified in a test environment, a process file data packet is issued to the target process engine to operate after verification is successful, and the successfully operated file is stored as the created target process file. The method saves various node information required by the target flow file according to the BPMN2.0 specification, is convenient for quickly indexing the node information when the flow is created, does not need the connection between various tables, has simple calling link and transaction link, can realize quick retrieval, and simultaneously reduces the pressure of system operation.
Drawings
FIG. 1 is a schematic diagram of a process engine platform creation method based on the BPMN2.0 specification;
FIG. 2 is a schematic diagram illustrating the operation of the core module of the process engine according to the present invention;
FIG. 3 is a schematic diagram showing the synchronization of test environment and production environment data according to the present invention;
FIG. 4 is a flow chart of the present invention;
FIG. 5 is another flow chart of the present invention;
FIG. 6 is a to-Do task page of the present invention;
FIG. 7 is a task page of a job delivery according to the present invention;
FIG. 8 is a schematic diagram of security verification of an account service of the present invention;
FIG. 9 is a schematic diagram of the system docking logic of the present invention.
Detailed Description
The invention will be further described by the following detailed description of a preferred embodiment, taken in conjunction with the accompanying drawings.
As shown in fig. 1, the method for creating a flow engine platform based on BPMN2.0 specification of the present invention includes:
S1, storing the data stored by the system management service into a flow engine container according to the BPMN2.0 specification.
In this embodiment, the flow engine container includes multiple types of data, and the various types of data are correspondingly stored in a local frame table that can be identified by the frames of the flow and form designer. The local frame table is a form configuration table, and adds different identification information, namely a table index, to the data according to different types so as to quickly index when the information is needed.
The flow core module extracts and analyzes the data stored by the computing system management service, converts the data into BpmnModel objects according to the BPMN2.0 specification, converts BpmnModel objects into file element structure data which can be identified by the framework of the flow and form designer in operation based on the self-defined configuration parameters, and finally calls an original storage interface of the local framework table to persist the file element structure data which is converted into the local framework table. Optionally, the file element structure data is in XML format. In this embodiment, the framework of the flow and form designer is a Flowable framework, and thus, file element structure data that can be identified by the Flowable framework is stored in the local framework table.
In the application, based on the flow and form designer conforming to the BPMN2.0 specification, the flow core module avoids configuration data in a configuration file, namely a flow engine container to the greatest extent, and is beneficial to caching of high-frequency data access and migration release of one-key flow design.
S2, the flow and form designer nodes the target flow file according to the flow requirement.
S3, calling data from the flow engine container according to the node information.
S4, generating a flow file compatible with the target flow engine according to the configuration rule by the called data according to the node information.
When the called data are used for generating a flow file compatible with the target flow engine according to the configuration rule by the node information, the core module of the flow engine acquires the configuration data of the processor required by the flow file from the flow definition file to generate the flow file compatible with the target flow engine, analyzes the account number of the processor of the flow file, creates a task to be handled of the corresponding processor according to the account number, and asynchronously pushes the state data of the current flow to the service system through the message queue middleware.
That is, as shown in fig. 2, after the process definition is released to the process engine core module, the task center module fills in the initiation of the execution process of the related service form, at this time, the process engine core module starts the operation instance of the corresponding process definition, acquires the required configuration data of the handler from the process definition file, analyzes the account number of the handler in the process link, creates the task to be handled of the corresponding handler accordingly, and asynchronously pushes the status data of the current process to the service system (including mail, sms notification, etc.) through the message queue middleware. The system comprises an independent notification system, so that the time-consuming and unnecessary functions of notification messages are stripped from the operation time of the process core module, asynchronous execution is realized, and the operation fault of the system caused by the delay of the relevance system is greatly improved.
During the creation of the task to be done, task instance data objects are assembled and asynchronously flushed into the NoSQL database (the database for the task to be done).
In the embodiment, the configuration rule comprises a) a sponsor self-selects node configuration conforming to BPMN 2.0 specification, b) an appointed link processor, c) an appointed link processing group, d) an appointed link approval organization level, e) an appointed link continuous multilevel level, wherein the appointed link is used for carrying out approval according to the organization level of the current processor, the organization level of the current processor is used for carrying out approval step by step to the organization level of the upper level, the lead of the upper level is continuously searched until the approval is carried out until the configured organization level is reached, and f) an appointed link upper level supervisor is used for managing the role personnel according to the organization of the current processor. The configuration rule can simplify the data quantity in operation, improve the efficiency of the system creation process, simplify and clear the analysis rule, and facilitate the later expansion.
S5, testing and running the process files compatible with the target process engine in a testing environment.
S6, the flow core module issues the flow file data packet after the test operation to a target flow engine, namely, a production environment for operation, and stores the file successfully debugged and operated as a target flow file.
In the embodiment, the flow file data packet after test operation comprises a flow file compatible with a target flow engine and compatibility configuration data generated for different environments during test operation.
As shown in fig. 3, based on the complete isolation of the test environment (e.g., UAT environment) from the production environment (e.g., PAT environment), a full amount of test needs to be performed in the test environment when a new target flow file, i.e., a business flow, is created, and there is a large amount of configuration data, and the production environment has a very large work and even a high risk of human error if it is re-created for the data. Therefore, in this embodiment, a file based on JSON structure is redesigned based on BPMN 2.0 specification, and a large amount of configuration data is stored in the file, so that when a synchronous file is generated, more logical check and compatibility data processing can be performed on data in different environments. Therefore, only a small part of data (such as user account number) needs to be manually adjusted when the data is imported, and other processes and forms can be self-adaptive to the data of the new environment. By adopting the method, the release risk can be reduced, the production and deployment efficiency is greatly improved, and the total test results of the test environment are reserved.
After the target flow file is successfully created, a corresponding operation flow chart can be generated. As shown in fig. 4 and 5, a flowchart is run for two kinds of object flow files created. Further, as shown in fig. 6, the user may view his task to be handled in the task area, and based on the unified concept, may also create a work handover area (see fig. 7) for daily operations.
In practical application, certain information is often required to be indexed, specifically, a query module of the system issues a query instruction, a task center module receives the query instruction, and query information is called from a flow engine container according to the index of the query instruction. During daily operation, the data stream pressure related to the task center module is usually quite high, file element structure data in the process engine container is classified and stored in a local frame table, all data are structure data which can be dynamically assembled and matched with pages during operation, and the data stream pressure is reduced by adopting a detailed table index design.
On the other hand, the application directly sets all interfaces related to inquiry as task center modules and ensures stateless. When the system serves the flow bottleneck, the access requirement of higher flow can be met through dynamic capacity expansion of the Docker, and the system is prevented from faults caused by overlarge flow access. The design based on the distributed micro-service architecture system enables the system to have the advantages of supporting high concurrency, rapid expansion and contraction and the like. Meanwhile, the task center module is used as a unified system inlet, so that a multi-system distributed inlet is simplified, and the use experience and the use efficiency of a user are greatly improved.
Based on the same inventive concept, the invention also discloses a system adopting the flow engine platform creation method based on the BPMN2.0 specification, wherein the system comprises a flow engine container, a flow and form designer, a flow core module and a task center module.
The system comprises a flow engine container, a flow and form designer, a flow core module, a task center module and a task center module, wherein the flow engine container is used for storing data stored by a system management service stored according to a BPMN2.0 specification, the flow and form designer is used for nodal representation of a target flow file according to flow requirements, the flow core module is used for issuing a flow file data packet after running test into a target flow engine to run, and storing the flow file data packet as a target flow file after successful debugging and running, the task center module is connected with each module, and the task center module is used for receiving and forwarding task instructions of a system.
Furthermore, the system adopting the BPMN2.0 specification-based flow engine platform creation method also comprises a flow engine core module and a query module. The process engine core module is used for acquiring processor configuration data required by the process files from the process definition files to generate process files compatible with the target process engine, the query module is used for issuing a query instruction, and the task center module receives the query instruction and retrieves query information from a process engine container according to the index of the query instruction. Of course, the system is not limited to include the above modules, and other functional modules may be provided according to the requirements, which is not limited by the present application.
According to the above modules, the creation of multiple tasks within the system may be implemented, for example, as shown in table 1 below, may include service deployment units, each serving user management, role management, menu management, resource management, timed task management, batch management, data dictionary management, system parameter management, flow management (flow approval group management, flow form management, flow diagram design management, high-level parameter management of flow execution logic). Of course, the service deployment unit in the system is not limited to the above, and can directly create the nodes of the corresponding target flow file, namely the nodes of the flow chart and the business flow chart, by means of the above modules after the demand analysis, and release and execute according to the nodes of the target flow file.
Table 1 service deployment units and categories thereof
After the node release of the target flow file is executed, the initiation of the target flow file can be carried out, the initiation of the target flow file needs to create a form page corresponding to the flow template, at the moment, form configuration data is extracted from a local frame form, namely a form configuration form, and the rendering of the form is completed by a front-end flow and form designer to generate a flow file compatible with the target flow engine. And (3) testing and running the flow file compatible with the target flow engine in a testing environment, and releasing the flow file data packet after the testing and running to the target flow engine by the flow core module to run, and storing the flow file data packet as the target flow file after the debugging and running are successful. When the task center module runs in the target flow engine, user information is supplemented, modified and perfected, and the task center module calls the flow core module to execute the creation of the target flow file after recording related data.
After the target flow file is successfully created, the flow is started to be executed, the user fills in personal login information, at the moment, information such as a request message or a query instruction is received and forwarded by the task center module, and then the flow is executed.
As shown in fig. 8, to achieve the security of the system, the account service of the system may use a security verification method. The method comprises the steps of 1) creating a JWT token by using a private key in a stored JWK key pair by an account service, wherein the JWT token comprises an encryption mode, basic information of a user and signature information, and analyzing JWK of a public key by the account service from the stored JWK key and opening the public key to other services (particularly gateway access) in an HTTP mode.
2) The gateway analyzes the attribute of the authentication in the Header of all the requests by adopting a filter, uses a Nimbus library to carry out signature verification on the analyzed JWT token, analyzes the role owned by the current user from the token, acquires the corresponding authority from the Redis by the role, and verifies whether the current request is compliant.
After the task center module successfully initiates the process, the process core module can generate a task to be handled according to a plurality of calculations, and at the moment, when the page of the task center module looks up the task to be handled, the task center module is requested to inquire the data of the task list to be handled.
The page of the task center module enters the task management page to be handled or enters the task detail page to be handled again, conventional operations such as passing, rejecting, hastening, turning, signing, upgrading and the like of the task can be executed, and the user with corresponding authority can also execute operations such as withdrawing, terminating and the like. Furthermore, the user with higher authority of the task center module can execute detailed process runtime management.
In this embodiment, the task to be handled may be designed into a cold-hot table mode, i.e. once the task to be handled is completed, the task is moved to the handled table, instead of being identified by a state field in the market, so as to raise the large-table performance problem of high-frequency access data.
As shown in fig. 9, in the aspect of system docking, other business systems dock the process engine platform, i.e. the task center module, of the present application through channel services, all interfaces (start, task completion, task rejection, etc.) enter through synchronous interfaces, and respond to the data of the process state synchronously. When the state data of the process engine platform, namely the task center module is changed, an event is put into a message queue (RabbitMQ) through a process core module, the message queue is monitored in a push service, the notification of the state data of the process is executed asynchronously, and if a business system has errors, the corresponding interface is called again through batch processing or a retry mechanism of the message queue to realize the robustness of synchronization.
In summary, in the method and system for creating a flow engine platform based on the BPMN2.0 specification, the method stores the data stored by the system management service into the flow engine container according to the BPMN2.0 specification, the flow and form designer nodes the target flow file according to the flow requirement, directly searches the node information from the flow engine container according to the index, generates the flow file compatible with the target flow engine according to the node information and the configuration rule, verifies the flow file compatible with the target flow engine in the test environment, issues the flow file data packet into the target flow engine to operate after the verification is successful, and stores the successfully operated file as the created target flow file. The method saves various node information required by the target flow file according to the BPMN2.0 specification, is convenient for quickly indexing the node information when the flow is created, does not need the connection between various tables, has simple calling link and transaction link, can realize quick retrieval, and simultaneously reduces the pressure of system operation.
Furthermore, the method preprocesses the data stored by the system management service, the data is already assembled with the identification information before being called, excessive connection tables are not needed when the data is actually inquired and operated, the development efficiency and the operation efficiency are improved, the method has natural advantages on large-user-quantity and multi-transaction operation, and the method has the advantages of high concurrency, quick expansion and the like based on a distributed micro-service architecture system.
Furthermore, the method has an independent message notification system, the message notification function which is time-consuming and unnecessary is stripped from the flow core module, and the asynchronous execution is performed, so that the system operation fault caused by the delay of the relevance system is greatly avoided.
While the present invention has been described in detail through the foregoing description of the preferred embodiment, it should be understood that the foregoing description is not to be considered as limiting the invention. Many modifications and substitutions of the present invention will become apparent to those of ordinary skill in the art upon reading the foregoing. Accordingly, the scope of the invention should be limited only by the attached claims.

Claims (9)

1.一种基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,包含:1. A method for creating a process engine platform based on BPMN2.0 specification, characterized by comprising: 将系统管理服务存储的数据按照BPMN2.0规范保存到流程引擎容器;Save the data stored in the system management service to the process engine container according to the BPMN2.0 specification; 流程及表单设计器根据流程需求将目标流程文件节点化表示;The process and form designer represents the target process file in nodes according to the process requirements; 根据节点化信息从流程引擎容器调用数据;Call data from the process engine container based on node information; 将调用的数据根据节点化信息按照配置规则生成目标流程引擎兼容的流程文件;Generate a process file compatible with the target process engine based on the node information and configuration rules of the called data; 将目标流程引擎兼容的流程文件进行测试运行;Test and run the process files compatible with the target process engine; 流程核心模块将测试运行后的流程文件数据包发布到目标流程引擎中运行,调试运行成功后保存为目标流程文件;The process core module publishes the process file data package after the test run to the target process engine for running, and saves it as the target process file after the debugging run is successful; 其中,测试运行后的流程文件数据包包含:目标流程引擎兼容的流程文件以及其在测试运行时针对不同环境生成的兼容性配置数据。The process file data package after the test run includes: process files compatible with the target process engine and compatibility configuration data generated for different environments during the test run. 2.如权利要求1所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,2. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 1, characterized in that: 所述流程引擎容器里包含多种类型的数据,各种类型的数据对应保存至能被流程及表单设计器的框架识别的本地框架表中。The process engine container contains multiple types of data, and each type of data is correspondingly saved in a local framework table that can be recognized by the framework of the process and form designer. 3.如权利要求2所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,3. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 2, characterized in that: 将系统管理服务存储的数据进行解析计算,将其按照BPMN2.0规范转换成BpmnModel对象,基于自定义的配置参数,将BpmnModel对象转换成能被流程及表单设计器的框架识别的文件元素结构数据,调用本地框架表原始的保存接口,将文件元素结构数据持久化至本地框架表中。Parse and calculate the data stored in the system management service, convert it into a BpmnModel object according to the BPMN2.0 specification, and based on the custom configuration parameters, convert the BpmnModel object into file element structure data that can be recognized by the framework of the process and form designer. Call the original save interface of the local framework table to persist the file element structure data to the local framework table. 4.如权利要求2所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,4. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 2, characterized in that: 流程及表单设计器的框架为Flowable框架。The framework of the process and form designer is the Flowable framework. 5.如权利要求1所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,5. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 1, characterized in that: 将调用的数据根据节点化信息按照配置规则生成目标流程引擎兼容的流程文件时,流程引擎核心模块从流程定义文件中获取流程文件所需的处理人配置数据,以生成目标流程引擎兼容的流程文件,解析流程文件的处理人账号,据此创建对应处理人的待办任务,并通过消息队列中间件将当前流程的状态数据异步推送至业务系统。When the called data is generated into a process file compatible with the target process engine according to the node information and the configuration rules, the process engine core module obtains the processor configuration data required for the process file from the process definition file to generate a process file compatible with the target process engine, parses the processor account of the process file, creates to-do tasks for the corresponding processor based on this, and asynchronously pushes the status data of the current process to the business system through the message queue middleware. 6.如权利要求5所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,6. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 5, characterized in that: 所述配置规则包含:发起人自选、指定环节处理人、指定环节处理群组、指定环节审批的组织层级、指定环节的连续多级层级、指定环节的上级主管。The configuration rules include: self-selection by the initiator, designated link processor, designated link processing group, designated organizational level for link approval, designated continuous multi-level levels of links, and designated link superiors. 7.如权利要求1所述的基于BPMN2.0规范的流程引擎平台创建方法,其特征在于,还包含:7. The method for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 1, characterized in that it also comprises: 查询模块发布查询指令,任务中心模块接收查询指令,并根据所述查询指令的索引从流程引擎容器里调取查询信息。The query module issues a query instruction, the task center module receives the query instruction, and retrieves the query information from the process engine container according to the index of the query instruction. 8.一种采用如权利要求1~7任一项所述的基于BPMN2.0规范的流程引擎平台创建方法的系统,其特征在于,包含:8. A system using the method for creating a process engine platform based on the BPMN2.0 specification as claimed in any one of claims 1 to 7, characterized in that it comprises: 流程引擎容器,用于存储按照BPMN2.0规范保存的系统管理服务存储的数据;The process engine container is used to store data stored by the system management service in accordance with the BPMN2.0 specification; 流程及表单设计器,用于根据流程需求将目标流程文件节点化表示;Process and form designer, used to node target process files according to process requirements; 流程核心模块,用于将运行测试后的流程文件数据包发布到目标流程引擎中运行,调试运行成功后将其保存为目标流程文件;The process core module is used to publish the process file data package after running the test to the target process engine for running, and save it as the target process file after the debugging run is successful; 任务中心模块,与各个模块连接,所述任务中心模块用于系统的任务指令的接收与转发。The task center module is connected with each module, and is used for receiving and forwarding the task instructions of the system. 9.如权利要求8所述的采用基于BPMN2.0规范的流程引擎平台创建方法的系统,其特征在于,还包含:9. The system for creating a process engine platform based on the BPMN2.0 specification as claimed in claim 8, characterized in that it also comprises: 流程引擎核心模块,用于从流程定义文件中获取流程文件所需的处理人配置数据,以生成目标流程引擎兼容的流程文件;The process engine core module is used to obtain the processor configuration data required by the process file from the process definition file to generate a process file compatible with the target process engine; 查询模块,用于发布查询指令,所述任务中心模块接收所述查询指令,并根据所述查询指令的索引从流程引擎容器里调取查询信息。The query module is used to issue a query instruction. The task center module receives the query instruction and retrieves the query information from the process engine container according to the index of the query instruction.
CN202111232994.6A 2021-10-22 2021-10-22 A process engine platform creation method and system based on BPMN2.0 specification Active CN113918637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111232994.6A CN113918637B (en) 2021-10-22 2021-10-22 A process engine platform creation method and system based on BPMN2.0 specification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111232994.6A CN113918637B (en) 2021-10-22 2021-10-22 A process engine platform creation method and system based on BPMN2.0 specification

Publications (2)

Publication Number Publication Date
CN113918637A CN113918637A (en) 2022-01-11
CN113918637B true CN113918637B (en) 2025-01-07

Family

ID=79242387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111232994.6A Active CN113918637B (en) 2021-10-22 2021-10-22 A process engine platform creation method and system based on BPMN2.0 specification

Country Status (1)

Country Link
CN (1) CN113918637B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115204850A (en) * 2022-09-19 2022-10-18 中孚信息股份有限公司 Process approval method and system based on BPMN
CN116934277A (en) * 2023-09-15 2023-10-24 中铁电气化勘测设计研究院有限公司 Event-driven-based track traffic project management flow control method and equipment
CN117372177A (en) * 2023-10-13 2024-01-09 国任财产保险股份有限公司 Novel non-vehicle underwriting core system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445472A (en) * 2020-11-26 2021-03-05 山东健康医疗大数据有限公司 Workflow module based on Activiti and business interaction method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870917A (en) * 2014-02-18 2014-06-18 浪潮软件股份有限公司 Lightweight business process realizing method suitable for tobacco industry
CN105204919B (en) * 2015-09-22 2018-05-25 北京京东尚科信息技术有限公司 Process virtual machine
CN106557860A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 A kind of flow path processing method and device
CN106095479A (en) * 2016-05-31 2016-11-09 北京中亦安图科技股份有限公司 A kind of enterprise application dissemination method, Apparatus and system
CN112230933B (en) * 2020-09-16 2024-11-15 贝壳技术有限公司 Process engine automatic conversion method, device, electronic medium and storage medium
CN112215581A (en) * 2020-10-27 2021-01-12 北京聚通达科技股份有限公司 User-defined approval flow management system based on workflow engine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445472A (en) * 2020-11-26 2021-03-05 山东健康医疗大数据有限公司 Workflow module based on Activiti and business interaction method

Also Published As

Publication number Publication date
CN113918637A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
US12079672B1 (en) Providing efficient message queuing services using a redelivery monitor
CN113918637B (en) A process engine platform creation method and system based on BPMN2.0 specification
US8370802B2 (en) Specifying an order for changing an operational state of software application components
CN107450961A (en) A kind of distributed deep learning system and its building method, method of work based on Docker containers
US20150046400A1 (en) Multi-Path Replication in Databases
CN102217230B (en) Provisioning method and system
CN110276074B (en) Distributed training method, device, equipment and storage medium for natural language processing
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
CN108134690B (en) Network service deployment process control method, device and system
CN112698817B (en) Message access method, device and system based on micro-service architecture and storage medium
CN114675945A (en) A service invocation method, apparatus, computer equipment and storage medium
CN115865795A (en) Traffic routing method, device, storage medium, processor and server based on service grid
CN108989399A (en) A kind of cluster common data querying method, system, device and readable storage medium storing program for executing
US20200371902A1 (en) Systems and methods for software regression detection
US8316386B2 (en) Multiple application integration
CN115438984A (en) An AI-based big data processing method and server
US7949610B2 (en) Method and system for discovering dependencies in project plans of distributed system
CN103561083A (en) Internet of things data processing method
CN110888672B (en) Method and system for implementing expression engine based on metadata architecture
CN109491802A (en) A kind of method and adapter of the RESTFul network request based on Unity
CN109389271B (en) Application performance management method and system
CN112015374B (en) Cross-programming-language micro-service integration system based on natural language
CN115309558B (en) Resource scheduling management system, method, computer equipment and storage medium
CN115657901B (en) Service changing method and device based on unified parameters
CN117149866A (en) Method and device for exporting multi-source heterogeneous data, readable storage medium and terminal

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
GR01 Patent grant
GR01 Patent grant