Disclosure of Invention
The embodiment of the application provides a mura compensation method and device, a liquid crystal display panel and a storage medium, which can improve the mura compensation effect and improve the display quality.
In a first aspect, an embodiment of the present application provides a mura compensation method applied to a liquid crystal display panel, where the method includes the following steps:
judging whether the actual format of the Demura data in the first memory is consistent with the target format;
if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data;
storing the new Demura data to the first memory;
and carrying out mura compensation on the liquid crystal display panel according to the new Demura data in the first memory.
In the mura compensation method according to the embodiment of the present application, the step of determining whether the actual format of the Demura data in the first memory conforms to the target format includes:
checking whether a format identification state of an identification register in the first memory is '1';
if the format identification state is not '1', judging whether the identification state of a format conversion register in the first memory is '1';
if the identification state of the format conversion register is not 1, judging that the actual format of the Demura data is consistent with the target format;
and if the identification state of the format conversion register is '1', judging that the actual format of the Demura data does not accord with the target format.
In the mura compensation method according to the embodiment of the present application, the step of determining whether an actual format of the Demura data in the first memory is a target format further includes:
and if the format identification state is '1', judging that the actual format of the Demura data is the target format.
In the mura compensation method according to the embodiment of the present application, if the actual format does not match the target format, the step of calling a mapping relationship to convert the Demura data into the target format to obtain new Demura data includes:
if the actual format does not accord with the target format, inquiring the format identifier of the actual format;
and calling a corresponding mapping relation according to the format identifier to convert the Demura data into the target format so as to obtain new Demura data.
In the mura compensation method according to an embodiment of the present application, the step of storing the new Demura data in the first memory includes:
writing the new Demura data to the first memory and storing into DDR space within the first memory.
In the mura compensation method according to the embodiment of the present application, after the step of calling a mapping relationship to convert the Demura data into the target format to obtain new Demura data if the actual format does not conform to the target format, the method further includes:
modifying an identification state of a format conversion register within the first memory to "1".
In the mura compensation method according to the embodiment of the present application, the method further includes the steps of:
and if the actual format of the Demura data in the first memory is consistent with the target format, calling the Demura data to perform mura compensation on the liquid crystal display panel.
In a second aspect, an embodiment of the present application further provides a mura compensation apparatus applied to a liquid crystal display panel, the apparatus including:
the first judging module is used for judging whether the actual format of the Demura data in the first memory is consistent with the target format;
the conversion module is used for calling a mapping relation to convert the Demura data into the target format to obtain new Demura data if the actual format is not in accordance with the target format;
a storage module for storing the new Demura data to the first memory;
and the first compensation module is used for carrying out mura compensation on the liquid crystal display panel according to the new Demura data in the first memory.
In a third aspect, an embodiment of the present application provides a liquid crystal display panel, which includes a processor and a memory, where the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
In view of the above, the embodiment of the present application determines whether the actual format of the Demura data in the first memory conforms to the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory; therefore, the mura compensation of the liquid crystal display panel is realized, the format of the Demura data is judged before the compensation, the Demura data which is not in line with the target format is converted, the poor mura compensation effect caused by different requirements of the format of the Demura data of different manufacturers is avoided, and the display quality can be improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart illustrating a mura compensation method applied to a liquid crystal display panel according to some embodiments of the present disclosure. The mura compensation method comprises the following steps:
s101, judging whether the actual format of the Demura data in the first memory is consistent with the target format.
And S102, if the actual format does not accord with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data.
S103, storing the new Demura data to the first memory.
And S104, performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory.
In step S101, Demura data is stored in a first memory, and the first memory is Demura flash. Wherein, the target format is the format required by the factory. The acquisition process of the Demura data is as follows: and photographing the liquid crystal panel of the displayed gray-scale image by using a camera, and obtaining image mura compensation data of the display panel and a position corresponding to the mura compensation value according to the acquired image. After detecting that the lcd panel is powered on, the step S101 is executed.
In some embodiments, this step S101 includes the following sub-steps: s1011, checking whether the format identification state of the identification register in the first memory is '1'; s1012, if the format flag state is not "1", determining whether the flag state of the format conversion register in the first memory is "1"; s1013, if the format identification state is '1', judging that the actual format of the Demura data is a target format; s1014, if the identification state of the format conversion register is not '1', judging that the actual format of the Demura data is consistent with the target format; and S1015, if the identification state of the format conversion register is '1', judging that the actual format of the Demura data does not accord with the target format.
In step S102, if the actual format does not match the target format, it indicates that the format of the Demura data in the lcd panel is the original format of Demura data input from the original factory, and it needs to be converted into Demura data suitable for the format of the factory.
It is to be understood that, in some embodiments, this step S102 includes: s1021, if the actual format does not accord with the target format, inquiring a format identifier of the actual format; and S1022, calling a corresponding mapping relation according to the format identifier to convert the Demura data into the target format so as to obtain new Demura data. It can be understood that, for Demura data in different formats of different original factories, different mapping relationships need to be called when the data are converted into a target format. Wherein the mapping relationships are stored in the first memory.
In step S103, after the format conversion is completed, the new Demura data is stored in the first memory for calling upon mura compensation. Specifically, in some embodiments, this step S103 includes: the new Demura Data is written to the first memory and stored in a DDR (Double Data Rate) space within the first memory.
In the step S104, when mura compensation is performed, new Demura data stored in the first memory may be directly called and run.
It is understood that, in some embodiments, after the step S102 is executed, the following steps are further included:
sx, and modifying the identification state of the format conversion register in the first memory to be 1. Therefore, format conversion of the Demura data is not required when the liquid crystal display panel is restarted next time.
It is understood that, in some embodiments, after the step of determining whether the actual format of the Demura data in the first memory conforms to the target format, the method further includes the following steps:
sy, if the actual format of the Demura data in the first memory is consistent with the target format, calling the Demura data to perform mura compensation on the liquid crystal display panel. That is, if the actual format of the Demura data in the first memory is the same as the format required in the factory, the Demura data can be directly called for mura compensation.
In view of the above, the embodiment of the present application determines whether the actual format of the Demura data in the first memory conforms to the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory; the format of the Demura data is judged before compensation, and the Demura data which does not conform to the target format is converted, so that the problem that the mura compensation effect is poor due to different format requirements of the Demura data of different manufacturers is avoided, and the display quality can be improved; by the method, on the premise of not increasing any hardware cost, the conversion work of the Demura can be finished, and the cost can be saved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a mura compensation device in some embodiments of the present application. The mura compensation device is applied to a liquid crystal display panel, and comprises: the device comprises afirst judgment module 201, aconversion module 202, astorage module 203 and afirst compensation module 204.
The first determiningmodule 201 is configured to determine whether an actual format of the Demura data in the first memory conforms to a target format. The Demura data is stored in a first memory, which is a Demura flash. Wherein, the target format is the format required by the factory. The acquisition process of the Demura data is as follows: and photographing the liquid crystal panel of the displayed gray-scale image by using a camera, and obtaining image mura compensation data of the display panel and a position corresponding to the mura compensation value according to the acquired image.
In some embodiments, the first determiningmodule 201 is configured to: checking whether a format identification state of an identification register in the first memory is '1'; if the format identification state is not '1', judging whether the identification state of a format conversion register in the first memory is '1'; if the format identification state is '1', judging that the actual format of the Demura data is a target format; if the identification state of the format conversion register is not 1, judging that the actual format of the Demura data is consistent with the target format; and if the identification state of the format conversion register is '1', judging that the actual format of the Demura data does not accord with the target format.
Theconversion module 202 is configured to, if the actual format does not conform to the target format, call a mapping relationship to convert the Demura data into the target format to obtain new Demura data. If the actual format is not in accordance with the target format, it is indicated that the format of the Demura data in the liquid crystal display panel is the original format of the Demura data input by the original factory before, and the Demura data is required to be converted into the format suitable for the factory.
It is to be understood that, in some embodiments, theconversion module 202 is configured to query the format identifier of the actual format if the actual format does not conform to the target format; and calling a corresponding mapping relation according to the format identifier to convert the Demura data into the target format so as to obtain new Demura data. It can be understood that for different formats of Demura data of different factories, different mapping relationships need to be called when converting into a target format. Wherein the mapping relationships are stored in the first memory.
Wherein thestoring module 203 is configured to store the new Demura data in the first memory. After format conversion is complete, the new Demura data is stored in the first memory for recall during mura compensation. Specifically, in some embodiments, this step S103 includes: the new Demura Data is written to the first memory and stored in a DDR (Double Data Rate) space within the first memory.
Thefirst compensation module 204 is configured to perform mura compensation on the liquid crystal display panel according to the new Demura data in the first memory. When mura compensation is performed, new Demura data stored in the first memory may be directly called and run.
It will be appreciated that in some embodiments the apparatus further comprises a modification module for modifying the identification state of the format conversion register within said first memory to "1". Therefore, format conversion of the Demura data is not required when the liquid crystal display panel is restarted next time.
It is understood that, in some embodiments, the apparatus further includes a second compensation module, configured to invoke the Demura data to perform the mura compensation on the liquid crystal display panel if the actual format of the Demura data in the first memory conforms to the target format. That is, if the actual format of the Demura data in the first memory is the same as the format required in the factory, the Demura data can be directly called for mura compensation.
In view of the above, the embodiment of the present application determines whether the actual format of the Demura data in the first memory conforms to the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory; therefore, the mura compensation of the liquid crystal display panel is realized, the format of the Demura data is judged before the compensation, the Demura data which is not in line with the target format is converted, the poor mura compensation effect caused by different requirements of the format of the Demura data of different manufacturers is avoided, and the display quality can be improved. By the method, on the premise of not increasing any hardware cost, the conversion work of the Demura can be finished, and the cost can be saved.
An embodiment of the present application provides a storage medium, and when being executed by a processor, the computer program performs a method in any optional implementation manner of the foregoing embodiment, so as to implement the following functions: judging whether the actual format of the Demura data in the first memory is consistent with the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; and carrying out mura compensation on the liquid crystal display panel according to the new Demura data in the first memory. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In view of the above, the embodiment of the present application determines whether the actual format of the Demura data in the first memory conforms to the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory; therefore, the mura compensation of the liquid crystal display panel is realized, the format of the Demura data is judged before the compensation, the Demura data which is not in line with the target format is converted, the poor mura compensation effect caused by different requirements of the format of the Demura data of different manufacturers is avoided, and the display quality can be improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a liquid crystal display panel according to an embodiment of the present application, and the present application provides a liquidcrystal display panel 3, including: theprocessor 301 and thememory 302, theprocessor 301 and thememory 302 being interconnected and communicating with each other via acommunication bus 303 and/or other form of connection mechanism (not shown), thememory 302 storing a computer program executable by theprocessor 301, the computer program being executable by theprocessor 301 when the computing device is running to perform the method in any of the alternative implementations of the above embodiments when theprocessor 301 executes the computer program to perform the following functions: judging whether the actual format of the Demura data in the first memory is consistent with the target format; if the actual format is not in accordance with the target format, calling a mapping relation to convert the Demura data into the target format so as to obtain new Demura data; storing the new Demura data to the first memory; performing mura compensation on the liquid crystal display panel according to the new Demura data in the first memory; thereby realizing mura compensation of the liquid crystal display panel.
The mura compensation method, the mura compensation device, the liquid crystal display panel and the storage medium provided by the embodiments of the present application are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present application, and the description of the embodiments above is only used to help understanding the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.