A system rapid development platform and method based on control engine

Through the system rapid development platform based on the control engine, layered design and dynamic calling are used to solve the problems of difficulty in modifying the equipment control system and slow development progress in the traditional prototype development method, achieving rapid development and flexibility, and reducing costs and risks. , to meet changes in user needs.

CN117762397BActive Publication Date: 2024-10-01SICHUAN JIUZHOU SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410012414.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2024-10-01
Estimated Expiration
2044-01-04

AI Technical Summary

Technical Problem

The traditional prototype development method results in difficulty in modifying the equipment control system, high costs, and slow development progress. The high logic complexity leads to high risks in later joint debugging, making it difficult to meet changes in user needs and complete the project on schedule.

Method used

Adopt a control engine-based system rapid development platform, including visual design module, design results management module, equipment model management module, command application management module and command program module, realize system development through layered design and dynamic calling, and support multi-user collaborative design , version management and automated packaging and downloading.

Benefits of technology

It achieves rapidity and flexibility in system development, reduces modification costs, meets changes in user needs, reduces the development cycle, and improves development efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117762397B_ABST
    Figure CN117762397B_ABST
Patent Text Reader

Abstract

The present invention discloses a system rapid development platform and method based on a control engine, the platform comprising: a visual design module, a design achievement management module, a design resource management module, an equipment model management module, an instruction application management module, a system function management module and an instruction program module. The present invention adopts a layered concept and a visual design method from bottom to top, and divides the entire equipment project into five layers: communication interface, interface protocol, equipment model, control flow, and interface display. Through dynamic calling and other methods, the project development can be completed efficiently and quickly, the development cost can be solved, and the requirements of changes in user needs can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to rapid system development, and in particular to a rapid system development platform and method based on a control engine. Background Art

[0002] At present, most equipment project research and development for users still adopts the traditional prototype development method. However, the traditional prototype development method is often used for development due to its frequent demand changes, difficulty in understanding demand scenarios, and long demand iteration cycle. This often leads to repeated modifications to the equipment control system in the later stages of system development, which directly affects the development progress of the project equipment.

[0003] At the same time, due to the high logical complexity of equipment control, the control process involved is huge and there are many control algorithms. According to the traditional R&D model, such a large-scale control system has a high risk of problems in the later joint debugging, and the modification cost is high, making it difficult to ensure that the equipment development task can be completed on schedule. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a system rapid development platform and method based on a control engine.

[0005] The object of the present invention is achieved through the following technical solutions: a system rapid development platform based on a control engine, comprising:

[0006] Visual design module, which is used to provide a visual design interface for users to design. After the design is completed, the design information will be persistently stored, and it allows multi-user collaborative design, multi-design integration, and system process hierarchical design;

[0007] Design results management module is used to manage all design results, providing functions of design results information filtering, list viewing, version viewing, version rollback, version comparison, editing and deletion. When deleting data, all version information of the data will be deleted;

[0008] Design resource management module to provide management functions of interface components, communication interfaces and communication protocols;

[0009] The device model management module is used to create device models and configure the communication interface, protocol, and library file upload information. It also provides maintenance functions such as screening, viewing, editing, deleting, and version management for the created device models.

[0010] The control application management module is used to debug and verify the control process, track the progress of the process, support process step debugging, view the current process execution node, and view the current process data information; it allows data simulation settings for process node tasks and sets the data return of the node to avoid inconvenience in debugging due to external conditions; and select the control process to generate and download configuration resources. The system will automatically package and download the device model, interface, protocol, and interface resources associated with the process;

[0011] System function management module is used to provide system-based user rights management functions, including user information maintenance, user rights allocation and user rights verification, and provides system log record screening and viewing functions;

