Modeling method, device, equipment and storage medium based on BPMN

By receiving data modeling requests in BPMN modeling, configuring and decomposing models, generating and executing business processes, the problem of poor flexibility in the existing technology is solved, and flexible business process modeling in dynamic environments is realized.

CN114791799BActive Publication Date: 2025-04-22深圳市智象科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210486971.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-06
Publication Date
2025-04-22
Estimated Expiration
2042-05-06

AI Technical Summary

Technical Problem

The prior art has poor flexibility in process-type requirements and is difficult to flexibly implement business process modeling in a dynamic environment.

Method used

By receiving data modeling requests, create an initial BPMN model, and perform parameter configuration and data loading to generate context objects. Then, the target node is obtained, type analysis and information annotation, decompose the model, perform information conversion, and finally generate and execute business processes.

Benefits of technology

It improves the flexibility of BPMN modeling, and can flexibly implement business process modeling in a dynamic environment to meet flexibility needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114791799B_ABST
    Figure CN114791799B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data modeling, and discloses a BPMN-based modeling method, device, equipment and storage medium for improving the flexibility of BPMN modeling. The BPMN-based modeling method includes: creating a BPMN model according to a data modeling request to obtain an initial BPMN model; configuring parameters of the initial BPMN model to obtain a target BPMN model, and performing a data loading operation on the target BPMN model to generate a context object; obtaining a target node according to the context object, and performing type parsing on the target node to obtain a node type; annotating information on the target node according to the node type to obtain an annotated node, and decomposing the target BPMN model according to the annotated node to obtain a local BPMN model; performing information conversion on the local BPMN model, and generating a business process according to the converted BPMN model, and executing the business process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data modeling, and in particular to a BPMN-based modeling method, device, equipment and storage medium. Background Art

[0002] With the rapid development of computer technology, enterprises will gradually develop their own fixed business processes in the process of daily management. Whether this set of processes is standardized, easy to learn, and efficient is related to whether the entire enterprise can operate efficiently, especially for IT service management, which emphasizes service quality.

[0003] Currently, most of the process-type demands on the market use the open source Activiti and a series of frameworks derived from it for secondary development, but the existing solutions have poor flexibility. Summary of the invention

[0004] The present invention provides a BPMN-based modeling method, device, equipment and storage medium, which are used to improve the flexibility of BPMN modeling.

[0005] A first aspect of the present invention provides a BPMN-based modeling method, which includes: receiving a data modeling request, and creating a BPMN model according to the data modeling request to obtain an initial BPMN model; performing parameter configuration on the initial BPMN model to obtain a target BPMN model, and performing a data loading operation on the target BPMN model to generate a context object; obtaining a target node according to the context object, and performing type parsing on the target node to obtain a node type; annotating information on the target node according to the node type to obtain an annotated node, and decomposing the target BPMN model according to the annotated node to obtain a local BPMN model; performing information conversion on the local BPMN model, and generating a business process according to the converted BPMN model, and executing the business process.

[0006] Optionally, in a first implementation method of the first aspect of the present invention, the initial BPMN model is parameterized to obtain a target BPMN model, and data loading operations are performed on the target BPMN model to generate a context object, including: adding a sending task node and a receiving task node through the initial BPMN model; sending and receiving node parameters of the initial BPMN model based on the sending task node and the receiving task node to complete the parameter configuration of the initial BPMN model to obtain the target BPMN model; calling a preset database to perform data loading processing on the target BPMN model to generate a context object corresponding to the target BPMN model.

[0007] Optionally, in a second implementation method of the first aspect of the present invention, the information conversion of the local BPMN model, the generation of a business process based on the converted BPMN model, and the execution of the business process include: respectively mapping the sending task node and the receiving task node to obtain an operation sending node and an operation receiving node; performing information conversion on the local BPMN model to obtain a converted BPMN model; generating a business process corresponding to the converted BPMN model based on the operation sending node and the operation receiving node; obtaining the task nodes in the business process, allocating target services based on the task nodes and deploying the business process to a preset execution environment.

[0008] Optionally, in a third implementation of the first aspect of the present invention, the BPMN-based modeling method further includes: creating a collaboration relationship table and storing it in a shared database; and performing information writing and information reading operations on the local BPMN model through the shared database.

[0009] Optionally, in a fourth implementation of the first aspect of the present invention, the BPMN-based modeling method further includes: saving the data in the data loading operation process through the context object; calculating the target node according to the data saved by the context object and preset flow configuration information, and calling the execution interface corresponding to the target node.

[0010] The second aspect of the present invention provides a BPMN-based modeling device, which includes: a receiving module, which is used to receive a data modeling request, and create a BPMN model according to the data modeling request to obtain an initial BPMN model; a loading module, which is used to configure parameters of the initial BPMN model to obtain a target BPMN model, and perform data loading operations on the target BPMN model to generate a context object; a parsing module, which is used to obtain a target node according to the context object, and perform type parsing on the target node to obtain a node type; a decomposition module, which is used to annotate the target node according to the node type to obtain an annotated node, and decompose the target BPMN model according to the annotated node to obtain a local BPMN model; a conversion module, which is used to convert information on the local BPMN model, generate a business process according to the converted BPMN model, and execute the business process.

[0011] Optionally, in a first implementation method of the second aspect of the present invention, the loading module is specifically used to: add a sending task node and a receiving task node through the initial BPMN model; send and receive node parameters of the initial BPMN model based on the sending task node and the receiving task node to complete the parameter configuration of the initial BPMN model, and obtain a target BPMN model; call a preset database to perform data loading processing on the target BPMN model, and generate a context object corresponding to the target BPMN model.

[0012] Optionally, in a second implementation method of the second aspect of the present invention, the conversion module is specifically used to: map the sending task node and the receiving task node respectively to obtain an operation sending node and an operation receiving node; perform information conversion on the local BPMN model to obtain a converted BPMN model; generate a business process corresponding to the converted BPMN model according to the operation sending node and the operation receiving node; obtain the task nodes in the business process, allocate target services according to the task nodes, and deploy the business process to a preset execution environment.

[0013] Optionally, in a third implementation of the second aspect of the present invention, the BPMN-based modeling device further includes: a storage module, used to create a collaboration relationship table and store it in a shared database; and perform information writing and information reading operations on the local BPMN model through the shared database.

[0014] Optionally, in a fourth implementation method of the second aspect of the present invention, the BPMN-based modeling device also includes: a calculation module, used to save the data in the data loading operation process through the context object; calculate the target node according to the data saved by the context object and preset flow configuration information, and call the execution interface corresponding to the target node.

[0015] The third aspect of the present invention provides a BPMN-based modeling device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the BPMN-based modeling device executes the above-mentioned BPMN-based modeling method.

[0016] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned BPMN-based modeling method.

[0017] In the technical solution provided by the present invention, a data modeling request is received, and a BPMN model is created according to the data modeling request to obtain an initial BPMN model; parameter configuration is performed on the initial BPMN model to obtain a target BPMN model, and data loading operation is performed on the target BPMN model to generate a context object; a target node is obtained according to the context object, and type parsing is performed on the target node to obtain a node type; information annotation is performed on the target node according to the node type to obtain an annotated node, and the target BPMN model is decomposed according to the annotated node to obtain a local BPMN model; information conversion is performed on the local BPMN model, and a business process is generated according to the converted BPMN model, and the business process is executed. The present invention can flexibly implement modeled business processes in a dynamic environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of an embodiment of a modeling method based on BPMN in an embodiment of the present invention;

[0019] Figure 2 A schematic diagram of an embodiment of a modeling device based on BPMN in an embodiment of the present invention;

[0020] Figure 3 It is a schematic diagram of another embodiment of a modeling device based on BPMN in an embodiment of the present invention;

[0021] Figure 4 The figure is a schematic diagram of an embodiment of a BPMN-based modeling device in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] Embodiments of the present invention provide a BPMN-based modeling method, apparatus, device and storage medium for improving the flexibility of BPMN modeling. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1, an embodiment of the modeling method based on BPMN in the embodiment of the present invention includes:

[0024] 101. Receive a data modeling request, and create a BPMN model according to the data modeling request to obtain an initial BPMN model;

[0025] It is understandable that the execution subject of the present invention may be a BPMN-based modeling device, or a terminal or a server, which is not specifically limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.

[0026] Specifically, the server performs global process orchestration through BPMN according to the data modeling request, which carries the interaction goals to be achieved by multiple business processes and the processes included in the multiple business processes, and generates an initial BPMN model. At the same time, the attributes of the task nodes in the initial BPMN model are extended by role annotation, so that each task node has a role attribute.

[0027] 102. Parameter configuration is performed on the initial BPMN model to obtain a target BPMN model, and data loading operation is performed on the target BPMN model to generate a context object;

[0028] Optionally, the server adds a sending task node and a receiving task node through the initial BPMN model; the server sends and receives node parameters of the initial BPMN model based on the sending task node and the receiving task node to complete the parameter configuration of the initial BPMN model and obtain the target BPMN model; the server calls a preset database to load data for the target BPMN model and generates a context object corresponding to the target BPMN model.

[0029] It should be noted that the parameter configuration process is mainly carried out through the persistent data storage layer, access layer, node behavior layer and scheduling layer, among which the persistent data storage layer: provides query of process data and configuration, as well as query and writing of process status after flow; access layer: provides three interfaces: start, flow / forward, and rollback; node behavior layer: abstracts the behavior of the node into a unified interface (node ​​behavior, rollback); for different types of nodes, the interface implementation logic is slightly different; scheduling layer: calculates the node to which the next process will flow based on the data saved by the context object and the flow configuration information of the process, and then calls the execution interface of the corresponding node; the server calls the preset database to load data for the target BPMN model, and generates the context object corresponding to the target BPMN model, among which the context object: saves the process data and status during the entire flow process.

[0030] 103. Obtain the target node according to the context object, and perform type parsing on the target node to obtain the node type;

[0031] Specifically, the server obtains the target node according to the context object, and performs type resolution on the target node to obtain the node type, where the node types specifically include: active node, exclusive gateway, parallel gateway, intermediate throw event node, and end event node. In addition, different types of nodes have different execution logics: active node: executes business logic (such as saving data, changing status, etc.), removes the token bound to the node, and returns control to the scheduling layer; exclusive gateway: decides and selects a downstream branch according to the node configuration, and calls the execution logic of the first node of the branch; parallel gateway: waits for the tokens of all upstream branches to be passed to the node; or splits multiple tokens to all downstream branches; intermediate throw event node: executes the custom execution action configured by the node (such as calling API, etc.), and moves the token to the next node; end event node: saves data, deletes the token, and ends the process. During the entire scheduling life cycle, the generated context object will remain synchronized with the data storage layer and survive until the scheduling fails or ends and exits. At the same time, thanks to the abstraction of node behavior and the decoupling of the behavior and scheduling layers, it will be very convenient to add other node types later. You only need to selectively implement these three interfaces according to the business logic, and the scheduling layer basically does not need to make any changes, which greatly improves development efficiency.

[0032] 104. Annotate the target node with information according to the node type to obtain annotated nodes, and decompose the target BPMN model according to the annotated nodes to obtain a local BPMN model;

[0033] Specifically, the server annotates the target node according to the node type to obtain the annotated node, and decomposes the target BPMN model according to the annotated node to obtain the local BPMN model. The server annotates the local BPMN model with information including: the server adds the sending task node and the receiving task node in the decomposed local BPMN model according to the collaboration relationship between the task nodes in the initial BPMN model, and the server annotates the sending task node and the receiving task node with information. It should be noted that the local BPMN model is not complete, and each role can fill and improve it according to its own business logic to obtain the final local BPMN model.

[0034] 105. Perform information conversion on the local BPMN model, generate a business process according to the converted BPMN model, and execute the business process.

[0035] It should be noted that the server adds additional nodes, namely, model instance matching nodes, collaborative message sending nodes, and collaborative message receiving nodes, to achieve synchronous collaboration between multiple different role processes. The server maps the sending task nodes and the receiving task nodes respectively to obtain the operation sending nodes and the operation receiving nodes; the server converts the information of the local BPMN model to obtain the converted BPMN model; the server generates the business process corresponding to the converted BPMN model according to the operation sending nodes and the operation receiving nodes; the server obtains the task nodes in the business process, allocates target services according to the task nodes, and deploys the business process to the preset execution environment.

[0036] Optionally, the server creates a collaboration relationship table and stores it in a shared database; the server writes and reads information to the local BPMN model through the shared database.

[0037] Specifically, in the process of executing the business process, a unique identifier related to the triggering process is passed to the triggered business process instance through the model instance matching node in the business process to achieve matching of collaborative messages, wherein the unique identifier is stored in the collaborative relationship table in the shared database; in the process of executing the business process, the server realizes writing and reading of real-time messages in the shared database through the collaborative message sending node and the collaborative message receiving node in the business process.

[0038] Specifically, the server saves the data in the data loading operation process through the context object; the server calculates the target node according to the data saved in the context object and the preset flow configuration information, and calls the execution interface corresponding to the target node.

[0039] In the embodiment of the present invention, a data modeling request is received, and a BPMN model is created according to the data modeling request to obtain an initial BPMN model; parameter configuration is performed on the initial BPMN model to obtain a target BPMN model, and a data loading operation is performed on the target BPMN model to generate a context object; a target node is obtained according to the context object, and a type parsing is performed on the target node to obtain a node type; information annotation is performed on the target node according to the node type to obtain an annotated node, and the target BPMN model is decomposed according to the annotated node to obtain a local BPMN model; information conversion is performed on the local BPMN model, and a business process is generated according to the converted BPMN model, and the business process is executed. The present invention can flexibly implement the modeled business process in a dynamic environment.

[0040] The above describes the modeling method based on BPMN in the embodiment of the present invention. The following describes the modeling device based on BPMN in the embodiment of the present invention. Figure 2, an embodiment of a modeling device based on BPMN in an embodiment of the present invention includes:

[0041] The receiving module 201 is used to receive a data modeling request, and create a BPMN model according to the data modeling request to obtain an initial BPMN model;

[0042] The loading module 202 is used to configure parameters of the initial BPMN model to obtain a target BPMN model, and perform a data loading operation on the target BPMN model to generate a context object;

[0043] The parsing module 203 is used to obtain a target node according to the context object, and perform type parsing on the target node to obtain a node type;

[0044] A decomposition module 204 is used to annotate the target node according to the node type to obtain annotated nodes, and decompose the target BPMN model according to the annotated nodes to obtain a local BPMN model;

[0045] The conversion module 205 is used to perform information conversion on the local BPMN model, generate a business process according to the converted BPMN model, and execute the business process.

[0046] In an embodiment of the present invention, a data modeling request is received, and a BPMN model is created according to the data modeling request to obtain an initial BPMN model; parameter configuration is performed on the initial BPMN model to obtain a target BPMN model, and a data loading operation is performed on the target BPMN model to generate a context object; a target node is obtained according to the context object, and a type parsing is performed on the target node to obtain a node type; information annotation is performed on the target node according to the node type to obtain an annotated node, and the target BPMN model is decomposed according to the annotated node to obtain a local BPMN model; information conversion is performed on the local BPMN model, and a business process is generated according to the converted BPMN model, and the business process is executed. The present invention can flexibly implement modeled business processes in a dynamic environment.

[0047] See also Figure 3 Another embodiment of the modeling device based on BPMN in the embodiment of the present invention includes:

[0048] The receiving module 201 is used to receive a data modeling request, and create a BPMN model according to the data modeling request to obtain an initial BPMN model;

[0049] The loading module 202 is used to configure parameters of the initial BPMN model to obtain a target BPMN model, and perform a data loading operation on the target BPMN model to generate a context object;

[0050] The parsing module 203 is used to obtain a target node according to the context object, and perform type parsing on the target node to obtain a node type;

[0051] A decomposition module 204 is used to annotate the target node according to the node type to obtain annotated nodes, and decompose the target BPMN model according to the annotated nodes to obtain a local BPMN model;

[0052] The conversion module 205 is used to perform information conversion on the local BPMN model, generate a business process according to the converted BPMN model, and execute the business process.

[0053] Optionally, the loading module 202 is specifically used to: add a sending task node and a receiving task node through the initial BPMN model; send and receive node parameters of the initial BPMN model based on the sending task node and the receiving task node to complete the parameter configuration of the initial BPMN model and obtain a target BPMN model; call a preset database to perform data loading processing on the target BPMN model and generate a context object corresponding to the target BPMN model.

[0054] Optionally, the conversion module 205 is specifically used to: map the sending task node and the receiving task node respectively to obtain an operation sending node and an operation receiving node; perform information conversion on the local BPMN model to obtain a converted BPMN model; generate a business process corresponding to the converted BPMN model according to the operation sending node and the operation receiving node; obtain the task nodes in the business process, allocate target services according to the task nodes, and deploy the business process to a preset execution environment.

[0055] Optionally, the BPMN-based modeling device further includes: a storage module 206, which is used to create a collaboration relationship table and store it in a shared database; and to perform information writing and information reading operations on the local BPMN model through the shared database.

[0056] Optionally, the BPMN-based modeling device also includes: a calculation module 207, which is used to save the data in the data loading operation process through the context object; calculate the target node according to the data saved by the context object and the preset flow configuration information, and call the execution interface corresponding to the target node.

[0057] In an embodiment of the present invention, a data modeling request is received, and a BPMN model is created according to the data modeling request to obtain an initial BPMN model; parameter configuration is performed on the initial BPMN model to obtain a target BPMN model, and a data loading operation is performed on the target BPMN model to generate a context object; a target node is obtained according to the context object, and a type parsing is performed on the target node to obtain a node type; information annotation is performed on the target node according to the node type to obtain an annotated node, and the target BPMN model is decomposed according to the annotated node to obtain a local BPMN model; information conversion is performed on the local BPMN model, and a business process is generated according to the converted BPMN model, and the business process is executed. The present invention can flexibly implement modeled business processes in a dynamic environment.

[0058] above Figure 2 and Figure 3 The BPMN-based modeling apparatus in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The BPMN-based modeling device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0059] Figure 4 4 is a schematic diagram of the structure of a BPMN-based modeling device provided by an embodiment of the present invention. The BPMN-based modeling device 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 410 (for example, one or more processors) and a memory 420, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 433 or data 432. Among them, the memory 420 and the storage medium 430 may be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the BPMN-based modeling device 400. Furthermore, the processor 410 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the BPMN-based modeling device 400.

[0060] The BPMN-based modeling device 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input and output interfaces 460, and / or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 4The illustrated structure of the BPMN-based modeling device does not constitute a limitation on the BPMN-based modeling device, and may include more or less components than illustrated, or may combine certain components, or may have different component arrangements.

[0061] The present invention also provides a BPMN-based modeling device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the BPMN-based modeling method in the above-mentioned embodiments.

[0062] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the BPMN-based modeling method.

[0063] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0064] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0065] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0066] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0067] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A modeling method based on BPMN, characterized in that: The BPMN-based modeling method includes: Receiving a data modeling request, and creating a BPMN model according to the data modeling request to obtain an initial BPMN model; The initial BPMN model is parameterized to obtain a target BPMN model, and data loading operation is performed on the target BPMN model to generate a context object; specifically, the method includes: adding a sending task node and a receiving task node through the initial BPMN model; performing node parameter sending and receiving on the initial BPMN model based on the sending task node and the receiving task node to complete parameter configuration of the initial BPMN model to obtain a target BPMN model; calling a preset database to perform data loading processing on the target BPMN model to generate a context object corresponding to the target BPMN model; Acquire a target node according to the context object, and perform type parsing on the target node to obtain a node type; Annotating the target node according to the node type to obtain annotated nodes, and decomposing the target BPMN model according to the annotated nodes to obtain a local BPMN model; The local BPMN model is subjected to information conversion, and a business process is generated according to the converted BPMN model, and the business process is executed; specifically, the following steps are performed: mapping the sending task node and the receiving task node respectively to obtain an operation sending node and an operation receiving node; the local BPMN model is subjected to information conversion to obtain a converted BPMN model; a business process corresponding to the converted BPMN model is generated according to the operation sending node and the operation receiving node; the task node in the business process is obtained, and a target service is allocated according to the task node and the business process is deployed to a preset execution environment; a collaboration relationship table is created and stored in a shared database; information is written and read to the local BPMN model through the shared database; the data in the data loading operation process is saved through the context object; the target node is calculated according to the data saved by the context object and the preset flow configuration information, and the execution interface corresponding to the target node is called.

2. A modeling device based on BPMN, characterized in that: For executing the BPMN-based modeling method according to claim 1, the BPMN-based modeling device comprises: A receiving module, used for receiving a data modeling request, and creating a BPMN model according to the data modeling request to obtain an initial BPMN model; A loading module, used to configure parameters of the initial BPMN model to obtain a target BPMN model, and perform a data loading operation on the target BPMN model to generate a context object; A parsing module, used to obtain a target node according to the context object, and perform type parsing on the target node to obtain a node type; A decomposition module, used to annotate the target node with information according to the node type to obtain annotated nodes, and decompose the target BPMN model according to the annotated nodes to obtain a local BPMN model; The conversion module is used to convert information of the local BPMN model, generate a business process according to the converted BPMN model, and execute the business process.

3. A BPMN-based modeling device, characterized in that: The BPMN-based modeling device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the BPMN-based modeling device to execute the BPMN-based modeling method according to claim 1 .

4. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the BPMN-based modeling method as claimed in claim 1 is implemented.

Citation Information

Patent Citations

  • Method and system for realizing multi-business-process cooperation

    CN104133722A