Brightness compensation method, device, electronic device and storage medium

By detecting and adjusting the brightness values ​​of different areas of the OLED screen and updating the brightness compensation parameters, the problem of uneven brightness of the OLED screen is solved, the display effect is improved and storage space is saved.

CN115116390BActive Publication Date: 2025-09-30GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210799370.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-06
Publication Date
2025-09-30
Estimated Expiration
2042-07-06

AI Technical Summary

Technical Problem

During use, the brightness aging speed of different areas of the OLED screen is inconsistent, resulting in brightness differences. Existing technologies such as the Deburnin compensation method are insufficient in compensation capabilities under some screen forms, and are prone to over-compensation or under-compensation, and occupy DDIC storage space.

Method used

The brightness detection module detects the brightness values ​​of different display areas of the OLED screen at different backlight levels, adjusts the display parameters to match the brightness, and updates the brightness compensation parameters to compensate for areas with large brightness differences.

Benefits of technology

Improves the brightness difference between different areas of the OLED screen, enhances the display effect, saves DDIC storage space, and does not rely on aging data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115116390B_ABST
    Figure CN115116390B_ABST
Patent Text Reader

Abstract

This application discloses a brightness compensation method, apparatus, electronic device, and storage medium. The method is used in an electronic device and includes: detecting, based on a brightness detection module, the brightness values ​​of the first display area and the second display area when displaying the same content at at least one backlight level; adjusting, based on the brightness values ​​detected for the first display area and the second display area, the display parameters of the content displayed in the first display area or the second display area at the backlight level until the brightness values ​​detected by the brightness detection module for the first display area and the second display area when displaying the same content at the backlight level match; and updating the brightness compensation parameters of the screen based on the adjusted display parameters. This method can effectively compensate for screen brightness due to screen aging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and more specifically, to a brightness compensation method, device, electronic device, and storage medium. Background Art

[0002] Electronic devices, such as mobile phones and tablets, have become among the most commonly used consumer electronics in our daily lives. Display screens are the part of electronic devices that displays the user interface. Rapid advancements in display technology have also led to significant advances in the semiconductor components at the core of these devices, resulting in the emergence of organic light-emitting diode (OLED) screens, which offer superior display quality. However, pixels on OLED screens age over time, affecting the display quality. Summary of the Invention

[0003] This application proposes a brightness compensation method, device, electronic device and storage medium, which can better compensate for the brightness of the screen.

[0004] In a first aspect, an embodiment of the present application provides a brightness compensation method, which is applied to an electronic device, wherein the electronic device includes a screen and a brightness detection module for detecting the display brightness of the screen, the screen includes a first display area and a second display area, and the first display area and the second display area are selectively displayed simultaneously or non-simultaneously. The method includes: based on the brightness detection module, detecting the brightness value of the first display area and the second display area when displaying the same content under at least one backlight level; based on the brightness value detected for the first display area and the second display area, adjusting the display parameters of the first display area or the second display area displaying the content under the backlight level until the brightness values ​​detected by the brightness detection module for the first display area and the second display area when displaying the same content under the backlight level match; and updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0005] In a second aspect, an embodiment of the present application provides a brightness compensation device, which is applied to an electronic device, wherein the electronic device includes a screen and a brightness detection module for detecting the display brightness of the screen, the screen includes a first display area and a second display area, and the first display area and the second display area are selectively displayed simultaneously or non-simultaneously, and the device includes: a brightness detection module, a display adjustment module and a parameter update module, wherein the brightness detection module is used to detect the brightness value of the first display area and the second display area when displaying the same content under at least one backlight level based on the brightness detection module; the display adjustment module is used to adjust the display parameters of the content displayed in the first display area or the second display area under the backlight level based on the brightness values ​​detected for the first display area and the second display area, until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the same content under the backlight level match; the parameter update module is used to update the brightness compensation parameters of the screen based on the adjusted display parameters.

[0006] In a third aspect, an embodiment of the present application provides an electronic device comprising: one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the brightness compensation method provided in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the brightness compensation method provided in the first aspect.

[0008] In the solution provided by the present application, since the first display area and the second display area of ​​the screen are selectively displayed simultaneously or non-simultaneously, for the first display area and the second display area with large differences in display content and display duration, the brightness of the first display area or the second display area when displaying content under at least one backlight level is detected by the brightness detection module, and the display parameters of the first display area or the second display area are adjusted so that the brightness values ​​of the first display area and the second display area when displaying the same content under the above backlight levels match, and the brightness compensation parameters are updated according to the adjusted display parameters, and then the brightness compensation can be targetedly performed on the first display area and the second display area with large differences in display content and display duration according to the brightness compensation parameters, thereby improving the brightness difference between the first display area and the second display area when displaying content and improving the display effect of the screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A structural schematic diagram of an electronic device provided in an embodiment of the present application is shown.

[0011] Figure 2 Another structural schematic diagram of an electronic device provided in an embodiment of the present application is shown.

[0012] Figure 3 Another structural schematic diagram of an electronic device provided in an embodiment of the present application is shown.

[0013] Figure 4 Another structural schematic diagram of an electronic device provided in an embodiment of the present application is shown.

[0014] Figure 5 A flow chart of a brightness compensation method according to an embodiment of the present application is shown.

[0015] Figure 6 A flow chart of a brightness compensation method according to another embodiment of the present application is shown.

[0016] Figure 7 A flow chart of a brightness compensation method according to another embodiment of the present application is shown.

[0017] Figure 8 A flow chart of a brightness compensation method according to another embodiment of the present application is shown.

[0018] Figure 9 A flow chart of a brightness compensation method according to yet another embodiment of the present application is shown.

[0019] Figure 10 A block diagram of a brightness compensation device according to an embodiment of the present application is shown.

[0020] Figure 11 4 is a block diagram of an electronic device for executing the brightness compensation method according to an embodiment of the present application.

[0021] Figure 12 It is a storage unit in an embodiment of the present application for storing or carrying a program code for implementing the brightness compensation method in accordance with an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable people skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0023] Currently, an increasing number of electronic devices are using self-luminous organic light-emitting diode (OLED) screens. Unlike traditional LCD displays, OLED display technology does not require a backlight and uses a very thin coating of organic materials and a glass substrate (or flexible organic substrate). When an electric current flows through it, these organic materials emit light. Similar to the way the filament of a light bulb becomes thinner and darker after being lit for a long time, the electric current that excites the organic materials in OLED screens to emit light also causes the organic materials to age. As a result of aging, the brightness produced by the excited luminescent materials is lower than the original state before aging under the same driving current, and the greater the current, the faster the luminescent material ages.

[0024] Furthermore, during daily user use, the displayed content has varying shades of color (greyscale) and brightness. These are reflected in the underlying hardware by the amount of current: the higher the current, the brighter the screen; the lower the current, the dimmer the screen. Consequently, on the same screen, with long-term use, the cumulative brightness of the displayed content in different areas will vary. For example, if the same application is frequently used, the average brightness of some areas will be higher than that of others. Consequently, screen areas with high cumulative brightness will have a higher average current, and the luminescent material will age faster. Because the screen display content is converted from the raw data transmitted by the entire device, the raw data of each pixel area is consistent when displaying a uniform image. The end result is that areas with faster aging appear lower in brightness than other areas when displaying a uniform image. If the degree of aging of the luminescent material between areas varies significantly, brightness differences can also form on uneven images, a condition known as screen burn-in.

[0025] In related technologies, the method of display content compensation is usually used to target the aging of the luminescent materials of OLED screens. That is, the aging curve of the luminescent material is known (the relationship between the degree of aging and time). By collecting the display content of different areas of the screen in real time, the accumulated brightness value is substituted into the aging curve to obtain the aging degree (attenuation percentage) of different areas. When the screen displays different brightness, a certain brightness compensation is given to the content in that area to make the brightness the same as before attenuation; or the brightness of the surrounding display content is lowered to be consistent with the attenuation. In this method, the overall compensation effect is to reduce the afterimage caused by aging differences. This method is usually called Deburnin technology.

[0026] Because deburnin technology is a highly sophisticated technical measure, it requires an accurate aging model (luminescent material aging curve), and luminescent material aging curves can vary across different screen batches. The aforementioned technology can be used when the display content is relatively uniform across the screen. Such variations are minimal, allowing for small, refined adjustments. Even if compensation is over- or under-compensated, the display quality will not be affected. However, for many current new screen form factors, such as folding and scrolling screens, the displayed content and timing of the hidden and unfolded screen sections differ significantly. For example, on scrolling screens, the normally hidden area is not displayed. Consequently, the luminescent materials in these two areas age at different rates, leading to brightness differences between the two areas after prolonged use. If deburnin compensation is still used for these types of screens, its compensation capability may not be sufficient to support large-scale and drastic adjustments, making it prone to partial over- or under-compensation. Furthermore, deburnin technology requires continuous storage of aging data, placing significant demands on the memory space of the panel's display driver integrated circuit (DDIC). Once the DDIC's memory space is full, the brightness compensation capability reaches its limit.

[0027] To address the above-mentioned issues, the inventors have proposed the brightness compensation method, device, electronic device, and storage medium provided in the embodiments of this application. These methods can determine brightness compensation parameters based on the brightness of the first display area or the second display area when displaying content under at least one backlight level detected by the brightness detection module. Based on the brightness compensation parameters, brightness compensation can be performed on the first display area and the second display area, which have significant differences in display content and display duration, to improve the brightness difference between the first and second display areas when displaying content, thereby enhancing the screen's display quality. The specific brightness compensation method is described in detail in subsequent embodiments.

[0028] The following first introduces the electronic device involved in the brightness compensation method provided in the embodiment of the present application.

[0029] like Figure 1 As shown, Figure 1 A push-pull electronic device 100 is shown, which includes a screen 130 and a brightness detection module 140 for detecting the display brightness of the screen. The screen 130 includes a first display area 131 and a second display area 132. The second display area 132 can be selectively hidden or expanded relative to the first display area 131. Thus, the first display area 131 and the second display area 132 can be selectively displayed simultaneously or non-simultaneously. Figure 1As shown, when the screen 130 is unfolded, the second display area 132 is unfolded relative to the first display area 131. At this time, the first display area 131 and the second display area 132 are displayed at the same time; Figure 2 As shown, when the screen 130 is folded, the second display area 132 is hidden relative to the first display area 131. At this time, the first display area 131 and the second display area 132 are not displayed simultaneously. The screen 130 can be a flexible display screen, and the brightness detection module 130 can be a brightness sensor, etc.

[0030] In some embodiments, a brightness detection module 130 may be provided below the first display area 131 and below the second display area 132. Thus, the brightness detection module 130 may be used to detect the display brightness when the first display area 131 displays content and the display brightness when the second display area 132 displays content.

[0031] Of course, the brightness compensation method provided in the embodiment of the present application can also be applied to foldable electronic devices, see Figure 3 When the screen 130 is unfolded, the second display area is selectively unfolded relative to the first display area 131. At this time, the first display area 131 and the second display area 132 are displayed simultaneously; please refer to Figure 4 When the screen 130 is folded, the second display area 132 is selectively folded relative to the first display area 131. At this time, the first display area 131 and the second display area 132 are not displayed at the same time.

[0032] The brightness compensation method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0033] See also Figure 5 , Figure 5 The flowchart of the brightness compensation method provided by one embodiment of the present application is shown. In a specific embodiment, the brightness compensation method is applied to the above-mentioned electronic device, which includes a screen and a brightness detection module for detecting the display brightness of the screen. The screen includes a first display area and a second display area. The first display area and the second display area selectively display simultaneously or non-simultaneously. Figure 5 The process shown in FIG. 1 is described in detail. Specifically, the brightness compensation method may include the following steps:

[0034] Step S110: Detecting brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level based on the brightness detection module.

[0035] When both the first display area and the second display area are in a display state, the brightness values ​​of the first display area and the second display area when displaying the same content can be detected, and the display parameters of the screen displaying the content can be adjusted according to the detection results to obtain the brightness compensation parameters. The electronic device can use the brightness detection module corresponding to the first display area and the brightness detection module corresponding to the second display area to respectively detect the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level.

[0036] In the embodiments of the present application, the backlight level refers to the physical backlight level supported by the screen. The backlight levels of the screen generally include multiple levels, for example, 0 to 2047 (a total of 2048 backlight levels) and 0 to 4095 (a total of 4096 backlight levels). The backlight brightness increases with the increase of the backlight level. For example, the brightness at the 200th backlight level is greater than the brightness at the 100th backlight level. Detecting the brightness value when the first display area and the second display area display the same content at at least one backlight level can be detecting the brightness value when the same content is displayed at some backlight levels among the physical backlight levels supported by the screen, that is, for each backlight level among the some backlight levels, detecting the brightness value when the first display area and the second display area display the same content at the same backlight level; or detecting the brightness value when the same content is displayed at all backlight levels among the physical backlight levels supported by the screen, that is, for each backlight level among all backlight levels, detecting the brightness value when the first display area and the second display area display the same content at the same backlight level. It can be understood that if the brightness values ​​of the first display area and the second display area when displaying the same content at the same backlight level are detected for some backlight levels, the brightness compensation parameters when displaying the content at this part of the backlight level can be updated through subsequent steps; if the brightness values ​​of the first display area and the second display area when displaying the same content at the same backlight level are detected for all backlight levels, the brightness compensation parameters when displaying the content at all backlight levels can be updated through subsequent steps.

[0037] In some embodiments, the electronic device can control the screen to display a test image at at least one backlight level, and when displaying the test image at each of the at least one backlight level, detect the display brightness of the first display area and the second display area based on the brightness detection module, thereby obtaining the brightness value of the first display area and the second display area when displaying the same content at each backlight level, so as to determine whether the brightness values ​​of the first display area and the second display area match based on the brightness values ​​of the first display area and the second display area when displaying the same content at each of the above backlight levels, and then determine whether to adjust the display parameters and determine the brightness compensation parameters when displaying the content at each of the above backlight levels. The test image can be an image with the same content in each area, for example, a solid color image.

[0038] In one possible embodiment, when the electronic device controls the screen to display a test image at each backlight level of at least one backlight level, it can control the screen to display images of multiple gray levels at each of the above backlight levels. Thus, the brightness values ​​of the first display area and the second display area when displaying contents of multiple gray levels at each of the above backlight levels can be detected based on the brightness detection module, so that the brightness compensation parameters of the screen when displaying contents of each gray level at each of the above backlight levels can be determined based on the brightness values ​​detected when displaying contents of multiple gray levels at each of the above backlight levels.

[0039] In an embodiment of the present application, the electronic device can detect the screen state and, when the first display area and the second display area display content at the same time, execute the brightness compensation method provided by the embodiment of the present application. For example, in the case of a foldable or pull-out screen, when the second display area is folded or hidden relative to the first display area, the first display area is in a display and use state, and in this state, the user can operate the first display area. Of course, the second display area can also be unfolded relative to the first display area, so that the first display area can constitute an entire flat display area with the second display area, presenting a larger display area. The user can fold or hide the second display area of ​​the screen relative to the first display area according to actual use needs, for example, in a pull-out electronic device, the second display area is accommodated in the shell, or the second display area of ​​the screen is unfolded relative to the first display area, for example, in a pull-out electronic device, the second display area is pulled out from the shell and unfolded relative to the first display area.

