Data storage method, data storage device, gray scale compensation method and gray scale compensation device

By dividing the areas to be compensated in the display device and processing optical display information, generating and storing optical compensation data sets, the problem of inability to compatible with low-precision and high-precision optical compensation in the prior art is solved, and efficient optical compensation and image quality improvement are achieved.

CN120048200APending Publication Date: 2025-05-27HEFEI BOE DISPLAY TECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411093367.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-10
Filing Date
2024-08-09
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The prior art is not compatible with low-precision and high-precision optical compensation functions, and cannot effectively eliminate the problem of fine brightness unevenness such as FDV and Pin.

Method used

By dividing the areas to be compensated in the display device, and processing the optical display information according to the compensation rule information of the preset packets, an optical compensation data group is generated, and optical compensation data is stored in a unified storage format.

Benefits of technology

It realizes optical compensation functions that are compatible with multiple precisions, improves the efficiency of optical compensation, saves hardware costs, and improves picture quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120048200A_ABST
    Figure CN120048200A_ABST
Patent Text Reader

Abstract

The invention provides a data storage method and device and a gray scale compensation method and device, and belongs to the technical field of display. The data storage method is applied to the display device, and the display device is divided into at least one to-be-compensated area. The data storage method comprises the following steps: acquiring optical display information of any to-be-compensated area under a preset display parameter; one to-be-compensated area corresponds to one preset group; the preset groups represent the compensation precision of the corresponding to-be-compensated areas; for any preset group, acquiring compensation rule information of the preset group in a preset storage format, and processing the optical display information in the to-be-compensated area based on the compensation rule information to generate an optical compensation data set; and storing the optical compensation data in the optical compensation data set to a preset storage area according to the storage format corresponding to the optical compensation data set in the preset storage format.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of display technology, and particularly relates to a data storage method and apparatus thereof, and a grayscale compensation method and apparatus thereof. Background Art

[0002] In order to ensure the display quality of a display device, it is necessary to perform optical compensation on the display device by using stored optical compensation data.

[0003] However, the current storage format of optical compensation data cannot be compatible with low-precision and high-precision optical compensation (De-Mura) functions, and cannot effectively eliminate problems such as fine brightness non-uniformity (Mura) like FDV and Pin. Summary of the Invention

[0004] The present disclosure aims to at least solve one of the technical problems existing in the prior art, and provides a data storage method and apparatus thereof, and a grayscale compensation method and apparatus thereof.

[0005] In a first aspect, the technical solution adopted to solve the technical problems of the present disclosure is a data storage method applied to a display device, and the display device is divided into at least one area to be compensated; the method includes:

[0006] Obtain the optical display information of any one of the areas to be compensated under preset display parameters; one area to be compensated corresponds to one preset group; the preset group represents the compensation accuracy of the corresponding area to be compensated;

[0007] For any one of the preset groups, obtain the compensation rule information in a preset storage format, and based on the compensation rule information, process the optical display information in the area to be compensated to generate an optical compensation data group;

[0008] Store the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in the preset storage format.

[0009] In some embodiments, the compensation rule information at least includes the compensation block information of the compensation block and the information of the area to be compensated;

[0010] The processing of the optical display information in the area to be compensated based on the compensation rule information to generate an optical compensation data group includes:

[0011] Based on the information of the area to be compensated, the compensation block information, and the optical display information, obtain optical compensation data corresponding to each compensation block one by one, and use the obtained multiple optical compensation data as a group of optical compensation data groups.

[0012] In some embodiments, the compensation block information includes the size information of the compensation block and the quantity information of the compensation block in the area to be compensated; the information of the area to be compensated includes the endpoint coordinate information of the area to be compensated; or,

[0013] the compensation block information includes the size information of the compensation block; the information of the area to be compensated includes the center point coordinate information of the area to be compensated and the size scaling information of the area to be compensated.

[0014] In some embodiments, the storage information in the preset storage format includes the target storage bit width; the compensation rule information of the preset grouping includes the target storage mode; the storage format of the optical compensation data group includes the point position arrangement format and the data arrangement format;

[0015] Storing the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in the preset storage format includes:

[0016] Storing the optical compensation data in the optical compensation data group into the preset storage area according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format.

[0017] In some embodiments, the data arrangement format includes the storage address of the optical compensation data and the arrangement storage method of each optical compensation data under the corresponding storage address.

[0018] In some embodiments, the target storage mode is a three - primary - color mode or a monochromatic mode.

[0019] In some embodiments, the storage information in the preset storage format further includes the target data bit width and the total number of the preset groupings;

[0020] The steps for determining the target storage bit width include:

[0021] Determining the target storage bit width according to the target data bit width and the total number of the preset groupings, and using the target storage bit width as the storage information in the preset storage format.

[0022] In some embodiments, the target storage bit width is less than or equal to the target data bit width.

[0023] In some embodiments, the storage information of the preset storage format further includes the target data bit width and the target storage bit width of the optical compensation data, the lower limit value of the gray scale; the compensation rule information at least includes a plurality of preset display parameters and bit width conversion selection information;

[0024] The steps of determining the bit-width conversion selection information include:

[0025] Read the target data bit-width and the target storage bit-width, and determine whether any one of the target data bit-width and the target storage bit-width is greater than or equal to a first preset value;

[0026] When any one of the target data bit-width and the target storage bit-width is greater than or equal to the first preset value, determine whether the lower limit value of the gray scale is less than or equal to a second preset value;

[0027] When the lower limit value of the gray scale is less than or equal to the second preset value, read the lowest preset gray scale among the multiple preset display parameters corresponding to each of the regions to be compensated;

[0028] Determine whether the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset gray scale that needs bit-depth conversion is greater than or equal to a third preset value;

[0029] When the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset gray scale that needs bit-depth conversion is greater than or equal to the third preset value, determine that the bit-width conversion selection information is information for turning off the bit-depth conversion function.

[0030] In some embodiments, the data storage method further includes:

[0031] When a first preset condition is satisfied, determine that the bit-width conversion selection information is information for turning on the bit-depth conversion function;

[0032] Among them, the situations that satisfy the first preset condition include any one of the following: any one of the target data bit-width and the target storage bit-width is less than the first preset value; the lower limit value of the gray scale is greater than the second preset value; the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset gray scale that needs bit-depth conversion is less than the third preset value.

[0033] In some embodiments, the display device is divided into multiple regions to be compensated; different regions to be compensated correspond to different preset groups; the compensation rule information at least includes compensation block information; the data storage method further includes:

[0034] Based on the compensation block information corresponding to each of the preset groups, determine the minimum size information of the compensation block;

[0035] Use the minimum size information as the storage information in the preset storage format.

[0036] In some embodiments, the display device is divided into a plurality of regions to be compensated; different regions to be compensated correspond to different preset groups; the compensation rule information of the preset group at least includes the number of preset display parameters lit in the region to be compensated; the data storage method further includes:

[0037] Based on the number of preset display parameters respectively corresponding to each of the preset groups, determine the largest number of preset display parameters, and denote it as the maximum binding number;

[0038] Use the maximum binding number as the storage information in the preset storage format.

[0039] In some embodiments, the data storage method further includes:

[0040] Obtain the identity recognition parameters of the display device, and use the identity recognition parameters as the storage information in the preset storage format; the identity recognition parameters represent the identity information and performance information of the display device.

[0041] In some embodiments, the data storage method further includes:

[0042] Obtain the component information of the display device, and use the component information as the storage information in the preset storage format; the component information represents the identity information and performance parameters of the internal components of the display device.

[0043] In some embodiments, the multiple preset display parameters lit in sequence in the region to be compensated are all different.

[0044] In some embodiments, the preset display parameters include preset gray levels;

[0045] The obtaining of the optical display information of the display device under the preset display parameters includes:

[0046] Obtain the actual brightness corresponding to the display device under the preset gray level, and use the actual brightness as the optical display information.

[0047] In a second aspect, an embodiment of the present disclosure further provides a gray level compensation method, including:

[0048] Obtain the to-be-displayed picture of the display device;

[0049] Read optical compensation data from the memory; wherein, the optical compensation data is stored by using the data storage method described in any one of the first aspect;

[0050] Use the read optical compensation data to perform gray level compensation on the to-be-displayed picture to obtain a compensated display picture.

[0051] In some embodiments, the display device is divided into a plurality of regions to be compensated; different regions to be compensated correspond to different preset groups;

[0052] The reading of the optical compensation data from the memory includes:

[0053] Based on the target compensation position information in the to-be-displayed picture and the corresponding relationship between the region to be compensated and the preset group, determine the number information of the target preset group;

[0054] Perform data indexing based on the number information of the target preset group and the target compensation position information to generate index information;

[0055] Based on the index information, read the optical compensation data from the memory according to the storage format of the optical compensation data group in the preset storage format.

[0056] In some embodiments, the index information includes the target storage bit width, a plurality of preset display parameters for lighting the region to be compensated, the compensation block information of the target compensation block where the target compensation position indicated by the target compensation position information is located, and the target storage mode of the target preset group; the storage format of the optical compensation data group includes a point position arrangement format and a data arrangement format;

[0057] The reading of the optical compensation data from the memory according to the storage format of the optical compensation data group in the preset storage format based on the index information includes:

[0058] For any one of the preset display parameters, based on the preset display parameter and the compensation block information of the target compensation block, read the optical compensation data corresponding to the target compensation block from the memory according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format, so as to obtain the optical compensation data corresponding to each of the plurality of preset display parameters.

[0059] In some embodiments, the using of the read optical compensation data to perform gray-scale compensation on the to-be-displayed picture to obtain a compensated display picture includes:

[0060] For the target compensation position in the to-be-displayed picture, based on the plurality of preset display parameters and the optical compensation data corresponding to each preset display parameter, perform interpolation processing on the to-be-interpolated gray scale of the target compensation position to obtain the output gray scale of the target compensation position as the optical compensation data of the target compensation position;

[0061] Perform grayscale compensation on the target compensation position according to the optical compensation data of the target compensation position, to obtain a compensated display screen of the target compensation position.

[0062] In some embodiments, the stored information in the preset storage format includes the minimum size information of a compensation block, the maximum number of binding points, and the total number of the preset groups;

[0063] Before performing grayscale compensation on the to-be-displayed screen according to the read optical compensation data to obtain a compensated display screen, it further includes:

[0064] Allocate the current computing power resources based on the minimum size information of the compensation block, the maximum number of binding points, and the total number of the preset groups, to obtain allocated computing power resources, so as to perform grayscale compensation by using the allocated computing power resources.

[0065] In some embodiments, the stored information in the preset storage format includes a verification parameter for verifying the preset group;

[0066] The grayscale compensation method further includes:

[0067] During the process of reading the optical compensation data, calculate the reading parameter of the optical compensation data for the target preset group;

[0068] In response to the verification parameter not matching the reading parameter, determine that the reading process of the optical compensation data for the target preset group is abnormal; or,

[0069] In response to the verification parameter matching the reading parameter, determine that the reading process of the optical compensation data for the target preset group is normal.

[0070] In some embodiments, the verification parameter is a cyclic redundancy check code.

[0071] In a third aspect, an embodiment of the present disclosure further provides a data storage device, including:

[0072] An information acquisition module, configured to acquire the optical display information of any to-be-compensated area of a display device under preset display parameters; the display device is divided into at least one to-be-compensated area; one to-be-compensated area corresponds to one preset group; the preset group represents the compensation accuracy of the corresponding to-be-compensated area;

