Data processing method and device, display device and display terminal
By using a differentiated compression algorithm to process the compensation data of OLED display panels, the problems of brightness and color uniformity in OLED display products have been solved, and storage space has been optimized and compensation effect has been improved.
Patent Information
- Application Number
- CN202510104260.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2026-07-24
AI Technical Summary
The performance of existing OLED display products needs improvement, particularly in terms of brightness and color uniformity.
Different compression algorithms are used to process the compensation data of the OLED display panel. Different compression algorithms are used for different display states, including a first compression algorithm and a second compression algorithm, to perform differentiated compression processing on the target compensation data and the remaining compensation data.
While ensuring the brightness compensation effect, the amount of stored data was reduced, saving storage space, and the detail and effect of the compensation data were improved.
Smart Images

Figure CN122454886A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a data processing method, apparatus, display device, and display terminal. Background Technology
[0002] Organic light-emitting diode (OLED) and flat panel display devices based on light-emitting diode (LED) technologies are widely used in various consumer electronics products such as mobile phones, televisions, laptops, and desktop computers due to their advantages such as high image quality, energy saving, thin body and wide range of applications, becoming the mainstream of display devices.
[0003] However, the performance of current OLED display products needs to be improved. Summary of the Invention
[0004] In view of the above, embodiments of this application provide a data processing method, apparatus, display device, and display terminal to at least partially solve the above problems.
[0005] According to a first aspect of the embodiments of this application, a data processing method is provided, comprising: acquiring multiple sets of compensation data to be compressed for a target display panel; the multiple sets of compensation data respectively correspond to different display states of the target display panel; the compensation data are used to compensate for the display brightness of the target display panel; determining target compensation data and remaining compensation data from the multiple sets of compensation data; the target compensation data is a portion of the multiple sets of compensation data; compressing the target compensation data using a first compression algorithm, and compressing the remaining compensation data using a second compression algorithm; wherein, for the same set of compensation data, the data compression amounts obtained by the first compression algorithm and the second compression algorithm are different.
[0006] According to a second aspect of the embodiments of this application, a data processing apparatus is provided, comprising: an acquisition module, configured to acquire multiple sets of compensation data to be compressed for a target display panel; the multiple sets of compensation data respectively correspond to different display states of the target display panel; the compensation data are used to compensate for the display brightness of the target display panel; a first calculation module, configured to determine target compensation data and remaining compensation data from the multiple sets of compensation data; the target compensation data is a portion of the multiple sets of compensation data; and a second calculation module, configured to compress the target compensation data using a first compression algorithm and compress the remaining compensation data using a second compression algorithm; wherein, for the same set of compensation data, the data compression amounts obtained by the first compression algorithm and the second compression algorithm are different.
[0007] According to a third aspect of the present application, a display device is provided, comprising: a display panel; a computer storage medium configured to store computer program instructions for performing the data processing method as described in the first aspect; and a processor configured to execute the computer program instructions to obtain compensation data for brightness compensation of the display panel.
[0008] According to a fourth aspect of the embodiments of this application, a display terminal is provided, the display terminal including a terminal device body and a display device as described in the third aspect disposed on the terminal device body.
[0009] According to a fifth aspect of the present application, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction causes the processor to perform an operation corresponding to the method described in the first aspect.
[0010] According to a sixth aspect of the embodiments of this application, a computer storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0011] According to a seventh aspect of the embodiments of this application, a computer program product is provided, including computer instructions that instruct a computing device to perform an operation corresponding to the method described in the first aspect.
[0012] According to the data processing method, apparatus, display device, and display terminal provided in the embodiments of this application, the data processing method includes: acquiring multiple sets of compensation data to be compressed for a target display panel; the multiple sets of compensation data correspond to different display states of the target display panel; the compensation data are used to compensate the display brightness of the target display panel; determining target compensation data and remaining compensation data from the multiple sets of compensation data; the target compensation data is a portion of the multiple sets of compensation data; compressing the target compensation data using a first compression algorithm, and compressing the remaining compensation data using a second compression algorithm; wherein, for the same set of compensation data, the data compression amounts using the first compression algorithm and the second compression algorithm are different. In order to perform brightness compensation for different display states of the target display panel, it is necessary to store compensation data corresponding to different display states. Based on a comprehensive consideration of the compensation effect and the amount of data to be stored, this solution sets a first compression algorithm and a second compression algorithm with different data compression amounts, and uses the first compression algorithm to compress a portion of the compensation data from the multiple sets of compensation data, and uses the second compression algorithm to compress the remaining compensation data. This can reduce the amount of data that needs to be stored while ensuring the compensation effect, thereby meeting the user's storage needs. Furthermore, the data compression amounts of the first compression algorithm and the second compression algorithm are different, that is, there is a size relationship between the data compression amounts of the first compression algorithm and the second compression algorithm. Assuming that the data compression amount of the first compression algorithm is less than that of the second compression algorithm, under the condition of satisfying a fixed storage space, since the amount of compressed compensation data obtained by the first compression algorithm can be less, some storage space can be saved. Therefore, when the second compression algorithm is compressed, the remaining compensation data can be compressed with a smaller number of pixels as the compression unit, so that the compressed compensation data corresponding to the remaining compensation data has higher detail and correspondingly better compensation effect. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0014] Figure 1 This is a flowchart illustrating the steps of a data processing method according to an embodiment of this application.
[0015] Figures 2A to 2C This is a schematic diagram illustrating a data processing method according to an embodiment of this application;
[0016] Figure 3 This is a structural block diagram of a data processing apparatus according to an embodiment of this application;
[0017] Figure 4 This is a schematic diagram of the structure of a display terminal according to an embodiment of this application;
[0018] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0019] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.
[0020] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in the embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.
[0021] It should be understood that in the description of the embodiments of this application, the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. They are only for the convenience of describing the scheme of the embodiments of this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0022] Furthermore, when an element or layer is referred to as being "on" another element or layer, "connected to," or "bonded to" another element or layer, the element or layer may be directly on the other element or layer, directly connected to, or directly bonded to the other element or layer, or there may be intermediate elements or layers. However, when an element or layer is referred to as being "directly on" another element or layer, "directly connected to," or "directly bonded to" another element or layer, there are no intermediate elements or layers.
[0023] The terms First, Second, etc., are used to describe various elements, components, regions, layers, and / or parts, but these elements, components, regions, layers, and / or parts should not be limited by these terms. These terms are used to distinguish one element, component, region, layer, and / or part from another element, component, region, layer, and / or part.
[0024] Unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0025] The specific implementation of the embodiments of this application will be further described below with reference to the accompanying drawings.
[0026] Figure 1 This is a flowchart illustrating the steps of a data processing method according to an embodiment of this application. According to a first aspect of an embodiment of this application, a data processing method is provided, referring to... Figure 1 As shown, the method includes steps S102, S104, and S106, specifically:
[0027] S102. Obtain multiple sets of compensation data to be compressed for the target display panel.
[0028] For example, the target display panel can be an OLED display panel, which is an organic light-emitting diode display panel. An OLED can be composed of a substrate, an anode, a hole transport layer, an organic light-emitting layer, an electron transport layer, and a cathode. The substrate is usually made of materials such as glass or flexible plastic, providing support for the entire device; the anode is generally made of a transparent conductive material (such as indium tin oxide, ITO) for injecting holes; the hole transport layer helps holes to be transported smoothly to the organic light-emitting layer; the organic light-emitting layer is the core part, composed of various organic materials, and different organic materials can emit different colors of light, that is, the organic light-emitting layer can include multiple pixels; the electron transport layer is responsible for transferring electrons to the organic light-emitting layer; and the cathode is used for injecting electrons.
[0029] The compensation data is used to compensate for the display brightness of the target display panel. For example, the compensation data could be voltage compensation data, etc. Multiple sets of compensation data correspond to different display states of the target display panel; that is, one set of compensation data corresponds to one display state of the target display panel. The different display states of the target display panel can be divided according to display grayscale values, such as high grayscale state, medium grayscale state, low grayscale state, etc.; or, they can also be divided according to display brightness values, such as low brightness state, medium brightness state, high brightness state, etc. Here, the different display states of the target display panel can correspond to one or more display mura types.
[0030] The grayscale of a target display panel refers to the different gray levels displayed in an image, also known as grayscale grades, grayscale levels, or grayscale range. It is usually represented numerically by the brightness or darkness of pixels in an image, and typically includes 256 grayscale levels (0-255), 1024 grayscale levels (0-1023), 4096 grayscale levels (0-4095), 65536 grayscale levels (0-65535), and so on. Low grayscale refers to the relatively darker portion of the brightness level within the entire grayscale range, that is, the grayscale level area near the black end. High grayscale refers to the relatively bright portion of the brightness level within the entire grayscale range, that is, the grayscale level area near the white end.
[0031] The Display Brightness Value (DBV) of the target display panel is a numerical value used to represent the brightness control of the display panel. It can usually be between 0 and 255. The larger the value, the brighter the corresponding display screen.
[0032] Mura refers to the uneven brightness of a target display panel, causing various imperfections. Display mura types can include linear mura, dot mura, and color mura. Linear mura appears as straight or curved areas of uneven brightness or color; dot mura appears as single or multiple isolated bright or dark spots; and color mura appears as localized color deviations when displaying solid colors or grayscale images. Different compensation data can be used for brightness compensation to achieve uniform brightness and color in different types of display mura.
[0033] S104. Determine the target compensation data and the remaining compensation data from multiple sets of compensation data.
[0034] The target compensation data consists of a subset of data from multiple sets of compensation data.
[0035] For example, multiple sets of compensation data can be divided into two parts, with each set as a whole: one part being the target compensation data and the remaining part being the residual compensation data. For instance, if the multiple sets of compensation data include five sets, one set can be designated as the target compensation data, and the remaining four sets as the residual compensation data. Alternatively, a portion of the compensation data in each set can be designated as the target compensation data, and the remaining portion of each set excluding that portion can be designated as the residual compensation data. This embodiment does not impose any limitations on this approach. Optionally, the target compensation data is suitable for compression algorithms with low data compression ratios, while the residual compensation data is suitable for compression algorithms with high data compression ratios.
[0036] In some optional embodiments, determining target compensation data and remaining compensation data from multiple sets of compensation data includes: determining target compensation data from multiple sets of compensation data based on the display state of the target display panel corresponding to each set of compensation data in the multiple sets of compensation data; and determining the data other than the target compensation data in the multiple sets of compensation data as remaining compensation data.
[0037] For example, target compensation data can be determined from multiple sets of compensation data based on the display state of the target display panel corresponding to each set of compensation data. That is, the target compensation data can be determined based on the display mura type corresponding to the display state of the target display panel. Compensation data corresponding to at least one display state can be determined as target compensation data; this embodiment does not limit this. For example, the display states corresponding to multiple sets of compensation data may include high grayscale state, low grayscale state, low brightness state, high brightness state, etc. Compensation data corresponding to a high grayscale state can be determined as target compensation data; and / or, compensation data corresponding to a low brightness state can be determined as target compensation data, etc., and this embodiment does not limit this. Then, the data other than the target compensation data in the multiple sets of compensation data are determined as the remaining compensation data. (Refer to...) Figure 2A The multiple sets of compensation data include three sets: the first set corresponds to a brightness DBV of brightness 1 and a grayscale Gray level of grayscale 2; the second set corresponds to a brightness DBV of brightness 2 and a grayscale Gray level of grayscale 1; and the third set corresponds to a brightness DBV of brightness 2 and a grayscale Gray level of grayscale 3. It can be determined that the first set of compensation data is the target compensation data, and the remaining two sets are the residual compensation data. The target compensation data is compressed using a first compression algorithm (represented by W in the figure), and the residual compensation data is compressed using a second compression algorithm (represented by RGB in the figure).
[0038] Since different display states of the target display panel may exhibit different display mura types, this embodiment determines the target compensation data and remaining compensation data from multiple sets of compensation data based on the display state of the target display panel corresponding to each set of compensation data. Different compression algorithms can then be used to compress the target compensation data and remaining compensation data. This allows for flexible selection of different compression algorithms for different display mura types, meeting the user's compensation needs for different display mura types. Furthermore, it can reduce the amount of compressed data while ensuring the compensation effect of the compressed compensation data for the corresponding display mura type, thereby improving the overall data processing efficiency.
[0039] In some optional embodiments, for the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm; determining target compensation data from the multiple sets of compensation data according to the display state of the target display panel corresponding to each set of compensation data includes: determining the compensation data corresponding to the target display panel being in a high grayscale state from the multiple sets of compensation data; determining the compensation data corresponding to the target display panel being in a high grayscale state as the target compensation data; wherein, the high grayscale state indicates that the target display panel is in a state where the display grayscale value is greater than a preset grayscale threshold.
[0040] For example, for the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than that obtained by the second compression algorithm. Since the amount of compressed compensation data obtained by the first compression algorithm is smaller, while the amount of compressed compensation data obtained by the second compression algorithm is larger, the second compression algorithm, compared to the first compression algorithm, achieves higher compensation accuracy and better compensation effect. The display states of the target display panel corresponding to multiple sets of compensation data can include high grayscale state, low grayscale state, low brightness state, high brightness state, etc. A set of compensation data corresponding to the high grayscale state of the target display panel can be selected from multiple sets of compensation data and used as the target compensation data. Here, the high grayscale state indicates that the target display panel is in a state where the display grayscale value is greater than a preset grayscale threshold. The preset grayscale threshold can be flexibly set by those skilled in the art according to actual conditions. For example, when the grayscale range is 0-255 levels, the preset grayscale threshold can be 253 levels, etc. This embodiment does not limit this.
[0041] When the target display panel is in a high grayscale state, there is usually no snow mura. That is, the compressed compensation data corresponding to the high grayscale state has fewer display mura problems to solve. Therefore, in this embodiment, the compensation data corresponding to the target display panel in a high grayscale state is determined as the target compensation data. Then, the target compensation data is compressed by a first compression algorithm with a smaller compressed data volume. This can reduce the amount of data in the compressed compensation data while ensuring that the compressed compensation data has a good compensation effect when the target display panel is in a high grayscale state.
[0042] In some optional embodiments, for the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm; determining target compensation data from the multiple sets of compensation data according to the display state of the target display panel corresponding to each set of compensation data includes: determining the compensation data corresponding to the target display panel being in a low brightness state from the multiple sets of compensation data; determining the compensation data corresponding to the target display panel being in a low brightness state as the target compensation data; wherein, the low brightness state indicates that the target display panel is in a state where the display brightness value is less than a preset brightness threshold.
[0043] For example, the display states of the target display panel corresponding to multiple sets of compensation data may include high grayscale state, low grayscale state, low brightness state, high brightness state, etc. A set of compensation data corresponding to the low brightness state of the target display panel can be selected from the multiple sets of compensation data and used as the target compensation data. Here, the low brightness state indicates that the target display panel is in a state where the display brightness value is less than a preset brightness threshold. The preset brightness threshold can be flexibly set by those skilled in the art according to actual conditions. For example, the brightness range is 0-255 nits, and the preset brightness threshold can be 12 nits, etc. This embodiment does not impose any limitations on this.
[0044] When the target display panel is in a low-brightness state, users often find it difficult to perceive the display mura (snow-like appearance) on the display panel. This means that the compressed compensation data for low-brightness states has fewer display mura issues to address. Therefore, in this embodiment, the compensation data corresponding to the target display panel in a low-brightness state is determined as the target compensation data. Then, a first compression algorithm with a smaller compressed data size is used to compress the target compensation data, resulting in a smaller compressed compensation data size while ensuring good compensation effect for the target display panel in a low-brightness state. Furthermore, given a fixed storage space requirement, the reduced data size of the compressed compensation data obtained from the first compression algorithm saves storage space. This allows the remaining compensation data to be compressed using a smaller number of pixels as the compression unit during the second compression algorithm, resulting in higher detail in the compressed compensation data and a better compensation effect.
[0045] S106. The target compensation data is compressed using the first compression algorithm, and the remaining compensation data is compressed using the second compression algorithm.
[0046] Specifically, for the same set of compensation data, the compression amounts obtained by the first compression algorithm and the second compression algorithm are different. Optionally, for the same set of compensation data, the compressed compensation data obtained by the first compression algorithm is smaller than the compressed compensation data obtained by the second compression algorithm.
[0047] For example, the multiple sets of compensation data include 5 sets of compensation data. One set of compensation data can be identified as the target compensation data, and the remaining 4 sets are the residual compensation data. The target compensation data is compressed using a first compression algorithm to obtain 1 set of compressed compensation data. The residual compensation data is compressed using a second compression algorithm to obtain 4 sets of compressed compensation data. The 1 set and 4 sets of compressed compensation data are stored for brightness compensation during application to the target display panel.
[0048] In some optional embodiments, the target compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The process of the first compression algorithm to compress the target compensation data includes: fusing the sub-pixel compensation data corresponding to each color channel of a single pixel in the target compensation data to obtain multiple pixel compensation data; and fusing the pixel compensation data according to a first preset number of compressed pixels to obtain multiple compressed compensation data.
[0049] For example, the target display panel includes multiple pixels, each pixel including sub-pixels corresponding to three color channels: red, green, and blue. Each pixel then includes sub-pixels R, G, and B. The target compensation data includes sub-pixel compensation data corresponding to each color channel of the multiple pixels. When compressing the target compensation data using the first compression algorithm, the sub-pixel compensation data corresponding to each color channel of each pixel can be fused first to obtain multiple pixel compensation data corresponding to multiple pixels. Then, according to a first preset number of compressed pixels, the pixel compensation data is fused to obtain multiple compressed compensation data corresponding to multiple pixel blocks. Each pixel block includes multiple pixels corresponding to the first preset number of compressed pixels. Here, the first preset number of compressed pixels can be flexibly set by those skilled in the art according to actual conditions. For example, the first preset number of compressed pixels can be 2, 4, or 8; this embodiment does not limit this. Assuming the target compensation data includes sub-pixel compensation data corresponding to each color channel of 20 pixels (a total of 60 sub-pixel compensation data), the first step is to fuse the three sub-pixel compensation data corresponding to each color channel of each pixel to obtain 20 pixel compensation data corresponding to 20 pixels. Then, assuming the first preset number of compressed pixels is 4, the data is fused in groups of 4 pixels to obtain 5 compressed compensation data. Here, the fusion method for the compensation data can be averaging. For example, assuming the sub-pixel compensation data corresponding to the R, G, and B color channels of a single pixel are 25, 30, and 35 respectively, fusing the sub-pixel compensation data corresponding to each color channel of a single pixel can yield the average value of the sub-pixel compensation data corresponding to the R, G, and B color channels, i.e., (25+30+35) / 3 = 30, resulting in a pixel compensation data of 30 for a single pixel. Similarly, fusing multiple pixels (i.e., the first preset number of compressed pixels) in a group can also use an algorithm that averages the four pixel compensation data, which will not be elaborated upon in this embodiment.
[0050] In this embodiment, the first compression algorithm can fuse the sub-pixel compensation data corresponding to each color channel of a single pixel in the target compensation data to obtain multiple pixel compensation data; according to the first preset number of compressed pixels, the pixel compensation data is fused to obtain multiple compressed compensation data, which can greatly reduce the amount of data of the compressed compensation data and meet the user's storage needs.
[0051] In some optional embodiments, the remaining compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The process of the second compression algorithm to compress the remaining compensation data includes: fusing the sub-pixel compensation data corresponding to each color channel in the remaining compensation data according to the second preset number of compressed pixels to obtain multiple compressed compensation data corresponding to each color channel.
[0052] For example, the remaining compensation data also includes sub-pixel compensation data corresponding to each color channel of multiple pixels. When the target compensation data is compressed using the second compression algorithm, the sub-pixel compensation data corresponding to each color channel of the pixel is fused according to the second preset number of compressed pixels to obtain multiple compressed compensation data corresponding to each color channel. That is, according to the second preset number of compressed pixels, the sub-pixel compensation data of the R color channel of the pixel is fused to obtain multiple compressed compensation data of the R color channel; the sub-pixel compensation data of the G color channel of the pixel is fused to obtain multiple compressed compensation data of the G color channel; and the sub-pixel compensation data of the B color channel of the pixel is fused to obtain multiple compressed compensation data of the B color channel. Here, the second preset number of compressed pixels can be flexibly set by those skilled in the art according to the actual situation. For example, the second preset number of compressed pixels can be 2, 4, or 8, and this embodiment does not limit this. The second preset number of compressed pixels can be the same as or different from the first preset number of compressed pixels, and this embodiment does not limit this. Assuming the remaining compensation data includes sub-pixel compensation data for each color channel of 20 pixels (a total of 60 sub-pixel compensation data), and assuming the second preset number of compressed pixels is 4, then by grouping 4 pixels together, the sub-pixel compensation data for each color channel is fused to obtain 5 compressed compensation data for the R color channel, 5 compressed compensation data for the G color channel, and 5 compressed compensation data for the B color channel. Here, the compensation data can be fused by averaging. For example, grouping 4 pixels together, assuming the sub-pixel compensation data for the R color channel for the 4 pixels are 20, 20, 30, and 30 respectively, then averaging the sub-pixel compensation data for the R color channel is (20+20+30+30) / 4 = 25, resulting in a compressed compensation data of 25 for the R color channel.
[0053] In this embodiment, the second compression algorithm can fuse the sub-pixel compensation data corresponding to each color channel in the remaining compensation data according to the second preset number of compressed pixels to obtain multiple compressed compensation data corresponding to each color channel. Thus, when performing brightness compensation on the target display panel, targeted compensation can be performed for each color channel, which can improve the compensation effect.
[0054] In some alternative embodiments, the number of second preset compressed pixels is less than the number of first preset compressed pixels.
[0055] For example, assuming the target data size of the compressed compensation data is 7.5 Mbits, refer to... Figure 2BAssuming a set of compensation data includes 5,054,400 sub-pixel compensation data of 1,684,800 pixels, and multiple sets of compensation data are compressed using only the second compression algorithm (RGBMode), the number of compressed pixels is 4. The number of compressed compensation data obtained by compressing multiple sets of compensation data using the second compression algorithm is 1,263,600, and the data size is 7.5 Mbits.
[0056] In this embodiment, a first compression algorithm is used to compress the target compensation data in multiple sets of compensation data, and a second compression algorithm is used to compress the remaining compensation data in multiple sets of compensation data. Furthermore, the second preset number of compressed pixels corresponding to the second compression algorithm can be set to be less than the first preset number of compressed pixels corresponding to the first compression algorithm. Figure 2C Assuming the first preset number of compressed pixels is 4, and Figure 3 The second compression algorithm (RGB Mode) corresponds to the same number of compressed pixels, but the second preset number of compressed pixels for the second compression algorithm is reduced to 2. At this point, multiple sets of compensation data are divided into target compensation data (1,263,600 sub-pixel compensation data pixels) and remaining compensation data (421,200 sub-pixel compensation data pixels). The number of compressed compensation data pixels obtained by compressing the target compensation data using the first compression algorithm (White Mode) can be 315,900, and the data size can be 1.875 Mbits. The number of compressed compensation data pixels obtained by the second compression algorithm can be 631,800, and the data size can be 3.75 Mbits. Therefore, the total data size is 5.625 Mbits.
[0057] In this embodiment, when the same storage space requirement needs to be met, the number of second preset compressed pixels corresponding to the second compression algorithm can be set to be less than the number of first preset compressed pixels corresponding to the first compression algorithm. This allows the amount of data in the compressed compensation data obtained by the first compression algorithm to be less, thereby saving some storage space. Furthermore, when the second compression algorithm compresses the data, the remaining compensation data can be compressed in units of a smaller number of pixels, resulting in higher detail in the compressed compensation data corresponding to the remaining compensation data and a better compensation effect.
[0058] In summary, to perform brightness compensation for different display states of the target display panel, it is necessary to store compensation data corresponding to different display states. Based on a comprehensive consideration of the compensation effect and the amount of data to be stored, the data processing method in this embodiment sets up a first compression algorithm and a second compression algorithm with different data compression amounts. The first compression algorithm is used to compress a portion of the compensation data from multiple sets of compensation data, while the second compression algorithm is used to compress the remaining compensation data. This reduces the amount of data that needs to be stored while ensuring the compensation effect, thus meeting the user's storage requirements. Furthermore, the first and second compression algorithms have different data compression amounts, meaning there is a relationship between their compression amounts. Assuming the first compression algorithm's compression amount is less than the second compression algorithm's, under the condition of a fixed storage space, since the compressed compensation data obtained through the first compression algorithm can be smaller, some storage space can be saved. Therefore, when the second compression algorithm compresses, the remaining compensation data can be compressed using fewer pixels as the compression unit, resulting in higher detail in the compressed compensation data corresponding to the remaining compensation data and a better compensation effect.
[0059] Reference Figure 3 The diagram shows a structural block diagram of a data processing apparatus according to an exemplary embodiment of the present application.
[0060] According to a second aspect of the embodiments of this application, a data processing apparatus is provided, including an acquisition module 302, a first calculation module 304, and a second calculation module 306.
[0061] The acquisition module 302 is used to acquire multiple sets of compensation data to be compressed for the target display panel; the multiple sets of compensation data correspond to different display states of the target display panel; the compensation data is used to compensate for the display brightness of the target display panel; the first calculation module 304 is used to determine the target compensation data and the remaining compensation data from the multiple sets of compensation data; the target compensation data is a portion of the multiple sets of compensation data; the second calculation module 306 is used to compress the target compensation data using a first compression algorithm and to compress the remaining compensation data using a second compression algorithm; wherein, for the same set of compensation data, the data compression amounts obtained by the first compression algorithm and the second compression algorithm are different.
[0062] In some optional embodiments, the first calculation module 304 is further configured to: determine target compensation data from the multiple sets of compensation data according to the display state of the target display panel corresponding to each set of compensation data; and determine the data other than the target compensation data in the multiple sets of compensation data as the remaining compensation data.
[0063] In some alternative embodiments, for the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm.
[0064] The first calculation module 304 is further configured to: determine the compensation data corresponding to the target display panel being in a high grayscale state from multiple sets of compensation data; and determine the compensation data corresponding to the target display panel being in a high grayscale state as the target compensation data; wherein, the high grayscale state indicates that the target display panel is in a state where the display grayscale value is greater than a preset grayscale threshold.
[0065] In some alternative embodiments, for the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm.
[0066] The first calculation module 304 is further configured to: determine the compensation data corresponding to the target display panel being in a low brightness state from multiple sets of compensation data; and determine the compensation data corresponding to the target display panel being in a low brightness state as the target compensation data; wherein, the low brightness state indicates that the target display panel is in a state where the display brightness value is less than a preset brightness threshold.
[0067] In some optional embodiments, the target compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The second calculation module 306 is further configured to: fuse the sub-pixel compensation data corresponding to each color channel of a single pixel in the target compensation data to obtain multiple pixel compensation data; and fuse the pixel compensation data according to a first preset number of compressed pixels to obtain multiple compressed compensation data.
[0068] In some optional embodiments, the remaining compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The second calculation module 306 is further configured to: fuse the sub-pixel compensation data corresponding to each color channel in the remaining compensation data according to the second preset number of compressed pixels to obtain multiple compressed compensation data corresponding to each color channel.
[0069] In some alternative embodiments, the first preset number of compressed pixels is greater than the second preset number of compressed pixels.
[0070] The data processing apparatus of this embodiment is used to implement the corresponding data processing methods in the various method embodiments of the first aspect described above, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. Furthermore, the functional implementation of each module in the data processing apparatus of this embodiment can be referred to the description of the corresponding part in the foregoing method embodiments, which will also not be repeated here.
[0071] According to a third aspect of the embodiments of this application, a display device is also provided, the display device comprising: a display panel; a computer storage medium configured to store computer program instructions for performing the data processing method as described in the first aspect; and a processor configured to execute the computer program instructions to obtain compensation data for brightness compensation of the display panel.
[0072] According to a fourth aspect of the embodiments of this application, a display terminal is also provided, the display terminal including a terminal device body and a display device disposed on the terminal device body, the display screen being the display device as described above.
[0073] An exemplary display terminal, such as Figure 4 As shown, it includes a terminal device body 401 and a display device 402. The display device 402 is disposed on the terminal device body 401 and electrically connected to the terminal device body 401. The display device 402 is the display device described in the foregoing embodiments, used to display static or dynamic images.
[0074] For example, the above-mentioned display terminal can be implemented in the form of various electronic devices such as mobile phones, tablet computers, handheld computers, and PADs.
[0075] According to a fifth aspect of the present application, an electronic device is provided, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory is used to store a computer program; and the processor is used to execute the data processing method described in the first aspect by running the computer program stored in the memory.
[0076] Figure 5 A structural block diagram of an optional electronic device according to an embodiment of this application is shown. This application does not limit the specific implementation of the electronic device 500; however, as an example, reference is made to... Figure 5 The electronic device 500 provided in this application embodiment includes: a processor 502, a communications interface 504, a memory 506, and a communication bus 508. Wherein:
[0077] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508.
[0078] Communication interface 504 is used to communicate with other electronic devices or servers.
[0079] The processor 502 is used to execute the computer program 510, specifically the relevant steps in any of the aforementioned data processing method embodiments.
[0080] Specifically, computer program 510 may include program code that includes computer operation instructions.
[0081] The processor 502 may be a CPU, a GPU (Graphics Processing Unit), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0082] Memory 506 is used to store computer program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0083] Specifically, computer program 510 can be used to cause processor 502 to execute the data processing method in any of the foregoing embodiments.
[0084] The specific implementation of each step in computer program 510 can be found in the corresponding descriptions of the steps and units in any of the foregoing data processing method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.
[0085] The electronic device 500 in this application embodiment has been described in detail in the foregoing data processing method embodiment. Therefore, its related content and beneficial effects can be understood by referring to the above method embodiment, and will not be repeated here.
[0086] According to a sixth aspect of the embodiments of this application, the embodiments of this application also provide a computer storage medium storing a computer program thereon, which, when executed by a processor, implements the data processing method described in any of the foregoing method embodiments. The computer storage medium includes, but is not limited to, compact disc read-only memory (CD-ROM), random access memory (RAM), floppy disk, hard disk, or magneto-optical disk, etc.
[0087] According to a seventh aspect of the embodiments of this application, the embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the data processing method as described in any of the embodiments of the plurality of method embodiments described above.
[0088] The electronic device 800 / computer storage medium / computer program product embodiments in this application have been described in detail in the foregoing data processing method embodiments. Therefore, their related content and beneficial effects can be understood by referring to the above method embodiments, and will not be repeated here.
[0089] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.
[0090] The methods described in the embodiments of this application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code downloaded over a network that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium. Thus, the methods described herein can be stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Flash Memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.
[0091] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for specific applications, but such implementations should not be considered beyond the scope of the embodiments of this application.
[0092] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". It should be noted that the concepts of "first", "second", etc., mentioned in the embodiments of this application are only used to distinguish different devices, modules, or units, and are not used to limit the order of functions performed by these devices, modules, or units or their interdependencies. It should be noted that the modifications of "a" and "a plurality" mentioned in the embodiments of this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0093] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.
Claims
1. A data processing method, characterized in that, include: Acquire multiple sets of compensation data to be compressed for the target display panel; The multiple sets of compensation data correspond to different display states of the target display panel; The compensation data is used to compensate for the display brightness of the target display panel; The target compensation data and the remaining compensation data are determined from the multiple sets of compensation data; The target compensation data is a portion of the multiple sets of compensation data; The target compensation data is compressed using a first compression algorithm, and the remaining compensation data is compressed using a second compression algorithm; wherein, for the same set of compensation data, the amount of data compressed by the first compression algorithm and the second compression algorithm is different.
2. The method according to claim 1, characterized in that, The step of determining the target compensation data and the remaining compensation data from the multiple sets of compensation data includes: Based on the display state of the target display panel corresponding to each set of compensation data in the multiple sets of compensation data, the target compensation data is determined from the multiple sets of compensation data; The data in the multiple sets of compensation data other than the target compensation data are determined as the remaining compensation data.
3. The method according to claim 2, characterized in that, For the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm. Based on the display state of the target display panel corresponding to each set of compensation data in the plurality of compensation data, the target compensation data is determined from the plurality of compensation data, including: From the multiple sets of compensation data, determine the compensation data corresponding to the target display panel being in a high grayscale state; The compensation data corresponding to the target display panel being in a high grayscale state is determined as the target compensation data; The high grayscale state indicates that the target display panel is in a state where the displayed grayscale value is greater than a preset grayscale threshold.
4. The method according to claim 2, characterized in that, For the same set of compensation data, the amount of compressed compensation data obtained by the first compression algorithm is less than the amount of compressed compensation data obtained by the second compression algorithm. The step of determining the target compensation data from the multiple sets of compensation data based on the display state of the target display panel corresponding to each set of compensation data includes: From the multiple sets of compensation data, determine the compensation data corresponding to the target display panel being in a low brightness state; The compensation data corresponding to the target display panel being in a low brightness state is determined as the target compensation data; The low brightness state indicates that the target display panel is in a state where the display brightness value is less than a preset brightness threshold.
5. The method according to claim 1, characterized in that, The target compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The process of the first compression algorithm compressing the target compensation data includes: The sub-pixel compensation data corresponding to each color channel of a single pixel in the target compensation data are fused to obtain multiple pixel compensation data. According to the first preset number of compressed pixels, the pixel compensation data are fused to obtain multiple compressed compensation data.
6. The method according to claim 5, characterized in that, The remaining compensation data includes sub-pixel compensation data corresponding to each color channel of multiple pixels. The process of the second compression algorithm compressing the remaining compensation data includes: According to the second preset number of compressed pixels, the sub-pixel compensation data corresponding to each color channel in the remaining compensation data are fused to obtain multiple compressed compensation data corresponding to each color channel.
7. The method according to claim 6, characterized in that, The second preset number of compressed pixels is less than the first preset number of compressed pixels.
8. A data processing apparatus, characterized in that, include: The acquisition module is used to acquire multiple sets of compensation data to be compressed for the target display panel; The multiple sets of compensation data correspond to different display states of the target display panel; The compensation data is used to compensate for the display brightness of the target display panel; The first calculation module is used to determine the target compensation data and the remaining compensation data from the multiple sets of compensation data; The target compensation data is a portion of the multiple sets of compensation data; The second calculation module is used to compress the target compensation data using a first compression algorithm and to compress the remaining compensation data using a second compression algorithm; wherein, for the same set of compensation data, the data compression amounts obtained by the first compression algorithm and the second compression algorithm are different.
9. A display device, characterized in that, The display device includes: Display panel; A computer storage medium configured to store computer program instructions for performing the data processing method as described in any one of claims 1 to 7; and, The processor is configured to execute the computer program instructions to obtain compensation data for brightness compensation of the display panel.
10. A display terminal, characterized in that, The display terminal includes a terminal device body and a display device as described in claim 9 disposed on the terminal device body.