CN109597595B - Control method and device of liquid crystal display screen, computer equipment and storage medium - Google Patents

Control method and device of liquid crystal display screen, computer equipment and storage medium Download PDF

Info

Publication number
CN109597595B
CN109597595B CN201811271496.0A CN201811271496A CN109597595B CN 109597595 B CN109597595 B CN 109597595B CN 201811271496 A CN201811271496 A CN 201811271496A CN 109597595 B CN109597595 B CN 109597595B
Authority
CN
China
Prior art keywords
liquid crystal
crystal display
data
shared memory
display data
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.)
Expired - Fee Related
Application number
CN201811271496.0A
Other languages
Chinese (zh)
Other versions
CN109597595A (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.)
Guangzhou Hi Target Surveying Instrument Co ltd
Original Assignee
Guangzhou Hi Target Surveying Instrument 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 Guangzhou Hi Target Surveying Instrument Co ltd filed Critical Guangzhou Hi Target Surveying Instrument Co ltd
Priority to CN201811271496.0A priority Critical patent/CN109597595B/en
Publication of CN109597595A publication Critical patent/CN109597595A/en
Application granted granted Critical
Publication of CN109597595B publication Critical patent/CN109597595B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a control method and device of a liquid crystal display screen, a computer device and a storage medium. The method comprises the following steps: acquiring liquid crystal display data; calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map; calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping; and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data. The method can improve the refreshing rate of the liquid crystal display screen; the phenomena of screen flashing and screen clamping when the liquid crystal display screen is operated by the embedded system are reduced.

Description

Control method and device of liquid crystal display screen, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a liquid crystal display, a computer device, and a storage medium.
Background
With the rapid development of embedded technology, embedded devices (such as mobile phones, ipads, notebook computers, etc.) are widely used in real life, and people increasingly have strong requirements for smoothness and multiple functions of embedded device operation. The lcd module is now an essential module in the embedded system. The system is mainly used for interactive operation with users, real-time communication between the system and the liquid crystal display screen must be ensured in order to ensure smoothness of system operation and realization of multiple functions. The second method adopts a standard Framebuffer frame, shields bottom hardware on the frame, and performs liquid crystal operation by adopting a uniform file operation mode.
For the above two methods for operating the liquid crystal display, the method for directly operating the bus of the liquid crystal display omits the excessive intermediate steps, and can ensure the real-time performance of communication with the liquid crystal display, but because the bus modes used by the liquid crystal displays produced by different manufacturers are not necessarily the same, when the liquid crystal display adopting a new bus is encountered, the bus needs to be redesigned according to the bus requirement of the liquid crystal display. Therefore, the development and later maintenance of the product are not facilitated, the development difficulty of the product is high, and the later maintenance cost is high.
In addition, a standard Framebuffer frame can be adopted to shield bottom hardware, liquid crystal operation is carried out in a unified file operation mode, the mode can adapt to different liquid crystal display screens of different manufacturers, product development modes are unified, and later maintenance cost is low.
Disclosure of Invention
In view of the above, it is desirable to provide a method and an apparatus for controlling a liquid crystal display, a computer device, and a storage medium, which can prevent a phenomenon of screen flickers and screen jamming from occurring in the liquid crystal display when the CPU occupancy rate is high.
A method of controlling a liquid crystal display, the method comprising:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
In one embodiment, the liquid crystal display data includes color value data; the acquiring of the liquid crystal display data comprises the following steps:
and acquiring the color value data of each pixel point output by the application program.
In one embodiment, the invoking a specific application programming interface API to transfer the liquid crystal display data to a shared memory map includes:
calling a specific API, and converting the color value data of each pixel point into data to be displayed;
and transmitting the data to be displayed to a shared memory map.
In one embodiment, the invoking a preset process to monitor whether the liquid crystal display data is written into a shared memory map includes:
and calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
In one embodiment, the invoking a preset process to monitor whether the liquid crystal display data is written into a shared memory map includes:
and calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
In one embodiment, the controlling the display image of the lcd panel according to the lcd data when the lcd data is written into the shared memory map includes:
and when the liquid crystal display data are written into the shared memory mapping, calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen.
A control apparatus for a liquid crystal display, the apparatus comprising:
the acquisition module is used for acquiring liquid crystal display data;
the transmission module is used for calling a specific Application Programming Interface (API) and transmitting the liquid crystal display data to a shared memory map;
the monitoring module is used for calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and the control module is used for controlling the display image of the liquid crystal display screen according to the liquid crystal display data when the liquid crystal display data is written into the shared memory map.
In one embodiment, the liquid crystal display data includes color value data; the acquisition module includes:
and the color value data acquisition submodule is used for acquiring the color value data of each pixel point output by the application program.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
The control method, the control device, the computer equipment and the storage medium of the liquid crystal display screen acquire liquid crystal display data; calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map; calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping; when the liquid crystal display data are written into the shared memory mapping, controlling the display image of the liquid crystal display screen according to the liquid crystal display data; compared with the traditional method that the operation on the liquid crystal display screen is triggered by adopting a triggering mode and the liquid crystal display screen is required to be refreshed to initiate a refresh request, the method has the advantages that the refresh rate of the liquid crystal display screen is increased; the phenomena of screen flashing and screen clamping when the liquid crystal display screen is operated by the embedded system are reduced.
Drawings
Fig. 1 is a flowchart illustrating a method for controlling a liquid crystal display panel according to an embodiment;
FIG. 2 is a schematic block diagram of a control system according to an embodiment;
fig. 3 is a control flowchart of a liquid crystal display panel of an embodiment;
fig. 4 is a block diagram showing a configuration of a control device of a liquid crystal display panel according to an embodiment;
FIG. 5 is an internal block diagram of a computer device of an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. 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.
In one embodiment, as shown in fig. 1, there is provided a method of controlling a liquid crystal display panel, including the steps of:
step S201, acquiring liquid crystal display data;
in this embodiment, the method may be applied to embedded devices, which may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices; the operating system run by the embedded device may include a linux system, an android system, or a windows system, which is not limited in this embodiment.
In a hardware architecture, the embedded device may include a processor, a storage (including volatile and non-volatile memory), a display (including a liquid crystal display); in addition, an audio collector, an audio player, etc. may also be included, which is not limited in this embodiment.
On the other hand, the embedded device may run a plurality of applications, and the applications may include a plurality of applications of different categories, for example, the embedded device may be installed with applications of categories such as games, system security, social communication, audio and video viewing, photography and videography, news reading, convenient life, traffic navigation, travel hotels, shopping offers, sports health, education and learning, theme wallpaper, financial and financial resources, office and business, and the like.
Specifically applied to this embodiment, the embedded device may obtain liquid crystal display data generated when the application program runs; the liquid crystal display data may include RGB (Red, Green, Blue) color value data, and may be a color value controlling each pixel of the liquid crystal display, thereby controlling a display image thereon.
Specifically, if a current User Interface (ui) of the application needs to be switched to another ui, the embedded device may obtain liquid crystal display data corresponding to the another ui, that is, obtain color value data corresponding to the another ui.
Step S202, calling a specific Application Programming Interface (API) and transmitting the liquid crystal display data to a shared memory map;
further applied to this embodiment, the operating system run by the embedded device may include multiple APIs (Application Programming interfaces), where the APIs are abstract and define an Interface, and do not relate to specific operations of the Application program in the actual implementation process; the aforementioned APIs may include specific APIs that may be used to control the display image of the liquid crystal display.
Specifically, the embedded device may call the specific API to transmit the liquid crystal display data to a shared memory map; shared memory mapping, also known as memory mapped files, is the mapping of a file to a block of memory; the embedded device may first convert the liquid crystal display data and transmit the converted data to the shared memory map.
Step S203, calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
further applied to the embodiment, the embedded device may be created with one or more preset processes for monitoring whether the liquid crystal display data is written into the shared memory map, where the preset processes may include at least one kernel thread.
It should be noted that the kernel thread in the preset process may not be suspended, stopped, or eliminated by the scheduling algorithm, and continuously monitors the shared memory mapping; and judging whether the liquid crystal display data is written into the shared memory mapping.
Under the condition that the CPU occupancy rate of the embedded equipment is high, because the kernel thread is not stopped or scheduled by a scheduling algorithm, whether liquid crystal display data are written into the shared memory mapping is monitored all the time, if so, the display image of the liquid crystal display screen is controlled according to the liquid crystal display data; even under the condition of high CPU occupancy rate, the liquid crystal display data can be displayed in time, namely, a hardware execution component corresponding to the liquid crystal display screen can respond to an operation request in time, and the phenomena of screen flashing and screen clamping are reduced.
And step S204, when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
In practical application to this embodiment, when the liquid crystal display data is written into the shared memory map, the display image of the liquid crystal display screen is controlled according to the liquid crystal display data; namely, when the kernel thread monitors that the liquid crystal display data is written into the shared memory mapping, the embedded equipment controls the display image of the liquid crystal display screen according to the liquid crystal display data.
According to the control method of the liquid crystal display screen provided by the embodiment, the liquid crystal display data is acquired; calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map; calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping; when the liquid crystal display data are written into the shared memory mapping, controlling the display image of the liquid crystal display screen according to the liquid crystal display data; compared with the traditional method that the operation on the liquid crystal display screen is triggered by adopting a triggering mode and the liquid crystal display screen is required to be refreshed to initiate a refresh request, the method has the advantages that the refresh rate of the liquid crystal display screen is increased; the phenomena of screen flashing and screen clamping when the liquid crystal display screen is operated by the embedded system are reduced.
In another embodiment, the step S201 includes: and acquiring the color value data of each pixel point output by the application program.
In particular, in this embodiment, the liquid crystal display data may include color value data of each pixel point; namely, the embedded device can acquire the color value of each pixel point output by the application program; the color value may comprise a color value of an RGB color model; in a specific application of this embodiment, when a video playing application program of the embedded device is running and needs to switch from one frame of image to another frame of image, the embedded device may acquire color value data of the image output by the application program.
In another embodiment, the step S202 includes: calling a specific API, and converting the color value data of each pixel point into data to be displayed; and transmitting the data to be displayed to a shared memory map.
Further applied to this embodiment, after the embedded device obtains the color value of each pixel output by the application program, the specific API may be called to convert the color value data of each pixel into data to be displayed; and transmitting the data to be displayed to a shared memory map.
It should be noted that the data to be displayed may be data in binary format; the embedded device can call the specific API to convert the data to be displayed into the data in the binary format, and then transmit the data to be displayed in the binary format to the shared memory mapping; further, the shared memory map is allocated from system memory, independent of hardware.
In another embodiment, the step S203 includes: and calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
Specifically, in this embodiment, the embedded device may invoke a preset process to monitor whether the data to be displayed is written into the shared memory map.
In another embodiment, the step S203 includes: and calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
In this embodiment, the predetermined process may include at least one kernel thread, and the kernel thread may not be suspended, stopped, or eliminated by the scheduling algorithm, that is, the kernel thread is not scheduled by the process scheduling algorithm, and continuously listens to the shared memory map.
In another embodiment, the step S204 includes: and when the liquid crystal display data are written into the shared memory mapping, calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen.
And calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen when the kernel thread of the embedded equipment monitors that the liquid crystal display data are written into the shared memory mapping.
It should be noted that the liquid crystal display screen may be connected to a liquid crystal display controller, and transmit the data to be displayed to the liquid crystal display controller, and the liquid crystal display controller displays the liquid crystal display data on the liquid crystal display screen.
In order to make the embodiment better understood by those skilled in the art, the following description is made by way of a specific example:
referring to fig. 2, a schematic structural diagram of a control system is provided, as shown in fig. 2, 1 indicates an application program for receiving a user operation, 2 indicates a function corresponding to an application programming interface provided by an embedded system, 3 indicates a device entity, 4 indicates a shared memory map created by the embedded system, 5 indicates a kernel thread of a preset process of the shared memory map created by the embedded system, and 6 indicates liquid crystal hardware, such as a liquid crystal display controller.
Referring to fig. 3, a control flow chart of the liquid crystal display is provided, in which an application program 1 outputs liquid crystal display data, the liquid crystal display data is converted through a provided application program programming interface 2 and transmitted to an equipment entity 3, the equipment entity 3 completes registration, initialization, and parameter setting of the equipment entity, and updates the converted liquid crystal display data to a shared memory map 4, the shared memory map 4 caches the converted liquid crystal display data, when a kernel thread 5 monitors whether the liquid crystal display data in the shared memory map 4 is updated, if so, the liquid crystal display data is immediately transmitted to a liquid crystal hardware 6, such as a liquid crystal display controller, and the liquid crystal display controller controls a display image of the liquid crystal display according to the liquid crystal display data.
It should be understood that although the steps in the flowcharts of fig. 1 and 3 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 3 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a control apparatus of a liquid crystal display including: an obtaining module 401, a transmission module 402, a monitoring module 403, and a control module 404, wherein:
an obtaining module 401, configured to obtain liquid crystal display data;
a transmission module 402, configured to invoke a specific application programming interface API, and transmit the liquid crystal display data to a shared memory map;
a monitoring module 403, configured to invoke a preset process to monitor whether the liquid crystal display data is written into the shared memory map;
and a control module 404, configured to control a display image of the liquid crystal display screen according to the liquid crystal display data when the liquid crystal display data is written into the shared memory map.
In another embodiment, the liquid crystal display data includes color value data; the acquisition module includes:
and the color value data acquisition submodule is used for acquiring the color value data of each pixel point output by the application program.
In another embodiment, the transmission module includes:
the conversion submodule is used for calling a specific API (application program interface) and converting the color value data of each pixel point into data to be displayed;
and the transmission submodule is used for transmitting the data to be displayed to the shared memory mapping.
In another embodiment, the listening module comprises:
and the first monitoring submodule is used for calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
In another embodiment, the listening module comprises:
and the second monitoring submodule is used for calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
In another embodiment, the control module includes:
and the display submodule is used for calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen when the liquid crystal display data are written into the shared memory mapping.
For specific limitations of the control device for the liquid crystal display screen, reference may be made to the above limitations of the control method for the liquid crystal display screen, and details thereof are not repeated here. All or part of each module in the control device of the liquid crystal display screen can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The control device of the liquid crystal display screen can be used for executing the control method of the liquid crystal display screen provided by any embodiment, and has corresponding functions and beneficial effects.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling a liquid crystal display. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
In one embodiment, the liquid crystal display data includes color value data; the processor, when executing the computer program, further performs the steps of: and acquiring the color value data of each pixel point output by the application program.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
calling a specific API, and converting the color value data of each pixel point into data to be displayed;
and transmitting the data to be displayed to a shared memory map.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the liquid crystal display data are written into the shared memory mapping, calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
In one embodiment, the liquid crystal display data includes color value data; the computer program when executed by the processor further realizes the steps of:
and acquiring the color value data of each pixel point output by the application program.
In one embodiment, the computer program when executed by the processor further performs the steps of:
calling a specific API, and converting the color value data of each pixel point into data to be displayed;
and transmitting the data to be displayed to a shared memory map.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the liquid crystal display data are written into the shared memory mapping, calling the liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for controlling a liquid crystal display, comprising:
acquiring liquid crystal display data;
calling a specific Application Programming Interface (API) to transmit the liquid crystal display data to a shared memory map;
calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and when the liquid crystal display data is written into the shared memory map, controlling the display image of the liquid crystal display screen according to the liquid crystal display data.
2. The method of claim 1, wherein the liquid crystal display data comprises color value data; the acquiring liquid crystal display data comprises the following steps:
and acquiring the color value data of each pixel point output by the application program.
3. The method of claim 2, wherein said invoking a specific Application Programming Interface (API) to transfer said liquid crystal display data to a shared memory map comprises:
calling a specific API, and converting the color value data of each pixel point into data to be displayed;
and transmitting the data to be displayed to a shared memory map.
4. The method of claim 3, wherein invoking the pre-set process to monitor whether the LCD data is written to a shared memory map comprises:
and calling a preset process to monitor whether the data to be displayed is written into the shared memory mapping.
5. The method according to claim 1 or 3, wherein the invoking of the default process to monitor whether the liquid crystal display data is written to a shared memory map comprises:
and calling a kernel thread in a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping.
6. The method of claim 5, wherein controlling the display image of the LCD panel according to the LCD data when the LCD data is written to the shared memory map comprises:
and when the liquid crystal display data is written into the shared memory mapping, calling a liquid crystal display controller to display the liquid crystal display data on the liquid crystal display screen.
7. A control device for a liquid crystal display, comprising:
the acquisition module is used for acquiring liquid crystal display data;
the transmission module is used for calling a specific Application Programming Interface (API) and transmitting the liquid crystal display data to a shared memory map;
the monitoring module is used for calling a preset process to monitor whether the liquid crystal display data is written into the shared memory mapping;
and the control module is used for controlling the display image of the liquid crystal display screen according to the liquid crystal display data when the liquid crystal display data is written into the shared memory map.
8. The apparatus of claim 7, wherein the obtaining module comprises:
and the color value data acquisition submodule is used for acquiring the color value data of each pixel point output by the application program.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of controlling a liquid crystal display screen according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps of the method for controlling a liquid crystal display screen according to any one of claims 1 to 6.
CN201811271496.0A 2018-10-29 2018-10-29 Control method and device of liquid crystal display screen, computer equipment and storage medium Expired - Fee Related CN109597595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811271496.0A CN109597595B (en) 2018-10-29 2018-10-29 Control method and device of liquid crystal display screen, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811271496.0A CN109597595B (en) 2018-10-29 2018-10-29 Control method and device of liquid crystal display screen, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109597595A CN109597595A (en) 2019-04-09
CN109597595B true CN109597595B (en) 2022-03-22

Family

ID=65958297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811271496.0A Expired - Fee Related CN109597595B (en) 2018-10-29 2018-10-29 Control method and device of liquid crystal display screen, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109597595B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367565B (en) * 2020-10-23 2023-04-07 深圳创维-Rgb电子有限公司 Television image-text display method, device, equipment and storage medium
CN112433805B (en) * 2020-12-17 2023-05-23 潍柴动力股份有限公司 Simulation method and system of liquid crystal display screen
CN114020659A (en) * 2021-10-29 2022-02-08 浙江万胜智能科技股份有限公司 Energy controller system based on application layer driving liquid crystal display

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102465A (en) * 2014-07-09 2014-10-15 宁波摩视光电科技有限公司 Fast image displaying method based on high-precision large format scanner system
CN104679486A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method, device and system for processing graph data
CN105653610A (en) * 2015-12-25 2016-06-08 数源科技股份有限公司 Method for rapidly displaying large-volume data information
CN106528431A (en) * 2016-12-06 2017-03-22 中国航空工业集团公司洛阳电光设备研究所 Test data display control method for store management system test device
CN108008872A (en) * 2017-10-26 2018-05-08 广州市中海达测绘仪器有限公司 RTK measuring devices and its exchange method, electronic equipment and storage medium
CN108228130A (en) * 2018-01-11 2018-06-29 北京安博通科技股份有限公司 The liquid crystal display display methods and device of a kind of embedded device
CN207623536U (en) * 2017-10-26 2018-07-17 广州市中海达测绘仪器有限公司 A kind of RTK measuring devices with the full-color display function of touch-control

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040183918A1 (en) * 2003-03-20 2004-09-23 Eastman Kodak Company Producing enhanced photographic products from images captured at known picture sites
US20110119454A1 (en) * 2009-11-17 2011-05-19 Hsiang-Tsung Kung Display system for simultaneous displaying of windows generated by multiple window systems belonging to the same computer platform
JP5389757B2 (en) * 2010-09-15 2014-01-15 株式会社ソニー・コンピュータエンタテインメント Image processing apparatus, content creation apparatus, image processing method, and data structure of content file

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679486A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method, device and system for processing graph data
CN104102465A (en) * 2014-07-09 2014-10-15 宁波摩视光电科技有限公司 Fast image displaying method based on high-precision large format scanner system
CN105653610A (en) * 2015-12-25 2016-06-08 数源科技股份有限公司 Method for rapidly displaying large-volume data information
CN106528431A (en) * 2016-12-06 2017-03-22 中国航空工业集团公司洛阳电光设备研究所 Test data display control method for store management system test device
CN108008872A (en) * 2017-10-26 2018-05-08 广州市中海达测绘仪器有限公司 RTK measuring devices and its exchange method, electronic equipment and storage medium
CN207623536U (en) * 2017-10-26 2018-07-17 广州市中海达测绘仪器有限公司 A kind of RTK measuring devices with the full-color display function of touch-control
CN108228130A (en) * 2018-01-11 2018-06-29 北京安博通科技股份有限公司 The liquid crystal display display methods and device of a kind of embedded device

Also Published As

Publication number Publication date
CN109597595A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
US10621953B2 (en) Method for controlling display refresh rate and electronic device
KR102248841B1 (en) Display apparatus, electronic device comprising thereof and operating method of thereof
CN106941563B (en) control method and device for refresh rate of mobile terminal and mobile terminal
US10902772B2 (en) Display driving method, display driver integrated circuit, and electronic device comprising the same
JP5770312B2 (en) Reduced still image detection and resource usage on electronic devices
CN109478392B (en) Display driving method, display driver integrated circuit supporting the same, and electronic device including the display driver integrated circuit
US9600223B2 (en) Method for sharing screen and electronic device thereof
CN108702480B (en) Electronic device and method for driving display thereof
US10430918B2 (en) Display driver, display system, and method of operating the display driver
KR102122476B1 (en) Apparatas and method for controlling a rotation of screen in an electronic device
CN105938699B (en) Electronic device and method for reducing aging
CN106710539B (en) Liquid crystal display method and device
US20200007914A1 (en) Method and Device for Controlling Frame Rate of Electronic Device, Storage Medium, and Electronic Device
KR102143618B1 (en) Method for controlling a frame rate and an electronic device
US10694139B2 (en) Method for driving display including curved display area, display driving circuit supporting the same, and electronic device including the same
CN109597595B (en) Control method and device of liquid crystal display screen, computer equipment and storage medium
US10235945B2 (en) Apparatus and method for controlling display in electronic device having processors
CN113766324B (en) Video playing control method and device, computer equipment and storage medium
CN105550002B (en) Interface display method based on system switching and intelligent terminal
US20160155423A1 (en) Method of displaying low frequency screen and an electronic device for performing same
JP2017523447A (en) Power optimization using dynamic frame rate support
WO2022007854A1 (en) Screen recording method and screen recording system
KR102147912B1 (en) Processor chip and control methods thereof
CN109062525B (en) Data processing method and device of tiled display system and computer equipment
US10002589B2 (en) Retaining user selected screen area on user equipment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220322

CF01 Termination of patent right due to non-payment of annual fee