Low-code flowchart dynamic configuration and customized interactive system

Through low-code dynamic configuration of flowcharts and customized interaction systems, the problems of different definition methods and poor scalability of flowcharts are solved, and the unified data structure and interaction logic customization of flowcharts are realized, reducing development costs and improving efficiency. .

CN118519622BActive Publication Date: 2024-10-11珠海金智维人工智能股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410980343.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-11
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

Flowcharts in the existing technology are defined in different ways, making it difficult to integrate and reuse processes in different systems within the same enterprise. The interactive functions of process nodes are single, the data format and structure lack standards, and the scalability and compatibility are poor, resulting in high development costs and low efficiency. .

Method used

Adopt a low-code flow chart dynamic configuration and custom interaction system, including a low-code page rendering module, a data structure definition module, a flow chart rendering module and a low-code page designer module, and define flow chart elements through a unified JSON data format. Support event-based design and loosely coupled interaction between modules, and realize dynamic configuration and customized interaction of flow charts.

Benefits of technology

It realizes the unified data structure and implementation mode of flowcharts, reduces the development costs of various similar flowchart solutions, supports the customization of interactive logic of different nodes, reduces repeated code development, provides business customization functions and realizes hot process modification. Update capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519622B_ABST
    Figure CN118519622B_ABST
Patent Text Reader

Abstract

The present invention discloses a low-code system for dynamic configuration of flowcharts and customized interaction, including a low-code page rendering module, a data structure definition module, a flowchart rendering module and a low-code page designer module; wherein the low-code page rendering module is used to render low-code pages; the data structure definition module is used to define the data structure required for the flowchart; the flowchart rendering module is a visualization module for initializing the diagram configuration of the process and rendering the flowchart data; the low-code page designer module is a designer, and the user edits the page by dragging. The present invention unifies the data structure and implementation mode, which helps to reduce the development cost of implementing a variety of similar flowchart solutions; at the same time, it combines the low-code page design in an event-based manner, and can implement different interaction logics for different nodes; in addition, the configuration is provided in a low-code manner, which is ready to use out of the box, reducing the code development work of the repeated parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual modeling, and in particular to a low-code system for dynamic configuration of flowcharts and customized interaction. Background Art

[0002] Modern enterprises are increasingly focusing on digital transformation, and many information systems are beginning to use business process diagrams for visual modeling. Flowcharts can clearly display business flow steps and decision nodes, effectively helping to manage and optimize business processing processes.

[0003] Although there are some excellent flowchart rendering works in the market, the application of flowcharts is still in different vertical fields, so different software developers define different events, node expansion methods, structural designs, and functional targeting for this flowchart. The integration work of different flowcharts is different, and different flowchart implementation methods and codes may be introduced. Most of them may have repeated logic, but because they come from different industries or technical fields, it is difficult to unify them, so they can only be developed and implemented separately. This development model is often cost-effective and inefficient. The reasons expose the following problems that need to be solved urgently:

[0004] (1) Flowcharts are defined in different ways, making it difficult to integrate and reuse processes in different systems within the same enterprise;

[0005] (2) The interactive functions of process nodes are single, which makes it difficult to customize them according to the needs of specific business industries or technical fields;

[0006] (3) There is no standard for the data format and structure of the flowchart, and the scalability and compatibility are poor;

[0007] (4) Process modifications require redevelopment and redeployment to implement, which is very inefficient.

[0008] For example, the technical solution of "202111351513.3, an implementation method of a custom visual topology map based on Antv, Jiangsu Future Network Innovation Research Institute" is an implementation method only for topology maps. After the user introduces it and implements an implementation page for the topology map, if the user has new needs at this time and needs to implement a workflow scenario, then this method may not be implemented because this method is only applicable to the layout mode, connection, etc. of the topology map and the workflow method. Summary of the invention

[0009] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and provide a low-code system for dynamic configuration of flowcharts and customized interaction.

[0010] The purpose of the present invention is achieved through the following technical solutions:

[0011] A low-code flowchart dynamic configuration and customized interactive system, including a low-code page rendering module, a data structure definition module, a flowchart rendering module, and a low-code page designer module;

[0012] Low-code page rendering module, used to render low-code pages;

[0013] Data structure definition module, used to define the data structure required by the flowchart;