[0012] The accusation program module is used to save the accusation program, that is, the executable program. This program is independent of the development platform and is a loader for users to download to the target operating platform. It includes a process engine and an interface rendering engine, which are used to load the accusation configuration file, perform process business control and load and display the corresponding interface according to the configuration information, and load the corresponding device dynamic library components, interface components, and interface protocol files according to the specific process node tasks to perform device control and external system communication operations when the process is executed; if the accusation configuration file is not set, the accusation program displays the default interface and displays a prompt message to prompt that the configuration file has not been loaded.

[0013] A system rapid development method based on a control engine comprises the following steps:

[0014] S1. After receiving the R&D requirements, the user conducts demand analysis, determines the required equipment, and confirms it in the system equipment model library. If the corresponding equipment is missing, the equipment model is created and implemented according to the specifications provided by the system;

[0015] S2. The user selects the required device model, designs the system device composition, connects and configures the connection and communication relationship between the devices, and configures the communication method and protocol; if the corresponding communication method or protocol is missing, the communication method or protocol is created according to the specifications provided by the system;

[0016] S3. The user designs the system control process according to the requirements, and configures the task execution information of each node device in the process by dragging and dropping and setting properties, including the execution mode, execution method, input and output. After the design is completed, a control process file is formed;

[0017] S4. The user designs the operation interface, selects components from the system interface component library, adjusts the size and position, and configures the associated model and data source; if the interface component is missing, the interface component is created and added according to the specifications provided by the system; after the interface design is completed, an interface configuration file is formed;

[0018] S5. After the user completes the design, select the target operating platform and process, and conduct the test. After the test is completed, the required device model, interface components, process files and dynamic libraries are packaged into a compressed package together with the charge program and downloaded;

[0019] S6. After the user downloads the compressed package, decompress it to the target operating platform and run the charging program, which will automatically load the relevant information and run.

[0020] The beneficial effects of the present invention are as follows: the present invention adopts a layered concept and a visual design approach from bottom to top, splitting the entire equipment project into five layers: communication interface, interface protocol, device model, control flow, and interface display. Through dynamic calling and other methods, the project development can be completed efficiently and quickly, the development cost can be solved, and the requirements of changes in user needs can be met. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of the principle of the present invention. DETAILED DESCRIPTION

[0022] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0023] This application consists of two major parts: a rapid development platform and an executable program (accusation program). The control engine is the core of the development platform and the accusation program. The rapid development platform is responsible for the rapid development of business functions, including interface design, process design, interface group management, device model management and other control program development and resource management functions; the accusation program is mainly a program that loads design configuration files and corresponding dynamic library files to execute related control processes. Its specific business logic and related interfaces are loaded and implemented by the control engine in the form of configuration reading and dynamic library loading and calling. It is the final program deployed for device control. The control engine is the basis for the implementation of both. The system function module is divided into 7 major modules, namely, visual design module, design results management module, design resource management module, device model management module, accusation application management module, system function management module and accusation program.

[0024] The development of traditional prototypes requires understanding user needs, analyzing system equipment composition, control process analysis, operating interface design, and system code writing and testing. There are problems such as long development cycle, slow response to user needs, and slow overall development progress. To address this problem, we developed a self-developed control engine and implemented a system rapid development platform based on the self-developed control engine.

[0025] The system rapid development platform helps users intuitively design system control processes, analyze system equipment composition, and design user operation interfaces through a visual design interface. At the same time, the design can be converted into a data file in a specific format, which is loaded and parsed by the self-developed control engine, and the relevant dynamic libraries and interface components are automatically called to execute business and interface displays according to the user design. While the user is understanding the needs, designing the control process, and designing the interface, a data file is generated for subsequent parsing and execution. When the design is completed, the system code is written synchronously, which greatly reduces the time for system development.

[0026] Compared with traditional low-code (no-code) platforms, this system not only focuses on business process control, but also has the characteristics of system equipment composition design and user operation interface design. It can design the layered architecture of the system, design the connection relationship of each layer of equipment models, etc. It can design the user operation interface by dragging the mouse and configuring the attributes, and supports the association configuration of interface element components and equipment models to realize dynamic loading of data. At the same time, the system can generate an executable program (accusation program) that can run independently outside the system platform. The accusation program can parse the data files generated by the user design, complete the required dynamic library dependency and interface element dependency analysis, automatically load the required dynamic library and interface elements, and execute according to the design process without additional operations.

[0027] like Figure 1 As shown, a system rapid development platform based on a control engine is characterized by: comprising:

[0028] The visual design module is used to provide a visual design interface. Users can drag the design element components with the mouse to carry out the overall layout of the design. The connection relationship between the elements is indicated by connecting lines. The elements can be collapsed and expanded hierarchically. The element behavior can be specifically controlled and triggered through the design parameter configuration. After the design is completed, the design information will be persistently stored. It allows multi-user collaborative design, multi-design integration, and hierarchical design of system processes, etc.

[0029] The design results management module manages all design results and provides functions such as design results information screening, list viewing, version viewing, version rollback, version comparison, editing, and deletion. Deleting data will delete all version information of the data.

[0030] Design resource management module, provide management functions such as creation, viewing, filtering, and deletion of interface components; provide management functions such as creation, viewing, filtering, deletion, and library file upload of communication interfaces. The implementation of communication interface dynamic library must comply with the interface dynamic library specification and must be derived from the specified interface dynamic library base class; provide management functions such as creation, viewing, filtering, deletion, protocol file upload, and online editing of communication protocols;

[0031] The device model management module creates device models and configures information such as communication interface configuration, protocol configuration, library file upload, etc. At the same time, it can perform maintenance functions such as screening, viewing, editing, deleting, and version management on the created device models; the implementation of the device model dynamic library must comply with the device dynamic library specification and must be derived from the specified device dynamic library benchmark class;

[0032] The control application management module can debug and verify the control process, track the progress of the process, support process step debugging, view the current process execution node, view the current process data information, etc.; it allows data simulation settings for process node tasks and sets the data return of the node to avoid inconvenience in debugging due to external conditions; the control process can be selected to generate and download configuration resources, and the system will automatically package and download the device model, interface, protocol, interface and other resources associated with the process;

[0033] System function management module, which provides system-based user information maintenance, user rights allocation, user rights verification and other user rights management functions; it also provides system log record screening and viewing functions;

[0034] The accusation program module is a loader independent of the accusation development platform, which includes a process engine, an interface rendering engine, etc. It can load the accusation configuration file, perform process business control and load and display the corresponding interface according to the configuration information, and load the corresponding device dynamic library components, interface components, interface protocol files, etc. according to the specific process node tasks to be executed during process execution to perform operations such as device control and external system communication; if the accusation configuration file is not set, the accusation program displays the default interface and displays a prompt message indicating that the configuration file has not been loaded.

[0035] A system rapid development method based on a control engine comprises the following steps:

[0036] S1. After receiving the R&D requirements, the user conducts demand analysis, determines the required equipment, and confirms it in the system equipment model library. If the corresponding equipment is missing, the equipment model is created and implemented according to the specifications provided by the system;

[0037] In the embodiment of the present application, in the step S1, the creation of the device model needs to meet the device model specification provided by the system, which specifies the device model implementation requirements, provides a device model interface class (abstract class), and specifies the basic requirements including device status and functional methods, thereby ensuring the consistency of dynamic library calls after compilation.

[0038] S2. The user selects the required device model, designs the system device composition, connects and configures the connection and communication relationship between the devices, and configures the communication method and protocol; if the corresponding communication method or protocol is missing, the communication method or protocol is created according to the specifications provided by the system;

[0039] In an embodiment of the present application, in step S2, the creation of a communication method needs to meet the communication interface class specification, and the creation of a protocol needs to meet the protocol specification; the communication interface specification is used to specify the specific requirements for the implementation of the communication interface and provide a communication interface class (abstract class). Only the implementation that meets the specification can ensure the consistency of the compiled call; the protocol specification is used to specify the description method of the protocol, and only the protocol configuration that meets the specification can be correctly parsed by the system.

[0040] S3. The user designs the system control process according to the requirements, and configures the task execution information (including execution mode, execution method, input and output) of each node device in the process by dragging and dropping and setting properties. After the design is completed, a control process file is formed;

[0041] S4. The user designs the operation interface, selects components from the system interface component library, adjusts the size and position, and configures the associated model and data source; if the interface component is missing, the interface component is created and added according to the specifications provided by the system; after the interface design is completed, an interface configuration file is formed;

[0042] In an embodiment of the present application, the creation and addition of interface components in step S4 need to meet the interface component specification, which is used to display the various component elements of the interface, ensures the unity of the various component elements, and is the basis for custom components and visual design.

[0043] S5. After the user completes the design, select the target operating platform and process, and conduct the test. After the test is completed, the required device model, interface components, process files and dynamic libraries are packaged into a compressed package together with the charge program and downloaded;

[0044] In the embodiment of the present application, in step S5, the steps of performing the test are as follows:

[0045] S501. The user selects the designed process and clicks to start the test. The control engine loads the selected process at this time and initializes the loading of the corresponding interface configuration information according to the process configuration information;

[0046] S502. The control engine loads and runs according to the process configuration according to the process node, and displays the currently executed process and process node on the interface, and the process node input and output information is also displayed at the same time for the user to confirm and analyze;

[0047] S503. After the user confirms the execution result of the current node, click Continue to execute, and the control engine loads the process branch logic judgment according to the process configuration information, and loads the next process node for execution;

[0048] S504. The interface displays the current process node, input and output information, and the user performs confirmation analysis. If the process execution data information meets expectations, click Continue to execute the next node of the process; if the process execution data does not meet expectations, click Stop Test to modify the control process, and then test again after the modification is completed; repeat this step until the process execution is completed or the test is exited;

[0049] S505. When the process is completed or the test is exited, the test process ends and the test function is exited.

[0050] S6. After the user downloads the compressed package, decompress it to the target operating platform and run the charging program, which will automatically load the relevant information and run.

[0051] In an embodiment of the present application, step S6 includes:

[0052] S601. The charge program starts, initializes the control engine, the control engine controls the flow of files, interface files are loaded, if the loading error returns a prompt loading file error; loading is successful, proceed to the next step;

[0053] S602. The control engine verifies the loaded control flow file and interface file. If the verification fails, a verification error is returned; if the verification passes, proceed to the next step;

[0054] S603. The control engine parses the control flow file and the interface file. If the parsing error occurs, a parsing error message is returned; when parsing the flow control file, the control engine automatically annotates the flow introduction relationship, determines the main flow and flow entry, and parses all the required flow components and interface components required by the interface file;

[0055] S604. The control engine initializes the components and loads all the components parsed in the previous step. If the corresponding component library is missing, the loading fails and a component loading error is returned. If the loading is successful, the components are initialized and pooling technology is used to manage the components in the component pool.

[0056] S605. After all components are initialized, the control engine starts loading the corresponding process node from the main process entrance, starts executing the process, obtains components from the component pool during execution, and executes them using a proxy method;

[0057] S606. After the current component is executed, the process flow is judged according to the component execution result, and the process enters the next node;

[0058] S607. Get the next node component information, load the corresponding component, use the previous node output as the node input and execute the method corresponding to the node component, make a process flow judgment based on the component execution result, and enter the next node;

[0059] Among them, the execution modes of components are as follows:

[0060] a. If the node has a bound interface, load the corresponding interface file for rendering and receive the interface input information and pass it to the process component as auxiliary input;

[0061] b. If the node is an asynchronous task node, the node task is executed asynchronously;

[0062] c. If the node is a repeated task node, the node task will be executed repeatedly according to the set repetition conditions;

[0063] d. If the node is a common task node, there is nothing special about the node task and it will be executed directly.

[0064] S608. Repeat step S607 until the process is completed;

[0065] S609. After the process is completed, the component pool is cleared and the components are recycled.

[0066] The above is a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A system rapid development platform based on a control engine, characterized by: Combine the user research and development tasks with the charge program; The rapid development platform includes: Visual design module, which is used to provide a visual design interface for users to design. After the design is completed, the design information will be persistently stored, and it allows multi-user collaborative design, multi-design integration, and system process hierarchical design; Design results management module is used to manage all design results, providing functions of design results information filtering, list viewing, version viewing, version rollback, version comparison, editing and deletion. When deleting data, all version information of the data will be deleted; Design resource management module to provide management functions of interface components, communication interfaces and communication protocols; The device model management module is used to create device models and configure the communication interface, protocol, and library file upload information. It also provides maintenance functions such as screening, viewing, editing, deleting, and version management for the created device models. The control application management module is used to debug and verify the control process, track the progress of the process, support process step debugging, view the current process execution node, and view the current process data information; it allows data simulation settings for process node tasks and sets the data return of the node; and selects the control process to generate and download configuration resources. The system will automatically package and download the device model, interface, protocol, and interface resources associated with the process; System function management module is used to provide system-based user rights management functions, including user information maintenance, user rights allocation and user rights verification, and provides system log record screening and viewing functions; The accusation program is independent of the development platform and is loaded and implemented by the control engine in the form of configuration reading and dynamic library loading and calling. It is a loader for users to download to the target operating platform, and is used to load the accusation configuration file, perform process business control and load and display the corresponding interface according to the configuration information, and load the corresponding device dynamic library components, interface components, and interface protocol files according to the specific process node tasks to perform device control and external system communication operations during process execution; if the accusation configuration file is not set, the accusation program displays the default interface and displays a prompt message to prompt that the configuration file has not been loaded; The principle of the charge program is as follows: the charge program starts, the control engine is initialized, and the control engine loads the control process file and the interface file. If there is an error in loading, it will return a prompt that the file is loaded incorrectly; if the loading is successful, proceed to the next step; The control engine verifies the loaded control flow file and interface file. If the verification fails, it will return a prompt of verification error; if the verification passes, it will proceed to the next step; The control engine parses the control process file and the interface file. If there is a parsing error, it will return a parsing error prompt. When parsing the process control file, the control engine automatically marks the process introduction relationship, determines the main process and the process entry, and parses all the required process components and the interface components required by the interface file. The control engine initializes components and loads all components parsed in the previous step. If the corresponding component library is missing, the loading fails and a component loading error is returned. If the loading is successful, the components are initialized and pooling technology is used to manage the components in the component pool. After all components are initialized, the control engine starts loading the corresponding process nodes from the main process entrance and starts executing the process. During execution, components are obtained from the component pool and executed in a proxy manner. After the current component is executed, the process flow is judged based on the component execution result, and the process enters the next node; Get the next node component information and load the corresponding component. Use the previous node output as the node input and execute the method corresponding to the node component. Make a process flow judgment based on the component execution result, and the process enters the next node. Repeat the execution of the methods corresponding to each node until the process is completed. After the process is executed, the component pool is emptied and the components are recycled.

2. A system rapid development platform based on a control engine according to claim 1, characterized in that: In the visual design module, the user drags the design element components with the mouse to carry out the overall layout of the design, uses connecting lines to indicate the connection relationship between elements, and collapses or expands them hierarchically, and specifically controls and triggers the element behavior through design parameter configuration.

3. The system rapid development platform based on the control engine according to claim 1, characterized in that: The management functions of the interface components include creation, viewing, screening and deletion of interface components; The management functions of the communication interface include creation, viewing, screening, deletion and library file upload of the communication interface; The management functions of the communication protocol include creation, viewing, screening, deletion, protocol file uploading and online editing of the communication protocol.

4. A method for rapid system development based on a control engine, comprising the platform according to any one of claims 1 to 3, characterized in that: The following steps are involved: S1. After receiving the R&D requirements, the user conducts demand analysis, determines the required equipment, and confirms it in the system equipment model library. If the corresponding equipment is missing, the equipment model is created and implemented according to the specifications provided by the system; S2. The user selects the required device model, designs the system device composition, connects and configures the connection and communication relationship between the devices, and configures the communication method and protocol; if the corresponding communication method or protocol is missing, the communication method or protocol is created according to the specifications provided by the system; S3. The user designs the system control process according to the requirements, and configures the task execution information of each node device in the process by dragging and dropping and setting properties, including the execution mode, execution method, input and output. After the design is completed, a control process file is formed; S4. The user designs the operation interface, selects components from the system interface component library, adjusts the size and position, and configures the associated model and data source; if the interface component is missing, the user creates and adds the interface component according to the specifications provided by the system; After the interface design is completed, an interface configuration file is formed; S5. After the user completes the design, select the target operating platform and process, and conduct the test. After the test is completed, the required device model, interface components, process files and dynamic libraries are packaged into a compressed package together with the charge program and downloaded; S6. After the user downloads the compressed package, decompress it to the target operating platform and run the charging program. The charging program will automatically load the relevant information and run.

5. The method for rapid system development based on a control engine according to claim 4, characterized in that: In S1, the creation of the device model needs to meet the device model specification provided by the system, which specifies the device model implementation requirements, provides the device model interface class, and specifies the basic requirements including device status and functional methods, so as to ensure the consistency of the dynamic library call after compilation.

6. The method for rapid system development based on a control engine according to claim 4, characterized in that: In S2, the creation of a communication method needs to meet the communication interface specification, and the creation of a protocol needs to meet the protocol specification; the communication interface specification is used to specify the specific requirements for the implementation of the communication interface and provide a communication interface class. Only the implementation that meets the specification can ensure the consistency of the compiled call; the protocol specification is used to specify the description method of the protocol. Only the protocol configuration that meets the specification can be correctly parsed by the system.

7. The method for rapid system development based on a control engine according to claim 4, characterized in that: The creation and addition of interface components in S4 need to meet the interface component specification, which is used to display the various component elements of the interface, ensures the unity of the various component elements, and is the basis for custom components and visual design.

8. The method for rapid system development based on a control engine according to claim 4, characterized in that: In S5, the steps of performing the test are as follows: S501. The user selects the designed process and clicks to start the test. The control engine loads the selected process at this time and initializes the loading of the corresponding interface configuration information according to the process configuration information; S502. The control engine loads and runs according to the process configuration according to the process node, and displays the currently executed process and process node on the interface, and the process node input and output information is also displayed at the same time for the user to confirm and analyze; S503. After the user confirms the execution result of the current node, click Continue to execute, and the control engine loads the process branch logic judgment according to the process configuration information, and loads the next process node for execution; S504. The interface displays the current process node, input and output information, and the user performs confirmation analysis. If the process execution data information meets expectations, click Continue to execute the next node of the process; If the process execution data does not meet expectations, click Stop Test to modify the control process, and then test again after the modification is completed; Repeat this step until the process is completed or the test is exited; S505. When the process is completed or the test is exited, the test process ends and the test function is exited.

9. The method for rapid system development based on a control engine according to claim 4, characterized in that: There are several ways to execute components: a. If the node has a bound interface, load the corresponding interface file for rendering and receive the interface input information and pass it to the process component as auxiliary input; b. If the node is an asynchronous task node, the node task is executed asynchronously; c. If the node is a repeated task node, the node task will be executed repeatedly according to the set repetition conditions; d. If the node is a common task node, the node task will be executed directly.