Brightness compensation method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202510550114.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2026-10-30
AI Technical Summary
然而,相关技术中显示面板的亮度补偿方案的性能和成本仍有待改善
[0023]根据本申请实施例提供的技术方案,一方面,由于可以在当前时段的下一时段,从第一存储单元的第一存储区域中获取显示面板在当前时段的基准亮度衰减数据,并从第一存储单元的第二存储区域中获取各个像素在当前时段的压缩亮度衰减数据,并基于当前时段的基准亮度衰减数据以及各个像素在当前时段的压缩亮度衰减数据,对显示面板的各个像素进行准确地亮度补偿,从而可以有效改善显示面板的像素因长时间使用造成的老化亮度衰减的问题,降低像素亮度老化衰减对显示面板的显示效果影响,提高显示面板的亮度补偿及显示性能;另一方面,由于在本方案中可以将由各个像素在当前时段的亮度衰减数据确定的当前时段的基准亮度衰减数据存储至第一存储单元的第一存储区域,将各个像素在当前时段的亮度衰减数据与当前时段的基准亮度衰减数据减法运算后,得到的各个像素在当前时段的压缩亮度衰减数据,存储至第一存储单元的第二存储区域,因此避免了直接将各个像素在当前时段的亮度衰减数据存储至第一存储单元再进行亮度补偿,继而在保证亮度补偿的准确性的基础上,有效地减小了第一存储单元需要对用于亮度补偿的数据进行存储的数据量,能够可靠地降低第一存储单元的存储压力,并且使得第一存储单元无需设计的过大,有利于降低第一存储单元的硬件成本,继而可降低显示面板的亮度补偿的成本。由此可见,本申请实施例可以有效地改善显示面板的亮度补偿方案的性能和成本。
Smart Images

Figure CN123016846A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display panel technology, and in particular to a brightness compensation method, device, electronic device, and storage medium. Background Technology
[0002] Display panels, including but not limited to OLED (Organic Light-Emitting Diode) displays, experience pixel aging and brightness degradation after prolonged use. To ensure the display quality, pixel brightness compensation is necessary. However, the performance and cost of current brightness compensation solutions for display panels still require improvement. Summary of the Invention
[0003] In view of this, embodiments of this application provide a brightness compensation method, apparatus, electronic device, and storage medium to improve the user experience.
[0004] According to a first aspect of the embodiments of this application, a brightness compensation method is provided, comprising:
[0005] Obtain the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit.
[0006] The brightness decay data of each pixel in the current time period is subtracted from the reference brightness decay data of the current time period to obtain the compressed brightness decay data of each pixel in the current time period, and the compressed brightness decay data of each pixel in the current time period is stored in the second storage area of the first storage unit.
[0007] In the next time period after the current time period, the reference brightness attenuation data for the current time period is obtained from the first storage area, and the compressed brightness attenuation data of each pixel in the current time period is obtained from the second storage area. Based on the reference brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel in the current time period, brightness compensation is performed on each pixel of the display panel.
[0008] In some optional embodiments, determining the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period includes: determining the minimum non-zero value in the brightness decay data of each pixel in the current time period, and determining the minimum non-zero value as the reference brightness decay data of the display panel in the current time period.
[0009] In some optional embodiments, the first storage unit is the memory of the display driver chip of the display panel or the memory of the timing controller; preferably, the amount of compressed brightness decay data of each pixel in the current time period is less than the storage space capacity of the first storage area.
[0010] In some optional embodiments, the method further includes: backing up the reference brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel in the current time period to a second storage unit outside the first storage unit.
[0011] In some optional embodiments, the first storage unit is a power-loss volatile storage unit, and the second storage unit is a non-power-loss volatile storage unit.
[0012] In some optional embodiments, the step of performing brightness compensation on each pixel of the display panel based on the reference brightness attenuation data of the current time period and the compressed brightness attenuation data of each pixel in the current time period includes:
[0013] The compressed brightness attenuation data of each pixel in the current time period is added to the reference brightness attenuation data of the current time period to obtain the brightness attenuation data of each pixel in the current time period; based on the brightness attenuation data of each pixel in the current time period, the compensation grayscale value corresponding to each pixel of the display panel is determined; based on the compensation grayscale value corresponding to each pixel, brightness compensation is performed on each pixel of the display panel.
[0014] In some optional embodiments, obtaining the brightness decay data of each pixel of the display panel in the current time period includes: for each pixel of the display panel: obtaining the brightness data of the pixel at the start time and the brightness data at the end time of the current time period; determining the cumulative brightness decay data of the pixel accumulated in the current time period based on the brightness data at the start time and the brightness data at the end time; if there is a previous time period, adding the brightness decay data of the previous time period to the cumulative brightness decay data accumulated in the current time period to obtain the brightness decay data of the pixel in the current time period; or, if there is no previous time period, determining the cumulative brightness decay data accumulated in the current time period as the brightness decay data of the pixel in the current time period.
[0015] In some optional embodiments, obtaining the brightness data of the pixel at the beginning and end of the current time period includes: obtaining a preset brightness decay curve, wherein the brightness decay curve is used to characterize the decay change of the pixel's brightness data with usage time; determining the brightness data of the pixel at the beginning and end of the current time period based on the brightness decay curve according to the beginning and end of the current time period; and determining the cumulative brightness decay data of the pixel accumulated in the current time period based on the brightness data at the beginning and the brightness data at the end includes: performing a subtraction operation based on the brightness data at the beginning and the brightness data at the end to obtain the cumulative brightness decay data of the pixel accumulated in the current time period.
[0016] According to a second aspect of the embodiments of this application, a brightness compensation device is provided, comprising:
[0017] The acquisition module is used to acquire the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit.
[0018] The calculation module is used to subtract the brightness decay data of each pixel in the current time period from the reference brightness decay data of the current time period to obtain the compressed brightness decay data of each pixel in the current time period, and store the compressed brightness decay data of each pixel in the current time period in the second storage area of the first storage unit.
[0019] The compensation module is used to obtain the reference brightness attenuation data of the current time period from the first storage area and the compressed brightness attenuation data of each pixel in the current time period from the second storage area in the next time period, and to perform brightness compensation on each pixel of the display panel based on the reference brightness attenuation data of the current time period and the compressed brightness attenuation data of each pixel in the current time period.
[0020] According to a third 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 method described in the first aspect by running the computer program stored in the memory.
[0021] According to a fourth 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.
[0022] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0023] According to the technical solution provided in the embodiments of this application, on the one hand, since the reference brightness decay data of the display panel in the current time period can be obtained from the first storage area of the first storage unit in the next time period, and the compressed brightness decay data of each pixel in the current time period can be obtained from the second storage area of the first storage unit, and the brightness compensation of each pixel of the display panel can be accurately performed based on the reference brightness decay data and the compressed brightness decay data of each pixel in the current time period, the problem of aging brightness decay of the pixels of the display panel caused by long-term use can be effectively improved, the impact of pixel brightness aging decay on the display effect of the display panel can be reduced, and the brightness compensation and display performance of the display panel can be improved; on the other hand, since in this solution the brightness decay data of each pixel in the current time period can be accurately obtained from the reference brightness decay data and the compressed brightness decay data of each pixel in the current time period, the brightness compensation of each pixel in the current time period can be accurately obtained from the reference brightness decay data and the compressed brightness decay data of each pixel in the current time period can be accurately obtained from the first storage area of the first storage unit in the next time period, and the compressed brightness decay data of each pixel in the current time period can be accurately obtained from the second storage area of the first storage unit in the next time period, the brightness compensation of each pixel in the current time period can be accurately obtained from the second storage area of the first storage unit in the next time period, and the compressed brightness decay data of each pixel in the current time period can be accurately obtained from the second storage area of the first storage unit in the next time period, and the compressed brightness decay data of each pixel in the current time period in the next ... The reference brightness decay data for the current time period is stored in the first storage area of the first storage unit. The compressed brightness decay data for each pixel in the current time period is obtained by subtracting the reference brightness decay data from the reference data for the current time period, and then stored in the second storage area of the first storage unit. This avoids directly storing the brightness decay data of each pixel in the first storage unit before brightness compensation, thus effectively reducing the amount of data that the first storage unit needs to store for brightness compensation while ensuring the accuracy of brightness compensation. This reliably reduces the storage pressure on the first storage unit and eliminates the need for an excessively large first storage unit, thereby reducing its hardware cost and consequently lowering the cost of brightness compensation for the display panel. Therefore, the embodiments of this application can effectively improve the performance and cost of the brightness compensation scheme for display panels. Attached Figure Description
[0024] 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.
[0025] Figure 1 This is a flowchart illustrating the steps of a brightness compensation method in an embodiment of this application.
[0026] Figure 2 This is a schematic diagram of a brightness attenuation curve in an embodiment of this application.
[0027] Figure 3 This is a flowchart illustrating an optional method for brightness compensation in step 106 of this application embodiment.
[0028] Figure 4 This is a schematic diagram illustrating how the reference brightness attenuation data and compressed brightness attenuation data of each pixel are restored to brightness attenuation data in an embodiment of this application.
[0029] Figure 5 This is a schematic diagram of an optional hardware architecture for brightness compensation in an embodiment of this application.
[0030] Figure 6 This is an optional schematic diagram illustrating data backup for brightness compensation in an embodiment of this application.
[0031] Figure 7 This is a schematic diagram of a brightness compensation device in an embodiment of this application.
[0032] Figure 8 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0033] 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.
[0034] Display panels, including but not limited to OLED (Organic Light-Emitting Diode) displays, experience pixel aging and brightness degradation after prolonged use. To ensure the display quality, pixel brightness compensation is necessary. However, the performance and cost of current brightness compensation solutions for display panels still require improvement.
[0035] In view of this, the first aspect of the embodiments of this application provides a brightness compensation method, such as... Figure 1 The flowchart shown illustrates that the brightness compensation method includes the following steps S102, S104, and S106, specifically:
[0036] S102: Obtain the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit.
[0037] The display panel in this embodiment can be any suitable type of display panel, such as, but not limited to, LED (Light Emitting Diode) display panels, OLED display panels, etc. The brightness compensation method in this embodiment can be implemented by a brightness compensation device.
[0038] In this embodiment, the pixels of the display panel can be pixels of multiple colors. Pixels of multiple colors refer to pixels that emit light of multiple colors. For example, pixels of multiple colors may include red pixels, green pixels, and blue pixels, i.e., R, G, and B pixels, which can emit red light, green light, and blue light respectively. By using pixels of multiple colors, the display panel can present a color display effect.
[0039] In this embodiment, the number of pixels on the display panel is not limited. For example, assuming the display panel has a resolution of 1920*1080, its number of pixels can be 1920*1080*3 pixels, that is, 1920*1080 groups of R, G, and B pixels. Of course, this is only an example and is not intended to limit the embodiments of this application.
[0040] For pixels on a display panel, their brightness will decrease over time due to aging. Therefore, brightness compensation can be performed on each pixel by calculating its brightness decay data to improve the display effect. Brightness decay data can be collected for each pixel. For R, G, and B pixels, there is a fixed maximum bit width data size, for example, 40 bits. Taking 1920*1080*3 pixels as an example, if the brightness decay data of each pixel is stored, the first storage unit must reserve at least 1920*1080*3*40bit ≈ 248Mbit of storage space.
[0041] The first storage unit can be any storage unit. For example, in some optional embodiments, the first storage unit is the memory of the display driver chip of the display panel or the memory of the timing controller.
[0042] The display driver integrated circuit (DDIC) is the core control component of a display panel. It is primarily responsible for converting image signals into drive signals that the display panel can recognize, and controlling the screen's brightness, color, and dynamic response. The performance of the display driver chip directly determines the display panel's image quality, power consumption, and response speed. The display driver chip may internally include memory, which can be any feasible type of memory, including SRAM.
[0043] The Timing Controller (TCON) is the core control module of the display panel. It is responsible for converting the input image signals into the timing and data signals required to drive the display panel, ensuring that the displayed content is presented accurately according to the preset timing sequence. Its functions can include timing control of the display panel, signal conversion, and image quality optimization. The Timing Controller may contain memory, which can be any feasible memory, including SRAM.
[0044] In this application, the reference brightness attenuation data can be stored in the memory of the DDIC or TCON of the display panel to facilitate brightness compensation of pixels. Furthermore, since the memory of the DDIC or TCON of the display panel is usually small, the brightness compensation scheme of this application directly stores the brightness attenuation data of each pixel in the current time period in the first storage unit before performing brightness compensation. This effectively reduces the amount of data that the first storage unit (i.e., the memory of the DDIC or TCON of the display panel) needs to store for brightness compensation, thereby reducing the storage pressure on the first storage unit and effectively adapting to the storage requirements of the memory of the DDIC or TCON of the display panel. Even if the memory of the DDIC or TCON is small, the data storage and brightness compensation for brightness compensation can be well realized, thereby avoiding the increase in hardware costs caused by increasing the memory of the DDIC or TCON.
[0045] In some optional embodiments, the first storage cell may be a power-loss volatile storage cell. Optionally, the power-loss volatile storage cell may include RAM (Random Access Memory). For example, RAM may include Dynamic Random Access Memory (DRAM) and Static Random Access Memory (SRAM). For example, in one optional embodiment, the DRAM may be SDRAM (Synchronous Dynamic Random Access Memory), and in another optional embodiment, the SRAM may be eSRAM (embedded static random access memory).
[0046] Optionally, the current time period can be the time period during which the display panel is currently in use. For example, during the use of the display panel, data on pixel brightness decay can be accumulated at fixed preset time intervals, and the length of the current time period can be the preset time interval. The preset time interval can be selected as needed, such as 1 hour, 2 hours, 5 hours, 10 hours, etc., or it can be shorter or longer; there is no single limitation.
[0047] In this embodiment, the brightness decay data of a pixel in the current time period can characterize the total brightness decay of the pixel at the end of the current time period. For example, taking a preset time interval of 1 hour as an example, assuming the current time period of the display panel is the 2nd hour, the relevant data on the brightness decay of each pixel from the beginning to the end of the 2nd hour can be accumulated. Then, the brightness decay data of the pixel in the current time period can be the sum of the accumulated brightness decay data of the 2nd hour and the accumulated brightness decay data of the 1st hour, that is, the total brightness decay from 0 to the end of the 2nd hour. Similarly, assuming the current time period of the display panel is the 3rd hour, the relevant data on the brightness decay of each pixel in the 3rd hour can be accumulated. Then, the brightness decay data of the pixel in the current time period can be the sum of the accumulated brightness decay data of the 3rd hour, the accumulated brightness decay data of the 2nd hour, and the accumulated brightness decay data of the 1st hour, that is, the total brightness decay from 0 to the end of the 3rd hour. Other cases can be deduced by analogy, and will not be elaborated here.
[0048] In this application, the brightness decay data of each pixel of the display panel in the current time period can be obtained by any suitable method. For example, in some optional embodiments, the following steps S202 to S204 can be performed for each pixel of the display panel, specifically:
[0049] S202: Obtain the brightness data of the pixel at the beginning and end of the current time period;
[0050] S204: Based on the brightness data at the start and end times, determine the cumulative brightness decay data of the pixel during the current time period.
[0051] Furthermore, if there is a previous time period in the current time period, the brightness decay data of the previous time period is added to the cumulative brightness decay data accumulated in the current time period to obtain the brightness decay data of the pixel in the current time period; or, if there is no previous time period in the current time period, the cumulative brightness decay data accumulated in the current time period is determined as the brightness decay data of the pixel in the current time period.
[0052] Based on this, by implementing the above optional method for each pixel of the display panel in this application, the brightness decay data of each pixel in the current time period can be effectively determined, so that subsequent steps can determine the reference brightness decay data of the current segment and the compressed brightness decay data of each pixel in the current time period, thereby accurately compensating the brightness of each pixel of the display panel, and effectively reducing the storage pressure of the first storage unit and reducing the cost of brightness compensation of the display panel while ensuring the accuracy of brightness compensation.
[0053] For example, taking the current time period as the second hour of display panel usage, we can obtain the brightness data of the pixels at the beginning and end of the second hour. Based on the difference between these two times, we can determine the cumulative brightness decay data for the second hour. If there is a preceding time period (the first hour) in the second hour, we can add the brightness decay data of the pixels in the first hour to the cumulative brightness decay data for the second hour to obtain the brightness decay data for the second hour. Similarly, taking the current time period as the first hour of display panel usage, we can obtain the brightness data of the pixels at the beginning and end of the first hour. Based on the difference between these two times, we can determine the cumulative brightness decay data for the first hour. If there is no preceding time period in the first hour, the cumulative brightness decay data accumulated within the current time period can be used as the brightness decay data for the pixels in the current time period. Other cases can be deduced similarly, and will not be elaborated further here.
[0054] Optionally, the brightness attenuation data of a pixel in the previous time period can be obtained by adding the reference brightness attenuation data of the previous time period stored in the first storage area of the first storage unit and the compressed brightness attenuation data of the pixel in the previous time period stored in the second storage area of the first storage unit. Alternatively, it can be obtained by adding the backed-up reference brightness attenuation data of the previous time period and the compressed brightness attenuation data of the pixel in the previous time period obtained from other storage units (such as the second storage unit mentioned below). The reference brightness attenuation data, the compressed brightness attenuation data, and the relevant content of the second storage unit can be understood with reference to the following text.
[0055] This application does not limit the specific implementation of step S202. For example, optionally, step S202 can detect the brightness data of each pixel at the beginning and end of the current time period to obtain the brightness data of each pixel at the beginning and end of the current time period. This data can be stored (it can be stored in any storage unit as needed) and can be directly retrieved when needed. Although this approach is feasible, it is not convenient or efficient, and it is easy to occupy too much storage space.
[0056] In some optional embodiments, step S202 may include: obtaining a preset brightness decay curve, wherein the brightness decay curve is used to characterize the decay change of pixel brightness data with usage time; and determining the brightness data of the pixel at the beginning and end of the current time period based on the brightness decay curve according to the start and end times of the current time period. In some optional embodiments, step S204 may include: performing a subtraction operation based on the brightness data at the start and end times to obtain the cumulative brightness decay data of the pixel during the current time period.
[0057] For example, Figure 2 An example of a brightness decay curve is shown. It illustrates brightness decay curves Q1, Q2, and Q3 for three example pixels (which could be R, G, and B pixels respectively). Figure 2 As shown, the horizontal axis of the brightness decay curve can be time, in units such as hours (h), and the vertical axis can be the brightness data of a pixel. Here, the brightness data can be the ratio of the pixel's brightness value to a reference brightness value, which can be a preset brightness value of the pixel when the display panel is first used. Optionally, the preset brightness decay curve can be obtained when testing a sample display panel before it leaves the factory. For example, the brightness values of pixels on the sample display panel can be collected at multiple moments during display, and the ratio of the pixel's brightness value to the reference brightness value at multiple moments can be determined, thereby obtaining multiple fitting points. Furthermore, the brightness decay curve of the pixel can be obtained by curve fitting to these multiple fitting points. The relevant information of the brightness decay curve can be pre-stored and directly retrieved and used during use. In other optional embodiments, the vertical axis (brightness data) of the brightness decay curve can also directly use the brightness value, as long as it meets the requirements. This application embodiment does not specifically limit this.
[0058] For example, taking the current time period as the 2nd hour, for a pixel, we can obtain the brightness decay curve corresponding to the pixel, obtain the brightness data of the pixel at the beginning of the 2nd hour based on the brightness decay curve, and then determine the brightness data of the pixel at the end of the 2nd hour (or, as can be understood, the beginning of the 3rd hour) based on the brightness decay curve. Then, by subtracting the brightness data at the beginning and end of the 2nd hour, we obtain the cumulative brightness decay data of the pixel within the 2nd hour. This allows us to accumulate the cumulative brightness decay data within the 2nd hour and the brightness decay data from the previous time period (i.e., the 1st hour) to obtain the pixel's brightness decay data for the 2nd hour.
[0059] It should be understood that, through the above-mentioned optional schemes in this application, the brightness data of a pixel at the beginning and end of the current time period can be conveniently, accurately, and effectively determined based on the brightness decay curve. By performing a subtraction operation based on the brightness data at the beginning and end of the current time period, the cumulative brightness decay data of the pixel accumulated in the current time period can be conveniently, accurately, and effectively obtained. This facilitates subsequent steps in determining the reference brightness decay data for the current segment and the compressed brightness decay data of each pixel in the current time period, thereby accurately compensating the brightness of each pixel on the display panel. While ensuring the accuracy of brightness compensation, this effectively reduces the storage pressure of the first storage unit and lowers the cost of brightness compensation for the display panel.
[0060] In step S102 of this application embodiment, the reference brightness decay data can be determined based on the brightness decay data of each pixel in the current time period in any feasible manner. For example, in some optional embodiments, the minimum non-zero value in the brightness decay data of each pixel in the current time period can be determined, and the minimum non-zero value can be determined as the reference brightness decay data of the display panel in the current time period.
[0061] It should be understood that in this application, the minimum non-zero value of the brightness decay data of each pixel in the current time period is determined as the reference brightness decay data of the display panel in the current time period. This facilitates the subsequent subtraction operation between the minimum non-zero value and the minimum non-zero value of the brightness decay data of each pixel in the current time period to obtain the compressed brightness decay data of each pixel in the current time period. The compressed brightness decay data of each pixel in the current time period obtained in this way has a smaller data volume compared to the actual brightness decay data of each pixel in the current time period. Storing such compressed brightness decay data of each pixel in the second storage area of the first storage unit can avoid directly storing the brightness decay data of each pixel in the first storage unit and then performing brightness compensation. Thus, while ensuring the accuracy of brightness compensation, it effectively reduces the amount of data that the first storage unit needs to store for brightness compensation, reliably reduces the storage pressure of the first storage unit, and makes it unnecessary to design the first storage unit to be too large, which is beneficial to reducing the hardware cost of the first storage unit and thus reducing the cost of brightness compensation of the display panel.
[0062] In other alternative embodiments, a non-zero minimum value may not be used as the reference brightness attenuation data. For example, a non-zero minimum value minus a preset value may be used as the reference brightness attenuation data, or a preset multiple of the non-zero minimum value may be used as the reference brightness attenuation data. The preset multiple is greater than 0 and less than 1, such as 0.75, 0.5, etc. The method used is acceptable as long as it meets the requirements, and there is no single limitation here.
[0063] In this application, a first storage area can be partitioned within the first storage unit to store reference brightness attenuation data. The size of the first storage space can be set as needed, and there is no unique limitation. For example, in the example described above, the maximum bit width data of R, G, and B pixels can be 40 bits, so a 40-bit first storage area can be partitioned within the first storage unit to store the reference brightness attenuation data.
[0064] S104: Subtract the brightness decay data of each pixel in the current time period from the reference brightness decay data in the current time period to obtain the compressed brightness decay data of each pixel in the current time period, and store the compressed brightness decay data of each pixel in the current time period in the second storage area of the first storage unit.
[0065] In this application, after obtaining the brightness decay data of each pixel in the current time period and the reference brightness decay data of the display panel in the current time period in step S102, the brightness decay data of each pixel in the current time period can be subtracted from the reference brightness decay data to obtain the compressed brightness decay data of each pixel in the current time period, and the compressed brightness decay data of each pixel in the current time period can be stored in the second storage area of the first storage unit.
[0066] It's understandable that compressed brightness attenuation data can be considered as data that has been compressed from the original brightness attenuation data. Later, during brightness compensation, the compressed data can be used to reconstruct the original brightness attenuation data, allowing for accurate brightness compensation.
[0067] Optionally, in this embodiment, the amount of compressed brightness attenuation data for each pixel in the current time period is less than the storage space capacity of the first storage area. This helps to reduce the amount of data used for brightness compensation, reliably reduce the storage pressure on the first storage unit, and reduce the hardware cost of the first storage unit, thereby reducing the cost of brightness compensation for the display panel.
[0068] Understandably, since data is typically stored in binary, and the compressed brightness decay data for each pixel in the current time period is obtained by subtracting the brightness decay data of each pixel in the current time period from the baseline brightness decay data of the current time period, the amount of compressed brightness decay data for each pixel in the current time period is correspondingly smaller than the amount of brightness decay data for each pixel in the current time period, and is also smaller than the storage space capacity of the first storage area. For example, the maximum bit width data size of R, G, and B pixels can be 40 bits, the storage space capacity of the first storage area can be 40 bits, while the amount of compressed brightness decay data for each pixel in the current time period can be reduced to 25 bits or less.
[0069] Therefore, as mentioned above, if the brightness attenuation data of each pixel is stored and used for brightness compensation of each pixel on the display panel, the first storage unit needs to reserve at least 1920*1080*3*40bit≈248Mbit of storage space. However, in this solution, the compressed brightness attenuation data of each pixel in the current time period is stored in the second storage area of the first storage unit. The second storage area needs to reserve 1920*1080*3*25bit≈148.3Mbit of storage space. Adding the 40bit of storage space reserved in the first storage area for the compressed brightness attenuation area, the first storage unit only needs to reserve at least 148.3Mbit+40bit of storage space, which is significantly less than 248Mbit. Therefore, this solution can effectively reduce the amount of data that the first storage unit needs to store for brightness compensation while ensuring brightness compensation capability. This makes it easier to compress the storage space of the first storage unit, reliably reduce the storage pressure of the first storage unit, and eliminate the need to design the first storage unit to be too large. This helps to reduce the hardware cost of the first storage unit, and thus reduce the cost of brightness compensation for the display panel.
[0070] S106: In the next time period of the current time period, obtain the reference brightness decay data of the current time period from the first storage area, and obtain the compressed brightness decay data of each pixel in the current time period from the second storage area, and perform brightness compensation on each pixel of the display panel based on the reference brightness decay data of the current time period and the compressed brightness decay data of each pixel in the current time period.
[0071] For example, if the current time period is the 2nd hour, then in the 3rd hour (that is, the next time period after the current time period), the reference brightness decay data of the 2nd hour can be obtained from the first storage area of the first storage unit. Then, based on the reference brightness decay data of the 2nd hour and the compressed brightness decay data of each pixel in the 2nd hour, brightness compensation is performed on each pixel of the display panel to improve the display effect of the display panel.
[0072] Based on this, in the optional implementation schemes of steps S102 to S106 in this application embodiment, on the one hand, since the reference brightness decay data of the display panel in the current time period can be obtained from the first storage area of the first storage unit in the next time period of the current time period, and the compressed brightness decay data of each pixel in the current time period can be obtained from the second storage area of the first storage unit, and the brightness compensation of each pixel of the display panel can be accurately performed based on the reference brightness decay data and the compressed brightness decay data of each pixel in the current time period, the problem of aging brightness decay of the pixels of the display panel caused by long-term use can be effectively improved, the impact of pixel brightness aging decay on the display effect of the display panel can be reduced, and the brightness compensation and display performance of the display panel can be improved; on the other hand, since in this solution, the reference brightness decay data of each pixel in the current time period can be obtained from the first storage area of the first storage unit in the next time period of the current time period, and the compressed brightness decay data of each pixel in the current time period of the current time period of the first storage unit can be obtained, the brightness compensation of each pixel in the current time period of the first storage unit can be accurately performed ... The reference brightness attenuation data for the current time period, determined by the brightness attenuation data of the segment, is stored in the first storage area of the first storage unit. The compressed brightness attenuation data for each pixel in the current time period is obtained by subtracting the reference brightness attenuation data from the data for the current time period, and stored in the second storage area of the first storage unit. This avoids directly storing the brightness attenuation data of each pixel in the current time period in the first storage unit before brightness compensation. Therefore, while ensuring the accuracy of brightness compensation, it effectively reduces the amount of data that the first storage unit needs to store for brightness compensation, reliably reducing the storage pressure on the first storage unit. Furthermore, it eliminates the need for an excessively large first storage unit, thus reducing its hardware cost and consequently lowering the cost of brightness compensation for the display panel. Therefore, the embodiments of this application can effectively improve the performance and cost of the brightness compensation scheme for the display panel.
[0073] This application does not specifically limit the brightness compensation process in step S106. For example, in some optional embodiments, refer to... Figure 3 As shown, brightness compensation for each pixel of the display panel can be performed through the following steps S1062-1066, specifically:
[0074] S1062: Add the compressed brightness decay data of each pixel in the current time period to the reference brightness decay data of the current time period to obtain the brightness decay data of each pixel in the current time period.
[0075] In this embodiment, when brightness compensation is required for each pixel of the display panel, the compressed brightness attenuation data and the reference brightness attenuation data of the pixel in the current time period can be restored to the brightness attenuation data of the pixel in the current time period. Since the compressed brightness attenuation data of the pixel in the current time period is obtained by subtracting the reference brightness attenuation data from the pixel's current brightness attenuation data, the compressed brightness attenuation data of each pixel in the current time period is then added to the reference brightness attenuation data for the current time period to immediately obtain the brightness attenuation data of each pixel in the current time period. This ensures that the brightness attenuation data used when performing brightness compensation on each pixel of the display panel is still the uncompressed brightness attenuation data, thus facilitating accurate brightness compensation.
[0076] For example, such as Figure 4 As shown, this displays the baseline brightness decay data (which can be denoted as base data) of the display panel during the current time period, and the brightness decay data (which can be denoted as update data) of each pixel during the current time period. Figure 4 As can be seen, the update data of each pixel can be added to the base data to obtain the brightness decay data of each pixel in the current time period. It should be understood that... Figure 4 The data shown is merely an example and is not intended to limit any aspect of the embodiments described in this application.
[0077] S1064: Determine the compensation grayscale value corresponding to each pixel of the display panel based on the brightness decay data of each pixel in the current time period.
[0078] For example, a curve showing the relationship between the brightness decay data and the compensation grayscale value of each pixel can be preset. For example, the independent variable can be the brightness decay data and the dependent variable can be the compensation grayscale value. During brightness compensation, the compensation grayscale value corresponding to each pixel of the display panel can be determined based on the brightness decay data of each pixel in the current time period through this curve.
[0079] Optionally, this variation curve can be obtained by testing a sample display panel before it leaves the factory. For example, brightness decay data of pixels on the sample display panel can be collected at multiple times. Then, brightness compensation is performed by selecting an appropriate compensation grayscale value. Multiple fitting points are formed based on the brightness decay data and compensation grayscale value at multiple times. The variation curve can then be obtained by curve fitting to these multiple fitting points. The relevant information of this variation curve can be pre-stored and directly retrieved and used during operation.
[0080] Alternatively, in other optional embodiments, the compensation grayscale value corresponding to each pixel of the display panel can be determined by looking up the brightness attenuation data of each pixel in the current time period. Step S1064 can be implemented in any feasible manner, as long as it meets the requirements; no limitation is imposed here.
[0081] S1066: Based on the compensation grayscale value corresponding to each pixel, perform brightness compensation on each pixel of the display panel.
[0082] By adjusting the grayscale value corresponding to each pixel, the brightness of each pixel on the display panel can be compensated to ensure the display effect of the display panel.
[0083] Based on this, in the optional implementation of steps S1062 to S1066 in this application embodiment, the brightness attenuation data of each pixel in the current time period can be restored by adding the compressed brightness attenuation data of each pixel in the current time period to the reference brightness attenuation data of the current time period. Then, based on the compensation grayscale value corresponding to each pixel of the display panel determined by the brightness attenuation data of each pixel in the current time period, accurate brightness compensation of each pixel of the display panel can be achieved. This can effectively improve the problem of brightness attenuation caused by long-term use of the pixels of the display panel, reduce the impact of pixel brightness aging attenuation on the display effect of the display panel, and improve the brightness compensation and display performance of the display panel.
[0084] In some optional embodiments, the brightness compensation method in this application further includes: backing up the reference brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel in the current time period to a second storage unit outside the first storage unit.
[0085] Based on this, in this application, the relevant data for brightness compensation is stored jointly by the first storage unit and the second storage unit. When the reference brightness attenuation data and the compressed brightness attenuation data cannot be obtained from the first storage unit, the backup relevant data can also be obtained through the second storage unit, thereby improving the reliability of brightness compensation for each pixel of the display panel.
[0086] The second storage unit in this application can be any type of storage unit. In some optional embodiments, the first storage unit can be a non-volatile storage unit. Therefore, by backing up the reference brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel for the current time period to the non-volatile second storage unit, the data can be prevented from being erased after power failure, ensuring that the corresponding data for brightness compensation (i.e., reference brightness attenuation data, compressed brightness attenuation data, etc.) can be obtained from the second storage unit after power is restored, so as to accurately and reliably compensate the brightness of the display panel again.
[0087] Optionally, the second storage unit can be any suitable non-volatile storage unit, such as, but not limited to, flash memory.
[0088] In some optional embodiments, the first storage unit is a power-loss volatile storage unit, and the second storage unit is a non-power-loss volatile storage unit.
[0089] It should be understood that, since the first storage unit used in the above optional embodiments is a power-loss volatile storage unit, it is combined with a non-power-loss volatile second storage unit to store the data used for brightness compensation (i.e., reference brightness attenuation data, compressed brightness attenuation data, etc.). This can prevent the relevant data from being cleared after power failure and ensure that the corresponding data used for brightness compensation can be obtained after power is restored so that the display panel can be accurately compensated for brightness again.
[0090] For example, refer to Figure 5 The schematic diagram of the optional hardware architecture shown illustrates how data backup can be implemented in the following ways: Figure 5As shown, the hardware architecture may include a brightness compensation device, a first storage unit (e.g., the memory of a display driver chip or the memory of a timing controller), and an external storage controller. The external storage controller can be used to read and write to a second storage unit. The first storage unit is a power-loss volatile storage unit, and the second storage unit is a non-power-loss volatile storage unit. The first storage unit may include a first storage area and a second storage area. Optionally, the brightness compensation device may be implemented in hardware. For example, before the first and second storage units work together to perform data backup, the reference brightness decay data for the current time period (referred to as base data) can be stored in the first storage area of the first storage unit (for example, a 40-bit storage space). When the first and second storage units work together to perform data backup, the brightness decay data of each pixel in the current time period can be subtracted from the reference brightness decay data for the current time period to obtain the compressed brightness decay data of each pixel in the current time period (referred to as update data). The compressed brightness decay data of each pixel in the current time period can be stored in the second storage area of the first storage unit. Then, the external storage unit controller can perform a write operation on the external second storage unit to write the reference brightness decay data (base data) and the compressed brightness decay data (update data) of each pixel in the current time period into the second storage unit to achieve data backup. For example, taking the current time period as the 2nd hour and the next time period as the 3rd hour, if the system does not lose power in the next time period, the brightness compensation device can obtain base data from the first storage area of the first storage unit and update data of each pixel from the second storage area. Based on the base data and the update data of each pixel, it performs brightness compensation on each pixel of the display panel. Alternatively, taking the current time period as the 2nd hour and the next time period as the 3rd hour, if the system loses power and then gains power again in the next time period, the data in the first storage unit will be cleared due to its volatile nature. The backup base data and update data of each pixel in the second storage unit can be read by the external storage unit controller and sent to the first storage unit for caching. The brightness compensation device can then obtain the base data and update data of each pixel from the first storage unit and perform brightness compensation on each pixel of the display panel based on the base data and the update data of each pixel. Furthermore, the data stored in the first storage unit can also be used to determine the reference brightness attenuation data and compressed brightness attenuation data for the 3rd hour (i.e., the next time period). It should be understood that the above... Figure 5 This is only for the purpose of facilitating understanding of the embodiments of this application, and is not intended to limit the embodiments of this application.
[0091] For example Figure 6 An optional schematic diagram of data backup for brightness compensation in an embodiment of this application is shown. (Refer to...) Figure 6As shown, the brightness compensation device can statistically analyze the brightness decay data of each pixel on the display panel at the current moment, and store the calculated reference brightness data (base data) and the compressed brightness decay data (update data) of each pixel at the current moment into a first storage unit (such as the memory of the display driver chip or the memory of the timing controller (such as SRAM)). It also backs up the base data and update data of the first storage unit through a second storage unit for data preservation after power-off, thereby ensuring that the corresponding data for brightness compensation (i.e., reference brightness decay data, compressed brightness decay data, etc.) can be obtained after power-on to accurately compensate the brightness of the display panel again. It should be understood that the above... Figure 6 This is only for the purpose of facilitating understanding of the embodiments of this application, and is not intended to limit the embodiments of this application.
[0092] It is understood that the foregoing description of the brightness compensation scheme is merely an exemplary description of the embodiments of this application and is not intended to limit the embodiments of this application in any way.
[0093] Based on the same inventive concept as the brightness compensation method provided in the first aspect, referring to Figure 7 As shown, according to a second aspect of the embodiments of this application, a brightness compensation device 100 is provided, comprising:
[0094] The acquisition module 102 is used to acquire the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit.
[0095] The calculation module 104 is used to perform subtraction operations on the brightness decay data of each pixel in the current time period and the reference brightness decay data in the current time period respectively to obtain the compressed brightness decay data of each pixel in the current time period, and store the compressed brightness decay data of each pixel in the current time period in the second storage area of the first storage unit.
[0096] The compensation module 106 is used to obtain the reference brightness attenuation data of the current time period from the first storage area and the compressed brightness attenuation data of each pixel in the current time period from the second storage area in the next time period of the current time period, and to perform brightness compensation on each pixel of the display panel based on the reference brightness attenuation data of the current time period and the compressed brightness attenuation data of each pixel in the current time period.
[0097] In some optional embodiments, the acquisition module 102 is specifically used to: determine the minimum non-zero value in the brightness decay data of each pixel in the current time period, and determine the minimum non-zero value as the reference brightness decay data of the display panel in the current time period.
[0098] In some alternative embodiments, the first storage unit is the memory of the display driver chip of the display panel or the memory of the timing controller.
[0099] In some optional embodiments, the amount of compressed brightness decay data for each pixel in the current time period is less than the storage space capacity of the first storage area.
[0100] In some optional embodiments, the brightness compensation device 100 is further configured to: back up the reference brightness attenuation data of the current time period and the compressed brightness attenuation data of each pixel in the current time period to a second storage unit outside the first storage unit.
[0101] In some optional embodiments, the first storage unit is a power-loss volatile storage unit, and the second storage unit is a non-power-loss volatile storage unit.
[0102] In some optional embodiments, the compensation module 106 is specifically used for: adding the compressed brightness attenuation data of each pixel in the current time period to the reference brightness attenuation data of the current time period to obtain the brightness attenuation data of each pixel in the current time period; determining the compensation grayscale value corresponding to each pixel of the display panel based on the brightness attenuation data of each pixel in the current time period; and performing brightness compensation on each pixel of the display panel based on the compensation grayscale value corresponding to each pixel.
[0103] In some optional embodiments, the acquisition module 102 is specifically configured to: for each pixel of the display panel: acquire the brightness data of the pixel at the start and end of the current time period; determine the cumulative brightness decay data of the pixel accumulated in the current time period based on the brightness data at the start and end of the current time period; if the current time period has a previous time period, add the brightness decay data of the previous time period to the cumulative brightness decay data accumulated in the current time period to obtain the brightness decay data of the pixel in the current time period; or, if the current time period does not have a previous time period, determine the cumulative brightness decay data accumulated in the current time period as the brightness decay data of the pixel in the current time period.
[0104] In some optional embodiments, the acquisition module 102 is specifically used to: acquire a preset brightness decay curve, wherein the brightness decay curve is used to characterize the decay change state of the brightness data of the pixel with the usage time; determine the brightness data of the pixel at the beginning and end of the current time period based on the brightness decay curve according to the start and end times of the current time period; the acquisition module 102 is specifically used to: perform a subtraction operation based on the brightness data at the start time and the brightness data at the end time to obtain the cumulative brightness decay data of the pixel accumulated in the current time period.
[0105] The brightness compensation device 100 and its optional embodiments in this application have been described in detail in the aforementioned brightness compensation method embodiments. Therefore, their related content and beneficial effects can be understood by referring to the content of the optional embodiments of the above method, and will not be repeated here.
[0106] According to a third 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 brightness compensation method described in the first aspect by running the computer program stored in the memory.
[0107] Figure 8 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 800; however, as an example, reference is made to... Figure 8 The electronic device 800 provided in this application embodiment includes: a processor 802, a communications interface 804, a memory 806, and a communication bus 808. Wherein:
[0108] The processor 802, communication interface 804, and memory 806 communicate with each other through the communication bus 808.
[0109] Communication interface 804 is used to communicate with other electronic devices or servers.
[0110] The processor 802 is used to execute the computer program 810, specifically the relevant steps in any of the aforementioned brightness compensation method embodiments.
[0111] Specifically, computer program 810 may include program code that includes computer operation instructions.
[0112] The processor 802 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.
[0113] Memory 806 is used to store computer program 810. Memory 806 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0114] Specifically, computer program 810 can be used to cause processor 802 to execute the brightness compensation method in any of the foregoing embodiments.
[0115] The specific implementation of each step in computer program 810 can be found in the corresponding steps and units described in any of the aforementioned brightness compensation 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 aforementioned method embodiments, and will not be repeated here.
[0116] The electronic device 800 in this application embodiment has been described in detail in the aforementioned brightness compensation 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.
[0117] According to a fourth 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 brightness compensation 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.
[0118] According to a fifth 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 brightness compensation method as described in any of the embodiments of the plurality of method embodiments described above.
[0119] The brightness compensation device 100 / electronic device 800 / computer storage medium / computer program product embodiment in this application has been described in detail in the aforementioned brightness compensation 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.
[0120] It should be understood that the various figures in the embodiments of this application are for the purpose of illustrating the structure, and the dimensions of each structure may not be drawn according to the actual scale, and are not intended to limit the embodiments of this application.
[0121] Furthermore, it should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to sample data used for training the model, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0122] 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.
[0123] 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.
[0124] 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.
[0125] 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 brightness compensation method, characterized in that, include: Obtain the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit. The brightness decay data of each pixel in the current time period is subtracted from the reference brightness decay data of the current time period to obtain the compressed brightness decay data of each pixel in the current time period, and the compressed brightness decay data of each pixel in the current time period is stored in the second storage area of the first storage unit. In the next time period after the current time period, the reference brightness attenuation data for the current time period is obtained from the first storage area, and the compressed brightness attenuation data of each pixel in the current time period is obtained from the second storage area. Based on the reference brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel in the current time period, brightness compensation is performed on each pixel of the display panel.
2. The method according to claim 1, characterized in that, The step of determining the baseline brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period includes: The minimum non-zero value of the brightness decay data of each pixel in the current time period is determined, and the minimum non-zero value is determined as the reference brightness decay data of the display panel in the current time period.
3. The method according to claim 1, characterized in that, The first storage unit is the memory of the display driver chip of the display panel or the memory of the timing controller; Preferably, the amount of compressed brightness decay data for each pixel in the current time period is less than the storage space capacity of the first storage area.
4. The method according to claim 1, characterized in that, The method further includes: backing up the reference brightness decay data of the current time period and the compressed brightness decay data of each pixel in the current time period to a second storage unit outside the first storage unit; Preferably, the first storage unit is a power-loss volatile storage unit, and the second storage unit is a non-power-loss volatile storage unit.
5. The method according to claim 1, characterized in that, The step of performing brightness compensation on each pixel of the display panel based on the baseline brightness attenuation data for the current time period and the compressed brightness attenuation data of each pixel for the current time period includes: The compressed brightness decay data of each pixel in the current time period is added to the reference brightness decay data of the current time period to obtain the brightness decay data of each pixel in the current time period. Based on the brightness decay data of each pixel in the current time period, the compensation grayscale value corresponding to each pixel of the display panel is determined. Brightness compensation is performed on each pixel of the display panel based on the compensation grayscale value corresponding to each pixel.
6. The method according to any one of claims 1-5, characterized in that, The acquisition of brightness decay data for each pixel of the display panel during the current time period includes: For each pixel of the display panel: Obtain the brightness data of the pixel at the start and end of the current time period; Based on the brightness data at the start time and the brightness data at the end time, the cumulative brightness decay data of the pixel during the current time period is determined; If a previous time period exists in the current time period, the brightness decay data of the previous time period is added to the cumulative brightness decay data accumulated in the current time period to obtain the brightness decay data of the pixel in the current time period; or, If there is no previous time period in the current time period, the accumulated brightness decay data accumulated in the current time period is determined as the brightness decay data of the pixel in the current time period.
7. The method according to claim 6, characterized in that, The step of obtaining the brightness data of the pixel at the start and end of the current time period includes: Obtain a preset brightness decay curve, wherein the brightness decay curve is used to characterize the decay change of the brightness data of the pixel with the usage time; Based on the start and end times of the current time period, the brightness data of the pixel at the start and end times of the current time period are determined according to the brightness decay curve. The determination of the cumulative brightness decay data of the pixel within the current time period based on the brightness data at the start time and the brightness data at the end time includes: The cumulative brightness decay data of the pixel during the current time period is obtained by subtracting the brightness data at the start time and the brightness data at the end time.
8. A brightness compensation device, characterized in that, include: The acquisition module is used to acquire the brightness decay data of each pixel of the display panel in the current time period, determine the reference brightness decay data of the display panel in the current time period based on the brightness decay data of each pixel in the current time period, and store the reference brightness decay data of the current time period in the first storage area of the first storage unit. The calculation module is used to subtract the brightness decay data of each pixel in the current time period from the reference brightness decay data of the current time period to obtain the compressed brightness decay data of each pixel in the current time period, and store the compressed brightness decay data of each pixel in the current time period in the second storage area of the first storage unit. The compensation module is used to obtain the reference brightness attenuation data of the current time period from the first storage area and the compressed brightness attenuation data of each pixel in the current time period from the second storage area in the next time period, and to perform brightness compensation on each pixel of the display panel based on the reference brightness attenuation data of the current time period and the compressed brightness attenuation data of each pixel in the current time period.
9. An electronic device, characterized in that, include: The processor, the communication interface, the memory, and the communication bus are provided, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus. The memory is used to store computer programs; The processor is configured to perform the method of any one of claims 1-7 by running the computer program stored in the memory.
10. A computer storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-7.