[0014] Flowchart rendering module, a visualization module for initializing the diagram configuration of the process and rendering the data of the flowchart;

[0015] Low-code page designer module, this module is a designer that allows users to edit pages by dragging and dropping.

[0016] The working process of the low-code page rendering module is as follows:

[0017] Step 1: When entering the page, start loading the page renderer;

[0018] Step 2: After loading the page renderer, read the JSON corresponding to the page from the database through the interface;

[0019] Step 3: Pass the page JSON to the page renderer, and render the page effect through the renderer;

[0020] Step 4: If the page has bound events during the design process, the rendered page will listen to the corresponding events and will handle the events according to the event handling function bound by the design; if no event is triggered, the page rendering is completed.

[0021] The data structure definition module is used to define the configuration information required for flowchart rendering. The entire configuration information is a JSON object, which includes two main configurations: initialization configuration data object and flowchart entity data. The initialization configuration data object includes layout configuration, state list, and node style configuration.

[0022] The data structure definition module operates in the following manner when realizing the display of an RPA flowchart and starting the RPA flowchart by clicking a start node on the flowchart:

[0023] 1) Add the components of the flowchart rendering module to the page. At this time, the data structure of the page is an iframe containing a flowchart renderer;

[0024] 2) Configure initialization configuration data:

[0025] a. You need to initialize several nodes of different data types to correspond to the RPA task node types. Assume there are three types of nodes: start node, end node, and task node.

[0026] b. Assign green, gray, and blue to the start node, end node, and task node respectively;

[0027] c. Define the node status list, which defines three states: to be done, being done, and completed, and configure corresponding colors for these three states, namely blue, red, and green;

[0028] 3) Configure the flow chart data source interface: The data returned by the interface needs to be an object data. There are two arrays in the object, namely the node array and the connection array. In the node data, there needs to be a node state that corresponds to the state name configured above;

[0029] 4) Configure the start event: Add a listener node to add an event in the low-code page designer module. If the node is a "start node", initiate a request to start the RPA process. After the process is initiated, refresh the data of the "flowchart data source interface" configured in 3 every 5 seconds to refresh the flowchart rendering module. If the end node is in the "ended" state, stop refreshing.

[0030] 5) The data returned by the "Flowchart Data Source Interface" contains 3 data in the node array, namely the start node, the end node, and the task node, and 2 data in the connection array. If the status of the returned node data from start to end is: completed, in progress, or to be done, then the diagram on the flowchart rendering module will be displayed in blue, red, and green; if the sequence status is: completed, completed, completed, then the display color will be green, green, and green.

[0031] After the user obtains the flowchart data and initialization configuration information, the flowchart rendering module embeds it into the page of the flowchart rendering module in the form of an iframe through the low-code page rendering module, and performs initialization actions and event interactions with the flowchart data and initialization configuration information through the window message sending mechanism and the flowchart rendering module in the iframe.

[0032] When initializing the page, the flowchart rendering module receives the flowchart data and initialization parameters, and renders them into a flowchart. When a node is clicked in the flowchart, a node click event will be triggered. At this time, the event response data will be sent to the low-code page rendering module through the window message sending method. The low-code page rendering module listens to this event as the parent page, and will process the relevant business accordingly when triggered.

[0033] The monitoring mechanism of the flowchart rendering module is deeply bound and connected with the events of the low-code page designer module, and its monitoring mechanism is as follows: during the interactive process of event definition and driving, the flowchart rendering module opens up to the outside by defining events through internal encapsulation, and the events include node clicks and saves; when these events are triggered, they will communicate through the window message sending method, and send data to the external low-code page rendering module for interaction. After the external low-code page rendering module monitors this event, it will perform the corresponding action based on the event processing configuration pre-configured for this page by the low-code page designer module, and the action includes requesting the interface and opening a pop-up window.

[0034] The interaction process between the low-code page rendering module and the flowchart rendering module in the iframe is as follows:

[0035] (1) Enter the page and obtain the flowchart initialization information from the server;

[0036] (2) After obtaining the initialization information, start loading the iframe and pass the initialization data to the iframe through the window message sending method;

[0037] (3) After entering the iframe, start the flowchart renderer module to start rendering;

