COMPENSATION METHOD AND COMPENSATION APPARATUS FOR DISPLAY PANEL, AND DISPLAY APPARATUS AND STORAGE MEDIUM

A compensation method and compensation apparatus for a display panel, a display device and a storage medium. The method includes: with a first display grayscale of a first display region as a reference display grayscale, acquiring a second display grayscale of a second display region after a user adjusts the second display region; determining, according to the first display grayscale and the second display grayscale, a difference coefficient between the second display region and the first display region under a current use duration of the display panel; determining, according to the difference coefficient and a pre-stored display compensation curve of the second display region, a compensation start duration of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

TECHNICAL FIELD

Embodiments of the present application relate to the field of display technology, for example, a compensation method and compensation apparatus for a display panel, a display device and a storage medium.

BACKGROUND

With the development of display technology, the requirements for the screen-to-body ratio of a display panel become increasingly higher, and full-screen display panel thus comes into being. The full-screen display panel generally includes a first display region and a second display region. The second display region has higher transmittance, and optical sensors such as cameras are disposed in the second display region.

The brightness difference between the first display region and the second display region of the full-screen display panel in the related art enlarges with the increase in the use time of the full-screen display panel, which affects the display effect.

SUMMARY

The present application provides a compensation method and compensation apparatus for a display panel, a display device and a storage medium to achieve better compensation for the brightness difference between a first display region and a second display region and improve the display effect.

In a first aspect, the embodiments of the present application provide a compensation method for a display panel. The compensation method is applied to display panels. The display panel includes a first display region and a second display region, and the transmittance of the second display region is different from the transmittance of the first display region.

The method includes the steps described below.

With a first display grayscale of the first display region as a reference display grayscale, a second display grayscale of the second display region after a user adjusts the second display region is acquired.

A difference coefficient between the second display region and the first display region under a current use duration of the display panel is determined according to the first display grayscale and the second display grayscale.

A compensation start duration of the second display region is determined according to the difference coefficient and a pre-stored display compensation curve of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

The second display region is compensated from a current time according to a use duration of the display panel, the compensation start duration and the display compensation curve.

In a second aspect, the embodiments of the present application further provide a compensation apparatus for a display panel. The display panel includes a first display region and a second display region, and the transmittance of the second display region is different from the transmittance of the first display region.

The compensation apparatus for a display panel includes a grayscale acquisition module, a difference coefficient determination module, a compensation start duration determination module, and a compensation module.

The grayscale acquisition module is configured to, with a first display grayscale of the first display region as a reference display grayscale, acquire a second display grayscale of the second display region after a user adjusts the second display region.

The difference coefficient determination module is configured to determine, according to the first display grayscale and the second display grayscale, a difference coefficient between the second display region and the first display region under a current use duration of the display panel.

The compensation start duration determination module is configured to determine, according to the difference coefficient and a pre-stored display compensation curve of the second display region, a compensation start duration of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

The compensation module is configured to compensate, according to the use duration of the second display region, the compensation start duration and the display compensation curve, the second display region from a current time.

In a third aspect, the embodiments of the present application further provide a display device. This display device includes a display panel and the compensation apparatus for a display panel described in any embodiment of the present application.

The display device further includes an optical sensor. The optical sensor is correspondingly disposed on a non-light emitting side of a second display region of the display panel.

In a fourth aspect, the embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium is configured to store a computer program, and the computer program is used for, when executed by a processor, implementing the compensation method for a display panel described in any embodiment of the present application.

DETAILED DESCRIPTION

The present application is described below in detail in conjunction with the drawings and embodiments.

The brightness difference between the first display region and the second display region of the full-screen display panel in the related art enlarges with the increase in the use time of the full-screen display panel, which affects the display effect. The reason for the above-mentioned problem is that the aging degree of the first display region is different from the aging degree of the second display region with the increase in the use time of the display panel, thus enlarging the brightness difference between the first display region and the second display region with the increase in the use time, and since different display panels have different brightness differences between the first display region and the second display region, some compensation methods fail to better compensate for the brightness difference between the first display region and the second display region.

An embodiment of the present application provides a compensation method for a display panel. The compensation method is applied to display panels.FIG.1is a view of a display panel according to an embodiment of the present application. With reference toFIG.1, the display panel includes a first display region11and a second display region12, and the transmittance of the second display region12is different from the transmittance of the first display region11.

FIG.2is a flowchart of a compensation method for a display panel according to an embodiment of the present application. With reference toFIG.2, the compensation method includes S110to S140described below.

In S110, with a first display grayscale of the first display region as a reference display grayscale, a second display grayscale of the second display region after a user adjusts the second display region is acquired.

When the user is not satisfied with the display effect of the second display region during the use of the display panel, the user can manually adjust the display brightness and/or chrominance of the second display region. A brightness adjustment bar and a chrominance adjustment bar of the second display region are arranged in the display panel. The user can drag the brightness adjustment bar and the chrominance adjustment bar of the second display region to perform display adjustment on the second display region until the user is satisfied with the display effect of the second display region or the display effect of the second display region is consistent with the display effect of the first display region. The second display grayscale is the actual display grayscale of the second display region when the user stops the adjustment.

In addition, when a certain first display grayscale is displayed in the first display region of the display panel, the user can perform display adjustment on the display effect of the second display region, or when multiple different first display grayscales are displayed in the first display region respectively, the user can also perform display adjustment on the display effect of the second display region. For example, the user can adjust the display effect of the second display region with a certain high grayscale (for example, 245 grayscale) displayed in the first display region as a reference display grayscale, or the user can also adjust the display effect of the second display region with a certain low grayscale (for example, 80 grayscale) displayed in the first display region as a reference display grayscale. For example, when the first one of the first display grayscales is displayed in the first display region, the user can perform display adjustment on the second display region to obtain one set of a first display grayscale and a second display grayscale; when the second one of the first display grayscales is displayed in the first display region, the user can perform display adjustment on the second display region to obtain a second display grayscale corresponding to the second one of the first display grayscales; and so on, to complete display adjustment based on multiple different first display grayscales.

In S120, a difference coefficient between the second display region and the first display region under a current use duration of the display panel is determined according to the first display grayscale and the second display grayscale.

For example, the use duration is the cumulative duration when a manufactured display panel is on since the display panel is turned on for the first time. The current use duration is the cumulative duration when the display panel is on at the current time. The difference coefficient reflects the display difference between the first display region and the second display region at the current time. When the user performs display adjustment on the display effect of the second display region when multiple different first display grayscales are displayed in the first display region respectively, the second display grayscale corresponding to a respective one of the multiple different first display grayscales is obtained when the adjustment is completed, and multiple difference coefficients can be obtained according to the multiple different first display grayscales and the second display grayscale corresponding to a respective one of multiple different first display grayscales, respectively.

In S130, a compensation start duration of the second display region is determined according to the difference coefficient and a pre-stored display compensation curve of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

In S140, the second display region is compensated from a current time according to a use duration of the display panel, the compensation start duration and the display compensation curve.

For example,FIG.3is a graph of a display compensation curve according to an embodiment of the present application. With reference toFIG.3, the display compensation curve reflects the change in the difference coefficient between the second display region and the first display region with the increase in the use duration. Another display panel whose type is the same as the type of the display panel is tested to obtain the display compensation curve; or historical display data of another display panel whose type is the same as the type of the display panel may also be collected to obtain the display compensation curve according to the collected historical display data.

When the compensation start duration of the second display region is determined according to the difference coefficient and the pre-stored display compensation curve of the second display region, a use duration corresponding to the difference coefficient is looked for on the display compensation curve, and the use duration is determined to be the compensation start duration.

When the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve, the use duration of the second display region may be corrected according to the compensation start duration to obtain an actual equivalent use duration, a corresponding difference coefficient is looked for on the display compensation curve according to the actual equivalent use duration, and the second display region is compensated according to the corresponding difference coefficient. For example, a first difference value between the use duration of the display panel (a cumulative use duration of the display panel at any compensation time after the current time) and a current use duration corresponding to the current time may be calculated, the first difference value is summed with the compensation start duration to obtain an actual equivalent use duration, a difference coefficient corresponding to the actual equivalent use duration is looked for on the display compensation curve, and an actual display grayscale of the second display region is determined according to the difference coefficient corresponding to the actual equivalent use duration and a to-be-displayed grayscale of the second display region, where the difference value between the actual display grayscale of the second display region and the to-be-displayed grayscale is a compensation value of the second display region. Alternatively, a second difference value between the compensation start duration and a current use duration is determined, the use duration of the display panel is summed with the second difference value to obtain an actual equivalent use duration, a difference coefficient corresponding to the actual equivalent use duration is looked for on the display compensation curve, and an actual display grayscale of the second display region is determined according to the difference coefficient corresponding to the actual equivalent use duration and a to-be-displayed grayscale of the second display region.

When the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve, the use duration of the display panel may also be reset to zero from the current time, the use duration of the display panel starts to be re-timed, a location corresponding to the compensation start duration is determined to be a start compensation zero point, a corresponding difference coefficient is looked for on the display compensation curve according to the re-timed use duration each time compensating is performed, and the second display region is compensated according to the difference coefficient.

The display compensation curve may be pre-stored in the display panel when the display panel is manufactured, and the drive chip of the display panel compensates the second display region according to the display compensation curve. Since the aging degrees of the second display regions of different display panels are different with the increase in the use time, the second display region cannot be better compensated based on the display compensation curve with the increase in the use time, thus enlarging the display difference between the first display region and the second display region of the display panel.

In this embodiment, the compensation start duration is determined according to the difference coefficient between the second display region and the first display region at the current use duration and the display compensation curve, and the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve. Since the compensation start duration is determined according to the difference coefficient corresponding to the current use duration, the use duration of the display panel may be corrected using the compensation start duration so that the difference coefficient determined according to the display compensation curve is more consistent with the actual difference between the second display region and the first display region during the compensation, thereby better compensating the second display region, reducing the brightness difference between the first display region and the second display region and improving the display effect.

It is to be noted that a display compensation curve may be pre-stored in the display panel. When the user adjusts the display effect of the second display region only with a certain first display grayscale of the first display region as a reference display grayscale, one set of a first display grayscale and a second display grayscale is obtained, a difference coefficient is thus obtained, and a compensation start duration may be determined according to the difference coefficient and the display compensation curve. When the user adjusts the display effect of the second display region with multiple different first display grayscales of the first display region as reference display grayscales, multiple difference coefficients are obtained according to the different reference display grayscales, and multiple compensation start durations are determined according to the multiple difference coefficients and the display compensation curve. During the display of the display panel, a corresponding compensation start duration is selected according to a to-be-displayed grayscale of the display panel, and the second display region is compensated according to the corresponding compensation start duration and the display compensation curve.

Optionally, the step where the difference coefficient between the second display region and the first display region at the current use duration is determined according to the first display grayscale and the second display grayscale includes: difference coefficient=(second display grayscale−first display grayscale)/first display grayscale.

For example, both the first display grayscale and the second display grayscale may be a white image grayscale, that is, a comprehensive display grayscale of red sub-pixels, green sub-pixels and blue sub-pixels. After the brightness adjustment and chrominance adjustment are completed, the display grayscales of red sub-pixels, green sub-pixels and blue sub-pixels may be converted according to a chrominance formula to obtain a second display grayscale. The corresponding display compensation curve may be a white-grayscale compensation curve.

Both the first display grayscale and the second display grayscale may be monochrome sub-pixel display grayscale. For example, both the first display grayscale and the second display grayscale may be a red sub-pixel display grayscale, both the first display grayscale and the second display grayscale may be a green sub-pixel display grayscale, or both the first display grayscale and the second display grayscale may be a blue sub-pixel display grayscale. Accordingly, the display compensation curve may be a monochrome compensation curve.

Optionally,FIG.4is a flowchart of another compensation method for a display panel according to an embodiment of the present application. With reference toFIG.4, the compensation method for a display panel includes S101to S103and S120to S140described below.

In S101, a brightness adjustment instruction of a user is acquired, and a display brightness of a second display region is adjusted according to the brightness adjustment instruction.

For example, a brightness adjustment bar may be arranged in the display panel. When the user drags the brightness adjustment bar, the display panel obtains a brightness adjustment instruction, and the display brightness of the second display region is adjusted according to a dragging amount. In addition, a brightness adjustment frame may also be arranged in the display panel. The user may input a grayscale value or a brightness value for adjustment, the display panel obtains a brightness adjustment instruction after the input is completed, and the display brightness of the second display region is adjusted according to the grayscale value or the brightness value.

In S102, a chrominance adjustment instruction of the user is acquired, and a display chrominance of the second display region is adjusted according to the chrominance adjustment instruction.

For example, a chrominance adjustment bar may be arranged in the display panel. When the user drags the chrominance adjustment bar, the display panel obtains a chrominance adjustment instruction, and the display chrominance of the second display region is adjusted according to a dragging amount. In addition, a chrominance adjustment frame may also be arranged in the display panel. The user may input a chrominance value or a grayscale value for adjustment, the display panel obtains a chrominance adjustment instruction after the input is completed, and the display chrominance of the second display region is adjusted according to the grayscale value or the chrominance value. It is to be noted that this embodiment only exemplarily illustrates several forms of adjusting chrominance and brightness and is not intended to limit the present application, and other adjustment modes may be adopted in other embodiments. In addition, in this embodiment, the user may choose to only adjust brightness, choose to only adjust chrominance or choose to simultaneously adjust chrominance and brightness according to needs. When the user only adjusts brightness, the display panel may only obtain a brightness adjustment instruction. When the user only adjusts chrominance, the display panel may only obtain a chrominance adjustment instruction. When the user simultaneously adjusts chrominance and brightness, the display panel may obtain both a chrominance adjustment instruction and a brightness adjustment instruction.

In S103, in response to receiving a confirmation instruction from the user or in response to the user no longer inputting the brightness adjustment instruction and the chrominance adjustment instruction, display adjustment is determined to be completed.

For example, when the user is satisfied with the display effects of both the first display region and the second display region, the brightness adjustment and the chrominance adjustment can be stopped. A confirmation button may be arranged on the display panel. The user clicks the confirmation button after the user completes the adjustment, the display panel receives a confirmation instruction, and the display adjustment is completed; or when the user no longer performs the brightness adjustment and the chrominance adjustment within a set time, it is confirmed that the display adjustment is completed.

In S110, with a first display grayscale of the first display region as a reference display grayscale, a second display grayscale of the second display region after the user adjusts the second display region is acquired.

In S120, a difference coefficient between the second display region and the first display region under a current use duration of the display panel is determined according to the first display grayscale and the second display grayscale.

In S130, a compensation start duration of the second display region is determined according to the difference coefficient and a pre-stored display compensation curve of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

In S140, the second display region is compensated from a current time according to a use duration of the display panel, the compensation start duration and the display compensation curve.

In this embodiment, the user can perform display adjustment on the first display region and the second display region at any time according to needs, that is, the compensation start duration can be re-determined at any time, and the display effect of the display panel can be adjusted at any time. The operation process is simple, thereby improving the user experience.

Optionally, the step where the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve includes the following steps.

An actual difference coefficient between the second display region and the first display region corresponding to the use duration is determined according to the compensation start duration and the use duration of the display panel.

An actual display grayscale of the second display region is determined according to the actual difference coefficient and a to-be-displayed grayscale of the second display region.

The second display region is compensated according to the actual display grayscale.

For example, the to-be-displayed grayscale is a grayscale to be displayed in the second display region, and the actual display grayscale is a display grayscale displayed after the second display region is compensated. An actual equivalent use duration may be determined according to the compensation start duration and the use duration of the display panel, and an actual difference coefficient between the second display region and the first display region corresponding to the actual equivalent use duration is determined. In some embodiments, the use duration of the second display region may be corrected according to the compensation start duration to obtain an actual equivalent use duration, a corresponding difference coefficient is looked for on the display compensation curve according to the actual equivalent use duration to determine an actual difference coefficient, and an actual display grayscale of the second display region is calculated according to the actual difference coefficient and a to-be-displayed grayscale of the second display region.

Optionally, the step where the second display region is compensated according to the actual display grayscale includes the following step: a data drive signal or a light emission control signal of the second display region is adjusted according to the actual display grayscale.

For example, the data driving signal is a drive voltage signal written to a sub-pixel through a data line. A data drive signal of a to-be-compensated sub-pixel in the second display region may be directly adjusted according to the actual display grayscale so that the data drive signal of the to-be-compensated sub-pixel in the second display region is equal to a data drive signal of the actual display grayscale. In this manner, the to-be-compensated sub-pixel displays the brightness corresponding to the actual display grayscale, thereby reducing the display difference between the second display region and the first display region.

In addition, the light emission control signal is a signal inputted into a sub-pixel through a light emission control line. The light emission control signal is used for controlling a light emission duration of a sub-pixel. A light emission duration of each frame of a to-be-compensated sub-pixel may be adjusted by adjusting a duty cycle of the light emission control signal to adjust a display brightness of the to-be-compensated sub-pixel. In this manner, the to-be-compensated sub-pixel displays the brightness corresponding to the actual display grayscale, thereby reducing the display difference between the second display region and the first display region.

Optionally, the first display grayscale includes n first sub-display grayscales, n is a positive integer greater than or equal to 2, and a difference value between any two of the n first sub-display grayscales is greater than a set threshold. The step where with the first display grayscale of the first display region as the reference display grayscale, the second display grayscale of the second display region after the user adjusts the second display region is acquired includes the following step: with each first sub-display grayscale of the first display region as the reference display grayscale, a second sub-display grayscale of the second display region after the user adjusts the second display region is acquired, respectively.

The step where the difference coefficient between the second display region and the first display region under the current use duration of the display panel is determined according to the first display grayscale and the second display grayscale includes the following step: for each first sub-display grayscale, a first sub-difference coefficient between the second display region and the first display region corresponding to the first sub-display grayscale under the current use duration of the display panel is determined according to the first sub-display grayscale and the second sub-display grayscale corresponding to the first sub-display grayscale.

