Liquid crystal screen display method, system and device

By building a mapping relationship between the virtual application layer and the virtual hardware layer, the problem of low efficiency in LCD screen control is solved, flexible user demand adaptation and truth table adjustment are achieved, and operational efficiency is improved.

CN114995777BActive Publication Date: 2025-10-17HOLLEY METERING LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210736547.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2025-10-17
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

The conventional LCD control method is inefficient when user requirements change or the truth table is adjusted, and the cache table needs to be re-established, resulting in poor operability.

Method used

Build a virtual application layer and a virtual hardware layer, and establish a mapping relationship between the two. Receive display instructions and determine the truth value through the virtual application layer, and assign the LCD screen to display the corresponding content. Adjust the virtual layer only when the user needs or the truth table is adjusted.

Benefits of technology

Improves the efficiency and logic clarity of LCD display control, reduces modification workload, and adapts to changes in user needs and truth table adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114995777B_ABST
    Figure CN114995777B_ABST
Patent Text Reader

Abstract

The application discloses a liquid crystal screen display method, system and device, which is applied to the field of liquid crystal screen control, and first constructs a virtual application layer and a virtual hardware layer, and establishes a first mapping relationship of the virtual application layer and the virtual hardware layer; when a display instruction is received in the virtual application layer, a corresponding true value is determined through the first mapping relationship; the determined true value is assigned to the liquid crystal screen, so that the liquid crystal screen displays content corresponding to the display instruction. In the application, two virtual layers are set, wherein the virtual application layer is for the demand of a user, the virtual hardware layer is for a true value table of an entity liquid crystal screen, and a corresponding relationship between the two is established, so that the liquid crystal screen can be controlled. In addition, when the demand of the user changes, the virtual application layer only needs to be adjusted; when the true value table is adjusted, the virtual hardware layer only needs to be adjusted, the logic is clearer, the workload of modification can be reduced, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of liquid crystal screen control, and in particular to a liquid crystal screen display method, system and device. BACKGROUND

[0002] The specific implementation of the prior art for LCD (Liquid Crystal Display) liquid crystal control is: first, an LCD liquid crystal display cache table is established according to the user's requirements, then corresponding coding is performed, and finally the cache content consistent with the actual LCD liquid crystal hardware truth table is obtained. This method is a byte-to-byte process mode, and each requirement corresponds to one coding, which has weak readability and scalability (for details, refer to CN109272954A).

[0003] For example, when the segment code of the LCD liquid crystal is replaced or the function of the LCD liquid crystal is updated, the above steps need to be re-executed, and the efficiency and operability are poor. SUMMARY

[0004] The purpose of the present application is to provide a liquid crystal screen display method, system and device, which only needs to adjust the virtual application layer when the user's requirements change, and only needs to adjust the virtual hardware layer when the truth table is adjusted. The logic is clearer and the workload of modification can be reduced, and the efficiency is improved.

[0005] To solve the above technical problems, the present application provides a liquid crystal screen display method, comprising:

[0006] Constructing a virtual application layer corresponding to the user's multiple display requirements for the liquid crystal screen;

[0007] According to the truth table of the liquid crystal screen, a virtual hardware layer corresponding to the truth table is established;

[0008] Establishing a first mapping relationship between the virtual application layer and the virtual hardware layer;

[0009] When the display instruction is received in the virtual application layer, the truth value corresponding to the display instruction in the virtual hardware layer is determined through the first mapping relationship;

[0010] The determined truth value is assigned to the liquid crystal screen, so that the liquid crystal screen displays the content corresponding to the display instruction.

[0011] Preferably, the virtual application layer is constructed, comprising:

[0012] According to the display function of the liquid crystal screen, the display area of the liquid crystal screen is divided;

[0013] Each of the divided display areas is coded respectively.

[0014] Preferably, when the liquid crystal screen is a display screen of an electric energy meter, the display area of the liquid crystal screen is divided according to the display function of the liquid crystal screen, comprising:

[0015] the display area of the liquid crystal screen is divided into a figure-eight area, a unit area, an indication area and a state area;

[0016] the figure-eight area is a digital display area or a letter display area, used for displaying the corresponding number or preset letter of the electric energy or voltage or current of the electric energy meter;

[0017] the unit area is used for displaying the unit corresponding to the number displayed in the figure-eight area;

[0018] the indication area is used for identifying the category of the number currently displayed in the figure-eight area;

[0019] the state area is used for displaying the current working state of the electric energy meter.

[0020] Preferably, each of the divided display areas is encoded, comprising:

[0021] obtaining the preset byte number of each display area corresponding to the user demand;

[0022] when setting the byte for each display area, the set byte number is greater than the preset byte number.

[0023] Preferably, the virtual application layer and the virtual hardware layer are both structures.

[0024] Preferably, each truth value in the truth table corresponds to each segment code on the liquid crystal screen one by one.

[0025] Preferably, each truth value in the truth table corresponds to each segment code on the liquid crystal screen one by one, comprising:

[0026] each segment code on the liquid crystal screen is named, and each truth value in the truth table corresponds to the name of each segment code one by one.

[0027] Preferably, when the virtual application layer receives a display instruction, before determining the corresponding truth value of the virtual hardware layer through the first mapping relationship, it further comprises:

[0028] establishing a hardware pin layer according to the hardware pin structure of the liquid crystal screen;

[0029] establishing a second mapping relationship between the virtual hardware layer and the hardware pin layer;

[0030] assigning the determined truth value to the liquid crystal screen, so that the liquid crystal screen displays the content corresponding to the display instruction, comprising:

[0031] The determined true value is output to a corresponding pin through a second mapping relationship, so that the liquid crystal screen displays content corresponding to the display instruction.

[0032] To solve the above technical problems, the application further provides a liquid crystal screen display system, comprising:

[0033] A first construction unit is configured to construct a virtual application layer, wherein the virtual application layer corresponds to various display requirements of a user for a liquid crystal screen;

[0034] A second construction unit is configured to establish a virtual hardware layer corresponding to a true value table of the liquid crystal screen according to the true value table;

[0035] An establishment unit is configured to establish a first mapping relationship between the virtual application layer and the virtual hardware layer;

[0036] An instruction receiving unit is configured to determine a true value corresponding to a display instruction in the virtual hardware layer through the first mapping relationship when the display instruction is received by the virtual application layer;

[0037] A display unit is configured to assign the determined true value to the liquid crystal screen, so that the liquid crystal screen displays content corresponding to the display instruction.

[0038] To solve the above technical problems, the application further provides a liquid crystal screen display device, comprising:

[0039] A memory is configured to store a computer program;

[0040] A processor is configured to implement the steps of the liquid crystal screen display method when the computer program is stored.

[0041] The application provides a liquid crystal screen display method, which is applied to the field of liquid crystal screen control. A virtual application layer and a virtual hardware layer are constructed, and a first mapping relationship between the virtual application layer and the virtual hardware layer is established. When a display instruction is received by the virtual application layer, a corresponding true value is determined through the first mapping relationship. The determined true value is assigned to the liquid crystal screen, so that the liquid crystal screen displays content corresponding to the display instruction. In the application, two virtual layers are set, wherein the virtual application layer is for the requirements of a user, and the virtual hardware layer is for a true value table of an entity liquid crystal screen. A corresponding relationship between the two is established, so that the control of the liquid crystal screen can be realized. In addition, when the requirements of the user change, the virtual application layer only needs to be adjusted. When the true value table is adjusted, the virtual hardware layer only needs to be adjusted. The logic is clearer, the workload of modification can be reduced, and the efficiency is improved.

[0042] The application further provides a liquid crystal screen display system and device, which have the same beneficial effects as the liquid crystal screen display method described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0044] Figure 1 A schematic diagram of a flow chart of a liquid crystal display method provided in this application;

[0045] Figure 2 A schematic diagram of an electric energy meter provided in this application;

[0046] Figure 3 A pin diagram provided for this application;

[0047] Figure 4 This is a structural block diagram of a liquid crystal display system provided by this application;

[0048] Figure 5 This is a structural block diagram of a liquid crystal display device provided in this application. DETAILED DESCRIPTION

[0049] The core of this application is to provide a liquid crystal display method, system and device. When user needs change, only the virtual application layer needs to be adjusted. When the truth table needs to be adjusted, only the virtual hardware layer needs to be adjusted. The logic is clearer and the workload of modification can be reduced, thereby improving efficiency.

[0050] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0051] Specifically, considering that when controlling an LCD screen using existing methods, if the segment code in the LCD screen is changed or the LCD screen function is updated, the cache table needs to be rechecked, etc., which is inefficient. For example, when the display application demand of the LCD screen increases, the corresponding relationship of the two-layer cache needs to be re-established. When the segment code on the LCD screen is adjusted or modified, the corresponding relationship of the two-layer cache needs to be refreshed. When the hardware wiring of the LCD screen pins is swapped, the corresponding relationship of the two-layer cache needs to be refreshed. When there is a swap or addition or deletion in the truth table of the LCD screen, the corresponding relationship of the two-layer cache needs to be refreshed.

[0052] Please refer to Figure 1 , Figure 1 A flowchart of a liquid crystal screen display method provided by the present application is shown in the figure. The method comprises the following steps:

[0053] S11: Construct a virtual application layer, which corresponds to various display requirements of the liquid crystal screen by the user.

[0054] Specifically, the purpose of this step is to establish a large and comprehensive virtual application layer for various application requirements, and the application program is directed to the liquid crystal screen, which is not the real display content of the liquid crystal screen. Specifically, the virtual application layer can include various display requirements of the liquid crystal screen by the user. When the user needs to modify or add / delete the display requirements of the liquid crystal screen, the content in the virtual application layer can be modified and added / deleted accordingly.

[0055] Specifically, the virtual application layer can be but is not limited to the specific implementation of the structure.

[0056] As a preferred embodiment, the virtual application layer is constructed, comprising:

[0057] According to the display function of the liquid crystal screen, the display area of the liquid crystal screen is divided;

[0058] Each display area after division is encoded respectively.

[0059] Further, if the display area of the liquid crystal screen can be divided, it can be specifically divided according to the function of the liquid crystal screen to divide it into different areas, and then each display area is encoded respectively. Through this division and encoding method, when the requirements in the virtual application layer need to be adjusted, the divided areas can be adjusted accordingly, which further improves the efficiency of adjusting user requirements, etc.

[0060] As a preferred embodiment, the virtual application layer is constructed, comprising: according to the refresh frequency of the liquid crystal screen, the display area of the liquid crystal screen is divided; each display area after division is encoded respectively. Specifically, display areas with similar refresh frequencies can be divided into one area to achieve the function of dividing the display area of the liquid crystal screen. Of course, other implementation methods can also be used, which are not limited by the present application.

[0061] Specifically, refer to Figure 2 , Figure 2 A schematic diagram of an electric energy meter provided by the present application is shown in the figure.

[0062] As a preferred embodiment, when the liquid crystal screen is the display screen of the electric energy meter, according to the display function of the liquid crystal screen, the display area of the liquid crystal screen is divided, comprising:

[0063] The display area of the liquid crystal screen is divided into an eight-character area, a unit area, an indication area, and a state area.

[0064] The eight-character area is a numerical display area or a letter display area, and is used to display numbers or preset letters corresponding to electric energy or voltage or current of the electric energy meter.

[0065] The unit area is used to display units corresponding to the numbers displayed in the eight-character area.

[0066] The indication area is used to identify the category of the numbers currently displayed in the eight-character area.

[0067] The state area is used to display the current working state of the electric energy meter.

[0068] Specifically, when the liquid crystal screen is an electric energy meter, the display area of the liquid crystal screen can be divided into a public display area and a private display area. Specifically, the private display area can be divided into an eight-character area, a unit area, and an indication area, and the public display area can be divided into a state area.

[0069] Specifically, the eight-character area is a numerical display area or a letter display area, and is used to display numbers or letters, for example Figure 2 The area of the "8" character in the above is the eight-character area.

[0070] When the eight-character area displays numbers, the unit area displays units corresponding to the numbers displayed in the eight-character area, for example Figure 2 The "kWh" and "KWA" characters in the above are unit areas.

[0071] The indication area is used to identify the category of the numbers currently displayed in the eight-character area, for example, when the eight-character area displays time, the time indication light or identification of the indication area is lit, and when the eight-character area displays electric energy, voltage, or current of the electric energy meter, the indication light of the indication area corresponding to the electric energy, voltage, or current is lit. For example Figure 2 "T11-T15" in the above can be used as the content of the indication area. Of course, other implementation manners can be used, which are not limited herein.

[0072] The state area is used to display the current working state of the electric energy meter, for example, when the electric energy meter is working normally, the indication identification of the normal working state is lit, and when the electric energy meter works abnormally and needs to be alarmed, the alarm identification is lit. For example Figure 2 "T1-T4" in the above can be used as the content of the indication area.

[0073] As a preferred embodiment, each display area after division is encoded, including:

[0074] The preset byte number of each display area corresponding to the user demand is obtained.

[0075] When setting the bytes for each display area, the number of set bytes is greater than the preset number of bytes.

[0076] Further, when constructing the virtual application layer, the number of bytes set for each display area in the present application is greater than the preset number of bytes corresponding to the user demand. For example, the eight-character area of the physical liquid crystal screen requires eight bytes (8 "8" characters). However, in the present application, when constructing the virtual application layer, 10 bytes are reserved, or 10 bytes are reserved for each group, and two groups are reserved for subsequent expansion. The eight-character area can be represented by an ASCII code to realize the function of displaying both numbers and English letters.

[0077] Similarly, the unit area and the indication area are both in the form of macro definition coding. Whether the electric energy meter is currently in use or whether the indication area uses this identification, as much as possible, a more comprehensive content is set for it. For example, regardless of whether the current electric energy meter is in use, the unit area w, kw, Mw, A, mA, V, mV, kV, etc. are all reserved, as much as possible, a larger number of unit elements are reserved for subsequent expansion and use. The indication area, like the unit area, also encodes as much as possible all the application display screen contents. The state area defines the state of the electric energy meter in use, alarm, event, etc. by using a bitmap, and some bits are reserved for later expansion.

[0078] Specifically, when the specific implementation mode of the virtual application layer is a structure body, the structure in the structure body is as shown in Table 1:

[0079] Table 1 Structure of Application Virtual Layer Structure Body

[0080]

[0081]

[0082] For the contents in Table 1, specific reference can be made to the above description, which will not be repeated here.

[0083] S12: establishing a virtual hardware layer corresponding to the truth table according to the truth table of the liquid crystal screen;

[0084] S13: establishing a first mapping relationship between the virtual application layer and the virtual hardware layer;

[0085] Specifically, the present application also specifically establishes a virtual hardware layer according to the truth table of the liquid crystal screen. At this time, when the truth table is added, deleted, or modified, only the corresponding addition, deletion, or modification of the contents in the virtual hardware layer is required, thereby improving the efficiency.

[0086] As a preferred embodiment, each truth value in the truth table corresponds to each segment code on the liquid crystal screen.

[0087] Specifically, each truth value (truth value element) in the truth table in the present application and each segment code on the liquid crystal screen correspond one-to-one. For example, a "8" character includes 7 segment codes, and correspondingly, 7 truth values should also be corresponded. Compared with the prior art in which a "8" character corresponds to a truth value, the control mode of the display content of the liquid crystal screen is more flexible.

[0088] As a preferred embodiment, each truth value in the truth table and each segment code on the liquid crystal screen correspond one-to-one, including:

[0089] Each segment code on the liquid crystal screen is named, and each truth value in the truth table corresponds to the name of each segment code one-to-one.

[0090] Specifically, the specific implementation mode of making each segment code of the liquid crystal screen and each truth value in the truth table correspond one-to-one in the present application is that each segment code on the liquid crystal screen is named, at this time, each segment code has its own name, and at this time, the name of each segment code and the truth value in the truth table correspond one-to-one.

[0091] At this time, when the segment code on the liquid crystal screen is added, deleted or adjusted, since the truth value and the name of the segment code correspond one-to-one, each segment code on the liquid crystal screen is controlled, and therefore the function of controlling the segment code on the liquid crystal screen by using the truth table is not affected. Specifically, for example, the field of a "8" character is defined as B_1A, B_1B, B_1C...B_1G, and assuming that the "8" character is deleted, only the corresponding name and truth value in the virtual hardware layer need to be deleted, and the control of other elements on the liquid crystal screen is not affected.

[0092] S14: When the display instruction is received in the virtual application layer, the truth value corresponding to the display instruction in the virtual hardware layer is determined through the first mapping relationship;

[0093] S15: The determined truth value is assigned to the liquid crystal screen, so that the liquid crystal screen displays the content corresponding to the display instruction.

[0094] Specifically, after the virtual application layer facing the user demand and the virtual hardware layer facing the hardware are established, the first mapping relationship between the virtual application layer and the virtual hardware layer is established in the present application, so that when the display instruction is received in the virtual application layer, the truth value (element) corresponding to the display instruction is determined through the first mapping relationship, and then the determined truth value is assigned to the liquid crystal screen, so that the liquid crystal screen receives the control signal corresponding to the display instruction, and the liquid crystal screen displays the content corresponding to the display instruction.

[0095] Further, it is also considered that if the virtual hardware layer and the hardware pins of the liquid crystal screen correspond directly, if the number or sequence of the hardware pins of the liquid crystal screen changes, the corresponding content in the virtual hardware layer also needs to be modified, and the modified content is more and the efficiency is lower.

[0096] As a preferred embodiment, before determining the true value corresponding to the virtual hardware layer through the first mapping relationship when the display instruction is received at the virtual application layer, the method further comprises:

[0097] establishing a hardware pin layer according to the hardware pin structure of the liquid crystal screen;

[0098] establishing a second mapping relationship between the virtual hardware layer and the hardware pin layer;

[0099] assigning the determined true value to the liquid crystal screen, so that the liquid crystal screen displays the content corresponding to the display instruction, comprising:

[0100] outputting the determined true value to the corresponding pin through the second mapping relationship, so that the liquid crystal screen displays the content corresponding to the display instruction.

[0101] In view of the above problems, therefore, the hardware pin layer is established according to the hardware pin structure of the liquid crystal screen in the present application, which is used to correspond to the PCB wiring pin of the liquid crystal screen. At this time, the second mapping relationship between the virtual hardware layer and the hardware pin layer is established. After the true value corresponding to the display instruction is determined, the determined true value is issued to the corresponding hardware pin according to the determined true value and the second mapping relationship, so that the segment code corresponding to the hardware pin is lit.

[0102] Using the method in the present application, even if the hardware pin of the liquid crystal screen changes, only the second mapping relationship needs to be modified, and the content of the modification is less and the efficiency is higher.

[0103] At this time, the hardware virtual layer and the liquid crystal screen in the present application are not a simple one-dimensional array (for example, the S4 fills the LCD liquid crystal display buffer table and maps the buffer table to obtain the buffer content consistent with the actual LCD liquid crystal hardware true value table, which is a one-dimensional buffer array). Through the method in the present application, the editing, testing and checking of the code are more convenient and easier to locate.

[0104] Specifically, after the above naming of each segment code and establishing the virtual hardware layer, the corresponding two-dimensional table can refer to Figure 3 , Figure 3 A pin schematic diagram is provided in the present application. The description in Figure 3 can refer to Table 2:

[0105] Table 2 Pin Description Schematic Table

[0106]

[0107]

[0108] After the virtual hardware layer and the hardware structure layer are established as described above, the amplitude of each element summarized by the virtual application layer is mapped one-to-one to the elements in the virtual hardware layer. At this time, if the virtual application layer needs to light up two segments of the LCD screen, it only needs to assign values ​​to the two segments in the virtual hardware layer. Compared with patent CN109272954A, the assignment of corresponding relationships is more explicit due to the definition of the virtual hardware layer. It is only necessary to assign values ​​to the names one by one, rather than assigning values ​​to a one-dimensional array. Specific examples are as follows:

[0109] strM2.B_1A=((LCDMappingTable[strM1.value1[0]]&0x08)!=0);

[0110] strM2.B_1B=((LCDMappingTable[strM1.value1[0]]&0x80)!=0);

[0111] strM2.B_1C=((LCDMappingTable[strM1.value1[0]]&0x20)!=0);

[0112] strM2.B_1D=((LCDMappingTable[strM1.value1[0]]&0x01)!=0);

[0113] strM2.B_1E=((LCDMappingTable[strM1.value1[0]]&0x02)!=0);

[0114] strM2.B_1F=((LCDMappingTable[strM1.value1[0]]&0x04)!=0);

[0115] strM2.B_1G=((LCDMappingTable[strM1.value1[0]]&0x40)!=0); ...

[0117] strM2.PIN8_COM2_T3_Batter=(strM1.batter!=0); / / Assign battery symbol.

[0118] LCDMappingTable is the truth table of the 8-word segment code. It only needs to correspond to a fixed structure. This is a common practice and will not be explained in detail. const u08 LCDMappingTable[]=

[0119]

[0120] Further, in order to facilitate the wiring of the liquid crystal screen PCB, the PIN and COM pins of the liquid crystal screen and the pins of the MCU or display driving chip do not necessarily correspond one by one, such as the COM1 pin of the driving chip being connected to the COM2 pin of the liquid crystal screen. Therefore, the present application also proposes a solution to this problem, that is, to establish a pin mapping table (i.e., a second mapping relationship). Even if the pins are modified, only the mapping table needs to be modified, and the specific reference can be made to Table 3: for example, PIN1 corresponds to PIN22, and the order of COM1 to COM6 is reversed, so the solution is as follows:

[0121] Table 3: Second mapping relationship table

[0122]

[0123] In summary, one specific implementation in the present application is as follows:

[0124] 1. Establish a virtual application structure corresponding to user needs;

[0125] 2. Establish a virtual hardware structure corresponding to the truth table of the liquid crystal screen;

[0126] 3. Establish a hardware pin structure corresponding to the hardware pins of the liquid crystal screen;

[0127] 4. Establish a first mapping relationship between the virtual application structure and the virtual hardware structure;

[0128] 5. Establish a second mapping relationship between the virtual hardware structure and the hardware pin structure.

[0129] Through the method in the present application, when modification is needed, only the corresponding part needs to be modified, without the need for full modification, thereby improving efficiency. For example, (1) when the user's display application needs of the liquid crystal screen increase, because the virtual application layer structure is independent and is designed as redundant as possible, such as the application needs of kW\W\Wh\kWh and other application needs that can be thought of are covered, and as long as the corresponding application layer virtual screen structure elements are assigned values, the corresponding application function can be realized, and the display code does not need to be modified. (2) When the liquid crystal screen is modified, such as adding or deleting elements of the virtual hardware layer structure, and adjusting the order, because most of the element names are not modified, only the first mapping relationship table between the virtual application layer structure elements and the virtual hardware layer structure elements of the newly added elements needs to be established to complete the modification work, without the need to check the entire corresponding relationship. (3) When the PCB wiring pins are swapped, only the hardware pin structure needs to be modified to realize the corresponding function. (4) When the liquid crystal truth table is swapped, only the order of the truth elements of the virtual hardware layer structure needs to be modified, without the need to modify the names of the truth elements inside, to realize the corresponding modification work.

[0130] To solve the above technical problems, the application further provides a liquid crystal screen display system, please refer to Figure 4 , Figure 4 The structural diagram of a liquid crystal screen display system provided by the application, the system comprises:

[0131] The first construction unit 41 is used for constructing a virtual application layer, and the virtual application layer corresponds to various display requirements of the user for the liquid crystal screen;

[0132] The second construction unit 42 is used for establishing a virtual hardware layer corresponding to the truth table according to the truth table of the liquid crystal screen;

[0133] The establishment unit 43 is used for establishing a first mapping relationship between the virtual application layer and the virtual hardware layer;

[0134] The instruction receiving unit 44 is used for determining the truth value corresponding to the display instruction in the virtual hardware layer through the first mapping relationship when the display instruction is received in the virtual application layer;

[0135] The display unit 45 is used for assigning the determined truth value to the liquid crystal screen, so that the liquid crystal screen displays the content corresponding to the display instruction.

[0136] For the introduction of the liquid crystal screen display system, please refer to the above embodiment, the application will not be described here.

[0137] To solve the above technical problems, the application further provides a liquid crystal screen display device, please refer to Figure 5 , Figure 5 The structural diagram of a liquid crystal screen display device provided by the application, the device comprises:

[0138] The memory is used for storing the computer program;

[0139] The processor is used for realizing the steps of the liquid crystal screen display method when the computer program is stored.

[0140] For the introduction of the liquid crystal screen display device, please refer to the above embodiment, the application will not be described here.

[0141] It should also be noted that, in the specification, relational terms such as first and second, and the like, can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0142] The above description of disclosed embodiments provides enabling concepts for practicing or using the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A liquid crystal display method, characterized in that: include: Constructing a virtual application layer that corresponds to the user's various display requirements for the LCD screen; Establishing a virtual hardware layer corresponding to the truth table of the liquid crystal screen according to the truth table of the liquid crystal screen; Establishing a first mapping relationship between the virtual application layer and the virtual hardware layer; When the virtual application layer receives a display instruction, determining a true value corresponding to the display instruction in the virtual hardware layer through the first mapping relationship; Assigning the determined true value to the liquid crystal screen so that the liquid crystal screen displays content corresponding to the display instruction; Build a virtual application layer, including: Dividing the display area of ​​the LCD screen according to the display function of the LCD screen; respectively encoding each of the divided display areas; When the virtual application layer receives a display instruction, before determining the true value corresponding to the virtual hardware layer through the first mapping relationship, the method further includes: Establishing a hardware pin layer according to the hardware pin structure of the LCD screen; Establishing a second mapping relationship between the virtual hardware layer and the hardware pin layer; Assigning the determined true value to the liquid crystal screen so that the liquid crystal screen displays content corresponding to the display instruction, including: The determined true value is output to the corresponding pin through a second mapping relationship, so that the liquid crystal screen displays content corresponding to the display instruction.

2. The liquid crystal display method according to claim 1, wherein: When the liquid crystal screen is an electric energy meter display screen, the display area of ​​the liquid crystal screen is divided according to the display function of the liquid crystal screen, including: Dividing the display area of ​​the liquid crystal screen into an eight-character area, a unit area, an indication area, and a status area; The eight-character area is a digital display area or a letter display area, which is used to display the numbers or preset letters corresponding to the electric energy, voltage or current of the electric energy meter; The unit area is used to display the unit corresponding to the number displayed in the eight-character area; The indicator area is used to identify the category of the number currently displayed in the eight-character area; The status area is used to display the current working status of the electric energy meter.

3. The liquid crystal display method according to claim 2, wherein: Encoding each of the divided display areas separately includes: Obtaining a preset number of bytes for each display area corresponding to user requirements; When setting bytes for each of the display areas, the set byte number is made greater than the preset byte number.

4. The liquid crystal display method according to claim 1, wherein: The virtual application layer and the virtual hardware layer are both structures.

5. The liquid crystal display method according to claim 1, wherein: Each truth value in the truth table corresponds one-to-one to each segment code on the liquid crystal screen.

6. The liquid crystal display method according to claim 5, wherein: Each truth value in the truth table corresponds one-to-one to each segment code on the LCD screen, including: Each segment code on the liquid crystal screen is named, and each truth value in the truth table corresponds to the name of each segment code.

7. A liquid crystal display system, characterized in that: include: A first construction unit is configured to construct a virtual application layer, wherein the virtual application layer corresponds to various display requirements of the user for the liquid crystal screen; A second construction unit is configured to establish a virtual hardware layer corresponding to the truth table of the liquid crystal screen according to the truth table of the liquid crystal screen; An establishing unit, configured to establish a first mapping relationship between the virtual application layer and the virtual hardware layer; an instruction receiving unit, configured to determine, when the virtual application layer receives a display instruction, a true value corresponding to the display instruction in the virtual hardware layer by using the first mapping relationship; a display unit, configured to assign the determined true value to the liquid crystal screen, so that the liquid crystal screen displays content corresponding to the display instruction; The first constructing unit is specifically configured to divide the display area of ​​the liquid crystal screen according to the display function of the liquid crystal screen; and encode each of the divided display areas respectively; The LCD display system is further configured to establish a hardware pin layer according to the hardware pin structure of the LCD; and establish a second mapping relationship between the virtual hardware layer and the hardware pin layer; The display unit is specifically configured to output the determined true value to a corresponding pin through a second mapping relationship, so that the liquid crystal screen displays content corresponding to the display instruction.

8. A liquid crystal display device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the liquid crystal display method according to any one of claims 1 to 6 when storing a computer program.

Citation Information

Patent Citations

  • Display method of liquid crystal display screen and electric energy meter constituted by liquid crystal display screen

    CN108597465A

  • Buffer mapping method of LCD segment code type liquid crystal applied to smart meter

    CN109272954A

  • Energy controller LCD liquid crystal display control system and method

    CN112631536A