CN113470581A - Method and device for controlling backlight brightness of display, electronic equipment and storage medium - Google Patents

Method and device for controlling backlight brightness of display, electronic equipment and storage medium Download PDF

Info

Publication number
CN113470581A
CN113470581A CN202110771676.0A CN202110771676A CN113470581A CN 113470581 A CN113470581 A CN 113470581A CN 202110771676 A CN202110771676 A CN 202110771676A CN 113470581 A CN113470581 A CN 113470581A
Authority
CN
China
Prior art keywords
gray scale
brightness
target
refresh rate
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110771676.0A
Other languages
Chinese (zh)
Other versions
CN113470581B (en
Inventor
魏重光
林金楠
杨炜帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing BOE Display Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Display Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Beijing BOE Display Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202110771676.0A priority Critical patent/CN113470581B/en
Publication of CN113470581A publication Critical patent/CN113470581A/en
Application granted granted Critical
Publication of CN113470581B publication Critical patent/CN113470581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0247Flicker reduction other than flicker reduction circuits used for single beam cathode-ray tubes

Abstract

The embodiment of the invention provides a method and a device for controlling backlight brightness of a display, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by a display; determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the corresponding relationship among the pre-established refresh rate, the gray scale and the compensation coefficient; determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display; adjusting the backlight brightness of the display according to the target backlight brightness. The compensation coefficient can identify the backlight brightness which needs to be compensated and corresponds to each gray scale under different refresh rates, so the target backlight brightness determined based on the target compensation coefficient and the backlight brightness of the display can eliminate the brightness difference caused by different refresh rates corresponding to the same gray scale as much as possible, and further the picture flicker feeling caused by the refresh rate switching of the display can be weakened.

Description

Method and device for controlling backlight brightness of display, electronic equipment and storage medium
Technical Field
The present invention relates to the field of display control technologies, and in particular, to a method and an apparatus for controlling backlight brightness of a display, an electronic device, and a storage medium.
Background
With the development of display technology, the demand for display products is higher and higher, and displays capable of supporting high refresh rate become new market demand, for example, displays applied in Gaming field are often required to support higher refresh rate. Since the display has a pause tearing problem under the condition of a fixed refresh rate, that is, the refresh rate of the display is not synchronous with the frame rate of the display card, many displays currently support functions such as Freesync. When the functions are used, the display can dynamically adjust the refresh rate to adapt to the frame rate of the display card, so that the problem of unsmooth tearing of the display card is solved.
Under the condition that the functions such as Freesync and the like are started, in order to synchronize the refresh rate of the display with the frame rate of the display card, for 1 frame of image, the charging time of each row of pixels at the low refresh rate needs to be consistent with the charging time of each row of pixels at the high refresh rate, the remaining non-charging time is V-blanking time, and the V-blanking time at the low refresh rate is longer.
At a low refresh rate, the pixel capacitor voltage needs to be maintained for a longer time, but the TFT (thin-film transistor) unit has a certain leakage current, which causes a dark luminance in gray scale display. At a high refresh rate, the V-blanking time is short, the leakage current of the TFT unit is low, and the brightness of gray scale display is bright. Therefore, compared with the low refresh rate and the high refresh rate, the brightness difference of the same gray scale can be caused, and the picture flicker feeling brought by the refresh rate switching can be visually sensed.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for controlling backlight brightness of a display, an electronic device and a storage medium, so as to reduce a flicker effect of a display caused by switching a refresh rate of the display. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling backlight brightness of a display, where the method includes:
acquiring a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display;
determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established corresponding relationship between the refresh rate and the gray scale and the compensation coefficient, wherein the corresponding relationship is established based on brightness differences corresponding to the gray scales at different refresh rates, and the compensation coefficient is used for identifying backlight brightness needing to be compensated corresponding to the gray scales at different refresh rates;
determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and adjusting the backlight brightness of the display according to the target backlight brightness.
Optionally, the establishment manner of the corresponding relationship includes:
acquiring the maximum brightness and the minimum brightness corresponding to each gray scale of the display, and determining the maximum brightness variation corresponding to each gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
determining the brightness variation under different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate;
and determining compensation coefficients corresponding to the gray scales at different refresh rates based on the maximum brightness corresponding to each gray scale and the brightness variation at different refresh rates to obtain the corresponding relationship among the refresh rate, the gray scale and the compensation coefficients.
Optionally, the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display, and determining the maximum brightness variation corresponding to the gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale includes:
acquiring the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
acquiring the brightness of each gray scale corresponding to the display at the minimum refresh rate as the minimum brightness;
and determining the difference value between the maximum brightness and the minimum brightness corresponding to each gray scale as the maximum brightness variation corresponding to the gray scale.
Optionally, the step of determining the brightness variation at different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate includes:
for each gray scale, determining the non-charging duration at each refresh rate corresponding to the gray scale based on the vertical physical resolution of the display, the maximum refresh rate and the number of vertical pixel rows at the maximum refresh rate;
and determining the brightness variation under different refresh rates corresponding to the gray scale according to the ratio of the non-charging time corresponding to each refresh rate corresponding to the gray scale to the non-charging time under the minimum refresh rate corresponding to the gray scale and the maximum brightness variation.
Optionally, the step of determining, for each gray scale, a compensation coefficient at a different refresh rate corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at the different refresh rate includes:
and calculating the compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure BDA0003153786180000031
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
Optionally, the display has a plurality of backlight brightnesses;
after the step of obtaining the corresponding relationship among the refresh rate, the gray scale and the compensation coefficient, the method further comprises:
adjusting the backlight brightness of the display to be the next backlight brightness, and returning to the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display until the corresponding relation among the refresh rate corresponding to each backlight brightness, the gray scale and the compensation coefficient is obtained;
the step of determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established correspondence between the refresh rate, the gray scale and the compensation coefficient includes:
according to the current backlight brightness of the display, determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance;
and determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
Optionally, the step of determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display includes:
and determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
In a second aspect, an embodiment of the present invention provides an apparatus for controlling backlight brightness of a display, where the apparatus includes:
the information acquisition module is used for acquiring a target refresh rate and a target gray scale corresponding to the next image frame to be displayed by the display;
a compensation coefficient determining module, configured to determine a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale, and a pre-established correspondence relationship between the refresh rate and the gray scale and the compensation coefficient, where the correspondence relationship is established based on brightness differences at different refresh rates corresponding to the respective gray scales, and the compensation coefficient is used to identify backlight brightness to be compensated corresponding to the respective gray scales at different refresh rates;
a backlight brightness determination module for determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and the backlight brightness adjusting module is used for adjusting the backlight brightness of the display according to the target backlight brightness.
Optionally, the apparatus further includes a corresponding relationship establishing module, where the corresponding relationship establishing module includes:
the first variable quantity determining unit is used for acquiring the maximum brightness and the minimum brightness corresponding to each gray scale of the display and determining the maximum brightness variable quantity corresponding to the gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
a second variable determining unit, configured to determine, according to the maximum brightness variable corresponding to each gray scale and the non-charging duration corresponding to each refresh rate, the brightness variable at the different refresh rate corresponding to each gray scale;
and the first corresponding relation establishing unit is used for determining the compensation coefficients corresponding to the gray scales at different refresh rates according to the maximum brightness corresponding to the gray scales and the brightness variation at different refresh rates aiming at each gray scale, so as to obtain the corresponding relation among the refresh rate, the gray scale and the compensation coefficients.
Optionally, the first variation determining unit includes:
the maximum brightness obtaining subunit is used for obtaining the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
the minimum brightness obtaining subunit is used for obtaining the brightness of each corresponding gray scale of the display at the minimum refresh rate as the minimum brightness;
and the first variation determining subunit is used for determining the difference value between the maximum brightness and the minimum brightness corresponding to each gray scale as the maximum brightness variation corresponding to the gray scale.
Optionally, the second variation determining unit includes:
a non-charging duration determining subunit, configured to determine, for each gray scale, a non-charging duration at each refresh rate corresponding to the gray scale based on a vertical physical resolution of the display, a maximum refresh rate, and a number of vertical pixel rows at the maximum refresh rate;
and the second variable quantity determining subunit is used for determining the brightness variable quantity at different refresh rates corresponding to the gray scale according to the ratio of the non-charging time length corresponding to each refresh rate corresponding to the gray scale to the non-charging time length at the minimum refresh rate corresponding to the gray scale and the maximum brightness variable quantity.
Optionally, the first correspondence relationship establishing unit includes:
the corresponding relation establishing subunit is used for calculating compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure BDA0003153786180000051
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
Optionally, the display has a plurality of backlight brightnesses;
the corresponding relation establishing module further comprises:
a second corresponding relation establishing unit, configured to adjust the backlight brightness of the display to be a next backlight brightness after obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient, and return to obtain the maximum brightness and the minimum brightness corresponding to each gray scale of the display until obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient corresponding to each backlight brightness;
the compensation coefficient determination module includes:
the target relation determining unit is used for determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance according to the current backlight brightness of the display;
and the compensation coefficient determining unit is used for determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
Optionally, the backlight brightness determining module includes:
and the backlight brightness determining unit is used for determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the above first aspects.
The embodiment of the invention has the following beneficial effects:
in the scheme provided by the embodiment of the invention, the electronic device can obtain the target refresh rate and the target gray scale corresponding to the next image frame to be displayed by the display, and determine the target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the pre-established corresponding relationship among the refresh rate, the gray scale and the compensation coefficient, wherein the corresponding relationship is established based on the brightness difference under different refresh rates corresponding to the gray scales, the compensation coefficient is used for identifying the backlight brightness needing to be compensated corresponding to the gray scales under different refresh rates, and further, based on the target compensation coefficient and the backlight brightness of the display, the target backlight brightness is determined, and the backlight brightness of the display is adjusted according to the target backlight brightness. Because the corresponding relation among the refresh rate, the gray scale and the compensation coefficient is established in advance based on the brightness difference under different refresh rates corresponding to the gray scales, and the compensation coefficient can identify the backlight brightness needing to be compensated corresponding to the gray scales under different refresh rates, the target backlight brightness determined based on the target compensation coefficient and the backlight brightness of the display can eliminate the brightness difference caused by different refresh rates corresponding to the same gray scale as much as possible, and further can weaken the picture flicker feeling caused by the refresh rate switching of the display.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for controlling backlight brightness of a display according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for establishing a correspondence relationship based on the embodiment shown in FIG. 1;
FIG. 3 is a flowchart illustrating a specific step S201 in the embodiment shown in FIG. 2;
FIG. 4 is a flowchart illustrating a specific step S202 in the embodiment shown in FIG. 2;
FIG. 5 is a flowchart illustrating a specific step S102 in the embodiment shown in FIG. 1;
FIG. 6 is a schematic structural diagram of a device for controlling backlight brightness of a display according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a correspondence relationship establishing module based on the embodiment shown in FIG. 6;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to reduce the flicker of the display due to the refresh rate switching of the display, embodiments of the present invention provide a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for controlling the backlight brightness of the display.
The method for controlling the backlight brightness of the display provided by the embodiment of the present invention may be applied to any electronic device that needs to control the backlight brightness of the display, for example, the electronic device may be a processor and a controller included in the display, or a control device connected to the display, and is not limited specifically herein. For clarity of description, the electronic device is referred to hereinafter.
The display may be a Light Emitting Diode (LED) display, for example, a Mini LED display, a flexible LED display, or the like; the LCD may also be a Liquid Crystal Display (LCD), and is not limited herein.
As shown in fig. 1, a method for controlling the backlight brightness of a display, the method comprising:
s101, acquiring a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display;
s102, determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a corresponding relation among a pre-established refresh rate, a gray scale and a compensation coefficient;
the corresponding relation is established based on the brightness difference of different refreshing rates corresponding to the gray scales, and the compensation coefficient is used for identifying the backlight brightness needing to be compensated corresponding to the gray scales at the different refreshing rates.
S103, determining target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and S104, adjusting the backlight brightness of the display according to the target backlight brightness.
It can be seen that in the solution provided in the embodiment of the present invention, the electronic device may obtain a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display, and determine a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established correspondence between the refresh rate, the gray scale and the compensation coefficient, where the correspondence is established based on a brightness difference at different refresh rates corresponding to the respective gray scales, and the compensation coefficient is used to identify backlight brightness to be compensated corresponding to the respective gray scales at different refresh rates, and further, based on the target compensation coefficient and the backlight brightness of the display, determine a target backlight brightness, and adjust the backlight brightness of the display according to the target backlight brightness. Because the corresponding relation among the refresh rate, the gray scale and the compensation coefficient is established in advance based on the brightness difference under different refresh rates corresponding to the gray scales, and the compensation coefficient can identify the backlight brightness needing to be compensated corresponding to the gray scales under different refresh rates, the target backlight brightness determined based on the target compensation coefficient and the backlight brightness of the display can eliminate the brightness difference caused by different refresh rates corresponding to the same gray scale as much as possible, and further can weaken the picture flicker feeling caused by the refresh rate switching of the display.
Under the condition that the functions of the display, such as Freesync, are started, the display dynamically adjusts the refresh rate to adapt to the frame rate of the display card, so that the target refresh rate corresponding to the next image frame to be displayed by the display may be different from the refresh rate of the current display, and if the backlight brightness of the display is not adjusted, the image flicker phenomenon may be caused.
In order to determine the proper backlight brightness, in step S101, the electronic device may obtain a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display. Wherein, the target gray scale is the gray scale value in the next image frame. The target refresh rate is the refresh rate of the display when the next image frame is displayed.
After obtaining the target refresh rate and the target gray scale, the electronic device may determine the target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale, and the pre-established correspondence relationship between the refresh rate, the gray scale, and the compensation coefficient, that is, execute step S102.
Because the flicker of the screen is caused by the difference of the brightness of the same gray scale displayed by the display at different refresh rates, in order to compensate for the difference, the electronic device may pre-establish the corresponding relationship between the refresh rate and the gray scale and the compensation coefficient based on the brightness difference at the different refresh rates corresponding to the gray scales, and the compensation coefficient may identify the backlight brightness to be compensated corresponding to the gray scales at the different refresh rates.
Therefore, the electronic equipment can search the corresponding relation according to the target refresh rate and the target gray scale, so that the compensation coefficient corresponding to the target refresh rate and the target gray scale is determined and used as the target compensation coefficient. The target compensation coefficient is the compensation coefficient corresponding to the next image frame to be displayed by the display.
In one embodiment, the correspondence between the refresh rate, the gray scale and the compensation coefficient may be recorded by using a lookup table (LUT), for example, the correspondence between the refresh rate, the gray scale and the compensation coefficient established in advance is shown in the following table:
Figure BDA0003153786180000091
then if the target refresh rate and the target gray scale corresponding to the next image frame to be displayed by the display are Fn and G150, respectively, the electronic device may determine that the target compensation coefficient corresponding to the next image frame to be displayed by the display is K according to the table150Fn
Next, in step S103, the electronic device may determine a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display. The backlight brightness of the display is the current backlight brightness of the display.
Since the compensation coefficient may be the backlight brightness required to be compensated corresponding to the next image frame to be displayed by the display, which is determined according to the target refresh rate and the target gray scale, the electronic device may determine an appropriate target backlight brightness based on the target compensation coefficient and the backlight brightness of the display, and further, the electronic device may adjust the backlight brightness of the display according to the target backlight brightness.
In one case, the target refresh rate corresponding to the next image frame to be displayed by the display is different from the current refresh rate, and the calculated target backlight brightness is inevitably different from the current backlight brightness of the display, at this time, the backlight brightness of the display needs to be adjusted to reduce or eliminate the image flicker feeling caused by switching the refresh rate of the display from the current refresh rate to the target refresh rate.
In another case, the target refresh rate corresponding to the next image frame to be displayed by the display is the same as the current refresh rate, and the calculated target backlight brightness is also inevitably the same as the current backlight brightness of the display.
By adopting the scheme provided by the embodiment of the invention to control the backlight brightness of the display, because the corresponding relation among the refresh rate, the gray scale and the compensation coefficient is established in advance based on the brightness difference under different refresh rates corresponding to the gray scales, and the compensation coefficient can identify the backlight brightness needing to be compensated corresponding to the gray scales under different refresh rates, the target backlight brightness determined based on the target compensation coefficient and the backlight brightness of the display can eliminate the brightness difference caused by different refresh rates corresponding to the same gray scale as much as possible, thereby weakening and even eliminating the picture flicker feeling caused by the refresh rate switching of the display.
In particular, for LED displays, for example, Mini LED products, etc., since they need to have HDR (High-Dynamic Range) of 600, 1000, 1400 or even higher, higher backlight luminance is required, and since the backlight luminance enhancement further increases the TFT unit leakage current, the degree of screen flicker is increased during refresh rate switching, and the flicker feeling is more noticeable. By adopting the scheme, the backlight brightness of the LED display is controlled, and the picture flicker feeling caused by refresh rate switching can be effectively weakened or even eliminated.
As an implementation manner of the embodiment of the present invention, as shown in fig. 2, the establishment manner of the correspondence relationship may include:
s201, acquiring the maximum brightness and the minimum brightness corresponding to each gray scale of the display, and determining the maximum brightness variation corresponding to each gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
since the compensation coefficients are used to identify the backlight brightness to be compensated corresponding to each gray scale at different refresh rates, determining the accurate compensation coefficients requires the accurate brightness variation corresponding to each gray scale at different refresh rates. Therefore, the electronic device can acquire the maximum brightness and the minimum brightness corresponding to each gray scale of the display.
In one embodiment, for each gray scale, the electronic device may adjust a refresh rate of the display with a backlight brightness of the display fixed, and record the brightness of the display for each different refresh rate adjustment, thereby determining a maximum brightness and a minimum brightness corresponding to each gray scale. After the maximum brightness and the minimum brightness corresponding to each gray scale of the display are obtained, the electronic device can determine the maximum brightness variation corresponding to each gray scale according to the maximum brightness and the minimum brightness corresponding to each gray scale.
S202, determining the brightness variation under different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate;
since the non-charging time of the TFT unit corresponding to each gray scale is different at different refresh rates, the brightness variation corresponding to each gray scale is also different. The longer the non-charging time period of the TFT unit is, the more obvious the electric leakage is, and the larger the brightness variation is, so that the brightness variation under different refresh rates has a certain linear relation with the non-charging time period of the TFT unit.
Then, the electronic device may determine the brightness variation at the different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate. The brightness variation can identify the brightness variation of the corresponding gray scale when the display is switched from the refresh rate to the refresh rate corresponding to the maximum brightness.
S203, aiming at each gray scale, determining a compensation coefficient corresponding to the gray scale at different refresh rates based on the maximum brightness corresponding to the gray scale and the brightness variation at different refresh rates, and obtaining a corresponding relation among the refresh rate, the gray scale and the compensation coefficient.
After determining the brightness variation at different refresh rates corresponding to each gray scale, for each gray scale, the electronic device may determine the compensation coefficients at different refresh rates corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at different refresh rates.
For a certain gray scale, the difference between the maximum brightness corresponding to the gray scale and the gray scale brightness at a certain refresh rate is the brightness change corresponding to the gray scale when the display is switched from the refresh rate to the refresh rate corresponding to the maximum brightness. The compensation coefficient is used for identifying the backlight brightness which needs to be compensated and corresponds to each gray scale under different refresh rates, namely for identifying the brightness change.
For each gray scale, the brightness variation at different refresh rates may identify the brightness variation of the corresponding gray scale when the display is switched from the refresh rate to the refresh rate corresponding to the maximum brightness, so that the electronic device may determine the compensation coefficient for identifying the backlight brightness required to be compensated at the different refresh rates corresponding to the gray scale based on the maximum brightness corresponding to each gray scale and the brightness variation at the different refresh rates. Thus, the corresponding relationship among the refresh rate, the gray scale, and the compensation coefficient can be obtained.
It can be seen that, in this embodiment, the electronic device may obtain the maximum brightness and the minimum brightness corresponding to each gray scale of the display, determine the maximum brightness variation corresponding to each gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale, determine the brightness variation at different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate, and further determine, for each gray scale, the compensation coefficients at different refresh rates corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at different refresh rates, so as to obtain the corresponding relationship between the refresh rate, the gray scale, and the compensation coefficients. Therefore, the compensation coefficient, the refresh rate and the corresponding relation among the gray scales of the backlight brightness which needs to be compensated and corresponds to each gray scale under different refresh rates can be established, and the accurate target compensation coefficient can be determined based on the corresponding relation when the display displays each image frame.
As an implementation manner of the embodiment of the present invention, as shown in fig. 3, the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display, and determining the maximum brightness variation corresponding to the gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale may include:
s301, acquiring the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
since the higher the refresh rate is, the shorter the non-charging time of the TFT unit is, the less the TFT unit is exposed to electricity, the higher the gray scale luminance is, and therefore, the luminance of each gray scale displayed by the display is the highest at the maximum refresh rate, and therefore, the electronic device may obtain the luminance of each gray scale corresponding to the display at the maximum refresh rate as the maximum luminance.
As an embodiment, when the dynamic refresh rate adjustment function is turned off and the backlight brightness of the display is fixed, the tie point voltage of the display under the standard gamma curve is determined according to the VT curve (voltage-transmittance relationship curve), and then the gray scale acc (accurate Color capture) adjustment is performed according to the tie point voltage, so as to obtain the maximum brightness at the maximum refresh rate corresponding to each gray scale. Wherein, the standard Gamma curve may be Gamma 2.2.
S302, obtaining the brightness of each gray scale corresponding to the display at the minimum refresh rate as the minimum brightness;
similarly, as the lower the refresh rate is, the longer the non-charging time of the TFT unit is, the more obvious the TFT unit leaks electricity, the lower the gray-scale brightness is, and therefore, the brightness of each gray scale displayed by the display is the darkest at the minimum refresh rate, and therefore, the electronic device may obtain the brightness of each gray scale corresponding to the display at the minimum refresh rate as the minimum brightness.
As an embodiment, the electronic device may obtain, when the brightness of the backlight of the display is fixed under the condition that the dynamic refresh rate adjustment function is turned on, the brightness at the minimum refresh rate corresponding to each gray scale as the minimum brightness corresponding to each gray scale.
S303, for each gray scale, determining a difference between the maximum brightness and the minimum brightness corresponding to the gray scale as a maximum brightness variation corresponding to the gray scale.
After determining the maximum brightness and the minimum brightness corresponding to each gray scale, for each gray scale, the electronic device may determine a difference between the maximum brightness and the minimum brightness corresponding to the gray scale as the maximum brightness variation corresponding to the gray scale.
For example, assuming that the minimum refresh rate of the display is 48Hz and the maximum refresh rate is 240Hz, the electronic device may obtain the gray-scale luminance Lx _ Fmin at the refresh rate of 48Hz and the gray-scale luminance Lx _ Fmax at the refresh rate of 240Hz under the condition that the backlight luminance of the display is fixed, and further determine the difference between the corresponding Lx _ Fmax and Lx _ Fmin for each gray scale as the maximum luminance variation Δ Lmax _ x corresponding to the gray scale. For example, for the gray level G57, the electronic device can determine the difference between L57 _ Fmax and L57 _ Fmin as the maximum luminance variation Δ Lmax _57 corresponding to the gray level.
As can be seen, in this embodiment, the electronic device may obtain, as the maximum brightness, the brightness of each gray scale corresponding to the display at the maximum refresh rate, obtain, as the minimum brightness, the brightness of each gray scale corresponding to the display at the minimum refresh rate, and further determine, for each gray scale, a difference between the maximum brightness and the minimum brightness corresponding to the gray scale as the maximum brightness variation corresponding to the gray scale. Therefore, the maximum brightness variation corresponding to each gray scale can be accurately determined, so that accurate compensation parameters can be obtained subsequently.
As an implementation manner of the embodiment of the present invention, as shown in fig. 4, the step of determining the brightness variation at the different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging time duration corresponding to each refresh rate may include:
s401, for each gray scale, determining the non-charging duration at each refresh rate corresponding to the gray scale based on the vertical physical resolution of the display, the maximum refresh rate and the number of vertical pixel rows at the maximum refresh rate;
as an embodiment, when the display product is determined, the vertical physical resolution of the display product and the number of vertical pixel lines at the maximum refresh rate are both determined, so that the electrons can obtain the vertical physical resolution of the display and the number of vertical pixel lines at the maximum refresh rate, and further calculate the non-charging time at each refresh rate corresponding to each gray scale according to the following formula:
Figure BDA0003153786180000141
wherein, Tvby_xIs the non-charging duration, Vtotal, at the refresh rate y corresponding to the gray scale xFmaxIs the number of vertical pixel rows at the maximum refresh rate, Fmax is the maximum refresh rate, VactiveIs the vertical physical resolution of the display. Therefore, the electronic equipment can calculate the non-charging time length corresponding to each gray scale under different refresh rates. Wherein, the clock frequency of the display product at the maximum refresh rate in the Gaming mode keeps a definite value.
S402, determining the brightness variable quantity under different refresh rates corresponding to the gray scale according to the ratio of the non-charging time length corresponding to each refresh rate corresponding to the gray scale to the non-charging time length under the minimum refresh rate corresponding to the gray scale and the maximum brightness variable quantity.
Since the smaller the refresh rate, the longer the non-charging time of the TFT unit, the lower the gray-scale brightness, that is, the brightness variation corresponding to the gray-scale has a linear relationship with the non-charging time. The refresh rate corresponding to the maximum brightness variation is the minimum, and the non-charging time is the longest. Therefore, as an embodiment, the electronic device may determine the brightness variation at different refresh rates corresponding to each gray scale according to a ratio of the non-charging time corresponding to each refresh rate corresponding to the gray scale to the non-charging time at the minimum refresh rate corresponding to the gray scale, and the maximum brightness variation.
Specifically, the electronic device may calculate the luminance change amount at the different refresh rate corresponding to each gray scale by using the following formula:
Figure BDA0003153786180000142
wherein, Δ Lxy is the brightness variation at the refresh rate y corresponding to the gray scale x, Δ Lmax _ x is the maximum brightness variation corresponding to the gray scale x, and TvbThe non-charging duration at the minimum refresh rate corresponding to the gray scale x.
In an embodiment, after the electronic device calculates the luminance change amount at the different refresh rate corresponding to each gray scale, for convenience of recording, the luminance change amount at the different refresh rate corresponding to each gray scale may be recorded in a table format. For example, it can be shown in the following table:
Figure BDA0003153786180000151
as can be seen, in this embodiment, for each gray scale, the electronic device may determine, based on the vertical physical resolution of the display, the maximum refresh rate, and the number of vertical pixel rows at the maximum refresh rate, the non-charging duration at each refresh rate corresponding to the gray scale, and further determine, according to the ratio of the non-charging duration at each refresh rate corresponding to the gray scale to the non-charging duration at the minimum refresh rate corresponding to the gray scale, and the maximum luminance variation, the luminance variation at different refresh rates corresponding to the gray scale. Therefore, the brightness variation under different refresh rates corresponding to each gray scale can be quickly and accurately determined, and the compensation coefficients under different refresh rates corresponding to each gray scale can be conveniently calculated subsequently.
As an implementation manner of the embodiment of the present invention, the step of determining, for each gray scale, the compensation coefficients at different refresh rates corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at different refresh rates may include:
and calculating the compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure BDA0003153786180000152
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
Since the luminance of each gray scale is the maximum at the maximum refresh rate, the compensation coefficient at different refresh rates corresponding to each gray scale can be calculated with the luminance corresponding to the maximum refresh rate as a reference. The difference between the brightness corresponding to the gray scale x at the maximum refresh rate and the brightness at the refresh rate y corresponding to the gray scale x is the brightness difference corresponding to the gray scale x displayed by the display when the display is switched from the refresh rate y to the maximum refresh rate.
Then, the ratio of the luminance variation Δ Lxy at the refresh rate y corresponding to the gray scale x to the luminance difference can identify the ratio of the luminance to be compensated when the display is switched from the refresh rate y to the maximum refresh rate, and therefore, the compensation coefficient calculated by using the above formula can accurately identify the backlight luminance to be compensated corresponding to each gray scale at different refresh rates.
Therefore, when the backlight brightness is compensated according to the compensation coefficient, the brightness of the display image frame displayed by the display under any refresh rate is basically the same as the corresponding brightness under the maximum refresh rate, and thus, no matter how the refresh rate of the display is switched, the display picture does not have obvious flicker feeling.
Therefore, in this embodiment, the electronic device may calculate, according to the above formula, a compensation coefficient that can accurately identify the backlight brightness required to be compensated corresponding to each gray scale at different refresh rates, and then, it may be ensured that the backlight brightness of the display may be accurately compensated according to the compensation coefficient, and it is ensured that the display frame may not have an obvious flicker feeling.
As an implementation of the embodiment of the present invention, the display may have various backlight luminances. For example, LED displays generally have various backlight luminances, and different backlight luminances can be selected according to actual needs for displaying images.
For the case that the display has a plurality of backlight luminances, after the step of obtaining the corresponding relationship between the refresh rate, the gray scale and the compensation coefficient, the method may further include:
and adjusting the backlight brightness of the display to be the next backlight brightness, and returning to the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display until the corresponding relation among the refresh rate corresponding to each backlight brightness, the gray scale and the compensation coefficient is obtained.
Since the maximum brightness and the minimum brightness of each gray scale corresponding to different backlight brightness may be different, and the compensation degree for the backlight brightness is also different, in order to accurately determine the corresponding relationship among the refresh rate, the gray scale, and the compensation coefficient under various backlight brightness, after determining the corresponding relationship among the refresh rate, the gray scale, and the compensation coefficient corresponding to one backlight brightness, the electronic device may adjust the backlight brightness of the display to the next backlight brightness.
And then, the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display is executed again, that is, the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display is repeatedly executed until the compensation coefficients corresponding to the gray scale at different refresh rates are determined based on the maximum brightness corresponding to the gray scale, the brightness variation at different refresh rates and the gray scale brightness until the next backlight brightness does not exist, so that the refresh rate corresponding to each backlight brightness, and the corresponding relationship between the gray scale and the compensation coefficients are obtained.
For example, the display has 5 kinds of backlight brightness, i.e., backlight brightness a and backlight brightness B …, and the electronic device may determine the compensation coefficient lookup table corresponding to the backlight brightness a — backlight brightness E according to the determination manner of the correspondence relationship, e.g., lookup table 1-lookup table 5, respectively.
Accordingly, as shown in fig. 5, the step of determining the target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the pre-established correspondence relationship between the refresh rate, the gray scale and the compensation coefficient may include:
s501, according to the current backlight brightness of the display, determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance;
if the backlight brightness of the display is various, the electronic device may obtain the current backlight brightness of the display because the corresponding relationship between the refresh rate, the gray scale and the compensation coefficient corresponding to each backlight brightness may be different, and further determine the target corresponding relationship corresponding to the current backlight brightness from the pre-established corresponding relationship between the refresh rate, the gray scale and the compensation coefficient corresponding to each backlight brightness according to the current backlight brightness.
For example, the current backlight brightness of the display is the backlight brightness C, and the pre-established correspondence relationship among the refresh rate, the gray scale and the compensation coefficient corresponding to various backlight brightness is as follows: the backlight brightness a-the backlight brightness E are the corresponding relations represented by the lookup table 1-the lookup table 5, respectively. The electronic device may determine that the target corresponding relationship corresponding to the backlight brightness C is the corresponding relationship between the refresh rate, the gray scale and the compensation coefficient represented by the lookup table 3.
S502, determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
After the target corresponding relationship is determined, the electronic device can determine a target compensation coefficient corresponding to the next image frame according to the target refresh rate, the target gray scale and the target corresponding relationship. For example, the target refresh rate is 80Hz, the target gray scale is G107, and the electronic device determines that the target corresponding relationship corresponding to the current backlight brightness, i.e., the backlight brightness C, is the corresponding relationship between the refresh rate, the gray scale and the compensation coefficient represented by the lookup table 3. The electronic device may search for the compensation coefficients corresponding to 80Hz and G107 in the lookup table 3, where the searched compensation coefficients are the target compensation coefficients corresponding to the next image frame.
As can be seen, in this embodiment, for the situation that the display has multiple backlight luminances, the electronic device may pre-establish a corresponding relationship between the refresh rate and the gray scale corresponding to each backlight luminance and the compensation coefficient, and further determine an accurate target compensation coefficient based on a target corresponding relationship corresponding to the current backlight luminance of the display when controlling the backlight luminance of the display, so as to further improve the compensation effect of the backlight luminance and reduce the flicker sensation of the picture caused by the refresh rate switching.
As an implementation manner of the embodiment of the present invention, the step of determining the target backlight brightness based on the target compensation coefficient and the backlight brightness of the display may include:
and determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
After determining the target compensation coefficient, the electronic device may determine a product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display, where the backlight brightness of the display is the current backlight brightness of the display.
For example, if the electronic device determines the target compensation coefficient to be 1.25 according to the above correspondence, the product of 1.25 and the backlight brightness of the display can be determined as the target backlight brightness of the display. Further, the backlight brightness of the display may be adjusted to the target backlight brightness.
As can be seen, in this embodiment, the electronic device may determine the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display. The target backlight brightness of the display can be determined quickly and conveniently, so that the backlight brightness of the display can be adjusted quickly, and the flicker feeling of a picture can be reduced when the next image frame is displayed.
Corresponding to the above method for controlling the backlight brightness of the display, an embodiment of the present invention further provides a device for controlling the backlight brightness of the display, and the following describes the device for controlling the backlight brightness of the display provided by the embodiment of the present invention.
As shown in fig. 6, a control device for the backlight brightness of a display, the device comprises:
an information obtaining module 610, configured to obtain a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display;
a compensation coefficient determining module 620, configured to determine a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale, and a pre-established correspondence relationship between the refresh rate, the gray scale, and the compensation coefficient;
the corresponding relation is established based on the brightness difference of different refreshing rates corresponding to the gray scales, and the compensation coefficient is used for identifying the backlight brightness needing to be compensated corresponding to the gray scales at the different refreshing rates.
A backlight brightness determining module 630, configured to determine a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and a backlight brightness adjusting module 640, configured to adjust the backlight brightness of the display according to the target backlight brightness.
It can be seen that in the solution provided in the embodiment of the present invention, the electronic device may obtain a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display, and determine a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established correspondence between the refresh rate, the gray scale and the compensation coefficient, where the correspondence is established based on a brightness difference at different refresh rates corresponding to the respective gray scales, and the compensation coefficient is used to identify backlight brightness to be compensated corresponding to the respective gray scales at different refresh rates, and further, based on the target compensation coefficient and the backlight brightness of the display, determine a target backlight brightness, and adjust the backlight brightness of the display according to the target backlight brightness. Because the corresponding relation among the refresh rate, the gray scale and the compensation coefficient is established in advance based on the brightness difference under different refresh rates corresponding to the gray scales, and the compensation coefficient can identify the backlight brightness needing to be compensated corresponding to the gray scales under different refresh rates, the target backlight brightness determined based on the target compensation coefficient and the backlight brightness of the display can eliminate the brightness difference caused by different refresh rates corresponding to the same gray scale as much as possible, and further can weaken the picture flicker feeling caused by the refresh rate switching of the display.
As an implementation manner of the embodiment of the present invention, the apparatus further includes a corresponding relationship establishing module, as shown in fig. 7, where the corresponding relationship establishing module includes:
a first variation determining unit 710, configured to obtain maximum brightness and minimum brightness corresponding to each gray scale of the display, and determine a maximum brightness variation corresponding to each gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
a second variation determining unit 720, configured to determine, according to the maximum luminance variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate, the luminance variation at the different refresh rate corresponding to each gray scale;
the first correspondence establishing unit 730 is configured to determine, for each gray scale, a compensation coefficient at a different refresh rate corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at the different refresh rate, so as to obtain a correspondence between the refresh rate, the gray scale, and the compensation coefficient.
As an implementation of the embodiment of the present invention, the first variation determining unit 710 includes:
the maximum brightness obtaining subunit is used for obtaining the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
the minimum brightness obtaining subunit is used for obtaining the brightness of each corresponding gray scale of the display at the minimum refresh rate as the minimum brightness;
and the first variation determining subunit is used for determining the difference value between the maximum brightness and the minimum brightness corresponding to each gray scale as the maximum brightness variation corresponding to the gray scale.
As an implementation manner of the embodiment of the present invention, the second variation determining unit 720 includes:
a non-charging duration determining subunit, configured to determine, for each gray scale, a non-charging duration at each refresh rate corresponding to the gray scale based on a vertical physical resolution of the display, a maximum refresh rate, and a number of vertical pixel rows at the maximum refresh rate;
and the second variable quantity determining subunit is used for determining the brightness variable quantity at different refresh rates corresponding to the gray scale according to the ratio of the non-charging time length corresponding to each refresh rate corresponding to the gray scale to the non-charging time length at the minimum refresh rate corresponding to the gray scale and the maximum brightness variable quantity.
As an implementation manner of the embodiment of the present invention, the first correspondence relationship establishing unit 730 includes:
the corresponding relation establishing subunit is used for calculating compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure BDA0003153786180000201
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
As an implementation of the embodiment of the present invention, the display has a plurality of backlight luminances; the corresponding relation establishing module further comprises:
a second corresponding relation establishing unit, configured to adjust the backlight brightness of the display to be a next backlight brightness after obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient, and return to obtain the maximum brightness and the minimum brightness corresponding to each gray scale of the display until obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient corresponding to each backlight brightness;
the compensation coefficient determination module includes:
the target relation determining unit is used for determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance according to the current backlight brightness of the display;
and the compensation coefficient determining unit is used for determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
As an implementation manner of the embodiment of the present invention, the backlight brightness determining module 630 includes:
and the backlight brightness determining unit is used for determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, which includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to implement the method steps according to any of the above embodiments when executing the program stored in the memory 803.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, which, when being executed by a processor, implements the method steps of any of the above embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. A method for controlling the backlight brightness of a display, the method comprising:
acquiring a target refresh rate and a target gray scale corresponding to a next image frame to be displayed by the display;
determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established corresponding relationship between the refresh rate and the gray scale and the compensation coefficient, wherein the corresponding relationship is established based on brightness differences corresponding to the gray scales at different refresh rates, and the compensation coefficient is used for identifying backlight brightness needing to be compensated corresponding to the gray scales at different refresh rates;
determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and adjusting the backlight brightness of the display according to the target backlight brightness.
2. The method according to claim 1, wherein the establishing of the corresponding relationship comprises:
acquiring the maximum brightness and the minimum brightness corresponding to each gray scale of the display, and determining the maximum brightness variation corresponding to each gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
determining the brightness variation under different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging duration corresponding to each refresh rate;
and determining compensation coefficients corresponding to the gray scales at different refresh rates based on the maximum brightness corresponding to each gray scale and the brightness variation at different refresh rates to obtain the corresponding relationship among the refresh rate, the gray scale and the compensation coefficients.
3. The method of claim 2, wherein the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display and determining the maximum brightness variation corresponding to the gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale comprises:
acquiring the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
acquiring the brightness of each gray scale corresponding to the display at the minimum refresh rate as the minimum brightness;
and determining the difference value between the maximum brightness and the minimum brightness corresponding to each gray scale as the maximum brightness variation corresponding to the gray scale.
4. The method according to claim 2, wherein the step of determining the brightness variation at the different refresh rates corresponding to each gray scale according to the maximum brightness variation corresponding to each gray scale and the non-charging time duration corresponding to each refresh rate comprises:
for each gray scale, determining the non-charging duration at each refresh rate corresponding to the gray scale based on the vertical physical resolution of the display, the maximum refresh rate and the number of vertical pixel rows at the maximum refresh rate;
and determining the brightness variation under different refresh rates corresponding to the gray scale according to the ratio of the non-charging time corresponding to each refresh rate corresponding to the gray scale to the non-charging time under the minimum refresh rate corresponding to the gray scale and the maximum brightness variation.
5. The method according to claim 2, wherein the step of determining, for each gray scale, the compensation coefficients at different refresh rates corresponding to the gray scale based on the maximum brightness corresponding to the gray scale and the brightness variation at the different refresh rates comprises:
and calculating the compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure FDA0003153786170000021
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
6. The method of any of claims 2-5, wherein the display has a plurality of backlight brightnesses;
after the step of obtaining the corresponding relationship among the refresh rate, the gray scale and the compensation coefficient, the method further comprises:
adjusting the backlight brightness of the display to be the next backlight brightness, and returning to the step of obtaining the maximum brightness and the minimum brightness corresponding to each gray scale of the display until the corresponding relation among the refresh rate corresponding to each backlight brightness, the gray scale and the compensation coefficient is obtained;
the step of determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and a pre-established correspondence between the refresh rate, the gray scale and the compensation coefficient includes:
according to the current backlight brightness of the display, determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance;
and determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
7. The method of any of claims 1-5, wherein the step of determining a target backlight brightness based on the target compensation factor and the backlight brightness of the display comprises:
and determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
8. An apparatus for controlling backlight brightness of a display, the apparatus comprising:
the information acquisition module is used for acquiring a target refresh rate and a target gray scale corresponding to the next image frame to be displayed by the display;
a compensation coefficient determining module, configured to determine a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale, and a pre-established correspondence relationship between the refresh rate and the gray scale and the compensation coefficient, where the correspondence relationship is established based on brightness differences at different refresh rates corresponding to the respective gray scales, and the compensation coefficient is used to identify backlight brightness to be compensated corresponding to the respective gray scales at different refresh rates;
a backlight brightness determination module for determining a target backlight brightness based on the target compensation coefficient and the backlight brightness of the display;
and the backlight brightness adjusting module is used for adjusting the backlight brightness of the display according to the target backlight brightness.
9. The apparatus of claim 8, further comprising a correspondence establishing module, wherein the correspondence establishing module comprises:
the first variable quantity determining unit is used for acquiring the maximum brightness and the minimum brightness corresponding to each gray scale of the display and determining the maximum brightness variable quantity corresponding to the gray scale based on the maximum brightness and the minimum brightness corresponding to each gray scale;
a second variable determining unit, configured to determine, according to the maximum brightness variable corresponding to each gray scale and the non-charging duration corresponding to each refresh rate, the brightness variable at the different refresh rate corresponding to each gray scale;
and the first corresponding relation establishing unit is used for determining the compensation coefficients corresponding to the gray scales at different refresh rates according to the maximum brightness corresponding to the gray scales and the brightness variation at different refresh rates aiming at each gray scale, so as to obtain the corresponding relation among the refresh rate, the gray scale and the compensation coefficients.
10. The apparatus according to claim 9, wherein the first variation determining unit includes:
the maximum brightness obtaining subunit is used for obtaining the brightness of each gray scale corresponding to the display at the maximum refresh rate as the maximum brightness;
the minimum brightness obtaining subunit is used for obtaining the brightness of each corresponding gray scale of the display at the minimum refresh rate as the minimum brightness;
and the first variation determining subunit is used for determining the difference value between the maximum brightness and the minimum brightness corresponding to each gray scale as the maximum brightness variation corresponding to the gray scale.
11. The apparatus according to claim 9, wherein the second variation determining unit includes:
a non-charging duration determining subunit, configured to determine, for each gray scale, a non-charging duration at each refresh rate corresponding to the gray scale based on a vertical physical resolution of the display, a maximum refresh rate, and a number of vertical pixel rows at the maximum refresh rate;
and the second variable quantity determining subunit is used for determining the brightness variable quantity at different refresh rates corresponding to the gray scale according to the ratio of the non-charging time length corresponding to each refresh rate corresponding to the gray scale to the non-charging time length at the minimum refresh rate corresponding to the gray scale and the maximum brightness variable quantity.
12. The apparatus according to claim 9, wherein the first correspondence relationship establishing unit includes:
the corresponding relation establishing subunit is used for calculating compensation coefficients under different refresh rates corresponding to the gray scales according to the following formula:
Figure FDA0003153786170000041
kxy is a compensation coefficient at the refresh rate y corresponding to the gray scale x, Δ Lxy is a luminance variation at the refresh rate y corresponding to the gray scale x, and Lx _ Fmax is the luminance corresponding to the gray scale x at the maximum refresh rate.
13. The device of any of claims 9-12, wherein the display has a plurality of backlight brightnesses;
the corresponding relation establishing module further comprises:
a second corresponding relation establishing unit, configured to adjust the backlight brightness of the display to be a next backlight brightness after obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient, and return to obtain the maximum brightness and the minimum brightness corresponding to each gray scale of the display until obtaining the corresponding relation between the refresh rate, the gray scale, and the compensation coefficient corresponding to each backlight brightness;
the compensation coefficient determination module includes:
the target relation determining unit is used for determining a target corresponding relation corresponding to the current backlight brightness from corresponding relations among refresh rates, gray scales and compensation coefficients corresponding to various kinds of backlight brightness which are established in advance according to the current backlight brightness of the display;
and the compensation coefficient determining unit is used for determining a target compensation coefficient corresponding to the next image frame based on the target refresh rate, the target gray scale and the target corresponding relation.
14. The apparatus of any of claims 8-12, wherein the backlight brightness determination module comprises:
and the backlight brightness determining unit is used for determining the product of the target compensation coefficient and the backlight brightness of the display as the target backlight brightness of the display.
15. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
16. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202110771676.0A 2021-07-08 2021-07-08 Method and device for controlling backlight brightness of display, electronic equipment and storage medium Active CN113470581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110771676.0A CN113470581B (en) 2021-07-08 2021-07-08 Method and device for controlling backlight brightness of display, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110771676.0A CN113470581B (en) 2021-07-08 2021-07-08 Method and device for controlling backlight brightness of display, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113470581A true CN113470581A (en) 2021-10-01
CN113470581B CN113470581B (en) 2022-11-18

Family

ID=77879018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110771676.0A Active CN113470581B (en) 2021-07-08 2021-07-08 Method and device for controlling backlight brightness of display, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113470581B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113936617A (en) * 2021-10-26 2022-01-14 合肥京东方光电科技有限公司 Display device control method, display device, and computer storage medium
CN115240610A (en) * 2022-07-28 2022-10-25 紫光计算机科技有限公司 Voltage adjusting method and device of chip, electronic equipment and storage medium
CN115267312A (en) * 2022-08-02 2022-11-01 远峰科技股份有限公司 ADC voltage detection compensation method, device, equipment and storage medium
WO2023115467A1 (en) * 2021-12-22 2023-06-29 Tcl华星光电技术有限公司 Display device and display method thereof
WO2024077609A1 (en) * 2022-10-14 2024-04-18 深圳Tcl新技术有限公司 Backlight brightness control method and apparatus, terminal device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020112A1 (en) * 2008-07-28 2010-01-28 Samsung Electronics Co., Ltd. Display device and method of driving the same
CN105074807A (en) * 2013-03-13 2015-11-18 苹果公司 Compensation methods for display brightness change associated with reduced refresh rate
US20170243548A1 (en) * 2016-02-22 2017-08-24 Apple Inc. Step-down pixel response correction systems and methods
CN108335677A (en) * 2018-02-11 2018-07-27 京东方科技集团股份有限公司 Luminance compensation method, luminance compensating mechanism and display device
CN109903725A (en) * 2017-12-11 2019-06-18 三星显示有限公司 The display equipment of brightness can be changed according to operating frequency
CN110751933A (en) * 2019-12-04 2020-02-04 京东方科技集团股份有限公司 Display method and device for refresh rate switching, computer equipment and medium
CN111540331A (en) * 2020-05-27 2020-08-14 Tcl华星光电技术有限公司 Brightness compensation method and device and brightness compensation system
CN111640390A (en) * 2020-06-30 2020-09-08 京东方科技集团股份有限公司 Display screen flicker adjusting circuit and method and display device
CN111833827A (en) * 2020-07-28 2020-10-27 重庆惠科金渝光电科技有限公司 Method for determining overdrive voltage, display panel and computer readable storage medium
WO2021025199A1 (en) * 2019-08-06 2021-02-11 엘지전자 주식회사 Display device and method for controlling same

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020112A1 (en) * 2008-07-28 2010-01-28 Samsung Electronics Co., Ltd. Display device and method of driving the same
CN105074807A (en) * 2013-03-13 2015-11-18 苹果公司 Compensation methods for display brightness change associated with reduced refresh rate
US20170243548A1 (en) * 2016-02-22 2017-08-24 Apple Inc. Step-down pixel response correction systems and methods
CN109903725A (en) * 2017-12-11 2019-06-18 三星显示有限公司 The display equipment of brightness can be changed according to operating frequency
CN108335677A (en) * 2018-02-11 2018-07-27 京东方科技集团股份有限公司 Luminance compensation method, luminance compensating mechanism and display device
WO2021025199A1 (en) * 2019-08-06 2021-02-11 엘지전자 주식회사 Display device and method for controlling same
CN110751933A (en) * 2019-12-04 2020-02-04 京东方科技集团股份有限公司 Display method and device for refresh rate switching, computer equipment and medium
CN111540331A (en) * 2020-05-27 2020-08-14 Tcl华星光电技术有限公司 Brightness compensation method and device and brightness compensation system
CN111640390A (en) * 2020-06-30 2020-09-08 京东方科技集团股份有限公司 Display screen flicker adjusting circuit and method and display device
CN111833827A (en) * 2020-07-28 2020-10-27 重庆惠科金渝光电科技有限公司 Method for determining overdrive voltage, display panel and computer readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113936617A (en) * 2021-10-26 2022-01-14 合肥京东方光电科技有限公司 Display device control method, display device, and computer storage medium
CN113936617B (en) * 2021-10-26 2023-02-28 合肥京东方光电科技有限公司 Display device control method, display device, and computer storage medium
WO2023115467A1 (en) * 2021-12-22 2023-06-29 Tcl华星光电技术有限公司 Display device and display method thereof
CN115240610A (en) * 2022-07-28 2022-10-25 紫光计算机科技有限公司 Voltage adjusting method and device of chip, electronic equipment and storage medium
CN115267312A (en) * 2022-08-02 2022-11-01 远峰科技股份有限公司 ADC voltage detection compensation method, device, equipment and storage medium
CN115267312B (en) * 2022-08-02 2023-08-08 远峰科技股份有限公司 ADC voltage detection compensation method, device, equipment and storage medium
WO2024077609A1 (en) * 2022-10-14 2024-04-18 深圳Tcl新技术有限公司 Backlight brightness control method and apparatus, terminal device, and storage medium

Also Published As

Publication number Publication date
CN113470581B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN113470581B (en) Method and device for controlling backlight brightness of display, electronic equipment and storage medium
CN109658900B (en) Driving method, compensation circuit and driving device of display panel and display device
EP3474272A1 (en) Method for establishing luminance compensation model, method and apparatus for compensating for luminance of display screen, and display device
KR101914936B1 (en) Method and circuit for compensating gamma reference voltages
CN111640390A (en) Display screen flicker adjusting circuit and method and display device
CN109064995A (en) Luminance compensation method, display panel and the luminance compensating mechanism of display panel
CN110751933A (en) Display method and device for refresh rate switching, computer equipment and medium
US10276085B2 (en) Pixel signal compensation for a display panel
US8368724B2 (en) Display apparatus and control method thereof for saving power
JP2002215120A (en) Liquid crystal display device with flicker reduced and flicker reduction method
CN112927658B (en) Driving method and driving device of display panel and display device
US20160300544A1 (en) Method for regulating common voltage, regulating device and display device
US10971100B2 (en) Pixel driving circuit, display panel having the pixel driving circuit and driving method of display panel
EP3232256B1 (en) Data voltage compensation method, data voltage compensation device and display device
CN107093410B (en) Liquid crystal display brightness regulation and control method and device and liquid crystal display screen
US20180012533A1 (en) Display apparatus and a method of operating the same
KR102577591B1 (en) Display apparatus and method of driving the same
US20220406266A1 (en) Gamma voltage correction method and device, and display device
US20210287622A1 (en) Pixel voltage compensation method, pixel voltage compensation device, and display device
US20200066229A1 (en) Brightness adjustment method and device for display screen, display screen and display apparatus
WO2023010625A1 (en) Brightness compensation look-up table generation method and apparatus for display apparatus, and display apparatus
US20230410713A1 (en) Driving method and display device
JP2009163244A (en) Driving method and drive unit for display
CN113763900B (en) Display device and driving method thereof
KR102303685B1 (en) Method of testing display apparatus and display apparatus tested by the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant