CN117215576A - Method and system for generating HMI interface based on low codes - Google Patents
Method and system for generating HMI interface based on low codes Download PDFInfo
- Publication number
- CN117215576A CN117215576A CN202310953122.1A CN202310953122A CN117215576A CN 117215576 A CN117215576 A CN 117215576A CN 202310953122 A CN202310953122 A CN 202310953122A CN 117215576 A CN117215576 A CN 117215576A
- Authority
- CN
- China
- Prior art keywords
- interface
- low
- hmi
- hmi interface
- hardware
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 102
- 238000011161 development Methods 0.000 claims description 48
- 238000012360 testing method Methods 0.000 claims description 16
- 238000004088 simulation Methods 0.000 claims description 12
- 238000012546 transfer Methods 0.000 claims description 12
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000003993 interaction Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000008439 repair process Effects 0.000 description 3
- 238000012800 visualization Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a method and a system for generating an HMI interface based on low codes. The method for generating the HMI interface based on the low codes comprises the following steps: extracting HMI interface setting requirements; creating an item menu corresponding to the HMI interface in a low code platform; according to the HMI interface setting requirement, interface elements are inserted into item menus corresponding to the HMI interface by utilizing the low-code platform element database, and an HMI interface is generated; the HMI interface is connected to the bottom hardware of the low-code platform, and a data transmission mode and a data transmission protocol are set according to the requirements of hardware interface documents; the system comprises modules corresponding to the method steps.
Description
Technical Field
The invention provides a method and a system for generating an HMI interface based on low codes, and belongs to the technical field of software design.
Background
In factory automation systems, HMI (Human-Machine Interface) interface software plays a vital role, which is an important interface for Human-machine interaction and information transfer. However, the current situation suggests that the development process of HMI interface software presents challenges, resulting in little capacity for autonomous development within the factory and lengthy development cycles, which limit the ability to respond in time to the frequently changing demands of HMI interfaces.
Disclosure of Invention
The invention provides a method and a system for generating an HMI interface based on low codes, which are used for solving the problem of overlong HMI development period:
a method of generating an HMI interface based on low codes, the method of generating an HMI interface based on low codes comprising:
extracting HMI interface setting requirements;
creating an item menu corresponding to the HMI interface in a low code platform;
according to the HMI interface setting requirement, interface elements are inserted into item menus corresponding to the HMI interface by utilizing the low-code platform element database, and an HMI interface is generated;
the HMI interface is connected to the bottom hardware of the low-code platform, and a data transmission mode and a data transmission protocol are set according to the requirements of hardware interface documents;
and calling a simulator and a debugging tool of the low-code platform, and performing function simulation and debugging on the HMI.
Further, according to the HMI interface setting requirement, inserting an interface element in a project menu corresponding to the HMI interface by using the low-code platform element database, and generating the HMI interface includes:
starting a development environment of the low-code platform;
automatically scanning a navigation menu and a toolbar of the low-code platform to obtain related option content set by the HMI interface;
and automatically acquiring interface elements according to requirements set by the HMI interface and related option contents set by the HMI interface, and inserting the interface elements into a project menu to generate the HMI interface.
Further, interfacing the HMI interface into underlying hardware of the low code platform includes:
scanning a hardware interface of the low-code platform to obtain hardware interface information of the low-code platform;
according to the hardware interface information, converting the packed data corresponding to the HMI interface into a data format which can be received by the hardware interface, and generating an HMI interface file;
and sending the HMI interface file to the bottom hardware of the low-code platform.
Further, the setting the data transmission mode and the data transmission protocol according to the requirement of the hardware interface document comprises:
acquiring configuration options related to the hardware interface information in a development environment of the low-code platform;
in the configuration options, setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document;
and carrying out data transmission test by using the data transmission mode and the data transmission protocol, and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
A system for generating an HMI interface based on low codes, the system for generating an HMI interface based on low codes comprising:
the setting requirement extraction module is used for extracting the HMI interface setting requirement;
the menu creation module is used for creating an item menu corresponding to the HMI interface in the low-code platform;
the HMI interface generating module is used for inserting interface elements into the item menu corresponding to the HMI interface by utilizing the low-code platform element database according to the HMI interface setting requirement to generate an HMI interface;
the information setting module is used for connecting the HMI interface to the bottom hardware of the low-code platform and setting a data transmission mode and a data transmission protocol according to the document requirements of the hardware interface;
and the simulation and debugging module is used for calling the simulator and the debugging tool of the low-code platform and carrying out function simulation and debugging on the HMI interface.
Further, the HMI interface generation module includes:
the development environment starting module is used for starting the development environment of the low-code platform;
the option content acquisition module is used for automatically scanning the navigation menu and the toolbar of the low-code platform to acquire related option content set by the HMI interface;
and the content setting module is used for automatically acquiring interface elements according to the requirements set by the HMI interface and combining the related option contents set by the HMI interface, and inserting the interface elements into the project menu to generate the HMI interface.
Further, the information setting module includes:
the hardware interface information acquisition module is used for scanning the hardware interface of the low-code platform to acquire the hardware interface information of the low-code platform;
the HMI interface file generation module is used for converting the packaging data corresponding to the HMI interface into a data format which can be received by the hardware interface according to the hardware interface information to generate an HMI interface file;
and the HMI interface file sending module is used for sending the HMI interface file to the bottom hardware of the low-code platform.
Further, the information setting module includes:
the configuration option acquisition module is used for acquiring configuration options related to the hardware interface information in the development environment of the low-code platform;
the transmission mode and protocol setting module is used for setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document in the configuration options;
and the data transmission requirement judging module is used for carrying out data transmission test by utilizing the data transmission mode and the data transmission protocol and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
The invention has the beneficial effects that:
the method and the system for generating the HMI interface based on the low codes are based on the low code technology, can design the HMI interface and write software through simple learning, design the HMI interface in a dragging mode, and use the preset hardware interface to enable the HMI interface to be in butt joint with different bottom hardware, so that a line engineer of a factory can design and generate the HMI interface according to own actual needs, long-time development period is not needed, and the requirement of quick updating iteration of the HMI in the factory can be met.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
fig. 2 is a system block diagram of the system of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides a method for generating an HMI interface based on low codes, which is shown in figure 1 and comprises the following steps:
s1, extracting HMI interface setting requirements;
s2, creating a project menu corresponding to the HMI interface in a low-code platform;
s3, inserting interface elements into the item menu corresponding to the HMI by utilizing the low-code platform element database according to the HMI setting requirement to generate an HMI;
s4, the HMI interface is connected to the bottom hardware of the low-code platform, and a data transmission mode and a data transmission protocol are set according to the document requirements of the hardware interface;
s5, the simulator and the debugging tool of the low-code platform are called, and function simulation and debugging are conducted on the HMI.
The working principle of the technical scheme is as follows: first, it is necessary to specify the setting requirements of the HMI interface, including requirements in terms of interface layout, interactive elements, data presentation, and the like.
In the low code platform, a project menu corresponding to the HMI interface is created for carrying and managing the development and configuration of the HMI interface.
Interface elements are inserted in the menu of items using an element database provided by the low code platform. These interface elements may be buttons, text boxes, charts, etc. that are used to construct various portions of the HMI interface.
By combining the interface elements together, an HMI interface is generated using the visualization tool of the low code platform. The developer can intuitively perform interface layout and element configuration without writing a large amount of codes.
And docking the generated HMI interface with the bottom hardware of the low-code platform, and setting a data transmission mode and a protocol according to the requirements of the hardware interface document. In this way, the HMI interface can interact and control data with the underlying device.
And performing functional simulation and debugging on the developed HMI interface by using a simulator and a debugging tool provided by the low-code platform. This can help the developer verify the interactive logic and functionality of the interface and repair the problem in time.
The technical scheme has the effects that: the use of a low code platform can greatly reduce the time and complexity of HMI interface development, enabling the factory to respond more quickly to changing demands. The low code platform provides visual development tools and component libraries that enable non-professional developers to also participate in the development of the HMI interface, thereby alleviating the problem of scarcity of professional developers. The low-code platform provides a simulator and a debugging tool, helps developers to simulate and debug functions, and ensures normal operation and functional completeness of the HMI interface. Through the element database and the visualization tool of the low-code platform, developers can flexibly configure and adjust the layout and elements of the HMI interface to meet the customization needs of the factory.
According to one embodiment of the present invention, according to the HMI interface setting requirement, interface elements are inserted in item menus corresponding to the HMI interface by using the low-code platform element database, and the HMI interface is generated, including:
s301, starting a development environment of the low-code platform;
s302, automatically scanning a navigation menu and a toolbar of the low-code platform to obtain related option content set by the HMI interface;
s303, automatically acquiring interface elements according to requirements set by the HMI interface and related option contents set by the HMI interface, and inserting the interface elements into a project menu to generate the HMI interface.
The working principle of the technical scheme is as follows: first, a development environment for the low code platform is launched that provides the tools and functionality required to develop the HMI interface.
The low code platform automatically scans the navigation menu and toolbar to obtain option content related to the HMI interface settings. These options content may include interface layout, element style, data source configuration, etc.
And according to the setting requirements of the HMI interface and the contents of related options, the low-code platform can automatically acquire the appropriate interface elements. These interface elements will then be inserted into the project menu for building and generating the HMI interface.
The technical scheme has the effects that: through the automatic scanning navigation menu and the toolbar, the low-code platform can automatically acquire the option content related to the HMI interface setting, so that the time of manual searching and configuration is reduced, and the development efficiency is improved.
And the low-code platform automatically acquires the proper interface elements according to the HMI interface setting requirements and option contents. The developer does not need to manually select and configure each interface element, so that complicated operation steps are reduced.
By automatically acquiring interface elements and inserting item menus, the low code platform ensures consistency and normalization of the interface elements. The developer can build an interface based on a predefined element library, maintaining the uniformity of the overall style and layout.
Although the low code platform automatically obtains interface elements, the developer can still adjust and customize according to the needs. They can add custom elements or further configure existing elements to meet specific HMI interface requirements.
In general, the technical solution of the present embodiment simplifies the development flow of the HMI interface by automatically acquiring interface elements and inserting item menus, improves development efficiency, and provides flexibility and customization options.
One embodiment of the invention interfaces the HMI interface into the underlying hardware of the low code platform, comprising:
s401, scanning a hardware interface of the low-code platform to obtain hardware interface information of the low-code platform;
s402, converting the packaging data corresponding to the HMI interface into a data format which can be received by the hardware interface according to the hardware interface information, and generating an HMI interface file;
s403, the HMI interface file is sent to bottom hardware of the low-code platform.
The working principle of the technical scheme is as follows: the low code platform scans the hardware interfaces supported by the low code platform to acquire relevant information of the hardware interfaces. Such information may include interface type, communication protocol, data transfer mode, etc.
And converting the packed data corresponding to the HMI interface into a data format which can be received by the bottom hardware interface according to the obtained hardware interface information. This process ensures that the generated HMI interface file is able to efficiently interact data with the underlying hardware.
The generated HMI interface file is sent to the low code platform underlying hardware to realize connection of the HMI interface and the underlying hardware. The HMI interface can exchange data and control operation with an external system through bottom hardware.
The technical scheme has the effects that: by scanning the hardware interface of the low code platform and converting the data format, the compatibility and interoperability between the HMI interface and the underlying hardware are ensured. The generated HMI interface file can be correctly communicated with the bottom hardware, so that data transmission and interaction are realized. The low code platform automatically scans the hardware interface and provides relevant information, simplifying the interface configuration process. The developer does not need to manually search and configure parameters of the hardware interface, so that the time and workload of configuration errors and debugging are reduced. By automatically converting the packed data format and sending the HMI interface file to the underlying hardware, the steps of manual processing and configuration are reduced, and development efficiency is improved. Developers can deploy HMI interfaces to the underlying hardware faster to meet plant requirements. The generated HMI interface file can perform data interaction and control operation with the underlying hardware. This enables the HMI interface to effectively communicate and cooperate with external devices, sensors or other systems to implement automated control and monitoring functions.
In general, the technical solution of the present embodiment realizes connection and communication between the HMI interface and the underlying hardware by scanning the hardware interface, converting the data format, and sending the HMI interface file. Thus, the HMI interface can be ensured to be seamlessly integrated with the bottom hardware, data interaction and control operation are realized, and the compatibility, interoperability and development efficiency of the system are improved.
According to one embodiment of the invention, the setting of the data transmission mode and the data transmission protocol according to the requirements of the hardware interface document comprises the following steps:
step 1, acquiring configuration options related to the hardware interface information in a development environment of the low-code platform;
step 2, in the configuration options, setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document;
and step 3, performing data transmission test by using the data transmission mode and the data transmission protocol, and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
The working principle of the technical scheme is as follows: in the development environment of the low-code platform, information related to the hardware interface is acquired through corresponding configuration options. These configuration options may include data transfer mode, data transfer protocol, connection parameters, etc.
And setting a proper data transmission mode and a proper data transmission protocol in the configuration options according to the requirements of the hardware interface document. This ensures that the correct manner and protocol of transmission is used when data is transferred between the low code platform and the underlying hardware.
And carrying out data transmission test between the low-code platform and the bottom hardware by using the set data transmission mode and the data transmission protocol. This test procedure is intended to verify whether the data transfer operation specified in the hardware interface document meets the preset data transfer requirements.
The technical scheme has the effects that: by acquiring configuration options related to the hardware interface, a developer can customize a data transmission mode and a protocol according to specific hardware requirements. This flexibility enables the low code platform to accommodate different types of hardware devices and interface requirements.
By setting the correct data transmission mode and protocol, the data transmission between the low-code platform and the bottom hardware is ensured to have reliability and stability. This helps to avoid errors or losses in the data transmission, ensuring the accuracy and integrity of the data.
By performing the data transfer test, it is possible to verify whether the data transfer function specified in the hardware interface document operates normally. This helps to find potential problems or errors and to make adjustments and repairs in time.
By providing configuration options and automated data transmission testing, the technical scheme can significantly improve development efficiency. The developer does not need to manually process complex configuration and testing processes, so that development time and workload are reduced.
In summary, the technical solution of the present embodiment obtains the configuration options, sets the data transmission mode and protocol, and performs the data transmission test, thereby implementing the configuration and verification of the low code platform and the underlying hardware interface. Thus, the correctness and reliability of data transmission can be ensured, the development efficiency is improved, and the occurrence of errors is reduced.
The embodiment of the invention provides a system for generating an HMI interface based on low codes, which is shown in figure 2 and comprises the following components:
the setting requirement extraction module is used for extracting the HMI interface setting requirement;
the menu creation module is used for creating an item menu corresponding to the HMI interface in the low-code platform;
the HMI interface generating module is used for inserting interface elements into the item menu corresponding to the HMI interface by utilizing the low-code platform element database according to the HMI interface setting requirement to generate an HMI interface;
the information setting module is used for connecting the HMI interface to the bottom hardware of the low-code platform and setting a data transmission mode and a data transmission protocol according to the document requirements of the hardware interface;
and the simulation and debugging module is used for calling the simulator and the debugging tool of the low-code platform and carrying out function simulation and debugging on the HMI interface.
The working principle of the technical scheme is as follows: firstly, extracting HMI interface setting requirements through a setting requirement extraction module; then, creating an item menu corresponding to the HMI interface in a low-code platform by using a menu creation module; then, an HMI interface generating module is adopted to insert interface elements into a project menu corresponding to the HMI interface by utilizing the low-code platform element database according to the HMI interface setting requirement, so as to generate an HMI interface; then, the HMI interface is connected to the bottom hardware of the low-code platform through an information setting module, and a data transmission mode and a data transmission protocol are set according to the requirements of hardware interface documents; and finally, the simulator and the debugging tool of the low-code platform are called through a simulation and debugging module, and the function simulation and the debugging are carried out on the HMI.
The technical scheme has the effects that: the use of a low code platform in this embodiment can greatly reduce the time and complexity of HMI interface development, enabling the factory to respond more quickly to changing demands. The low code platform provides visual development tools and component libraries that enable non-professional developers to also participate in the development of the HMI interface, thereby alleviating the problem of scarcity of professional developers. The low-code platform provides a simulator and a debugging tool, helps developers to simulate and debug functions, and ensures normal operation and functional completeness of the HMI interface. Through the element database and the visualization tool of the low-code platform, developers can flexibly configure and adjust the layout and elements of the HMI interface to meet the customization needs of the factory.
In one embodiment of the present invention, the HMI interface generation module includes:
the development environment starting module is used for starting the development environment of the low-code platform;
the option content acquisition module is used for automatically scanning the navigation menu and the toolbar of the low-code platform to acquire related option content set by the HMI interface;
and the content setting module is used for automatically acquiring interface elements according to the requirements set by the HMI interface and combining the related option contents set by the HMI interface, and inserting the interface elements into the project menu to generate the HMI interface.
The working principle of the technical scheme is as follows: firstly, starting a development environment of the low-code platform through a development environment starting module; then, automatically scanning a navigation menu and a toolbar of the low-code platform by using an option content acquisition module to acquire related option content set by the HMI interface; and finally, automatically acquiring interface elements by combining related option contents set by the HMI interface through a content setting module according to the requirements set by the HMI interface, and inserting the interface elements into a project menu to generate the HMI interface.
The technical scheme has the effects that: through the automatic scanning navigation menu and the toolbar, the low-code platform can automatically acquire the option content related to the HMI interface setting, so that the time of manual searching and configuration is reduced, and the development efficiency is improved.
And the low-code platform automatically acquires the proper interface elements according to the HMI interface setting requirements and option contents. The developer does not need to manually select and configure each interface element, so that complicated operation steps are reduced.
By automatically acquiring interface elements and inserting item menus, the low code platform ensures consistency and normalization of the interface elements. The developer can build an interface based on a predefined element library, maintaining the uniformity of the overall style and layout.
Although the low code platform automatically obtains interface elements, the developer can still adjust and customize according to the needs. They can add custom elements or further configure existing elements to meet specific HMI interface requirements.
In general, the technical solution of the present embodiment simplifies the development flow of the HMI interface by automatically acquiring interface elements and inserting item menus, improves development efficiency, and provides flexibility and customization options.
In one embodiment of the present invention, the information setting module includes:
the hardware interface information acquisition module is used for scanning the hardware interface of the low-code platform to acquire the hardware interface information of the low-code platform;
the HMI interface file generation module is used for converting the packaging data corresponding to the HMI interface into a data format which can be received by the hardware interface according to the hardware interface information to generate an HMI interface file;
and the HMI interface file sending module is used for sending the HMI interface file to the bottom hardware of the low-code platform.
The working principle of the technical scheme is as follows: firstly, controlling a hardware interface of the low-code platform to scan through a hardware interface information acquisition module to acquire hardware interface information of the low-code platform;
then, according to the hardware interface information, an HMI interface file generation module is utilized to convert the packaging data corresponding to the HMI interface into a data format which can be received by the hardware interface, and an HMI interface file is generated;
and finally, transmitting the HMI interface file to the bottom hardware of the low-code platform through an HMI interface file transmitting module.
The technical scheme has the effects that: by scanning the hardware interface of the low code platform and converting the data format, the compatibility and interoperability between the HMI interface and the underlying hardware are ensured. The generated HMI interface file can be correctly communicated with the bottom hardware, so that data transmission and interaction are realized. The low code platform automatically scans the hardware interface and provides relevant information, simplifying the interface configuration process. The developer does not need to manually search and configure parameters of the hardware interface, so that the time and workload of configuration errors and debugging are reduced. By automatically converting the packed data format and sending the HMI interface file to the underlying hardware, the steps of manual processing and configuration are reduced, and development efficiency is improved. Developers can deploy HMI interfaces to the underlying hardware faster to meet plant requirements. The generated HMI interface file can perform data interaction and control operation with the underlying hardware. This enables the HMI interface to effectively communicate and cooperate with external devices, sensors or other systems to implement automated control and monitoring functions.
In general, the technical solution of the present embodiment realizes connection and communication between the HMI interface and the underlying hardware by scanning the hardware interface, converting the data format, and sending the HMI interface file. Thus, the HMI interface can be ensured to be seamlessly integrated with the bottom hardware, data interaction and control operation are realized, and the compatibility, interoperability and development efficiency of the system are improved.
In one embodiment of the present invention, the information setting module includes:
the configuration option acquisition module is used for acquiring configuration options related to the hardware interface information in the development environment of the low-code platform;
the transmission mode and protocol setting module is used for setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document in the configuration options;
and the data transmission requirement judging module is used for carrying out data transmission test by utilizing the data transmission mode and the data transmission protocol and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
The working principle of the technical scheme is as follows: firstly, acquiring configuration options related to the hardware interface information in a development environment of the low-code platform through a configuration option acquisition module;
then, setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document in the configuration options by using a transmission mode and protocol setting module;
and finally, carrying out data transmission test by using the data transmission mode and the data transmission protocol through a data transmission requirement judging module, and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
The technical scheme has the effects that: by acquiring configuration options related to the hardware interface, a developer can customize a data transmission mode and a protocol according to specific hardware requirements. This flexibility enables the low code platform to accommodate different types of hardware devices and interface requirements.
By setting the correct data transmission mode and protocol, the data transmission between the low-code platform and the bottom hardware is ensured to have reliability and stability. This helps to avoid errors or losses in the data transmission, ensuring the accuracy and integrity of the data.
By performing the data transfer test, it is possible to verify whether the data transfer function specified in the hardware interface document operates normally. This helps to find potential problems or errors and to make adjustments and repairs in time.
By providing configuration options and automated data transmission testing, the technical scheme can significantly improve development efficiency. The developer does not need to manually process complex configuration and testing processes, so that development time and workload are reduced.
In summary, the technical solution of the present embodiment obtains the configuration options, sets the data transmission mode and protocol, and performs the data transmission test, thereby implementing the configuration and verification of the low code platform and the underlying hardware interface. Thus, the correctness and reliability of data transmission can be ensured, the development efficiency is improved, and the occurrence of errors is reduced.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (8)
1. A method of generating an HMI interface based on low codes, the method of generating an HMI interface based on low codes comprising:
extracting HMI interface setting requirements;
creating an item menu corresponding to the HMI interface in a low code platform;
according to the HMI interface setting requirement, interface elements are inserted into item menus corresponding to the HMI interface by utilizing the low-code platform element database, and an HMI interface is generated;
the HMI interface is connected to the bottom hardware of the low-code platform, and a data transmission mode and a data transmission protocol are set according to the requirements of hardware interface documents;
and calling a simulator and a debugging tool of the low-code platform, and performing function simulation and debugging on the HMI.
2. The method for generating an HMI interface based on low codes according to claim 1, wherein inserting interface elements in a project menu corresponding to the HMI interface by using the low code platform element database according to the HMI interface setting requirement, generating an HMI interface comprises:
starting a development environment of the low-code platform;
automatically scanning a navigation menu and a toolbar of the low-code platform to obtain related option content set by the HMI interface;
and automatically acquiring interface elements according to requirements set by the HMI interface and related option contents set by the HMI interface, and inserting the interface elements into a project menu to generate the HMI interface.
3. The method of generating an HMI interface based on low code according to claim 1, wherein interfacing the HMI interface to underlying hardware of the low code platform comprises:
scanning a hardware interface of the low-code platform to obtain hardware interface information of the low-code platform;
according to the hardware interface information, converting the packed data corresponding to the HMI interface into a data format which can be received by the hardware interface, and generating an HMI interface file;
and sending the HMI interface file to the bottom hardware of the low-code platform.
4. The method for generating an HMI interface based on low code according to claim 1, wherein setting a data transfer mode and a data transfer protocol according to a hardware interface document requirement comprises:
acquiring configuration options related to the hardware interface information in a development environment of the low-code platform;
in the configuration options, setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document;
and carrying out data transmission test by using the data transmission mode and the data transmission protocol, and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
5. A system for generating an HMI interface based on low codes, the system for generating an HMI interface based on low codes comprising:
the setting requirement extraction module is used for extracting the HMI interface setting requirement;
the menu creation module is used for creating an item menu corresponding to the HMI interface in the low-code platform;
the HMI interface generating module is used for inserting interface elements into the item menu corresponding to the HMI interface by utilizing the low-code platform element database according to the HMI interface setting requirement to generate an HMI interface;
the information setting module is used for connecting the HMI interface to the bottom hardware of the low-code platform and setting a data transmission mode and a data transmission protocol according to the document requirements of the hardware interface;
and the simulation and debugging module is used for calling the simulator and the debugging tool of the low-code platform and carrying out function simulation and debugging on the HMI interface.
6. The system for generating an HMI interface based on low codes as recited in claim 5, wherein the HMI interface generation module comprises:
the development environment starting module is used for starting the development environment of the low-code platform;
the option content acquisition module is used for automatically scanning the navigation menu and the toolbar of the low-code platform to acquire related option content set by the HMI interface;
and the content setting module is used for automatically acquiring interface elements according to the requirements set by the HMI interface and combining the related option contents set by the HMI interface, and inserting the interface elements into the project menu to generate the HMI interface.
7. The system for generating an HMI interface based on low code according to claim 5, wherein the information setting module comprises:
the hardware interface information acquisition module is used for scanning the hardware interface of the low-code platform to acquire the hardware interface information of the low-code platform;
the HMI interface file generation module is used for converting the packaging data corresponding to the HMI interface into a data format which can be received by the hardware interface according to the hardware interface information to generate an HMI interface file;
and the HMI interface file sending module is used for sending the HMI interface file to the bottom hardware of the low-code platform.
8. The system for generating an HMI interface based on low code according to claim 5, wherein the information setting module comprises:
the configuration option acquisition module is used for acquiring configuration options related to the hardware interface information in the development environment of the low-code platform;
the transmission mode and protocol setting module is used for setting a data transmission mode and a data transmission protocol according to the requirements of the hardware interface document in the configuration options;
and the data transmission requirement judging module is used for carrying out data transmission test by utilizing the data transmission mode and the data transmission protocol and judging whether the data transmission operation of the hardware interface document meets the preset data transmission requirement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310953122.1A CN117215576A (en) | 2023-07-31 | 2023-07-31 | Method and system for generating HMI interface based on low codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310953122.1A CN117215576A (en) | 2023-07-31 | 2023-07-31 | Method and system for generating HMI interface based on low codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117215576A true CN117215576A (en) | 2023-12-12 |
Family
ID=89037738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310953122.1A Pending CN117215576A (en) | 2023-07-31 | 2023-07-31 | Method and system for generating HMI interface based on low codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117215576A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538500A (en) * | 2020-04-26 | 2020-08-14 | 北京思特奇信息技术股份有限公司 | Method and system for visually modifying menu |
CN114995803A (en) * | 2022-05-31 | 2022-09-02 | 中国电信股份有限公司 | Development method of human-computer interface, low-code development platform, terminal and medium |
CN116225432A (en) * | 2023-01-19 | 2023-06-06 | 常州新途软件有限公司 | Instrument interface development method, instrument interface development system and instrument interface development simulator |
CN116450092A (en) * | 2023-03-30 | 2023-07-18 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | Multi-display terminal simulation data synchronization and interaction method and system |
-
2023
- 2023-07-31 CN CN202310953122.1A patent/CN117215576A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538500A (en) * | 2020-04-26 | 2020-08-14 | 北京思特奇信息技术股份有限公司 | Method and system for visually modifying menu |
CN114995803A (en) * | 2022-05-31 | 2022-09-02 | 中国电信股份有限公司 | Development method of human-computer interface, low-code development platform, terminal and medium |
CN116225432A (en) * | 2023-01-19 | 2023-06-06 | 常州新途软件有限公司 | Instrument interface development method, instrument interface development system and instrument interface development simulator |
CN116450092A (en) * | 2023-03-30 | 2023-07-18 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | Multi-display terminal simulation data synchronization and interaction method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10705511B2 (en) | Abstraction layers for automation applications | |
CN101110029B (en) | HMI framework for extensible automation system engineering platforms | |
US11988998B2 (en) | Method and apparatus for computer aided simulation of a modular technical system | |
US20050197824A1 (en) | Object-oriented design method for the time-effective and cost-effective development of production-grade embedded systems based on a standardized system architecture | |
JP5740634B2 (en) | Automatic operation system and operation automation method | |
CN113505082B (en) | Application program testing method and device | |
WO2024140416A1 (en) | Industrial control program development platform and method | |
CN109696832B (en) | Method for supporting an installation process of an automation system | |
US4914567A (en) | Design system using visual language | |
JP2016224557A (en) | Program creation support device, program, and determination method | |
CN101582899A (en) | Method, system, and service server for providing firmware through communication network | |
CN117215576A (en) | Method and system for generating HMI interface based on low codes | |
CN112148611B (en) | Cloud architecture-based automatic test intermediate interface method and platform | |
US20120272222A1 (en) | Software Tool for Automation | |
US20220291903A1 (en) | Information processing device, recording medium, and support system | |
CN114189534A (en) | Design method of device interaction software simulation program in Internet of things system | |
JP4962721B2 (en) | Tool device and method for creating message transmission program | |
CA1298915C (en) | Design system using visual language | |
EP3832410A1 (en) | Information processing device and display program | |
Qian et al. | ChDuino: A real-time controller for Arduino | |
Makarcheva | Implementation of a PLC Сode on Raspberry Pi in CODESYS Environment | |
CN110688105A (en) | Visualization platform for algorithm integration verification deployment and service method thereof | |
EP3923099B1 (en) | A method and an apparatus for enabling access to process data of a food production plant | |
US12086577B2 (en) | Method for creating and executing a control program for controlling an automation system, and automation system | |
CN107329764A (en) | A kind of multitask GCPLC systems and the method that application and development is realized using the system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |