CN112114798A - Display method, device, terminal and storage medium of LCD - Google Patents

Display method, device, terminal and storage medium of LCD Download PDF

Info

Publication number
CN112114798A
CN112114798A CN202011029573.9A CN202011029573A CN112114798A CN 112114798 A CN112114798 A CN 112114798A CN 202011029573 A CN202011029573 A CN 202011029573A CN 112114798 A CN112114798 A CN 112114798A
Authority
CN
China
Prior art keywords
information
word stock
human
computer interface
display
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.)
Granted
Application number
CN202011029573.9A
Other languages
Chinese (zh)
Other versions
CN112114798B (en
Inventor
余先耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Eunicum Electric Co ltd
Original Assignee
Shenzhen Eunicum Electric Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Eunicum Electric Co ltd filed Critical Shenzhen Eunicum Electric Co ltd
Priority to CN202011029573.9A priority Critical patent/CN112114798B/en
Publication of CN112114798A publication Critical patent/CN112114798A/en
Application granted granted Critical
Publication of CN112114798B publication Critical patent/CN112114798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display method, a display device, a terminal and a storage medium of an LCD, wherein the display method of the LCD comprises the following steps: acquiring word stock information in a human-computer interface; if the word stock information is inconsistent with the target word stock information, downloading the target word stock information to a human-computer interface, wherein the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface. The problems that the complexity of a software algorithm is improved and the difficulty of software code modification is increased due to the fact that HMI software and a control system need to be modified simultaneously when the control system is customized are solved, and the effects that the complexity of the software algorithm is reduced, software maintenance is convenient, and customization and modification are simple are achieved.

Description

Display method, device, terminal and storage medium of LCD
Technical Field
The present application relates to the field of display technologies, and in particular, to a display method and apparatus for an LCD, a terminal, and a storage medium.
Background
In the HMI in the field of industrial control, LCD displays hold a vast majority of market share. In the traditional LCD display, an interface and a word stock are generally stored in an HMI (human-computer interface), and if a customer needs to customize a control system, HMI software and the control system need to be modified simultaneously, so that the complexity of a software algorithm is improved, and the difficulty of software code modification is increased.
Disclosure of Invention
The embodiment of the application aims to solve the problems that when a control system is customized, HMI software and the control system need to be modified simultaneously, so that the complexity of a software algorithm is improved and the difficulty of modifying software codes is increased.
To achieve the above object, an aspect of the present application provides a display method of an LCD, including:
acquiring word stock information in a human-computer interface;
if the word stock information is inconsistent with the target word stock information, downloading the target word stock information into the human-computer interface, wherein the target word stock information is the word stock information in the control system;
sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice;
and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
Optionally, the step of executing the key operation corresponding to the key information to obtain result information of key processing includes:
if the key operation corresponding to the key information is the modification operation of the display parameters, determining the parameter value to be modified in the current display parameters according to the key information;
and modifying the parameter value to be modified into a set value to obtain modified display parameter information.
Optionally, the step of executing the key operation corresponding to the key information to obtain result information of key processing further includes:
if the key operation corresponding to the key information is the switching operation of the display content, determining the display content to be switched according to the key information;
and switching the display content to be switched into the set display content to obtain the switched display content.
Optionally, the step of sending display information to the human-computer interface to enable the human-computer interface to obtain a character lattice corresponding to the display information in the target word stock information, and displaying the character lattice includes:
and sending the character codes of the display information to the human-computer interface so that the human-computer interface obtains the character dot matrix corresponding to the character codes in the target word stock information, obtains dot matrix coordinate information in the character dot matrix, and displays characters on the coordinate positions corresponding to the dot matrix coordinate information.
Optionally, the step of obtaining the word stock information in the human-computer interface includes:
when the computer is started to operate, sending an acquisition instruction of the word stock information to the human-computer interface;
and acquiring the word stock information in the human-computer interface according to the acquisition instruction.
Optionally, before the step of determining that the word stock information is inconsistent with the target word stock information, the method includes:
acquiring version information and timestamp information of a word stock in the human-computer interface;
and judging whether the version information of the word stock in the human-computer interface is matched with the version information of the word stock in the target word stock and whether the timestamp information of the word stock in the human-computer interface is matched with the timestamp information of the word stock in the target word stock.
Optionally, after the step of determining whether the version information of the word stock in the human-computer interface is matched with the version information of the word stock in the target word stock and the timestamp information of the word stock in the human-computer interface is matched with the timestamp information of the word stock in the target word stock, the method includes:
and if any item is not matched, determining that the word stock information is inconsistent with the target word stock information.
In addition, to achieve the above object, another aspect of the present application also provides a display apparatus of an LCD, the apparatus comprising:
the acquisition module is used for acquiring word stock information in the human-computer interface;
the downloading module is used for downloading the target word stock information into the human-computer interface if the word stock information is inconsistent with the target word stock information, wherein the target word stock information is the word stock information in the control system;
the sending module is used for sending display information to the human-computer interface so that the human-computer interface obtains a character dot matrix corresponding to the display information from the target word stock information and displays the character dot matrix;
and the receiving module is used for receiving the key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
In addition, in order to achieve the above object, another aspect of the present application further provides a terminal, where the terminal includes a memory, a processor, and a display program of an LCD stored in the memory and running on the processor, and the processor implements the steps of the display method of the LCD when executing the display program of the LCD.
In addition, to achieve the above object, another aspect of the present application further provides a computer-readable storage medium having a display program of an LCD stored thereon, where the display program of the LCD, when executed by a processor, implements the steps of the display method of the LCD as described above.
In the embodiment, when the word stock information in the human-computer interface is acquired, whether the word stock information is consistent with the target word stock information is judged, if not, the target word stock information is downloaded to the human-computer interface, and the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface. The interface, the word stock, the keys and the like are processed at the control system end, and the HMI only realizes the display function, so that HMI software and the control system do not need to be modified simultaneously when the control system is customized, and the effects of reducing the complexity of a software algorithm, facilitating software maintenance and simplifying the customization and modification are achieved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a display method of an LCD according to a first embodiment of the present application;
FIG. 3 is a flow chart illustrating a second embodiment of a display method of an LCD according to the present application;
FIG. 4 is a schematic flow chart illustrating a process of acquiring word stock information in a human-computer interface according to the LCD display method of the present application;
FIG. 5 is a schematic flow chart illustrating a step before the step of determining whether the font information is inconsistent with the target font information in the LCD display method of the present application;
fig. 6 is a schematic flow chart illustrating a process of sending display information to the human-computer interface in the LCD display method of the present application, so that the human-computer interface obtains a character dot matrix corresponding to the display information from the target word stock information and displays the character dot matrix;
fig. 7 is a schematic flow chart illustrating a process of executing a key operation corresponding to the key information to obtain result information of key processing in the LCD display method of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: acquiring word stock information in a human-computer interface; if the word stock information is inconsistent with the target word stock information, downloading the target word stock information to a human-computer interface, wherein the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent after the human-computer interface responds to the display information, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
Because the traditional LCD display generally stores the interface and word stock in HMI (human-machine interface), if the customer needs to customize the control system, the HMI software and the control system need to be modified simultaneously, thereby increasing the complexity of software algorithm and increasing the difficulty of software code modification. When the word stock information in the human-computer interface is obtained, judging whether the word stock information is consistent with the target word stock information, if not, downloading the target word stock information into the human-computer interface, wherein the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface. The interface, the word stock, the keys and the like are processed at the control system end, and the HMI only realizes the display function, so that HMI software and the control system do not need to be modified simultaneously when the control system is customized, and the effects of reducing the complexity of a software algorithm, facilitating software maintenance and simplifying the customization and modification are achieved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a display program of an LCD.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call up a display program of the LCD stored in the memory 1005 and perform the following operations:
acquiring word stock information in a human-computer interface;
if the word stock information is inconsistent with the target word stock information, downloading the target word stock information into the human-computer interface, wherein the target word stock information is the word stock information in the control system;
sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice;
and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a display method of an LCD according to the present application, the display method of the LCD includes the following steps:
step S10, acquiring word stock information in the human-computer interface;
because the traditional LCD display generally stores the interface and the word stock in the HMI module, if a customer needs to customize a control system, the HMI and the control system need to be modified simultaneously, thereby improving the complexity of a software algorithm and increasing the difficulty of modifying software codes.
The control system and the HMI human-computer interface are both stored with a word stock consisting of information such as words, letters, numbers, punctuation marks, special characters and the like; the control system can automatically generate version numbers, time stamps and other information of the word stock when the executable file is generated by recompiling every time; and after the control system and the HMI restore communication, reading word stock information in the HMI by the control system, wherein the word stock information comprises word stock version information, time stamp information generated by a word stock, character number and other information.
Optionally, when the word stock needs to be updated, modified, and the like, the operation is directly performed at the control system end, for example, when the word stock needs to be updated, the control system determines the current version information of the word stock first, and analyzes the configuration file; according to the updating requirement, the original configuration file is modified, such as adding, deleting or changing characters, so as to generate a new configuration file; updating the configuration file in the font library software version through a configuration file updating module, namely replacing the original configuration file with the new configuration file; further, by operating a word stock updating command, the software automatically analyzes the new configuration file, so that the word stock is automatically updated, and a new word stock version is generated. By carrying out operations such as updating and modifying of the word stock at the control system end, the method facilitates software maintenance, simplifies customization and modification, and reduces the codes of a human-computer interface, thereby reducing the stock.
Further, referring to fig. 4, the step of acquiring the word stock information in the human-computer interface includes:
step S11, when the computer is started to run, sending an acquisition instruction of the word stock information to the human-computer interface;
and step S12, acquiring the word stock information in the human-computer interface according to the acquisition instruction.
The method comprises the steps that a control system sends an acquisition instruction of word stock information to an HMI (human machine interface) every time when the control system is powered on and operated, the HMI analyzes the acquisition instruction after receiving the acquisition instruction sent by the control system, further judges the word stock information required to be acquired by the acquisition instruction, such as word stock version information of a word stock, timestamp information generated by the word stock, the number of characters and the like, and returns the currently acquired word stock information to the control system.
Step S20, if the word stock information is inconsistent with the target word stock information, downloading the target word stock information into the human-computer interface, wherein the target word stock information is the word stock information in the control system;
when the word stock information in the control system is inconsistent with the word stock information in the HMI human-computer interface, the word stock information in the control system is not matched with the word stock information in the HMI human-computer interface; at the moment, the control system automatically downloads the word stock of the new version into the HMI human-machine interface so as to replace the word stock of the old version in the HMI human-machine interface. Optionally, when it is determined that the word stock information in the control system is inconsistent with the word stock information in the HMI human-machine interface, acquiring character information of an updated part in the new version word stock, and replacing the character information of the updated part with corresponding character information in the old version.
When the word library information corresponding to the control system is inconsistent with the word library information corresponding to the HMI human-computer interface, the word library information of the control system is directly downloaded to the HMI human-computer interface, so that the coding and the storage of the HMI human-computer interface are reduced, and the generation is convenient; meanwhile, the word stock information is downloaded during use, and the plug-and-play of the HMI man-machine interface is realized.
Further, referring to fig. 5, before the step of determining that the word stock information is inconsistent with the target word stock information, the method includes:
step S21, acquiring version information and timestamp information of the word stock in the human-computer interface;
step S22, judging whether the version information of the word stock in the human-computer interface is matched with the version information of the word stock in the target word stock and whether the timestamp information of the word stock in the human-computer interface is matched with the timestamp information of the word stock in the target word stock.
When the control system receives word stock information returned by the HMI, reading version information and timestamp information of a word stock in the HMI; the version information comprises version number, modification record, record label and other information, and the timestamp information is time node information of font updating. And further judging whether the version information of the word stock in the HMI human-computer interface is matched with the version information of the word stock in the target word stock and whether the timestamp information of the word stock in the HMI human-computer interface is matched with the timestamp information of the word stock in the target word stock. If the word stock information in the HMI is matched with the word stock information in the control system, the word stock information in the HMI is determined to be consistent, namely the word stock in the HMI is the latest version, and the control system does not need to push the word stock information to the HMI again. And if any item is not matched, determining that the word stock information in the HMI human-computer interface is inconsistent with the word stock information in the control system.
Step S30, sending display information to the human-computer interface, so that the human-computer interface obtains a character lattice corresponding to the display information in the target word stock information and displays the character lattice;
when characters need to be displayed, the control system pushes full-screen display information to the HMI (human machine interface), specifically, the control system generates a message of the full-screen display information, and when the information of the message meets the pushing condition, an http (hyper text transport protocol) pushing message is sent to the HMI human machine interface; determining whether an http feedback message sent by an HMI (human machine interface) is received, and if the feedback message is received, indicating that message pushing of full-screen display information is successful; if the feedback message is not received, the message of the full-screen display information is not pushed successfully, and the message of the full-screen display information is pushed to the HMI. After receiving a message of full-screen display information, the HMI acquires the full-screen display information in the message, further acquires character codes in the full-screen display information, searches a corresponding character lattice in a word stock according to the character codes, and displays the character lattice; the character lattice is a character shape formed by a group of points, the lattice of each character can be represented by several bytes according to the size, and the lattice number is 5 × 7 or 7 × 9.
Further, referring to fig. 6, the step of sending display information to the human-computer interface to enable the human-computer interface to obtain a character lattice corresponding to the display information in the target word stock information, and displaying the character lattice includes:
step S31, sending the character code of the display information to the human-machine interface, so that the human-machine interface obtains the character lattice corresponding to the character code in the target font information, obtains lattice coordinate information in the character lattice, and displays the character on the coordinate position corresponding to the lattice coordinate information.
And the control system sends the character codes of the full-screen display information to an HMI (human machine interface) through a communication channel, wherein the character codes comprise a UNICODE code, a GB2312 code and the like. And after receiving the character codes of the full-screen display information, the HMI acquires the character dot matrix corresponding to the character codes from the character library, further acquires dot matrix coordinate information in the character dot matrix, and displays the characters on the coordinate positions corresponding to the dot matrix coordinate information. For example: taking reading and displaying a character lattice of a Chinese character as an example, the HMI human-machine interface obtains GB2312 codes according to the Chinese character, calculates the location and code bits of the Chinese character in a lattice word stock through the GB2312 codes, calculates the offset in the lattice word stock through the location and code bits, obtains 32 pixel storage bytes of the Chinese character based on the offset, analyzes the pixel bytes to obtain lattice coordinate information, and displays information bits at corresponding coordinates.
And step S40, receiving the key information sent by the human-computer interface, executing the key operation corresponding to the key information to obtain the result information of key processing, and sending the result information to the human-computer interface.
After the control system sends an http message for pushing full-screen display information to the HMI (human machine interface), the HMI sends key information back to the control system when responding to the message; the HMI human-computer interface is provided with a plurality of keys, the keys can be virtual keys or entity keys, and for the entity keys, the control system can detect whether the entity keys are triggered according to the voltage or current when the keys are pressed; for virtual keys, the control system may use corresponding software to detect whether a virtual key is triggered. When receiving key information returned by the HMI, the control system acquires key codes corresponding to the key information, and further determines key operations corresponding to the keys by the key codes, such as modifying display parameters, switching page display and the like; and executing key operation to obtain result information of key processing, and sending the result information to the HMI (human machine interface), wherein the result information comprises information on whether the key operation is finished or not, information on time spent on responding to the key information and the like.
After the HMI receives the result information, if the control system is determined to respond to the key information according to the result information, the content corresponding to the result information is displayed, for example, if the key operation is to modify the display parameters, the HMI displays the content after modifying the display parameters; and if the control system does not respond to the key information according to the result information, the key information is sent to the control system again.
In the embodiment, when the word stock information in the human-computer interface is acquired, whether the word stock information is consistent with the target word stock information is judged, if not, the target word stock information is downloaded to the human-computer interface, and the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface. The interface, the word stock, the keys and the like are processed at the control system end, and the HMI only realizes the display function, so that HMI software and the control system do not need to be modified simultaneously when the control system is customized, and the effects of reducing the complexity of a software algorithm, facilitating software maintenance and simplifying the customization and modification are achieved.
Further, referring to fig. 3, a second embodiment of the display method of the LCD of the present application is proposed.
The second embodiment of the display method of the LCD is different from the first embodiment of the display method of the LCD in that the step of executing the key operation corresponding to the key information to obtain the result information of the key processing includes:
step S41, if the key operation corresponding to the key information is the modification operation of the display parameters, determining the parameter value to be modified in the current display parameters according to the key information;
and step S42, modifying the parameter value to be modified into a set value to obtain modified display parameter information.
Parameters on the HMI are mainly used for display parameter modification, page switching, display format modification and the like, if the key operation corresponding to the key information received by the control system is the modification operation of the display parameters, the parameter value to be modified in the current display parameters is determined according to the key information, and the parameter value to be modified is further modified into a set value to obtain the modified display parameter information; the display parameters comprise color parameters, character size parameters, display window size parameters, resolution parameters and the like, and the set values are input parameter values. For example: if the key operation corresponding to the key information is the modification of the character size parameter, determining the character to be modified in the currently displayed characters, if the currently displayed character has the display of an LCD (liquid crystal display), and if the character to be modified is the display, acquiring the character size of the displayed character, such as the number four; and further acquiring the character size of the input character, and if the character size of the input character is the second number, changing the character size of the display from the fourth number to the second number. Optionally, the color of the character to be modified may also be set simultaneously, specifically, the original color of the character to be modified, such as black, is obtained, and further, the input color information, such as red, is obtained from the key information; and modifying the color of the character to be modified from black to red. And the control system sends the modified parameter information to the HMI human-machine interface so that the HMI human-machine interface displays the modified character information.
Further, referring to fig. 7, the step of executing the key operation corresponding to the key information to obtain result information of key processing further includes:
step S43, if the key operation corresponding to the key information is the switching operation of the display content, determining the display content to be switched according to the key information;
and step S44, switching the display content to be switched into the set display content to obtain the switched display content.
When the control system determines that the key operation corresponding to the key information is the switching operation of the display content, determining the display content to be switched according to the key information, wherein the switching operation of the display content is page switching, and the page switching comprises a page turning list, a webpage, a picture and the like; the page switching comprises switching from one complete page to another complete page and also comprises forward movement, backward movement or left-right movement on the same page; in a specific implementation, the page switching operation may include: page switching direction, page switching number, proportional page turning and the like. Further, since the page is composed of a plurality of page elements included therein, such as text, pictures, audio, video, page animation, page components (buttons, icons) and the like that can be operated to provide corresponding interactive functions. Therefore, when page switching is executed, the display content to be switched needs to be determined first, and if the display content to be switched is the text information in the switching page at present, the input text information is acquired according to the key information, and if the text information in the page is "LCD" and the input text information is "display of LCD", the "LCD" is switched to "display of LCD". And the control system sends the switched display content information to the HMI human-machine interface so that the HMI human-machine interface displays the switched page content.
According to the embodiment, the display parameter modification operation and the page switching operation corresponding to the key information are executed at the control system end, so that the HMI man-machine interface only realizes the display function, the software complexity is reduced, the software maintenance is facilitated, the customization and modification are simple, and the production and inventory management are facilitated.
In addition, the present application also provides a display device of an LCD, the device including:
the acquisition module is used for acquiring word stock information in the human-computer interface;
the downloading module is used for downloading the target word stock information into the human-computer interface if the word stock information is inconsistent with the target word stock information, wherein the target word stock information is the word stock information in the control system;
the sending module is used for sending display information to the human-computer interface so that the human-computer interface obtains a character dot matrix corresponding to the display information from the target word stock information and displays the character dot matrix;
and the receiving module is used for receiving the key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
Further, the receiving module comprises a determining unit and a modifying unit;
the determining unit is configured to determine a parameter value to be modified in the current display parameter according to the key information if the key operation corresponding to the key information is a modification operation of the display parameter;
and the modification unit is used for modifying the parameter value to be modified into a set value so as to obtain modified display parameter information.
Further, the receiving module further comprises a switching unit;
the determining unit is further configured to determine, if the key operation corresponding to the key information is a switching operation of display content, the display content to be switched according to the key information;
the switching unit is used for switching the display content to be switched into the set display content so as to obtain the switched display content.
Further, the sending module is further configured to send the character code of the display information to the human-computer interface, so that the human-computer interface obtains a character dot matrix corresponding to the character code in the target word stock information, obtains dot matrix coordinate information in the character dot matrix, and displays a character on a coordinate position corresponding to the dot matrix coordinate information.
Further, the acquisition module comprises a sending unit and an acquisition unit;
the sending unit is used for sending an acquisition instruction of the word stock information to the human-computer interface when the computer is started to operate;
and the acquisition unit is used for acquiring the word stock information in the human-computer interface according to the acquisition instruction.
Further, the downloading module comprises an acquiring unit and a judging unit;
the acquisition unit is used for acquiring version information and timestamp information of a word stock in the human-computer interface;
the judging unit is used for judging whether the version information of the word stock in the human-computer interface is matched with the version information of the word stock in the target word stock and whether the timestamp information of the word stock in the human-computer interface is matched with the timestamp information of the word stock in the target word stock.
Further, the determining unit is further configured to determine that the font information is inconsistent with the target font information if any one of the items is not matched.
The implementation of the functions of the modules of the LCD display device is similar to the process in the above method embodiments, and is not repeated here.
In addition, the application also provides a terminal, which comprises a memory, a processor and an LCD display program stored on the memory and running on the processor, wherein when the terminal acquires the word stock information in the human-computer interface, the terminal judges whether the word stock information is consistent with the target word stock information, if not, the target word stock information is downloaded to the human-computer interface, and the target word stock information is the word stock information in the control system; sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice; and receiving key information sent after the human-computer interface responds to the display information, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface. The interface, the word stock, the keys and the like are processed at the control system end, and the HMI only realizes the display function, so that HMI software and the control system do not need to be modified simultaneously when the control system is customized, and the effects of reducing the complexity of a software algorithm, facilitating software maintenance and simplifying the customization and modification are achieved.
In addition, the present application also provides a computer readable storage medium, on which a display program of an LCD is stored, which when executed by a processor implements the steps of the display method of the LCD as described above.
Further, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the display method of the LCD as described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A display method of an LCD, the method comprising:
acquiring word stock information in a human-computer interface;
if the word stock information is inconsistent with the target word stock information, downloading the target word stock information into the human-computer interface, wherein the target word stock information is the word stock information in the control system;
sending display information to the human-computer interface so that the human-computer interface obtains a character lattice corresponding to the display information from the target word stock information and displays the character lattice;
and receiving key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
2. The method as claimed in claim 1, wherein the step of performing the key operation corresponding to the key information to obtain the result information of the key process comprises:
if the key operation corresponding to the key information is the modification operation of the display parameters, determining the parameter value to be modified in the current display parameters according to the key information;
and modifying the parameter value to be modified into a set value to obtain modified display parameter information.
3. The method as claimed in claim 1, wherein the step of performing the key operation corresponding to the key information to obtain the result information of the key processing further comprises:
if the key operation corresponding to the key information is the switching operation of the display content, determining the display content to be switched according to the key information;
and switching the display content to be switched into the set display content to obtain the switched display content.
4. The LCD display method of claim 1, wherein the step of sending display information to the human-machine interface to enable the human-machine interface to obtain a character lattice corresponding to the display information in the target word stock information, and displaying the character lattice comprises:
and sending the character codes of the display information to the human-computer interface so that the human-computer interface obtains the character dot matrix corresponding to the character codes in the target word stock information, obtains dot matrix coordinate information in the character dot matrix, and displays characters on the coordinate positions corresponding to the dot matrix coordinate information.
5. The method for displaying on an LCD of claim 1, wherein the step of obtaining the word stock information in the human-machine interface comprises:
when the computer is started to operate, sending an acquisition instruction of the word stock information to the human-computer interface;
and acquiring the word stock information in the human-computer interface according to the acquisition instruction.
6. The method for displaying on an LCD of claim 1, wherein the step of determining if the word stock information is inconsistent with the target word stock information comprises:
acquiring version information and timestamp information of a word stock in the human-computer interface;
and judging whether the version information of the word stock in the human-computer interface is matched with the version information of the word stock in the target word stock and whether the timestamp information of the word stock in the human-computer interface is matched with the timestamp information of the word stock in the target word stock.
7. The LCD display method of claim 6, wherein the step of determining whether the version information of the word stock in the human-computer interface matches the version information of the word stock in the target word stock and the timestamp information of the word stock in the human-computer interface matches the timestamp information of the word stock in the target word stock comprises:
and if any item is not matched, determining that the word stock information is inconsistent with the target word stock information.
8. A display device for an LCD, the device comprising:
the acquisition module is used for acquiring word stock information in the human-computer interface;
the downloading module is used for downloading the target word stock information into the human-computer interface if the word stock information is inconsistent with the target word stock information, wherein the target word stock information is the word stock information in the control system;
the sending module is used for sending display information to the human-computer interface so that the human-computer interface obtains a character dot matrix corresponding to the display information from the target word stock information and displays the character dot matrix;
and the receiving module is used for receiving the key information sent by the human-computer interface, executing key operation corresponding to the key information to obtain result information of key processing, and sending the result information to the human-computer interface.
9. A terminal, characterized in that the terminal comprises a memory, a processor and a display program of an LCD stored on the memory and running on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when executing the display program of the LCD.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a display program of an LCD, which when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202011029573.9A 2020-09-25 2020-09-25 LCD display method, device, terminal and storage medium Active CN112114798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011029573.9A CN112114798B (en) 2020-09-25 2020-09-25 LCD display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011029573.9A CN112114798B (en) 2020-09-25 2020-09-25 LCD display method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112114798A true CN112114798A (en) 2020-12-22
CN112114798B CN112114798B (en) 2024-02-06

Family

ID=73797912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011029573.9A Active CN112114798B (en) 2020-09-25 2020-09-25 LCD display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112114798B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324952A (en) * 2008-07-31 2008-12-17 福建升腾资讯有限公司 Liquid crystal touch control integrated information interactive terminal
CN101873451A (en) * 2010-05-19 2010-10-27 杭州海康威视数字技术股份有限公司 Method and device for realizing on-screen display (OSD) of characters
CN101888505A (en) * 2010-06-13 2010-11-17 杭州海康威视数字技术股份有限公司 Method and device for displaying characters on screen
CN102426565A (en) * 2011-11-03 2012-04-25 北京华大智宝电子***有限公司 SOC (System on Chip) chip with font processing function
CN102929615A (en) * 2012-10-16 2013-02-13 北京迪文科技有限公司 Display method and display device of man-machine interaction equipment
CN108804066A (en) * 2018-06-11 2018-11-13 深圳市琥蜂科技有限公司 The display methods and computer readable storage medium of screen display character
US20190324951A1 (en) * 2017-10-30 2019-10-24 AtomBeam Technologies Inc. System and method for data storage, transfer, synchronization, and security using recursive encoding
CN111668928A (en) * 2020-05-06 2020-09-15 许昌许继软件技术有限公司 Display terminal and method for power protection device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324952A (en) * 2008-07-31 2008-12-17 福建升腾资讯有限公司 Liquid crystal touch control integrated information interactive terminal
CN101873451A (en) * 2010-05-19 2010-10-27 杭州海康威视数字技术股份有限公司 Method and device for realizing on-screen display (OSD) of characters
CN101888505A (en) * 2010-06-13 2010-11-17 杭州海康威视数字技术股份有限公司 Method and device for displaying characters on screen
CN102426565A (en) * 2011-11-03 2012-04-25 北京华大智宝电子***有限公司 SOC (System on Chip) chip with font processing function
CN102929615A (en) * 2012-10-16 2013-02-13 北京迪文科技有限公司 Display method and display device of man-machine interaction equipment
US20190324951A1 (en) * 2017-10-30 2019-10-24 AtomBeam Technologies Inc. System and method for data storage, transfer, synchronization, and security using recursive encoding
CN108804066A (en) * 2018-06-11 2018-11-13 深圳市琥蜂科技有限公司 The display methods and computer readable storage medium of screen display character
CN111668928A (en) * 2020-05-06 2020-09-15 许昌许继软件技术有限公司 Display terminal and method for power protection device

Also Published As

Publication number Publication date
CN112114798B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN109725901B (en) Front-end code development method, device, equipment and computer storage medium
EP3623942B1 (en) Message processing method and apparatus, storage medium, and computer device
US20170293959A1 (en) Information processing apparatus, shelf label management system, control method, and program
US10810698B2 (en) Information processing method and client
CN108427546B (en) Full screen adaptation method of display device, display device and storage medium
US11030389B2 (en) Acquisition of a font portion using a compression mechanism
WO2017121278A1 (en) Information-pushing device, method, client and machine-readable storage medium
CN112612690B (en) User interface information processing method and device, electronic equipment and storage medium
WO2017000898A1 (en) Software icon display method and apparatus
CN110990431A (en) Method for realizing synchronous linkage carousel of China map and line graph data
CN113190152A (en) Method and device for switching application program theme
CN108875085B (en) Picture processing method and device for hybrid application, computer equipment and storage medium
WO2024088132A1 (en) Target-image display method and display apparatus, and electronic device and storage medium
CN113791853A (en) Method, system, device and medium for self-defining editing dial interface
CN106535002B (en) Desktop starter template layout updating method and device
CN112114798B (en) LCD display method, device, terminal and storage medium
WO2023050744A1 (en) Map editing method, system, apparatus, computer device, program product, and storage medium
CN108184150B (en) Vector control method and device of remote labeling signal and signal processing system
CN113055707B (en) Video display method and device
CN114237795A (en) Terminal interface display method and device, electronic equipment and readable storage medium
CN114020396A (en) Display method of application program and data generation method of application program
CN104915372B (en) Webpage information bar display method, device and system
CN112799745B (en) Page display control method and device
CN111324244B (en) Method and device for switching picture display types
CN112363852A (en) Popup message processing method, device, equipment and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant