Liquid crystal display module, liquid crystal display control method and device
By filling the virtual video memory with a dot matrix image and performing a full-screen refresh, the complex coordinate calculation and flickering problems of cross-page display on LCD screens are solved, enabling convenient cross-page display.
Patent Information
- Application Number
- CN202111258511.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2041-10-27
AI Technical Summary
Existing technologies require complex coordinate calculations when displaying across multiple pages on an LCD screen, which leads to flickering in the display area.
By filling the pre-allocated virtual video memory with the dot matrix image corresponding to the content to be displayed and performing a full-screen refresh operation, the complex coordinate calculations in cross-page display operations are avoided, and the dot matrix image is directly refreshed from the virtual video memory to the display buffer of the LCD module.
It enables convenient cross-page display, avoids flickering issues in the display area, and improves display efficiency.
Smart Images

Figure CN116028003B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of display, and particularly relates to a liquid crystal display module, a liquid crystal display control method and device. BACKGROUND
[0002] The display control of the dot matrix liquid crystal screen is mainly performed by operating the memory register in the driving chip inside the dot matrix liquid crystal display screen to control the display of the liquid crystal display screen. The memory structure of the liquid crystal display module is designed by pages, that is, the minimum operation unit of the hardware is a page column. The page address mode needs to be used for reading and writing. Only the page address is set, and the row start address is set, the display content can be transmitted to the display memory as needed, and the display command is started to display on the liquid crystal.
[0003] If the content of the next page of the memory needs to be accessed, the page address and column address of the next page need to be manually set. If the display object crosses the page, the display control strategy of the page address mode will be helpless, and there will be a large amount of complex coordinate calculation work. The long calculation time will cause the display area to flicker and other problems. SUMMARY
[0004] The embodiments of the present application provide a liquid crystal display module, a liquid crystal display control method and device, which at least solve the problem of complex coordinate calculation work and display area flicker caused by the cross-page display of the liquid crystal display screen.
[0005] In the first aspect, the embodiments of the present application provide a liquid crystal display control method, comprising:
[0006] obtaining the to-be-displayed content of the liquid crystal display screen;
[0007] filling a dot matrix image corresponding to the to-be-displayed content in a pre-allocated virtual display memory;
[0008] performing a full-screen refresh operation on the liquid crystal display screen according to the dot matrix image, so as to present the to-be-displayed content on the display area of the liquid crystal display screen.
[0009] In some embodiments, before the obtaining the to-be-displayed content of the liquid crystal display screen, further comprising:
[0010] allocating the virtual display memory from the memory area of the display controller according to the size of the display area of the liquid crystal display screen;
[0011] establishing a sequential one-to-one mapping relationship between each storage unit of the virtual display memory and the pixel points of the display area.
[0012] In some embodiments, further comprising:
[0013] obtaining a position identifier of a display location of the to-be-displayed content on the liquid crystal display screen;
[0014] The filling of the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory comprises:
[0015] According to the position identifier, a target storage block is determined in the virtual display memory;
[0016] The dot matrix image corresponding to the to-be-displayed content is filled in the target storage block.
[0017] In some embodiments, the filling of the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory comprises:
[0018] According to the to-be-displayed content, a dotting operation is performed on each storage unit corresponding in the virtual display memory;
[0019] An image drawing operation is performed on the dotting operation result to form a dot matrix image corresponding to the to-be-displayed content in the virtual display memory.
[0020] In some embodiments, the dotting operation performed on each storage unit corresponding in the virtual display memory according to the to-be-displayed content comprises:
[0021] For each display object in the to-be-displayed content, a corresponding dotting interface function is determined;
[0022] For each display object in the to-be-displayed content, the dotting interface function corresponding to the display object is called to perform a dotting operation on the storage unit in the virtual display memory.
[0023] In some embodiments, the image drawing operation performed on the dotting operation result comprises:
[0024] For each display object in the to-be-displayed content, a corresponding drawing interface function is determined;
[0025] For each display object in the to-be-displayed content, an image drawing operation is performed on the dotting operation result of the display object according to the drawing interface function corresponding to the display object.
[0026] In some embodiments, the whole-screen refresh operation of the liquid crystal display screen according to the dot matrix image to present the to-be-displayed content on the display area of the liquid crystal display screen comprises:
[0027] The dot matrix image is mapped to the display buffer of the liquid crystal display screen as a whole;
[0028] Continuously read color information from the display buffer to the liquid crystal display screen to present the to-be-displayed content on the display area of the liquid crystal display screen.
[0029] In some embodiments, the to-be-displayed content is displayed on the display area of the liquid crystal display screen by using a layered control logic of an application layer, an intermediate component layer and a liquid crystal module BSP layer.
[0030] In some embodiments, the intermediate component layer interfaces the liquid crystal module BSP layer and the application layer.
[0031] The step of obtaining the to-be-displayed content is performed by the application layer.
[0032] The step of filling the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual video memory is performed by the intermediate component layer interacting with the application layer.
[0033] The step of performing the full-screen refresh operation on the liquid crystal display screen according to the dot matrix image is completed by the liquid crystal module BSP layer interacting with the intermediate component layer and the intermediate component layer interacting with the application layer, so as to present the to-be-displayed content on the display area of the liquid crystal display screen.
[0034] In a second aspect, an embodiment of the present application provides a liquid crystal display control device, comprising:
[0035] An obtaining unit is configured to obtain to-be-displayed content of a liquid crystal display screen.
[0036] A filling unit is configured to fill a dot matrix image corresponding to the to-be-displayed content in a pre-allocated virtual video memory.
[0037] A full-screen refresh unit is configured to perform a full-screen refresh operation on the liquid crystal display screen according to the dot matrix image, so as to present the to-be-displayed content on a display area of the liquid crystal display screen.
[0038] In a third aspect, an embodiment of the present application provides a liquid crystal display module, comprising: a display controller, a driver and a liquid crystal display screen, and the display controller is configured to perform the method in any one of the first aspect.
[0039] In a fourth aspect, an embodiment of the present application provides an electrical appliance comprising the liquid crystal display module in the third aspect.
[0040] The one or more technical solutions provided by the embodiments of the present application at least achieve the following technical effects:
[0041] The obtained to-be-displayed content of the liquid crystal display screen is filled in a virtual display memory to obtain a dot matrix image corresponding to the to-be-displayed content; and the liquid crystal display screen is refreshed according to the dot matrix image, so that the to-be-displayed content is displayed on the display area of the liquid crystal display screen. Since the dot matrix image corresponding to the to-be-displayed content has been pre-allocated in the virtual display memory, the dot matrix image can be directly refreshed from the virtual display memory to the display buffer of the liquid crystal module, so that the refreshing operation is continuously performed at the physical layer, and the dot matrix image corresponding to the to-be-displayed content does not need to be written into the display buffer through the way of specifying the page address and the line address, thereby avoiding a large amount of complex coordinate calculation in the cross-page display operation, and further realizing more convenient cross-page display and avoiding the flickering problem of the display area caused by the long calculation process. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort.
[0043] Figure 1 The figure is an architecture diagram of the liquid crystal display module in the embodiment of the present application.
[0044] Figure 2 The figure is a flow chart of the liquid crystal display control method in the embodiment of the present application.
[0045] Figure 3 The figure is a hierarchical control logic diagram of the liquid crystal display control method in the embodiment of the present application.
[0046] Figure 4 The figure is a function module diagram of the liquid crystal display control device in the embodiment of the present application.
[0047] Figure 5 The figure is a structure diagram of the display controller in the embodiment of the present application. Figure 1 DETAILED DESCRIPTION
[0048] In order to make the objects, technical solutions and advantages of the present application clearer, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort are within the protection scope of the present application.
[0049] In a first aspect, the present application provides a liquid crystal display module, which refers to Figure 1 As shown, the liquid crystal display module comprises a display controller, a driver for performing row and column driving, and a liquid crystal display screen, wherein the display controller is an MCU (Microcontroller Unit), comprises a memory area, a sub-area in the memory area can be allocated as a virtual display memory, the virtual display memory can interact with a display buffer in the driver, and the liquid crystal display screen is a dot matrix liquid crystal screen. The liquid crystal display control method provided by the embodiment can be executed by the display controller, so that the display controller cooperates with the driver and the liquid crystal display screen to realize the liquid crystal display control method provided by the embodiment.
[0050] In a second aspect, the embodiment of the present application provides a liquid crystal display control method, which is applied to a display controller as shown in Figure 1 Figure 2 The liquid crystal display control method provided by the embodiment comprises the following steps:
[0051] S201, obtaining to-be-displayed content of a liquid crystal display screen.
[0052] The to-be-displayed content comprises at least one display object, and each display object can be a character or a graphical mark.
[0053] S202, filling a dot matrix image corresponding to the to-be-displayed content in a pre-allocated virtual display memory.
[0054] According to the size of the display area of the liquid crystal display screen, a virtual display memory is allocated from a memory area of the display controller, and the allocated virtual display memory is consistent with the size of the display area of the liquid crystal display screen; for example, if the size of the display area is 64*64 pixel points, the allocated virtual memory comprises 64*64 storage units, each storage unit of the virtual display memory is sequentially and one-to-one mapped with a pixel point of the display area, and each storage unit is used to store color information of the mapped pixel point. Therefore, the dot matrix image of the to-be-displayed image can be accurately represented in the virtual display memory.
[0055] In some embodiments, the position of the content displayed in the display area of the liquid crystal display screen can be unique or needs to be specified in the display position in the display area. That is, if the position of the to-be-displayed content in the display area is not unique, a position identifier of the to-be-displayed content displayed to the liquid crystal display screen is obtained; a target storage block is determined in the virtual display memory according to the position identifier, and the dot matrix image corresponding to the to-be-displayed content is filled in the target storage block.
[0056] In a specific implementation, the position identifier can refer to diagonal coordinate information required by the display area of the liquid crystal display screen for displaying the to-be-displayed content, that is, a start coordinate and an end coordinate.
[0057] In some embodiments, the process of filling the dot matrix image can include a dotting operation and a drawing operation, specifically: performing the dotting operation on each storage unit in the virtual memory according to the content to be displayed; performing the image drawing operation on the dotting operation result to form the dot matrix image corresponding to the content to be displayed in the virtual memory.
[0058] Specifically, the content to be displayed can include one or more display objects, for each display object in the content to be displayed, a dotting interface function corresponding to the type of the display object is determined, and for each display object in the content to be displayed, the dotting interface function corresponding to the display object is called respectively to perform the dotting operation on the storage unit in the virtual memory to obtain the dotting operation result corresponding to each display object.
[0059] The dotting interface function includes: dot matrix character dotting interface function, dot matrix picture dotting interface function, and the like. For example, if the type of the display object is a character, the dot matrix character dotting interface function is called to perform the dotting operation on each storage unit in the virtual memory; for example, if the type of the display object is a picture, the dot matrix picture dotting interface function is called to perform the dotting operation on each storage unit in the virtual memory.
[0060] Specifically, for each display object in the content to be displayed, a drawing interface function corresponding to the object type of the display object is determined; for each display object in the content to be displayed, the image drawing operation is performed on the dotting operation result of the display object according to the drawing interface function corresponding to the display object, so that the dot matrix image obtained includes a sub-dot matrix image of each display object in the virtual memory.
[0061] The drawing interface function includes: drawing line, drawing circle, drawing triangle, drawing rectangle, and the like, and the image drawing operation is performed on the dotting operation result according to the drawing interface function determined according to the display object to form the dot matrix image corresponding to the content to be displayed in the virtual memory.
[0062] Through the above step S202, the content to be displayed on the liquid crystal screen is written into the virtual memory in advance to form the dot matrix image corresponding to the content to be displayed in the virtual memory, that is, the content to be displayed on the liquid crystal display screen has been allocated in the virtual memory before the content is displayed on the liquid crystal display screen.
[0063] After the dot matrix image corresponding to the content to be displayed is allocated in the virtual memory, step S203 is continued: performing the full-screen refresh operation on the liquid crystal display screen according to the dot matrix image to present the content to be displayed on the display area of the liquid crystal display screen.
[0064] In some embodiments, for the whole-screen refresh operation of the liquid crystal display, the dot matrix image is mapped to the corresponding display buffer in the liquid crystal display as a whole, so as to present the to-be-displayed content on the display area of the liquid crystal display.
[0065] It should be understood that the storage units in the display buffer are one-to-one mapped with the pixel points of the liquid crystal display, and the storage units in the virtual memory are also one-to-one mapped with the pixel points of the liquid crystal display, so that the dot matrix image in the virtual memory is mapped to the display buffer as a whole, so as to realize the cross-page continuous operation at the physical layer. The specific process includes: transmitting the color information of each storage unit in the virtual memory to the corresponding storage unit in the display buffer, reading the color information from each storage unit of the display buffer by the display controller, and driving the corresponding pixel points of the liquid crystal display to present the color information by the driver, so as to display the to-be-displayed content.
[0066] Since the dot matrix image corresponding to the to-be-displayed content has been allocated in the virtual memory, the operation of refreshing the liquid crystal display as a whole can be one-to-one mapped and continuously operated at the physical layer, without refreshing the display dot matrix image page by page through the page address mode, and without writing the dot matrix image corresponding to the to-be-displayed content into the display buffer through the mode of specifying the page address and the line address. Therefore, the complex coordinate calculation in the cross-page display operation is avoided, and the cross-page display is more convenient, and the flicker problem of the display area caused by the long calculation process is avoided.
[0067] More specifically, the display controller can execute steps S201-S203 based on the hierarchical control logic of the application layer, the intermediate component layer and the liquid crystal module BSP (Board Support Package, board-level support package) layer, to display the obtained to-be-displayed content on the liquid crystal display.
[0068] Specifically, the display control logic of the liquid crystal display module is divided into an application layer, an intermediate component layer and a liquid crystal module BSP layer. The intermediate component layer interfaces the liquid crystal module BSP layer and the application layer. Specifically, the application layer implements specific project applications and program top-layer development, the intermediate component layer is a library of general methods and standards for use by the application layer, and the intermediate component layer interfaces the liquid crystal module BSP layer through standard read-write interfaces. The liquid crystal module BSP layer is a physical layer, and only needs to focus on the driving mode and the bottom-layer hardware.
[0069] Specifically, step S201 is performed by the application layer to obtain the to-be-displayed content; then, the intermediate component layer interacts with the application layer to perform step S202 to fill the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory; then, the liquid crystal module BSP layer interacts with the intermediate component layer, and the intermediate component layer interacts with the application layer to perform step S203 to perform a full-screen refresh operation on the liquid crystal display according to the dot matrix image, so that the to-be-displayed content is presented on the display area of the liquid crystal display.
[0070] The flow of displaying the layered display control logic is described below with reference to Figure 3 to understand the embodiments of the present application:
[0071] First, the intermediate component layer performs B1: allocating virtual display memory from the memory area of the display controller;
[0072] Then, the application layer performs A1: determining the to-be-displayed content to be displayed to the liquid crystal display and the diagonal coordinate information corresponding to the to-be-displayed content;
[0073] Then, the application layer performs A2: filling the dot matrix image corresponding to the to-be-displayed content in the virtual display memory.
[0074] Specifically, the application layer fills the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory by calling the intermediate component layer:
[0075] The application layer performs B2: calling the corresponding dot interface function for each display object and performing dot operation for each display object;
[0076] The application layer performs B3: calling the corresponding drawing interface function for each display object and performing drawing operation on the dot operation result of each display object to form the dot matrix image of each display object.
[0077] Then, the application layer performs A3: calling the liquid crystal refresh interface of the intermediate component layer, and the intermediate component layer calls the full-screen read-write interface of the liquid crystal module BSP layer to perform a full-screen refresh operation on the liquid crystal display according to the dot matrix image, so that the to-be-displayed content is presented on the display area of the liquid crystal display.
[0078] In a third aspect, based on the same inventive concept, the embodiments of the present application provide a liquid crystal display control device, which refers to Figure 4 and includes:
[0079] The obtaining unit 401 is configured to obtain the to-be-displayed content of the liquid crystal display;
[0080] The filling unit 402 is configured to fill the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory;
[0081] The full-screen refreshing unit 403 performs full-screen refreshing operation on the liquid crystal display screen according to the dot matrix image, so as to present the to-be-displayed content on the display area of the liquid crystal display screen.
[0082] In some embodiments, the method further comprises:
[0083] allocating, by the allocating unit, the virtual display memory from the memory area of the display controller according to the size of the display area of the liquid crystal display screen;
[0084] mapping, by the mapping unit, each storage unit of the virtual display memory and the pixel point of the display area to establish a sequential one-to-one mapping relationship.
[0085] In some embodiments, the method further comprises: determining, by the position determining unit, a position identifier of the to-be-displayed content displayed on the liquid crystal display screen; and filling, by the filling unit 402, the dot matrix image corresponding to the to-be-displayed content in the target storage block according to the position identifier.
[0086] In some embodiments, the filling unit 402 comprises:
[0087] dotting, by the dotting sub-unit, each storage unit of the virtual display memory according to the to-be-displayed content;
[0088] drawing, by the drawing sub-unit, the dotting operation result to form the dot matrix image corresponding to the to-be-displayed content in the virtual display memory.
[0089] In some embodiments, the dotting sub-unit is specifically configured to:
[0090] determine, for each display object in the to-be-displayed content, a corresponding dotting interface function;
[0091] for each display object in the to-be-displayed content, call the dotting interface function corresponding to the display object to perform dotting operation on the storage unit of the virtual display memory.
[0092] In some embodiments, the drawing sub-unit is specifically configured to:
[0093] determine, for each display object in the to-be-displayed content, a corresponding drawing interface function;
[0094] for each display object in the to-be-displayed content, perform image drawing operation on the dotting operation result of the display object according to the drawing interface function corresponding to the display object.
[0095] In some embodiments, the full-screen refreshing unit 403 is specifically configured to:
[0096] mapping the dot matrix image to the display buffer of the liquid crystal display screen as a whole;
[0097] Continuously read the color information from the display buffer to the liquid crystal display to present the to-be-displayed content on the display area of the liquid crystal display.
[0098] In some embodiments, the to-be-displayed content is displayed on the display area of the liquid crystal display by the layered control logic of the application layer, the intermediate component layer and the liquid crystal module BSP layer.
[0099] In some embodiments, the intermediate component layer interfaces the liquid crystal module BSP layer and the application layer.
[0100] The obtaining unit 401 is configured to execute the step of obtaining the to-be-displayed content by the application layer.
[0101] The filling unit 402 is configured to execute the step of filling the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual video memory by the intermediate component layer interacting with the application layer.
[0102] The full-screen refreshing unit 403 is configured to complete the step of performing the full-screen refreshing operation on the liquid crystal display according to the dot matrix image by the liquid crystal module BSP layer interacting with the intermediate component layer and the intermediate component layer interacting with the application layer, so as to present the to-be-displayed content on the display area of the liquid crystal display.
[0103] In a fourth aspect, based on the same inventive concept, the present application provides an electric appliance, which comprises the liquid crystal display module of the first aspect, and the liquid crystal display module comprises a display controller, a driver for row and column driving, and a liquid crystal display screen. Figure 5 As shown, the display controller comprises one or more processors 502 and one or more memories 501, and the one or more memories 501 store at least one program code, which is loaded and executed by the one or more processors 502 to implement the method of any of the embodiments of the first aspect.
[0104] In the method, the to-be-displayed content is obtained by the application layer. Figure 5In particular embodiments, bus architecture (represented generally by the bus 500) can include any number of interconnecting buses and bridges, the bus 500 linking together various circuits such as one or more processors represented by the processor 502, and the memory represented by the memory 501. The bus 500 can also link together various other circuits which can include, among other things, peripheral devices, voltage stabilizers and power management circuits, all of which are well known in the art, and therefore, not further described herein. The bus interface 505 provides an interface between the bus 500 and the receiver 503 and the transmitter 504. The receiver 503 and the transmitter 504 can be the same component, i.e., a transceiver, providing a unit for communicating with various other apparatuses over a transmission medium. The processor 502 is responsible for managing the bus 500 and general processing, while the memory 501 can be used for storing data used by the processor 502 in executing operational processes.
[0105] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored on or transferred over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the disclosure and appended claims. For example, due to the nature of software, functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or combinations of any of these. Features implementing functions can also be physically located at various positions, including being distributed such that portions of functions are implemented at different physical locations. Also, as technology evolves, the "functionalities" described herein can be implemented by various combinations of digital and / or analog hardware, and / or software.
[0106] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other manners. The described device embodiments are merely illustrative, and the division of units can be different from the above. For example, the units can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, and can be in electrical, mechanical or other forms.
[0107] The units described as separate components can or can not be physically separate, and the components of the control device can or can not be physical units, i.e., can be located in one place or distributed on multiple units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments.
[0108] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in other words, the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0109] The above only describes the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
Claims
1. A liquid crystal display control method, characterized by, The liquid crystal display module comprises a display controller, a driver for performing row and column driving, and a liquid crystal display screen. The display controller comprises a memory area, a sub-area of which is allocated as virtual display memory. The virtual display memory interacts with a display buffer of the driver. The liquid crystal display screen is a dot matrix liquid crystal screen. Storage units in the display buffer are one-to-one mapped with pixel points of the liquid crystal display screen. Storage units in the virtual display memory are one-to-one mapped with pixel points of the liquid crystal display screen. The method is applied to the display controller. The display controller performs the method based on layered control logic of an application layer, an intermediate component layer, and a liquid crystal module BSP layer. The intermediate component layer interfaces the liquid crystal module BSP layer and the application layer. The method comprises: The display controller obtains to-be-displayed content of the liquid crystal display screen through the application layer. The display controller fills a dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory through the intermediate component layer. The display controller calls a liquid crystal refresh interface of the intermediate component layer through the application layer. The intermediate component layer calls a full-screen read-write interface of the liquid crystal module BSP layer. The liquid crystal display screen is refreshed according to the dot matrix image, so that the to-be-displayed content is presented on a display area of the liquid crystal display screen. The method comprises: mapping the dot matrix image to the display buffer as a whole; and continuously reading color information from the display buffer to the liquid crystal display screen, so that the to-be-displayed content is presented on the display area of the liquid crystal display screen.
2. The liquid crystal display control method according to claim 1, wherein Before the to-be-displayed content of the liquid crystal display screen is obtained, the method further comprises: allocating the virtual display memory from a memory area of the display controller according to a size of the display area of the liquid crystal display screen; and establishing a sequential one-to-one mapping relationship between each storage unit of the virtual display memory and a pixel point of the display area.
3. The liquid crystal display control method according to claim 1, wherein The method further comprises: obtaining a position identifier of the to-be-displayed content displayed on the liquid crystal display screen; the method of filling the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory comprises: determining a target storage block in the virtual display memory according to the position identifier; and filling the dot matrix image corresponding to the to-be-displayed content in the target storage block.
4. The liquid crystal display control method according to claim 1, wherein the method of filling the dot matrix image corresponding to the to-be-displayed content in the pre-allocated virtual display memory comprises: performing dotting operation on each storage unit of the virtual display memory according to the to-be-displayed content; and performing image drawing operation on the dotting operation result, so as to form the dot matrix image corresponding to the to-be-displayed content in the virtual display memory.
5. The liquid crystal display control method according to claim 4, wherein the method of performing dotting operation on each storage unit of the virtual display memory according to the to-be-displayed content comprises: determining a dotting interface function corresponding to each display object in the to-be-displayed content; and calling the dotting interface function corresponding to each display object in the to-be-displayed content to perform dotting operation on the storage unit of the virtual display memory.
6. The liquid crystal display control method according to claim 5, wherein the method of performing image drawing operation on the dotting operation result comprises: For each display object in the to-be-displayed content, a corresponding drawing interface function is determined; For each display object in the to-be-displayed content, an image drawing operation is performed on the dotting operation result of the display object according to the drawing interface function corresponding to the display object.
7. A liquid crystal display control device, characterized by comprising: The liquid crystal display module comprises a display controller, a driver for performing row and column driving, and a liquid crystal display screen. The display controller comprises a memory area, a sub-area of which is allocated as a virtual display memory. The virtual display memory interacts with a display buffer of the driver. The liquid crystal display screen is a dot-matrix liquid crystal screen. Storage units in the display buffer are one-to-one mapped with pixel points of the liquid crystal display screen. Storage units in the virtual display memory are one-to-one mapped with pixel points of the liquid crystal display screen. The liquid crystal display control device is applied to the display controller. The display controller performs liquid crystal display control based on a layered control logic of an application layer, an intermediate component layer, and a liquid crystal module BSP layer. The intermediate component layer interfaces the liquid crystal module BSP layer and the application layer. The liquid crystal display control device comprises: An acquisition unit configured to acquire to-be-displayed content of the liquid crystal display screen through the application layer; A filling unit configured to fill a dot-matrix image corresponding to the to-be-displayed content in a pre-allocated virtual display memory through the intermediate component layer; A full-screen refreshing unit configured to call a liquid crystal refreshing interface of the intermediate component layer through the application layer, call a full-screen read-write interface of the liquid crystal module BSP layer through the intermediate component layer, and perform a full-screen refreshing operation on the liquid crystal display screen according to the dot-matrix image, so as to present the to-be-displayed content on a display area of the liquid crystal display screen, including: mapping the dot-matrix image to the display buffer as a whole; and continuously reading color information from the display buffer to the liquid crystal display screen, so as to present the to-be-displayed content on the display area of the liquid crystal display screen.
8. A liquid crystal display module, characterized by comprising: The liquid crystal display module comprises a display controller, a driver for performing row and column driving, and a liquid crystal display screen. The display controller comprises a memory area, a sub-area of which is allocated as a virtual display memory. The virtual display memory interacts with a display buffer of the driver. The liquid crystal display screen is a dot-matrix liquid crystal screen. Storage units in the display buffer are one-to-one mapped with pixel points of the liquid crystal display screen. Storage units in the virtual display memory are one-to-one mapped with pixel points of the liquid crystal display screen. The display controller is configured to perform the method of any one of claims 1-6.
9. An electric appliance comprising the liquid crystal display module of claim 8.
Citation Information
Patent Citations
Display driving method and device of lattice type display in electronic atomizing device
CN106157866A