The step where the compensation start duration of the second display region is determined according to the difference coefficient and the pre-stored display compensation curve of the second display region includes the following step: for each first sub-display grayscale, a first sub-compensation start duration of the second display region corresponding to the first sub-display grayscale is determined according to the first sub-difference coefficient corresponding to the first sub-display grayscale and the pre-stored display compensation curve of the second display region.

The step where the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve includes the following step: the second display region is compensated from the current time according to a to-be-displayed grayscale, the use duration of the display panel, a first sub-compensation start duration corresponding to the to-be-displayed grayscale and the display compensation curve of the second display region.

For example, with a first first sub-display grayscale of the first display region as the reference display grayscale, a first second sub-display grayscale of the second display region after the user adjusts the second display region may be acquired; with a second first sub-display grayscale of the first display region as the reference display grayscale, a second second sub-display grayscale of the second display region after the user adjusts the second display region may be acquired; and so on until with an nthfirst sub-display grayscale of the first display region as the reference display grayscale, an nthsecond sub-display grayscale of the second display region after the user adjusts the second display region is acquired.

A first one of first sub-difference coefficients between the second display region and the first display region under the current use duration of the display panel is determined according to the first first sub-display grayscale and the first second sub-display grayscale; a second first sub-difference coefficient between the second display region and the first display region under the current use duration of the display panel is determined according to the second first sub-display grayscale and the second second sub-display grayscale; and so on until an nthfirst sub-difference coefficient between the second display region and the first display region under the current use duration of the display panel is determined according to the nthfirst sub-display grayscale and the nthsecond sub-display grayscale.

According to the first first difference coefficient, the second first difference coefficient, . . . , and the nthfirst difference coefficient and the pre-stored display compensation curve, n first sub-compensation start durations of the second display region are determined, respectively.

The first sub-compensation start duration corresponding to the to-be-displayed grayscale is a first sub-compensation start duration corresponding to a first sub-display grayscale that is the closest to the to-be-displayed grayscale. During the compensation, a difference value between the to-be-displayed grayscale and each first sub-display grayscale may be calculated to determine the first sub-display grayscale that is the closest to the to-be-displayed grayscale and thus determine the first sub-compensation start duration corresponding to the to-be-displayed grayscale. In addition, one grayscale range corresponding to each first sub-display grayscale may also be set, and during the compensation, a first sub-display grayscale corresponding to the to-be-displayed grayscale may be directly determined according to a grayscale range to which the to-be-displayed grayscale belongs to determine the first sub-compensation start duration corresponding to the to-be-displayed grayscale. After the first sub-compensation start duration corresponding to the to-be-displayed grayscale is determined, the use duration of the display panel is corrected according to the first sub-compensation start duration to obtain an actual equivalent use duration and thus compensate the second display region.

Since the display difference between the first display region and the second display region under different grayscales is different, at least two different first sub-display coefficients are obtained by performing display adjustment on the second display region with multiple different first sub-display grayscales of the first display region as the reference display grayscale. The at least two different first sub-difference coefficients reflect the display difference between the second display region and the first display region when the first display region displays corresponding first sub-display grayscales, respectively.

Only one display compensation curve may be set on the display panel, and a first sub-compensation start duration corresponding to each first sub-difference coefficient may be obtained according to each first sub-difference coefficient and the display compensation curve. A grayscale range in which a first sub-display grayscale corresponding to each first sub-compensation start duration is located is compensated according to the each first sub-compensation start duration. Since each first sub-difference coefficient can accurately reflect the display difference between the first display region and the second display region under a first sub-display grayscale corresponding to the each first sub-difference coefficient, a first sub-compensation start duration obtained through the each first sub-difference coefficient can better reflect an actual equivalent use duration of the second display region under the current use duration. The display difference between the first display region and the second display region within a grayscale range in which the first sub-display grayscale corresponding to the first sub-compensation start duration is located can be better compensated according to the display compensation curve and the actual equivalent use duration determined according to the first sub-compensation start duration and the use duration so than the second display region can be better compensated when different to-be-displayed grayscales are displayed in the second display region, thereby reducing the display difference between the first display region and the second display region and improving the display effect.

Optionally, the first display grayscale includes n first sub-display grayscales, and the step where with the first display grayscale of the first display region as the reference display grayscale, the second display grayscale of the second display region after the user adjusts the second display region is acquired includes the following step: with each first sub-display grayscale the first display region as the reference display grayscale, a second sub-display grayscale of the second display region after the user adjusts the second display region is acquired, respectively.

The step where the difference coefficient between the second display region and the first display region under the current use duration of the display panel is determined according to the first display grayscale and the second display grayscale includes the following step: for each first sub-display grayscale, a first sub-difference coefficient between the second display region and the first display region corresponding to the each first sub-display grayscale under the current use duration of the display panel is determined according to the first sub-display grayscale and the second sub-display grayscale corresponding to the first sub-display grayscale.

The step where the compensation start duration of the second display region is determined according to the difference coefficient and the pre-stored display compensation curve of the second display region includes the following step: the display panel includes m different display compensation curves, where one display compensation curve corresponds to at least one of the n first sub-display grayscales, and m is a positive integer less than or equal to n; for each first sub-display grayscale, a second sub-compensation start duration of the second display region corresponding to the first sub-display grayscale is determined according to the first sub-difference coefficient corresponding to the first sub-display grayscale and a display compensation curve corresponding to the first sub-display grayscale.

The step where the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve includes the following steps: a second sub-compensation start duration corresponding to a to-be-displayed grayscale of the second display region and a display compensation curve corresponding to the to-be-displayed grayscale are determined, and the second display region is compensated from the current time according to the use duration of the display panel, the to-be-displayed grayscale, the second sub-compensation start duration corresponding to the to-be-displayed grayscale and the display compensation curve corresponding to the to-be-displayed grayscale.

For example, each first sub-display grayscale may be set to correspond to one display compensation curve, and the grayscale range of the each first sub-display grayscale is compensated according to the display compensation curve. Since the aging difference between the second display region and the first display region in different grayscale ranges is different, the second display region can be better compensated by setting one corresponding display compensation curve for each first sub-display grayscale, that is, by setting one corresponding display compensation curve for each grayscale range. A corresponding second sub-compensation start duration is obtained using a first sub-difference coefficient corresponding to each first sub-display grayscale and a display compensation curve corresponding to the each first sub-display grayscale, and each grayscale in the grayscale range corresponding to the each first sub-display grayscale can be better compensated according to the corresponding second sub-compensation start duration and the display compensation curve so that the second display region can be better compensated when different to-be-displayed grayscales are displayed in the second display region, thereby reducing the difference between the first display region and the second display region and improving the display effect.

For example, during the compensation, a grayscale range in which a to-be-displayed grayscale (a grayscale to be displayed) of the second display region is located may be first determined, and a display compensation curve and a second sub-compensation start duration corresponding to the grayscale range may be determined according to the grayscale range. An actual difference coefficient between the second display region and the first display region is determined according to the second sub-compensation start duration corresponding to the grayscale range, the use duration and the display compensation curve corresponding to the grayscale range, and an actual display grayscale after the second display region is compensated may be obtained according to the actual difference coefficient and the to-be-displayed grayscale.

In addition, the aging difference between the first display region and the second display region in different grayscale is different, and the larger the grayscale difference, the more different the aging difference between the first display region and the second display region. For example, the difference coefficient between the first display region and the second display region when a first grayscale is displayed is a, the difference coefficient when a second grayscale is displayed is b, and the greater the difference value between the first grayscale and the second grayscale, the greater the difference value between a and b. In this embodiment, by setting the difference value between any two of n first sub-display grayscales to be greater than a set threshold, the grayscale ranges corresponding to the n first sub-display grayscales can be compensated respectively according to the display compensation curve and n second compensation start durations obtained by performing display adjustment on the second display region with the n first sub-display grayscales as the reference display grayscale, and targeted compensation can be performed on different grayscale ranges so that the difference between the second display region and the first display region can be better compensated, thereby improving the display effect.

Optionally, the display panel includes sub-pixels of at least three different emitted colors, each display compensation curve includes at least three different sub-display compensation curves, a sub-pixel of one emitted color corresponds to one sub-display compensation curve, and sub-pixels of different emitted colors correspond to different sub-display compensation curves. The step where the difference coefficient between the second display region and the first display region under the current use duration of the display panel is determined according to the first display grayscale and the second display grayscale includes the following step: for a sub-pixel of each emitted color, a second sub-difference coefficient between the second display region and the first display region corresponding to the sub-pixel of each emitted color under the current use duration of the display panel is determined according to the first display grayscale and the second display grayscale.

Both the first display grayscale and the second display grayscale may be white grayscales. At this point, grayscales of sub-pixels of each emitted color of the first display region and the second display region are obtained according to the first display grayscale, the second display grayscale and a chrominance formula, and according to the display grayscales of sub-pixels of the same emitted color of the first display region and the second display region, a second sub-difference coefficient of the emitted color is obtained. Both the first display grayscale and the second display grayscale may also be monochrome display grayscales. At this point, a second sub-difference coefficient between the first display region and the second display region corresponding to a sub-pixel pair of the emitted color may be directly obtained according to the first display grayscale and the second display grayscale.

The step where the compensation start duration of the second display region is determined according to the difference coefficient and the pre-stored display compensation curve of the second display region includes the following step: for a sub-pixel of each emitted color, a third sub-compensation start duration corresponding to the sub-pixel of the emitted color is determined according to the second sub-difference coefficient corresponding to the sub-pixel of the emitted color and a sub-display compensation curve corresponding to the sub-pixel of the emitted color.

The step where the second display region is compensated from the current time according to the use duration of the display panel, the compensation start duration and the display compensation curve includes the following step: for a sub-pixel of each emitted color, the sub-pixel of the emitted color of the second display region is compensated from the current time according to the use duration of the display panel, the third sub-compensation start duration corresponding to the sub-pixel of each emitted color and the sub-display compensation curve corresponding to the sub-pixel of each emitted color.

For example, the display panel may include red light-emitting sub-pixels, green light-emitting sub-pixels and blue light-emitting sub-pixels, and the display compensation curve may include a red sub-compensation curve, a green sub-compensation curve and a blue sub-compensation curve.

In this embodiment, a corresponding sub-display compensation curve is stored for a sub-pixel of each emitted color, a third sub-compensation start duration corresponding to the sub-pixel of the emitted color is determined according to a second sub-difference coefficient corresponding to the sub-pixel of the emitted color and the sub-display compensation curve corresponding to the sub-pixel of the emitted color, and for the sub-pixel of the emitted color, the sub-pixel of the emitted color of the second display region is compensated from the current time according to the use duration of the display panel, the third sub-compensation start duration corresponding to the sub-pixel of the emitted color and the sub-display compensation curve corresponding to the sub-pixel of the emitted color. In this manner, targeted compensation is performed on the sub-pixel of the emitted color, thereby reducing the display difference between the first display region and the second display region.

The embodiments of the present application further provide a compensation apparatus for a display panel. The display panel includes a first display region and a second display region, and the transmittance of the second display region is different from the transmittance of the first display region.

FIG.5is a schematic diagram of a compensation apparatus for a display panel according to an embodiment of the present application. With reference toFIG.5, the compensation apparatus for a display panel includes a grayscale acquisition module210, a difference coefficient determination module220, a compensation start duration determination module230, and a compensation module240.

The grayscale acquisition module210is configured to, with a first display grayscale of the first display region as a reference display grayscale, acquire a second display grayscale of the second display region after a user adjusts the second display region.

The difference coefficient determination module220is configured to determine, according to the first display grayscale and the second display grayscale, a difference coefficient between the second display region and the first display region under a current use duration of the display panel.

The compensation start duration determination module230is configured to determine, according to the difference coefficient and a pre-stored display compensation curve of the second display region, a compensation start duration of the second display region, where the display compensation curve is a change curve of a relationship between a use duration of the second display region and a difference coefficient between the second display region and the first display region.

The compensation module20is configured to compensate, according to the use duration of the second display region, the compensation start duration and the display compensation curve, the second display region from a current time.

In an optional embodiment, the first display grayscale includes n first sub-display grayscales, n is a positive integer greater than or equal to 2, and a difference value between any two of the n first sub-display grayscales is greater than a set threshold. The grayscale acquisition module210is configured to, with each first sub-display grayscale of the first display region as the reference display grayscale, acquire a second sub-display grayscale of the second display region after the user adjusts the second display region, respectively. The difference coefficient determination module220is configured to, for each first sub-display grayscale among the n first sub-display grayscales, determine, according to the first sub-display grayscale and the second sub-display grayscale corresponding to the first sub-display grayscale, a first sub-difference coefficient between the second display region and the first display region corresponding to the first sub-display grayscale under the current use duration of the display panel. The compensation start duration determination module230is configured to, for each first sub-display grayscale among the n first sub-display grayscales, determine, according to the first sub-difference coefficient corresponding to the first sub-display grayscale and the pre-stored display compensation curve of the second display region, a first sub-compensation start duration of the second display region corresponding to the first sub-display grayscale. The compensation module240is configured to compensate, according to a to-be-displayed grayscale, the use duration of the display panel, a first sub-compensation start duration corresponding to the to-be-displayed gray scale and the display compensation curve of the second display region, the second display region from the current time.

In an optional embodiment, the first display grayscale includes n first sub-display grayscales, n is a positive integer greater than or equal to 2, and a difference value between any two of the n first sub-display grayscales is greater than a set threshold. The grayscale acquisition module210is configured to, with each first sub-display grayscale among the n first sub-display grayscales of the first display region as the reference display grayscale, acquire a second sub-display grayscale of the second display region after the user adjusts the second display region, respectively. The difference coefficient determination module220is configured to, for each first sub-display grayscale among the n first sub-display grayscales, determine, according to the first sub-display grayscale and the second sub-display grayscale corresponding to the each first sub-display grayscale, a first sub-difference coefficient between the second display region and the first display region corresponding to the each first sub-display grayscale under the current use duration of the display panel. The display panel includes m different display compensation curves, one display compensation curve corresponds to at least one first sub-display grayscale, and m is a positive integer less than or equal to n. The compensation start duration determination module230is configured to, for each first sub-display grayscale, determine, according to the first sub-difference coefficient corresponding to the first sub-display grayscale and a display compensation curve corresponding to the first sub-display grayscale, a second sub-compensation start duration of the second display region corresponding to the first sub-display grayscale. The compensation module240includes a duration and curve determination unit and a first compensation sub-unit. The duration and curve determination unit is configured to determine a second sub-compensation start duration corresponding to a to-be-displayed grayscale of the second display region and a display compensation curve corresponding to the to-be-displayed grayscale. The first compensation sub-unit is configured to compensate, according to the to-be-displayed grayscale, the use duration of the display panel, the second sub-compensation start duration corresponding to the to-be-displayed grayscale and the display compensation curve corresponding to the to-be-displayed grayscale, the second display region from the current time.

In an optional embodiment, the compensation apparatus further includes a brightness adjustment module, a chrominance adjustment module, and an adjustment completion determination module.

The brightness adjustment module is configured to acquire a brightness adjustment instruction of the user and adjust a display brightness of the second display region according to the brightness adjustment instruction.

The chrominance adjustment module is configured to acquire a chrominance adjustment instruction of the user and adjust a display chrominance of the second display region according to the chrominance adjustment instruction.

The adjustment completion determination module is configured to, in response to receiving a confirmation instruction from the user or in response to the user no longer inputting the brightness adjustment instruction and the chrominance adjustment instruction, determine display adjustment to be completed.

In an optional embodiment, the compensation module240includes an actual difference coefficient determination unit, an actual grayscale determination unit, and a second compensation sub-unit.

The actual difference coefficient determination unit is configured to determine, according to the compensation start duration and the use duration of the display panel, an actual difference coefficient between the second display region and the first display region corresponding to the use duration.

The actual grayscale determination unit is configured to determine, according to the actual difference coefficient and a to-be-displayed gray scale of the second display region, an actual display grayscale of the second display region.

The second compensation sub-unit is configured to adjust, according to the actual display grayscale, the second display region.

In an optional embodiment, the second compensation sub-unit is configured to adjust, according to the actual display gray scale, a data drive signal or a light emission control signal of the second display region.

In an optional embodiment, the display panel includes sub-pixels of at least three different emitted colors, each display compensation curve includes at least three different sub-display compensation curves, sub-pixels of one emitted color correspond to one sub-display compensation curve, and sub-pixels of different emitted colors correspond to different sub-display compensation curves.

The difference coefficient determination module220is configured to, for a sub-pixel of each emitted color, determine, according to the first display grayscale and the second display grayscale, a second sub-difference coefficient between the second display region and the first display region corresponding to the sub-pixel of the emitted color under the current use duration of the display panel. The compensation start duration determination module230is configured to, for a sub-pixel of the emitted color, determine, according to the second sub-difference coefficient corresponding to the sub-pixel of the emitted color and a sub-display compensation curve corresponding to the sub-pixel of the emitted color, a third sub-compensation start duration corresponding to the sub-pixel of the emitted color. The compensation module240is configured to, for a sub-pixel of each emitted color, compensate, according to the use duration of the display panel, the third sub-compensation start duration corresponding to the sub-pixel of the emitted color and the sub-display compensation curve corresponding to the sub-pixel of the emitted color, the sub-pixel of the emitted color of the second display region from the current time.

The compensation apparatus for a display panel provided in this embodiment of the present application and the compensation method for a display panel provided in any embodiment of the present application belong to the same inventive concept. For details not described in detail in this embodiment, reference may be made to the compensation method for a display panel provided in any embodiment of the present application.

The embodiments of the present application further provide a display device.FIG.6is a schematic diagram of a display device according to an embodiment of the present application. With reference toFIG.6, the display device100includes a display panel200and a compensation apparatus300for a display panel provided in any embodiment of the present application. The display device further includes an optical sensor. The optical sensor is correspondingly disposed on a non-light emitting side of a second display region of the display panel200. The optical sensor includes a camera. The display device100may be a mobile phone and a tablet computer or another display device.

The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium is configured to store a computer program, and the computer program is used for, when executed by a processor, implementing the compensation method for a display panel provided in any embodiment of the present application.