[go: up one dir, main page]

CN113918637A - BPMN2.0 specification-based process engine platform creation method and system - Google Patents

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

Info

Publication number
CN113918637A
CN113918637A CN202111232994.6A CN202111232994A CN113918637A CN 113918637 A CN113918637 A CN 113918637A CN 202111232994 A CN202111232994 A CN 202111232994A CN 113918637 A CN113918637 A CN 113918637A
Authority
CN
China
Prior art keywords
file
process engine
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.)
Granted
Application number
CN202111232994.6A
Other languages
Chinese (zh)
Other versions
CN113918637B (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

Images

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种基于BPMN2.0规范的流程引擎平台创建方法及系统,该方法包含:将系统管理服务存储的数据按照BPMN2.0规范保存到流程引擎容器;流程及表单设计器根据流程需求将目标流程文件节点化表示;根据节点化信息从流程引擎容器调用数据;将调用的数据按照配置规则生成目标流程引擎兼容的流程文件;将目标流程引擎兼容的流程文件进行测试运行;流程核心模块将测试运行后的流程文件数据包发布到目标流程引擎中运行,调试运行成功后保存为目标流程文件。其优点是:该方法将目标流程文件所需的各节点化信息按照BPMN2.0规范保存,便于快速索引到节点化信息,不需要各个表格之间的联接,其调用链路及事务链路简单,可实现快速检索,也减小了系统运行的压力。

Figure 202111232994

The invention discloses a method and system for creating a process engine platform based on BPMN2.0 specification. The method comprises: saving data stored in a system management service to a process engine container according to the BPMN2.0 specification; a process and form designer according to process requirements Node representation of the target process file; call data from the process engine container according to the node information; generate the process file compatible with the target process engine according to the configuration rules; test and run the process file compatible with the target process engine; process core module Publish the process file data package after the test run to the target process engine for running, and save it as the target process file after successful debugging and running. The advantages are: this method saves each node information required by the target process file according to the BPMN2.0 specification, which is convenient for fast indexing to the node information, does not require the connection between each table, and its call link and transaction link are simple. , which can realize fast retrieval and reduce the pressure of system operation.

Figure 202111232994

Description

BPMN2.0 specification-based process engine platform creation method and system
Technical Field
The invention relates to the field of process creation, in particular to a BPMN2.0 specification-based process engine platform creation method and system.
Background
With the continuous development of computer technology, network technology and database technology, the number of users and the number of system processes increase, so that the call dependency relationship among the processes is more complicated, and the system architecture is also migrated from the single-architecture era to the multi-architecture era.
In the existing business system, there are two main schemes for the automatic creation of the system flow: 1) an open-source flow library such as Activiti or Flowable is embedded, so that a plurality of additional functions are realized; 2) an integration scheme (a productive process engine platform) of a market process line is adopted.
The two schemes can realize quick process creation and realize service appeal. However, in the case of the solution 1, the embedded development library required by the current implementation technology has many defects, such as: 1) the embedded development library has higher requirements on developers and needs to know the heavy point interface and the operation principle of the library; 2) the development library does not relate to a drawing front end, if integration is needed, a front end program and a corresponding rear end interface need to be stripped from other projects, and complexity is increased; 3) the embedded development library only has basic functions, all complex functions need to be realized automatically, and particularly the synchronous realization of a large number of front ends is involved; 4) the embedded development library strongly depends on a fixed database, and is not easy to integrate with the current internet project; 5) if the integration of the service fields is needed, the integration can be realized only by a linked list form, the list searching depth during the process operation is increased, and the performance of the high concurrency state is obviously reduced.
On the other hand, for scheme 2, the existing flowerlike integrated scheme products often have the following disadvantages: 1) the technology stack of marketized products is old, which generally requires 2 to 3 years of iteration, however, the current technology development is changing day by day; 2) because the product is a marketized product, a targeted service scene is bound to be designed on the product, the adaptability of a novel service scene is limited, and the compatibility is not high; 3) many optimizations are made on UI by marketized products, which leads to a great deviation from the bpmn2.0 specification, and some products even completely deviate from the bpmn2.0 specification and are independently designed; 4) the marketable products are hindered in expansion, and more design schemes are needed particularly when a plurality of systems are docked; 5) the database of the marketized product is almost a fixed traditional database mode, so that the marketized product is incompatible with the novel Nosql from the bottom layer; 6) the exports of the marketized products are not compatible with the bpmn2.0 file format, so that the data cannot be smoothly migrated, more consideration is needed for the release work, and errors are easy to occur by adopting the marketized products; 7) because a large number of customized tables are adopted to support the realization of related functions, the calling link and the transaction link are deep, and the performance is reduced in a concurrent scene. 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 BPMN2.0 specification-based process engine platform creation method and a BPMN2.0 specification-based process engine platform creation system, data stored in a system management service is stored in a process engine container according to the BPMN2.0 specification, a process and form designer directly searches for nodularization information from the process engine container according to an index after nodularization of a target process file according to a process requirement, a target process engine compatible process file is generated according to the nodularization information and a configuration rule, the target process engine compatible process file is verified in a test environment, a process file data packet is issued to the target process engine to run after the verification is successful, and the successfully-run file is stored as the created target process file. The method stores various kinds of nodularization information required by the target process file according to BPMN2.0 standard, is convenient for quickly indexing the nodularization information during process creation, does not need connection among tables, is simple in calling link and transaction link, can realize quick retrieval, and reduces the pressure of system operation.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a process engine platform creating method based on BPMN2.0 specification comprises the following steps:
storing data stored by the system management service to a flow engine container according to BPMN2.0 specifications;
the flow and form designer nodularizes and represents the target flow file according to the flow requirement;
calling data from the flow engine container according to the nodularization information;
generating a flow file compatible with a target flow engine by the called data according to the nodularization information and the configuration rule;
testing and running a process file compatible with the target process engine;
and the flow core module issues the flow file data packet after test operation to a target flow engine for operation, and stores the flow file as a target flow file after debugging operation is successful.
Optionally, the process engine container includes multiple types of data, and the multiple types of data are correspondingly stored in a local framework table that can be identified by a framework of the process and form designer.
Optionally, the data stored in the system management service is analyzed and calculated, the data is converted into a BPMN object according to a BPMN2.0 specification, the BPMN object is converted into file element structure data that can be identified by a framework of the process and form designer based on a user-defined configuration parameter, an original storage interface of the local framework table is called, and the file element structure data is persisted to the local framework table.
Optionally, the framework of the flow and form designer is a Flowable framework.
Optionally, when the called data is generated into a process file compatible with the target process engine according to the nodularization information and the configuration rule, the process engine core module acquires the handler configuration data required by the process file from the process definition file to generate the process file compatible with the target process engine, analyzes the handler account of the process file, creates a task to be handled corresponding to the handler accordingly, and asynchronously pushes the state data of the current process to the service system through the message queue middleware.
Optionally, the configuration rule includes: the method comprises the following steps of initiator self-selection, designated link processing person, designated link processing group, designated link approval organization level, designated link continuous multi-level and designated link superior supervisor.
Optionally, the process file data packet after test operation includes: the target process engine compatible process files and the compatibility configuration data generated by the target process engine for different environments during test operation.
Optionally, the method further includes: the query module issues a query instruction, and the task center module receives the query instruction and calls query information from the flow engine container according to the index of the query instruction.
Optionally, a system adopting the BPMN2.0 specification-based process engine platform creation method includes:
the flow engine container is used for storing data stored by the system management service according to the BPMN2.0 specification;
the flow and form designer is used for nodularizing and representing the target flow file according to the flow requirement;
the flow core module is used for issuing the flow file data packet after the operation test to a target flow engine for operation, and storing the flow file data packet as a target flow file after the debugging operation is successful;
and 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 includes:
the flow engine core module is used for acquiring the configuration data of a handler required by the flow file from the flow definition file so as to generate a flow file compatible with the target flow engine;
and the task center module receives the query instruction and calls 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:
the invention discloses a BPMN2.0 specification-based process engine platform creation method and a system, wherein data stored by a system management service is stored in a process engine container according to a BPMN2.0 specification, a process and form designer directly searches for nodularization information from the process engine container according to an index after nodularization representation of a target process file according to a process requirement, a process file compatible with a target process engine is generated according to the nodularization information and a configuration rule, 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 for operation after successful verification, and the successfully operated file is stored as a created target process file. The method stores various kinds of nodularization information required by the target process file according to BPMN2.0 standard, is convenient for quickly indexing the nodularization information during process creation, does not need connection among tables, is simple in calling link and transaction link, can realize quick retrieval, and reduces the pressure of system operation.
Drawings
FIG. 1 is a schematic diagram of a process engine platform creation method based on BPMN2.0 specification;
FIG. 2 is a schematic diagram of the operation of the core module of the process engine of the present invention;
FIG. 3 is a schematic diagram of data synchronization between a test environment and a production environment 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 according to the present invention;
FIG. 7 is a task hand-off page of the present invention;
FIG. 8 is a schematic diagram of security verification of the account service of the present invention;
FIG. 9 is a logic diagram of the system docking of the present invention.
Detailed Description
The present invention will now be further described by way of the following detailed description of a preferred embodiment thereof, taken in conjunction with the accompanying drawings.
As shown in fig. 1, a method for creating a process engine platform based on BPMN2.0 specification according to the present invention includes:
and S1, storing the data stored by the system management service to a flow engine container according to the BPMN2.0 specification.
In this embodiment, the process engine container contains multiple types of data, and the multiple types of data are correspondingly stored in a local framework table that can be identified by the framework of the process and form designer. The local frame table is a form configuration table, and different identification information, namely table indexes, is added to the data according to different types, so that quick indexing is performed when the information is needed.
The process core module extracts and analyzes data stored by the management service of the computing system, converts the data into a BpmnModel object according to BPMN2.0 specification, converts the BpmnModel object into file element structure data which can be identified by a framework of a process and form designer during operation based on self-defined configuration parameters, and finally calls an original storage interface of a local framework table to persist the converted file element structure data into the local framework table. Optionally, the file element structure data is in an XML format. In this embodiment, the framework of the flow and form designer is a Flowable framework, and therefore, the file element structure data that can be identified by the Flowable framework is stored in the local framework table.
In the application, based on a flow and form designer complying with BPMN2.0 specification, a flow core module avoids configuration data in a configuration file, namely a flow engine container, to the maximum extent, so that caching of high-frequency data access and migration release of one-click flow design are facilitated.
And S2, the flow and form designer nodularizes and expresses the target flow file according to the flow requirement.
And S3, calling data from the flow engine container according to the node information.
And S4, generating a flow file compatible with the target flow engine according to the called data and the configuration rule according to the nodularization information.
When the called data is generated into a target process engine compatible process file according to the nodularization information and the configuration rule, the process engine core module acquires the processor configuration data required by the process file from the process definition file to generate the target process engine compatible process file, analyzes the processor account of the process file, accordingly creates a task to be handled corresponding to the processor, and asynchronously pushes the state data of the current process to the service system through the message queue middleware.
That is, as shown in fig. 2, after the flow definition is issued to the flow engine core module, the task center module fills in initiation of the relevant service form execution flow, at this time, the flow engine core module starts an operation instance of the corresponding flow definition, acquires the required configuration data of the handler from the flow definition file, analyzes the account of the handler in the flow link, creates a task to be handled corresponding to the handler accordingly, and asynchronously pushes the status data of the current flow to the service system (including mail, short message, and wechat notification) through the message queue middleware. The system comprises an independent notification system, and the time-consuming and unnecessary functions of notification messages are separated from the operation of the flow core module and are asynchronously executed, so that the operation failure of the system caused by the delay of the relevance system is greatly improved.
During the creation of the task to be handled, the task instance data objects are assembled and asynchronously flushed into the NoSQL database (read library of the task to be handled).
In this embodiment, the configuration rule includes: a) the initiator selects by oneself: node configuration conforming to BPMN2.0 specification; b) and (3) designating a link handler: directly setting a user number of a processor in a process link; c) and (3) designating a link processing group: the group number configured in background management is set in the process link; d) and (3) specifying the organization level of link approval: finding out the leader of the organization of the corresponding hierarchy or the personnel of the designated role according to the configured hierarchy according to the organization where the designated personnel are located; e) successive multi-level hierarchies of links are specified: the method comprises the steps that examination and approval are carried out on an organization leader of a previous level step by step according to an organization level where a current handler is located, and the leader of the previous level is continuously searched after the current level is examined and approved until the current level is examined and approved to a configured organization level; f) the upper manager of the designated link: according to the person who is currently handling the director role of the organization in which the person is located. The configuration rule can simplify the data volume during operation, improve the efficiency of the system creation process, and is simple and clear in analysis rule and beneficial to later-stage expansion.
And S5, carrying out test operation on the flow files compatible with the target flow engine in the test environment.
And S6, the process core module issues the process file data packet after test operation to a target process engine, namely a production environment, and stores the file successfully debugged and operated as a target process file.
In this embodiment, the process file data packet after the test operation includes: the target process engine compatible process files and the compatibility configuration data generated by the target process engine for different environments during test operation.
As shown in fig. 3, based on the complete isolation of the test environment (e.g., the UAT environment) and the production environment (e.g., the PAT environment), when a new target process file, i.e., a business process, is created, a full amount of tests need to be performed in the test environment, at this time, a large amount of configuration data exists, and if the production environment is created again for the data, a very large amount of work is performed, and even a high risk of human misoperation exists. Therefore, in this embodiment, a file based on the JSON structure is redesigned based on the BPMN2.0 specification, and a large amount of configuration data is stored in the file, so that when a synchronization file is generated, more logical checksum compatibility data processing can be performed on data in different environments. Therefore, only a small part of data (such as user account numbers) needs to be manually adjusted during importing, and other processes and forms can adapt to the data of the new environment. By adopting the method, the release risk can be reduced, the production deployment efficiency is greatly improved, and the full test result of the test environment is also kept.
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 for running two target flow files created. Further, as shown in fig. 6, the user can view his/her tasks to be handled in the task area to be handled, and based on the unified concept, a task handover area (see fig. 7) can be created for daily operation.
In practical application, some 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 queries the query information from a flow engine container according to the index of the query instruction. During daily operation, the pressure of data streams related to a task center module is usually large, file element structure data in a process engine container of the method are classified and stored in a local frame table, all the data are structure data capable of being dynamically assembled and adapted to a page during operation, and the method has a detailed table index design.
On the other hand, all interfaces related to query are directly set as task center modules, and stateless is guaranteed. When the system is in service flow bottleneck, the system can meet the access requirement of higher flow through Docker dynamic capacity expansion, and the system is prevented from being broken down due to overlarge flow access. The design based on the distributed micro-service architecture system ensures that the system has the advantages of supporting high concurrency, rapid scaling and the like. Meanwhile, the task center module is used as a unified system inlet, so that distributed inlets of multiple systems are simplified, and the use experience and the use efficiency of users are greatly improved.
Based on the same inventive concept, the invention also discloses a system adopting the BPMN2.0 specification-based process engine platform creation method, and the system comprises: the system comprises a process engine container, a process and form designer, a process core module and a task center module.
The flow engine container is used for storing data stored by the system management service according to BPMN2.0 standard; the flow and form designer is used for nodularizing and representing the target flow file according to the flow requirement; the flow core module is used for issuing a flow file data packet after running test to a target flow engine for running, and storing the flow file data packet as a target flow file after debugging and running are successful; the task center module is connected with each module and is used for receiving and forwarding task instructions of the system.
Furthermore, the system adopting the BPMN2.0 specification-based process engine platform creation method also comprises a process engine core module and an inquiry module. The process engine core module is used for acquiring the configuration data of a handler required by the process file from the process definition file so as to generate a process file 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 calls query information from the flow 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 in this application.
According to the above modules, the multi-task creation in the system can be realized, for example, as shown in table 1 below, a service deployment unit may be included, where each service deployment unit serves user management, role management, menu management, resource management, timed task management, batch management, data dictionary management, system parameter management, and process management (process approval group management, process form management, process diagram design management, and advanced parameter management of process execution logic). Of course, the service deployment unit in the system is not limited to the above, and may directly create the corresponding nodes of the target flow file, that is, the nodes of the flow form and the business flow graph, by means of the above modules after the demand analysis, and issue and execute the nodes according to the target flow file.
TABLE 1 service deployment units and their classes
Figure BDA0003316743980000081
After the nodes of the target flow file are issued and executed, initiating the target flow file, wherein the initiating of the target flow file needs to create a form page corresponding to a flow template, at the moment, form configuration data is extracted from a local frame table, namely a form configuration table, the rendering of the form is completed by a flow and a form designer at the front end, and the flow file compatible with a target flow engine is generated. And testing and running the flow files compatible with the target flow engine in a testing environment, issuing the flow file data packets after the testing and running into the target flow engine by the flow core module for running, and storing the flow files as the target flow files after the debugging and running are successful. When the target process engine runs, the user information is supplemented, modified and perfected, and the task center module calls the process core module to execute the creation of the target process file after recording related data.
And after the target flow file is successfully created, the flow is executed, the user fills in personal login information, at the moment, information such as request information or query instructions is received and forwarded by the task center module, and then the flow is executed.
As shown in fig. 8, to implement the security of the system, the account service of the system may adopt a security verification manner. The method specifically comprises the following steps: 1) the account service uses a private key in a stored JWK key pair to realize the creation of a JWT token, wherein the JWT token comprises an encryption mode, basic information of a user and signed information; the account service parses JWK of the public key from the stored JWK key and opens up for other services (specifically gateway access) via HTTP.
2) The gateway adopts a filter to analyze the attribute of Authorization in all the request execution headers, and signature verification is carried out on the analyzed JWT token by using a Nimbus library; and analyzing the role owned by the current user from the token, acquiring the corresponding authority from Redis through the role, and checking whether the current request is in compliance.
After the task center module successfully initiates the process, the process core module can generate the task to be handled according to a plurality of calculations, and at the moment, when the page of the task center module is checked to be handled, the task center module is requested to inquire data of the task table to be handled.
And when the page of the task center module enters the task management page to be handled or the task detail page to be handled, the conventional operations of task passing, refuting, handling, transferring, signing, upgrading and the like can be executed, and the user with the corresponding authority can also execute operations of withdrawing, terminating and the like. Further, a user with a higher authority of the task center module can also perform detailed process runtime management.
In this embodiment, the task to be handled may be designed in a cold-hot table mode, that is, the task is moved to the already-handled table once the task to be handled is completed, rather than being identified by using the commercially available status field, so as to improve the large-table performance problem of high-frequency access data.
As shown in fig. 9, in terms of system docking, other business systems dock the process engine platform, i.e., the task center module, through the channel service, and all interfaces (start, task complete, task reject, etc.) enter through the synchronous interface, and synchronously respond to the data of the process state. When the state data of the process engine platform, namely the task center module, is changed, the events are put into a message queue (RabbitMQ) through the process core module, the message queue is monitored in the push service, the process state data notification is asynchronously executed, and if the service system has errors, the corresponding interface is called again through the retry mechanism of batch processing or the message queue to realize the synchronous robustness.
In summary, in the BPMN2.0 specification-based process engine platform creation method and system of the present invention, the method stores data stored in a system management service into a process engine container according to the BPMN2.0 specification, after a process and form designer nodularizes a target process file according to a process requirement, the process and form designer directly searches for nodularization information from the process engine container according to an index, generates a process file compatible with the target process engine according to the nodularization information and a configuration rule, verifies the process file compatible with the target process engine in a test environment, issues a process file data packet to the target process engine for running after successful verification, and stores the file successfully running as the created target process file. The method stores various kinds of nodularization information required by the target process file according to BPMN2.0 standard, is convenient for quickly indexing the nodularization information during process creation, does not need connection among tables, is simple in calling link and transaction link, can realize quick retrieval, and reduces the pressure of system operation.
Furthermore, the method preprocesses the data stored by the system management service, the identification information is assembled before the data is called, excessive table connection is not needed during actual query operation, the development efficiency and the operation efficiency are improved, and the method has natural advantages in large-user-quantity and multi-transaction type operation; the method is based on a distributed micro-service architecture system and has the advantages of high concurrency, rapid scaling and the like.
Furthermore, the method has an independent message notification system, and the message notification function which is time-consuming and has unnecessary functions is separated from the flow core module and is asynchronously executed, so that the operation fault of the system caused by the delay of the correlation system is greatly avoided.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (10)

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

Cited By (4)

* 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
CN116048987A (en) * 2023-01-10 2023-05-02 京东科技控股股份有限公司 Processing method, device, electronic device, system, and storage medium for process business
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 (7)

* 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
CN105204919A (en) * 2015-09-22 2015-12-30 北京京东尚科信息技术有限公司 Procedure virtual machine
CN106095479A (en) * 2016-05-31 2016-11-09 北京中亦安图科技股份有限公司 A kind of enterprise application dissemination method, Apparatus and system
CN106557860A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 A kind of flow path processing method and device
CN112215581A (en) * 2020-10-27 2021-01-12 北京聚通达科技股份有限公司 User-defined approval flow management system based on workflow engine
CN112230933A (en) * 2020-09-16 2021-01-15 贝壳技术有限公司 Automatic process engine conversion method and device, electronic medium and storage medium
CN112445472A (en) * 2020-11-26 2021-03-05 山东健康医疗大数据有限公司 Workflow module based on Activiti and business interaction method

Patent Citations (7)

* 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
CN105204919A (en) * 2015-09-22 2015-12-30 北京京东尚科信息技术有限公司 Procedure 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
CN112230933A (en) * 2020-09-16 2021-01-15 贝壳技术有限公司 Automatic process engine conversion method and device, electronic medium and storage medium
CN112215581A (en) * 2020-10-27 2021-01-12 北京聚通达科技股份有限公司 User-defined approval flow management system based on workflow engine
CN112445472A (en) * 2020-11-26 2021-03-05 山东健康医疗大数据有限公司 Workflow module based on Activiti and business interaction method

Cited By (4)

* 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
CN116048987A (en) * 2023-01-10 2023-05-02 京东科技控股股份有限公司 Processing method, device, electronic device, system, and storage medium for process business
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

Also Published As

Publication number Publication date
CN113918637B (en) 2025-01-07

Similar Documents

Publication Publication Date Title
US12079672B1 (en) Providing efficient message queuing services using a redelivery monitor
US12498915B2 (en) Systems and methods for transformation of reporting schema
US11741396B1 (en) Efficient command execution using aggregated compute units
CN105359141B (en) Supports a combination of stream-based ETL and entity-relationship-based ETL
CN113918637A (en) BPMN2.0 specification-based process engine platform creation method and system
US11210622B2 (en) Generating augmented process models for process analytics
US11188600B2 (en) Facilitating metric forecasting via a graphical user interface
US20200342068A1 (en) Two-tier capacity planning
US20180074804A1 (en) Systems and methods for dynamically replacing code objects for code pushdown
JP6412924B2 (en) Using projector and selector component types for ETL map design
WO2018036342A1 (en) Csar-based template design visualization method and device
CN110276074A (en) Distributed training method, device, device and storage medium for natural language processing
US20200371902A1 (en) Systems and methods for software regression detection
CN116127899A (en) Chip design system, method, electronic device, and storage medium
CN118466932A (en) Template configuration method, system and electronic device for low-code platform
CN114924721A (en) Code generation method, device, computer equipment and storage medium
CN113626062A (en) Trusted application integration
CN113608996B (en) A mirror compilation test method, system, device and readable storage medium
CN113805960A (en) Server configuration method, device, terminal and storage medium based on yaml
CN115309558B (en) Resource scheduling management system, method, computer equipment and storage medium
CN116521652B (en) Method, system and medium for realizing migration of distributed heterogeneous database based on DataX
US20240127148A1 (en) Delta based task analysis for ci systems
CN117435503A (en) Test tool generation method, test device, test equipment and test medium
CN117149866A (en) Method and device for exporting multi-source heterogeneous data, readable storage medium and terminal
CN115756829A (en) Online editing algorithm device deployment method

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