Dot matrix interface development method and device, storage medium and electronic equipment

Through a dot matrix interface development method, the problems of high storage occupation and poor scalability of traditional interface development methods are solved, and more efficient configuration processes and automation are achieved, which significantly shortens the development cycle.

CN119987763APending Publication Date: 2025-05-13SHENZHEN ENVICOOL INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411976079.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Traditional interface development methods have the problem of high storage usage and are weak in scalability, which affects the user experience.

Method used

Through a dot matrix interface development method, the configuration software is started in response to the software startup instruction, the target configuration data of the target configuration item is obtained, the target configuration data is compiled into interface firmware, and the target display device is burned. This method optimizes the parameter configuration process, reduces manual operation risks, and improves the scalability and automation of configurations.

Benefits of technology

It significantly reduces storage usage, improves configuration scalability and automation, and shortens the development cycle of target display devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987763A_ABST
    Figure CN119987763A_ABST
Patent Text Reader

Abstract

The invention provides a dot matrix interface development method and device, a storage medium and electronic equipment, and the method comprises the steps: starting configuration software in response to a software starting instruction; in response to a configuration selection instruction, target configuration data corresponding to a target configuration item is obtained in a pre-stored engineering file, the configuration selection instruction comprises the target configuration item, the engineering file comprises configuration data sets of multiple equipment types, and the configuration data set of any equipment type comprises multiple kinds of function configuration data; in response to a compiling instruction, compiling the target configuration data into interface firmware; and in response to a burning instruction, burning the interface firmware into a target display device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of interface development technology, and in particular to an array interface development method and device, a storage medium and an electronic device. Background Art

[0002] Traditional interface implementation uses programs to directly operate character dot matrix LCD to generate menus or interfaces. When the interface is modified, the program must be modified accordingly. The general solution has the problem of high storage usage. For example, directly downloading XML configuration to the device for parsing will occupy additional storage space of the dot matrix interface. Devices with smaller storage may not have enough space. In addition, the dot matrix LCD screen can only be operated according to the default configuration, and its scalability is weak, affecting the user experience. Summary of the invention

[0003] The embodiments of the present application provide an array interface development method and device, a storage medium and an electronic device, by which the above-mentioned problem of occupying a large storage space can at least be solved and the scalability of the configuration can be improved.

[0004] In a first aspect, an embodiment of the present application provides a dot matrix interface development method, the method comprising: in response to a software startup instruction, starting configuration software; in response to a configuration selection instruction, obtaining target configuration data corresponding to a target configuration item in a pre-stored project file, wherein the configuration selection instruction includes the target configuration item, the project file contains configuration data sets of multiple device types, and the configuration data sets of any device type include multiple functional configuration data; in response to a compilation instruction, compiling the target configuration data into interface firmware; in response to a burning instruction, burning the interface firmware into a target display device.

[0005] In a possible implementation, after the configuration software is started, the method further includes: configuring and displaying configurable items of the target display device on a configuration interface.

[0006] In one possible implementation, in response to a configuration selection instruction, obtaining target configuration data corresponding to a target configuration item in a pre-stored project file includes: in response to a user click operation on one or more configurable items in a configuration interface, obtaining the target configuration item selected by the user; and in response to a user confirmation instruction, matching and obtaining the target configuration data corresponding to the target configuration item in the project file.

[0007] In one possible implementation, the configurable items include at least one of the following: a basic library, logic, alarm, communication, advanced settings, and a font library; wherein the basic library includes constant data and / or variable data, and the logic includes at least one of the following: an event, a button, a timer, and an operation.

[0008] In a possible implementation, the method further includes: in response to a configuration item update instruction, based on the newly added configuration data in the project file, dynamically expanding the newly added configuration items corresponding to the newly added configuration data in the configuration structure of the configuration interface.

[0009] In a possible implementation, the configuration software is stored in JSON format.

[0010] In a possible implementation, the method further includes: dynamically extending the configuration item in response to an extension instruction, and generating a new branch item.

[0011] In a second aspect, an embodiment of the present application further provides a dot matrix interface development control device, the device comprising: a processor and a memory, the memory being used to store at least one instruction, the instruction being loaded and executed by the processor to implement the dot matrix interface development method provided in the first aspect.

[0012] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the dot matrix interface development method provided in the first aspect is implemented.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes the dot matrix interface development control device provided in the third aspect.

[0014] Through the above technical solution, in response to the software startup instruction, the configuration software is started; in response to the configuration selection instruction, the target configuration data corresponding to the target configuration item is obtained in the pre-stored engineering file, wherein the configuration selection instruction includes the target configuration item, the engineering file contains configuration data sets of multiple device types, and the configuration data set of any device type includes multiple functional configuration data; in response to the compilation instruction, the target configuration data is compiled into the interface firmware; in response to the burning instruction, the interface firmware is burned into the target display device. By optimizing the parameter configuration process, the risk of manual operation is significantly reduced and the development and testing workload is reduced, the configuration reliability and automation level are improved, and the development cycle of the target display device is shortened. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0016] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0017] Figure 2 A schematic diagram of a dot matrix interface development method flow chart provided for one embodiment of the present application;

[0018] Figure 3 A schematic diagram of a configuration interface provided for an embodiment of the present application;

[0019] Figure 4 A schematic diagram of the structure of a dot matrix interface development control device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application.

[0022] Reference Figure 1 As shown, the application scenario provided by the present application may include a host computer 100 and a slave computer 200, wherein the host computer 100 configures the interface function of the slave computer 200 through the configuration software. Specifically, the slave computer 200 may be a display device. Exemplarily, the display device may be a dot matrix liquid crystal display.

[0023] Reference Figure 1 As shown, the host computer 100 may include configuration software and engineering files. Among them, the host computer 100 can store configuration data according to the engineering files. In some embodiments, the engineering file may include configuration data sets of multiple device types, and the configuration data set of any device type includes multiple functional configuration data. Among them, different types of display devices (lower computers) can provide different functions, at least different display functions. In order to realize the different display functions of the display device (lower computer), the host computer 100 can configure the interface function of the lower computer 200 through the configuration software and based on the configuration data provided in the engineering file. Specifically, the host computer 100 can configure the interface function of the lower computer 200 by executing the dot matrix interface development provided by the present application. In this method, most types of dot matrix screens can also be supported and adapted, and the corresponding effect is displayed according to the firmware generated after the configuration of the host computer.

[0024] Figure 2 A schematic flow chart of a dot matrix interface development method provided for one embodiment of the present application.

[0025] Reference Figure 2 As shown, the method may include the following steps:

[0026] S101: In response to a software startup instruction, start configuration software.

[0027] In some embodiments, when the upper computer configures the interface function of the lower computer, the configuration can be implemented through the configuration software in the upper computer, wherein a software startup instruction can be generated in response to a user's click operation, and further, the upper computer can start the configuration software with the software startup instruction.

[0028] In some embodiments, after the configuration software is started, the configurable items of the target display device can also be displayed in a configuration interface. Specifically, all configuration items can be converted into a graphical configuration interface. Even if the user has no coding knowledge, he can understand the types and functions of the configuration items. In other words, the user only needs to clarify the final display effect of the display screen and develop according to the expected effect, which can greatly reduce the development difficulty and development time of the dot matrix LCD display screen, and the final storage occupancy is compared with the original development plan.

[0029] S102: In response to a configuration selection instruction, obtaining target configuration data corresponding to a target configuration item in a pre-stored project file, wherein the configuration selection instruction includes the target configuration item, the project file includes configuration data sets of multiple device types, and the configuration data set of any device type includes multiple function configuration data.

[0030] In some embodiments, in response to a configuration selection instruction, obtaining target configuration data corresponding to a target configuration item in a pre-stored project file includes: in response to a user click operation on one or more configurable items in a configuration interface, obtaining the target configuration item selected by the user; and in response to a user confirmation instruction, matching the target configuration data corresponding to the target configuration item in the project file.

[0031] Figure 3 A schematic diagram of a configuration interface provided for an embodiment of the present application.

[0032] In some embodiments, after the host computer starts the configuration software, the following information can be displayed on the display screen of the host computer: Figure 3 Configuration interface shown. In one embodiment, the configurable items in the configuration interface include at least one of the following: basic library, logic, alarm, communication, advanced settings and font library; wherein the basic library includes constant data and / or variable data, and the logic includes at least one of the following: event, button, timer and operation. It should be noted that in other embodiments, the configurable items may also include other types of configuration items, and this application does not limit the types of configurable items.

[0033] In some embodiments, in response to a user clicking one or more configurable items in the configuration interface, the target configuration item selected by the user, that is, the interface function selected for the target display device, can be determined. Further, after the user completes the selection of the target configuration item, the target configuration data corresponding to the target configuration item selected by the user can be obtained in the project file, thereby realizing the interface function configuration of the target display device based on the target configuration data.

[0034] For example, the user Figure 3 Click on the configuration interface shown to select the following configuration items:

[0035] Configure the data collected from multiple collection points of a certain air-conditioning equipment and display the data.

[0036] It should be noted that the host computer stores configuration data according to the project file, and the configuration of different platforms can be quickly switched, and the difficulty of secondary development is relatively low. It is extremely complicated to configure the dot matrix interface with manual code because there are strong associations between many libraries.

[0037] In some embodiments, the UI display can be divided into multiple display levels such as interface, table, and row. Among them, one interface can include 1 table or 2 tables. When an interface includes one table, the table can be a table corresponding to the association itself. When an interface includes two tables, they are a table corresponding to the association itself and a table corresponding to the association jump logic. Each table can include multiple rows.

[0038] In some embodiments, each interface can be configured with separate buttons, events, and timer logic, and different numbers of rows and different event effects can be displayed according to different permissions. The button logic can execute any configured event or some preset operations. Events can be triggered according to certain preconditions, and some logic can be executed in the background at a fixed time. Each row can be configured with variable constants, scrolling display, etc. in unit form.

[0039] In some embodiments, the host computer (such as a PC) can automatically generate font data for constant text, without the need for manual generation, and automatically remove duplicates. The font data for the constant text is specifically used to display constant characters of the target device. The variable can be the address of the display screen itself or the address of the device connected to the display screen. The alarm record of the display screen can be configured (such as recording the operation of the air conditioner and executing the corresponding logic of the air conditioner after triggering the logic), the background timer, the configuration of various open parameters (such as backlight, communication, etc.), and the data forwarding of the master-slave serial port can be configured.

[0040] In some embodiments, the upper structure defined by the lower computer can be dynamically expanded. In other words, after the lower computer (display device) updates the new function, the configurable items of the configuration interface can be adaptively updated. Specifically, in response to the configuration item update instruction, based on the newly added configuration data in the project file, the newly added configuration items corresponding to the newly added configuration data can be dynamically expanded in the configuration structure of the configuration interface. Therefore, after the firmware generated by the upper computer is burned to the lower computer, the lower computer automatically runs the corresponding parameters to realize the corresponding newly added functions.

[0041] S103: In response to the compile instruction, compile the target configuration data into interface firmware.

[0042] In some embodiments, after completing the configuration, that is, after obtaining the target configuration data, a firmware is generated according to the configuration data and burned into the target device (lower computer). Among them, the generated firmware conforms to the branch under a main structure of dynamic expansion, so it can be directly run after being burned without additional analysis. Specifically, the underlying firmware will load the data that conforms to the structural arrangement in the specific address area, so when the upper computer (such as a PC) generates this firmware according to this format, the device can load the target configuration data without additional analysis.

[0043] S104: In response to the burning instruction, the interface firmware is burned into the target display device.

[0044] After the interface firmware is compiled through the above operations, the interface firmware can be burned into the target display device, so that the target display device can realize the functions of various configuration items through the burned interface firmware.

[0045] In some embodiments, the configuration software of the host computer can use json to store data, which is convenient for the maintenance of different projects and the dynamic expansion of subsequent new functions, and can import and export through tables to quickly configure the data of each component library.

[0046] In some embodiments, the operating logic of local and external registers in the lower computer can be defined, the display screen itself can be controlled through the buttons on the display screen, and the data and logic of the connected devices can also be controlled. Therefore, these related configurations can be developed in the upper computer through a graphical interface.

[0047] Figure 4 A schematic diagram of the structure of a dot matrix interface development control device provided in one embodiment of the present application.

[0048] Reference Figure 4 As shown, the device may include a processor 401 and a memory 402, wherein the memory 402 is used to store at least one instruction, and when the instruction is loaded and executed by the processor 401, the dot matrix interface development method provided in any embodiment of the present application is implemented.

[0049] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the dot matrix interface development method provided in any embodiment of the present application is implemented.

[0050] The present application also provides an electronic device, which may include Figure 4 The embodiment shown provides a dot matrix interface development control device. For example, the electronic device can be a PC device or other computer device, such as a PDA. The electronic device is Figure 1 The host computer 100 is shown.

[0051] It should be noted that the terminals involved in the embodiments of the present application may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.

[0052] It is understandable that the application may be an application program (nativeApp) installed on the terminal, or may be a web page program (webApp) of a browser on the terminal, and this embodiment of the present application does not limit this.

[0053] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0054] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0055] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0056] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0057] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0058] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A dot matrix interface development method, characterized in that: The method comprises: In response to the software startup instruction, starting the configuration software; In response to a configuration selection instruction, obtaining target configuration data corresponding to a target configuration item in a pre-stored engineering file, wherein the configuration selection instruction includes the target configuration item, the engineering file includes configuration data sets of multiple device types, and the configuration data set of any device type includes multiple function configuration data; In response to a compile instruction, compile the target configuration data into interface firmware; and In response to the burning instruction, the interface firmware is burned into the target display device.

2. The method according to claim 1, characterized in that After the configuration software is started, the method further includes: The configurable items of the target display device are displayed in a configured manner on the configuration interface.

3. The method according to claim 2, characterized in that The step of obtaining target configuration data corresponding to the target configuration item in a pre-stored project file in response to the configuration selection instruction includes: In response to a user clicking one or more configurable items in the configuration interface, obtaining a target configuration item selected by the user; In response to a confirmation instruction from a user, target configuration data corresponding to the target configuration item is obtained by matching in the project file.

4. The method according to claim 2, characterized in that: The configurable items include at least one of the following: Basic library, logic, alarm, communication, advanced settings and font library; The basic library includes constant data and / or variable data, and the logic includes at least one of the following: events, buttons, timers, and operations.

5. The method according to claim 2, characterized in that: The method further comprises: In response to the configuration item update instruction, based on the newly added configuration data in the project file, the newly added configuration items corresponding to the newly added configuration data are dynamically expanded in the configuration structure of the configuration interface.

6. The method according to claim 2, characterized in that The configuration software is stored in json format.

7. The method according to claim 4, characterized in that The method further comprises: The configuration item is dynamically expanded in response to the expansion instruction, and a new branch item is generated.

8. A dot matrix interface development control device, characterized in that: The device comprises: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the dot matrix interface development method as described in any one of claims 1 to 5 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the dot matrix interface development method as described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device includes the dot matrix interface development control device described in claim 8.