[0073] A data processing module, configured to, for any one of the preset groups, acquire the compensation rule information of the preset group in a preset storage format, and process the optical display information in the to-be-compensated area based on the compensation rule information to generate an optical compensation data group;

[0074] A storage module, configured to store the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in the preset storage format.

[0075] Fourthly, an embodiment of the present disclosure further provides a grayscale compensation device, including:

[0076] A screen acquisition module, configured to acquire a to-be-displayed screen of a display device;

[0077] A data reading module, configured to read optical compensation data from a memory; wherein, the optical compensation data is stored by applying the data storage method described in any one of the first aspects;

[0078] A grayscale compensation module, configured to perform grayscale compensation on the to-be-displayed screen by using the read optical compensation data to obtain a compensated display screen.

[0079] Fifthly, an embodiment of the present disclosure further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the data storage method described in any one of the first aspects; or, when the processor executes the program, it implements the grayscale compensation method described in any one of the second aspects.

[0080] Sixthly, an embodiment of the present disclosure further provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the data storage method described in any one of the first aspects; or, the computer instructions are used to cause a computer to execute the grayscale compensation method described in any one of the second aspects. Description of the Drawings

[0081] Figure 1 A schematic diagram of partitioning a display device provided by an embodiment of the present disclosure;

[0082] Figure 2 A flowchart of the data storage method provided by an embodiment of the present disclosure;

[0083] Figure 3 A schematic flowchart of obtaining different optical compensation data groups by lighting different preset display parameters in different regions to be compensated provided by an embodiment of the present disclosure;

[0084] Figure 4 A flowchart of determining bit-width conversion selection information provided by an embodiment of the present disclosure;

[0085] Figure 5Schematic diagram of the principle of bad phenomena occurring during Dither provided by the embodiments of the present disclosure;

[0086] Figure 6 Schematic diagram of the principle of insufficient computing power allocation of TCON IC provided by the embodiments of the present disclosure;

[0087] Figure 7 Flowchart of the data storage method provided by the embodiments of the present disclosure;

[0088] Figure 8 Schematic diagram of the difference in fitting results between linear interpolation and quadratic interpolation provided by the embodiments of the present disclosure;

[0089] Figure 9 Schematic diagram of accurately locating the Mura area and the compensation effect through the compensation block information of the compensation block and the information of the area to be compensated provided by the embodiments of the present disclosure;

[0090] Figure 10 Schematic diagram of a data storage device provided by the embodiments of the present disclosure;

[0091] Figure 11 Schematic diagram of a grayscale compensation device provided by the embodiments of the present disclosure;

[0092] Figure 12 Schematic diagram of a more specific hardware structure of an electronic device provided by the embodiments of the present disclosure. Detailed implementation manners

[0093] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only a part rather than all of the embodiments of the present disclosure. Usually, the components of the embodiments of the present disclosure described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but merely represents selected embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.

[0094] Unless otherwise defined, technical terms or scientific terms used in this disclosure shall have the ordinary meanings as understood by those of ordinary skill in the art to which this disclosure pertains. The terms "first", "second" and similar terms used in this disclosure do not denote any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "a", "an" or "the" do not denote a quantity limitation, but mean that there is at least one. Words such as "including" or "comprising" mean that the elements or items appearing before this word cover the elements or items listed after this word and their equivalents, without excluding other elements or items. Words such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Words such as "upper", "lower", "left" and "right" are only used to indicate relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0095] As used in this disclosure, "a plurality or several" means two or more. "And / or" describes the association relationship of associated objects and indicates that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0096] In the related art, in order to ensure the display quality of a display device, it is necessary to perform optical compensation on the display device using stored optical compensation data. However, in the related art, for the entire screen display image, often only one precision is used for optical compensation, and the optical compensation functions of multiple precisions cannot be compatible; if only low-precision compensation is used, the fine brightness non-uniformity (Mura) caused by the influence of the splicing of the splicing screen (FDV) and the influence of the support pillar (Pin) cannot be effectively eliminated; if only high-precision compensation is used, the amount of data that needs to be processed by arithmetic is huge, the time consumed in the optical compensation stage is too long, and a high-performance hardware processing device is required for the huge amount of arithmetic, increasing the hardware cost. In short, in the related art, for the entire screen display image, the optical compensation (De-Mura) functions of low precision and high precision cannot be compatible. In addition, in the related art, since two or more different suppliers' timing controller chips (The time of detrusor contraction, TCON) are used in the production of the same display device, and the optical compensation data formats corresponding to different timing controller chips of different suppliers are all different, there will be optical compensation data in different storage formats in the same display device. When storing the optical compensation data in the case where the storage formats of the corresponding optical compensation data in the same display device are different, it is necessary to set the writing program according to the corresponding storage format respectively, which is time-consuming.

[0097] In view of this, embodiments of the present disclosure provide a data storage method and its device, and a grayscale compensation method and its device. By storing optical compensation data in a unified preset storage format, there is no need to separately set write programs according to the corresponding storage formats, saving time and enabling rapid storage of optical compensation data.

[0098] For ease of understanding, the data storage method provided by the embodiments of the present disclosure will be described first.

[0099] In a first aspect, the data storage method provided by the embodiments of the present disclosure is mainly applied to a display device. The display device can serve as the execution subject of the data storage method of the present disclosure or only as a device waiting to eliminate brightness non-uniformity (Mura). Exemplarily, the display device can be a light-emitting diode (LED) display screen, an organic light-emitting diode (OLED) display screen, or a mini light-emitting diode (Mini LED) display screen. In the preparatory stage before the data storage process is executed, the display device will be pre-divided into at least one area to be compensated. For example, Figure 1 as shown, specifically, the display area of the display screen is divided, for example, into area A, area B, and area C. Of course, these three areas to be compensated are only an example, and information such as the actual division method, the number and size of the areas to be compensated can be set according to requirements, and the embodiments of the present disclosure do not limit them.

[0100] Figure 2 is a flowchart of the data storage method provided by the embodiments of the present disclosure. The display device is divided into at least one area to be compensated. Taking one of the areas to be compensated as an example, the data storage process will be described below. As Figure 2 shown, the data storage method includes S11 to S13.

[0101] S11. Obtain the optical display information of any area to be compensated under preset display parameters.

[0102] In one case, the drive circuit (Drive IC) can be used to light up the display device, and a charge-coupled device (CCD) camera with high resolution and high precision is used to photograph the display device under preset display parameters to obtain the optical display information of the display device under preset display parameters. The optical display information of the area to be compensated is obtained from the optical display information of the entire screen, which is the optical display information of the area to be compensated under preset display parameters.

[0103] The preset display parameters are preset grayscales, such as 32 grayscales, 64 grayscales, or 127 grayscales.

[0104] A compensation area to be compensated corresponds to a preset group; the preset group represents the compensation accuracy of the compensation area corresponding thereto.

[0105] S12. For any preset group, obtain the compensation rule information of the preset group in the preset storage format, and based on the compensation rule information, process the optical display information in the area to be compensated to generate an optical compensation data group.

[0106] The stored information in the preset storage format includes but is not limited to the compensation rule information of at least one preset group. The compensation rule information includes a series of rules for optical compensation for the area to be compensated corresponding thereto. Based on this compensation rule information, the optical display information in the area to be compensated can be processed to generate an optical compensation data group. One preset group corresponds to an optical compensation data group; the optical compensation data group includes multiple optical compensation data.

[0107] Exemplarily, the optical display information may be grayscale information or brightness information. The optical compensation data may be a specific grayscale value or the degree of compensation information, such as a percentage.

[0108] S13. Store the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in the preset storage format.

[0109] The stored information in the preset storage format further includes the relevant information of the storage format corresponding to the optical compensation data group. Obtain the storage format of the optical compensation data group in the preset storage format, and burn the optical compensation data in the optical compensation data group into a flash memory (FlashROM) according to the storage format corresponding to the optical compensation data group.

[0110] In the embodiments of the present disclosure, by using a unified preset storage format to store the optical compensation data, there is no need to separately set the writing program according to the corresponding storage format, which saves time and can quickly realize the storage of the optical compensation data.

[0111] In some embodiments, as Figure 1 shown, the display device is divided into multiple areas to be compensated. At this time, different areas to be compensated (area A, area B, and area C) respectively light up their corresponding preset display parameters. For step S11, the optical display information of any area to be compensated under the preset display parameters can be obtained. Among them, the preset display parameters lit by different areas to be compensated may be the same or different.

[0112] Different regions to be compensated correspond to different preset groups; different preset groups correspond to different optical compensation data groups. Exemplarily, in the case where the region to be compensated is a high-precision compensation region, an optical compensation data group for the high-precision compensation region is generated based on the compensation rule information, where n×n pixel points in the high-precision compensation region correspond to one optical compensation data; n can be a positive integer greater than or equal to 1; when n = 1, it is the highest-precision compensation. In the case where the region to be compensated is a low-precision compensation region, an optical compensation data group for the low-precision compensation region is generated based on the compensation rule information, where m×m pixel points in the low-precision compensation region correspond to one optical compensation data; m can be a positive integer greater than or equal to 2, and m > n.

[0113] The above S11 to S13 are described by taking any one region to be compensated as an example. In fact, the data storage process principle for each region to be compensated is the same. Different optical compensation data groups store optical compensation data according to their respective storage formats corresponding to the preset storage format.

[0114] In the embodiments of the present disclosure, the optical display information in the corresponding regions to be compensated is processed through the compensation rule information of different preset groups to obtain different optical compensation data groups. The preset group represents the compensation precision of the corresponding region to be compensated. Different optical compensation data groups can meet the compensation requirements of regions to be compensated with different fineness levels in the display device. In the subsequent optical compensation stage, by means of different optical compensation data groups, the regions to be compensated with different fineness levels are compensated specifically, which can realize the compatibility of optical compensation functions with multiple precisions. For example, it can compensate for both high-precision compensation regions (or fine compensation regions) and low-precision compensation regions (or rough compensation regions). Thus, while improving the optical compensation precision and image quality, the efficiency of optical compensation can be increased, the hardware cost can be saved, and the adaptability of ordinary hardware can be improved.

[0115] In some embodiments, different preset display parameters can be sequentially lit in the same region to be compensated, so as to obtain optical compensation data groups under different preset display parameters respectively. Taking Area A, Area B, and Area C as examples, as Figure 3As shown, in area A, two preset display parameters (such as 85 gray levels and 170 gray levels) are sequentially lit, and two sets of optical compensation data groups corresponding to the two preset display parameters are obtained, denoted as A-1 and A-2 respectively; in area B, three preset display parameters (such as 32 gray levels, 64 gray levels, and 127 gray levels) are sequentially lit, and three sets of optical compensation data groups corresponding to the three preset display parameters are obtained, denoted as B-1, B-2, and B-3 respectively; in area C, four preset display parameters (such as 32 gray levels, 64 gray levels, 127 gray levels, and 192 gray levels) are sequentially lit, and four sets of optical compensation data groups corresponding to the four preset display parameters are obtained, denoted as C-1, C-2, C-3, and C-4 respectively. Thus, a total of 2 + 3 + 4 = 9 sets of optical compensation data groups are finally burned into the Flash ROM.

[0116] Among them, the number of preset display parameters sequentially lit in different areas to be compensated (area A, area B, and area C) can be the same. For example, they are all 3. At this time, the three preset display parameters can be 32 gray levels, 64 gray levels, and 127 gray levels respectively; or, the number of preset display parameters sequentially lit in different areas to be compensated (area A, area B, and area C) can also be different.

[0117] Here, the multiple preset display parameters sequentially lit in the same area to be compensated are all different. The multiple preset display parameters sequentially lit in the same area to be compensated are all different, so as to calculate the optical compensation data of the gray level to be compensated by using the interpolation algorithm later. The so-called "gray level to be compensated" can be understood as the gray level value corresponding to the pixel point in the image to be displayed.

[0118] In some embodiments, the compensation rule information at least includes the compensation block information of the compensation block and the information of the area to be compensated. Here, the compensation block can also be understood as the smallest compensation unit in the area to be compensated.

[0119] Specifically for the above step S12, based on the information of the area to be compensated, the compensation block information, and the optical display information, optical compensation data corresponding to each compensation block can be obtained, and the multiple optical compensation data obtained are used as a set of optical compensation data groups.

[0120] Exemplarily, according to the position information of the area to be compensated and the compensation block information, the area to be compensated is divided into multiple compensation blocks; for any one compensation block, the optical display information within the compensation block is processed to obtain the optical compensation data corresponding to the compensation block. The optical compensation data corresponding to each of the multiple compensation blocks constitutes a set of optical compensation data groups. Among them, when processing the optical display information within the compensation block, in one case, a preset algorithm can be used to process the gray level value of each pixel point within the compensation block to generate an optical compensation data. In another case, first, a preset algorithm can be used to process the gray level of each pixel point within the compensation block to obtain a gray level information; then, the optical compensation data corresponding to the gray level information is found through a preset gamma correction look-up table. In yet another case, first, a preset algorithm can be used to process the brightness of each pixel point within the compensation block to obtain a brightness information; then, the optical compensation data corresponding to the brightness information is found through a preset gamma correction look-up table.

[0121] Optionally, the compensation block information includes the size information of the compensation block and the quantity information of the compensation blocks in the area to be compensated; the information of the area to be compensated includes the endpoint coordinate information of the area to be compensated. Exemplarily, the size information of the compensation block can be the length size of the compensation block (which can also be understood as the size in the horizontal direction) and the width size (which can also be understood as the size in the vertical direction), such as a size of 16×16 pixels, 8×8 pixels, or 4×4 pixels. The quantity information of the compensation blocks in the area to be compensated includes the quantity of the compensation blocks in the horizontal direction and the quantity of the compensation blocks in the vertical direction in the area to be compensated. The endpoint coordinate information of the area to be compensated can include one or more endpoint coordinates. For example, in the case of one endpoint coordinate, the endpoint coordinate information of the area to be compensated can be the abscissa and ordinate of the starting coordinate point at the upper left corner.

[0122] According to the size information of the compensation block, the quantity information of the compensation blocks in the area to be compensated, and the endpoint coordinate information of the area to be compensated, the area to be compensated is divided into multiple compensation blocks; for any one compensation block, the optical display information within the compensation block is processed to obtain the optical compensation data corresponding to the compensation block; then, for one area to be compensated, the multiple optical compensation data obtained are used as a set of optical compensation data groups.

[0123] Optionally, the compensation block information includes the size information of the compensation block; the information of the area to be compensated includes the center point coordinate information of the area to be compensated and the size scaling information of the area to be compensated. Exemplarily, the size information of the compensation block may be the length size of the compensation block (which can also be understood as the size in the horizontal direction) and the width size (which can also be understood as the size in the vertical direction), such as a size of 16×16 pixels, a size of 8×8 pixels, or a size of 4×4 pixels. The center point coordinate information of the area to be compensated represents the abscissa and ordinate of the center point of the area to be compensated. The size scaling information includes the length scaling factor and the width scaling factor of the area to be compensated; the length scaling factor is the scaling multiple of the length of the display area of the display device, and the width scaling factor is the scaling multiple of the width of the display area of the display device.

[0124] In some embodiments, the stored information in the preset storage format includes the target storage bit width; the compensation rule information of the preset grouping includes the target storage mode; the storage format of the optical compensation data group includes the point position arrangement format and the data arrangement format.

[0125] For the above step S13, specifically, the optical compensation data in the optical compensation data group is stored in the preset storage area according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format.

[0126] The point position arrangement format includes multiple preset storage modes, such as the three - primary - color mode (RGB Mode) and the monochromatic mode (Mono Mode). As shown in Table 1, the point position arrangement information corresponding to the three - primary - color mode (RGB Mode) includes Line0, Line1, ……; each line corresponds to a group of Block0, Block1, Block2; each Block corresponds to a group of Layer0, Layer1, Layer2; each Layer corresponds to a group of R, G, B; where, line represents the row of the display device, and the display device is divided into 2160 rows; Block represents the compensation block; Layer represents the preset display parameter; R, G, B represent the three - primary - color values. As shown in Table 2, the point position arrangement information corresponding to the monochromatic mode (Mono Mode) includes Line0, Line1, ……; each line corresponds to a group of Block0, Block1, Block2; each Block corresponds to a group of Layer0, Layer1, Layer2; each Layer corresponds to a Gray; where, Gray represents the gray scale.

[0127] Table 1

[0128]

[0129] Table 2

[0130]

[0131] The data arrangement format includes data arrangement information corresponding to multiple preset storage bit widths; as shown in Table 3, the multiple preset storage bit widths include 8bit, 10bit, and 12bit. The data arrangement information includes the storage address of the optical compensation data and the arrangement storage method of each optical compensation data under the corresponding storage address. Taking the 8bit storage bit width as an example, 0x00~03, 0x04~07, 0x08~0B, and 0x0C~0F respectively represent the storage addresses of multiple optical compensation data in a group of optical compensation data. Byte0, Byte1, Byte2, and Byte3 respectively represent the bytes in the preset storage area corresponding to the storage addresses. Data0~Data15 respectively represent multiple optical compensation data in a group of optical compensation data. One "Data" represents the optical compensation data corresponding to a compensation block.

[0132] Table 3

[0133]

[0134] The target storage bit width can be a preset fixed value or data determined in real time according to the optical display information. Different preset groups correspond to a unique target storage bit width. As shown in Table 3, the multiple preset storage bit widths include 8bit, 10bit, and 12bit; the target storage mode is one of 8bit, 10bit, and 12bit. For example, if the target storage mode is 8bit, the optical compensation data is stored in the data arrangement format corresponding to 8bit.

[0135] The target storage mode can be a preset fixed value. Specifically, the three-primary color mode or the monochromatic mode can be selected as the target storage mode according to different compensation efficiencies. Different preset groups have their respective corresponding target storage modes, which may be the same or different. As shown in Table 1 and Table 2, the multiple preset storage modes include the three-primary color mode (RGB Mode) and the monochromatic mode (Mono Mode); the target storage mode is one of the three-primary color mode (RGB Mode) and the monochromatic mode (Mono Mode). For example, if the target storage mode is the three-primary color mode (RGB Mode), the optical compensation data is stored in the point position arrangement format corresponding to the three-primary color mode (RGB Mode).

[0136] In some embodiments, when the total number of preset groups is relatively large, the storage capacity of the preset storage area will not be able to accommodate all the optical compensation data, and it is necessary to determine the target data bit width from multiple preset data bit widths; the target storage bit width is used as the storage information in the preset storage format.

[0137] In some embodiments, the stored information in the preset storage format further includes the target data bit width and the total number of preset groups. The step of storing the target storage bit width includes: determining the target storage bit width according to the target data bit width and the total number of preset groups, and using the target storage bit width as the stored information in the preset storage format. Exemplarily, when the total number of preset groups is large, the storage capacity of the preset storage area will not be able to accommodate all the optical compensation data. If the target data bit width is high at this time, the target storage bit width needs to be restricted, and the target storage bit width is set to be less than or equal to the target data bit width to avoid the situation where the storage bit width of the format cannot be selected due to exceeding the storage limit.

[0138] In some embodiments, the stored information of the preset storage format further includes the target data bit width, the target storage bit width of the optical compensation data, and the lower limit value of the gray scale; the compensation rule information at least includes a plurality of preset display parameters and bit width conversion selection information. The lower limit value of the gray scale refers to the minimum gray scale value that can be compensated in the subsequent gray scale compensation stage.

[0139] The step of determining the bit width conversion selection information includes: reading the target data bit width and the target storage bit width, and determining whether any one of the target data bit width and the target storage bit width is greater than or equal to a first preset value; in the case where any one of the target data bit width and the target storage bit width is greater than or equal to the first preset value, determining whether the lower limit value of the gray scale is less than or equal to a second preset value; in the case where the lower limit value of the gray scale is less than or equal to the second preset value, reading the lowest preset gray scale among the plurality of preset display parameters corresponding to each compensation area; determining whether the amount of optical compensation data that needs to be bit depth converted in the optical compensation data group corresponding to the lowest preset gray scale is greater than or equal to a third preset value; in the case where the amount of optical compensation data that needs to be bit depth converted in the optical compensation data group corresponding to the lowest preset gray scale is greater than or equal to the third preset value, determining the bit width conversion selection information as the information for closing the bit depth conversion function. In the case of meeting the first preset condition, determining the bit width conversion selection information as the information for enabling the bit depth conversion function; where the case of meeting the first preset condition includes any one of the following: any one of the target data bit width and the target storage bit width is less than the first preset value; the lower limit value of the gray scale is greater than the second preset value; the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset gray scale is less than the third preset value.

[0140] Optionally, the first preset value is 10bit.

[0141] It should be noted that the second preset value and the third preset value can be set according to actual needs and experience, and are not specifically limited in the embodiments of the present disclosure.

[0142] Figure 4 For the flowchart of determining the bit width conversion selection information provided by the embodiments of the present disclosure, asFigure 4 As shown, it includes steps S21 to S27.

[0143] S21. Read the target data bit width and the target storage bit width.

[0144] S22. Determine whether any one of the target data bit width and the target storage bit width is greater than or equal to a first preset value; if it is greater than or equal to, then sequentially execute S23, if it is less than, then execute S27.

[0145] S23. Determine whether the lower limit value of the gray scale is less than or equal to a second preset value; if it is less than or equal to, then sequentially execute S24, if it is greater than, then execute S27.

[0146] S24. Read the lowest preset gray scale among the multiple preset display parameters corresponding to each compensation area to be compensated.

[0147] For example, the multiple preset display parameters include 32 gray scales, 64 gray scales, and 127 gray scales, and the lowest preset gray scale is 32 gray scales.

[0148] S25. Judge the optical compensation data in the optical compensation data group corresponding to the lowest preset gray scale, and determine whether the amount of data that needs to be subjected to bit depth conversion is greater than or equal to a third preset value; if it is greater than or equal to, then sequentially execute S26, if it is less than, then execute S27.

[0149] Obtain the optical compensation data group corresponding to when the display screen is lit at the lowest preset gray scale (32 gray scales), determine the amount of the optical compensation data in the optical compensation data group. If the function of bit depth conversion (Dither) is enabled, then at least part of the optical compensation data needs to be subjected to bit depth conversion; if the amount of data that needs to be subjected to bit depth conversion (Dither) is greater than or equal to the third preset value, the display effect is likely to have deviation, so the function of bit depth conversion (Dither) needs to be turned off.

[0150] S26. Determine that the bit width conversion selection information is the information for turning off the bit depth conversion function.

[0151] S27. Determine that the bit width conversion selection information is the information for turning on the bit depth conversion function.

[0152] For the bit depth conversion (Dither) in S25, it means converting the storage bit width to the data bit width. For example, if the optical compensation data can be divided evenly by 4 at 10 bits, it indicates that the optical compensation data does not need to be subjected to bit depth conversion. On the contrary, it needs to be subjected to bit depth conversion. If the amount of data that needs to be subjected to bit depth conversion exceeds the third preset threshold, the display effect has deviation, and the bit depth conversion needs to be turned off.

[0153] It should be noted that, such as Figure 5As shown, the abscissa represents the gray scale, and the ordinate represents the Gamma value (or GMA value). When the color accuracy curve (ACC) is relatively offset, the actual output gray scales of similar gray scale values differ greatly, resulting in flash points or unevenness during dithering. The present disclosure adds a function regarding bit width conversion selection information, which can be understood as the FRC switch function at low gray scales, and can prevent low gray scale flash points or unevenness problems caused by the offset of the picture quality (PQ) detection of the display device.

[0154] In some embodiments, the compensation rule information at least includes compensation block information; the data storage method further includes: determining the minimum size information of the compensation block based on the compensation block information corresponding to each preset group; using the minimum size information as the storage information in the preset storage format.

[0155] The compensation block information includes the size information of the compensation block. Specifically in implementation, compare the length and width sizes of the compensation blocks in each preset group, and select the minimum size, which may be the length or the width, and use the minimum size as the minimum size information; then, call the storage format corresponding to the minimum size information in the preset storage format, and store the minimum size information in the preset storage area.

[0156] Here, the preset storage area stores the minimum size information, which is convenient for retrieval during the subsequent gray scale compensation stage to reasonably allocate the computing power of the timing control chip (TCON IC).

[0157] In some embodiments, the compensation rule information of the preset group at least includes the number of preset display parameters lit in the area to be compensated; the data storage method further includes: determining the maximum number of preset display parameters based on the number of preset display parameters corresponding to each preset group, and denoting it as the maximum binding number; using the maximum binding number as the storage information in the preset storage format.

[0158] Exemplarily, it is known that the preset display parameters in area A include 85 gray scales and 170 gray scales, then the number of preset display parameters is 2; the preset display parameters in area B include 32 gray scales, 64 gray scales, and 127 gray scales, then the number of preset display parameters is 3; the preset display parameters in area C include 32 gray scales, 64 gray scales, 127 gray scales, and 192 gray scales, then the number of preset display parameters is 4. Based on the number of preset display parameters corresponding to each preset group, determine that the maximum number of preset display parameters is 4, and use 4 as the maximum binding number; then, call the storage format corresponding to the maximum binding number in the preset storage format, and store the maximum binding number in the preset storage area.

[0159] Here, the preset storage area stores the maximum number of binding points, which is convenient for retrieval during the subsequent grayscale compensation stage to reasonably allocate the computing power of the timing control chip (TCON IC).

[0160] In some embodiments, the data storage method further includes: obtaining the identity recognition parameters of the display device and using the identity recognition parameters as the storage information in the preset storage format.

[0161] The identity recognition parameters (Extended Display Identification Data, EDID) represent the identity information and performance information of the display device, including at least one of the following: vendor information, maximum image size, color settings, manufacturer presets, restricted range of frequency range, display device name, and display device serial number.

[0162] Exemplarily, the identity recognition parameters include the product code (FG-Code), optimized version number (Panel version number), production process identification number (Panel ID), or module identification number (MDL ID).

[0163] In some embodiments, the data storage method further includes: obtaining the component information of the display device and using the component information as the storage information in the preset storage format.

[0164] The component information represents the identity information and performance information of the internal components of the display device, including at least one of the following: vendor information, maximum image size, color settings, manufacturer presets, restricted range of frequency range, component name, and component model.

[0165] Exemplarily, the component information includes the information of the driver of the display device (COF information), liquid crystal information (LC information), and polarizer information (POL information).

[0166] In some embodiments, the preset storage format is a preset unified standard format. The standard format includes a storage name, the number of bits (Byte), that is, the memory space occupied by the storage information, a default value, and a description, that is, a storage format description.

[0167] The storage information of the preset storage format includes header file information (File Header) stored in accordance with the standard format. The header file information (File Header) includes the total number of preset groups, the target data bit width, and the target storage bit width, as shown in Table 4.

[0168] Table 4

[0169]

[0170] The name is the number of De-Mura groups (i.e., the storage name for the total number of preset groups), the number of bits (Byte) (i.e., the memory space occupied by storing the total number of preset groups) is 1, the default value is 0x01 (specifically, it is the total number of preset groups obtained, and here the default value 1 is only an example), the description is the number of De-Mura groups, 1, 2, 3, ……, n, corresponding to hexadecimal values. Only the case where the default value of the number of De-Mura groups is 1 is shown in Table 4. The actual number of De-Mura groups (the total number of preset groups) is the same as the number of areas to be compensated. The areas to be compensated are usually divided into multiple ones, so the number of De-Mura groups is usually greater than 1.

[0171] The name is the data bit width of the data compensation table (i.e., the storage name for the target data bit width), the number of bits (Byte) (i.e., the memory space occupied by storing the target data bit width) is 1, the default value is 0x0C (specifically, it is the actually set target data bit width, and here the default value 12 is only an example), the description is the data bit width of the De-Mura compensation Table, 8bit, 10bit, 12bit (default value), corresponding to hexadecimal values. It should be noted that the data compensation table (Table) represents optical compensation data.

[0172] The name is the storage bit width of the data compensation table (i.e., the storage name for the target storage bit width), the number of bits (Byte) (i.e., the memory space occupied by storing the target storage bit width) is 1, the default value is 0x0C (specifically, it is the actually set target storage bit width, and here the default value 12 is only an example), the description is the storage bit width of the De-Mura compensation Table, 8bit, 10bit, 12bit (default value), corresponding to hexadecimal values.

[0173] The appropriate data bit width of the data compensation table and the storage bit width of the data compensation table can be selected according to actual needs, so as to effectively store panel information and optimize the utilization of storage space while improving the product taste.

[0174] In some embodiments, the header file information (File Header) further includes the unit header file data checksum (the checksum value of Section Header) and the header file data checksum (the checksum value of File Header), as shown in Table 4.

[0175] Named unit header file data verification (i.e., the storage name of the check value of the Section Header), the number of bits (Byte) (i.e., the memory space occupied by the storage of the check value of the Section Header) is 2, described as the CRC (Cyclic Redundancy Check) of the unit header file data, using the CRC16 (Cyclic Redundancy Check) algorithm, the verification range: 0x000060 to 0x00007F (1 group). This disclosure ensures the accuracy and integrity of the Section Header by setting the check value of the Section Header, improving the reliability and stability of data encoding.

[0176] Named header file data verification (i.e., the storage name of the check value of the File Header), the number of bits (Byte) (i.e., the memory space occupied by the storage of the check value of the File Header) is 2, the description (i.e., the storage format description) is the CRC of the header file data, using the CRC16 (Cyclic Redundancy Check) algorithm, the verification range: 0x000000 to 0x00005D. This disclosure ensures the accuracy and integrity of the File Header by setting the check value of the File Header, improving the reliability and stability of data encoding.

[0177] In some embodiments, the header file information (File Header) further includes identification parameters stored in a standard format. The identification parameters include the product code (FG-Code), the optimized version number (Panel version number), the production process identification number (Panel ID), or the module identification number (MDL ID), as shown in Table 4.

[0178] The name is Panel Information (i.e., the storage name of the identification parameter), the number of bits (Byte) (i.e., the memory space occupied by the storage of the identification parameter) is 64, and the description is panel information such as FG-Code, OC version, Panel ID, module ID, etc. Exemplarily, the name is FG-Code (i.e., the storage name of the product code in the identification parameter), the number of bits (Byte) (i.e., the memory space occupied by the storage of the product code) is 17, and the description is FG-Code: HV650QUB-N90-98P0, including a total of 17 bits with "-", represented by ASCII (American Standard Code for Information Interchange) code, and filled with 0 for vacancies. The name is Panel version number (i.e., the storage name of the optimized version number in the identification parameter), the number of bits (Byte) (i.e., the memory space occupied by the storage of the optimized version number) is 6, and the description is Panel version number, Rev2.0 (i.e., indicating the optimized version number), including a total of 6 bits with ".", represented by ASCII code, and filled with 0 for vacancies. The name is Panel ID (i.e., the storage name of the production process identification number in the identification parameter), the number of bits (Byte) (i.e., the memory space occupied by the storage of the production process identification number) is 14, and the description is Panel ID: 9ABB090111A3BB, a total of 14 bits, represented by ASCII code, and filled with 0 for vacancies. The name is MDL ID (i.e., the storage name of the module identification number in the identification parameter), the number of bits (Byte) (i.e., the memory space occupied by the storage of the module identification number) is 18, and the description is MDL ID: 25AA231T2P0003A40N, a total of 18 bits, represented by ASCII code, and filled with 0 for vacancies.

[0179] In some embodiments, the header file information (File Header) of the preset storage format further includes a magic number, a manufacturer, and a version number, as shown in Table 4.

[0180] The name is magic number (i.e., the storage name), the number of bits (Byte) (i.e., the memory space occupied by the storage of the magic number) is 4, and the default value is CD CD DC DC, and the description is a fixed value, magic number.

[0181] The name is manufacturer (i.e., the storage name of the manufacturer), the number of bits (Byte) (i.e., the memory space occupied by the storage of the manufacturer) is 10, and the description is a fixed value, represented by ASCII code.

[0182] The name is version number (i.e., the storage name of the De-Mura standard format version), the number of digits (Byte) (i.e., the memory space occupied by the version number storage) is 2, the default value is 0x0100, the description is a fixed value, De-Mura standard format version information, the high 8 bits are the major version, and the low 8 bits are the minor version.

[0183] In this embodiment, relevant data is stored in a unified standard format, realizing the standardization of data storage. At the same time, the storage information under the preset storage format is enriched, facilitating subsequent gray-scale compensation, thereby improving the compensation efficiency.

[0184] In some embodiments, the file header information also includes the minimum size information and the maximum number of binding points, as shown in Table 5.

[0185] Table 5

[0186]

[0187] The name is the minimum precision level (i.e., the storage name of the minimum size information), the number of digits (Byte) (i.e., the memory space occupied by the minimum size information storage) is 1, the default value is 0x08 (specifically, the obtained minimum size information, here the default value 8 is only an example), and the description is the highest compensation precision of De-Mura.

[0188] The name is the maximum fixed-point compensation binding points (i.e., the storage name of the maximum number of binding points), the number of digits (Byte) (i.e., the memory space occupied by the maximum number of binding points storage) is 1, the default value is 0x03 (specifically, the obtained maximum number of binding points, here the default value 3 is only an example), and the description is the maximum number of preset display parameters corresponding to all optical compensation data groups of De-Mura.

[0189] Here, the preset storage area stores the number of De-Mura groups, the minimum size information, and the maximum number of binding points, facilitating the retrieval in the subsequent gray-scale compensation stage to reasonably allocate the computing power of the timing control chip (TCON IC). For example, it can inform the TCON IC in advance of the data volume and structure of the optical compensation data of the current display device, which is used for the TCON IC to allocate computing power in advance, avoiding display problems caused by insufficient computing power allocation of the TCON IC, and shortening the startup time, as Figure 6 shown, the abscissa represents the bandwidth (BW / GHz), and the ordinate represents the gain (Gain / dB). When the data volume of the optical compensation data in all optical compensation data groups is large and the structure is complex, if the TCON IC fails to correctly allocate the computing power, resulting in the inability to complete the picture quality (PQ) processing of the data in the to-be-displayed picture by the TCON IC, there will be a situation of data loss.

[0190] In some embodiments, the file header information further includes component information. The component information includes information about the driver of the display device (COF information), liquid crystal information (LC information), and polarizer information (POL information), as shown in Table 5.

[0191] The name is COF information (i.e., the storage name of the driver information), the number of bits (Byte) (i.e., the memory space occupied by the storage of the driver information) is 14, the description is COF model example: ICNL9381SEC, reserved 14 bits, in ASCII encoding form, filled with 0 for vacancies.

[0192] The name is LC information (i.e., the storage name of the liquid crystal information), the number of bits (Byte) (i.e., the memory space occupied by the storage of the liquid crystal information) is 11, the description is LC model example: MERCK1632, reserved 11 bits, in ASCII encoding form, filled with 0 for vacancies.

[0193] The name is POL information (i.e., the storage name of the polarizer information), the number of bits (Byte) (i.e., the memory space occupied by the storage of the polarizer information) is 8, the description is POL model example: SDI AG 25, reserved 8 bits, in ASCII encoding form, filled with 0 for vacancies.

[0194] In this embodiment, by adding component information, the compatibility of the component information of the display device is realized, ensuring the traceability of the display device defects.

[0195] In some embodiments, the file header information (File Header) further includes the unit file header & file header data checksum (the checksum value of File & Section Header), as shown in Table 5.

[0196] The name is unit file header & file header data checksum (i.e., the storage name of the checksum value of File & Section Header), the number of bits (Byte) (i.e., the memory space occupied by the storage of the checksum value of File & Section Header) is 2, the description is File & Section Header CRC checksum.

[0197] The name is Reserved (i.e., the storage name), the number of bits (Byte) (i.e., the memory space occupied by the storage of Reserved) is 4, the description is Reserved. Among them, Reserved represents the reserved value.

[0198] In this embodiment, by adding the unit file header & file header data checksum, the accuracy and integrity of File & Section Header are ensured, improving the reliability and stability of data encoding.

[0199] For Table 5, except for the information listed in the above embodiments, other information is at least partially the same as that in Table 4. For example, the devil number, manufacturer, number of De-Mura groups, data bit width of the data compensation table, and storage bit width of the data compensation table are all the same.

[0200] In some embodiments, the preset storage format is a uniformly pre-set standard format. This standard format includes a storage name, the number of bits (Byte), that is, the memory space occupied by the stored information, a default value, and a description, that is, a storage format description.

[0201] The stored information of the preset storage format also includes a unit header file (SectionHeader) stored in the standard format, as shown in Table 6.

[0202] Table 6

[0203]

[0204] The name is the unit header file number, the number of bits (Byte) is 4, the default value is 0x00000001, and the description is the unit header file number. The default value is 1. When there are multiple groups of optical compensation data, the value increases sequentially, corresponding to hexadecimal. It should be noted that the unit header file number indicates which group the De-Mura group is, and thus corresponds to different parameter files (Parameter), as shown in Table 7 or Table 8 below. The unit header file and the parameter file appear in pairs. Different De-Mura groups have different unit header file numbers and thus different parameter files.

[0205] The name is the storage offset value of the parameter file (that is, the storage name of the parameter file storage address), the Size number of bits (Byte) is 4, the default value is 0x00000080, and the description is the offset address corresponding to the parameter file, in units of Byte (bytes).

[0206] The name is the data length of the parameter file (that is, the storage name of the parameter file size), the number of bits (Byte) is 4, the default value is 0x00000020, and the description is the size of the parameter file, in units of Byte (bytes).

[0207] The name is the data check of the parameter file (that is, the storage name of the parameter file check parameter), the number of bits (Byte) is 4, and the description (that is, the storage format description) is the data check of the parameter file, using the checksum algorithm. The check range is: offset value + data length.

[0208] The name is the storage offset value of the data compensation table (that is, the storage name of the optical compensation data address), the number of bits (Byte) is 4, the default value (that is, the default value) is 0x000000A0, and the description is the offset address corresponding to the data compensation table, in units of Byte.

[0209] The name is the data length of the data compensation table (i.e., the storage name of the optical compensation data size), the number of digits (Byte) is 4, the description is the size of the data compensation table, and the unit is Byte.

[0210] The name is the data check of the data compensation table (i.e., the storage name of the check parameters of the optical compensation data), the number of digits (Byte) is 4, the description is the data check of the data compensation table, the checksum algorithm is adopted, for example, the Check Sum algorithm is adopted, and the check range is: offset value + data length.

[0211] In some embodiments, the preset storage format is a pre-set unified standard format. This standard format includes the storage name, the number of digits (Byte), that is, the memory space occupied by the stored information, the default value, and the description, that is, the storage format description.

[0212] The stored information of the preset storage format also includes a parameter file (Parameter) stored in the standard format; the parameter file (Parameter) includes compensation rule information. The compensation rule information includes the compensation block information of the compensation block and the information of the area to be compensated.

[0213] Example 1: The compensation block information includes the size information of the compensation block and the number information of the compensation blocks in the area to be compensated; the information of the area to be compensated includes the endpoint coordinate information of the area to be compensated, as shown in Table 7.

[0214] Table 7

[0215]

[0216] The name is the horizontal Block size (i.e., the storage name of the length size of the compensation block), the number of digits (Byte)

[0217] (i.e., the memory space occupied by the storage of the length size of the compensation block) is 1, the default value is 0x08 (specifically, the length size of the obtained compensation block, and the default value 8 here is only an example), the description is the horizontal block size, that is, the length size of the compensation block: 1, 2, 4, 8, 16, corresponding to hexadecimal.

[0218] The name is the vertical Block size (i.e., the storage name of the width size of the compensation block), the number of digits (Byte)

[0219] (i.e., the memory space occupied by the storage of the width size of the compensation block) is 1, the default value is 0x08 (specifically, the width size of the obtained compensation block, and the default value 8 here is only an example), the description is the vertical block size, that is, the width size of the compensation block: 1, 2, 4, 8, 16, corresponding to hexadecimal.

[0220] The name is the starting point horizontal coordinate (i.e., the storage name of the abscissa of the endpoint of the area to be compensated), the number of digits (Byte) (i.e., the memory space occupied by storing the abscissa of the endpoint) is 2, and the default value is 0x0000 (specifically the obtained abscissa of the endpoint, here the default value 0 is only an example), described as the starting point horizontal coordinate of the De-Mura area, that is, the horizontal coordinate of the starting point of the area to be compensated, and the upper left corner is (0,0).

[0221] The name is the starting point vertical coordinate (i.e., the storage name of the ordinate of the endpoint of the area to be compensated), the number of digits (Byte) (i.e., the memory space occupied by storing the ordinate of the endpoint) is 2, and the default value is 0x0000 (specifically the obtained ordinate of the endpoint, here the default value 0 is only an example), described as the starting point vertical coordinate of the De-Mura area, that is, the vertical coordinate of the starting point of the area to be compensated, and the upper left corner is (0,0).

[0222] The name is the number of horizontal block endpoints (i.e., the storage name of the number of compensation blocks in the horizontal direction in the area to be compensated), the number of digits (Byte) (i.e., the memory space occupied by storing the number of compensation blocks in the horizontal direction in the area to be compensated) is 2, and the default value is 0x01E1 (specifically the obtained number of compensation blocks in the horizontal direction in the area to be compensated, here the default value 481 is only an example), described as the number of horizontal block endpoints, that is, the number of compensation blocks in the horizontal direction in the area to be compensated, with a default of 481 (decimal).

[0223] The name is the number of vertical block endpoints (i.e., the storage name of the number of compensation blocks in the vertical direction in the area to be compensated), the number of digits (Byte) (i.e., the memory space occupied by storing the number of compensation blocks in the vertical direction in the area to be compensated) is 2, and the default value is 0x010F (specifically the obtained number of compensation blocks in the vertical direction in the area to be compensated, here the default value 271 is only an example), described as the number of vertical block endpoints, that is, the number of compensation blocks in the vertical direction in the area to be compensated, with a default of 271 (decimal).

[0224] Example 2, the compensation rule information includes the compensation block information of the compensation blocks and the information of the area to be compensated. The compensation block information includes the size information of the compensation blocks; the information of the area to be compensated includes the center point coordinate information of the area to be compensated and the size scaling information of the area to be compensated, as shown in Table 8.

[0225] Table 8

[0226]

[0227] The name is the horizontal Block size (i.e., the storage name of the length size of the compensation block), the number of digits (Byte)

[0228] (That is, the memory space occupied by storing the length size of the compensation block) is 1, and the default value is 0x08 (specifically, the length size of the obtained compensation block, and the default value 8 here is only an example), described as the horizontal block size, that is, the length size of the compensation block: 1, 2, 4, 8, 16, corresponding to hexadecimal.

[0229] The name is the vertical Block size (that is, the storage name of the width size of the compensation block), number of bits (Byte)

[0230] (That is, the memory space occupied by storing the width size of the compensation block) is 1, and the default value is 0x08 (specifically, the width size of the obtained compensation block, and the default value 8 here is only an example), described as the vertical block size, that is, the width size of the compensation block: 1, 2, 4, 8, 16, corresponding to hexadecimal.

[0231] The name is the horizontal coordinate of the layer center (that is, the storage name of the abscissa of the center point of the area to be compensated), number of bits (Byte) (that is, the memory space occupied by storing the abscissa of the center point of the area to be compensated) is 2, and the default value is 0x0000 (specifically, the abscissa of the center point of the obtained area to be compensated, and the default value 0 here is only an example), described as the horizontal coordinate of the center point of the De-Mura area, that is, the abscissa of the center point of the area to be compensated, centered at (0,0), 66h[7:4] represents the moving direction, and 66h[3:0] and 67h represent the moving distance.

[0232] The name is the vertical coordinate of the layer center (that is, the storage name of the ordinate of the center point of the area to be compensated), number of bits (Byte) (that is, the memory space occupied by storing the ordinate of the center point of the area to be compensated) is 2, and the default value is 0x0000 (specifically, the ordinate of the center point of the obtained area to be compensated, and the default value 0 here is only an example), described as the vertical coordinate of the center point of the De-Mura area, that is, the ordinate of the center point of the area to be compensated, centered at (0,0), 68h[7:4] represents the moving direction, and 68h[3:0] and 69h represent the moving distance.

[0233] The name is the horizontal scaling factor of the layer (that is, the storage name of the length scaling factor of the area to be compensated), number of bits (Byte) (that is, the memory space occupied by storing the length scaling factor of the area to be compensated) is 2, and the default value is 0x0100 (specifically, the length scaling factor of the obtained area to be compensated, and the default value 256 here is only an example), described as H Active is the horizontal scaling factor in units of, default 1 time, 6Ah represents the integer multiple, 6Bh represents the multiple after the decimal point, H Active / take the integer after multiplying by the multiple.

[0234] The name is the vertical scaling degree of the layer (i.e., the storage name of the width scaling degree of the area to be compensated), the number of bits (Byte) (i.e., the memory space occupied by the storage of the width scaling degree of the area to be compensated) is 2, and the default value is 0x0100 (specifically, the width scaling degree of the area to be compensated obtained, and here the default value 256 is only an example), and the description is V Active The vertical scaling degree in units of, the default is 1 time, 6Ch represents an integer multiple, 6Dh represents the multiple after the decimal point, V Active / Take the integer after multiplying by the multiple.

[0235] In some embodiments, the compensation rule information further includes a target storage mode.

[0236] As shown in Table 7 or Table 8, the name is the De-Mura mode (i.e., the storage name of the target storage mode), the number of bits (Byte) (i.e., the memory space occupied by the storage of the target storage mode) is 1, the default value is 0x00, and the description is that 0x00 represents Mono Mode and 0x01 represents RGB Mode.

[0237] In some embodiments, the compensation rule information further includes a plurality of preset display parameters and the number of preset display parameters, as shown in Table 7.

[0238] The name is the Plane grayscale value (i.e., the storage name of a plurality of preset display parameters), the number of bits (Byte) (i.e., the memory space occupied by the storage of the number of preset display parameters) is 2n, and the description is the grayscale value corresponding to each fixed-point compensation grayscale (10bit), 2Byte for each grayscale value, without distinction between RGB Mode and Mono Mode. For RGB Mode, the corresponding Plane grayscale values are stored respectively (such as 32 grayscales, 64 grayscales, and 127 grayscales); for Mono Mode, the corresponding Plane grayscale values are stored in order.

[0239] The name is the number of Planes (i.e., the storage name of the number of preset display parameters), the number of bits (Byte) (i.e., the memory space occupied by the storage of the number of preset display parameters) is 1, the default value is 0x03 (specifically, the number of preset display parameters obtained, and here the default value 3 is only an example), and the description is 3~n, corresponding to hexadecimal values.

[0240] In some embodiments, the compensation rule information further includes a plurality of preset display parameters and the number of preset display parameters, as shown in Table 8.

[0241] Named fixed-point compensation gray scale (i.e., the storage name of multiple preset display parameters), with a bit number (Byte) (i.e., the memory space occupied by storing multiple preset display parameters) of 2n, described as the gray scale value (10-bit) corresponding to each fixed-point compensation gray scale, 2 Bytes for each gray scale value, without distinction between RGB Mode and Mono Mode.

[0242] Named fixed-point compensation quantity (i.e., the storage name of the number of preset display parameters), with a bit number (Byte) (i.e., the memory space occupied by storing the number of preset display parameters) of 1, and the default value is 0x03 (specifically, it is the number of preset display parameters obtained, and the default value of 3 here is only an example), described as 3 to n, corresponding to hexadecimal values.

[0243] In some embodiments, the compensation rule information further includes a gray scale lower limit value and a gray scale upper limit value, as shown in Table 7 or Table 8.

[0244] Named low gray scale limit value (i.e., the storage name of the gray scale lower limit value), with a bit number (Byte) (i.e., the memory space occupied by storing the gray scale lower limit value) of 2, and the default value is 0x0000 (specifically, it is the gray scale lower limit value obtained, and the default value of 0 here is only an example), described as the low gray scale limit degree (Level) value (10-bit), and no gray scale compensation (De-Mura) is performed for gray scales lower than this.

[0245] Named high gray scale limit value (i.e., the storage name of the gray scale upper limit value), with a bit number (Byte) (i.e., the memory space occupied by storing the gray scale upper limit value) of 2, and the default value is 0x03FF (specifically, it is the gray scale upper limit value obtained, and the default value of 1023 here is only an example), described as the high gray scale limit degree (Level) value (10-bit), and no gray scale compensation (De-Mura) is performed for gray scales higher than this.

[0246] In some embodiments, the compensation rule information further includes bit width conversion selection information, as shown in Table 8.

[0247] Named low gray scale FRC switch (i.e., the storage name of the bit width conversion selection information), with a bit number (Byte)

[0248] (i.e., the memory space occupied by storing the bit width conversion selection information) of 1, and the default value is 0x00, described as when both the lowest fixed-point compensation gray scale and the data volume requiring Dither meet the specified thresholds (that is, the bit width conversion selection information for closing the bit depth conversion function is determined according to S21 to S26), and the target storage bit width is 12-bit, the TCON IC is prompted to close the Dither function (0x01) to prevent low gray scale noise.

[0249] In this embodiment, by adding a low gray-scale FRC switch, the problems of low gray-scale flash or unevenness caused by the offset of the image quality detection (PQ) of the display device can be prevented.

[0250] In some embodiments, the compensation rule information further includes a target interpolation mode, as shown in Table 8.

[0251] The name is the interpolation calculation mode (i.e., the storage name of the target interpolation mode), the number of bits (Byte) (i.e., the memory space occupied by the storage of the target interpolation mode) is 1, the default value is 0x00, and the description is that when there are more gray levels in the Mura check, the TCON IC uses a more refined interpolation algorithm to refine the gray-level compensation, thereby reducing the number of preset display parameters and improving the efficiency. 0x00 represents first-order interpolation; 0x01 represents second-order interpolation.

[0252] In this embodiment, by adding a function to change the interpolation algorithm, the gray-level compensation is participated with the least number of preset display parameters to ensure the best compensation effect.

[0253] For the above-mentioned file header, section header, and parameter file, the present disclosure stores relevant data in a unified standard format, achieving the standardization of data storage. At the same time, the storage information under the preset storage format is enriched, facilitating subsequent gray-level compensation, thereby improving the compensation efficiency.

[0254] In some embodiments, for step S11, the preset display parameters include preset gray levels; the actual brightness corresponding to the display device at the preset gray levels is obtained, and the actual brightness is used as the optical display information.

[0255] Specifically in implementation, the preset display parameters include preset gray levels. Take a photo at 32 gray levels, take a photo at 64 gray levels, and take a photo at 127 gray levels. Use the drive circuit (Drive IC) to light up the display device under the preset display parameters, and use a high-resolution and high-precision charge coupled device (CCD) camera to take a picture of the display device lit under the preset display parameters to obtain the actual brightness corresponding to the preset gray levels, and use the actual brightness as the optical display information.

[0256] For example, the preset gray levels are 32 gray levels, 64 gray levels, and 127 gray levels respectively. The display device is lit using a driving circuit (Drive IC), and a charge coupled device (CCD) camera with high resolution and high precision is used to photograph the display device at 32 gray levels, 64 gray levels, and 127 gray levels, so as to obtain the actual brightness of the display device at 64 gray levels, 85 gray levels, and 127 gray levels. The actual brightness of the display device at 64 gray levels, 85 gray levels, and 127 gray levels is used as the optical display information.

[0257] Those skilled in the art can understand that in the above method of the specific implementation manner, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.

[0258] In a second aspect, the gray level compensation method provided by the embodiments of the present disclosure is mainly applied to a display device.

[0259] Figure 7 For the flowchart of the data storage method provided by the embodiments of the present disclosure, as Figure 7 shown, the gray level compensation method includes S31 to S33, where.

[0260] S31. Obtain the to-be-displayed picture of the display device.

[0261] S32. Read the optical compensation data from the memory.

[0262] Among them, the optical compensation data is stored by applying the data storage method in any one of the first aspects.

[0263] S33. Use the read optical compensation data to perform gray level compensation on the to-be-displayed picture to obtain the compensated display picture.

[0264] Store the optical compensation data according to the data storage method in the first aspect, where different optical compensation data groups are obtained by processing the optical display information in the corresponding compensation regions to be compensated according to the compensation rule information of different preset groups. The preset group represents the compensation accuracy of the corresponding compensation region to be compensated. Different optical compensation data groups can meet the compensation requirements of the compensation regions with different degrees of fineness in the display device. In the embodiments of the present disclosure, by means of different optical compensation data groups, the compensation regions with different degrees of fineness in the to-be-displayed picture are compensated specifically, and the compatibility of optical compensation functions with multiple precisions can be achieved. For example, it can compensate for both high-precision compensation regions (or fine compensation regions) and low-precision compensation regions (or rough compensation regions), so as to improve the optical compensation accuracy, improve the picture quality, improve the optical compensation efficiency, save hardware costs, and improve the adaptability of ordinary hardware.

[0265] In some embodiments, for S32, it specifically includes S321 to S323.

[0266] S321. Based on the target compensation position information in the to-be-displayed picture and the corresponding relationship between the compensation region to be compensated and the preset group, determine the group number information of the target preset group.

[0267] In this step, the target compensation position information can be understood as the coordinate information corresponding to the pixel point to be compensated. After storing the optical compensation data under the corresponding preset group according to the compensation region in the first aspect, based on the target compensation position information in the to-be-displayed picture and the corresponding relationship between the compensation region to be compensated and the preset group, the compensation region where the target compensation position information is located can be determined, denoted as the target compensation region to be compensated, so as to determine the target preset group corresponding to the target compensation region to be compensated, and then determine the group number information of the target preset group, such as the "nth" group.

[0268] S322. Perform data indexing based on the group number information of the target preset group and the target compensation position information to generate index information.

[0269] In specific implementation, based on the group number information of the target preset group, find the unit header file corresponding to the unit header file number (i.e., Table 6), and the parameter file corresponding to the unit header file number (i.e., Table 7 or Table 8); based on the target compensation position information, determine the target compensation block where the target compensation position information is located, and determine the compensation block information of the target compensation block; determine the target storage mode of the target preset group, and multiple preset display parameters for lighting the compensation region to be compensated according to the found parameter file (i.e., Table 7 or Table 8). In addition, obtain the target data bit width and target storage bit width of the optical compensation data by looking up the file header (File Header).

[0270] The index information includes the target storage bit width, multiple preset display parameters for lighting the area to be compensated, the compensation block information of the target compensation block where the target compensation position indicated by the target compensation position information is located, and the target storage mode of the target preset group; the storage format of the optical compensation data group includes a point position arrangement format and a data arrangement format.

[0271] S323. Based on the index information, read the optical compensation data from the memory according to the storage format of the optical compensation data group in the preset storage format.

[0272] The storage format of the optical compensation data group includes a point position arrangement format and a data arrangement format. In specific implementation, for any preset display parameter, based on the preset display parameter and the compensation block information of the target compensation block, read the optical compensation data corresponding to the target compensation block from the memory according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format, so as to obtain the optical compensation data corresponding to each of the multiple preset display parameters, that is, y1, y2, and y3 described below.

[0273] It should be noted that the optical compensation data corresponding to the same target compensation block under different preset display parameters is different. Exemplarily, for 32 gray levels (x1), 64 gray levels (x2), and 127 gray levels (x3), based on the compensation block information of the target compensation block when lighting 32 gray levels, read the optical compensation data corresponding to the target compensation block according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format, and record it as y1; based on the compensation block information of the target compensation block when lighting 64 gray levels, read the optical compensation data corresponding to the target compensation block according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format, and record it as y2; based on the compensation block information of the target compensation block when lighting 127 gray levels, read the optical compensation data corresponding to the target compensation block according to the target storage bit width in the data arrangement format and the target storage mode in the point position arrangement format, and record it as y3.

[0274] In some embodiments, for S33, it specifically includes S331 to S332.

[0275] S331. For the target compensation position in the to-be-displayed picture, based on multiple preset display parameters and the optical compensation data corresponding to each preset display parameter respectively, perform interpolation processing on the to-be-interpolated gray level of the target compensation position to obtain the output gray level of the target compensation position, which is used as the optical compensation data of the target compensation position.

[0276] In specific implementation, based on x 1 、x 2 and x 3, as well as y1, y2, and y3, perform interpolation processing on the grayscale value to be interpolated at the target compensation position. Refer to Formula 1 below to obtain the output grayscale value f(x) at the target compensation position.

[0277] Formula 1: Where x 1 , x 2 and x 3 respectively represent different preset display parameters; y 1 , y 2 and y 3 respectively represent the optical compensation data corresponding to x 1 , x 2 and x 3 respectively; x represents the grayscale value to be interpolated at the target compensation position; f(x) represents the output grayscale value at the target compensation position, that is, the optical compensation data at the target compensation position.

[0278] S332. Perform grayscale compensation on the target compensation position through the optical compensation data at the target compensation position to obtain the compensated display screen at the target compensation position.

[0279] Optionally, obtain the target data bit width (the data bit width of the data compensation table in Table 4 or Table 5); compare the size of the target data bit width and the target storage bit width; when the target storage bit width is less than the target data bit width, expand the target storage bit width of the optical compensation data to the target data bit width, and perform grayscale compensation on the target compensation position to obtain the compensated display screen at the target compensation position; for example, the target storage bit width is increased from 8bit to the target data bit width of 10bit; 127 and 128 of 8bit are expanded to 514 and 520 of 10bit. When the target storage bit width is equal to the target data bit width, there is no need to expand, and directly perform grayscale compensation on the target compensation position according to the data bit width corresponding to the target storage bit width to obtain the compensated display screen at the target compensation position.

[0280] Exemplarily, use the optical compensation data at the target compensation position as the display data. Or, use the optical compensation data at the target compensation position to weight the original grayscale value at the target compensation position to obtain the compensated display data at the target compensation position.

[0281] In this embodiment, the total number of preset display parameters is small, for example, 3 (32 grayscale levels, 64 grayscale levels, and 127 grayscale levels), and when there are more Mura inspection grayscale levels, through the cooperation of the TCON IC, read the interpolation calculation mode function in Table 8, and use the quadratic interpolation algorithm to fit a compensation effect that is more in line with the actual situation. As Figure 8As shown, by comparing and analyzing the interpolation effects of linear interpolation and quadratic interpolation at low gray levels, it can be seen that using quadratic interpolation (0x01) instead of linear interpolation (0x00) at low gray levels can improve the compensation effect without reducing production efficiency.

[0282] In some embodiments, gray level compensation is performed according to the information of the horizontal block size, vertical block size, layer center horizontal coordinate, layer center vertical coordinate, layer horizontal scaling factor, layer vertical scaling factor, and the target compensation area shown in Table 8, which can be used to accurately locate fine Mura such as FDV or Pin on the panel. For example, Figure 9 as shown, in the entire screen display panel, except for a set of full-screen De-Mura compensation (Layer 1: the size of the compensation block is 8*8, the center coordinates of the area to be compensated are (0,0), and the horizontal scaling factor and vertical scaling factor of the area to be compensated are both 0x01), for fine Mura such as FDV Mura and Pin Mura, different preset groups are required for compensation. For the preset group of FDV Mura (denoted as Layer 2), the horizontal size of the compensation block is 0x01, and the vertical size of the compensation block is 0x08; the center horizontal coordinate of the area to be compensated is 0x0134, and the center vertical coordinate of the area to be compensated is 0x0000, that is, relative to the center point of the panel, the center point of the area to be compensated is translated 308 (10-bit) pixels to the right horizontally, and the vertical direction remains unchanged; the horizontal scaling factor of the area to be compensated is 0x1314, and the vertical scaling factor is 0x0100, that is, relative to the entire screen size (H Active / V Active )), the horizontal direction is scaled by 1 / 19.2 times (200 pixels in 10-bit), and the vertical direction is scaled by 1 / 1 times (2160 pixels in 10-bit, unchanged); for the preset group of a certain Pin Mura (denoted as Layer 3), the horizontal size of the compensation block is 0x01, and the vertical size of the compensation block is 0x01; the center horizontal coordinate of the area to be compensated is 0x156A, and the center vertical coordinate of the area to be compensated is 0x0201, that is, relative to the center point of the panel, the center point of the area to be compensated is translated 1386 (10-bit) pixels to the left horizontally and 513 (10-bit) pixels upward vertically; the horizontal scaling factor of the area to be compensated is 0x5000, and the vertical scaling factor is 0x2D00, that is, relative to the entire screen size, the horizontal direction is scaled by 1 / 80 times (48 pixels in 10-bit), and the vertical direction is scaled by 1 / 45 times (48 pixels in 10-bit); that is, the Mura position and area can be accurately located through the address (64h to 6Dh).

[0283] In some embodiments, the stored information in the preset storage format includes the minimum size information of the compensation block, the maximum number of bound points, and the total number of preset groups.

[0284] Before performing grayscale compensation on the display screen, it further includes: allocating the current computing power resources based on the minimum size information of the compensation block, the maximum number of bonding points, and the total number of preset groups to obtain the allocated computing power resources, so as to perform grayscale compensation using the allocated computing power resources.

[0285] In this embodiment, by retrieving the minimum size information of the compensation block, the maximum number of bonding points, and the total number of preset groups stored in advance, the computing power of the timing control chip (TCON IC) is reasonably allocated, avoiding display problems caused by insufficient computing power allocation of the TCON IC, and shortening the startup time.

[0286] In some embodiments, the stored information in the preset storage format includes verification parameters for verifying the preset groups. The grayscale compensation method further includes S41 to S44.

[0287] S41. During the process of reading the optical compensation data, calculate the reading parameters of the optical compensation data for the target preset group.

[0288] Specifically, for the target preset group, read the bit values of all contents in Table 4 (or Table 5), and Tables 6 and 7 (or Table 8) corresponding to the target preset group, and use the CRC16 (Cyclic Redundancy Check) algorithm to calculate the reading parameters of the optical compensation data for the target preset group.

[0289] S42. Determine whether the verification parameters match the reading parameters. If they do not match, sequentially execute S43; otherwise, execute S44.

[0290] The verification parameters are also the data verification of the unit header file in Table 4 (the check value of Section Header, SectionCRC), or the unit header file & header file data verification in Table 5 (the check value of File & Section Header, SettingCRC).

[0291] S43. In response to the mismatch between the verification parameters and the reading parameters, determine that the reading process of the optical compensation data for the target preset group is abnormal.

[0292] S44. In response to the match between the verification parameters and the reading parameters, determine that the reading process of the optical compensation data for the target preset group is normal.

[0293] In specific implementation, convert the storage format code corresponding to the section header information (Section Header) into verification parameters (that is, the data verification of the unit header file in Table 4, or the unit header file & header file data verification in Table 5).

[0294] When calling the stored optical compensation data, it is necessary to read the optical compensation data, and during the reading process, calculate the reading parameters of the optical compensation data for the target preset group.

[0295] Use the verification parameter to check against the reading parameter. If the verification parameter matches the reading parameter, it indicates that the reading process is normal; if the verification parameter does not match the reading parameter, it indicates that the reading process is abnormal.

[0296] Based on the matching situation between the verification parameter and the reading parameter, it is possible to quickly detect whether there is an abnormality in the reading process.

[0297] In some embodiments, the verification parameter is a cyclic redundancy check code.

[0298] Specifically, when implementing, the cyclic redundancy check code has a fast verification speed and a low error rate for verification. Therefore, using the cyclic redundancy check code as the verification parameter to check against the reading parameter can ensure the accuracy of determining whether there is an abnormality in the reading process.

[0299] In a third aspect, the present disclosure embodiments also provide a data storage device corresponding to the data storage method. Since the principle of solving problems by the data storage device in the present disclosure embodiments is similar to the above-mentioned data storage method in the present disclosure embodiments, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0300] Figure 10 It is a schematic diagram of a data storage device provided by an embodiment of the present disclosure. As Figure 10 shown, the data storage device includes an information acquisition module 101, a data processing module 102, and a storage module 103.

[0301] The information acquisition module 101 is configured to obtain the optical display information of any to-be-compensated area of the display device under preset display parameters; the display device is divided into at least one to-be-compensated area; one to-be-compensated area corresponds to one preset group; the preset group represents the compensation accuracy of the corresponding to-be-compensated area.

[0302] It should be noted that the information acquisition module 101 in the present disclosure embodiments is configured to execute step S11 in the above-mentioned data storage method.

[0303] The data processing module 102 is configured to, for any preset group, obtain the compensation rule information of the preset group in a preset storage format, and based on the compensation rule information, process the optical display information in the to-be-compensated area to generate an optical compensation data group.

[0304] It should be noted that the data processing module 102 in the present disclosure embodiments is configured to execute step S12 in the above-mentioned data storage method.

[0305] A storage module 103, configured to store the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in a preset storage format.

[0306] It should be noted that the storage module 103 in the embodiments of the present disclosure is configured to execute step S13 in the above data storage method.

[0307] In a fourth aspect, an apparatus for gray-scale compensation corresponding to the gray-scale compensation method is further provided in the embodiments of the present disclosure. Since the principle of solving problems by the apparatus for gray-scale compensation in the embodiments of the present disclosure is similar to that of the above gray-scale compensation method in the embodiments of the present disclosure, the implementation of the apparatus can refer to the implementation of the method, and the repeated parts will not be described again.

[0308] Figure 11 It is a schematic diagram of an apparatus for gray-scale compensation provided by an embodiment of the present disclosure. As Figure 11 shown, the apparatus for gray-scale compensation includes a picture acquisition module 111, a data reading module 112, and a gray-scale compensation module 113.

[0309] The picture acquisition module 111 is configured to acquire a picture to be displayed of a display device.

[0310] It should be noted that the picture acquisition module 111 in the embodiments of the present disclosure is configured to execute step S31 in the above gray-scale compensation method.

[0311] The data reading module 112 is configured to read optical compensation data from a memory. The optical compensation data is stored by applying the data storage method in any one of the first aspects.

[0312] It should be noted that the data reading module 112 in the embodiments of the present disclosure is configured to execute step S32 in the above gray-scale compensation method.

[0313] The gray-scale compensation module 113 is configured to perform gray-scale compensation on the picture to be displayed by using the read optical compensation data to obtain a compensated display picture.

[0314] It should be noted that the gray-scale compensation module 113 in the embodiments of the present disclosure is configured to execute step S33 in the above gray-scale compensation method.

[0315] In a fifth aspect, the present disclosure further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the data storage method or the gray-scale compensation method in any one of the above embodiments.

[0316] Figure 12FIG. 0 shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1201, a memory 1202, an input / output interface 1203, a communication interface 1204, and a bus 1205. Among them, the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204 are communicatively connected to each other inside the device through the bus 1205.

[0317] The processor 1201 may be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0318] The memory 1202 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1202 may store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1202 and are called and executed by the processor 1201.

[0319] The input / output interface 1203 is used to connect to an input / output module to implement information input and output. The input / output module may be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0320] The communication interface 1204 is used to connect to a communication module (not shown in the figure) to implement communication interaction between this device and other devices. Among them, the communication module may implement communication in a wired manner (such as USB, network cable, etc.) or in a wireless manner (such as mobile network, WIFI, Bluetooth, etc.).

[0321] The bus 1205 includes a path for transmitting information between various components of the device (such as the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204).

[0322] It should be noted that although the above device only shows the processor 1201, the memory 1202, the input / output interface 1203, the communication interface 1204, and the bus 1205, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0323] The electronic device in the above embodiment is used to implement the corresponding data storage method or grayscale compensation method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0324] Based on the same inventive concept, corresponding to the method in any of the above embodiments, the present application also provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the data storage method or grayscale compensation method in any of the foregoing embodiments.

[0325] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0326] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the data storage method or grayscale compensation method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0327] Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope of the present application (including the claims) is limited to these examples; under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present application as above, which are not provided in detail for the sake of brevity.

[0328] In addition, for simplicity of explanation and discussion, and in order not to make the embodiments of the present application difficult to understand, well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Further, the devices may be shown in block diagram form in order to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (i.e., these details should be fully within the understanding of those skilled in the art). In cases where specific details (such as circuits) are set forth to describe exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application may be practiced without these specific details or with variations of these specific details. Accordingly, these descriptions should be considered illustrative rather than restrictive.

[0329] Although the present application has been described in connection with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0330] Embodiments of the present application are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of the present application shall be included within the protection scope of the present application.

Claims

1. A data storage method, applied to a display device, wherein the display device is divided into at least one area to be compensated; characterized in that: The method comprises: Obtaining optical display information of any of the areas to be compensated under preset display parameters; one of the areas to be compensated corresponds to a preset group; the preset group represents the compensation accuracy of the corresponding area to be compensated; For any of the preset groups, obtaining compensation rule information of the preset group in a preset storage format, and processing the optical display information in the area to be compensated based on the compensation rule information to generate an optical compensation data group; The optical compensation data in the optical compensation data group is stored in a preset storage area according to a storage format corresponding to the optical compensation data group under a preset storage format.

2. The data storage method according to claim 1, characterized in that: The compensation rule information includes at least compensation block information of the compensation block and information of the area to be compensated; The step of processing the optical display information in the area to be compensated based on the compensation rule information to generate an optical compensation data set includes: Based on the information of the area to be compensated, the compensation block information and the optical display information, optical compensation data corresponding to each compensation block is obtained, and the obtained plurality of optical compensation data is taken as a group of optical compensation data.

3. The data storage method according to claim 2, characterized in that: The compensation block information includes size information of the compensation block and quantity information of the compensation blocks in the area to be compensated; the information of the area to be compensated includes endpoint coordinate information of the area to be compensated; or, The compensation block information includes size information of the compensation block; the information of the area to be compensated includes center point coordinate information of the area to be compensated and size scaling information of the area to be compensated.

4. The data storage method according to claim 1, characterized in that: The storage information in the preset storage format includes the target storage bit width; the compensation rule information of the preset group includes the target storage mode; the storage format of the optical compensation data group includes the point arrangement format and the data arrangement format; The storing the optical compensation data in the optical compensation data group into a preset storage area according to the storage format corresponding to the optical compensation data group in the preset storage format comprises: The optical compensation data in the optical compensation data group is stored in the preset storage area according to the target storage bit width in the data arrangement format and the target storage mode in the dot arrangement format.

5. The data storage method according to claim 4, characterized in that: The data arrangement format includes the storage address of the optical compensation data and the arrangement and storage mode of each optical compensation data at the corresponding storage address.

6. The data storage method according to claim 4, characterized in that: The target storage mode is a three-primary-color mode or a monochrome mode.

7. The data storage method according to claim 4, characterized in that: The storage information in the preset storage format also includes the target data bit width and the total number of the preset groups; The step of determining the target storage bit width comprises: The target storage bit width is determined according to the target data bit width and the total number of the preset groups, and the target storage bit width is used as storage information in the preset storage format.

8. The data storage method according to claim 7, characterized in that: The target storage bit width is less than or equal to the target data bit width.

9. The data storage method according to claim 1, characterized in that: The storage information of the preset storage format also includes the target data bit width and target storage bit width of the optical compensation data, and the grayscale lower limit value; The compensation rule information at least includes a plurality of preset display parameters and bit width conversion selection information; The step of determining the bit width conversion selection information comprises: Reading the target data bit width and the target storage bit width, and determining whether any one of the target data bit width and the target storage bit width is greater than or equal to a first preset value; In the case where any one of the target data bit width and the target storage bit width is greater than or equal to a first preset value, determining whether the grayscale lower limit value is less than or equal to a second preset value; When the grayscale lower limit value is less than or equal to the second preset value, reading the lowest preset grayscale among the plurality of preset display parameters corresponding to each of the areas to be compensated; Determining whether the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset grayscale that needs to be subjected to bit depth conversion is greater than or equal to a third preset value; If the amount of optical compensation data in the optical compensation data group corresponding to the lowest preset grayscale that needs to be bit-depth converted is greater than or equal to a third preset value, the bit-width conversion selection information is determined to be information for disabling a bit-depth conversion function.

10. The data storage method according to claim 9, characterized in that: The data storage method further comprises: When the first preset condition is met, determining that the bit width conversion selection information is information for enabling a bit depth conversion function; Among them, the situations that satisfy the first preset condition include any one of the following: any one of the target data bit width and the target storage bit width is less than the first preset value; the grayscale lower limit value is greater than the second preset value; the optical compensation data in the optical compensation data group corresponding to the lowest preset grayscale, if the amount of data that needs to be converted into bit depth is less than the third preset value.

11. The data storage method according to claim 1, characterized in that: The display device is divided into a plurality of areas to be compensated; different areas to be compensated correspond to different preset groups; The compensation rule information at least includes compensation block information; The data storage method further comprises: Determining minimum size information of a compensation block based on the compensation block information corresponding to each of the preset groups; The minimum size information is used as storage information in the preset storage format.

12. The data storage method according to claim 1, characterized in that: The display device is divided into a plurality of areas to be compensated; different areas to be compensated correspond to different preset groups; the compensation rule information of the preset groups at least includes the number of preset display parameters lit in the areas to be compensated; The data storage method further comprises: Based on the number of preset display parameters corresponding to each of the preset groups, a maximum number of preset display parameters is determined and recorded as a maximum number of binding points; The maximum number of binding points is used as storage information in the preset storage format.

13. The data storage method according to claim 1, characterized in that: The data storage method further comprises: Acquire the identity identification parameters of the display device, and use the identity identification parameters as storage information in the preset storage format; the identity identification parameters represent the identity information and performance information of the display device.

14. The data storage method according to claim 1, characterized in that: The data storage method further comprises: Component information of the display device is obtained, and the component information is used as storage information in the preset storage format; the component information represents the identity information and performance parameters of the internal parts of the display device.

15. The data storage method according to claim 1, characterized in that: The plurality of preset display parameters of the area to be compensated that are sequentially lit up are all different.

16. The data storage method according to claim 1, characterized in that: The preset display parameters include preset grayscale; The obtaining of optical display information of the display device under preset display parameters includes: The actual brightness of the display device corresponding to the preset gray scale is obtained, and the actual brightness is used as the optical display information.

17. A grayscale compensation method, characterized in that: include: Acquire a picture to be displayed on a display device; Reading optical compensation data from a memory; wherein the optical compensation data is stored by applying the data storage method according to any one of claims 1 to 16; The read optical compensation data is used to perform grayscale compensation on the image to be displayed to obtain a compensated display image.

18. The grayscale compensation method according to claim 17, characterized in that: The display device is divided into a plurality of areas to be compensated; Different areas to be compensated correspond to different preset groups; The step of reading the optical compensation data from the memory comprises: Determine the number of target preset groups based on the target compensation position information in the to-be-displayed picture and the correspondence between the to-be-compensated area and the preset groups; Perform data indexing based on the group number information of the target preset grouping and the target compensation position information to generate index information; Based on the index information, the optical compensation data is read from a memory in accordance with a storage format of the optical compensation data group in a preset storage format.

19. The grayscale compensation method according to claim 18, characterized in that: The index information includes a target storage bit width, a plurality of preset display parameters for lighting the area to be compensated, compensation block information of a target compensation block where a target compensation position indicated by the target compensation position information is located, and a target storage mode of the target preset grouping; The storage format of the optical compensation data set includes a point arrangement format and a data arrangement format; The step of reading the optical compensation data from a memory based on the index information and in accordance with a storage format of the optical compensation data group in a preset storage format comprises: For any of the preset display parameters, based on the preset display parameters and the compensation block information of the target compensation block, the optical compensation data corresponding to the target compensation block is read from the memory in accordance with the target storage bit width under the data arrangement format and the target storage mode under the point arrangement format, so as to obtain the optical compensation data corresponding to multiple preset display parameters respectively.

20. The grayscale compensation method according to claim 19, characterized in that: The method of using the optical compensation data read to perform grayscale compensation on the image to be displayed to obtain a compensated display image includes: For a target compensation position in the picture to be displayed, based on a plurality of the preset display parameters and the optical compensation data corresponding to each of the preset display parameters, interpolate the grayscale to be interpolated at the target compensation position to obtain an output grayscale of the target compensation position as the optical compensation data at the target compensation position; Grayscale compensation is performed on the target compensation position using the optical compensation data of the target compensation position to obtain a compensated display image of the target compensation position.

21. The grayscale compensation method according to claim 17, characterized in that: The storage information in the preset storage format includes the minimum size information of the compensation block, the maximum number of binding points, and the total number of the preset groups; Before performing grayscale compensation on the image to be displayed by using the optical compensation data read to obtain a compensated display image, the method further includes: Based on the minimum size information of the compensation block, the maximum number of binding points, and the total number of the preset groups, the current computing power resources are allocated to obtain the allocated computing power resources, so as to use the allocated computing power resources to perform grayscale compensation.

22. The grayscale compensation method according to claim 18, characterized in that: The storage information in the preset storage format includes verification parameters for verifying the preset grouping; The grayscale compensation method further includes: In the process of reading the optical compensation data, calculating a reading parameter of the optical compensation data for the target preset group; In response to the verification parameter not matching the reading parameter, determining that the reading process of the optical compensation data for the target preset group is abnormal; or, In response to the verification parameter matching the reading parameter, it is determined that the reading process of the optical compensation data for the target preset group is normal.

23. The grayscale compensation method according to claim 22, characterized in that: The verification parameter is a cyclic redundancy check code.

24. A data storage device, characterized in that: include: An information acquisition module is configured to obtain optical display information of any area to be compensated of the display device under preset display parameters; The display device is divided into at least one area to be compensated; one area to be compensated corresponds to one preset group; The preset group represents the compensation accuracy of the corresponding area to be compensated; a data processing module configured to obtain, for any of the preset groups, compensation rule information of the preset group in a preset storage format, and process the optical display information in the area to be compensated based on the compensation rule information to generate an optical compensation data group; The storage module is configured to store the optical compensation data in the optical compensation data group into a preset storage area according to a storage format corresponding to the optical compensation data group under a preset storage format.

25. A grayscale compensation device, characterized in that: include: A picture acquisition module is configured to acquire a picture to be displayed by the display device; A data reading module, configured to read optical compensation data from a memory; wherein the optical compensation data is stored using the data storage method according to any one of claims 1 to 16; The grayscale compensation module is configured to perform grayscale compensation on the image to be displayed by using the read optical compensation data to obtain a compensated display image.

26. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the data storage method as described in any one of claims 1 to 16 is implemented; or, when the processor executes the program, the grayscale compensation method as described in any one of claims 17 to 23 is implemented.

27. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the data storage method as described in any one of claims 1 to 16; or, the computer instructions are used to enable a computer to execute the grayscale compensation method as described in any one of claims 17 to 23.

Citation Information

Cited By

  • Data storage method and device compatible with various Demura IPs

    CN120912488A