[0038] (4) After rendering the flowchart, open the event to the iframe internal binding, and open the event to the low-code page rendering module of the parent page through the window message sending method;

[0039] (5) The low-code page rendering module of the parent page listens to the events opened in the iframe and waits for the user to trigger the event;

[0040] (6) After the user operates, an event is triggered and the event is immediately passed to the flowchart rendering module inside the iframe;

[0041] (7) After the flowchart rendering module responds to the event operation, it sends the corresponding event and data to the iframe;

[0042] (8) The iframe layer then passes the events and data to the low-code page rendering module, which then assigns the business processing functions corresponding to the events to respond to the user.

[0043] The working process of the low-code page designer module is as follows:

[0044] S1. Create a new page in the page information table and enter the low-code page designer module;

[0045] S2. In the Low-Code Page Designer module, drag an iframe component from the component area and drop it into the effect area;

[0046] S3. Set the iframe attribute to the page where the flowchart rendering module is located;

[0047] S4. Add a listener for the events opened by the flowchart in the event panel of the iframe and select the processing method;

[0048] S5. After the design is completed, you can call the page save and receive to save the current page to the page information table.

[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0050] 1. The present invention unifies data structures and implementation modes, which helps to reduce the development cost of implementing a variety of similar flow chart solutions.

[0051] 2. The present invention combines low-code page design in an event-based manner, and can implement different interaction logics for different nodes.

[0052] 3. The present invention provides configuration in a low-code manner and is ready to use out of the box, thus reducing the code development work of repeated parts.

[0053] 4. The present invention stores the flowchart structure, configuration, events, and page configuration in a digital manner, and different business customization functions can be realized without repackaging and deployment. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a design-state business process diagram of the system for dynamic configuration of low-code flowcharts and customized interaction as described in the present invention.

[0055] Figure 2 This is an execution-state business process diagram of the system for dynamic configuration of low-code flowcharts and customized interaction as described in the present invention.

[0056] Figure 3 A workflow diagram for the low-code page rendering module in operation.

[0057] Figure 4 Define the workflow diagram of the module for the data structure.

[0058] Figure 5 It is a business logic diagram of the low-code page rendering module and the flowchart rendering module in the iframe.

[0059] Figure 6 Design renderings for the page of the low-code page designer module.

[0060] Figure 7 This is the structure diagram of the page information table. DETAILED DESCRIPTION

[0061] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.

[0062] like Figures 1 to 6 , a low-code system for dynamic configuration and custom interaction of flowcharts, is a solution based on data-driven and low-code technology to achieve dynamic configuration and custom interaction of flowcharts. It uses the standard JSON data format to define common elements of the process, such as nodes, lines and their properties, which makes the flowchart definition independent of a specific system and has good scalability and reusability. At the same time, the solution supports the rapid construction of bindings for various flowchart interaction behaviors through a low-code page designer, such as binding node events to open custom property forms. In addition, it adopts a modular design, separates process definition from rendering, and realizes loosely coupled interaction between modules through an event-driven mechanism. The overall solution adopts a data-driven approach, and uniformly stores process-related elements such as definitions, forms and other information in the database, thereby realizing the function of dynamic configuration.

[0063] In this solution, four modules are used to cooperate with each other, which are:

[0064] Module 1: Low-code page rendering module, used to render low-code pages;

[0065] Module 2: Data structure definition module, used to define the data structure required for the flowchart;

[0066] Module 3: Flowchart rendering module, a visualization module for initializing the flow chart configuration and rendering the flow chart data;

[0067] Module 4: Low-code page designer module, which is a designer that allows users to edit pages by dragging and dropping;

[0068] Through the above four modules, we have completed the corresponding functions of the design state and the execution state to realize the core functions of the present invention.

[0069] In the design state, we complete the design of a flowchart page through the low-code page designer module to configure the page layout, reference components, data configuration (configuration according to data structure standard definition), interface configuration, event operation configuration, etc., and publish it as a low-code page so that it can be rendered and used in the code page rendering module. Its business process is as follows Figure 1 .

[0070] In the execution state, we use the low-code page rendering module to read the configuration, flowchart data, events, etc. in the process of loading the published flowchart page, and listen to related events to implement the flowchart rendering, operation and other functions on it. Its business process is as follows Figure 2 .

