Development method and system based on zero code platform, electronic equipment and medium
Through the development method based on the zero-code platform, the graphical design interface and visual configuration are used to solve the complexity and cost of software development in the industrial automation field, and the effect of rapid development, cost reduction and efficiency improvement is achieved.
Patent Information
- Application Number
- CN202510120576.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-25
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2045-01-25
AI Technical Summary
The existing technology is difficult to meet the complex and personalized needs of the non-standard automation industry in the industrial automation field, resulting in complex software development processes, long cycles and high costs, and it is difficult to quickly respond to changes in market demand.
Adopting a development method based on the zero-code platform, providing a graphical design interface and visual configuration, users can build an application system by selecting and configuring predefined object modules, reducing development thresholds and improving efficiency.
It greatly reduces the development complexity and technical threshold, shortens the project development cycle, reduces labor costs, and allows users in more fields to participate in system development.
Smart Images

Figure CN119576312A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of software development, and specifically relates to a development method, system, electronic device and medium based on a zero-code platform. Background Art
[0002] In the current industrial automation field, especially in the non-standard automation industry, customized software development faces many challenges. Although the application of industrial control systems is becoming more and more widespread, due to the complexity and high degree of personalization of industry requirements, existing software development platforms and tools are often difficult to meet the actual needs of enterprises in production and management.
[0003] The traditional software development process is highly complex and has a long cycle. The development team often needs a lot of time and energy to write and debug the code. This not only leads to high labor costs, but also prolongs the product development cycle, making it difficult for companies to respond quickly to changes in market demand.
[0004] Therefore, it is necessary to provide a new solution to the above technical problems. Summary of the invention
[0005] The purpose of the present invention is to provide a development method, system, electronic device and medium based on a zero-code platform, which can quickly develop industrial control application software, improve development efficiency and reduce labor costs.
[0006] To achieve the above purpose, the technical solution provided by the present invention is as follows: In a first aspect, the present invention provides a development method based on a zero-code platform, comprising: A zero-code platform is provided, which includes a designer and an object module library; in response to user instructions, an object module is selected from the object module library and imported into a graphical interface of the designer; in response to user instructions, in the graphical interface of the designer, the properties, parameters, reference relationships and logical connection relationships of the selected object module are configured, and the reference relationships, logical connection lines and data flow paths of the object module are presented through a visual interface; the parameter matching, execution environment compliance and process design compliance of the selected object module are verified; after the verification is passed, the selected object module and its properties, parameters, reference relationships and logical connection relationships are persistently packaged locally to generate a corresponding project program.
[0007] In one or more embodiments, the development method includes: creating a resource manager, a task designer, and an HMI designer, wherein the resource manager, the task designer, and the HMI designer respond to each other and work in coordination.
[0008] In one or more embodiments, the output of the resource manager is used as input to the task designer and the HMI designer; and / or the controls in the HMI designer are used as input to the resource manager and the task designer in response to user input; and / or the output of the tools in the task designer is used as data input to the controls in the HMI designer.
[0009] In one or more embodiments, the development method further includes: generating a resource component in a configuration interface of a resource manager in response to a user instruction, wherein the resource component includes hardware resources and / or software resources.
[0010] In one or more embodiments, the development method further includes: configuring the execution business logic of the project in a configuration interface of the task designer in response to a user instruction.
[0011] In one or more embodiments, the development method further includes: in response to user instructions, configuring human-computer interaction controls of the project in a configuration interface of an HMI designer, wherein the HMI designer interacts with modules in the resource manager and task designer through events and delegates.
[0012] In one or more implementations, the object module includes a data module, an algorithm tool module, a hardware resource module, a business logic module, and a control component module.
[0013] In the second aspect, the present invention provides a zero-code development system, which includes: a zero-code platform, an object module library, a designer, a verification module and an encapsulation module; the zero-code platform includes a designer and an object module library; the object module library is used to respond to user instructions, select an object module from the object module library and import it into the graphical interface of the designer; the designer is used to respond to user instructions, configure the properties, parameters, reference relationships and logical connection relationships of the selected object module in the graphical interface of the designer, and present the reference relationships, logical connection lines and data flow paths of the object module through a visual interface; the verification module is used to verify the parameter matching, execution environment compliance and process design compliance of the selected object module; the encapsulation module is used to persistently encapsulate the selected object module and its properties, parameters, reference relationships and logical connection relationships to the local after the verification is passed, and generate the corresponding project program.
[0014] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the development method based on the zero-code platform as described above when executing the program.
[0015] In a fourth aspect, the present invention provides a computer-readable medium, which carries computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement the development method based on the zero-code platform as described above.
[0016] Compared with the prior art, the development method, system, electronic device and medium based on the zero-code platform provided by the present invention provide a graphical design interface and visual configuration. Users do not need to have programming skills to complete complex system design through simple configuration operations, which greatly reduces the development threshold and can significantly shorten the project development cycle, allowing users in more fields to participate in system development. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a flowchart of a development method based on a zero-code platform in one embodiment of the present invention; Figure 2 This is a system architecture diagram of a zero-code platform in one embodiment of the present invention; Figure 3 A schematic diagram of a resource manager configuration interface in an embodiment of the present invention; Figure 4 A schematic diagram of a task designer configuration interface in one embodiment of the present invention; Figure 5 A schematic diagram of an HMI designer configuration interface in one embodiment of the present invention; Figure 6 It is a structural block diagram of a zero-code development system in one embodiment of the present invention; Figure 7 FIG. 4 is a structural block diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0020] In current industrial automation and control systems, the software development process usually requires a lot of programming work and technical support. This process is not only time-consuming and labor-intensive, but also faces many challenges. First, the traditional development method has high requirements for technical personnel, especially the need for compound technical talents with cross-platform and cross-disciplinary skills, which has caused a shortage of technical manpower. Secondly, the development cycle is long, and product updates and upgrades face great challenges, making it difficult for products to quickly adapt to market changes and needs.
[0021] This invention proposes a development method based on a zero-code platform, which aims to greatly simplify software development and reduce the complexity and technical threshold of development by transforming the traditional programming development process into a graphical and visual configuration process. The core idea of the zero-code platform is to standardize and modularize the various functional modules of software development and integrate these modules into a platform. Users can build a complete application system by selecting and configuring these predefined modules.
[0022] In the implementation process of the present invention, users do not need to master the underlying programming technology in depth, but only need to configure and adjust the properties, parameters and logical relationships of each object module through a graphical interface. Through the visual designer, users can intuitively see the overall structure of the system, including the connection relationship and data flow path of each module, so as to quickly complete the system design. The system automatically verifies whether the configured module meets the design requirements, and after the verification is passed, the configured module and its related information are persistently encapsulated to generate the corresponding project program.
[0023] In addition, the zero-code platform also provides a variety of modules, such as data processing modules, hardware resource modules, business logic modules, and human-computer interaction modules, which can achieve integration and collaboration between different systems, solving the problem of cross-platform and cross-system data islands in traditional development. Through standardization and modularization, the present invention provides a flexible and efficient solution that can quickly respond to different business needs and achieve rapid upgrades and iterations of the system.
[0024] Please refer to Figure 1 FIG. 1 is a flowchart of a development method based on a zero-code platform in an embodiment of the present invention. The development method based on a zero-code platform specifically includes the following steps: S101: Provide a zero-code platform, wherein the zero-code platform includes a designer and an object module library.
[0025] By building a simplified development environment through a zero-code platform (such as the GraniStudio platform), users can develop complex applications without having to have an in-depth understanding of programming technology. The zero-code platform is essentially a visual development tool that aims to transform the programming process in the traditional software development process into a configuration and operation method through a graphical interface, thereby lowering the development threshold and improving development efficiency. The zero-code platform provides a basic framework and operation interface for subsequent development work, which can effectively simplify the complexity of software development and help users achieve project goals more quickly. Figure 2 2 is a system architecture diagram of a zero-code platform in one embodiment of the present invention.
[0026] The core components of the zero-code platform include the designer and the object module library, which work together to support users to build a complete application from scratch. The designer is the main interface for users to interact with the platform. It provides a visual environment in which users can drag and drop components, set parameters, configure logical connections, etc., without writing code, to complete the design and implementation of the application. In addition to serving as an operation interface, the designer can also provide intelligent functions, such as automatically checking the correctness of module configuration to ensure that there are no logical errors or non-compliant settings during the development process.
[0027] The object module library is a collection of various predefined modules that cover common functional requirements in the application development process, including data processing modules, algorithm modules, hardware control modules, business logic modules, etc. Users can select suitable modules according to their development needs and import them into the designer. Each module is encapsulated and standardized, with clear interfaces and functional descriptions, and can be directly used for system construction and integration. The module library is designed to reduce developers' attention to the underlying technology. Users only need to understand the functions and effects of each module without worrying about the internal implementation details of the module.
[0028] Specifically, when implementing step S101, the user first enters the zero-code platform and starts working through the designer interface. Assuming that the user needs to develop an automated program for visual inspection, the user can select modules related to visual inspection in the object module library, such as visual sensor data acquisition module, device control module, image processing module, etc. Then, the user drags and drops these modules into the designer's graphical interface and configures the properties and parameters of each module as needed, such as setting the data transmission rate, selecting the device interface, defining the control logic, etc. In this way, the user can complete the preliminary design of the entire system without writing any code.
[0029] During this process, the designer will provide real-time feedback on the user's operation and check whether the configured modules meet the preset rules. For example, if the user selects a data acquisition module and does not configure the correct data format, the designer will automatically prompt the user to make corrections. In addition, the designer will also display the connection relationship and data flow path between modules, so that users can clearly understand the system's operating mechanism and the interaction between modules. Through this intuitive operation method, users can not only easily configure the system, but also get instant feedback during the development process, thus avoiding a lot of debugging and modification work in traditional development methods.
[0030] In an exemplary embodiment, the development method includes: creating a resource manager, a task designer, and an HMI designer, wherein the resource manager, the task designer, and the HMI designer respond to each other and work in coordination.
[0031] The role of the resource manager is to centrally manage the hardware resources, software resources, and other external components required in the development process. In an industrial automation project, various hardware devices may be involved, such as sensors, actuators, PLC controllers, etc. The resource manager integrates these hardware devices and their configuration and interface information in a centralized manner. In addition to hardware resources, the resource manager also needs to manage other resources such as software modules, data storage, and network interfaces.
[0032] The Task Designer is a module in the zero-code platform that is responsible for business logic design and control task management. It helps users to reasonably combine hardware resources with software functional modules and design task processes according to specific business needs. The Task Designer allows users to drag and drop various business logic modules into the flow chart through a visual interface, and define the execution order, data flow, and conditional judgment between modules. It can help users design complex business processes and ensure coordination and synchronization between various links, thereby ensuring the normal operation of the system.
[0033] HMI Designer is a tool specifically used to design user interfaces. It helps users create and optimize the front-end interface of the application system during the development process. HMI Designer allows users to quickly design interactive interfaces suitable for various terminal devices (such as PCs, touch screens, mobile phones, etc.) in a graphical way. For example, HMI Designer can help users design different operation interfaces for production line operators, managers, technicians, etc. Through HMI Designer, users can customize the development interface according to the needs of different roles, and reduce the tedious front-end development work through intuitive graphic design.
[0034] Although the resource manager, task designer, and HMI designer are independent of each other, the data transmission, task scheduling, and interface interaction between them are highly coordinated. For example, when a user configures a control task in the task designer, the task may involve the use of a hardware device in the resource manager, and the execution of the task also needs to be displayed in real time in the HMI designer. Through the collaborative work of these three modules, users can intuitively see the status of various tasks and resources, so as to quickly locate problems and make adjustments.
[0035] In terms of specific implementation methods, users can select and configure the hardware resources (such as sensors, PLC devices, etc.) required by the production line in the resource manager, then define the control logic and workflow for these resources through the task designer, and finally design the interface used by operators to monitor and control the production line in the HMI designer. The interaction between the three designers ensures the close coordination of hardware resources, task flows, and user interfaces. For example, the control logic in the task designer may adjust the speed of the production line based on real-time data, and these adjustments will be fed back to the operator in real time through the HMI interface to ensure that the operator can clearly understand the operating status of the production line.
[0036] Specifically, the output of the resource manager is used as input to the task designer and the HMI designer; and / or the controls in the HMI designer are used as input to the resource manager and the task designer in response to user input; and / or the output of the tools in the task designer is used as data input to the controls in the HMI designer.
[0037] The output of the resource manager serves as the input of the task designer and HMI designer, which means that the information such as hardware resources, software components, external services, etc. managed in the resource manager can be directly provided to the task designer and HMI designer. This mechanism enables the task designer to quickly obtain the required hardware resource information and then design the business process. For example, if the user configures a sensor or PLC controller in the resource manager, the task designer can immediately obtain the information of these resources and use it to design the control logic in the task process. At the same time, the HMI designer can also obtain the status and configuration of hardware resources in this way, so that users can display the device status, fault alarm or other control information in real time on the interface. Through this data transmission, the tedious process of manual repeated configuration is avoided, and the synchronization of information between modules is ensured.
[0038] The controls in the HMI designer respond to user input and serve as input for the resource manager and task designer. Mainly when the user interacts with the interface, the controls in the HMI designer (such as buttons, text boxes, switches, etc.) accept user instructions and pass these instructions to the resource manager or task designer, thereby affecting its internal state or execution process. For example, when a user starts a device through a button in the HMI designer, this instruction will be passed to the resource manager to start the relevant hardware resources (such as sensors or actuators). At the same time, if the user adjusts certain parameters (such as production line speed) through the HMI interface, the task designer will receive the parameter adjustment information and adjust the execution process and control logic of the task according to the new parameters. This interaction enables users to control and adjust the behavior of the entire system through a simple and intuitive operation interface, and the entire process is highly automated and integrated, greatly simplifying the complexity of development and operation.
[0039] The tool output in the task designer is used as the data input of the control in the HMI designer, which means that the output results of the task logic and control tools defined in the task designer can be used as input data and passed to the control in the HMI designer. This mechanism enables the business logic in the task designer to directly affect the display content of the front-end interface. For example, in actual applications, the task designer can calculate the temperature, humidity or pressure values of a certain device based on the real-time collected sensor data, and pass these values to the dashboard control in the HMI designer for real-time display. In this way, the HMI interface can provide real-time feedback on the status of the production line based on the results of the background task execution, helping operators make quick decisions. Through this data transmission mechanism, the task designer and the HMI designer achieve closed-loop control, and the information flow between the front-end interface and the background task is real-time and dynamic.
[0040] Through the aforementioned highly integrated interaction mode, developers do not need to manually perform redundant configurations between multiple modules, simplifying the system development and debugging process. It enables the various modules of the system to share information and feedback in real time and effectively, avoiding the emergence of information islands and ensuring data consistency and real-time performance.
[0041] S102: In response to a user instruction, an object module is selected from the object module library and imported into a graphical interface of the designer.
[0042] The object module library is a collection that stores a large number of predefined functions and components. These modules include data modules, algorithm tool modules, hardware resource modules, business logic modules, control component modules, etc., which are highly reusable and flexible. During the development process, users select appropriate modules according to project requirements and drag and configure them through an intuitive graphical interface without writing traditional code. These modules are designed with functionality, configurability and compatibility in mind, and can be quickly combined into complete applications.
[0043] The data module is mainly used to process and manage various data in the system. These data may come from hardware devices, external databases or user input. The data module is responsible for data collection, storage, transmission, and basic processing and conversion operations.
[0044] The algorithm tool module contains various algorithms and tool functions to help the system achieve specific calculation or processing tasks. It can include some commonly used mathematical, statistical, control and other algorithm modules, such as PID control algorithm, data filtering algorithm, machine learning algorithm, etc.
[0045] The hardware resource module is responsible for connecting and managing the physical devices used in the system, such as sensors, actuators, communication interfaces, etc. These modules contain the basic operation interface of the hardware, helping users to connect the hardware with the software logic through the designer.
[0046] The business logic module is the core of the system and is responsible for defining the specific functions and workflow of the system. The business logic module is usually composed of multiple sub-modules, involving data processing, event triggering, task scheduling and other aspects. Users can configure these logic modules into a complete operation process through the task designer to ensure that the system can execute tasks according to the predetermined rules and sequence. The abstract and modular design of the business logic module enables users to flexibly configure and adjust the operating logic of the system.
[0047] The control component module is mainly used to build the human-computer interaction interface, including various user interface controls such as buttons, text boxes, graphic display areas, etc. Users drag these control modules to the interface through the HMI designer and configure their properties and behaviors. The control component module is not only responsible for the presentation of the interface, but also can interact with the resources and task logic of the background system.
[0048] When the user makes a selection through the graphical interface, the designer's response mechanism enables the system to extract the required modules from the object module library according to the user's instructions and present them in a visual way in the design interface. For example, the user can quickly find a specific object module through the search box, or browse all modules in the object module library through the preset classification system. When selecting a data processing module, the system will automatically drag it to the designer's work area and display the module's functions and interfaces in a graphical way, so that the user can further configure and tune it.
[0049] This modular and graphical development method greatly simplifies the development process. Users no longer need to write tedious codes manually. They can complete the design of complex systems by simply dragging and configuring. The functions and parameters of each module can be intuitively displayed in the graphical interface. Developers can quickly understand the functions and relationships of each module, reducing the difficulty of understanding and implementation.
[0050] In an exemplary embodiment, the development method further includes: generating a resource component in a configuration interface of a resource manager in response to a user instruction, wherein the resource component includes hardware resources and / or software resources. Configuring the execution business logic of the project in a configuration interface of a task designer in response to a user instruction. Configuring the human-computer interaction control of the project in a configuration interface of an HMI designer in response to a user instruction, wherein the HMI designer interacts with the modules in the resource manager and the task designer through events and delegations.
[0051] The zero-code platform-based development method of the present invention involves multiple configuration interfaces: resource manager, task designer, and HMI designer. Through these interfaces, users can configure different types of resources, define business logic, and design user interaction interfaces, which can be completed through intuitive visual operations without writing traditional codes.
[0052] Please refer to Figure 3 As shown, it is a schematic diagram of the resource manager configuration interface in one embodiment of the present invention. The resource manager configuration interface is a tool for managing and generating resources required by the system. In this interface, users can respond to instructions to create and configure resource components. These resource components include hardware resources and software resources. Hardware resources may involve sensors, actuators, network devices, etc., while software resources may include database connections, API interfaces, external services, etc. The resource manager can not only help users intuitively view and select hardware resources, but also allow users to configure and schedule these resources to ensure that they can support the operation of the entire system.
[0053] For example, in an industrial automation system, the user needs to add a sensor module as a hardware resource, or add a database interface as a software resource. Through the resource manager, the user can select the sensor type, configure the communication protocol, or configure the database connection information in the configuration interface to ensure that these resources can correctly interact with the modules in the task designer and HMI designer.
[0054] Please refer to Figure 4 As shown, it is a schematic diagram of the task designer configuration interface in one embodiment of the present invention. The task designer configuration interface is used to execute the configuration of business logic. The user can define the core business process of the system in this interface, such as data processing flow, control logic, algorithm execution order, etc. The task designer can convert the user-defined business logic into a series of specific operation steps, which will utilize the hardware and software resources configured in the resource manager when executed. For example, in an application, the task designer can configure a logic for automatic temperature adjustment, and the task designer performs the corresponding business operation by calling the temperature sensor and air conditioning control module configured in the resource manager.
[0055] Please refer to Figure 5 As shown, it is a schematic diagram of the HMI designer configuration interface in one embodiment of the present invention. The HMI designer configuration interface enables users to define the part that interacts with the system, which mainly involves the configuration of human-computer interaction controls. These controls may be buttons, sliders, display boxes, etc. Users can drag and arrange these controls through the visual interface of the HMI designer, and configure the appearance, function and interaction logic of each control with other modules. The HMI designer is not limited to creating static interfaces, but can also interact with modules in the resource manager and task designer through events and delegation mechanisms. This means that the controls in the HMI designer can not only respond to user clicks, inputs and other operations, but also trigger tasks of related modules or read the status of modules, thereby realizing dynamic and real-time interaction.
[0056] For example, in an industrial control system, the HMI designer is used to design a control panel that displays the status of a production line. Users can start an operation of the production line by clicking a button. The HMI designer will call the corresponding logic module in the task designer through the event mechanism to trigger the execution of the operation. At the same time, the module in the task designer can also update the status information on the HMI interface and feedback the operation results to the user.
[0057] S103: In response to user instructions, in the graphical interface of the designer, the properties, parameters, reference relationships and logical connection relationships of the selected object module are configured, and the reference relationships, logical connection lines and data flow paths of the object modules are presented through a visual interface.
[0058] In the designer's graphical interface, users can drag or select modules from the object module library to add them to the design interface. Each object module represents a functional unit in the system, such as data acquisition, control algorithm, hardware interface, etc. Users can configure each module in detail according to actual needs, including setting the module's properties, parameters, and behaviors. The configuration of properties and parameters may include settings such as data type, data range, trigger conditions, execution frequency, etc., while the behavior involves the specific execution method of the module, such as data processing rules, input and output methods, etc.
[0059] For example, in the development of industrial automation control systems, suppose the user selects a temperature sensor module as a data acquisition module. In the configuration interface, the user can set the working range of the temperature sensor (such as 0-100°C), the frequency of data acquisition (such as once per second), and the output data format (such as the temperature value is output in digital form). In addition, the user can also set the trigger condition of the sensor, such as starting to collect data only when the temperature exceeds the set threshold.
[0060] After completing the configuration of a single module, users can continue to configure the reference relationship and logical connection relationship between modules. Reference relationships refer to how different modules depend on each other and how data flows. For example, the data of a temperature sensor module may need to be referenced by a temperature control algorithm module in order to calculate the required adjustment action based on the collected temperature data. Logical connection relationships are data flow paths established between different modules. These paths are visualized through connecting lines to help users clearly see how data flows from one module to another. By configuring these relationships, users can establish complex system logic, for example, passing temperature data to a control algorithm module, and then adjusting the device by outputting it to an actuator module.
[0061] Through the visual interface, developers can quickly identify possible logical problems or configuration errors in the system. For example, if the output of a module is not correctly connected to the input of the next module, the designer can remind the user through highlighting or warning information, thereby reducing errors in system design. For users, this visual display method not only greatly reduces the complexity of development, but also makes the development process more intuitive and easy to debug.
[0062] S104: Verify the parameter matching, execution environment compliance and process design compliance of the selected object module.
[0063] During the development process, parameter matching verification first checks the input and output parameters of each module. Each module has specific parameter requirements, such as data type, data range, unit, precision, etc. In order to ensure the correct operation of the module and the overall coordination of the system, it is necessary to ensure that the input and output parameters of each module are compatible with the interface parameters of other modules. If the parameters do not match, the system functions will not function properly.
[0064] Execution environment compliance verification involves checking the hardware and software environment where the module is located. Different modules may have specific requirements for hardware resources (such as CPU, memory, network bandwidth, etc.) and operating system environment. Therefore, the platform needs to verify whether the current system's execution environment meets the operating requirements of each module in this step. If the module's execution environment is not compliant (for example, the computing resources required by the module exceed the resources available on the system, or the required operating system is incompatible), the platform will issue a warning to the user or prevent further configuration of the module.
[0065] The process design compliance verification checks whether the logical process and data flow path of the entire system are reasonable and meet the design specifications. In the zero-code platform, users configure modules and their connections through a graphical interface, and this design needs to follow specific rules to ensure the stable operation of the system. For example, in a production line control system, the logical relationship of the production process may be executed sequentially, and the output of a module must be used as the input of the next module. If the user accidentally skips a module during configuration, or a closed loop appears in the data flow design (that is, the data continues to flow in the loop and cannot reach the end), it will affect the normal operation of the system.
[0066] S105: After verification, the selected object module and its attributes, parameters, reference relationships and logical connection relationships are persistently packaged locally to generate a corresponding project program.
[0067] The modules configured during the development process and their properties, parameters, reference relationships, and logical connection relationships are converted into executable program codes, and these contents are saved for subsequent use, modification, or deployment.
[0068] In the zero-code platform, persistent encapsulation means saving all the configurations, selections, and connections made by the designer on the graphical interface in a storage-friendly format to the local computer to form a complete project file. This file usually contains specific information about each object module, such as the type of module, configured parameters, dependencies between modules, and data flow paths. In this way, developers can quickly restore, modify, or migrate projects without reconfiguring them, without having to start from scratch.
[0069] During the process of persistent encapsulation, the platform will encode each object module selected by the user on the graphical interface, as well as its corresponding attributes and parameters. This encoding is not only the type identification of the module itself, but also includes the specific content of the user configuration, such as data type, size, range, unit, etc. Then, the platform will record the reference relationship and logical connection relationship between modules to ensure that the input and output ports of different modules are correctly associated. Finally, the platform will store this information in a certain format, usually in XML, JSON or database formats, so that it can be called and reused in future projects.
[0070] Please refer to Figure 6 As shown, based on the same inventive concept as the aforementioned development method based on a zero-code platform, the present invention provides a zero-code development system 600, which includes: an object module library 601, a designer 602, a verification module 603 and a packaging module 604.
[0071] Among them, the object module library 601 is used to respond to user instructions and select object modules from the object module library 601 to import into the graphical interface of the designer. The designer 602 is used to respond to user instructions and configure the properties, parameters, reference relationships and logical connection relationships of the selected object modules in the graphical interface of the designer 602, and present the reference relationships, logical connection lines and data flow paths of the object modules through a visual interface. The verification module 603 is used to verify the parameter matching, execution environment compliance and process design compliance of the selected object modules. The encapsulation module 604 is used to encapsulate the selected object modules and their properties, parameters, reference relationships and logical connection relationships persistently to the local after the verification is passed, and generate the corresponding project program.
[0072] Please refer to Figure 7 As shown, an embodiment of the present invention further provides an electronic device 700, which includes at least one processor 701, a memory 702 (such as a non-volatile memory), a memory 703, and a communication interface 704, and the at least one processor 701, the memory 702, the memory 703, and the communication interface 704 are connected together via a bus 705. At least one processor 701 is used to call at least one program instruction stored or encoded in the memory 702, so that the at least one processor 701 performs various operations and functions of the development method based on the zero-code platform described in various embodiments of this specification.
[0073] In the embodiments of the present specification, the electronic device 700 may include, but is not limited to, personal computers, server computers, workstations, desktop computers, laptop computers, notebook computers, mobile electronic devices, smart phones, tablet computers, cellular phones, personal digital assistants (PDAs), handheld devices, messaging devices, wearable electronic devices, consumer electronic devices, and the like.
[0074] An embodiment of the present invention also provides a computer-readable medium, which carries computer-executable instructions. When the computer-executable instructions are executed by a processor, they can be used to implement various operations and functions of the zero-code platform-based development method described in the various embodiments of this specification.
[0075] The computer-readable medium in the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0076] In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0077] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0078] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatuses, systems, and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0079] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and range of equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0080] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A development method based on a zero-code platform, characterized in that: include: Providing a zero-code platform, the zero-code platform including a designer and an object module library; In response to a user instruction, selecting an object module from the object module library and importing it into the graphical interface of the designer; In response to user instructions, in the graphical interface of the designer, the properties, parameters, reference relationships and logical connection relationships of the selected object module are configured, and the reference relationships, logical connection lines and data flow paths of the object module are presented through a visual interface; Verify the parameter matching, execution environment compliance and process design compliance of the selected object module; After verification, the selected object module and its attributes, parameters, reference relationships and logical connection relationships will be persistently encapsulated locally to generate the corresponding project program.
2. The development method based on the zero-code platform according to claim 1, characterized in that: The development method comprises: A resource manager, a task designer, and an HMI designer are created, wherein the resource manager, the task designer, and the HMI designer respond to each other and work in coordination.
3. The development method based on the zero-code platform according to claim 2, characterized in that: The output of the resource manager is used as input to the task designer and HMI designer; and / or The controls in the HMI designer respond to user inputs and serve as inputs to the resource manager and task designer; and / or The output of the tools in the task designer is used as data input for controls in the HMI designer.
4. The development method based on the zero-code platform according to claim 2, characterized in that: The development method also includes: In response to a user instruction, a resource component is generated in a configuration interface of the resource manager, wherein the resource component includes hardware resources and / or software resources.
5. The development method based on the zero-code platform according to claim 2, characterized in that: The development method also includes: In response to user instructions, the execution business logic of the project is configured in the configuration interface of the task designer.
6. The development method based on the zero-code platform according to claim 2, characterized in that: The development method also includes: In response to user instructions, the human-computer interaction controls of the project are configured in the configuration interface of the HMI designer, and the HMI designer interacts with the modules in the resource manager and the task designer through events and delegations.
7. The development method based on the zero-code platform according to claim 1, characterized in that: The object module includes data module, algorithm tool module, hardware resource module, business logic module and control component module.
8. A zero-code development system, characterized in that: include: An object module library, for selecting an object module from the object module library and importing it into a graphical interface of a designer in response to a user instruction; A designer, configured to, in response to a user instruction, configure the properties, parameters, reference relationships and logical connection relationships of the selected object module in a graphical interface of the designer, and present the reference relationships, logical connection lines and data flow paths of the object module through a visual interface; Verification module, used to verify the parameter matching, execution environment compliance and process design compliance of the selected object module; The encapsulation module is used to encapsulate the selected object module and its attributes, parameters, reference relationships and logical connection relationships persistently to the local computer after verification, and generate the corresponding project program.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the development method based on the zero-code platform as described in any one of claims 1 to 7 is implemented.
10. A computer-readable medium, characterized in that The computer-readable medium carries computer-executable instructions, which, when executed by a processor, are used to implement the development method based on a zero-code platform as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Low-code-based application program development platform and method
CN115373669A
Graphical interface display method and device based on visual programming platform
CN116009849A
Visualization-based business logic development system
CN116360739A
Storage and calculation integrated application generation system and generation method, storage medium and equipment
CN117406982A
Graphical and text based co-design editor for industrial automation projects
US11567737B1
Cited By
Packaging method and system based on zero code platform
CN120029606A
Zero code platform
CN120255864A
Zero-code platform
CN120255864B