Modeling method and system supporting BPMN visual process and readable storage medium
By supporting the modeling method and system of BPMN visual process, the problem of separation of process design and development in the existing technology is solved, and the custom extension and resolution of the flow chart model is realized into a workflow engine model, supporting process management and monitoring, and improving the efficiency of business process analysis and management.
Patent Information
- Application Number
- CN202411891492.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-05-16
AI Technical Summary
The existing technology is difficult to directly implement processes and manage and monitor processes through the created business process model, and the process design and development are separated, which cannot meet the needs of efficient business process analysis and management.
Provides a modeling method and system that supports BPMN visualization process. By establishing a symbol library, configuration library and drawing tools, professionals allow custom extension of visual symbol elements, create flowchart models, and parse them into workflow engine models to realize process management and monitoring.
It realizes custom extension and resolution of the flowchart model into a workflow engine model, supports process management and monitoring, and improves the efficiency and flexibility of business process analysis, design and management.
Smart Images

Figure CN120011586A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of BPMN visual modeling, and in particular relates to a modeling method, system and readable storage medium supporting BPMN visual process. Background Art
[0002] Business Process Modeling Notation (BPMN) is a set of standard business process modeling notation specifications released by the Business Process Management Initiative (BPMI). BPMN defines a business process diagram, which is used to create a graphical model of business process operations. A general business process model is a network diagram consisting of graphic objects, including activities and process controllers that define the execution order of these activities.
[0003] In traditional methods, mainstream process modeling tools such as Visio and Enterprise Architect are based on fixed types and symbols to create business process models. In addition, when using the above modeling tools, process design is separated from process development and implementation, and it is impossible to truly implement the process and manage and monitor the process through the created business process model.
[0004] Therefore, there is an urgent need for a modeling method, system and readable storage medium that supports BPMN visual process, which can be expanded vertically and horizontally through custom symbols, has higher applicability, and the created business process model supports parsing into a workflow engine model, directly implements the creation process, supports the management and monitoring of the process, and realizes BPMN visual modeling. Summary of the invention
[0005] An embodiment of the present invention provides a modeling method supporting BPMN visualization process.
[0006] An embodiment of the present invention provides a modeling system that supports BPMN visualization process.
[0007] An embodiment of the present invention provides another modeling system that supports BPMN visualization process.
[0008] An embodiment of the present invention provides a readable storage medium.
[0009] In view of this, the first aspect of the present invention proposes a modeling method that supports BPMN visualization process, including establishing a symbol library, a configuration library and a drawing tool, wherein the symbol library includes a BPMN symbol category; establishing a symbol component under the BPMN symbol category; establishing a flowchart chart type in the configuration library, and adding the symbol component to the chart type toolbar of the flowchart chart type; selecting a drawing type in the drawing tool, and establishing a flowchart according to the flowchart chart type in the drawing type, wherein the drawing window of the flowchart includes a canvas; setting the symbol component in the chart type toolbar on the canvas to establish a flowchart model; storing the drawn flowchart model in a database; parsing the flowchart model to form a workflow engine model, and completing the modeling that supports BPMN visualization process.
[0010] Furthermore, the symbol library registers symbols by means of vector graphics, expands BPMN symbols, and supports customizing the style type information of symbols.
[0011] Furthermore, the chart configuration library is also used to customize the addition and deletion of required symbol components and display them in the chart type toolbar. Different flowchart chart types will load different canvases according to the configuration.
[0012] Furthermore, when the symbol components in the chart type toolbar are set on the canvas, the modeling method supporting the BPMN visual process also includes: configuring the activity process nodes, routing process nodes, and gateway process nodes in combination with the actual business process.
[0013] Furthermore, the modeling method supporting BPMN visual process also includes: process monitoring, analyzing the current state of the process, distinguishing and displaying the executed tasks, the tasks being executed, the tasks not executed, and the task undertakers in the corresponding flowchart.
[0014] According to a second aspect of the present invention, there is provided a modeling system supporting BPMN visual process, comprising: a basic module for establishing a symbol library, a configuration library and a drawing tool, wherein the symbol library comprises a BPMN symbol category; a symbol component establishing module for establishing a symbol component under the BPMN symbol category; a flowchart chart type establishing module for establishing a flowchart chart type in the configuration library, and adding the symbol component to the chart type toolbar of the flowchart chart type; a flowchart establishing module for selecting a drawing type in the drawing tool, and establishing a flowchart according to the flowchart chart type in the drawing type, wherein the drawing window of the flowchart comprises a canvas; a storage module for storing the drawn flowchart model in a database; and a parsing module for parsing the flowchart model to form a workflow engine model, thereby completing the modeling supporting BPMN visual process.
[0015] Furthermore, the modeling system supporting BPMN visual process also includes: a configuration module, which is used to configure the activity process nodes, routing process nodes, and gateway process nodes in combination with the actual business process when setting the symbol components in the chart type toolbar on the canvas.
[0016] Furthermore, the modeling system supporting BPMN visual process also includes: a process monitoring module, which is used to monitor the process, analyze the current state of the process, and distinguish and display the executed tasks, the tasks being executed, the unexecuted tasks, and the task undertakers in the corresponding flowchart.
[0017] According to a third aspect of the present invention, there is provided a modeling system supporting BPMN visual process, comprising a memory and a processor, wherein the memory stores programs or instructions executable on the processor, and when the programs or instructions are executed by the processor, the steps of the modeling method supporting BPMN visual process in the first aspect or any possible implementation of the first aspect are implemented.
[0018] According to a fourth aspect of the present invention, there is provided a readable storage medium having programs and / or instructions stored thereon, which, when executed by a processor, implement the steps of the modeling method for supporting BPMN visual processes in the first aspect or any possible implementation of the first aspect.
[0019] The beneficial effects brought about by the present invention are as follows: the present invention can enable professionals to customize and extend visual symbol elements based on BPMN symbols, so as to better analyze and design processes by creating flowcharts, and to parse flowchart models into workflow engine models and monitor process execution, thereby greatly improving the work efficiency of analyzing, optimizing and managing actual business processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 One of the flow charts of the modeling method supporting BPMN visualization process provided by the embodiment of the present invention;
[0021] Figure 2 A second flow chart of a modeling method supporting a BPMN visualization process provided by an embodiment of the present invention;
[0022] Figure 3 A third flowchart of a modeling method supporting a BPMN visualization process provided by an embodiment of the present invention;
[0023] Figure 4 An example diagram of creating a BPMN symbol provided by an embodiment of the present invention;
[0024] Figure 5 An example diagram of a configuration flow chart symbol component provided for an embodiment of the present invention;
[0025] Figure 6 An example diagram of a flow chart of a visual process modeling tool provided by an embodiment of the present invention;
[0026] Figure 7 An example diagram of a configuration process node execution strategy provided by an embodiment of the present invention;
[0027] Figure 8 An example diagram of a script for setting a route execution provided in an embodiment of the present invention;
[0028] Fig. 9 An example diagram of process monitoring provided by an embodiment of the present invention;
[0029] Fig.10 One of the block diagrams of the modeling system supporting BPMN visualization process provided by the embodiment of the present invention;
[0030] Fig.11 The second block diagram of the modeling system supporting BPMN visualization process provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] The present invention proposes a modeling method that supports BPMN visualization process, such as Figure 1 As shown, including:
[0033] S101: Establish a symbol library, a configuration library and a drawing tool, wherein the symbol library includes a BPMN symbol category;
[0034] S103: Create a symbol component under the BPMN symbol category;
[0035] S105: creating a flowchart chart type in the configuration library, and adding a symbol component to a chart type toolbar of the flowchart chart type;
[0036] S107: Select a drawing type in the drawing tool, and create a flowchart according to the flowchart chart type in the drawing type. The drawing window of the flowchart includes a canvas;
[0037] S109: Setting the symbol components in the chart type toolbar on the canvas to establish a flow chart model;
[0038] S111: storing the drawn flowchart model in a database;
[0039] S113: Parse the flowchart model to form a workflow engine model, and complete the modeling of the BPMN visualization process.
[0040] In this embodiment, a visual process modeling tool supporting the BPMN standard is realized by establishing a symbol library, a configuration library and a drawing tool. This method allows developers to create symbol components under the BPMN symbol category and add these components to the toolbar of the flowchart diagram type. By selecting the drawing type and establishing a flowchart in the drawing tool, developers can set the symbol components on the canvas to establish a flowchart model. Finally, the flowchart model is stored in a database and can be parsed into a workflow engine model, thereby completing the modeling of the BPMN visual process. This method improves the flexibility and efficiency of business process modeling, allowing process design, development and monitoring to be seamlessly integrated.
[0041] Furthermore, the symbol library registers symbols by means of vector graphics, expands BPMN symbols, and supports customizing the style type information of symbols.
[0042] In this embodiment, symbols are registered in the symbol library by means of vector graphics, BPMN symbols are extended, and style type information of custom symbols is supported. This expansion capability enables the modeling tool to adapt to more business scenarios and personalized needs, and improves the customizability of symbols and the visual expression of flowcharts.
[0043] Furthermore, the chart configuration library is also used to customize the addition and deletion of required symbol components and display them in the chart type toolbar. Different flowchart chart types will load different canvases according to the configuration.
[0044] In this embodiment, the required symbol components are added or deleted through the chart configuration library, and these components are displayed in the toolbar. This customization capability allows different flowchart chart types to load different canvas environments according to the configuration, thereby improving the adaptability of flowchart modeling and the friendliness of the user interface.
[0045] Furthermore, when the symbol components in the chart type toolbar are set on the canvas, the modeling method supporting the BPMN visual process also includes: configuring the activity process nodes, routing process nodes, and gateway process nodes in combination with the actual business process.
[0046] In this embodiment, when setting the symbol components on the canvas, the active process nodes, routing process nodes, and gateway process nodes are configured in combination with the actual business process. This configuration capability enables the flowchart model to more accurately reflect the details of the actual business process, thereby improving the practicality and accuracy of the flowchart.
[0047] Furthermore, the modeling method supporting BPMN visual process also includes: process monitoring, analyzing the current state of the process, distinguishing and displaying the executed tasks, the tasks being executed, the tasks not executed, and the task undertakers in the corresponding flowchart.
[0048] In this embodiment, the process monitoring function can analyze the current state of the process and distinguish and display the executed tasks, the tasks being executed, the tasks not executed, and the task undertakers in the flowchart. This monitoring capability enables managers to understand the execution status of the process in real time, adjust and optimize the process in time, and improve the efficiency and effectiveness of process management.
[0049] The modeling method that supports BPMN visualization process is further described, such as Figure 2 shown.
[0050] S201: The developer creates a new flowchart BPMN-related symbol component under the BPMN symbol category in the symbol library, including events, activities, gateways, etc.;
[0051] S203: The developer creates a new flowchart chart type in the configuration library, and selects the symbol component created in S201 to add it to the chart type toolbar;
[0052] S205: The developer selects a new drawing type in the drawing tool, selects the flowchart created in S203 in the drawing type, creates a new flowchart drawing window, and models the flowchart by clicking and dragging symbol components in the toolbar to the canvas;
[0053] S207: The developer expands the toolbar in the drawing page, and designs the flowchart by clicking and dragging the symbol components in the toolbar, thereby completing the flowchart modeling;
[0054] S209: The developer changes the information of the process node, configures the node information such as activities, routes, gateways, etc., configures the task execution strategy, and completes the task script;
[0055] S211: After the developer finishes drawing the flowchart, he clicks the save button in the toolbar to save the flowchart;
[0056] S213: After the developer successfully saves the flowchart, he or she can click the Parse button in the toolbar to automatically convert the flowchart into workflow engine code.
[0057] Furthermore, if Figure 3 As shown, the modeling method that supports BPMN visualization process can also be described as:
[0058] S301: Create BPMN symbols;
[0059] S303: Create a flow chart category;
[0060] S305: Flowchart visualization modeling;
[0061] S307: Flowchart saved;
[0062] S309: The flowchart is parsed into a workflow engine model.
[0063] Furthermore, a construction method of a visual process modeling tool supporting BPMN is provided, in which the registration and definition of symbols are completed through a symbol library, the configuration and definition of flowcharts are completed through a chart configuration library, and the modeling of flowcharts is completed through a drawing tool and parsed into a workflow engine model. The above method includes the following main steps:
[0064] Step 1: Figure 4 As shown, the BPMN visualization developer creates a new flowchart-related symbol component under the BPMN symbol category in the symbol library;
[0065] Step 2: Figure 5 As shown, the developer creates a new flowchart chart type in the configuration library and selects the symbol component created in step 1 to add it to the chart type toolbar;
[0066] Step 3: Figure 6 As shown, the developer selects the new drawing type in the drawing tool, selects the flowchart created in step 2 in the drawing type, and creates a new flowchart drawing window. The flowchart is modeled by clicking and dragging the symbol components in the toolbar to the canvas;
[0067] Step 4: Figure 7 and Figure 8 As shown, configure the node information such as activity, routing, gateway, etc.
[0068] Step 5. After the developer completes drawing the flowchart, click the Save button in the toolbar to save the flowchart information into the database;
[0069] Step 6. After the developer successfully saves the flowchart, click the Parse button in the toolbar to parse the flowchart into a workflow engine model;
[0070] The symbol library can register symbols in the form of vector graphics, expand the original BPMN symbols, and support custom symbol style types and other information.
[0071] The chart configuration library can customize the addition and deletion of required symbol components and display them in the toolbar. Different chart types will load different canvas environments based on the configuration.
[0072] When drawing a flowchart, you need to configure activities, gateways and other process nodes in combination with the actual business process. For example, you need to write task flow execution strategies and task completion execution scripts.
[0073] The graphical model of BPMN symbols has a corresponding workflow engine model in the system. After the flowchart is saved in the database, the system obtains all the graphical element information in the diagram, and parses it according to the configured predetermined strategy, parsing the flowchart model into a workflow engine model, and finally executing the process in the system.
[0074] like Fig. 9 As shown, the flowchart model established by the visual process modeling tool supports the process monitoring function after being parsed into the workflow engine model, analyzes the current status of the process, and distinguishes and displays information such as executed tasks, tasks being executed, unexecuted tasks, and task undertakers in the corresponding flowchart.
[0075] According to a second aspect of the present invention, a modeling system 700 supporting BPMN visualization process is provided. Fig.10 As shown, it includes: a basic module 701, which is used to establish a symbol library, a configuration library and a drawing tool, wherein the symbol library includes a BPMN symbol category; a symbol component establishment module 702, which is used to establish a symbol component under the BPMN symbol category; a flowchart chart type establishment module 703, which is used to establish a flowchart chart type in the configuration library, and add the symbol component to the chart type toolbar of the flowchart chart type; a flowchart establishment module 704, which is used to select a drawing type in the drawing tool, and establish a flowchart according to the flowchart chart type in the drawing type, and the drawing window of the flowchart includes a canvas; a storage module 705, which is used to store the drawn flowchart model in a database; a parsing module 706, which is used to parse the flowchart model to form a workflow engine model, and complete the modeling of supporting BPMN visual processes.
[0076] In this embodiment, a complete modeling solution supporting BPMN visual process is implemented through the basic module 701, the symbol component establishment module 702, the flowchart diagram type establishment module 703, the flowchart establishment module 704, the storage module 705 and the parsing module 706. This system provides an integrated service from symbol creation to flowchart parsing, making business process modeling more efficient and systematic.
[0077] Furthermore, the modeling system 700 supporting BPMN visual process also includes: a configuration module 707, which is used to configure the activity process nodes, routing process nodes, and gateway process nodes in combination with the actual business process when setting the symbol components in the chart type toolbar on the canvas.
[0078] In this embodiment, the modeling system configures the activity process nodes, routing process nodes, and gateway process nodes in combination with the actual business process when setting the symbol components on the canvas through the configuration module 707. This configuration capability enables the system to better adapt to different business needs and improves the flexibility and applicability of the system.
[0079] Furthermore, the modeling system 700 supporting BPMN visual process also includes: a process monitoring module 708, which is used to monitor the process, analyze the current state of the process, and distinguish and display the executed tasks, the tasks being executed, the unexecuted tasks, and the task undertakers in the corresponding flowchart.
[0080] In this embodiment, the process monitoring function is realized through the process monitoring module 708, which can analyze the current state of the process and distinguish and display the executed tasks, the tasks being executed, the tasks not executed and the task undertakers in the flow chart. This monitoring capability enables the system to provide managers with real-time process execution information, improving the real-time nature and response speed of process management.
[0081] According to a third aspect of the present invention, a modeling system 800 supporting BPMN visualization process is provided. Fig.11 As shown, it includes a memory 801 and a processor 802. The memory 801 stores programs or instructions that can be executed on the processor. When the programs or instructions are executed by the processor, the steps of the modeling method supporting BPMN visual process in the first aspect or any possible implementation of the first aspect are implemented.
[0082] According to a fourth aspect of the present invention, there is provided a readable storage medium having programs and / or instructions stored thereon, which, when executed by a processor, implement the steps of the modeling method for supporting BPMN visual processes in the first aspect or any possible implementation of the first aspect.
[0083] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A modeling method supporting BPMN visualization process, characterized in that: include: Establishing a symbol library, a configuration library and a drawing tool, wherein the symbol library includes a BPMN symbol category; Creating a symbol component under the BPMN symbol category; Creating a flowchart chart type in the configuration library, and adding the symbol component to a chart type toolbar of the flowchart chart type; Selecting a drawing type in the drawing tool, creating a flowchart in the drawing type according to the flowchart chart type, wherein the drawing window of the flowchart includes a canvas; Setting the symbol components in the chart type toolbar on the canvas to establish a flow chart model; The drawn flow chart model is stored in a database; The flowchart model is parsed to form a workflow engine model, completing the modeling of supporting BPMN visualization process.
2. The modeling method supporting BPMN visualization process according to claim 1, characterized in that: The symbol library registers symbols in the form of vector graphics, expands BPMN symbols, and supports customizing style type information of symbols.
3. The modeling method supporting BPMN visualization process according to claim 1, characterized in that: The configuration library is also used to customize the addition and deletion of the required symbol components and display them in the chart type toolbar. Different flowchart chart types will load different canvases according to the configuration.
4. The modeling method supporting BPMN visualization process according to claim 1, characterized in that: When the symbol components in the chart type toolbar are set on the canvas, the modeling method supporting BPMN visual process also includes: configuring activity process nodes, routing process nodes, and gateway process nodes in combination with actual business processes.
5. The modeling method supporting BPMN visualization process according to any one of claims 1 to 4, characterized in that: Also includes: Process monitoring, analyzing the current status of the process, distinguishing and displaying the executed tasks, the tasks being executed, the tasks not executed, and the task undertakers in the corresponding flowchart.
6. A modeling system supporting BPMN visualization process, characterized by: include: A basic module, used to establish a symbol library, a configuration library and a drawing tool, wherein the symbol library includes a BPMN symbol category; A symbol component creation module, used to create a symbol component under the BPMN symbol category; A flowchart chart type establishment module, used to establish a flowchart chart type in the configuration library, and add the symbol component to a chart type toolbar of the flowchart chart type; A flowchart creation module, used for selecting a drawing type in the drawing tool, and creating a flowchart in the drawing type according to the flowchart chart type, wherein the drawing window of the flowchart includes a canvas; A storage module, used for storing the drawn flow chart model in a database; The parsing module is used to parse the flowchart model to form a workflow engine model, and complete the modeling of the BPMN visual process.
7. The modeling system supporting BPMN visualization process according to claim 6, characterized in that: It also includes a configuration module, which is used to configure the activity process node, the routing process node, and the gateway process node in combination with the actual business process when the symbol component in the chart type toolbar is set on the canvas.
8. The modeling system supporting BPMN visualization process according to claim 6 or 7, characterized in that: The process monitoring module is used for process monitoring and analyzing the current state of the process, and distinguishing and displaying the executed tasks, the tasks being executed, the tasks not executed, and the task undertakers in the corresponding flowchart.
9. A modeling system supporting BPMN visualization process, characterized in that: The method comprises a memory and a processor, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the modeling method supporting BPMN visual process as described in any one of claims 1 to 5 are implemented.
10. A readable storage medium, characterized in that: Programs and / or instructions are stored thereon, and when the programs and / or the instructions are executed by a processor, the steps of the modeling method supporting BPMN visual process as described in any one of claims 1 to 5 are implemented.