[0071] In this invention, we use four modules to realize the overall function. Among these four modules, we define a unified data modeling module and event-driven mechanism, which is also the key. Through the unified data structure definition, we realize the decoupling of process definition and operation, and support the dynamic process capability:

[0072] 1. Define common elements of the process, such as nodes, lines, and other structural elements, by using the JSON data format in the data structure definition module (module 2).

[0073] 2. In the data structure definition module (module 2), the process definition is abstracted into two parts: configuration information and entity data, which are used for storage and calling respectively.

[0074] (1) The configuration information defines the relevant configuration information of the style, state list, and layout method.

[0075] (2) The data module defines the data model of nodes and links.

[0076] 3. Through the low-code page designer module (module four), design and store an executable page based on the low-code page renderer (module one), embed the flowchart renderer module (module three) as an iframe component, and configure event handling (see "The interaction process between the page renderer and the flowchart renderer in the iframe" below for details).

[0077] 4. When accessing a page, the low-code page renderer (module 1) reads the page designed and stored by the low-code page designer module, renders the page, obtains the interactive behavior and event configuration, and monitors the events configured in the page.

[0078] 5. The flowchart rendering module performs dynamic rendering based on reading configuration and entity data.

[0079] 6. In this process, all process-related definitions are uniformly managed and called as data.

[0080] 7. Support process modification to take effect automatically without restarting, realizing hot update capability.

[0081] The interaction methods mentioned above are defined and driven by events, realizing a decoupled and loosely coupled interactive communication mechanism between modules. The interaction methods of each module are as follows:

[0082] 1. It is necessary to implement and open standard events in the flowchart rendering module. The event list is shown in the table "Events encapsulated by the flowchart rendering module" below.

[0083] 2. The low-code renderer module processes the logic by obtaining the events or interactive actions bound by the low-code designer for different events.

[0084] 3. The two modules interact loosely through free-binding event-driven.

[0085] The key logic of each module is described as follows:

[0086] 1. Module 1, low-code page rendering module: This module is implemented using the current mature low-code page renderer. It uses JSONSchema standard JSON (JavaScript Object Notation, JS object notation, a lightweight data exchange format) data method to describe page elements, layout, event processing and other information. There are two usage states: design state and running state. In the design state, you can use the page designer (editor) to layout page elements by dragging and dropping, and bind attribute values ​​and event processing functions through the property panel. All operations in the editor will eventually be converted into a JSONSchema standard JSON. We can store these unified data structures. This editing and storage process will be introduced in Module 4; in the running state, the renderer will convert the JSON generated in the design state into a standard WebHTML page, as shown in Figure 3. The implementation steps are as follows:

[0087] Step 1: When we enter the page, we start loading the page renderer;

[0088] Step 2: After loading the page renderer, read the JSON corresponding to the page from the database through the interface;

[0089] Step 3: Pass the page JSON to the page renderer, and render the page effect through the renderer;

[0090] Step 4: If the page has bound events during the design process, the rendered page will listen to the corresponding events and handle the events according to the event handling function bound by the design; if no event is triggered, the page rendering is completed.

[0091] 2. Module 2, data structure definition module: This module mainly defines the configuration information required for flowchart rendering. The entire configuration information is a JSON object, which includes two main configurations: initialization configuration data object and flowchart entity data. The initialization configuration data object includes layout configuration, state list, and node style configuration.

[0092] By defining such a set of data structures, we can flexibly expand the style of nodes (icons, colors, styles) and customize the user's own data attributes to be arbitrarily expanded in the node data object.

[0093] For example: when a user needs to implement a topology diagram and a workflow flowchart in the system, if the traditional development method is used, two different corresponding professional diagram tools may be introduced respectively, and the corresponding functions will be developed on different pages to implement them. At this time, since the two different professional diagram tools are developed by different people, the data structure, name, etc. may be different, so the developer can store them separately. In this way, if there is a need to adjust later, the maintenance cost may be relatively high. However, if the present invention is used, since the present invention defines and opens the layout, style and other configurations in the data structure definition module, the user can freely choose what kind of layout form and style of the flowchart he wants to implement at the design stage. As long as the interface data structure implemented by the user meets the data structure requirements of the present invention, it can be rendered according to the configuration, so it can be managed uniformly.

