Screen brightness compensation method and device, electronic equipment and readable storage medium

CN121075263BActive Publication Date: 2026-08-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-01
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]传统技术中对OLED显示面板进行灰阶补偿时,存在补偿效果不佳的问题

Benefits of technology

[0015] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the screen brightness compensation method provided in the first aspect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121075263B_ABST
    Figure CN121075263B_ABST
Patent Text Reader

Abstract

This application relates to a screen brightness compensation method, apparatus, electronic device, and readable storage medium. The method includes: acquiring the current display parameters and current grayscale value of the screen; when the current display parameters are less than a parameter threshold, acquiring a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in a display driver chip; when the current display parameters are greater than or equal to the parameter threshold, acquiring a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in an application processor chip; wherein the grayscale values ​​stored in the application processor chip differ from those stored in the display driver chip; and compensating the initial brightness of the screen according to the target brightness compensation gain to obtain the target brightness. This method can improve the effect of display unevenness compensation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of screen display technology, and in particular to a screen brightness compensation method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] Organic Light Emitting Diode (OLED) and flat panel displays 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 application range. However, OLED displays suffer from poor brightness uniformity, known as Mura (display unevenness), which affects the display effect. Therefore, it is necessary to compensate for the grayscale of at least some pixels in the OLED display to correct this uneven brightness and ensure consistent pixel brightness.

[0003] Traditional techniques for grayscale compensation of OLED display panels often result in poor compensation effects. Summary of the Invention

[0004] This application provides a screen brightness compensation method, apparatus, electronic device, and computer-readable storage medium, which can improve the brightness compensation effect.

[0005] Firstly, this application provides a screen brightness compensation method, including:

[0006] Get the current display parameters and current grayscale value of the screen;

[0007] When the current display parameter is less than the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the display driver chip.

[0008] When the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the application processor chip; the grayscale values ​​stored in the application processor chip are different from the grayscale values ​​stored in the display driver chip;

[0009] The initial brightness of the screen is compensated based on the target brightness compensation gain to obtain the target brightness.

[0010] Secondly, this application also provides a screen brightness compensation device, comprising:

[0011] The parameter acquisition module is used to obtain the current display parameters and current grayscale value of the screen;

[0012] A gain acquisition module is used to, when the current display parameter is less than a parameter threshold, acquire a target brightness compensation gain corresponding to the current display parameter and the current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip; and when the current display parameter is greater than or equal to the parameter threshold, acquire a target brightness compensation gain corresponding to the current display parameter and the current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip; wherein the grayscale values ​​stored in the application processor chip are different from those stored in the display driver chip.

[0013] A brightness compensation module is used to compensate the initial brightness of the screen according to the target brightness compensation gain to obtain the target brightness.

[0014] Thirdly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the screen brightness compensation method provided in the first aspect.

[0015] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the screen brightness compensation method provided in the first aspect.

[0016] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the screen brightness compensation method provided in the first aspect.

[0017] The aforementioned screen brightness compensation method, apparatus, electronic device, computer-readable storage medium, and computer program product, when the current display parameters of the screen are less than a parameter threshold, obtain a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip; when the current display parameters of the screen are greater than or equal to the parameter threshold, obtain a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor, and compensate the initial brightness of the screen based on the target brightness compensation gain to obtain the target brightness. Since both the application processor and the display driver chip store grayscale values, and the grayscale values ​​stored in the application processor differ from those stored in the display driver chip, compared to compensation using only a limited number of grayscale values ​​stored in the display driver chip, more grayscale values ​​can be stored. Therefore, the brightness in the actual scene can be compensated using the brightness compensation gains corresponding to the more stored grayscale values, improving compensation accuracy and enhancing the compensation effect for display unevenness. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating the screen brightness compensation method in some embodiments;

[0020] Figure 2 This is a schematic diagram of the operating logic of DMR IP in some embodiments;

[0021] Figure 3 This is a schematic diagram of the high-brightness 3-grayscale Mura morphology in some embodiments;

[0022] Figure 4 This is a schematic diagram of the high-brightness 5-grayscale Mura morphology in some embodiments;

[0023] Figure 5 This is a schematic diagram of the high-brightness 16-grayscale Mura morphology in some embodiments;

[0024] Figure 6 This is a structural block diagram of the screen brightness compensation device in some embodiments;

[0025] Figure 7 This is a diagram of the internal structure of an electronic device in some embodiments. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0027] The screen brightness compensation method provided in this application embodiment can be applied to electronic devices including screens. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, aircraft, drones, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. It should be noted that the electronic device can be a terminal or a server.

[0028] In some exemplary embodiments, such as Figure 1 As shown, a screen brightness compensation method is provided, including the following steps 102 to 108.

[0029] Step 102: Obtain the current display parameters and current grayscale value of the screen.

[0030] The current display parameters can include current brightness information or current display frame rate. Current brightness information can be the overall brightness of the currently displayed image, for example, represented by the average or median brightness of each pixel on the screen. Current brightness information can also be represented by the Dynamic Brightness Value (DBV). The Dynamic Brightness Value is an indicator used to describe the dynamic range of brightness of a display device, representing the highest brightness that an electronic device's screen can achieve. The higher the DBV value, the wider the brightness range the screen can display. Different DBV values ​​correspond to different signal voltage values. The current grayscale value refers to the grayscale of the currently displayed image on the screen; grayscale is used to represent gray levels. For example, if the pixel depth is 8, the grayscale value can be any value from 0 to 255.

[0031] It's important to note that screen brightness (Luminance) refers to the physical quantity of light emitted from the surface of a light-emitting object, measured in nits (nits). Screen brightness is an indicator used to measure the luminous intensity of a display screen. Screen brightness can be adjusted using DBV (Darksight Value), therefore, there is a one-to-one correspondence between screen brightness and DBV. For example, setting the DBV adjustment range to [0, 3515] allows adjustment of the screen brightness range from [0 nits, 500 nits]. In brightly lit environments, the DBV can be increased to 3515 to raise the screen brightness to 500 nits, ensuring the user can clearly see the displayed content. In dimly lit environments, the DBV can be decreased to 50 to reduce the screen brightness to 20 nits, preventing eye strain caused by excessive difference between ambient light and the display's brightness.

[0032] In practical applications, industrial cameras can be used to capture images of the screen display, and then the current brightness or grayscale value of the screen can be extracted from the images. The current display frame rate can be obtained through statistics from the electronic device or directly based on set parameters.

[0033] Step 104: When the current display parameter is less than the parameter threshold, obtain the target brightness compensation gain corresponding to the current display parameter and the current grayscale value according to the correspondence between the display parameter, grayscale value and brightness compensation gain stored in the display driver chip.

[0034] Step 106: When the current display parameter is greater than or equal to the parameter threshold, obtain the target brightness compensation gain corresponding to the current display parameter and the current grayscale value according to the correspondence between the display parameter, grayscale value and brightness compensation gain stored in the application processor chip; the grayscale value stored in the application processor chip is different from the grayscale value stored in the display driver chip.

[0035] The parameter threshold is used to determine whether to obtain the brightness compensation gain from the Display Driver Integrated Circuit (DDIC) or the Application Processor Chip (AP). If the current display parameter is less than the parameter threshold, the brightness compensation gain is obtained from the DDIC; if the current display parameter is greater than or equal to the parameter threshold, the brightness compensation gain is obtained from the AP. It is easy to understand that the parameter threshold can be set according to the actual application scenario. The current display parameter includes the current brightness information or the current display frame rate; correspondingly, the parameter threshold can include a brightness threshold or a frame rate threshold. The correspondence between display parameters, grayscale values, and brightness compensation gain can be stored in the form of a two-dimensional table (2D table).

[0036] It's easy to understand that both the display driver chip and the application processor chip store the correspondence between display parameters, grayscale values, and brightness compensation gains. However, the grayscale values ​​stored in the application processor chip differ from those stored in the display driver chip. Compared to storing these values ​​only in the display driver chip, which would create storage pressure, this approach increases the number of grayscale values ​​used for brightness compensation without changing the DDIC hardware structure, thereby improving compensation accuracy. Typically, the grayscale values ​​stored in the display driver chip or application processor chip are pre-defined key grayscale nodes used to apply compensation data; these can also be called grayscale binding points. The compensation principle is that, with limited storage resources, a limited number of grayscale sampling points cover the entire brightness range. If the current grayscale value differs from the pre-stored grayscale value, interpolation can be performed using the brightness compensation gain corresponding to the stored grayscale value to obtain the brightness compensation gain corresponding to the current grayscale value. The brightness compensation gain can be pre-determined based on display parameters, grayscale, temperature, and aging data.

[0037] In an exemplary embodiment, the current display parameter is compared with a parameter threshold. If the current display parameter is less than the parameter threshold, the electronic device retrieves the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip to obtain the target brightness compensation gain corresponding to the current display parameter and the current grayscale value. If the current display parameter is greater than or equal to the parameter threshold, the electronic device retrieves the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip to obtain the target brightness compensation gain corresponding to the current display parameter and the current grayscale value.

[0038] In an exemplary embodiment, the display parameters stored in the display driver chip or application processor chip can be characterized by display parameter ranges. In other words, the display driver chip or application processor chip stores the correspondence between display parameter ranges, grayscale values, and brightness compensation gains. Typically, the union of all display parameter ranges stored in the display driver chip and application processor chip can basically cover the display parameters that may occur in actual application scenarios. Different display parameter ranges may correspond to different display unevenness situations; therefore, different display parameter ranges will also correspond to different brightness compensation gains for the same grayscale value. The setting method of display parameter ranges and specific grayscale values ​​can be set according to the actual application scenario, and no specific restrictions are imposed here.

[0039] Electronic devices can compare current display parameters with parameter thresholds. If the current display parameter is less than the parameter threshold, based on the correspondence between display parameter ranges, grayscale values, and brightness compensation gains stored in the display driver chip, the device determines the target display parameter range containing the current display parameter and the target grayscale value that is the same as the current grayscale value, and then obtains the target brightness compensation gain corresponding to the target display parameter range and the target grayscale value. If the current display parameter is greater than or equal to the parameter threshold, based on the correspondence between display parameter ranges, grayscale values, and brightness compensation gains stored in the application processor chip, the device determines the target display parameter range containing the current display parameter and the target grayscale value that is the same as the current grayscale value, and then obtains the target brightness compensation gain corresponding to the target display parameter range and the target grayscale value. It should be noted that if the current grayscale value is different from both the stored grayscale values, meaning no target grayscale value matching the current grayscale value can be found in the stored grayscale values, then the grayscale value closest to the current grayscale value can be determined from the stored grayscale values. Based on this closest grayscale value and the target display parameter range, a candidate brightness compensation gain is determined. Interpolation is then performed using the candidate brightness compensation gain to obtain the target brightness compensation gain corresponding to the current display parameters and the current grayscale value. It is easy to understand that the above interpolation method applies to situations involving the driving display chip or application processor chip.

[0040] Step 108: Compensate the initial brightness of the screen according to the target brightness compensation gain to obtain the target brightness.

[0041] Initial brightness refers to the screen brightness before brightness compensation. Target brightness refers to the screen brightness after brightness compensation based on the target brightness compensation gain.

[0042] In practical applications, the number of compensation values ​​corresponding to grayscale values ​​stored in the DDIC's Static Random Access Memory (SRAM) is limited, such as 2-3 or 5-6, while the actual display shows a continuous range of grayscale values, such as 0-255. Therefore, the baseline compensation value can be dynamically adjusted through the brightness compensation gain to ensure that even unstored intermediate grayscale values ​​are reasonably compensated, avoiding brightness jumps or mismatches. For example, in SDR (Standard Dynamic Range) scenarios, due to the low DBV, brightness changes are gradual, and compensation focuses on low grayscale values; while in HDR (High Dynamic Range Imaging) scenarios, the DBV is higher, and the brightness dynamic range is larger. Compensation focuses on the bright areas. If compensation is only performed using the baseline compensation value, it will lead to overcompensation in SDR or undercompensation in HDR. To address this, compensation can be achieved by dynamically scaling the baseline compensation value based on the DBV mode using the brightness compensation gain. For example, in HDR scenes, the compensation weight of higher grayscale levels can be increased (i.e., the brightness compensation gain is increased) to ensure detail in bright areas. In SDR scenes, the overall brightness compensation gain can be reduced to prevent low grayscale levels from becoming too dark. The baseline compensation value is the brightness compensation value corresponding to the pre-stored display parameters and grayscale values. Baseline compensation values ​​for other unstored grayscale values ​​can be obtained by interpolation using the baseline compensation values ​​corresponding to the already stored grayscale values.

[0043] For example, the target compensation value can be obtained by adjusting the corresponding reference compensation value through the target brightness compensation gain. The initial brightness of the screen can then be compensated using the target compensation value to obtain the target brightness. For instance, the target compensation value = reference compensation value × target brightness compensation gain, that is, the product of the reference compensation value and the target brightness compensation gain is used as the target compensation value.

[0044] In the aforementioned screen brightness compensation method, when the current display parameters of the screen are less than a parameter threshold, a target brightness compensation gain corresponding to the current display parameters and current grayscale value is obtained based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip. When the current display parameters of the screen are greater than or equal to the parameter threshold, a target brightness compensation gain corresponding to the current display parameters and current grayscale value is obtained based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor. The initial brightness of the screen is then compensated based on the target brightness compensation gain to obtain the target brightness. Since both the application processor and the display driver chip store grayscale values, and the grayscale values ​​stored in the application processor differ from those stored in the display driver chip, compared to the case where compensation is only performed using a limited number of grayscale values ​​stored in the display driver chip, more grayscale values ​​can be stored. Therefore, the brightness compensation gain corresponding to the more stored grayscale values ​​can be used to compensate for the brightness in the actual application scenario, improving compensation accuracy and enhancing the compensation effect for display unevenness. In addition, by selecting the brightness compensation gain stored in the display driver chip or application processor chip based on parameter thresholds, high-precision compensation can be achieved for both high and low brightness conditions, improving the compensation effect across the entire brightness range.

[0045] In some embodiments, the current display parameters include current brightness information; in step 104, when the current display parameters are less than a parameter threshold, the target brightness compensation gain corresponding to the current display parameters and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip, including:

[0046] When the current brightness information is less than the brightness threshold, the target brightness compensation gain corresponding to the current brightness information and the current grayscale value is obtained based on the correspondence between the grayscale value, brightness information and brightness compensation gain stored in the display driver chip.

[0047] In step 206, when the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip. This includes:

[0048] When the current brightness information is greater than or equal to the brightness threshold, the target brightness compensation gain corresponding to the current brightness information and the current grayscale value is obtained based on the correspondence between the grayscale value, brightness information and brightness compensation gain stored in the application processor chip.

[0049] The current brightness information refers to the brightness of the currently displayed image on the screen. This corresponds to the brightness information stored in the display driver chip or application processor chip, such as the DBV value. A DBV value can represent a brightness range, i.e., the brightness range of the screen. For example, the correspondence between brightness information, grayscale values, and brightness compensation gain stored in the display driver chip or application processor chip can be stored in the form of a two-dimensional table, as shown in Table 1 below. The display driver chip or application processor chip can store the brightness compensation gain (Gain) corresponding to 6 grayscale values ​​and 6 DBVs (brightness information), respectively. It is easy to understand that the grayscale value information and brightness information stored in the display driver chip or application processor can be set according to the actual application scenario. The grayscale value information can include the number of grayscale values ​​and the grayscale values ​​themselves. The brightness information can include the DBV value and the number of DBV values.

[0050] Table 1

[0051]

[0052] For example, Table 1 is used for illustration. The electronic device can compare the current brightness information with the brightness threshold. If the current brightness information is less than the brightness threshold, it obtains the DBV corresponding to the current brightness information (e.g., DBV2 in Table 1) based on the correspondence between grayscale values, brightness information, and brightness compensation gains stored in the display driver chip, and obtains the grayscale value corresponding to the current grayscale value (e.g., grayscale value 2 in Table 1). Then, the target brightness compensation gain Gain22 corresponding to the current grayscale value and the current brightness information can be obtained. If no grayscale value matching the current grayscale value is found in Table 1, the target brightness compensation gain corresponding to the current grayscale value and the current brightness information is obtained by interpolating the grayscale value closest to the current grayscale value and DBV2 stored in Table 1 (e.g., Gain32). If the current brightness information is greater than or equal to the brightness threshold, the target brightness compensation gain corresponding to the current brightness information and the current grayscale value is obtained based on the correspondence between grayscale values, brightness information, and brightness compensation gains stored in the application processor chip. The method for obtaining the target brightness compensation gain corresponding to the current brightness information and the current grayscale value can be found in the above-mentioned method based on the correspondence stored in the display driver chip, and will not be repeated here.

[0053] In this embodiment, by determining whether to obtain the target brightness compensation gain corresponding to the current brightness information and current grayscale value based on the correspondence between the current brightness information and the brightness threshold stored in the display driver chip, or based on the correspondence between the current brightness information and current grayscale value stored in the application processor chip, it is possible to determine the brightness compensation gain separately for display unevenness in high and low brightness, thereby performing corresponding brightness compensation and improving the display unevenness compensation effect under different brightness levels.

[0054] In some embodiments, the current display parameters include the current display frame rate; in step 204, when the current display parameters are less than a parameter threshold, the target brightness compensation gain corresponding to the current display parameters and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip, including:

[0055] When the current display frame rate is less than the frame rate threshold, the target brightness compensation gain corresponding to the current display frame rate and the current gray level value is obtained based on the correspondence between the gray level value, display frame rate and brightness compensation gain stored in the display driver chip.

[0056] In step 206, when the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip. This includes:

[0057] When the current display frame rate is greater than or equal to the frame rate threshold, the target brightness compensation gain corresponding to the current display frame rate and the current grayscale value is obtained based on the correspondence between the grayscale value, display frame rate and brightness compensation gain stored in the application processor chip.

[0058] The current display frame rate refers to the actual display frame rate of the screen. This corresponds to the display frame rate stored in the display driver chip or application processor chip. For example, the relationship between display frame rate, grayscale values, and brightness compensation gain stored in the display driver chip or application processor chip can be stored in a two-dimensional table, as shown in Table 2 below. For instance, the display driver chip or application processor chip can store the brightness compensation gain corresponding to 6 grayscale values ​​and 6 display frame rates, respectively. It is easy to understand that the grayscale value information and display frame rate stored in the display driver chip or application processor can be set according to the actual application scenario. Grayscale value information can include the number of grayscale values ​​and the grayscale value itself. Frame rate information can include the number of display frame rates and the display frame rate. The display frame rate can be characterized by frame rate ranges. Typically, different frame rate ranges correspond to different display non-uniformity characteristics; even for the same grayscale, the corresponding brightness compensation gain is different. The union of the various frame rate ranges stored in the display driver chip and application processor can usually cover the actual display frame rate in most application scenarios.

[0059] Table 2

[0060]

[0061] For example, Table 2 is used for illustration. The electronic device can compare the current display frame rate with a frame rate threshold. If the current display frame rate is less than the frame rate threshold, it obtains the stored display frame rate corresponding to the current display frame rate (e.g., Frame4 in Table 2) based on the correspondence between grayscale values, display frame rates, and brightness compensation gains stored in the display driver chip, and obtains the stored grayscale value corresponding to the current grayscale value (e.g., grayscale value 2 in Table 2). Then, the target brightness compensation gain Gain24 corresponding to the current grayscale value and the current display frame rate can be obtained. If no grayscale value matching the current grayscale value is found in Table 1, the target brightness compensation gain corresponding to the current grayscale value and the current display frame rate is obtained by interpolating Gain44 using the grayscale value closest to the current grayscale value stored in Table 2 and the brightness compensation gain corresponding to Frame4. If the current display frame rate is greater than or equal to the brightness threshold, the target brightness compensation gain corresponding to the current display frame rate and current grayscale value is obtained based on the correspondence between grayscale values, display frame rate, and brightness compensation gain stored in the application processor chip. The method for obtaining the target brightness compensation gain corresponding to the current display frame rate and current grayscale value can be found in the method described above for obtaining the corresponding value based on the relationship stored in the display driver chip, and will not be repeated here.

[0062] In this embodiment, by determining whether to obtain the target brightness compensation gain corresponding to the current display frame rate and current grayscale value based on the relationship between the current display frame rate and the frame rate threshold, or based on the correspondence between grayscale values, display frame rate, and brightness compensation gain stored in the display driver chip, or based on the correspondence between grayscale values, display frame rate, and brightness compensation gain stored in the application processor chip, it is possible to determine the brightness compensation gain separately for display unevenness at higher and lower display frame rates, thereby performing corresponding brightness compensation and improving the display unevenness compensation effect at different display frame rates.

[0063] In some embodiments, in step 204, when the current display parameter is less than a parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip, including:

[0064] If the current display parameter is less than the parameter threshold, and the current grayscale value is not the same as the grayscale value stored in the display driver chip, then the first grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the display driver chip, the first display parameter matching the current display parameter is determined from the display parameters stored in the display driver chip, and the first brightness compensation gain corresponding to the first grayscale value and the first display parameter is determined according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the display driver chip; the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained by interpolation through the first brightness compensation gain.

[0065] In step 206, when the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip. This includes:

[0066] If the current display parameter is greater than or equal to the parameter threshold, and the current grayscale value is not the same as the grayscale value stored in the application processor chip, then the second grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the application processor chip, and the second display parameter closest to the current display parameter is determined from the display parameters stored in the application processor chip. Based on the correspondence between the display parameters, grayscale values, and brightness compensation gains stored in the application processor chip, the second brightness compensation gain corresponding to the second grayscale value and the second display parameter is determined. Interpolation is performed using the second brightness compensation gain to obtain the target brightness compensation gain corresponding to the current display parameter and the current grayscale value.

[0067] Typically, because the number of grayscale values ​​stored in the display driver chip or application processor chip is limited, the current grayscale value of the screen is often different from the grayscale values ​​stored in the display driver chip or application processor chip. Therefore, interpolation can be performed using the brightness compensation gains corresponding to the stored grayscale values ​​to obtain the brightness compensation gains corresponding to the unstored grayscale values. However, the interpolation is not based on all the brightness compensation gains corresponding to the stored grayscale values, but rather on selecting the grayscale value closest to the current grayscale value. Interpolation is then performed based on the brightness compensation gain corresponding to this grayscale value and the display parameters that match the current display parameters. The display parameters that match the current display parameters can be a parameter range including the current display parameters, or display parameters that are the same as or similar to the current display parameters. The grayscale value closest to the current grayscale value can be the grayscale value with the smallest absolute difference from the current grayscale value. In some application scenarios, if there is more than one grayscale value with the smallest absolute difference from the current grayscale value (e.g., including two), then any one of these grayscale values ​​can be selected as the grayscale value closest to the current grayscale value. Alternatively, if the current display parameter is less than the parameter threshold, and the current grayscale value is different from all grayscale values ​​stored in the display driver chip, and the absolute value of the difference between the current grayscale value and the grayscale value stored in the display driver chip includes multiple values, then the smaller stored grayscale value can be selected as the grayscale value closest to the current grayscale value. If the current display parameter is greater than or equal to the parameter threshold, and the current grayscale value is different from all grayscale values ​​stored in the application processor chip, and the absolute value of the difference between the current grayscale value and the grayscale value stored in the application processor chip includes multiple values, then the larger stored grayscale value can be selected as the grayscale value closest to the current grayscale value.

[0068] For example, the current display parameters include current brightness information. If the current brightness information is less than a brightness threshold, and the current grayscale value is not the same as any of the grayscale values ​​stored in the display driver chip, then the first grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the display driver chip. For example, assuming the grayscale values ​​stored in the display driver chip are (16, 32, 64, 128, 255) and the current grayscale value is 8, then the first grayscale value closest to the current grayscale value is 16. Then, the first brightness information matching the current brightness information is determined from the brightness information stored in the display driver chip; for example, the brightness range (DBV) including the current brightness information can be used as the first brightness information matching the current brightness information. Based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip, the first brightness compensation gain corresponding to the first grayscale value and the first brightness information can be determined. Then, the first brightness compensation gain is interpolated to obtain the target brightness compensation gain corresponding to the current brightness information and the current grayscale value. If the current brightness information is greater than or equal to the parameter threshold, and the current grayscale value is different from all grayscale values ​​stored in the application processor chip, then the second grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the application processor chip, and the second brightness information matching the current brightness information is determined from the brightness information stored in the application processor chip. Based on the correspondence between the brightness information, grayscale values, and brightness compensation gain stored in the application processor chip, the second brightness compensation gain corresponding to the second grayscale value and the second brightness information can be determined. Then, the second brightness compensation gain is interpolated to obtain the target brightness compensation gain corresponding to the current brightness information and the current grayscale value.

[0069] The target brightness compensation gain corresponding to the current brightness information and the current grayscale value can be obtained by interpolating or extrapolating the first brightness compensation gain. The interpolation method for the first brightness compensation gain can be selected according to the actual application scenario, and no specific restrictions are imposed here.

[0070] In some examples, a preset number of candidate grayscale values, arranged from closest to furthest from the current grayscale value, can be determined from the grayscale values ​​stored in the display driver chip. Based on the correspondence between the display parameters, grayscale values, and brightness compensation gains stored in the display driver chip, a preset number of candidate grayscale values ​​and a preset number of candidate brightness compensation gains corresponding to the first display parameters are determined. Interpolation is performed using the preset number of candidate brightness compensation gains to obtain the current brightness information and the target brightness compensation gain corresponding to the current grayscale value.

[0071] For example, the current display parameters include the current display frame rate. If the current display frame rate is less than a frame rate threshold, and the current grayscale value is not the same as the grayscale values ​​stored in the display driver chip, then a first grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the display driver chip, a first display frame rate matching the current display frame rate is determined from the display frame rates stored in the display driver chip, and a first brightness compensation gain corresponding to the first grayscale value and the first display frame rate is determined according to the correspondence between the display frame rate, grayscale value, and brightness compensation gain stored in the display driver chip; interpolation is performed using the first brightness compensation gain to obtain the target brightness compensation gain corresponding to the current display frame rate and the current grayscale value. If the current display frame rate is greater than or equal to the frame rate threshold, and the current grayscale value is not the same as the grayscale value stored in the application processor chip, then the second grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the application processor chip, the second display frame rate closest to the current display frame rate is determined from the display frame rates stored in the application processor chip, and the second brightness compensation gain corresponding to the second grayscale value and the second display frame rate is determined according to the correspondence between the display frame rate, grayscale value, and brightness compensation gain stored in the application processor chip; the target brightness compensation gain corresponding to the current display frame rate and the current grayscale value is obtained by interpolation through the second brightness compensation gain.

[0072] In this embodiment, when the current grayscale value is different from the grayscale values ​​stored in the display driver chip or application processor, the grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the display driver chip or application processor, and the display parameters matching the current display parameters are determined from the stored display parameters. Based on the correspondence between the stored display parameters, grayscale values, and brightness compensation gains, the brightness compensation gain corresponding to the closest grayscale value and the matching display parameters is determined. Based on this compensation gain, interpolation is performed to obtain the target brightness compensation gain corresponding to the current display parameters and the current grayscale value. This can accurately obtain the brightness compensation gain corresponding to other grayscale values ​​besides those stored in the display driver chip or application processor, thereby achieving compensation for display unevenness corresponding to all grayscale values ​​and improving the compensation effect of display unevenness.

[0073] In some embodiments, the current display parameters include current brightness information; the method further includes:

[0074] If the current brightness information is higher than the reference brightness, and the current grayscale value is less than or equal to the grayscale threshold, the initial brightness of the screen is compensated by the compensation data corresponding to the target brightness information that matches the current brightness information; if the current grayscale value is greater than the grayscale threshold, the initial brightness of the screen is compensated by the compensation data corresponding to the current brightness information.

[0075] The reference brightness is a pre-set brightness threshold. A scene where the current brightness is higher than the reference brightness and the current grayscale value is less than or equal to the grayscale threshold is considered a "high brightness, low grayscale" scene. Brightness compensation can be performed using compensation data from a matching target brightness information. The reference brightness and grayscale threshold can be determined experimentally or empirically. If the current brightness information and the target brightness information have the same display murmur characteristics, it indicates that the current brightness information matches the target brightness information.

[0076] In an exemplary embodiment, in a "high brightness, low grayscale" scenario, if the screen brightness is compensated using the compensation data corresponding to the current brightness information, inaccurate compensation may occur. Instead, brightness compensation is performed using the compensation data of the target brightness information that matches the current brightness. When the current brightness is higher than a reference brightness, the current grayscale value is compared with a grayscale threshold. If the current grayscale value is less than the grayscale threshold, the initial brightness of the screen is compensated using the compensation data corresponding to the target brightness information that matches the current brightness information. If the current grayscale value is greater than or equal to the grayscale threshold, the initial brightness of the screen is compensated using the compensation data corresponding to the current brightness information. It is easily understood that the target brightness information matching the current brightness information can be pre-set, for example, determined through implementation or experience.

[0077] For example, the display driver chip DDIC stores compensation data for high-brightness scenes and low-brightness scenes, such as 500 nits for high-brightness scenes and 10 nits for low-brightness scenes. Assuming a reference brightness of 300 nits and a current brightness of 500 nits (meaning the current brightness is higher than the reference brightness), and a grayscale threshold of 3, if the current grayscale value is less than or equal to 3, the initial brightness of the screen is compensated using the 10 nit compensation data matching 500 nits. If the current grayscale value is greater than 3, the initial brightness of the screen is compensated using the compensation data corresponding to 500 nits. The compensation data may include a brightness compensation gain. In other words, if the current grayscale value is less than or equal to the grayscale threshold, compensation can be made using the brightness compensation gain corresponding to the stored grayscale value of the target brightness information matching the current brightness information; if the current grayscale value is greater than the grayscale threshold, compensation can be made using the brightness compensation gain corresponding to the stored grayscale value of the current brightness information.

[0078] In this embodiment, if the current grayscale value is less than or equal to the grayscale threshold when the current brightness information is higher than the reference brightness, compensation is performed using the compensation data corresponding to the target brightness information that matches the current brightness information; if the current grayscale value is greater than the grayscale threshold, compensation is performed using the compensation data corresponding to the current grayscale value. This can improve the display unevenness compensation effect in high brightness and low grayscale scenes, thereby improving the optimal compensation in different brightness scenes.

[0079] In some embodiments, at least one of the grayscale values ​​stored in the application processor chip is less than the minimum grayscale value stored in the display driver chip.

[0080] It's easy to understand that due to the limitations of storage resources in the DDIC, the number of grayscale values ​​stored in the DDIC is limited, for example, 3, 4, 5, or 6. If the grayscale values ​​stored in the DDIC are, for example, (16, 32, 64, 128, 256), then compensation for grayscale values ​​of 3 or 5 can only be obtained by interpolation using the brightness compensation gain corresponding to the 16 grayscale values, resulting in poor compensation. For example, if the grayscale values ​​stored in the application processor chip are at least one smaller than the minimum grayscale value stored in the display driver chip, then accurate compensation for low grayscale values ​​of 3, 4, or 5 can be achieved under high brightness conditions.

[0081] In this embodiment, by utilizing the fact that at least one of the grayscale values ​​stored in the application processor chip is less than the minimum grayscale value stored in the display driver chip, the problem of poor compensation effect caused by having to compensate only by interpolating the brightness compensation gain corresponding to the higher grayscale in high-brightness, low-grayscale scenarios is avoided. This enables accurate compensation in high-brightness, low-grayscale scenarios and improves the compensation effect for uneven display under different brightness levels.

[0082] In some practical applications, the Digital Compensation Algorithm (DMR) IP (Display Unevenness Compensation Hardware Module) in the DDIC produced by some display panel manufacturers has limited register and storage resources (such as SRAM). This limits the number of DBV Gain (Dynamic Brightness Gain) settings for each grayscale binding point and the storage of Mura feature information. Since the Mura morphology and feature change trends of OLEDs differ significantly in high-brightness and low-brightness scenarios, the limited adjustment space is insufficient to compensate for the complex display unevenness of OLED low-grayscale panels, resulting in a poor visual experience for users.

[0083] In traditional technical solutions, the basic operating logic of DMR IP in DDIC is as follows: Figure 2As shown, the electronic device can decode the Bin Data (binary format data) corresponding to the compensation data stored in the DDIC to obtain decoded data. Gray interpolation is then performed on the decoded data to obtain the interpolation result. Based on the interpolation result, the dynamic brightness value (DBVModule) module performs brightness compensation to obtain the compensated brightness. The frame module then outputs the compensated brightness to display the screen. The DDIC, along with the AMOLED (Active-Matrix Organic Light-Emitting Diode) panel, displays information such as frame rate and brightness by updating the offset value via frame refresh. Due to the size limitation of the DDIC SRAM, it can typically only store compensation information for 2-3 high-brightness grayscale nodes. The current panel display state and the stored brightness node grayscale (i.e., grayscale binding points) are not always consistent; therefore, the DBV gain value needs to be adjusted to meet the compensation requirements of various display states. The compensation calculation logic can be: offset = offset gray_node *DBV_Gain, which is the final compensation value (offset) of the node grayscale, is the baseline compensation value (offset) of the node grayscale. gray_node The product of the grayscale value and the corresponding brightness compensation gain (DBV_Gain) is calculated. Therefore, it can be seen that in traditional technical solutions, due to the limitations of DDIC storage resources, the number of DBV Gain grayscale nodes is limited, which cannot satisfy the Mura problem compensation for all types and scenarios of screens. DBV Gain is typically stored in DDIC as a 2D table with grayscale (Gray) and brightness information (DBV) as its dimensions; the corresponding 2D table can be found in Table 1.

[0084] It's easy to understand that the requirements for grayscale nodes in Amoled's Mura pattern differ between high-brightness and low-brightness scenes. In traditional techniques, since the DBV Gain is a fixed 2D table, the same grayscale nodes are used for both high-brightness (High DBV) and low-brightness (Low DBV). Taking 6 grayscale nodes as an example, the grayscale binding points stored in the DDIC DMR IP are typically (16, 32, 64, 128, 255). This binding point setting is relatively reasonable for lower brightness, but for higher brightness, while the Mura characteristics of mid-to-high grayscale patterns tend to be consistent, the Mura characteristics of low grayscale patterns vary significantly. For example, for high-brightness low grayscale patterns, such as 3, 4, and 5 grayscales, adjustments can only be made through interpolation using a 16-grayscale DBV Gain. For example, a schematic diagram of a high-brightness 3-grayscale Mura pattern is shown below. Figure 3As shown, a schematic diagram of the high-brightness 5-grayscale Mura morphology is as follows: Figure 4 As shown, a schematic diagram of the Mura morphology with high brightness and 16 gray levels is as follows: Figure 5 As shown. By Figures 3 to 5 It is known that the Mura morphology varies considerably across different gray levels at high brightness. Currently, the compensation trends of some panels differ significantly at gray levels 3 and 5, and simply using a single gray level for point-binding compensation is ineffective. High brightness at low gray levels (such as gray level 3) is a frequently used LHBM (Local Histogram Balancing) scenario, and there is an urgent need to improve the corresponding compensation effect.

[0085] For example, when the Amoleed Panel displays a brightness greater than or equal to DBV', the AP calls the binding points Gray1, Gray2, Gray3, Gray4, Gray5, and Gray6 (which can be set to 3, 5, 16, 64, 255) stored in the AP via frames to perform screen brightness compensation. When the Amoleed Panel displays a brightness less than DBV', the AP calls the binding points Gray1', Gray2', Gray3', Gray4', Gray5', and Gray6' (which can be set to 16, 32, 64, 128, 255) stored in the DDIC via frames to perform screen brightness compensation. The two-dimensional DBV Table in this example is shown in Table 3 below. This allows for the AP+DDIC combination to separately adjust the Mura for different brightness ranges.

[0086] Table 3

[0087]

[0088] For example, in addition to the AP calling the DBV Gain register via DBV, it can also call Frame Gain via Frame (frame rate) to achieve optimal compensation at different frame rates. For instance, a 2D table with Gray and Frame as dimensions or a 1D table with Gray as dimension can be created. When the current display frame rate of the Panel is greater than or equal to the frame rate threshold Frame', one set of Gain is called; when Frame is less than Frame', another set of Gain is called.

[0089] In the above embodiments, by introducing additional binding points into the AP-side storage and using the AP+DDIC combination, corresponding compensation adjustments are made for the Mura trend characteristics of high-brightness and low-brightness scenes, respectively. This improves the visual experience of high-brightness, low-grayscale images and meets a wider range of scenario requirements. It eliminates the limitations of a single DDIC storage resource, increases debugging flexibility to achieve better compensation effects, and increases the number of binding points without adding DDIC circuit resources, saving hardware costs and power consumption. High-brightness, low-grayscale images are RFI (Request For Inspection) specifications for production lines; the improved effect also leads to improved production line yield, saving procurement costs.

[0090] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0091] Based on the same inventive concept, this application also provides a screen brightness compensation device for implementing the screen brightness compensation method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more screen brightness compensation device embodiments provided below can be found in the limitations of the screen brightness compensation method described above, and will not be repeated here.

[0092] In some exemplary embodiments, such as Figure 6 As shown, a screen brightness compensation device 600 is provided, including: a parameter acquisition module 602, a gain acquisition module 604, and a brightness compensation module 606, wherein:

[0093] The parameter acquisition module 602 is used to acquire the current display parameters and current grayscale value of the screen;

[0094] The gain acquisition module 604 is used to acquire a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip when the current display parameters are less than the parameter threshold; and to acquire a target brightness compensation gain corresponding to the current display parameters and current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip when the current display parameters are greater than or equal to the parameter threshold; the grayscale values ​​stored in the application processor chip may differ from those stored in the display driver chip.

[0095] The brightness compensation module 606 is used to compensate the initial brightness of the screen according to the target brightness compensation gain to obtain the target brightness.

[0096] In some embodiments, the current display parameters include current brightness information; the gain acquisition module 604 is further configured to, when the current brightness information is less than a brightness threshold, acquire a target brightness compensation gain corresponding to the current brightness information and the current grayscale value according to the correspondence between grayscale values, brightness information and brightness compensation gain stored in the display driver chip; and when the current brightness information is greater than or equal to the brightness threshold, acquire a target brightness compensation gain corresponding to the current brightness information and the current grayscale value according to the correspondence between grayscale values, brightness information and brightness compensation gain stored in the application processor chip.

[0097] In some embodiments, the current display parameters include the current display frame rate; the gain acquisition module 604 is further configured to, when the current display frame rate is less than the frame rate threshold, acquire a target brightness compensation gain corresponding to the current display frame rate and the current grayscale value according to the correspondence between grayscale values, display frame rate and brightness compensation gain stored in the display driver chip; and when the current display frame rate is greater than or equal to the frame rate threshold, acquire a target brightness compensation gain corresponding to the current display frame rate and the current grayscale value according to the correspondence between grayscale values, display frame rate and brightness compensation gain stored in the application processor chip.

[0098] In some embodiments, the gain acquisition module 604 is further configured to, when the current display parameter is less than a parameter threshold, if the current grayscale value is not the same as the grayscale value stored in the display driver chip, determine the first grayscale value closest to the current grayscale value from the grayscale values ​​stored in the display driver chip, determine the first display parameter matching the current display parameter from the display parameters stored in the display driver chip, and determine the first brightness compensation gain corresponding to the first grayscale value and the first display parameter according to the correspondence between the display parameters, grayscale values, and brightness compensation gains stored in the display driver chip; and perform interpolation using the first brightness compensation gain to obtain the target value corresponding to the current display parameter and the current grayscale value. Brightness compensation gain; when the current display parameter is greater than or equal to the parameter threshold, if the current grayscale value is not the same as the grayscale value stored in the application processor chip, then the second grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the application processor chip, the second display parameter matching the current display parameter is determined from the display parameters stored in the application processor chip, and the second brightness compensation gain corresponding to the second grayscale value and the second display parameter is determined according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the application processor chip; the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained by interpolation through the second brightness compensation gain.

[0099] In some embodiments, the current display parameters include current brightness information; the device further includes a compensation data determination module, which is used to compensate the initial brightness of the screen by compensation data corresponding to target brightness information that matches the current brightness information if the current brightness information is higher than the reference brightness and the current grayscale value is less than or equal to the grayscale threshold; and to compensate the initial brightness of the screen by compensation data corresponding to the current brightness information if the current grayscale value is greater than the grayscale threshold.

[0100] Each module in the aforementioned screen brightness compensation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the electronic device in hardware form or independent of it, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.

[0101] In one exemplary embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a screen brightness compensation method. The display unit of this electronic device forms a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0102] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0103] In some exemplary embodiments, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described embodiments of the screen brightness compensation methods.

[0104] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described embodiments of the screen brightness compensation methods.

[0105] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described screen brightness compensation method embodiments.

[0106] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0107] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0108] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0109] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A screen brightness compensation method, characterized in that, The method includes: Get the current display parameters and current grayscale value of the screen; When the current display parameter is less than the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the display driver chip. When the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gains stored in the application processor chip; the grayscale values ​​stored in the application processor chip are different from the grayscale values ​​stored in the display driver chip; The initial brightness of the screen is compensated based on the target brightness compensation gain to obtain the target brightness.

2. The method according to claim 1, characterized in that, The current display parameters include current brightness information; when the current display parameters are less than a parameter threshold, obtaining the target brightness compensation gain corresponding to the current display parameters and the current grayscale value according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip includes: When the current brightness information is less than the brightness threshold, the target brightness compensation gain corresponding to the current brightness information and the current grayscale value is obtained according to the correspondence between the grayscale value, brightness information and brightness compensation gain stored in the display driver chip. When the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip, including: When the current brightness information is greater than or equal to the brightness threshold, the target brightness compensation gain corresponding to the current brightness information and the current grayscale value is obtained according to the correspondence between grayscale values, brightness information and brightness compensation gain stored in the application processor chip.

3. The method according to claim 1, characterized in that, The current display parameters include the current display frame rate; when the current display parameters are less than a parameter threshold, obtaining the target brightness compensation gain corresponding to the current display parameters and the current grayscale value according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip includes: When the current display frame rate is less than the frame rate threshold, the target brightness compensation gain corresponding to the current display frame rate and the current gray level value is obtained according to the correspondence between the gray level value, the display frame rate and the brightness compensation gain stored in the display driver chip. When the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip, including: When the current display frame rate is greater than or equal to the frame rate threshold, the target brightness compensation gain corresponding to the current display frame rate and the current grayscale value is obtained according to the correspondence between grayscale values, display frame rate and brightness compensation gain stored in the application processor chip.

4. The method according to claim 1, characterized in that, When the current display parameter is less than a parameter threshold, the step of obtaining the target brightness compensation gain corresponding to the current display parameter and the current grayscale value according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip includes: If the current display parameter is less than the parameter threshold, and the current grayscale value is not the same as the grayscale value stored in the display driver chip, then the first grayscale value closest to the current grayscale value is determined from the grayscale values ​​stored in the display driver chip, the first display parameter matching the current display parameter is determined from the display parameters stored in the display driver chip, and the first brightness compensation gain corresponding to the first grayscale value and the first display parameter is determined according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gain stored in the display driver chip. Interpolation is performed using the first brightness compensation gain to obtain the target brightness compensation gain corresponding to the current display parameters and the current grayscale value; When the current display parameter is greater than or equal to the parameter threshold, the target brightness compensation gain corresponding to the current display parameter and the current grayscale value is obtained according to the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip, including: If the current display parameter is greater than or equal to the parameter threshold, and the current grayscale value is not the same as the grayscale value stored in the application processor chip, then a second grayscale value that is closest to the current grayscale value is determined from the grayscale values ​​stored in the application processor chip, a second display parameter that matches the current display parameter is determined from the display parameters stored in the application processor chip, and a second brightness compensation gain corresponding to the second grayscale value and the second display parameter is determined according to the correspondence between the display parameters, grayscale values ​​and brightness compensation gain stored in the application processor chip. Interpolation is performed using the second brightness compensation gain to obtain the target brightness compensation gain corresponding to the current display parameters and the current grayscale value.

5. The method according to claim 1, characterized in that, The current display parameters include current brightness information; the method further includes: If the current brightness information is higher than the reference brightness, and the current grayscale value is less than or equal to the grayscale threshold, the initial brightness of the screen is compensated by compensation data corresponding to the target brightness information that matches the current brightness information. If the current grayscale value is greater than the grayscale threshold, the initial brightness of the screen is compensated using the compensation data corresponding to the current brightness information.

6. The method according to claim 1, characterized in that, At least one of the grayscale values ​​stored in the application processor chip is smaller than the minimum grayscale value stored in the display driver chip.

7. A screen brightness compensation device, characterized in that, The device includes: The parameter acquisition module is used to obtain the current display parameters and current grayscale value of the screen; A gain acquisition module is used to, when the current display parameter is less than a parameter threshold, acquire a target brightness compensation gain corresponding to the current display parameter and the current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the display driver chip; and when the current display parameter is greater than or equal to the parameter threshold, acquire a target brightness compensation gain corresponding to the current display parameter and the current grayscale value based on the correspondence between display parameters, grayscale values, and brightness compensation gains stored in the application processor chip; wherein the grayscale values ​​stored in the application processor chip are different from those stored in the display driver chip. A brightness compensation module is used to compensate the initial brightness of the screen according to the target brightness compensation gain to obtain the target brightness.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Data processing method and device, equipment and storage medium

    CN119179456A

  • Brightness compensation method and device, display equipment, storage medium, chip and product

    CN120164402A