Low-code development platform and electronic equipment
By introducing cross-application process components and a process engine into a low-code platform, combined with the configuration of bus modules, the challenge of building cross-application processes in the industrial field has been solved, enabling intuitive process construction and efficient user application collaboration, and improving system scalability.
Patent Information
- Application Number
- CN202510402477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-08-01
AI Technical Summary
Current low-code platforms struggle to meet the needs of multi-department and complex process approvals in the industrial sector, especially when building cross-application processes, where effective solutions are lacking.
By setting up cross-application process components on the developer's front end, combined with the process engine and bus module of the service layer, drag-and-drop positioning and parameter configuration of cross-application processes can be realized, execution code can be generated, and communication connection between user applications and process engines can be built through the bus module.
It enables intuitive construction and coding of cross-application processes, supports collaborative work of multiple user applications, and improves the system's scalability and efficient communication.
Smart Images

Figure CN120406928A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer programming technology, and in particular to a low-code development platform and electronic equipment. Background Art
[0002] As low-code platforms mature, they've been applied to programming in a variety of fields. However, current low-code platforms primarily focus on workflows, business reporting, and data analysis, often programming for single or simple functions. In the industrial sector, due to the large number of departments and complex approval processes, cross-application processes often need to be built between applications used by each department, a requirement that current low-code development platforms struggle to meet. Summary of the Invention
[0003] The low-code development platform and electronic device provided by the present invention can quickly build cross-application processes through dragging and dropping and parameter configuration.
[0004] The present invention provides a low-code development platform, comprising:
[0005] A developer front-end comprising a component panel, a canvas, and a configuration panel; wherein the component panel includes a cross-application process component, which is used to respond to a user's drag and drop to position a target process on the canvas; and the configuration panel is used to respond to the user's input action to set configuration parameters;
[0006] A service layer, comprising a process engine and a bus module; wherein the process engine interacts with the configuration panel and the cross-application process component, and the process engine is used to generate a first execution code based on the target process and the configuration parameters set by the configuration panel; the bus module is used to respond to the configuration parameters set by the configuration panel, establish a communication connection between the process engine and the corresponding user application in the target process, and generate a corresponding second execution code.
[0007] Optionally, the bus module includes:
[0008] An event bus is configured to respond to the configuration parameters configured by the configuration panel, establish a communication connection with the user application through a first application programming interface, and establish a communication connection with the process engine through a second application programming interface, so that the event bus receives the event topic and key value sent by the user application at runtime to generate a first message, and sends the first message to the process engine.
[0009] Optionally, the event bus includes:
[0010] A message production sub-module, which is used to respond to requests from the configuration panel, display event topics and key-value types to the user; and respond to the configuration parameters configured by the configuration panel to configure event topics and key-value types for the first application programming interface; so that the message production sub-module can receive event topics and key values sent by the user application through the first application programming interface during operation, and generate the first message.
[0011] A message consumption sub-module, which interacts with the message production sub-module. The message consumption sub-module is used to respond to the configuration parameters configured by the configuration panel to create the second application programming interface corresponding to the target process; so that the message consumption sub-module can communicate with the corresponding target process through the second application programming interface during operation.
[0012] Optionally, the message consumption sub-module includes:
[0013] An encapsulation unit, which interacts with the message production sub-module. The encapsulation unit is used to respond to the configuration parameters configured by the configuration panel to determine the communication protocol, communication address and data structure of the second application programming interface; so that the encapsulation unit can encapsulate the first message according to the communication protocol and the data structure during operation, and build a communication connection according to the communication address.
[0014] Optionally, the process engine is used to respond to the configuration parameters set by the configuration panel to configure a request address and a request method corresponding to the second application programming interface for each target process, so that the process engine can send a request to the second application programming interface according to the request address and the request method during operation to obtain the first message.
[0015] Optionally, the process engine is further used to respond to the configuration parameters set by the configuration panel to configure a sending address and a sending method for the corresponding nodes of each target process. The sending address and the sending method correspond to a third application interface, so that the process engine can send a second message to the third application interface according to the node triggered in the target process during operation.
[0016] Optionally, the process engine is further used to respond to the configuration parameters set by the configuration panel to determine the polling time interval for the second application programming interface, so that the process engine can poll the second application programming interface according to the time interval during operation.
[0017] Optionally, it further includes an intermediate rendering layer, which interacts with the developer front-end and the service layer; where
[0018] The middle rendering layer is used to obtain rendering data from the service layer and provide a rendering effect to the developer front-end according to the rendering data.
[0019] Optionally, it further includes a data layer, which is used to store the first execution code and the second execution code, and store the data generated by the user application when the user application runs.
[0020] In a second aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program running on the memory, wherein when the processor executes the program, it implements a method for implementing a low-code development platform as described in any one of the foregoing items.
[0021] In the technical solution provided by the present invention, by setting the cross-application process component at the developer front-end and setting the process engine at the service layer, a target process is formed by dragging, positioning and drawing the cross-application process component, so that the developer can set the cross-application process in a more intuitive way. Then, through the interaction between the cross-application process component and the process engine, the coding of the target process is realized. At the same time, through parameter configuration on the configuration panel, a communication connection can be established between the target process in the process engine and the bus module, and a communication connection can be established between the user application in the target process and the bus module. Thus, the user application is connected to the process engine through the bus module, and the control of the cross-application process participated by multiple user applications through the process engine is realized. Description of the Drawings
[0022] Figure 1 It is a schematic diagram of a low-code development platform according to an embodiment of the present invention;
[0023] Figure 2 It is a schematic diagram of the bus module of a low-code development platform according to another embodiment of the present invention;
[0024] Figure 3 It is a schematic diagram of the interaction between the first application and the second application when a low-code development platform according to another embodiment of the present invention is running. Detailed Embodiment
[0025] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0026] The embodiments of the present invention provide a low-code development platform, such asFigure 1 As shown in the figure, it includes:
[0027] A developer front-end, which includes a component panel, a canvas, and a configuration panel; wherein, the component panel includes cross-application process components, and the cross-application process components are used to form a target process in the canvas in response to the user's drag and positioning; the configuration panel is used to set configuration parameters in response to the user's input action.
[0028] In some embodiments, the developer front-end is the part that directly interacts with developer users, mainly responsible for presenting the interface and collecting user input, and quickly constructing a user interface by dragging components (such as buttons, input boxes, tables, etc.); the cross-application process components can be, for example, components in the front-end page of Node-RED, and a cross-application process can be constructed by dragging the cross-application process components.
[0029] A service layer, which includes a process engine and a bus module; wherein, the process engine interacts with the configuration panel and the cross-application process components, and the process engine is used to generate first execution code according to the target process and the configuration parameters set by the configuration panel; the bus module is used to respond to the configuration parameters set by the configuration panel, construct a communication connection between the process engine and the user application corresponding to the target process and generate corresponding second execution code.
[0030] In some embodiments, the service layer is responsible for business logic processing and external system integration, supports multiple databases (such as MySQL, MongoDB, Oracle), provides data interfaces through RESTful API or GraphQL, supports integration with external systems, and realizes the processing of complex business logics, such as data calculation, transaction management, etc. In this embodiment, by setting a process engine and a bus module in the service layer, the creation of cross-application processes is realized. The process engine can be, for example, a Node-RED process engine, that is, the components in the front-end page of Node-RED are set in the developer front-end, and the process engine is set in the service layer to make Node-RED closer to the use of a low-code platform. For the service layer, its main function is to form code from the processes and configured parameters formed by the developer front-end for execution during use. Therefore, in this embodiment, the process engine generates first execution code according to the target process and the configuration parameters set by the configuration panel, and the bus module responds to the configuration parameters set by the configuration panel, constructs a communication connection between the process engine and the user application corresponding to the target process and generates corresponding second execution code, so that during use, the target process can be run by running the first execution code, and the interaction and communication between the process engine and the bus module can be realized by running the second execution code.
[0031] In the technical solution provided by the embodiments of the present invention, by setting the cross-application process component at the developer's front end and the process engine at the service layer, and forming a target process through the drag-and-position drawing of the cross-application process component, developers can set the cross-application process in a more intuitive way. Then, through the interaction between the cross-application process component and the process engine, the coding of the target process is realized. At the same time, through parameter configuration on the configuration panel, a communication connection can be established between the target process in the process engine and the bus module, and a communication connection can be established between the user application in the target process and the bus module. Thus, the user application is connected to the process engine through the bus module, and the control of the cross-application process participated by multiple user applications through the process engine is realized.
[0032] As an alternative implementation, as Figure 2 shown, the bus module includes:
[0033] An event bus, which is used to respond to the configuration parameters configured on the configuration panel, establish a communication connection with the user application through the first application programming interface, and establish a communication connection with the process engine through the second application programming interface, so that the event bus receives the event topic and key value sent by the user application during operation to generate a first message, and sends the first message to the process engine.
[0034] In some embodiments, the user application is connected to the event bus through the first application programming interface, and the target process in the event bus and the process engine is connected through the second application programming interface. That is to say, the target process and the user application are connected through the event bus. The user application generates a message by calling the first application programming interface, and the format of this message is fixed. The event bus is responsible for receiving the specified message passed by the user and exposing the message through the second application programming interface.
[0035] As an alternative implementation, continuing as Figure 2 shown, the event bus includes:
[0036] A message production sub-module, which is used to respond to the request of the configuration panel, display the event topic and key value type to the user; and respond to the configuration parameters configured on the configuration panel to configure the event topic and key value type for the first application programming interface; so that the message production sub-module can receive the event topic and key value sent by the user application through the first application programming interface during operation and generate the first message;
[0037] A message consumption sub-module, which interacts with the message production sub-module. The message consumption sub-module is used to respond to the configuration parameters configured by the configuration panel and create a second application programming interface corresponding to the target process; so that the message consumption sub-module communicates with the corresponding target process through the second application programming interface during operation.
[0038] In some embodiments, the construction of the event bus can be based on, for example, the JAVA language, Kafka middleware, and the WebScoket protocol, which can produce and consume messages to trigger the target process. The user uses the first application programming interface provided by the event bus to specify the topic and transfer parameters to send messages to the event bus. After the message consumption sub-module of Kafka in the event bus consumes the messages, the parameter values carried in the messages are sent to the process engine through the connection method of the WebScoket protocol according to the second application programming interface. After receiving the message, the process engine can work according to the target process orchestrated by the user. Such a design can decouple multiple user applications. The connection bridge between user applications is completed by calling the application programming interface and data processing, and it can also connect multiple independent and discrete user applications. Thus, the event bus (EventBus) in the low-code development platform supports efficient communication and decoupling between different user applications through the asynchronous message passing mechanism. The event bus supports efficient message passing, can handle large-scale data streams, and ensures that the system can still operate efficiently in high-concurrency scenarios.
[0039] As an alternative implementation, continue as Figure 2 shown, the message consumption sub-module includes:
[0040] An encapsulation unit, which interacts with the message production sub-module. The encapsulation unit is used to respond to the configuration parameters configured by the configuration panel, determine the communication protocol, communication address, and data structure of the second application programming interface; so that the encapsulation unit encapsulates the first message according to the communication protocol and data structure during operation, and constructs a communication connection according to the communication address.
[0041] In some embodiments, the user application specifies the topic of the message production sub-module and passes key-value pair parameters by calling the first application programming interface. Once the message production sub-module receives a request from the first application programming interface, it parses the topic and parameter values and produces a message. Subsequently, the message consumption sub-module processes the message in a timely manner and encapsulates the parameters into a WebScoket connection, which needs to specify the topic in the message, so as to achieve the connection between production and consumption. Through the WebScoket connection, real-time transmission of messages is achieved. In this process, the input parameters of the event bus are the user-defined topic and the key-value pair of transmission parameters, and the output is to expose these parameter messages to the corresponding WebScoket connection. Through the mechanism of the event bus, messages can be received in a timely manner and these messages can be captured through the WebScoket connection. This way enables the system to flexibly process the event stream and transmit parameters in real time, providing better responsiveness and real-time performance for the system.
[0042] As an alternative implementation, the process engine is used to respond to the configuration parameters set by the configuration panel, and configure the request address and request method corresponding to the second application programming interface for each of the target processes, so that when the process engine runs, it can send a request to the second application programming interface according to the request address and request method to obtain the first message.
[0043] As an alternative implementation, the process engine is further used to respond to the configuration parameters set by the configuration panel, and configure the sending address and sending method for the corresponding nodes of each of the target processes, where the sending address and sending method correspond to the third application interface, so that when the process engine runs, it can send a second message to the third application interface according to the node triggered in the target process.
[0044] As an alternative implementation, the process engine is further used to respond to the configuration parameters set by the configuration panel to determine the polling time interval for the second application programming interface, so that the process engine can poll the second application programming interface according to the time interval when it runs.
[0045] As an alternative implementation, it further includes an intermediate rendering layer, and the intermediate rendering layer interacts with the developer front-end and the service layer; where
[0046] The intermediate rendering layer is used to obtain rendering data from the service layer and provide a rendering effect for the developer front-end based on the rendering data.
[0047] As an alternative implementation, the service layer is further configured to provide rendering data to the intermediate rendering layer, so that the rendering layer provides a rendering effect to the user based on the rendering data.
[0048] In some embodiments, the intermediate rendering layer is a bridge between the developer front-end and the service layer, responsible for processing business logic, data conversion, and page rendering. Complex business logic is implemented through a visual rule engine or a small amount of code. The application programming interface (API) of the service layer is called through the intermediate rendering layer to achieve data interaction.
[0049] As an alternative implementation, a data layer is further included. The data layer is configured to store the first execution code and the second execution code, and store the data generated by the user application when the user application is running.
[0050] As Figure 3 As shown, an exemplary implementation is provided, which exemplarily illustrates the execution process of the cross-application process developed by the low-code platform provided in the foregoing embodiments. Specifically, when the first user application is triggered by a set event, it sends a message to the bus module. The bus module sends the message to the process engine to trigger the execution of the corresponding target process. When the target process needs the second user application to perform an action during the execution process, the process engine sends a message to the bus module, and the bus module sends it to the second user application to make the second user application perform the corresponding action.
[0051] An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program running on the memory. The processor is characterized in that when the program is executed, it implements a method for implementing a low-code development platform as described in any one of the foregoing.
[0052] In the foregoing embodiments provided by the present invention, the cross-application process component and the configuration panel of the process engine are set on the developer front-end, the bus module and the process engine are set on the service layer, and the cross-application process component interacts with the process engine and the configuration panel, and the bus module interacts with the configuration panel. Through the foregoing setting method, developers can quickly plan the target cross-application process by dragging and positioning. Moreover, through the configuration parameters set by the configuration panel, the process engine can establish a communication connection with the bus module and the user application. Thus, a solution driven by messages at runtime is achieved. By adopting the message-driven method, each user application can be decoupled while ensuring the collaboration ability, and the expansion ability of the entire system is improved.
[0053] As described above, it is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A low-code development platform, characterized in that, Including: The developer front-end, which includes a component panel, a canvas, and a configuration panel; among them, the component panel includes cross-application process components, and the cross-application process components are used to form a target process in the canvas in response to the user's drag and positioning; the configuration panel is used to set configuration parameters in response to the user's input actions. The service layer, which includes a process engine and a bus module; among them, the process engine interacts with the configuration panel and the cross-application process components, and the process engine is used to generate first execution code based on the target process and the configuration parameters set by the configuration panel; the bus module is used to respond to the configuration parameters set by the configuration panel, establish a communication connection between the process engine and the user application corresponding to the target process, and generate corresponding second execution code.
2. The low-code development platform according to claim 1, characterized in that The bus module includes: An event bus, which is used to respond to the configuration parameters set by the configuration panel, establish a communication connection with the user application through a first application programming interface, and establish a communication connection with the process engine through a second application programming interface, so that the event bus can receive the event topic and key value sent by the user application during operation to generate a first message, and send the first message to the process engine.
3. The low-code development platform according to claim 2, characterized in that, The event bus includes: A message production sub-module, which is used to respond to the request of the configuration panel, display the event topic and key value type to the user; and respond to the configuration parameters configured by the configuration panel to configure the event topic and key value type for the first application programming interface; so that the message production sub-module can receive the event topic and key value sent by the user application through the first application programming interface during operation, and generate the first message. A message consumption sub-module, which interacts with the message production sub-module, and the message consumption sub-module is used to respond to the configuration parameters configured by the configuration panel to create the second application programming interface corresponding to the target process; so that the message consumption sub-module can communicate with the corresponding target process through the second application programming interface during operation.
4. The low-code development platform according to claim 3, characterized in that, The message consumption sub-module includes: An encapsulation unit, which interacts with the message production sub-module, and the encapsulation unit is used to respond to the configuration parameters configured by the configuration panel to determine the communication protocol, communication address, and data structure of the second application programming interface; so that the encapsulation unit can encapsulate the first message according to the communication protocol and the data structure during operation, and establish a communication connection according to the communication address.
5. The low-code development platform according to claim 4, characterized in that, The process engine is used to respond to the configuration parameters set by the configuration panel to configure the request address and request method corresponding to the second application programming interface for each target process, so that the process engine can send a request to the second application programming interface according to the request address and the request method during operation to obtain the first message.
6. The low-code development platform according to claim 5, characterized in that The process engine is further configured to, in response to the configuration parameters set by the configuration panel, configure a sending address and a sending mode for the corresponding node of each of the target processes, where the sending address and the sending mode correspond to a third application programming interface, so that when the process engine runs, it can send a second message to the third application programming interface according to the node triggered in the target process.
7. The low-code development platform according to claim 5, wherein The process engine is further configured to, in response to the configuration parameters set by the configuration panel, determine a polling time interval for the second application programming interface, so that the process engine polls the second application programming interface according to the time interval when it runs.
8. The low-code development platform according to claim 1, characterized in that It further includes an intermediate rendering layer, which interacts with the developer front-end and the service layer; wherein, The intermediate rendering layer is configured to obtain rendering data from the service layer and provide a rendering effect for the developer front-end according to the rendering data.
9. The low-code development platform according to claim 1, characterized in that It further includes a data layer, which is configured to store the first execution code and the second execution code, and store the data generated by the user application when the user application runs.
10. An electronic device, comprising a memory, a processor, and a computer program running on the memory, characterized in that, When the processor executes the program, it implements a method for implementing a low-code development platform according to any one of claims 1-9.