[0094] In addition, for example, if the user wants to customize the properties of each node and adjust the property editing page by themselves, then using the traditional development method, even if they design the properties as a dynamic data table, the property editing page generally needs to be developed in advance, leaving little room for users to adjust by themselves. However, since it is combined with a low-code renderer, that is to say, we can give full play to the advantages of low-code design. When users need to design the property page themselves, we can open the design state for users to design the property window, and then bind it to the node in the form of a property page, and then configure the node's trigger event to open this page for rendering, so as to achieve the purpose of giving the user the right to choose.

[0095] The data structures are shown in Table 1, Table 2, and Table 3.

[0096] Table 1

[0097]

[0098] Table 2

[0099]

[0100] Table 3

[0101]

[0102] As can be seen from Table 1, Table 2, and Table 3, our data core is mainly on initialization configuration and process data. The focus of initialization configuration is to predefine the style and configuration of nodes. The process data uses the same data structure as in the industry, but adds custom data attributes and style attributes on that basis. This not only ensures everyone's development habits, but also expands the functions of some activity configurations.

[0103] Example: For example, we want to display an RPA flowchart and start the RPA flowchart by clicking the start node on the flowchart. Figure 4 , then we should design it as follows:

[0104] 1) After entering the design module: we add the process renderer component to the page. At this time, the data structure of the page is an iframe containing a flowchart renderer.

[0105] 2) Configure initialization configuration data:

[0106] a. You need to initialize nodes of several data types to correspond to the RPA task node types. Here, we assume that there are three types: start, end, and task nodes.

[0107] b. Configure different colors for the above three nodes: green, gray, and blue;

[0108] c. Define the node status list, which defines three states: to be done, being done, and completed, and configure the corresponding colors of these three states as blue, red, and green respectively;

[0109] 3) Configure the flow chart data source interface: The data returned by the interface needs to be an object data. There are two arrays in the object, namely the node array and the connection array. In the node data, there needs to be a node state that corresponds to the state name configured above;

[0110] 4) Configure the start event: Add a listener node to add an event in the page designer. If the node is a "start node", initiate a request to start the RPA process. After the process is initiated, refresh the data of the "flowchart data source interface" configured in 3 every 5 seconds to refresh the flowchart renderer. If the end node is in the "ended" state, stop refreshing.

[0111] 5) The data returned by the "Flowchart Data Source Interface" contains 3 data in the node array, namely the start, end, and task nodes, and 2 data in the connection array. If the status of the returned node data from start to end is: completed, in progress, or to be done, then the diagram on the flowchart renderer will be displayed in blue, red, and green; if the sequence status is: completed, completed, completed, then the display color will be green, green, and green.

[0112] 3. Module 3, flowchart rendering module: When the user obtains the flowchart data and initialization configuration information, the page renderer will embed the flowchart rendering module page in the form of iframe (HTML floating frame), and the flowchart data and initialization configuration information will be initialized and interacted with the flowchart rendering module in the iframe through the window message sending mechanism. For example: when initializing the page, the flowchart data and initialization parameters will be passed to the flowchart renderer, and the process will render them into a flowchart. However, when clicking a node in the flowchart, a node click event will be triggered. At this time, the event response data will be sent to the parent page of the page renderer through the window message sending method. The parent page listens to this event and will process the relevant business when it is triggered.

[0113] In this module, we open up common interactive events in the flowchart, such as clicks, selections, etc. through the flowchart renderer. Unlike the traditional implementation, in terms of the monitoring and processing mechanism of these events, we deeply bind it with the events of the low-code page designer, so that we can directly access its events in the low-code page and process them. When developers interact, they can completely use the low-code method to access it. There is no need to write task code, but only to ensure that the data structure is defined according to the standards we define.

[0114] 1) Monitoring mechanism

[0115] In the interactive process of event definition and driving, the flowchart rendering module opens to the outside by defining node click, save and other events through internal encapsulation. When these events are triggered, they will communicate through the window message sending method to send data to the external page rendering module for interaction. After the external page rendering module listens to this event, it will perform the corresponding action (such as requesting the interface, opening a pop-up window, etc.) based on the event processing configuration pre-configured by the designer module for this page.

[0116] 2) The interaction process between the page renderer and the flowchart renderer in the iframe, such as Figure 5 , demonstrating the interactive process between the low-code page rendering module and the flowchart rendering module in the iframe, on how to render and provide, monitor, trigger, and handle corresponding events.

[0117] Logic description:

[0118] Step 1: Enter the page and obtain the flowchart initialization information from the server;

[0119] Step 2: After getting the initialization information, start loading the iframe and pass the initialization data to the iframe through the window message sending method;

[0120] Step 3: After entering the iframe, start the flowchart renderer to start rendering;

[0121] Step 4: After rendering the flowchart, open the event to the iframe internal binding, and open the event to the page renderer of the parent page through the window message sending method;

[0122] Step 5: The page renderer listens to the events opened in the iframe and waits for the user to trigger the event;

[0123] Step 6: After the user operates, an event is triggered and immediately passed to the flowchart renderer inside the iframe;

[0124] Step 7: After the flowchart renderer responds to the event operation, it sends the corresponding event and data to the iframe;

[0125] Step 8: The iframe layer then passes the event and data to the page renderer, which then assigns the business processing function corresponding to the event to respond to the user.

[0126] 3) The events encapsulated by the flowchart rendering module are shown in Table 4.

[0127] Table 4

[0128]

[0129] Module 4: Low-code page designer module. We can design page layout, form, interface docking and event docking effects on it. Figure 6 To ensure that low-code pages can be modified, read, and rendered in real time, they need to be persistently stored on the server. The storage table structure (key fields) is as follows: Figure 7 .

[0130] 1) Key logic description of page design:

[0131] Step 1: Create a new page in the page information table and enter the page designer initially (the effect is blank);

[0132] Step 2: In the designer, drag an iframe component from the component area and drop it into the effect area;

[0133] Step 3: Set the properties of the iframe to the page where the flowchart renderer is located;

[0134] Step 4: Add a listener for the events opened by the flowchart in the event panel of the iframe, and select the processing method. The processing methods are as follows:

[0135] Jump link;

[0136] Refresh the page;

[0137] Fallback page;

[0138] Open / close pop-up window (if it is a pop-up window, you can design the pop-up window content twice. The editing method is the same as that of this page designer, and the design can be nested);

[0139] Pop-up message reminder;

[0140] Send HTTP request;

[0141] Download files;

[0142] Set the visibility and availability of some other component;

[0143] Pass parameters to a component and assign variables;

[0144] Submit, clear, re-enclose, and verify forms;

[0145] Flexible extension of JavaScript script processing;

[0146] Step 5: After the design is completed, you can call the page save function to save the current page to dev_page (page information table).

[0147] The key technical points of the present invention are as follows:

[0148] 1. Based on the JSON data model, a standard process element system is defined, which enables the configurability and reuse of the process.

[0149] 2. Use event-driven mechanism to realize cross-module process interaction. The flowchart rendering module and the low-code page interact loosely through events, so that the two modules can be iterated and upgraded independently.

[0150] 3. Process interaction binding based on low-code page designer. The designer supports binding different processing logics for flowchart events, realizing the rapid configuration of process interaction behaviors.

[0151] 4. Store process-related elements in a data-driven manner. Store information such as flowchart definitions and page definitions in the database to achieve dynamic configuration capabilities.

[0152] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A low-code flowchart dynamic configuration and customized interactive system, characterized by: It includes low-code page rendering module, data structure definition module, flowchart rendering module and low-code page designer module; among them, Low-code page rendering module, used to render low-code pages; Data structure definition module, used to define the data structure required by the flowchart; The data structure definition module operates in the following manner when realizing the display of an RPA flowchart and starting the RPA flowchart by clicking a start node on the flowchart: 1) Add the components of the flowchart rendering module to the page. At this time, the data structure of the page is an iframe containing a flowchart renderer; 2) Configure initialization configuration data: a. You need to initialize several data types of nodes to correspond to the RPA task node types. There are three types of nodes: start node, end node, and task node; b. Assign green, gray, and blue to the start node, end node, and task node respectively; c. Define the node status list, which defines three states: to be done, being done, and completed, and configure corresponding colors for these three states, namely blue, red, and green; 3) Configure the flow chart data source interface: The data returned by the interface needs to be an object data. There are two arrays in the object, namely the node array and the connection array. In the node data, there needs to be a node state that corresponds to the state name configured above; 4) Configure the start event: Add a listener node to add an event in the low-code page designer module. If the node is the "start node", initiate a request to start the RPA process. After the process is initiated, refresh the data of the "flowchart data source interface" configured in 3 every 5 seconds to refresh the flowchart rendering module. If the end node is in the "ended" state, stop refreshing. 5) The node array in the data returned by the "flowchart data source interface" has 3 data, namely the start node, the end node, and the task node, and the connection array has 2 data. If the status of the sequence from start to end in the returned node data is: completed, in progress, and to be done, then the diagram on the flowchart rendering module will be displayed in blue, red, and green; if the sequence status is: completed, completed, completed, then the display color will be green, green, and green; Flowchart rendering module, a visualization module for initializing the diagram configuration of the process and rendering the data of the flowchart; When initializing the page, the flowchart rendering module receives the flowchart data and initialization parameters, and renders them into a flowchart. When a node is clicked in the flowchart, a node click event is triggered. At this time, the event response data is sent to the low-code page rendering module through the window message sending method. The low-code page rendering module listens to this event as the parent page, and when it is triggered, it will process the relevant business accordingly; Low-code page designer module, this module is a designer that allows users to edit pages by dragging and dropping.

2. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: The working process of the low-code page rendering module is as follows: Step 1: When entering the page, start loading the page renderer; Step 2: After loading the page renderer, read the JSON corresponding to the page from the database through the interface; Step 3: Pass the page JSON to the page renderer, and render the page effect through the renderer; Step 4: If the page has bound events during the design process, the rendered page will listen to the corresponding events and handle the events according to the event handling function bound by the design; If no event is triggered, the page rendering is completed.

3. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: The data structure definition module is used to define the configuration information required for flowchart rendering. The entire configuration information is a JSON object, which includes two main configurations: initialization configuration data object and flowchart entity data. The initialization configuration data object includes layout configuration, state list, and node style configuration.

4. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: After the user obtains the flowchart data and initialization configuration information, the flowchart rendering module embeds it into the page of the flowchart rendering module in the form of an iframe through the low-code page rendering module, and performs initialization actions and event interactions with the flowchart data and initialization configuration information through the window message sending mechanism and the flowchart rendering module in the iframe.

5. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: The monitoring mechanism of the flowchart rendering module is deeply bound and connected with the events of the low-code page designer module, and its monitoring mechanism is as follows: during the interactive process of event definition and driving, the flowchart rendering module opens up to the outside by defining events through internal encapsulation, and the events include node clicks and saves; when these events are triggered, they will communicate through the window message sending method, and send data to the external low-code page rendering module for interaction. After the external low-code page rendering module monitors this event, it will perform the corresponding action based on the event processing configuration pre-configured for this page by the low-code page designer module, and the action includes requesting the interface and opening a pop-up window.

6. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: The interaction process between the low-code page rendering module and the flowchart rendering module in the iframe is as follows: (1) Enter the page and obtain the flowchart initialization information from the server; (2) After obtaining the initialization information, start loading the iframe and pass the initialization data to the iframe through the window message sending method; (3) After entering the iframe, start the flowchart renderer module to start rendering; (4) After rendering the flowchart, open the event to the iframe internal binding, and open the event to the low-code page rendering module of the parent page through the window message sending method; (5) The low-code page rendering module of the parent page listens to the events opened in the iframe and waits for the user to trigger the event; (6) After the user operates, an event is triggered and the event is immediately passed to the flowchart rendering module inside the iframe; (7) After the flowchart rendering module responds to the event operation, it sends the corresponding event and data to the iframe; (8) The iframe layer then passes the events and data to the low-code page rendering module, which then assigns the business processing functions corresponding to the events to respond to the user.

7. The low-code flowchart dynamic configuration and customized interaction system according to claim 1 is characterized in that: The working process of the low-code page designer module is as follows: S1. Create a new page in the page information table and enter the low-code page designer module; S2. In the Low-Code Page Designer module, drag an iframe component from the component area and drop it into the effect area; S3. Set the iframe attribute to the page where the flowchart rendering module is located; S4. Add a listener for the events opened by the flowchart in the event panel of the iframe and select the processing method; S5. After the design is completed, call the page save and receive to save the current page to the page information table.