[0040] The electronic device can detect the expanded state of the screen, that is, detect whether the second display area is expanded relative to the first display area. In some embodiments, the electronic device can detect the angle between the first display area and the second display area to determine whether the second display area is in a state of expansion relative to the first display area; after detecting the angle between the first display area and the second display area, it can determine whether the second display area is in a state of expansion relative to the first display area based on the detected angle. Specifically, when the angle between the first display area and the second display area is less than a set value, it can be determined that the second display area is hidden relative to the first display area; when the angle between the first display area and the second display area is greater than or equal to a set value, it can be determined that the second display area is expanded relative to the first display area. The above-mentioned set value can be the angle value when the first display area and the second display area are close to parallel, for example, the set value can be 0, 3, 5, etc.

[0041] As one way, the electronic device can use the above-mentioned angle detection module to detect the angle between the first display area and the second display area. As another way, the electronic device can detect the repulsive force between the magnet set in the first display area and the magnet set in the second display area, so that the angle between the first display area and the second display area can be determined based on the repulsive force between the magnets. It can be understood that the closer the magnet set in the first display area and the magnet set in the second display area are, the greater the repulsive force between the magnets detected by the electronic device is, and the closer the magnets are, the smaller the angle between the first display area and the second display area is. When the first display area and the second display area are relatively expanded, the magnets are farthest apart. Therefore, the angle between the first display area and the second display area can be determined based on the repulsive force detected above, and it can be determined whether the second display area is in a state of expansion relative to the first display area. Of course, the specific method of detecting the angle between the first display area and the second display area may not be limited in the embodiment of the present application.

[0042] Step S120: Based on the brightness values ​​detected for the first display area and the second display area, adjust the display parameters of the first display area or the second display area for displaying the content under the backlight level until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the same content under the backlight level match.

[0043] In an embodiment of the present application, based on the brightness value detected above, the electronic device can determine whether it is necessary to adjust the display parameters when the first display area and the second display area display the same content at each backlight level of at least one backlight level, so that the brightness detected by the brightness detection module (i.e., the actual display brightness) when the first display area and the second display area display content at the same backlight level match. The brightness value of the first display area detected by the brightness detection module matches the brightness value of the second display area, which can be the same as the brightness value of the first display area, or the absolute value of the difference between the brightness value of the first display area and the brightness value of the second display area is less than a preset threshold value. The specific value of the preset threshold value can be a threshold value at which the user cannot perceive the brightness difference between the first display area and the second display area.

[0044] In some embodiments, when the electronic device adjusts the display parameters of the first display area or the second display area for displaying content at each of the above backlight levels based on the brightness values ​​detected for the first display area and the second display area, the detected brightness when the same content is displayed at each of the above backlight levels can be compared. If the brightness value of the first display area does not match the brightness value of the second display area when displaying the same content at any backlight level, the display parameters of the first display area or the second display area can be adjusted for the same content at that backlight level so that the brightness values ​​of the first display area and the second display area when displaying the same content at that backlight level match. Thus, for each of the above backlight levels, it is possible to determine the situation in which the brightness value of the first display area does not match the brightness value of the second display area when the first display area and the second display area display the same content, and adjust the display parameters of the first display area or the second display area for this situation, thereby obtaining the adjusted display parameters of the first display area or the second display area at the backlight level corresponding to the above brightness value mismatch.

[0045] In some embodiments, when the brightness values ​​of the first display area and the second display area when displaying the same content at any backlight level do not match, the display grayscale or backlight level of the display content of the display area that needs to be adjusted can be adjusted at that backlight level so that the brightness values ​​of the first display area and the second display area when displaying the same content at that backlight level match. It can be understood that when the brightness values ​​of the first display area and the second display area when displaying the same content at any backlight level do not match, the display parameters of the first display area or the second display area are adjusted so that the brightness value of the display area with the adjusted display parameters can match the brightness value of the other display area; and by adjusting the display grayscale or backlight level of the displayed content, the display brightness of the display area that needs to be adjusted can be changed, and can be adjusted to match the brightness value of the other display area.

[0046] Among them, adjusting the display grayscale of the displayed content means that, when the first display area and the second display area display the same content, one of the first display area and the second display area adjusts the grayscale value of the displayed content based on the original grayscale of the displayed content. For example, the original grayscale value of the displayed content is 255. If the brightness value of the display area that needs to be adjusted needs to be lowered, the display grayscale of the displayed content of the display area can be reduced until the detected brightness of the display area matches the brightness of the other display area.

[0047] Adjusting the backlight level means that when the first display area and the second display area display the same content, the backlight level of one of the first display area and the second display area is adjusted based on the current backlight level. For example, the first display area and the second display area both display the same content at the first backlight level. If the brightness value of the display area that needs to be adjusted needs to be lowered, the backlight level of the display area can be reduced until the detected brightness of the display area matches the brightness of the other display area.

[0048] Step S130: updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0049] In an embodiment of the present application, based on the brightness values ​​of the first display area and the second display area when displaying the same content at at least one backlight level, the display parameters of the first display area or the second display area when displaying the content at at least one backlight level are adjusted until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the same content at at least one backlight level match, and then the adjusted display parameters of the first display area and the second display area when displaying the content at each of the above backlight levels can be obtained. Since the above adjustment of the display parameters can make the brightness values ​​of the first display area and the second display area when displaying the same content at each of the above backlight levels match, the adjusted display parameters can be considered as the display parameters required for the display areas to display content at the corresponding backlight levels, and the display parameters can ensure that there is no brightness difference when the first display area and the second display area display the same content. Therefore, the brightness compensation parameters of the screen when displaying content at at least one backlight level can be updated based on the adjusted display parameters, thereby obtaining updated brightness compensation parameters.

[0050] In some embodiments, the electronic device can determine the display area that needs to be adjusted at each of the above backlight levels (i.e., the first display area or the second display area), and compare the adjusted display parameters at each of the above backlight levels with the display parameters before adjustment to determine the display parameters that need to be adjusted. For example, if the display grayscale before adjustment is 240 and the display grayscale after adjustment is 255, then the display grayscale needs to be increased by 10. Thus, the display area that needs to be adjusted at each of the above backlight levels and the display parameters that need to be adjusted can be obtained, and then the brightness compensation parameters at each of the above backlight levels can be obtained. The brightness compensation parameters obtained at each of the above backlight levels are used as the latest brightness compensation parameters, and the currently stored brightness compensation parameters are updated to obtain updated brightness compensation parameters. It should be noted that there may be no difference in brightness between the first display area and the second display area when the same content is displayed at some backlight levels. In this case, the display parameters of the first display area and the second display area when the same content is displayed at these backlight levels will not be adjusted in the above step S120. Therefore, there will be no brightness compensation parameters at these backlight levels, or the brightness compensation parameters will be 0. Moreover, since step S120 adjusts the display parameters of the first display area or the second display area, at the backlight levels with brightness compensation parameters, it may be that the first display area has the brightness compensation parameters, or it may be that the second display area has the brightness compensation parameters.

[0051] In some embodiments, after the electronic device obtains the updated brightness compensation parameters, it can adjust the display parameters of the first display area or the second display area according to the current backlight level and the above-mentioned brightness compensation parameters when both the first display area and the second display area need to display content, so that there will be no brightness difference when the first display area and the second display area display the same content, thereby improving the display effect of the screen.

[0052] In some embodiments, the first display area and the second display area can be divided into multiple sub-areas, and each sub-area in the first display area is provided with at least one brightness detection module, and each sub-area in the second display area is provided with at least one brightness detection module. Based on this, the brightness value when displaying the same content under at least one backlight level can be detected for each sub-area, and based on the brightness value detected for each sub-area, the display parameters of at least some of the sub-areas displaying the content under each backlight level of at least one backlight level are adjusted until the brightness values ​​of each sub-area detected when displaying the same content under each backlight level match. Then, based on the adjusted display parameters, the brightness compensation parameters of the screen are determined and updated. In this way, the brightness compensation of the screen can be achieved more accurately, and the brightness differences when displaying the same content in different areas of the screen are improved.

[0053] In addition, in an embodiment of the present application, it can be understood that the electronic device can control the first display area and the second display area to display the same content at one backlight level, and then detect the brightness values ​​of the first display area and the second display area through the brightness detection module, and adjust the display parameters of the first display area or the second display area based on the detected brightness values, thereby obtaining the display area that needs to be adjusted and the adjusted display parameters at the backlight level; then control the first display area and the second display area to display the same content at another backlight level, detect the brightness values ​​of the first display area and the second display area through the brightness detection module, and adjust the display parameters of the first display area or the second display area based on the detected brightness values, thereby obtaining the display area that needs to be adjusted and the adjusted display parameters at the backlight level; repeat this process until the display area that needs to be adjusted and the adjusted display parameters at each backlight level in at least one backlight level are determined, and then the brightness compensation parameters are updated according to the display area that needs to be adjusted and the adjusted display parameters at each backlight level determined.

[0054] The brightness compensation method provided in the embodiment of the present application adjusts the display parameters of the first display area or the second display area by actually detecting the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level, so that the brightness values ​​of the first display area and the second display area when displaying the same content under each backlight level of at least one backlight level match, thereby determining the brightness compensation parameters of the screen based on the adjusted display parameters, and then, based on the brightness compensation parameters, targeted brightness compensation can be performed on the first display area and the second display area having large differences in the display content and display duration, thereby improving the brightness difference between the first display area and the second display area when displaying content and enhancing the display effect of the screen; and since there is no need to store pixel aging data, storage space of the DDIC can be saved.

[0055] See also Figure 6 , Figure 6 A flow chart of a brightness compensation method provided by another embodiment of the present application is shown. The brightness compensation method is applied to the above-mentioned electronic device, the electronic device including a screen and a brightness detection module for detecting the display brightness of the screen, the screen including a first display area and a second display area, the first display area and the second display area selectively display simultaneously or non-simultaneously. Figure 6 The process shown in FIG. 1 is described in detail. Specifically, the brightness compensation method may include the following steps:

[0056] Step S210: Detecting brightness values ​​of the first display area and the second display area when displaying contents of multiple gray levels under at least one backlight level based on the brightness detection module.

[0057] In an embodiment of the present application, the electronic device can, upon detecting that the second display area is expanded relative to the first display area, control the screen to display images of multiple grayscales at each backlight level of at least one backlight level. Thus, the brightness detection module can detect the brightness values ​​of the first display area and the second display area when displaying content of multiple grayscales at each of the above backlight levels. In other words, the first display area and the second display area are controlled to display a test image of the same grayscale at each backlight level multiple times, and the grayscale of the test image displayed each time is different. Thus, the brightness detection module can detect the brightness values ​​of the first display area and the second display area each time displaying content of the same grayscale at each of the above backlight levels, thereby obtaining the brightness values ​​detected when displaying content of multiple grayscales at each of the above backlight levels. Subsequently, based on the brightness values ​​detected when displaying content of multiple grayscales at each of the above backlight levels, the brightness compensation parameters of the screen when displaying content of each grayscale at each of the above backlight levels can be determined.

[0058] Step S220: Determine the target grayscale and target backlight level based on the brightness values ​​of the first display area and the second display area when displaying content of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying content of the target grayscale at the target backlight level do not match.

[0059] In an embodiment of the present application, the electronic device can determine the situation where the brightness values ​​of the first display area and the second display area do not match based on the brightness values ​​of the first display area and the second display area detected above when displaying content of multiple gray levels at each of the above backlight levels, that is, when the same content of which gray levels is displayed at which backlight levels, the brightness values ​​of the first display area and the second display area do not match, thereby obtaining the backlight level and gray level for which the display parameters need to be adjusted, and then obtaining the target gray level and target backlight level.

[0060] In some embodiments, the electronic device can obtain a first brightness curve in which the brightness changes with the backlight level when the first display area displays content of multiple gray levels, and obtain multiple first brightness curves of the first display area, and the multiple first brightness curves correspond one-to-one to the multiple gray levels; obtain a second brightness curve in which the brightness changes with the backlight level when the second display area displays content of multiple gray levels, and obtain multiple second brightness curves of the second display area, and the multiple second brightness curves correspond one-to-one to the multiple gray levels; compare the first brightness curve and the second brightness curve corresponding to each gray level to obtain a curve comparison result corresponding to each gray level; determine the target gray level and the target backlight level based on the curve comparison result corresponding to each gray level.

[0061] In this embodiment, the electronic device can determine multiple brightness curves showing how the brightness value varies with the backlight level, for the brightness values ​​when the first display area displays content of multiple grayscales at different backlight levels, with each brightness curve corresponding to one of the multiple grayscales. Similarly, multiple brightness curves can be obtained for the second display area. Then, for the first brightness curve and the second brightness curve corresponding to the same grayscale, the brightness values ​​at each backlight level in the first brightness curve and the second brightness curve are compared. If the brightness values ​​at any backlight level do not match, the same grayscale is used as the target grayscale, and the backlight level is used as the target backlight level. In other words, the brightness values ​​of the first display area and the second display area when displaying content of the same target grayscale at the target backlight level do not match.

[0062] In other embodiments, a third brightness curve can be obtained in which the brightness changes with the grayscale when the first display area displays content of multiple grayscales at each of the above backlight levels, and multiple third brightness curves can be obtained, and the multiple third brightness curves correspond one-to-one to the multiple backlight levels; similarly, a fourth brightness curve can be obtained in which the brightness changes with the grayscale when the second display area displays content of multiple grayscales at each backlight level, and multiple third brightness curves can be obtained, and the multiple fourth brightness curves correspond one-to-one to the multiple backlight levels; then the third brightness curve and the fourth brightness curve corresponding to each backlight level are compared, and if the brightness value corresponding to any grayscale does not match, the grayscale is used as the target grayscale, and the backlight level is used as the target backlight level, that is, the brightness values ​​of the first display area and the second display area when displaying content of the same target grayscale at the target backlight level do not match.

[0063] Step S230: Adjust the display parameters of the first display area or the second display area when displaying the target grayscale content at the target backlight level until the brightness values ​​detected by the brightness detection module when the first display area and the second display area displaying the target grayscale content at the target backlight level match.

[0064] In an embodiment of the present application, after the electronic device determines the above-mentioned target backlight level and target grayscale, it can adjust the display parameters of the first display area or the second display area when displaying the target grayscale content at the target backlight level, so that the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the target grayscale content at the target backlight level match, thereby obtaining the display parameters after adjustment of the display area that needs to be adjusted.

[0065] In some embodiments, when an electronic device adjusts display parameters of a first display area or a second display area when displaying content of a target grayscale at a target backlight level, the display area to be adjusted can be determined from the first display area or the second display area as the target display area. Specifically, a first brightness attenuation ratio of the first display area can be determined based on a first brightness value detected when the first display area displays content of the target grayscale at the target backlight level; a second brightness attenuation ratio of the second display area can be determined based on a second brightness value detected when the second display area displays content of the target grayscale at the target backlight level; based on the first brightness attenuation ratio and the second brightness attenuation ratio, the display area to be adjusted in the first display area or the second display area is determined as the target display area; and display parameters of the target display area when displaying content of the target grayscale at the target backlight level are adjusted until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display content of the target grayscale at the target backlight level match.

[0066] In this embodiment, the electronic device can determine the brightness attenuation ratio of the first display area and the second display area when displaying the target grayscale content at the target backlight level, and determine the display area to be adjusted based on the brightness attenuation ratio. It can be understood that when the aging degree of the light-emitting pixels in the first display area and the second display area is greater, the brightness attenuation ratio when displaying the target grayscale content at the target backlight level is also greater. At this time, if the brightness of the first display area or the second display area is reduced, the display effect will be affected. Based on this, the first brightness attenuation ratio of the first display area and the second brightness attenuation ratio of the second display area can be determined, so as to determine whether the display brightness of one of the display areas needs to be increased or reduced, and then the display area to be adjusted can be determined, thereby indicating the screen display effect when brightness compensation is performed using the brightness compensation parameters.

[0067] In one possible embodiment, the electronic device may store the initial brightness values ​​of the first and second display areas when the electronic device displays content at each grayscale at each backlight level, as detected at the time of shipment. Since the initial brightness values ​​are the brightness values ​​detected at the time of shipment, the initial brightness values ​​can be considered to be the brightness values ​​detected when the luminous pixels of the first and second display areas are not aged. Based on this, the electronic device can determine a first brightness attenuation ratio corresponding to the first display area based on the first brightness value of the first display area when displaying content at a target grayscale at a target backlight level and the pre-stored first initial brightness value of the first display area when displaying content at the target grayscale at the target backlight level. For example, the first brightness attenuation ratio can be obtained by obtaining the difference between the first initial brightness value and the first brightness value and then calculating the ratio of the difference to the first initial brightness value. Similarly, the electronic device can determine a second brightness attenuation ratio corresponding to the second display area based on the second brightness value of the second display area when displaying content at a target grayscale at a target backlight level and the pre-stored second initial brightness value of the second display area when displaying content at the target grayscale at the target backlight level.

[0068] Step S240: updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0069] In the embodiment of the present application, step S240 can refer to the contents of other embodiments and will not be repeated here.

[0070] The brightness compensation method provided in the embodiment of the present application detects the brightness values ​​of multiple grayscales displayed by the first display area and the second display area at each backlight level in at least one backlight level, and adjusts the display parameters of the first display area or the second display area so that the brightness values ​​of the first display area and the second display area when displaying each grayscale in the multiple grayscales under each of the above backlight levels match, and determines the brightness compensation parameters of the screen based on the adjusted display parameters, so that the determined brightness compensation parameters can ensure that the brightness values ​​of the first display area and the second display area when displaying content of any grayscale under each backlight level can match, thereby further improving the display effect of the screen.

[0071] See also Figure 7 , Figure 7 A flow chart of a brightness compensation method provided by another embodiment of the present application is shown. The brightness compensation method is applied to the above-mentioned electronic device, which includes a screen and a brightness detection module for detecting the display brightness of the screen. The screen includes a first display area and a second display area. The first display area and the second display area selectively display simultaneously or non-simultaneously. Figure 7The process shown in FIG. 1 is described in detail. Specifically, the brightness compensation method may include the following steps:

[0072] Step S310: Detecting brightness values ​​of the first display area and the second display area when displaying contents of multiple gray levels under at least one backlight level based on the brightness detection module.

[0073] Step S320: Determine the target grayscale and target backlight level based on the brightness values ​​of the first display area and the second display area when displaying content of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying content of the target grayscale at the target backlight level do not match.

[0074] Step S330 : determining a first brightness attenuation ratio of the first display area based on the detected first brightness value of the first display area when displaying the target grayscale content at the target backlight level.

[0075] Step S340 : determining a second brightness attenuation ratio of the second display area based on the detected second brightness value of the second display area when displaying the target grayscale content at the target backlight level.

[0076] In the embodiment of the present application, steps S310 to S340 can refer to the contents of the aforementioned embodiment and will not be repeated here.

[0077] Step S350: If the first brightness attenuation ratio and the second brightness attenuation ratio are both smaller than the preset attenuation ratio, the minimum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio is obtained, and the display area corresponding to the minimum attenuation ratio is used as the first target display area.

[0078] After the electronic device determines the first brightness attenuation ratio corresponding to the first display area and the second brightness attenuation ratio corresponding to the second display area, it can compare the first brightness attenuation ratio and the second brightness attenuation ratio with the preset attenuation ratio to determine the display area to be adjusted from the first display area and the second display area based on the comparison result. The preset attenuation ratio can be determined in advance based on the brightness attenuation ratio that can be perceived by the user. For example, when the brightness attenuation ratio is less than 20%, the brightness attenuation that the user can perceive is not obvious. When the brightness attenuation ratio is greater than or equal to 20%, the user can clearly perceive the brightness attenuation. Therefore, 20% can be used as the preset attenuation ratio.

[0079] In an embodiment of the present application, when the first brightness attenuation ratio and the second brightness attenuation ratio are both smaller than the preset attenuation ratio, it means that in this case the user cannot obviously perceive the brightness attenuation of the screen. Therefore, in this case, the display area corresponding to the minimum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio can be determined as the display area to be adjusted, and used as the first target display area. That is to say, in this case, the display brightness of the display area with relatively small attenuation can be reduced so that its display brightness matches the display brightness of another display area.

[0080] Step S360: Adjust the display parameters of the first target display area when displaying the target grayscale content at the target backlight level, so that the brightness value of the first target display area when displaying the target grayscale content at the target backlight level is reduced, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match.

[0081] In an embodiment of the present application, since the first brightness attenuation ratio and the second brightness attenuation ratio are both smaller than the preset attenuation ratio, and the display area to be adjusted is determined to be the first target display area with a relatively small brightness attenuation ratio, the display parameters of the first target display area when displaying the target grayscale content at the target backlight level can be adjusted to reduce the brightness value of the first target display area when displaying the target grayscale content at the target backlight level, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match, and the display parameters to which the first target display area needs to be adjusted when displaying the target grayscale content at the target backlight level (i.e., the adjusted display parameters) are obtained, while no adjustment is required when the other display area among the first display area and the second display area displays the target grayscale content at the target backlight level.

[0082] Step S370: If the first brightness attenuation ratio and the second brightness attenuation ratio are both greater than or equal to the preset attenuation ratio, the maximum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio is obtained, and the display area corresponding to the maximum attenuation ratio is used as the second target display area.

[0083] In an embodiment of the present application, when the first brightness attenuation ratio and the second brightness attenuation ratio are both greater than or equal to the preset attenuation ratio, it means that in this case the user will obviously perceive the brightness attenuation of the screen. Therefore, in this case, the display area corresponding to the maximum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio can be determined as the display area to be adjusted. That is to say, in this case, if the display brightness of one of the display areas is further reduced, the user will perceive the brightness attenuation more obviously. At this time, the display brightness of the display area with relatively large attenuation can be increased to match the display brightness of the other display area.

[0084] Step S380: Adjust the display parameters of the second target display area when displaying the target grayscale content at the target backlight level, so that the brightness value of the second target display area when displaying the target grayscale content at the target backlight level increases, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match.

[0085] In an embodiment of the present application, since the first brightness attenuation ratio and the second brightness attenuation ratio are both greater than or equal to the preset attenuation ratio, and the display area to be adjusted is determined to be the second target display area with a relatively large brightness attenuation ratio, the display parameters of the second target display area when displaying the target grayscale content at the target backlight level can be adjusted to increase the brightness value of the first target display area when displaying the target grayscale content at the target backlight level, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match, and the display parameters to which the second target display area needs to be adjusted when displaying the target grayscale content at the target backlight level (i.e., the adjusted display parameters) are obtained, while no adjustment is required when the other display area in the first display area and the second display area displays the target grayscale content at the target backlight level.

[0086] Step S390: updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0087] In the embodiment of the present application, step S390 can refer to the content of the aforementioned embodiment and will not be repeated here.

[0088] The brightness compensation method provided in the embodiment of the present application detects the brightness values ​​of multiple grayscales displayed by the first display area and the second display area at each backlight level of at least one backlight level, determines the target backlight level and the target grayscale according to the brightness values ​​of multiple grayscales displayed by the first display area and the second display area at each of the above backlight levels, and determines the display area to be adjusted according to the brightness attenuation ratio of the first display area and the second display area, and then adjusts the display parameters of the display area to be adjusted when displaying content of the target grayscale at the target backlight level, so that the brightness values ​​of the first display area and the second display area when displaying content of the target grayscale at the target backlight level match, so that the brightness compensation parameters of the screen can be determined according to the adjusted display parameters, and the determined brightness compensation parameters can ensure that the brightness values ​​of the first display area and the second display area when displaying content of any grayscale at each backlight level can match, thereby further improving the display effect of the screen.

[0089] See also Figure 8 , Figure 8 A flow chart of a brightness compensation method provided by another embodiment of the present application is shown. The brightness compensation method is applied to the above-mentioned electronic device, which includes a screen and a brightness detection module for detecting the display brightness of the screen. The screen includes a first display area and a second display area. The first display area and the second display area selectively display simultaneously or non-simultaneously. Figure 8 The process shown in FIG. 1 is described in detail. Specifically, the brightness compensation method may include the following steps:

[0090] Step S410: Detecting the brightness of ambient light.

[0091] In an embodiment of the present application, when the electronic device detects the actual brightness values ​​of the first display area and the second display area when displaying content through the brightness detection module, and adjusts the display parameters of the display area and updates the brightness compensation parameters accordingly, since the ambient light may be detected by the brightness detection module through the screen when the brightness detection module detects the brightness values ​​of the first display area and the second display area, the ambient light brightness can be detected to avoid the influence of the ambient light. Optionally, the electronic device is generally provided with a sensor for detecting the ambient light brightness, and the electronic device can use the sensor to detect the ambient light brightness.

[0092] In some embodiments, the electronic device detects the actual brightness values ​​of the first display area and the second display area when displaying content through a brightness detection module, and updates the brightness compensation parameters by adjusting the display parameters of the display areas accordingly. Upon detecting an instruction to update the brightness compensation parameters, the electronic device may begin detecting the actual brightness values ​​of the first display area and the second display area when displaying content through the brightness detection module. In an embodiment of the present application, upon detecting an instruction to update the brightness compensation parameters, the electronic device may detect the ambient light brightness, and determine whether to execute subsequent steps based on the ambient light brightness. The update instruction may be input by the user or generated by the electronic device when a preset condition is met, which is not limited here.

[0093] Step S420: Determine whether the ambient light brightness is less than a preset brightness.

[0094] In an embodiment of the present application, after the electronic device detects the ambient light brightness, it can compare the ambient light brightness with a preset brightness, and based on the comparison result, it can determine whether the ambient light brightness is less than the preset brightness. The preset brightness can be a brightness threshold of the ambient light obtained in advance that can have a significant impact on the display brightness of the screen detected by the brightness detection module. In other words, when the ambient light brightness reaches the preset brightness, the ambient light will have a significant impact on the display brightness of the screen detected by the brightness detection module. Conversely, when the ambient light brightness is less than the preset brightness, the ambient light will have no impact on the display brightness of the screen detected by the brightness detection module, or the impact will be small.

[0095] If so, executing step S430: detecting, based on the brightness detection module, brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level.

[0096] In an embodiment of the present application, if the detected ambient light brightness is lower than the preset brightness, it means that the ambient light at this time will not affect the display brightness of the screen detected by the brightness detection module or the impact is small. Therefore, in this case, the brightness detection module can detect the actual brightness value when the first display area and the second display area display content, and accordingly adjust the display parameters of the display area and update the brightness compensation parameters, that is, execute step S430 and subsequent steps.

[0097] If not, executing step S440: outputting first prompt information, where the first prompt information is used to prompt the electronic device to be placed in a dark environment.

[0098] In an embodiment of the present application, if the detected ambient light brightness is less than the preset brightness, it means that the ambient light at this time will not have a significant impact on the display brightness of the screen detected by the brightness detection module. At this time, if the actual brightness value of the first display area and the second display area when displaying content is detected by the brightness detection module, and the display parameters of the display area are adjusted accordingly, and the brightness compensation parameters are updated, it will affect the accuracy of the brightness compensation parameters. Therefore, in this case, the electronic device can output a first prompt message to prompt the user to place the electronic device in a dark environment. Optionally, the electronic device can output the first prompt message by outputting a prompt sound or a pop-up prompt, and the specific method of outputting the first prompt message may not be limited.

[0099] When the re-detected ambient light brightness is less than the preset brightness, step S430 is executed: based on the brightness detection module, the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level are detected.

[0100] In an embodiment of the present application, after outputting the first prompt information, the electronic device can continuously detect the ambient light brightness. If the re-detected ambient light brightness is less than the preset brightness, the actual brightness values ​​of the first display area and the second display area when displaying the content can be detected by the brightness detection module at this time, and the display parameters of the display area can be adjusted accordingly, and the brightness compensation parameters are updated, that is, step S430 and subsequent steps are executed. It can be understood that after the electronic device outputs the first prompt information, if the user responds to the first prompt information and places the electronic device in a dark environment, the ambient light brightness at this time will decrease. If the ambient light brightness is detected to be less than the preset brightness, it means that the ambient light at this time will not affect the display brightness of the screen detected by the brightness detection module, or the impact is small. Therefore, the actual brightness values ​​of the first display area and the second display area when displaying the content can be detected by the brightness detection module, and the display parameters of the display area can be adjusted accordingly, and the brightness compensation parameters can be updated.

[0101] Step S450: Based on the brightness values ​​detected for the first display area and the second display area, adjust the display parameters of the first display area or the second display area for displaying the content under the backlight level until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the same content under the backlight level match.

[0102] Step S460: updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0103] In the embodiment of the present application, step S450 and step S460 can refer to the contents of the aforementioned embodiment and will not be repeated here.

[0104] The brightness compensation method provided in the embodiment of the present application detects the ambient light brightness when the second display area is relatively expanded relative to the first display area. Only when the ambient light brightness is less than a preset brightness does the brightness detection module detect the actual brightness value when the first display area and the second display area display content. The brightness compensation parameters are updated accordingly by adjusting the display parameters of the display areas. Therefore, the influence of ambient light on the display brightness of the first display area and the second display area detected by the brightness detection module can be avoided, thereby improving the accuracy of the ultimately updated brightness compensation parameters and ensuring the screen display effect.

[0105] See also Figure 9 , Figure 9 A flow chart of a brightness compensation method provided by another embodiment of the present application is shown. The brightness compensation method is applied to the above-mentioned electronic device, the electronic device including a screen and a brightness detection module for detecting the display brightness of the screen, the screen including a first display area and a second display area, the first display area and the second display area selectively display simultaneously or non-simultaneously. Figure 9 The process shown in FIG. 1 is described in detail. Specifically, the brightness compensation method may include the following steps:

[0106] Step S510: Detecting the working status of the electronic device.

[0107] In an embodiment of the present application, since the electronic device detects the brightness values ​​of the first display area and the second display area when displaying the same content at at least one backlight level through a brightness detection module, it is necessary to control the first display area and the second display area to display the same content at each backlight level of at least one backlight level. Therefore, in order not to affect the normal use of the user, the working state of the electronic device can be detected, so that the brightness values ​​of the first display area and the second display area when displaying the same content at each of the above backlight levels are detected only when the working state of the electronic device is an idle state.

[0108] Step S520: If the working state is the idle state, the brightness detection module detects the brightness values ​​of the first display area and the second display area when the first display area and the second display area display the same content under at least one backlight level.

[0109] In an embodiment of the present application, after obtaining the working status of the electronic device, it can be determined whether the current working status of the electronic device is an idle state. If the working status of the electronic device is an idle state, it means that the user is not currently using the electronic device. At this time, testing the first display area and the second display area will not affect the normal use of the user. Therefore, in this case, the brightness detection module can be used to detect the brightness values ​​of the first display area and the second display area when displaying the same content at each backlight level, and subsequent steps can be performed to update the brightness compensation parameters.

[0110] In an embodiment of the present application, the first display area and the second display area are tested in an idle state to detect the brightness values ​​of the first display area and the second display area when displaying the same content at each backlight level. Since the screen of the electronic device will light up, in order to avoid the user feeling uncomfortable when finding that the screen is on, the electronic device can also output a second prompt message to prompt that the brightness compensation parameters are currently being updated, thereby improving the user experience.

[0111] In an embodiment of the present application, since the luminous pixels of the screen continue to age with use, the electronic device can execute steps S510 to S540 at preset intervals, and then periodically update the brightness compensation parameters to ensure the display effect of the screen.

[0112] Step S530: Based on the brightness values ​​detected for the first display area and the second display area, adjust the display parameters of the first display area or the second display area for displaying the content under the backlight level until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the same content under the backlight level match.

[0113] Step S540: updating the brightness compensation parameters of the screen based on the adjusted display parameters.

[0114] In the embodiment of the present application, step S530 and step S540 can refer to the contents of the aforementioned embodiment and will not be repeated here.

[0115] The brightness compensation method provided in the embodiment of the present application adjusts the display parameters of the first display area or the second display area based on the brightness values ​​of the first display area and the second display area when the electronic device is in an idle state, so that the brightness values ​​of the first display area and the second display area when displaying the same content at each backlight level of the at least one backlight level match. Therefore, the brightness compensation parameters of the screen can be determined based on the adjusted display parameters, and then, based on the brightness compensation parameters, brightness compensation can be performed on the first display area and the second display area with large differences in display content and display duration. Therefore, not only can the brightness difference between the first display area and the second display area when displaying content be improved, thus improving the display effect of the screen, but it can also not affect the user's normal use of the electronic device.

[0116] See also Figure 10 , which shows a structural block diagram of a brightness compensation device 400 provided in an embodiment of the present application. The brightness compensation device 400 applies the above-mentioned electronic device, which includes a screen and a brightness detection module for detecting the display brightness of the screen. The screen includes a first display area and a second display area, and the first display area and the second display area display simultaneously or non-simultaneously. The brightness compensation device 400 includes: a brightness detection module 410, a display adjustment module 420, and a parameter update module 430. The brightness detection module 410 is configured to detect, based on the brightness detection module, the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level; the display adjustment module 420 is configured to adjust the display parameters of the first display area or the second display area when displaying the content under the backlight level based on the brightness values ​​detected for the first display area and the second display area, until the brightness values ​​detected by the brightness detection module for the first display area and the second display area when displaying the same content under the backlight level match; and the parameter update module 430 is configured to update the brightness compensation parameters of the screen based on the adjusted display parameters.

[0117] In some embodiments, the detected brightness value includes a brightness value when displaying content of multiple grayscales at each backlight level. The display adjustment module 420 can be specifically configured to: determine a target grayscale and a target backlight level based on the brightness values ​​of the first display area and the second display area when displaying content of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying content of the target grayscale at the target backlight level do not match; and adjust display parameters of the first display area or the second display area when displaying content of the target grayscale at the target backlight level until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying content of the target grayscale at the target backlight level match.

[0118] In a possible embodiment, the display adjustment module 420 is further used to: determine a first brightness attenuation ratio of the first display area based on a first brightness value detected when the first display area displays the target grayscale content at the target backlight level; determine a second brightness attenuation ratio of the second display area based on a second brightness value detected when the second display area displays the target grayscale content at the target backlight level; determine a display area to be adjusted in the first display area or the second display area as a target display area based on the first brightness attenuation ratio and the second brightness attenuation ratio; adjust display parameters of the target display area when displaying the target grayscale content at the target backlight level until the brightness values ​​detected by the brightness detection module when the first display area and the second display area display the target grayscale content at the target backlight level match.

[0119] Optionally, the display adjustment module 420 is also used to: if the first brightness attenuation ratio and the second brightness attenuation ratio are both smaller than the preset attenuation ratio, then obtain the minimum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio, and use the display area corresponding to the minimum attenuation ratio as the first target display area; if the first brightness attenuation ratio and the second brightness attenuation ratio are both greater than or equal to the preset attenuation ratio, then obtain the maximum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio, and use the display area corresponding to the maximum attenuation ratio as the second target display area.

[0120] Optionally, the display adjustment module 420 is further configured to: adjust display parameters of the first target display area when displaying the target grayscale content at the target backlight level, so that the brightness value of the first target display area when displaying the target grayscale content at the target backlight level is reduced, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match; or

[0121] The display parameters of the second target display area when displaying the target grayscale content at the target backlight level are adjusted to increase the brightness value of the second target display area when displaying the target grayscale content at the target backlight level, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match.

[0122] In a possible embodiment, the display adjustment module 420 is further used to: obtain a first brightness curve in which the brightness changes with the backlight level when the first display area displays content of multiple gray levels, and obtain multiple first brightness curves of the first display area, and the multiple first brightness curves correspond one-to-one to the multiple gray levels; obtain a second brightness curve in which the brightness changes with the backlight level when the second display area displays content of multiple gray levels, and obtain multiple second brightness curves of the second display area, and the multiple second brightness curves correspond one-to-one to the multiple gray levels; compare the first brightness curve and the second brightness curve corresponding to each gray level to obtain a curve comparison result corresponding to each gray level; and determine the target gray level and the target backlight level based on the curve comparison result corresponding to each gray level.

[0123] In some embodiments, the display parameter includes at least one of a display grayscale and a backlight level.

[0124] In some embodiments, the brightness detection module 410 can be specifically used to: detect the ambient light brightness; if the ambient light brightness is less than the preset brightness, based on the brightness detection module, detect the brightness value of the first display area and the second display area when displaying the same content under at least one backlight level.

[0125] In one possible implementation, the brightness compensation device 400 may further include a first prompt module. The first prompt module is configured to output a first prompt message after detecting the ambient light brightness if the ambient light brightness is greater than or equal to the preset brightness, the first prompt message being configured to prompt the electronic device to be placed in a dimmed environment. The brightness detection module 410 may also be configured to detect, based on the brightness detection module, the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level when the re-detected ambient light brightness is less than the preset brightness.

[0126] In some embodiments, the brightness detection module 410 can be specifically used to: detect the working state of the electronic device; if the working state is an idle state, based on the brightness detection module, detect the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level.

[0127] In a possible implementation, the brightness compensation device 400 may further include a second prompt module configured to output second prompt information if the working state is a preset state, the second prompt information being used to prompt that the brightness compensation parameters are currently being updated.

[0128] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0129] In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0130] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.

[0131] To summarize, the solution provided by the present application is that since the first display area and the second display area of ​​the screen are selectively displayed simultaneously or non-simultaneously, when the second display area is expanded relative to the first display area, for the first display area and the second display area with large differences in display content and display duration, the brightness of the first display area or the second display area when displaying content under at least one backlight level is detected by the brightness detection module, and the display parameters of the first display area or the second display area are adjusted so that the brightness values ​​of the first display area and the second display area when displaying the same content under the above backlight level match, and the brightness compensation parameters are updated according to the adjusted display parameters, and then the brightness compensation can be targetedly performed on the first display area and the second display area with large differences in display content and display duration according to the brightness compensation parameters, thereby improving the brightness difference between the first display area and the second display area when displaying content, and improving the display effect of the screen.

[0132] Please refer to Figure 11 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 can be an electronic device capable of running applications, such as a smartphone, a tablet computer, a smart watch, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to execute the method described in the aforementioned method embodiment.

[0133] The processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and circuits to connect various components within the electronic device 100. It executes instructions, programs, code sets, or instruction sets stored in the memory 120, and accesses data stored in the memory 120 to perform various functions and process data within the electronic device 100. Optionally, the processor 110 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 110 and may be implemented separately via a communications chip.

[0134] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the electronic device 100 during use (such as a phone book, audio and video data, chat history data), etc.

[0135] Please refer to Figure 12 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program code, which can be called by a processor to execute the method described in the above method embodiment.

[0136] The computer-readable storage medium 800 can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 for executing any of the method steps described above. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in a suitable form.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A brightness compensation method, characterized in that: Applied to an electronic device, the electronic device includes a screen and a brightness detection module for detecting the display brightness of the screen, the screen includes a first display area and a second display area, the first display area and the second display area selectively display simultaneously or non-simultaneously, the method comprising: Detecting, based on the brightness detection module, brightness values ​​of the first display area and the second display area when displaying the same content at at least one backlight level, wherein the detected brightness values ​​include brightness values ​​when displaying content at multiple grayscales at each backlight level; determining a target grayscale and a target backlight level based on brightness values ​​of the first display area and the second display area when displaying content of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying content of the target grayscale at the target backlight level do not match; determining a first brightness attenuation ratio of the first display area based on a detected first brightness value of the first display area when displaying content of the target grayscale at the target backlight level; determining a second brightness attenuation ratio of the second display area based on a detected second brightness value of the second display area when displaying content of the target grayscale at the target backlight level; If both the first brightness attenuation ratio and the second brightness attenuation ratio are smaller than a preset attenuation ratio, obtaining the minimum attenuation ratio between the first brightness attenuation ratio and the second brightness attenuation ratio, and using the display area corresponding to the minimum attenuation ratio as the first target display area; If both the first brightness attenuation ratio and the second brightness attenuation ratio are greater than or equal to a preset attenuation ratio, obtaining the maximum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio, and using the display area corresponding to the maximum attenuation ratio as the second target display area; Adjusting display parameters of the first target display area or the second target display area when displaying the target grayscale content at the target backlight level until the brightness values ​​of the first display area and the second display area detected by the brightness detection module match when displaying the target grayscale content at the target backlight level; Based on the adjusted display parameters, the brightness compensation parameters of the screen are updated.

2. The method according to claim 1, characterized in that The adjusting of display parameters of the first target display area or the second target display area when displaying the target grayscale content at the target backlight level includes: adjusting display parameters of the first target display area when displaying the target grayscale content at the target backlight level, so that the brightness value of the first target display area when displaying the target grayscale content at the target backlight level is reduced, until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match; or The display parameters of the second target display area when displaying the target grayscale content at the target backlight level are adjusted to increase the brightness value of the second target display area when displaying the target grayscale content at the target backlight level, until the brightness values ​​detected by the brightness detection module when the first display area and the second display area displaying the target grayscale content at the target backlight level match.

3. The method according to claim 1, characterized in that The determining of the target grayscale and the target backlight level based on the brightness values ​​of the first display area and the second display area when displaying contents of multiple grayscales under the backlight level includes: Acquire a first brightness curve showing how brightness changes with backlight level when the first display area displays content with multiple grayscales, and obtain multiple first brightness curves for the first display area, where the multiple first brightness curves correspond one-to-one to the multiple grayscales; Obtaining a second brightness curve showing how brightness changes with backlight level when the second display area displays content with multiple grayscales, and obtaining multiple second brightness curves for the second display area, where the multiple second brightness curves correspond one-to-one to the multiple grayscales; Comparing the first brightness curve and the second brightness curve corresponding to each grayscale to obtain a curve comparison result corresponding to each grayscale; The target grayscale and target backlight level are determined according to the comparison results of the curves corresponding to each grayscale.

4. The method according to claim 1, wherein The display parameter includes at least one of a display grayscale and a backlight level.

5. The method according to any one of claims 1 to 4, characterized in that The detecting, based on the brightness detection module, brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level includes: Detect ambient light brightness; If the ambient light brightness is less than a preset brightness, the brightness detection module detects brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level.

6. The method according to claim 5, characterized in that After detecting the ambient light brightness, the method further includes: If the ambient light brightness is greater than or equal to the preset brightness, output a first prompt message, wherein the first prompt message is used to prompt the electronic device to be placed in a dim light environment; When the re-detected ambient light brightness is less than the preset brightness, the brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level are detected based on the brightness detection module.

7. The method according to any one of claims 1 to 4, characterized in that The detecting, based on the brightness detection module, brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level includes: detecting the working status of the electronic device; If the working state is an idle state, the brightness detection module detects brightness values ​​of the first display area and the second display area when displaying the same content under at least one backlight level.

8. The method according to claim 7, characterized in that If the working state is a preset state, the method further includes: Output second prompt information, where the second prompt information is used to prompt that the brightness compensation parameter is currently being updated.

9. A brightness compensation device, characterized in that: Applied to an electronic device, the electronic device includes a screen and a brightness detection module for detecting the display brightness of the screen, the screen includes a first display area and a second display area, the first display area and the second display area selectively display simultaneously or non-simultaneously, the device includes: a brightness detection module, a display adjustment module and a parameter update module, wherein, The brightness detection module is configured to detect brightness values ​​of the first display area and the second display area when displaying the same content at at least one backlight level based on the brightness detection module, wherein the detected brightness values ​​include brightness values ​​when displaying content at multiple grayscales at each backlight level; The display adjustment module determines the target grayscale and the target backlight level based on the brightness values ​​of the first display area and the second display area when displaying contents of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying contents of the target grayscale at the target backlight level do not match; determines the target grayscale and the target backlight level based on the brightness values ​​of the first display area and the second display area when displaying contents of multiple grayscales at the backlight level, wherein the brightness values ​​of the first display area and the second display area when displaying contents of the target grayscale at the target backlight level do not match; determines a first brightness attenuation ratio of the first display area based on the first brightness value detected when the first display area displays the contents of the target grayscale at the target backlight level; determines a first brightness attenuation ratio of the first display area based on the second brightness value detected when the second display area displays the contents of the target grayscale at the target backlight level brightness value, determining a second brightness attenuation ratio of the second display area; if the first brightness attenuation ratio and the second brightness attenuation ratio are both less than the preset attenuation ratio, obtaining the minimum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio, and taking the display area corresponding to the minimum attenuation ratio as the first target display area; if the first brightness attenuation ratio and the second brightness attenuation ratio are both greater than or equal to the preset attenuation ratio, obtaining the maximum attenuation ratio of the first brightness attenuation ratio and the second brightness attenuation ratio, and taking the display area corresponding to the maximum attenuation ratio as the second target display area; adjusting display parameters of the first target display area or the second target display area when displaying the target grayscale content at the target backlight level until the brightness values ​​of the first display area and the second display area detected by the brightness detection module when displaying the target grayscale content at the target backlight level match; The parameter updating module is used to update the brightness compensation parameters of the screen based on the adjusted display parameters.

10. An electronic device, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, which can be called by a processor to execute the method according to any one of claims 1 to 8.