Display aging compensation method and related apparatus
By employing a matching grayscale compensation method under different display brightness levels, the problem of image retention caused by inaccurate grayscale compensation in display aging compensation is solved, achieving efficient display aging compensation and seamless brightness switching.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2023-12-26
- Publication Date
- 2026-07-10
AI Technical Summary
Existing technologies suffer from image retention issues when compensating for display aging because the aging decay direction is inconsistent under different display brightness levels, leading to inaccurate grayscale compensation.
Based on the aging and degradation direction under different display brightness, a matching grayscale compensation method is adopted for display compensation, including increasing or decreasing the grayscale under different brightness, and quickly switching through the display driver chip to store compensation parameters.
The grayscale compensation effect of each grayscale level at full brightness level has been improved, reducing ghosting and enabling users to switch seamlessly during brightness adjustment.
Smart Images

Figure CN122369367A_ABST
Abstract
Description
[0001] This application is a divisional application. The original application, application number 202311820856.9, was filed on December 26, 2023. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a display aging compensation method and related apparatus. Background Technology
[0003] With the rapid development of display technology, ensuring display quality has become increasingly important. Currently, as display time increases, screens will experience a certain degree of aging. To maintain display quality, it is necessary to compensate for this aging process.
[0004] In related technologies, grayscale compensation schemes for other DBVs are usually determined based on the grayscale compensation scheme at the maximum display brightness value (DBV) in order to perform display aging compensation under multiple display brightness levels.
[0005] However, in practice, it has been found that when display aging compensation is performed using related technologies, there are still cases where the aging compensation effect is not good, such as the presence of image retention. Summary of the Invention
[0006] This application provides a display aging compensation method and related apparatus, relating to the field of terminal technology. This display aging compensation method can be applied to electronic devices. According to this method, for the same grayscale level under different display brightness (also known as brightness) of an electronic device, different grayscale compensation methods may be used to compensate for the display aging of the electronic device. For example, when the electronic device displays at a first display brightness, the compensation method for the first grayscale level may include increasing the grayscale level; while when the electronic device displays at a second display brightness, the compensation method for the first grayscale level may include decreasing the grayscale level. This reduces the ghosting at certain brightness levels caused by inaccurate grayscale compensation at certain brightness levels during display aging compensation, improves the grayscale compensation effect of each grayscale level across the full brightness range, and thus improves the ghosting situation across the full brightness range.
[0007] In a first aspect, embodiments of this application propose a display aging compensation method. This display aging compensation method can be applied to electronic devices and may include: at a first moment, the display brightness of the electronic device is a first display brightness, and the grayscale of a first display area of the electronic device is a first grayscale; then, display compensation is performed on the first display area by increasing the grayscale; at a second moment, the display brightness of the electronic device is a second display brightness, and the grayscale of the first display area of the electronic device is the first grayscale; then, display compensation is performed on the first display area by decreasing the grayscale.
[0008] In this embodiment, the electronic device may include a display unit. The display aging compensation method may include: at a first moment, the display unit of the electronic device displays at a first display brightness. The display unit of the electronic device may include at least one display area. When the grayscale (grayscale of the image displayed in the display area) of one of the display areas of the electronic device (e.g., the first display area) is the first grayscale, if the first grayscale is a grayscale that requires compensation by increasing the grayscale level at the first display brightness, then the first display area is compensated by increasing the grayscale level. At a second moment, the display unit of the electronic device displays at a second display brightness. When the grayscale of one of the display areas of the electronic device is still the first grayscale, but the first grayscale requires compensation by increasing the grayscale level at the second display brightness, then the first display area is compensated by decreasing the grayscale level (also known as display aging compensation or grayscale compensation).
[0009] In other words, in the embodiments of this application, for the same gray level under different display brightness of the electronic device, different gray level compensation methods may be used to compensate for the display aging of the electronic device.
[0010] It should be noted that research has found that the reason for image retention when performing display aging compensation using related technologies is that the direction of aging degradation (which can be understood as the appearance of aging marks) is not consistent across different gray levels at different display brightness. For example, for the same area displaying a solid color image, at 800 nits and 64 gray levels, this area shows more severe aging marks compared to surrounding display areas. Therefore, the area with severe aging should be compensated for by increasing the gray level to reduce the aging marks in that area. Conversely, at 2 nits and 64 gray levels, the aging marks in this area are lighter compared to surrounding display areas, so this area should be compensated for by decreasing the gray level.
[0011] Therefore, in related technologies, the grayscale compensation parameters for other DBVs are usually determined based on the grayscale compensation parameters at the maximum DBV, which cannot improve the ghosting situation at each grayscale level of the full display brightness.
[0012] In this embodiment, for the same gray level under different display brightness of the electronic device, different gray level compensation methods may be used to compensate for the display aging of the electronic device. Based on the direction of aging decay of each gray level under different brightness, a matching gray level compensation method is used for display compensation. This takes advantage of the fact that the direction of aging decay is inconsistent under different display brightness at each gray level, thereby reducing the ghosting situation at certain brightness levels caused by inaccurate gray level compensation at certain brightness levels during display aging compensation. This can improve the gray level compensation effect of each gray level at the full brightness level, thereby improving the ghosting situation at the full brightness level.
[0013] For example, when a user needs to view the image content (also known as the screen) displayed by an electronic device at a first display brightness, due to display aging, the first grayscale of the first display area in the image content needs to be compensated by increasing the grayscale level at the first display brightness. In this case, the electronic device compensates by increasing the grayscale level, so that when the user views the image content at the first display brightness, the difference between different display areas displaying the same grayscale is small or even negligible. When the user needs to adjust the display brightness of the electronic device, such as increasing or decreasing it, the user can adjust the display brightness from the first display brightness to a second display brightness. At the second brightness, the first grayscale of the first display area compensates by decreasing the grayscale level, allowing the electronic device to display at the second display brightness while simultaneously compensating for the first display area's grayscale. This ensures that when the user views the image content at the second display brightness, the difference between different display areas displaying the same grayscale is small or even negligible, thus improving the user's viewing experience at different brightness levels.
[0014] The display aging compensation method provided in this application embodiment allows for the selection of compensation parameters corresponding to different display brightness levels to perform aging compensation on the image displayed at that brightness. Furthermore, at least one preset gray level has a different gray level compensation method corresponding to at least two compensation parameters. This method can take advantage of the fact that the direction of aging attenuation is inconsistent under different preset gray levels at different display brightness levels, thereby improving the display aging compensation effect.
[0015] It should be understood that the size of the first display brightness, the second display brightness, and the first grayscale can be related to the display characteristics of the display unit. There is no specific size limit here, and it needs to be determined according to the actual situation.
[0016] In conjunction with the first aspect, in one possible implementation, the first display brightness corresponds to a first compensation parameter. The first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level under the first display brightness. The grayscale compensation method is either an increase grayscale method or a decrease grayscale method. The increase grayscale method corresponding to the first grayscale level under the first display brightness is determined based on the first compensation parameter. Between the first and second moments, the method further includes: in response to the operation of adjusting the first display brightness to a second display brightness, obtaining a second compensation parameter corresponding to the second display brightness. The second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level under the second display brightness; and replacing the first compensation parameter with the second compensation parameter. Therefore, when performing display compensation on the first display area using a decrease grayscale method, the display compensation on the first display area can be performed based on the second compensation parameter using a decrease grayscale method.
[0017] In this embodiment, at the first display brightness, the grayscale compensation method corresponding to the preset grayscale can be either an increasing grayscale method or a decreasing grayscale method. When the electronic device needs to display at the first display brightness, for each display area, it can determine whether to use an increasing grayscale method or a decreasing grayscale method for compensation based on the grayscale of the display area and the first compensation parameter. That is, the increasing grayscale method corresponding to the first grayscale at the first display brightness is determined based on the first compensation parameter. Between the first and second moments, the electronic device can also respond to the operation of adjusting the first display brightness to the second display brightness to obtain the second compensation parameter corresponding to the second display brightness. The second compensation parameter can indicate the grayscale compensation method corresponding to each preset grayscale at the second display brightness. Therefore, when the electronic device needs to display at the second display brightness, for each display area, it can determine whether to use an increasing grayscale method or a decreasing grayscale method for compensation based on the grayscale of the display area and the second compensation parameter. Accordingly, when compensating for the first display area using a decreasing grayscale method, the first display area is compensated using a decreasing grayscale method based on the second compensation parameter.
[0018] It should be understood that if a region corresponds to the method of increasing grayscale, it means that the RGB value of that region needs to be increased, while the method of decreasing grayscale means that the RGB value needs to be decreased.
[0019] It should be noted that the first compensation parameter and the second compensation parameter are different. Optionally, the first compensation parameter and the second compensation parameter can be completely different, or partially the same and partially different. For example, if the first compensation parameter and the second compensation parameter are completely different, then for each preset grayscale level, the grayscale compensation method indicated in the first compensation parameter is the opposite of the grayscale compensation method indicated in the second compensation parameter. Furthermore, if the first compensation parameter and the second compensation parameter are partially the same and partially different, then for some preset grayscale levels, the grayscale compensation method indicated in the first compensation parameter is the opposite of the grayscale compensation method indicated in the second compensation parameter; while for other preset grayscale levels, the grayscale compensation method indicated in the first compensation parameter is the same as the grayscale compensation method indicated in the second compensation parameter.
[0020] In this embodiment, if the electronic device needs to display at a first display brightness, it can obtain a first compensation parameter to determine the grayscale compensation method corresponding to each grayscale level under the first display brightness. For example, it can determine that the first grayscale level under the first display brightness corresponds to an increased grayscale method, and thus use the increased grayscale method to compensate the first display area with the first grayscale level. When the electronic device needs to switch from the first display brightness to the second display brightness, that is, when the electronic device needs to display at the second display brightness, it can determine the grayscale compensation method corresponding to each grayscale level under the second display brightness based on the second compensation parameter. For example, it can determine that the first grayscale level under the second display brightness corresponds to a decreased grayscale method. Thus, under full display brightness, the grayscale compensation method corresponding to each grayscale level can be quickly determined based on the compensation parameter, thereby improving the efficiency of display compensation. As a result, when the user needs to switch brightness or the electronic device automatically switches display brightness, the user can achieve seamless switching (reducing the occurrence of different aging marks in different areas during the switching process). That is, when the brightness adjustment is finished, the user will not feel the difference in aging marks, or the time when the user adjusts the display brightness is short.
[0021] In conjunction with the first aspect, in one possible implementation, the first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level associated with at least one red-green-blue (RGB) color mode at the first display brightness; and / or, the second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level associated with at least one RGB color mode at the second display brightness. Wherein, the at least one RGB color mode includes at least one of the red (R) color mode, the green (G) color mode, and the blue (B) color mode.
[0022] It should be noted that in some examples, the grayscale compensation for aging of the display unit may have different degrees of impact on different color modes. In other words, the grayscale compensation for aging of the display unit may be affected to different degrees by the red (R) color mode, green (G) color mode, and blue (B) color mode. Therefore, based on the compensation parameters corresponding to each display brightness, the grayscale compensation method corresponding to the grayscale of each color mode at each display brightness can be determined, and then based on the grayscale compensation method corresponding to the grayscale of each color mode, the grayscale compensation method corresponding to each grayscale at each display brightness can be determined.
[0023] For example, the first compensation parameter can indicate that under the first brightness, the first gray level associated with the red R color mode is an increase gray level mode, the first gray level associated with the green G color mode is a decrease gray level mode, and the first gray level associated with the blue B color mode is an increase gray level mode. Since the increase gray level mode corresponding to the first gray level is more than the decrease gray level mode, under the first brightness, the first gray level corresponds to the increase gray level mode.
[0024] It should be understood that the extent to which the grayscale compensation of the display unit is affected by the red (R) color mode, green (G) color mode, and blue (B) color mode depends on the actual situation and will not be specifically limited here.
[0025] In this embodiment, the first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale related to at least one RGB color mode under the first display brightness, and / or the second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale related to at least one RGB color mode under the second display brightness. That is, when using the method of increasing grayscale or decreasing grayscale for display aging compensation, it is considered that the grayscale compensation of the display unit may be affected by the red R color mode, green G color mode and blue B color mode to different degrees. Therefore, the grayscale compensation method corresponding to a certain grayscale under a certain brightness is more accurate.
[0026] In conjunction with the first aspect, in one possible implementation, at least one RGB color mode is the Green G color mode.
[0027] In this embodiment, it was found that for the display unit, the green G pixel has a significant impact on grayscale compensation. Therefore, this embodiment mainly considers the grayscale compensation method corresponding to the green R color mode, and uses the grayscale compensation method corresponding to the green R color mode as the standard. This can improve the efficiency of display compensation and thus achieve seamless switching for the user.
[0028] In conjunction with the first aspect, in one possible implementation, the electronic device includes a display driver IC (DDIC) for driving the display. Before replacing the first compensation parameter with the second compensation parameter, the method includes: sending the second compensation parameter to the DDIC for storage. Therefore, when replacing the first compensation parameter with the second compensation parameter, the first compensation parameter stored in the DDIC can be replaced with the second compensation parameter.
[0029] In this embodiment, the first compensation parameter can be stored in the display driver chip DDIC. Therefore, during display compensation, the display driver chip DDIC can directly compensate the display unit's display based on its stored first compensation parameter. When the first compensation parameter is replaced with a second compensation parameter, the second compensation parameter is sent to the display driver chip DDIC for storage. In other words, all compensation parameters are directly stored in the display driver chip DDIC used to drive the display.
[0030] Optionally, the electronic device also includes a processor. The processor can store compensation parameters corresponding to each display brightness. Based on the required display brightness of the electronic device, the processor can send the compensation parameters corresponding to the display brightness to the display driver chip DDIC for storage. The display driver chip DDIC then performs display compensation on the display unit based on the compensation parameters it stores. Optionally, the storage space of the storage chip DDIC for storing compensation parameters is greater than or equal to the space required for one compensation parameter, and less than or equal to the space required for two compensation parameters.
[0031] In this embodiment, when the electronic device needs to display at a first display brightness, it can store the first compensation parameters in the display driver chip DDIC. When the electronic device displays at the first display brightness, the display driver chip DDIC can perform display compensation on each display area at the first display brightness based on its stored first compensation parameters. When the display brightness of the electronic device switches from the first display brightness to a second display brightness, the first compensation parameters stored in the display driver chip DDIC are replaced with the second compensation parameters corresponding to the second display brightness. When the electronic device displays at the second display brightness, the display driver chip DDIC can perform display compensation on each display area at the second display brightness based on its stored second compensation parameters. Since the compensation parameters are directly stored in the display driver chip DDIC used to drive the display, the display driver chip DDIC can quickly perform display compensation based on its stored compensation parameters during display compensation, thereby improving the efficiency of display aging compensation and achieving seamless user perception.
[0032] In conjunction with the first aspect, in one possible implementation, the second compensation parameter is sent to the display driver chip DDIC storage, including: sending the second compensation parameter to the display driver chip DDIC storage at the vertical front porch (VFP) of the vertical sync signal, so that the second compensation parameter takes effect before the arrival of the vertical sync (VS) cycle.
[0033] It should be understood that, generally speaking, the display process of the previous frame of the display unit is a process of scanning pixels from top to bottom line by line. If the screen starts scanning the pixels of the next frame before the scanning of the previous frame has finished, then the following tearing will occur. Therefore, a vertical synchronization period (VS) signal is basically provided to the outside before the screen refreshes. This signal selects an appropriate strategy to complete the screen refresh and avoids the situation where the data refresh and screen scanning are mismatched.
[0034] In some examples, the image viewed by the user may be fixed, such as a static image. In other examples, the image viewed by the user may be changing, such as a moving image or video, or a transition from one static image to another. If the image changes, the grayscale of the electronic device's display area may change. Even if the brightness remains constant, this change in grayscale may alter the grayscale compensation method used for the display area.
[0035] In this embodiment, the second compensation parameter is sent to the display driver chip DDIC for storage at the front shoulder VFP of the vertical synchronization signal. This can reduce the display compensation frame deviation caused by screen asynchrony (for example, the compensation method used for a certain display area in the previous frame is only used in the next frame), thereby improving the accuracy of display aging compensation.
[0036] In conjunction with the first aspect, in one possible implementation, the second compensation parameter is sent to the display driver chip DDIC for storage at the front shoulder (VFP) of the vertical synchronization signal, including: the second compensation parameter and the second display brightness are packaged and sent to the display driver chip DDIC for storage at the front shoulder (VFP) of the vertical synchronization signal.
[0037] In this embodiment, when the electronic device needs to adjust the display brightness, the second compensation parameter and the second display brightness are packaged and sent to the display driver chip DDIC for storage at the front shoulder VFP of the vertical synchronization signal, so that the second compensation parameter and the second display brightness can take effect before VS, thereby ensuring that the brightness and the second compensation parameter can be switched synchronously, thereby improving the accuracy of display aging compensation.
[0038] In conjunction with the first aspect, in one possible implementation, the display aging compensation method further includes: at a third moment, the display brightness of the electronic device is a first display brightness, and the grayscale of the second display area of the electronic device is a second grayscale; display compensation is performed on the second display area by reducing the grayscale. At a fourth moment, the display brightness of the electronic device is the second display brightness, and the grayscale of the second display area of the electronic device is the second grayscale; display compensation is performed on the second display area by increasing the grayscale.
[0039] In this embodiment, at the third moment, the electronic device displays at the first display brightness. If the grayscale of the second display area of the electronic device is the second grayscale, and the second grayscale should be compensated for by reducing the grayscale at the first display brightness, then the electronic device can compensate for the second display area by reducing the grayscale at the first display brightness. When the electronic device needs to adjust the display brightness from the first display brightness to the second display brightness—in other words, at the fourth moment, the electronic device needs to display at the second display brightness—and the second grayscale should be compensated for by increasing the grayscale at the second display brightness, then the electronic device can compensate for the second display area by increasing the grayscale at the second display brightness.
[0040] For example, in an embodiment of this application, at one brightness level (e.g., a first display brightness), certain gray levels (e.g., the first gray level) should be compensated by increasing the gray level, while other gray levels (e.g., the second gray level) need to be compensated by decreasing the gray level. At another brightness level (e.g., a second display brightness), certain gray levels (e.g., the first gray level) should be compensated by decreasing the gray level, while other gray levels (e.g., the second gray level) need to be compensated by increasing the gray level.
[0041] In other words, in the embodiments of this application, different grayscale compensation methods may be used for different grayscale levels under the same display brightness.
[0042] In the embodiments of this application, different grayscale compensation methods may be used for different grayscale levels under the same brightness, that is, the actual aging attenuation direction of different grayscale levels is taken into account, thereby improving the accuracy of display aging compensation.
[0043] In conjunction with the first aspect, in one possible implementation, the display aging compensation method further includes: at a fifth moment, the display brightness of the electronic device is a first display brightness, and the grayscale of the third display area of the electronic device is a third grayscale; display compensation is performed on the third display area by reducing the grayscale. At a sixth moment, the display brightness of the electronic device is a second display brightness, and the grayscale of the third display area of the electronic device is a third grayscale; display compensation is performed on the third display area by reducing the grayscale.
[0044] In this embodiment, at the fifth moment, when the electronic device needs to display at the first display brightness, if the grayscale of the third display area of the electronic device is the third grayscale, and the third grayscale needs to be compensated by reducing the grayscale at the first display brightness, then the electronic device can compensate for the display of the third display area by reducing the grayscale at the first display brightness. When the electronic device needs to display at the second display brightness, if the third grayscale still needs to be compensated by reducing the grayscale at the second display brightness, then at the sixth moment, the electronic device can compensate for the display of the third display area by reducing the grayscale at the second display brightness.
[0045] In conjunction with the first aspect, in one possible implementation, the third gray level is smaller than the first gray level.
[0046] In conjunction with the first aspect, in one possible implementation, the display aging compensation method further includes: at a seventh moment, the display brightness of the electronic device is a first display brightness, and the grayscale of the fourth display area of the electronic device is a fourth grayscale; display compensation for the fourth display area is performed by increasing the grayscale. At an eighth moment, the display brightness of the electronic device is a second display brightness, and the grayscale of the fourth display area of the electronic device is a fourth grayscale; display compensation for the fourth display area is performed by increasing the grayscale.
[0047] In this embodiment, at the seventh moment, the electronic device displays at a first display brightness. If the grayscale of the fourth display area is the fourth grayscale, and the fourth grayscale needs to be adjusted by increasing the grayscale at the first display brightness, then the electronic device can perform display aging compensation for the fourth display area by increasing the grayscale at the first display brightness. When the electronic device needs to display at a second display brightness, that is, at the eighth moment, the display brightness of the electronic device is the second display brightness, and the fourth grayscale also needs to be compensated by increasing the grayscale at the second display brightness, then the electronic device can perform display aging compensation for the fourth display area by increasing the grayscale at the second display brightness.
[0048] In conjunction with the first aspect, in one possible implementation, the fourth gray level is greater than the first gray level.
[0049] For the same grayscale under different display brightness, the same grayscale compensation method may be used, such as using the grayscale reduction method for display aging compensation.
[0050] It should be noted that, in the embodiments of this application, the display brightness range related to the grayscale reduction method corresponding to the lower grayscale includes the display brightness range related to the grayscale reduction method corresponding to the higher grayscale, that is, the display brightness range related to the grayscale reduction method corresponding to the lower grayscale is greater than or equal to the display brightness range related to the grayscale reduction method corresponding to the higher grayscale.
[0051] For example, 16 gray levels can be compensated for by reducing gray levels in the 2nit-800nit range. Similarly, 64 gray levels can be compensated for by reducing gray levels in the 2nit-150nit range. And 128 gray levels can be compensated for by reducing gray levels in the 2nit-75nit range.
[0052] In other words, the display brightness range associated with increasing grayscale levels for higher grayscale levels includes the display brightness range associated with increasing grayscale levels for lower grayscale levels. That is, the display brightness range associated with increasing grayscale levels for higher grayscale levels is greater than or equal to the display brightness range associated with increasing grayscale levels for lower grayscale levels.
[0053] For example, a grayscale level of 192 in the 2 nit-800 nit range can be compensated for by increasing the grayscale level. Similarly, a grayscale level of 128 in the 75-800 nit range can also be compensated for by increasing the grayscale level. And a grayscale level of 64 in the 150-800 range can also be compensated for by increasing the grayscale level.
[0054] In the embodiments of this application, by analyzing the grayscale compensation methods corresponding to different grayscale levels under different display brightness, it can be found that the same grayscale level under different display brightness may adopt the same grayscale compensation method. The display brightness range related to the grayscale reduction method corresponding to lower grayscale levels includes the display brightness range related to the grayscale reduction method corresponding to higher grayscale levels, and the display brightness range related to the grayscale increase method corresponding to higher grayscale levels includes the display brightness range related to the grayscale increase method corresponding to lower grayscale levels. Based on the above rules, display aging compensation can be performed quickly, thereby improving the efficiency of display aging compensation.
[0055] Secondly, embodiments of this application provide another display aging compensation method applied to an electronic device. The electronic device includes multiple display areas. The display aging compensation method may include: determining the target display brightness of the electronic device and the grayscale of each display area. Then, for each display area, based on the target display brightness and the grayscale of the display area, a grayscale compensation method corresponding to the grayscale of the display area is used to perform display compensation on the display area. The grayscale compensation method may be an increase in grayscale or a decrease in grayscale. Notably, at least one grayscale level has a different grayscale compensation method corresponding to different display brightness levels.
[0056] For example, assuming the target display brightness is a first display brightness, then for the first grayscale level, the grayscale level should be increased under the first display brightness. Assuming the target display brightness is a second display brightness, then for the first grayscale level, the grayscale level should be decreased under the second display brightness.
[0057] In the embodiments of this application, for the same gray level under different display brightness of the electronic device, different gray level compensation methods may be used to compensate for the display aging of the electronic device. Based on the direction of aging attenuation of each gray level under different brightness, a matching gray level compensation method is used for display compensation. This takes advantage of the fact that the direction of aging attenuation is inconsistent under different display brightness at each gray level, thereby reducing the ghosting situation at certain brightness levels caused by inaccurate gray level compensation at certain brightness levels during display aging compensation. This can improve the gray level compensation effect of each gray level at the full brightness level, thereby improving the ghosting situation at the full brightness level.
[0058] In conjunction with the first aspect, in one possible implementation, based on the target display brightness and the grayscale of the display area, display compensation is performed on the display area using a grayscale compensation method corresponding to the grayscale of the display area, including:
[0059] Based on the target compensation parameters corresponding to the target display brightness and the grayscale of the display area, the display area is compensated by using the grayscale compensation method corresponding to the grayscale of the display area.
[0060] Among them, the target compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale under the target display brightness.
[0061] For example, if the target display brightness is a first display brightness, the target compensation parameter can be a first compensation parameter corresponding to the first display brightness; if the target display brightness is a second display brightness, the target compensation parameter can be a second compensation parameter corresponding to the second display brightness.
[0062] In this embodiment, the target compensation parameters can be stored in the DDIC. Optionally, at any given time, the DDIC stores at most one set of target compensation parameters, but the target compensation parameters stored in the DDIC at different times can be different. The target compensation parameters stored in the DDIC are related to the display brightness of the electronic device. For example, if the electronic device is about to display at a second display brightness, then the DDIC stores the second compensation parameters.
[0063] In this embodiment, the target compensation parameters are directly stored in the display driver chip DDIC used to drive the display. During display compensation, the display driver chip DDIC can quickly perform display compensation based on its stored compensation parameters, thereby improving the efficiency of display aging compensation and achieving seamless user perception.
[0064] In conjunction with the first aspect, in one possible implementation, the aging compensation method further includes:
[0065] Determine the target brightness range to which the target display brightness belongs. The target brightness range is one of multiple preset brightness ranges. Each preset brightness range has a corresponding compensation parameter. For each preset brightness range, the compensation parameter corresponding to the preset brightness range indicates the grayscale compensation method corresponding to each preset grayscale in the preset brightness range.
[0066] The compensation parameter corresponding to the target brightness range to which the target display brightness belongs is determined as the target compensation parameter corresponding to the target display brightness.
[0067] In this embodiment, each display brightness within a brightness range can share a set of compensation parameters, which can reduce the number of times compensation parameters are switched and the amount of storage space required to store all compensation parameters.
[0068] Thirdly, embodiments of this application provide a display aging compensation device, which can be an electronic device, or a chip or chip system within an electronic device. The display aging compensation device may include a display unit and a processing unit. When the display aging compensation device is an electronic device, the display unit may be a display screen. The display unit is used to perform display steps to enable the electronic device to implement a display aging compensation method described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect. When the display aging compensation device is an electronic device, the processing unit may be a processor. The display aging compensation device may further include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit to enable the electronic device to implement a display aging compensation method described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect. When the display aging compensation device is a chip or chip system within an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit to enable the electronic device to implement a display aging compensation method described in the first aspect or any possible implementation of the first aspect. The storage unit can be a storage unit inside the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip within the electronic device (e.g., a read-only memory, random access memory, etc.).
[0069] Fourthly, embodiments of this application provide an electronic device, including a processor and a memory, wherein the memory is used to store code instructions, and the processor is used to execute the code instructions to perform the methods described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.
[0070] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.
[0071] Sixthly, embodiments of this application provide a computer program product including a computer program, which, when run on a computer, causes the computer to perform the methods described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.
[0072] Seventhly, this application provides a chip or chip system including at least one processor and a communication interface. The communication interface and the at least one processor are interconnected via a circuit. The at least one processor is used to run computer programs or instructions to perform the methods described in the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect. The communication interface in the chip can be an input / output interface, pins, or circuits, etc.
[0073] In one possible implementation, the chip or chip system described above in this application further includes at least one memory storing instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself (e.g., read-only memory, random access memory, etc.).
[0074] It should be understood that the second to seventh aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0075] Figure 1 A schematic diagram of aging degree provided for an embodiment of this application;
[0076] Figures 2-3 All of these are schematic diagrams of an aging phenomenon provided in the embodiments of this application;
[0077] Figure 4 A schematic diagram illustrating an always-on display for an embodiment of this application;
[0078] Figures 5-6 This application provides a schematic diagram showing the result of compensation.
[0079] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0080] Figure 8 A schematic diagram of the software framework of an electronic device provided in an embodiment of this application;
[0081] Figure 9 A schematic diagram illustrating a display aging compensation process provided in an embodiment of this application;
[0082] Figure 10 Another schematic diagram illustrating the aging compensation process provided in this application embodiment;
[0083] Figure 11 This is a timing diagram for distributing compensation parameters, provided as an embodiment of this application. Detailed Implementation
[0084] To facilitate a clear description of the technical solutions in the embodiments of this application, some terms and technologies involved in the embodiments of this application will be briefly introduced below:
[0085] 1. Screen luminance (Luminance) refers to the physical quantity of the intensity of light emitted from the surface of a light-emitting object, measured in nits (nits). Screen brightness is an important indicator used to measure the luminous intensity of a display screen.
[0086] 2. Grayscale refers to the level of tonal depth of the electromagnetic radiation intensity of ground objects in a black and white image. It usually divides the screen brightness variation between the brightest and darkest into 0-255 levels to facilitate the control of the screen brightness of the signal input.
[0087] 3. Screen brightness is adjusted by display brightness; therefore, screen brightness can have a one-to-one correspondence with DBV.
[0088] For example, the DBV adjustment range is set to [0, 3515], which can be used to adjust the screen brightness range of [0 nit, 500 nit]. In bright light, the user can increase the DBV to 3515, or the electronic device can automatically adjust the DBV to allow the user to adjust the screen brightness to 500 nits for easier viewing of the displayed content. In low light, the user can decrease the DBV to 50 to allow the user to adjust the screen brightness to 20 nits, avoiding excessive difference between ambient light and screen brightness that could cause eye strain.
[0089] It should be noted that the correspondence between DBV and screen brightness shown in the embodiments of this application is only for illustrative purposes and does not constitute a specific limitation on the actual correspondence between DBV and screen brightness.
[0090] 4. Other terms
[0091] In the embodiments of this application, terms such as "first" and "second" are used to distinguish identical or similar items with substantially the same function and purpose. For example, "first chip" and "second chip" are used only to distinguish different chips and do not limit their order of execution. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.
[0092] It should be noted that, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0093] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, and c can be single or multiple.
[0094] 5. Electronic equipment
[0095] The electronic devices in this application embodiment may include handheld devices with display functions, vehicle-mounted devices, etc. For example, some electronic devices include: mobile phones, tablets, PDAs, laptops, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or future evolution of public land mobile communication networks. Terminal devices in a network (PLMN), etc., are not limited to this in the embodiments of this application.
[0096] By way of example and not limitation, in this embodiment, the electronic device can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0097] Furthermore, in this embodiment of the application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0098] The electronic devices in the embodiments of this application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user device, etc.
[0099] The following is combined with Figures 1-3 This application explains the reasons for the aging phenomenon in its embodiments. For example, Figure 1 This is a schematic diagram of aging degree provided for an embodiment of this application. Figures 2-3 These are all schematic diagrams of an aging phenomenon provided in the embodiments of this application.
[0100] like Figure 1 As shown, in the daily display interface (also known as the screen or image) of electronic devices, different display areas (hereinafter referred to as areas) have different colors (which can be understood as different grayscale values or different grayscale levels). For example, some areas are white (higher grayscale value); while other areas are black or other colors (lower grayscale value). As the display screen is used for a long time, it will age to varying degrees, resulting in inconsistent aging marks when viewed by the user. Generally speaking, the aging degree of areas with lower grayscale values is higher than that of areas with higher grayscale values. That is, areas with lower grayscale values are more severely aged. Or, if an image with a higher grayscale value is displayed in the same area for a long time, that area displaying the image with a higher grayscale value will also age more easily. After the display screen ages, inconsistent aging marks (i.e., image retention) will appear, such as... Figure 3 As shown. Therefore, aging compensation is required.
[0101] The degree of aging may vary in different display areas, and is generally related to user habits. Below are some examples of usage habits that may cause ghosting.
[0102] For example, if a user sets an always-on display where the always-on display time is displayed in white text and the position of the always-on display time is fixed, then the aging degree of the area displaying the always-on display time is generally higher than that of other areas.
[0103] For example, suppose a user frequently uses an application that displays light-colored (high grayscale value) icons in a fixed area, such as "Add Control" icons. Over time, this icon area will experience significant aging.
[0104] For example, assuming the user sets the system / application to a light theme, the system font is generally a dark font. In this case, the area displaying the font shows less aging compared to blank areas. Conversely, assuming the user sets the system to a dark theme, the system font is generally a light font. In this case, the area displaying the font shows more aging.
[0105] Currently, it is generally believed that the aging degradation trend (direction of aging degradation) is the same at all brightness levels. Therefore, in related technologies, the grayscale compensation scheme for other DBVs is usually determined based on the grayscale compensation scheme at the maximum display brightness, thereby performing display aging compensation at multiple display brightness levels.
[0106] For example, in related technologies, a grayscale gain of 16 / 64 / 128 / 192 with a DBV of 800 nit is selected as the base. Then, several additional DBVs are selected to set their DBV gains, which are multiplied by the base grayscale gain, such as the k value, to obtain the compensation values for each grayscale level under these DBVs. The compensation values for the remaining DBVs are calculated through interpolation. For example, DBV = 150 / 75 / 2 can be selected as the DBV gain.
[0107] However, research has found that the aging phenomenon is not consistent across all brightness levels, meaning that the aging degradation trend (direction of aging degradation) is not the same across all brightness levels.
[0108] For example, in electronic devices for a long time Figure 1 When the interface shown is displayed, different areas of the electronic device's screen exhibit varying degrees of aging. Assuming... Figure 2 and Figure 3 When displaying the same solid color image, at a certain brightness (e.g., 10 nits), it will display as follows: Figure 2 The diagram shown is illustrated below. Figure 2 In this case, the grayscale value at the black circle location is higher than the grayscale values at other locations. At another brightness level (e.g., 800 nits), it will display as... Figure 3 The diagram shown. But... Figure 3 middle, Figure 3The grayscale value at the black circle is lower than the grayscale values at other locations. In other words, even if the original image data of the displayed image has the same grayscale, there can be a reversal at different brightness levels. For example, at some brightness levels, aging artifacts may appear more pronounced, while at other brightness levels, they may appear less pronounced.
[0109] Therefore, the grayscale compensation scheme for other DBVs, usually determined based on the grayscale compensation scheme at the maximum display brightness, is not suitable for grayscale compensation at full brightness. The analysis above shows that the main reason is that the aging and decay directions are inconsistent across different gray levels for high and low brightness DBVs, and a single set of Base Gray Gain cannot simultaneously cover the compensation effects for both high and low brightness. For example, 800nit Green Gray is represented as -+++, while 2nit Green Gray is represented as ---+, with any multiplier, and the correct 2nit Gray Gain cannot be obtained from 800nit Gray Gain.
[0110] For example, please refer to Tables 1-3. Table 1 is a schematic diagram of the grayscale compensation method corresponding to each preset grayscale level at 800 nits provided in the embodiments of this application. The preset grayscale levels can be, for example, 16 grayscale levels, 64 grayscale levels, 128 grayscale levels, and 192 grayscale levels. Table 2 is a schematic diagram of the base gray gain corresponding to each grayscale level provided in the embodiments of this application. Table 3 is a schematic diagram of the grayscale compensation method corresponding to each preset grayscale level at 200 nits provided in the embodiments of this application. Wherein, R represents red, G represents green, and B represents blue.
[0111] Table 1
[0112]
[0113] Table 2
[0114]
[0115] Table 3
[0116]
[0117] Therefore, multiplying the - + + in Table 1 by the values in Table 2 will not yield the - - - + in Table 3.
[0118] The "-" and "+" symbols indicate the grayscale compensation method, specifying whether to increase or decrease the grayscale level for display compensation. For example, "-" indicates a decrease in grayscale level, while "+" indicates an increase in grayscale level.
[0119] Based on this, embodiments of this application can analyze whether each preset grayscale level is in a bright or dark state under different display brightness, and then determine whether to increase or decrease the grayscale level for each preset grayscale level under different display brightness. Optionally, the Gray Gain under each DBV of the display screen is classified according to the phenomenon of brightness attenuation, and then the grayscale compensation method for each preset grayscale level under each DBV classification result is determined based on the results of each DBV classification (e.g., DBV classification interval).
[0120] For example, DBV=150~800nit is classified into group 1, 75~149nit into group 2, and 2~74nit into group 3.
[0121] Please see Figures 4-6 . Figure 4 This is a schematic diagram illustrating an always-on display as shown in an embodiment of this application. Figures 5-6 This is a schematic diagram showing the result of compensation as provided in an embodiment of this application.
[0122] like Figure 4 As shown, since the user has set the always-on display function, even when the user is on the screen, the time is displayed in white (255 grayscale) in a fixed area. However, as the usage time increases, the area displaying the time in the always-on display state becomes the area with more severe aging on the screen, and its aging marks are more obvious.
[0123] Under one of the low brightness levels (e.g., 5 nits), assuming a user is using an application / system navigation bar where the main interface of that application / system navigation bar is primarily in a light color tone (e.g., 128 gray levels), such as... Figure 5 As shown, the area displaying the time shows less aging compared to other areas, resulting in varying aging characteristics across different areas and causing image retention. Even with existing grayscale compensation techniques, the grayscale value of the time-displaying area is increased. Consequently, from the user's perspective, the aging characteristics of the time-displaying area appear more pronounced than those of other areas of the display when the screen is off.
[0124] By employing the display compensation scheme of this application embodiment, different grayscale compensation methods may be used for the same grayscale at different display brightness levels. This can resolve the issue of image retention caused by different aging degradation trends at certain brightness levels, thereby reducing image retention. Figure 6 As shown, in low brightness conditions, the brightness of the area displaying the time can be reduced, thereby reducing the presence of ghosting at certain brightness levels and improving the user's viewing experience.
[0125] The display aging compensation method of this application embodiment is described below in conjunction with the hardware and software structure of the electronic device.
[0126] For example, Figure 7 A schematic diagram of the structure of the electronic device 100 is shown.
[0127] Electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and a display driver chip 196, etc.
[0128] The main function of a display driver chip is to control the OLED display panel. The display driver chip drives the display panel and transmits video data via electrical signals.
[0129] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc. The ambient light sensor 180L can be used to collect ambient light data as a basis for determining whether the electronic device 100 adjusts its brightness.
[0130] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0131] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0132] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0133] For example, in this embodiment, compensation parameters can be stored in the AP, and compensation parameter instructions can be sent to the display driver chip 196 through the AP, so that the display driver chip 196 can drive the display screen 194 to display.
[0134] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0135] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0136] OLED displays rely on the self-emissive nature of organic light-emitting diodes (OLEDs). Essentially, a voltage is applied to the organic materials within the pixels of an OLED display to cause them to emit light. Because these organic materials slowly degrade and dim over time, each pixel in an OLED display has a limited lifespan. Static content, especially bright white content, accelerates pixel decay on OLED displays, leading to noticeable dark spots, shapes, and ghosting. However, aging of OLED displays is rarely caused by prolonged viewing; it is generally the result of cumulative viewing.
[0137] In this embodiment, the electronic device or various network devices include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0138] In this embodiment, the application processor can update the compensation parameters stored in the display driver chip 196 so that the display driver chip can use different compensation parameters to perform display compensation under different display brightness, thereby enabling different grayscale compensation methods to be used for the same grayscale under different brightness.
[0139] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to illustrate the software structure of electronic device 100.
[0140] Figure 8 This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0141] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0142] The application layer can include a series of application packages.
[0143] like Figure 8 As shown, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, and system user interface (system UI). The system user interface provides users with an interface to adjust the display brightness.
[0144] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0145] like Figure 8 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0146] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0147] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0148] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0149] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0150] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0151] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0152] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0153] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0154] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0155] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0156] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0157] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0158] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0159] A 2D graphics engine is a graphics engine for 2D drawing.
[0160] The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers. The display driver can drive the display screen 194 to display information, for example, by driving the display screen 194 to display at a specific brightness and specific grayscale.
[0161] In this embodiment, the application processor includes the application layer and application framework layer provided in the above embodiments. The display driver chip DDIC can perform display compensation based on stored compensation parameters. The application can run in the application layer, and the application framework layer can provide a system user interface for the electronic device. The user can adjust the display brightness of the electronic device in the system user interface. When the display brightness is switched, the application processor can send new compensation parameters to the DDIC, and the display driver chip can perform display compensation based on the new compensation parameters.
[0162] The following example illustrates the workflow of the software and hardware of electronic device 100, using display scenarios at different brightness levels as examples. Figure 9 The methods shown may include:
[0163] S910 and DDIC drive the display screen to display the target image at a first brightness through the kernel layer. DDIC stores a first compensation parameter. When driving the display screen to display the target image at the first brightness, it performs display compensation on each area based on the first compensation parameter and the grayscale of each area of each display screen.
[0164] In this embodiment, the display screen can be pre-divided into multiple regions. Then, for each region, the grayscale of that region is determined based on the grayscale of each pixel in the image block being played in that region. For example, the average grayscale value or the median grayscale value of the pixels in the image block being played in that region can be determined as the grayscale of that region.
[0165] S920: The display screen receives a pull-down operation from the user at the top of the display screen.
[0166] The S930 application processor uses a pull-down operation to control the display screen to show the system user interface through the application layer.
[0167] S940: The display screen receives brightness setting operations from the user in the system user interface.
[0168] S950: The application processor determines the second brightness based on the brightness setting operation, obtains the second compensation parameter corresponding to the second brightness from multiple pre-stored compensation parameters, and sends the second compensation parameter to DDIC.
[0169] The S960 and DDIC drive the display screen to display the target image at a second brightness through the kernel layer. When the display screen is driven to display the target image at the second brightness, display compensation is performed on each area based on the second compensation parameter and the grayscale of each area of each display screen.
[0170] In this embodiment, the method for determining the grayscale of each region can be referred to the description in S910, and will not be repeated here. It should be noted that if the target image being displayed changes, the grayscale corresponding to each region may change, so it needs to be re-determined.
[0171] The compensation parameters indicate the grayscale compensation method corresponding to each grayscale level. For different brightness levels, the compensation parameters used by DDIC for display compensation may differ. Furthermore, for different compensation parameters, the grayscale compensation method may differ for the same grayscale level corresponding to different display brightness levels. This reduces ghosting and improves display quality.
[0172] It should be noted that the module names involved in the embodiments of this application can all be defined as other names, as long as they can achieve the function of each module, and no specific restrictions are placed on the module names.
[0173] In this embodiment, generally speaking, the display brightness corresponding to different display areas of the screen is the same, but the grayscale of the image played in different areas may be different. Therefore, the grayscale compensation method for different areas may be different. Since the display brightness corresponding to different display areas is the same, when display compensation is required, the compensation parameter at a certain display brightness can be obtained.
[0174] For example, if the display needs to display at a first display brightness, then the first compensation parameter is used; if the display needs to display at a second display brightness, then the second compensation parameter is used.
[0175] Please refer to Table 4, which is a schematic table of grayscale compensation methods corresponding to different preset grayscale levels under different display brightness provided in the embodiments of this application.
[0176] Table 4
[0177]
[0178] In one possible implementation, the first display brightness corresponds to a first compensation parameter. The first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level under the first display brightness. The grayscale compensation method is either an increase grayscale method or a decrease grayscale method. The increase grayscale method corresponding to the first grayscale level under the first display brightness is determined based on the first compensation parameter. Between the first and second moments, the method further includes: in response to the operation of adjusting the first display brightness to a second display brightness, obtaining a second compensation parameter corresponding to the second display brightness. The second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level under the second display brightness; and replacing the first compensation parameter with the second compensation parameter. Therefore, when performing display compensation on the first display area using a decrease grayscale method, the display compensation on the first display area can be performed based on the second compensation parameter.
[0179] In this embodiment, for example, starting from 2 nits, as the display brightness increases, the grayscale compensation method for each grayscale level remains consistent with that at 2 nits, until it begins to change at 75 nits. From 75 nits onwards, as the display brightness continues to increase, the grayscale compensation method for each grayscale level remains consistent with that at 75 nits, until it changes at 150 nits. Within the range of 150 nits to 800 nits, the grayscale compensation method for each grayscale level remains consistent with that at 75 nits.
[0180] For example, if the first display brightness is 700 nits, then the first compensation parameter corresponding to this first display brightness indicates that 16 gray levels correspond to a gray-scale reduction mode, and 64 gray levels, 128 gray levels, and 192 gray levels correspond to a gray-scale increase mode. If the first display brightness is 100 nits, then the first compensation parameter indicates that 16 gray levels and 64 gray levels correspond to a gray-scale reduction mode, and 128 gray levels and 192 gray levels correspond to a gray-scale increase mode.
[0181] The second compensation parameter and the compensation parameters corresponding to each display brightness are similar, and will not be elaborated here.
[0182] In one possible implementation, the first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level associated with at least one RGB color mode at the first display brightness; and / or, the second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level associated with at least one RGB color mode at the second display brightness. Wherein, the at least one RGB color mode includes at least one of the red (R) color mode, the green (G) color mode, and the blue (B) color mode.
[0183] It should be noted that in some examples, the grayscale compensation for aging of the display unit may have different degrees of impact on different color modes. In other words, the grayscale compensation for aging of the display unit may be affected to different degrees by the red (R) color mode, green (G) color mode, and blue (B) color mode. Therefore, based on the compensation parameters corresponding to each display brightness, the grayscale compensation method corresponding to the grayscale of each color mode at each display brightness can be determined, and then based on the grayscale compensation method corresponding to the grayscale of each color mode, the grayscale compensation method corresponding to each grayscale at each display brightness can be determined.
[0184] For example, the first compensation parameter can indicate that under the first brightness, the first gray level associated with the red R color mode is an increase gray level mode, the first gray level associated with the green G color mode is a decrease gray level mode, and the first gray level associated with the blue B color mode is an increase gray level mode. Since the increase gray level mode corresponding to the first gray level is more than the decrease gray level mode, under the first brightness, the first gray level corresponds to the increase gray level mode.
[0185] It should be understood that the extent to which the grayscale compensation of the display unit is affected by the red (R) color mode, green (G) color mode, and blue (B) color mode depends on the actual situation and will not be specifically limited here.
[0186] In one possible implementation, at least one RGB color mode is the Green G color mode.
[0187] Optionally, refer to the illustrations in Tables 1 and 3. In one possible implementation, the electronic device includes a display driver chip for driving the display. Before replacing the first compensation parameter with the second compensation parameter, the method includes: sending the second compensation parameter to the DDIC storage of the display driver chip. Then, when replacing the first compensation parameter with the second compensation parameter, the first compensation parameter stored in the DDIC of the display driver chip can be replaced with the second compensation parameter.
[0188] For example, the DDIC stores one set of Gray Gain for programming, and the application processor determines the different ranges by issuing corresponding Gray Gain codes for the remaining sets of Gray Gain. For instance, if the DDIC stores the first set of Gray Gain for programming, and the phone switches to 10 nits, the system will issue the third set of Gray Gain codes to overwrite the first set, thus performing correct compensation.
[0189] In another possible implementation, the switching frequency of compensation parameters can be reduced by increasing the storage space of DDIC, thereby reducing the timing occupied by the switching time and improving the efficiency of display compensation.
[0190] In one possible implementation, the second compensation parameter is sent to the display driver chip DDIC for storage, including: sending the second compensation parameter to the display driver chip DDIC for storage at the front shoulder VFP of the vertical synchronization signal, so that the second compensation parameter takes effect before the arrival of the vertical synchronization period VS.
[0191] In this embodiment, when the DDIC drives the display screen to display, it needs to send display signals, which may include a tearing effect synchronization (TE-SYNC) signal, a vertical back porch (VBP) signal, a vertical front porch (VFP) signal, and a vertical sync (Vsync) period (VS) signal. Generally, in one or more timing sequences, the vertical sync front porch (VFP), the vertical sync period (VS), and the vertical sync back porch (VBP) are sent sequentially.
[0192] The AP code is then distributed by packaging DBV and Gray Gain together and completing the distribution in the VFP area, i.e., before Vsync arrives, while sync TE also takes effect.
[0193] In one possible implementation, the second compensation parameter is sent to the display driver chip DDIC for storage at the front shoulder (VFP) of the vertical synchronization signal, including: the second compensation parameter and the second display brightness are packaged and sent to the display driver chip DDIC for storage at the front shoulder (VFP) of the vertical synchronization signal.
[0194] In this embodiment, the second compensation parameter and the second display brightness are packaged and sent to the display driver chip DDIC for storage at the front shoulder VFP of the vertical synchronization signal, so that the second compensation parameter and the second display brightness can take effect before VS, thereby ensuring that the brightness and the second compensation parameter can be switched synchronously, thereby improving the accuracy of display aging compensation.
[0195] It should be noted that the compensation parameters can be updated either when the display brightness changes or when the display brightness exceeds a preset brightness range. For example, when an electronic device needs to display at a first display brightness, display compensation is performed based on the first compensation parameter corresponding to the first preset brightness range to which the first display brightness belongs. If the second display brightness exceeds the first preset brightness range, the compensation parameters are updated to the second compensation parameter corresponding to the second preset brightness range to which the second display brightness belongs, thereby performing display compensation based on the second compensation parameter.
[0196] Please see Figure 10 , Figure 10 This is a timing diagram for distributing compensation parameters, provided as an embodiment of this application. For example... Figure 10 As shown, the AP code is distributed by packaging DBV and Gray Gain together and distributing it before VFP arrives, and the sync TE takes effect simultaneously.
[0197] The following embodiments, in conjunction with the illustrations of the above embodiments, illustrate one of the display aging compensation methods provided in this application.
[0198] Please see Figure 11 , Figure 11 This is a schematic flowchart illustrating a display aging method provided in an embodiment of this application. Figure 11 The method shown can be applied to electronic devices. For example... Figure 11 The methods shown may include:
[0199] S1110, Determine the target display brightness of the electronic device and the grayscale of each display area.
[0200] In this embodiment, the determination of the target display brightness can be referred to the brightness setting operation in the above embodiments, and will not be repeated here. For example, in response to the user's brightness setting operation of adjusting to the first display brightness, the target display brightness is the first display brightness. The grayscale of each display area can be referred to the description in S910, and will not be repeated here.
[0201] S1120. For each display area, based on the target display brightness and the gray level of the display area, the display area is compensated using a gray level compensation method corresponding to the gray level of the display area. The gray level compensation method is either to increase the gray level or to decrease the gray level.
[0202] In this embodiment, DDIC can perform display compensation based on compensation parameters. The method for performing display compensation based on compensation parameters can be found in Table 4, and will not be elaborated upon here.
[0203] In this embodiment, at least one grayscale level uses a different grayscale compensation method for different display brightness levels. The grayscale level of the display area can refer to the grayscale level corresponding to the original image data displayed in that area. In this embodiment, display aging compensation can be performed separately for each display area.
[0204] In this embodiment, for the same gray level under different display brightness of the electronic device, different gray level compensation methods may be used to compensate for the display aging of the electronic device. Based on the direction of aging attenuation of each gray level under different brightness, a matching gray level compensation method is used for display compensation.
[0205] In one possible implementation, adjustment can be based on a predefined mapping relationship between display brightness, grayscale, and grayscale compensation.
[0206] In one possible implementation, based on the target display brightness and the grayscale of the display area, display compensation is performed on the display area using a grayscale compensation method corresponding to the grayscale of the display area, including:
[0207] Based on the target compensation parameters corresponding to the target display brightness and the grayscale of the display area, the display area is compensated by using the grayscale compensation method corresponding to the grayscale of the display area.
[0208] Among them, the target compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale under the target display brightness.
[0209] In this embodiment, the compensation method described in the above embodiments can be referred to, and will not be repeated here.
[0210] In one possible implementation, the aging compensation method further includes:
[0211] Determine the target brightness range to which the target display brightness belongs. The target brightness range is one of multiple preset brightness ranges. Each preset brightness range has a corresponding compensation parameter. For each preset brightness range, the compensation parameter corresponding to the preset brightness range indicates the grayscale compensation method corresponding to each preset grayscale in the preset brightness range.
[0212] The compensation parameter corresponding to the target brightness range to which the target display brightness belongs is determined as the target compensation parameter corresponding to the target display brightness.
[0213] For example, multiple preset brightness ranges may include 150~800 nits, 75~149 nits, and 2~74 nits, etc. The compensation parameters corresponding to each preset brightness range can be referred to Table 4, and will not be repeated here.
[0214] Based on any of the above embodiments, the following embodiments of this application can implement aging compensation for the following scenarios. The scenario provided in this embodiment can be an aging compensation method for one display area of an electronic device when the grayscale is the same but the brightness is different.
[0215] For example, scenario one could be: when areas of the same gray level are displayed at different brightness levels, the first display brightness needs to compensate for the display of the area of the first gray level by increasing the gray level, while the second display brightness needs to compensate for the display of the area of the first gray level by decreasing the gray level.
[0216] At the first moment, the display brightness of the electronic device is the first display brightness, and the grayscale of the first display area of the electronic device is the first grayscale. The display compensation of the first display area is performed by increasing the grayscale.
[0217] The first display brightness can be the default initial display brightness, the display brightness determined in response to the user's brightness setting, or the display brightness determined by the electronic device based on its current display brightness and the ambient brightness of the environment in which the electronic device is located; no limitation is made here. In this embodiment, the first grayscale can be a grayscale that needs to be increased under the first display brightness but decreased under the second display brightness.
[0218] At the second moment, the display brightness of the electronic device is the second display brightness, and the grayscale of the first display area of the electronic device is the first grayscale. The display compensation of the first display area is performed by reducing the grayscale.
[0219] The first and second moments can be different moments. Optionally, the order of the first and second moments is not limited. The magnitude of the first and second display brightness is not specifically limited and is related to the characteristics of the display screen.
[0220] In this embodiment, for the same grayscale level under different display brightness levels of the electronic device, different grayscale compensation methods may be used to compensate for display aging. The second display brightness may be the display brightness determined in response to the user's brightness setting operation, or it may be determined by the electronic device based on its current display brightness and the current ambient brightness of the environment in which the electronic device is located.
[0221] For example, when a user is in a relatively dark environment, the electronic device can automatically adjust to a first display brightness, or the user can manually adjust the display brightness of the electronic device to the first display brightness. When a user moves from a relatively dark environment to a relatively bright environment, the electronic device can automatically adjust to a second display brightness, or the user can manually adjust the display brightness of the electronic device to the second display brightness.
[0222] In the embodiments of this application, the description of how to switch from the first brightness to the second brightness, how to determine the grayscale of the first display area, and how to perform display compensation on the first display area can be referred to the description of the above embodiments, and will not be repeated here.
[0223] Optionally, the switch from the first brightness level to the second brightness level can also be an adaptive adjustment based on the content being played. For example, when an electronic device is playing a video, if it displays a nighttime scene with low visibility, it can automatically use the first brightness level; if it displays a daytime scene, it can adjust to the second brightness level.
[0224] Alternatively, grayscale can be determined by a processor other than the application processor and DDIC, which then notifies the application processor and DDIC. For example, when transmitting screen data to be displayed, grayscale indication information for each area can be transmitted synchronously. For instance, scenario two could be: when areas of the same grayscale are displayed at different brightness levels, the first display brightness needs to compensate for the second grayscale area by decreasing the grayscale level, while the second display brightness needs to compensate for the second grayscale area by increasing the grayscale level.
[0225] At the third moment, the display brightness of the electronic device is the first display brightness, and the grayscale of the second display area of the electronic device is the second grayscale. Display compensation for the second display area is performed by reducing the grayscale level. At the fourth moment, the display brightness of the electronic device is the second display brightness, and the grayscale of the second display area of the electronic device is the second grayscale. Display compensation for the second display area is performed by increasing the grayscale level.
[0226] In this embodiment, at the third moment, the electronic device displays at the first display brightness. If the grayscale of the second display area of the electronic device is the second grayscale, and the second grayscale should be compensated for by reducing the grayscale at the first display brightness, then the electronic device can compensate for the second display area by reducing the grayscale at the first display brightness. When the electronic device needs to adjust the display brightness from the first display brightness to the second display brightness—in other words, at the fourth moment, the electronic device needs to display at the second display brightness—and the second grayscale should be compensated for by increasing the grayscale at the second display brightness, then the electronic device can compensate for the second display area by increasing the grayscale at the second display brightness.
[0227] In the embodiments of this application, the description of how to switch from the first brightness to the second brightness, how to determine the grayscale of the second display area, and how to perform display compensation on the second display area can be referred to the description of the above embodiments, and will not be repeated here.
[0228] For example, scenario three could be: when areas of the same grayscale are displayed at different brightness levels, display compensation is performed by reducing the grayscale level under different display brightness levels.
[0229] At the fifth moment, the display brightness of the electronic device is the first display brightness, and the grayscale of the third display area of the electronic device is the third grayscale. A grayscale reduction method is used to compensate for the display in the third display area. At the sixth moment, the display brightness of the electronic device is the second display brightness, and the grayscale of the third display area of the electronic device is the third grayscale. A grayscale reduction method is used to compensate for the display in the third display area.
[0230] In this embodiment, at the fifth moment, when the electronic device needs to display at the first display brightness, if the grayscale of the third display area of the electronic device is the third grayscale, and the third grayscale needs to be compensated by reducing the grayscale at the first display brightness, then the electronic device can compensate for the display of the third display area by reducing the grayscale at the first display brightness. When the electronic device needs to display at the second display brightness, if the third grayscale still needs to be compensated by reducing the grayscale at the second display brightness, then at the sixth moment, the electronic device can compensate for the display of the third display area by reducing the grayscale at the second display brightness.
[0231] In the embodiments of this application, the description of how to switch from the first brightness to the second brightness, how to determine the grayscale of the third display area, and how to perform display compensation on the third display area can be referred to the description of the above embodiments, and will not be repeated here.
[0232] For example, scenario four could be: when areas of the same grayscale are displayed at different brightness levels, display compensation is performed by increasing the grayscale level under different display brightness levels.
[0233] At the seventh moment, the display brightness of the electronic device is the first display brightness, and the grayscale of the fourth display area of the electronic device is the fourth grayscale. Display compensation for the fourth display area is performed by increasing the grayscale level. At the eighth moment, the display brightness of the electronic device is the second display brightness, and the grayscale of the fourth display area of the electronic device is the fourth grayscale. Display compensation for the fourth display area is performed by increasing the grayscale level.
[0234] In this embodiment, at the seventh moment, the electronic device displays at a first display brightness. If the grayscale of the fourth display area is the fourth grayscale, and the fourth grayscale needs to be adjusted by increasing the grayscale at the first display brightness, then the electronic device can perform display aging compensation for the fourth display area by increasing the grayscale at the first display brightness. When the electronic device needs to display at a second display brightness, that is, at the eighth moment, the display brightness of the electronic device is the second display brightness, and the fourth grayscale also needs to be compensated by increasing the grayscale at the second display brightness, then the electronic device can perform display aging compensation for the fourth display area by increasing the grayscale at the second display brightness.
[0235] In the embodiments of this application, the description of how to switch from the first brightness to the second brightness, how to determine the grayscale of the fourth display area, and how to perform display compensation on the fourth display area can be referred to the description of the above embodiments, and will not be repeated here.
[0236] It should be noted that the first display area, the second display area, the third display area, and the fourth display area can be the same or different display areas. Optionally, the first display area, the second display area, the third display area, and the fourth display area are areas with severe aging. Severe aging can mean that the aging degree of these areas is greater than that of their adjacent areas.
[0237] In one possible implementation, the DDIC can also store compensation parameters corresponding to different display brightness levels. When the display brightness of an electronic device needs to be switched, the DDIC can obtain the parameters that need to be compensated based on its stored compensation parameters. This can reduce the delay in the compensation parameters taking effect caused by data transmission between different periods and improve the timeliness of display compensation.
[0238] Alternatively, each time the application processor sends compensation parameters to the DDIC, the DDIC can store new compensation parameters and perform display compensation based on the stored parameters. If a compensation parameter for a certain brightness is not available, the DDIC can request the parameter from the application processor. In this way, as the electronic device displays at different brightness levels, the DDIC can obtain the compensation parameters corresponding to each brightness level, and thus use its stored compensation parameters for display compensation at different brightness levels.
[0239] It should be noted that compensation parameters can also be obtained from other processors, and are not limited here.
[0240] Optionally, during display compensation, at least one of the red (R) pixels, green (G) pixels, and blue (B) pixels within the area can be compensated, depending on the actual situation. Optionally, compensation can be performed based on the grayscale compensation method corresponding to at least one RGB color mode indicated by the compensation parameter. For example, if the compensation parameter indicates a grayscale compensation method corresponding to the G color mode, then the G pixel is compensated based on the grayscale compensation method corresponding to the G color mode. If the compensation parameter indicates a grayscale compensation method corresponding to the RGB color mode, then the R pixel is compensated based on the grayscale compensation method corresponding to the R color mode, the G pixel is compensated based on the grayscale compensation method corresponding to the G color mode, and the B pixel is compensated based on the grayscale compensation method corresponding to the B color mode.
[0241] In one possible implementation, the application processor may also send the compensation parameters to the DDIC before or after the vertical sync signal's front shoulder (VFP). Furthermore, the second compensation parameter and the second display brightness may also be sent to the DDIC separately for storage; this is not limited to this.
[0242] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0243] The display aging compensation method according to the embodiments of this application has been described above. The apparatus for performing the above method provided in the embodiments of this application is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced by each other, and the related apparatus provided in the embodiments of this application can perform the steps in the above display aging compensation method.
[0244] The display aging compensation method provided in this application can be applied to electronic devices with communication functions. Electronic devices include terminal devices, and the specific device form of the terminal device can be referred to the above-mentioned descriptions, which will not be repeated here.
[0245] This application provides a terminal device, which includes a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the terminal device to perform the above-described method.
[0246] This application provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0247] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the methods described above. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0248] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, Digital Versatile Discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0249] This application provides a computer program product, which includes a computer program that, when run, causes a computer to perform the above-described method.
[0250] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0251] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. An image display method, characterized in that, Applied to electronic devices, the method includes: At the first moment, the grayscale value of the first image in the first region of the first target image is increased to obtain the second target image. At the first moment, the display brightness of the screen of the electronic device is the first brightness. Before increasing the grayscale value of the first image, the grayscale of the first image is the first grayscale. The electronic device displays the second target image when the display brightness of the screen is the first brightness; At a second moment after displaying the second target image, the display brightness of the electronic device is set to a second brightness, and the grayscale value of the first image in the first region of the first target image is reduced to obtain a third target image. Before reducing the grayscale value of the first image, the grayscale of the first image is the first grayscale. The second moment is after the first moment. The electronic device displays the third target image when the display brightness of the screen is the second brightness.
2. The method according to claim 1, characterized in that, The first brightness corresponds to a first compensation parameter, which indicates the grayscale compensation method corresponding to each preset grayscale at the first brightness. The grayscale compensation method is either an increase grayscale method or a decrease grayscale method. The increase grayscale method corresponding to the first grayscale at the first brightness is determined based on the first compensation parameter. Between the first time and the second time, the following is also included: In response to the operation of setting the display brightness of the electronic device to a second brightness, a second compensation parameter corresponding to the second brightness is obtained, wherein the second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale under the second brightness; Replace the first compensation parameter with the second compensation parameter; The step of subtracting the grayscale value of the first image in the first region of the first target image includes: Based on the second compensation parameter, the grayscale value of the first image in the first region of the first target image is reduced.
3. The method according to claim 2, characterized in that, The first compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level of at least one RGB color mode under the first brightness; and / or, The second compensation parameter indicates the grayscale compensation method corresponding to each preset grayscale level of at least one RGB color mode under the second brightness. The at least one RGB color mode includes at least one of the red (R) color mode, the green (G) color mode, and the blue (B) color mode.
4. The method according to claim 3, characterized in that, The at least one RGB color mode is the green G color mode.
5. The method according to any one of claims 2-4, characterized in that, The electronic device includes a display driver chip (DDIC) for driving the display, and before replacing the first compensation parameter with the second compensation parameter, it includes: The second compensation parameter is sent to the display driver chip DDIC for storage; The step of replacing the first compensation parameter with the second compensation parameter includes: Replace the first compensation parameter stored in the display driver chip DDIC with the second compensation parameter.
6. The method according to claim 5, characterized in that, The step of sending the second compensation parameter to the display driver chip DDIC storage includes: The second compensation parameter is sent to the display driver chip DDIC for storage at the front shoulder of the vertical synchronization signal VFP, so that the second compensation parameter takes effect before the vertical synchronization cycle VS arrives.
7. The method according to claim 6, characterized in that, The step of sending the second compensation parameter to the display driver chip DDIC for storage at the front shoulder VFP of the vertical synchronization signal includes: The second compensation parameter and the second display brightness are packaged and sent to the display driver chip DDIC for storage at the front shoulder of the vertical synchronization signal VFP.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: At the third moment, the grayscale value of the second image in the second region of the first target image is reduced to obtain the fourth target image. At the third moment, the display brightness of the electronic device is the first brightness. Before reducing the grayscale value of the second image, the grayscale of the second image is the second grayscale. The electronic device displays the fourth target image when the display brightness of the screen is the first brightness. At the fourth moment after displaying the fourth target image, the display brightness of the display screen is set to the second brightness, and the grayscale value of the second image in the second region of the first target image is increased to obtain the fifth target image. Before increasing the grayscale value of the second image, the grayscale of the second image is the second grayscale. The fourth moment is after the first moment. The electronic device displays the fifth target image when the display brightness of the screen is the second brightness.
9. The method according to any one of claims 1-8, characterized in that, The method further includes: At the fifth moment, the grayscale value of the third image in the third region of the first target image is reduced to obtain the sixth target image. At the fifth moment, the display brightness of the electronic device is the first brightness. Before reducing the grayscale value of the third image, the grayscale of the third image is the third grayscale. The electronic device displays the sixth target image when the display brightness of the screen is the first brightness. At the sixth moment after displaying the sixth target image, the display brightness of the display screen is set to the second brightness, and the grayscale value of the third image in the third region of the first target image is increased to obtain the seventh target image. Before increasing the grayscale value of the third image, the grayscale of the third image is the third grayscale. The sixth moment is after the fifth moment. The electronic device displays the seventh target image when the display brightness of the screen is the second brightness.
10. The method according to claim 9, characterized in that, The third gray level is smaller than the first gray level.
11. The method according to any one of claims 1-10, characterized in that, The method further includes: At the seventh moment, the grayscale value of the fourth image in the fourth region of the first target image is increased to obtain the eighth target image. At the seventh moment, the display brightness of the electronic device is the first brightness. Before increasing the grayscale value of the fourth image, the grayscale of the fourth image is the fourth grayscale. The electronic device displays the eighth target image when the display brightness of the screen is the first brightness. At the eighth moment after displaying the eighth target image, the display brightness of the display screen is set to the second brightness, and the grayscale value of the fourth image in the fourth region of the first target image is increased to obtain the ninth target image. Before increasing the grayscale value of the fourth image, the grayscale of the fourth image is the fourth grayscale. The eighth moment is after the seventh moment. The electronic device displays the ninth target image when the display brightness of the screen is the second brightness.
12. The method according to claim 11, characterized in that, The fourth gray level is greater than the first gray level.
13. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the electronic device to perform the method as described in any one of claims 1-12.
14. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-12.
15. A chip system, characterized in that, It includes at least one processor and a communication interface, the communication interface and the at least one processor being interconnected via a line, the at least one processor being configured to run a computer program or instructions to perform the method as described in any one of claims 1-12.