CN107134273B - Brightness compensation method and device and terminal - Google Patents

Brightness compensation method and device and terminal Download PDF

Info

Publication number
CN107134273B
CN107134273B CN201710581778.XA CN201710581778A CN107134273B CN 107134273 B CN107134273 B CN 107134273B CN 201710581778 A CN201710581778 A CN 201710581778A CN 107134273 B CN107134273 B CN 107134273B
Authority
CN
China
Prior art keywords
brightness
screen
terminal
brightness adjustment
parameter
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.)
Active
Application number
CN201710581778.XA
Other languages
Chinese (zh)
Other versions
CN107134273A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710581778.XA priority Critical patent/CN107134273B/en
Publication of CN107134273A publication Critical patent/CN107134273A/en
Application granted granted Critical
Publication of CN107134273B publication Critical patent/CN107134273B/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
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The application provides a brightness compensation method, a device and a terminal, wherein the method comprises the following steps: acquiring parameter values of physical parameters influencing the service life of a screen in the terminal at present; determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness before the current moment; and setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness. The scheme of this application can make the terminal can be according to external environment luminance reasonable adjustment screen brightness.

Description

Brightness compensation method and device and terminal
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for luminance compensation, and a terminal.
Background
In order to enable a user to see the screen of the terminal in different brightness environments, the screens of many terminals have an automatic brightness adjusting function. The automatic brightness adjustment of the screen in the terminal refers to automatic adjustment of the screen brightness according to the illumination intensity of the environment.
The terminal can be configured with a brightness adjustment curve, and the brightness adjustment curve can reflect the screen brightness required by the terminal when the terminal is in different external environment illuminance. The brightness adjustment curve is fitted according to user experience and is preset in the terminal. However, as the material in the screen ages, the brightness actually output by the screen is lower than a certain brightness value after the terminal adjusts the screen to the brightness value. Correspondingly, along with the increase of the service life of the terminal screen, after the terminal automatically adjusts the screen brightness according to the external environment brightness and the brightness adjustment curve, the brightness output by the screen is different from the actually required brightness, so that the terminal cannot reasonably adjust the screen brightness according to the external environment brightness.
Disclosure of Invention
The invention aims to provide a brightness compensation method, a brightness compensation device and a terminal, so that the terminal can reasonably adjust the screen brightness according to the brightness of an external environment.
In order to achieve the purpose, the invention provides the following technical scheme:
a method of brightness compensation, comprising:
acquiring parameter values of physical parameters influencing the service life of a screen in the terminal at present;
determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness before the current moment;
and setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness.
In one possible design, the parameter values of the physical parameter include: the total time of use of the screen in the current terminal.
In one possible design, the parameter values of the physical parameter further include:
average temperature of the screen over the total length of use.
In one possible design, the determining a target brightness adjustment relationship of the screen according to the parameter value of the physical parameter includes:
determining a brightness compensation coefficient of the screen according to the parameter value of the physical parameter;
and compensating the brightness value of the output brightness in the historical brightness adjustment relation of the screen based on the brightness compensation coefficient to obtain the target brightness adjustment relation of the screen.
In one possible design, the determining the brightness compensation factor of the screen according to the parameter value of the physical parameter includes:
determining the screen brightness attenuation degree corresponding to the parameter value of the physical parameter according to the mapping relation between the preset parameter value of the physical parameter and the brightness attenuation;
and determining the brightness compensation coefficient of the screen according to the screen brightness attenuation degree.
In one possible design, the determining a target brightness adjustment relationship of the screen according to the parameter value of the physical parameter includes:
and selecting a target brightness adjustment relation matched with the parameter value of the physical parameter from a plurality of preset brightness adjustment relations according to the parameter value of the physical parameter.
In another aspect, the present application provides a luminance compensation apparatus, including:
the terminal comprises a parameter acquisition unit, a service life determination unit and a service life determination unit, wherein the parameter acquisition unit is used for determining the parameter value of a physical parameter which currently influences the service life of a screen in the terminal;
the target determining unit is used for determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, the target brightness adjustment relation is obtained by compensating output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness before the current moment;
and the relation setting unit is used for setting the target brightness adjustment relation as a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness.
On the other hand, the present application also provides a terminal, including:
a processor and a memory;
the processor is used for acquiring parameter values of physical parameters which currently affect the service life of a screen in the terminal; determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness before the current moment; setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness;
the memory is used for storing the target brightness adjusting relation according to which the terminal adjusts the screen brightness according to the environment brightness.
In a possible design, when determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, the processor is specifically configured to determine a brightness compensation coefficient of the screen according to the parameter value of the physical parameter; and compensating the brightness value of the output brightness in the historical brightness adjustment relation of the screen based on the brightness compensation coefficient to obtain the target brightness adjustment relation of the screen.
In a possible design, when determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, the processor is specifically configured to select, according to the parameter value of the physical parameter, a target brightness adjustment relationship that matches the parameter value of the physical parameter from a plurality of preset brightness adjustment relationships.
According to the scheme, the terminal can determine the target brightness adjusting relation according to which the terminal adjusts the screen brightness according to the environment brightness at the current moment according to the parameter values of the physical parameters influencing the service life of the screen. Because the target brightness adjustment relation is obtained by compensating the output brightness in the brightness adjustment relation according to the brightness compensation coefficient matched with the parameter value of the physical parameter before the current moment of the screen, the brightness value of the output brightness in the target brightness adjustment relation is larger than the screen brightness required by the environment brightness of the current terminal, thus, although the screen of the terminal is aged due to the influence of the physical parameter, the screen brightness output by the screen of the terminal cannot reach the brightness value matched with the environment brightness of the current terminal, according to the target brightness adjustment relation, the screen can output the screen brightness with the output brightness required by the current environment brightness, so that the screen brightness actually output by the terminal can be matched with the current environment brightness, and the situation that the actual output brightness of the screen in the terminal is lower than the screen brightness required by the environment brightness of the current terminal is reduced, and then realized more reasonable adjustment terminal's screen brightness.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating an embodiment of a luminance compensation method provided in the present application;
FIG. 2a is a diagram of a luminance curve representing a luminance adjustment relationship;
FIG. 2b is a diagram showing a comparison of luminance curves before and after luminance compensation;
FIG. 3 is a flowchart illustrating a brightness compensation method according to another embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a brightness compensation method according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram illustrating an embodiment of a luminance compensation apparatus according to the present application;
fig. 6 is a schematic structural diagram of a terminal according to the present application.
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 obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
For example, referring to fig. 1, a flowchart of an embodiment of a brightness compensation method according to the present application is shown, and the embodiment can be applied to a terminal with a screen, such as a mobile phone, a tablet computer, and the like. The method of the embodiment may include:
101, obtaining the parameter value of the physical parameter which currently affects the service life of the screen in the terminal.
It can be understood that, as the service life of the screen is reduced, the aging degree of the material in the screen is increased, so that after the terminal adjusts the brightness value of the output brightness of the screen, the actual output brightness of the screen is smaller than the brightness value of the required output currently set by the terminal, and thus, the output brightness of the screen cannot be matched with the current ambient brightness of the terminal, and the user experience is affected.
Accordingly, in the embodiment of the present application, the physical parameter that affects the service life of the screen may also be considered as a physical parameter that may reduce the output brightness of the screen.
For example, in a possible case, the physical parameter may be a total duration of the screen usage in the terminal from a time when the terminal is first used to a current time when the screen of the terminal is used, considering that the brightness of the screen output may be attenuated as the duration of the screen usage in the terminal increases. For example, taking the screen as an Organic Light-Emitting Diode (OLED) display screen, tests on the brightness attenuation ratio of OLEDs generated by different manufacturers show that the minimum brightness attenuation of the display screen formed by the OLEDs is 3% and the maximum brightness attenuation can reach 11% after the OLEDs are continuously lit for a long time of 240 hours, and the brightness attenuation of the screen is permanent, so that as the total duration of the screen of the terminal used by a user increases, the brightness output by the screen is lower and lower under the condition that the screen of the terminal outputs the same brightness value.
In another possible case, the physical parameter may be an average temperature of the screen during the total duration of the screen, considering that the higher the temperature of the screen, the higher the loss of the screen, and if the screen is at a higher temperature for a long time, the brightness of the screen output may be attenuated as the material loss in the screen increases. In this case, the temperature of the screen can be collected over different time periods, and the temperature value of the average temperature of the screen during the use of the screen can be calculated.
And 102, determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter.
And the target brightness adjustment relation is obtained by compensating the output brightness in the historical brightness adjustment relation of the screen according to the brightness compensation coefficient matched with the parameter value of the physical parameter. The historical brightness adjustment relationship is a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the ambient brightness before the current moment.
It should be noted that, in the embodiment of the present application, both the target brightness adjustment relationship and the historical brightness adjustment relationship are brightness adjustment relationships, and for the purpose of distinction only, the brightness adjustment relationship according to which the terminal adjusts the screen output brightness according to the ambient brightness before the current time is referred to as the historical brightness adjustment relationship; and the brightness adjustment relationship, which is determined at the current moment and according to which the terminal adjusts the screen brightness according to the environment brightness, is called a target brightness adjustment relationship.
And for any brightness adjustment relation, the brightness adjustment relation represents the brightness value required to be output by the screen of the terminal under different ambient brightness of the terminal. Specifically, the brightness adjustment relationship may include a mapping relationship between the ambient brightness and the output brightness of the screen. The output brightness of the screen is the screen brightness of the screen output. For example, the brightness adjustment relationship may be a so-called brightness adjustment curve or a brightness curve, for example, see fig. 2a, which shows a schematic diagram of a brightness curve representing the brightness adjustment relationship. In fig. 2a, the abscissa represents the brightness value of the ambient brightness of the terminal, and the ordinate represents the brightness value output by the screen of the terminal, so that when the ambient brightness of the terminal is different, the screen brightness required to be output by the terminal is different, and when the ambient brightness is lower, the screen brightness output by the terminal is relatively lower.
It can be understood that, after the terminal determines the ambient brightness of the environment where the terminal is currently located, the terminal determines the screen brightness required to be output by one screen according to the brightness adjustment relationship required by the current setting. However, as the aging degree of the screen increases, the actual brightness value of the screen brightness output by the screen of the terminal gradually decreases under the condition that the terminal sets the same screen brightness, so that the actual brightness value output by the screen cannot reach the screen brightness set by the terminal. In order to avoid that the actual screen brightness output by the screen cannot meet the requirement due to screen aging, in the embodiment of the application, the brightness compensation is performed on the screen brightness in the historical brightness adjustment relation according to the current time of the terminal according to the parameter value of the physical parameter which affects the screen aging degree, so that the screen brightness corresponding to the same ambient brightness in the historical brightness adjustment relation is increased, and the target brightness adjustment relation after the brightness compensation is obtained.
For the same ambient brightness, the brightness value of the screen brightness corresponding to the ambient brightness in the target brightness adjustment relationship is greater than the brightness value of the ambient brightness in the historical brightness adjustment relationship.
For example, still taking the brightness adjustment relationship as the brightness curve as an example, see fig. 2b, which shows a comparison diagram of the brightness curve and the brightness curve after brightness compensation, in this fig. 2b, the solid line represents the brightness curve without brightness compensation, in the embodiment of the present application, the brightness curve represented by the solid line may be regarded as the brightness curve characterizing the historical brightness adjustment relationship, and is labeled as the original brightness curve in fig. 2 b; the dotted line represents a luminance curve after luminance compensation, i.e., an automatically corrected luminance curve indicated in fig. 2b, and the dotted line represents a luminance curve corresponding to a luminance curve representing the target luminance adjustment relationship. Comparing the brightness curves represented by the dotted line and the solid line, it can be seen that after the original brightness curve is subjected to brightness compensation, the brightness value of the screen brightness corresponding to the same ambient brightness is increased, so that the screen brightness of the screen output is increased, the brightness value reduction of the screen output caused by screen aging is compensated, and the actual screen brightness of the screen output is matched with the ambient brightness.
When the output brightness of the historical brightness adjustment relationship is compensated, a brightness compensation coefficient can be determined according to the parameter value of the physical parameter, and then the output brightness in the historical brightness adjustment relationship is compensated according to the brightness compensation coefficient. When the physical parameter and the parameter value of the physical parameter are different, the brightness compensation coefficient matched with the parameter value of the physical parameter is also different.
In the embodiment of the present application, the physical parameters may include: one or more of the total usage time of the screen, the average temperature of the screen within the total usage time, and the like.
For example, taking the total use duration of the screen as an example, the larger the total use duration of the screen is, the larger the aging degree of the screen is, and the lower the brightness value of the screen brightness actually output by the screen is under the same output brightness, so that the larger the total use duration of the screen is, the larger the brightness compensation coefficient is, and what the specific brightness compensation coefficient is, the brightness attenuation of the screen can be tested in advance under different total use durations, and the brightness compensation coefficient can be determined according to the brightness attenuation.
As another example, taking the average temperature of the screen in the total usage period as an example, if the screen is at a high temperature for a long time, the degree of aging of the screen may be increased, and therefore, if the average temperature of the screen is higher in the total usage period of the screen, the required brightness compensation coefficient may be relatively large.
Of course, the brightness compensation coefficient of the output brightness of the screen is determined for the total usage duration of the integrated screen and the average temperature of the screen in the total usage duration, and the principles of compensating the brightness are also similar, which are not described herein again.
103, setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the ambient brightness.
If so, the terminal can adjust the brightness adjustment relation according to the brightness adjustment relation of the screen brightness by the environment brightness from the historical brightness adjustment relation to the target brightness adjustment relation; or, through related setting, the terminal determines the target brightness adjustment relationship as a brightness adjustment relationship according to which the screen brightness is adjusted.
It can be understood that, after the target brightness adjustment relationship is set as the brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness, when it is detected that the environment brightness of the environment where the terminal is located changes, the output brightness required to be output by the screen of the terminal under the environment brightness of the environment where the terminal is currently located is determined according to the target brightness adjustment relationship, and the screen is controlled to output the screen brightness according to the output brightness.
Therefore, in the embodiment of the application, the terminal determines the target brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness at the current moment according to the parameter values of the physical parameters influencing the service life of the screen. Because the target brightness adjustment relation is obtained by compensating the output brightness in the brightness adjustment relation according to the brightness compensation coefficient matched with the parameter value of the physical parameter before the current moment of the screen, the brightness value of the output brightness in the target brightness adjustment relation is larger than the screen brightness required by the environment brightness of the current terminal, thus, although the screen of the terminal is aged due to the influence of the physical parameter, the screen brightness output by the screen of the terminal cannot reach the brightness value matched with the environment brightness of the current terminal, according to the target brightness adjustment relation, the screen can output the screen brightness with the output brightness required by the current environment brightness, so that the screen brightness actually output by the terminal can be matched with the current environment brightness, and the situation that the actual output brightness of the screen in the terminal is lower than the screen brightness required by the environment brightness of the current terminal is reduced, and then more reasonable screen brightness in the adjustment terminal has been realized.
It can be understood that, in the embodiment of the present application, in the process of using the terminal by the user, physical parameters such as the total use duration and the average temperature of the screen in the terminal are constantly changed, and when the physical parameters are changed, the brightness adjustment relationship suitable for the current terminal is also changed correspondingly. In order to adapt to the change of the physical parameters in the terminal, the terminal may periodically update the brightness adjustment relationship according to which the terminal adjusts the screen brightness, and correspondingly, the terminal may set a brightness compensation period, and if the brightness compensation period may be 240 hours, the brightness adjustment relationship is updated every 240 messages, so that when the current brightness compensation time is determined according to the preset brightness compensation period, the parameter value of the physical parameter currently affecting the service life of the screen in the terminal is obtained, and the target brightness adjustment relationship is re-determined based on the parameter value of the physical parameter.
Under the condition of periodically adjusting the brightness adjustment relationship, the historical brightness adjustment relationship in the embodiment of the present application may be a target brightness adjustment relationship determined last time before; the brightness adjustment relationship initially set for the terminal can also be used.
It is understood that, in the embodiment of the present application, there may be various ways to determine the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter.
In one possible implementation, the output brightness in the historical brightness adjustment relationship may be compensated in real time to obtain the target brightness adjustment relationship. Specifically, the brightness compensation coefficient of the screen can be determined according to the parameter value of the physical parameter; then, based on the brightness compensation coefficient, the brightness value of the output brightness in the historical brightness adjustment relation of the screen is compensated, and the target brightness adjustment relation of the screen is obtained.
For example, a mapping relationship between parameter values of different physical parameters and brightness attenuation may be preset in the terminal, and according to the mapping relationship, the screen brightness attenuation degree corresponding to the parameter value of the currently acquired physical parameter may be determined. Since the required brightness compensation coefficients are different due to different brightness attenuation degrees, after the brightness attenuation degree is determined, the brightness compensation coefficient of the screen can be determined. The brightness compensation coefficient and the brightness attenuation degree can satisfy a preset functional relation. The mapping relation between the parameter value of the physical parameter and the brightness attenuation and the functional relation between the brightness attenuation degree and the brightness compensation coefficient can be determined by testing the brightness attenuation condition of the screen.
In yet another possible case, the terminal may predetermine a brightness adjustment relationship suitable for the terminal in the case of the parameter values of different physical parameters, and preset a plurality of brightness adjustment relationships suitable for the parameter values of different physical parameters. In this case, a target brightness adjustment relationship matching the parameter value of the physical parameter may be selected from a plurality of preset brightness adjustment relationships according to the currently acquired parameter value of the physical parameter. For example, a plurality of brightness curves may be preset, and different brightness curves are matched with the parameter values of the physical parameters, so that when the parameter values of the physical parameters change, the brightness curve according to which the terminal adjusts the screen brightness also changes.
The brightness adjustment relationship required to be matched with the parameter values of the different physical parameters in advance may also be obtained by determining a brightness compensation coefficient required by the terminal according to the attenuation degree of the screen of the terminal under different conditions of the parameter values of the physical parameters of the terminal, and compensating the historical brightness adjustment relationship of the terminal based on the brightness compensation coefficient, which is similar to the process of performing brightness compensation on the historical brightness adjustment relationship in real time, and is not repeated here.
In order to facilitate understanding of the method of the embodiment of the present application, the following description takes physical parameters as an example of the total duration of the screen in the terminal. For example, referring to fig. 3, which shows a flowchart of another embodiment of the brightness compensation method according to the present application, the method of the present embodiment may be applied to a terminal such as a mobile phone, a tablet computer, a notebook computer, and the like, and the method of the present embodiment may include:
301, when the current brightness compensation time is determined according to the preset brightness compensation period, obtaining the total use duration of the screen in the terminal at the current time.
Wherein, the length of the brightness compensation period can be set according to the requirement.
It is understood that, according to the brightness compensation period, the brightness compensation time may be determined periodically, for example, the brightness compensation period is 100 hours, and if the time length from the current time to the last brightness compensation time reaches 100 hours, it is determined that the current time reaches the brightness compensation time.
The total use duration of the screen can be understood as the accumulated total duration of the screen of the terminal in the lighting state in the process of using the terminal by the user.
It should be noted that, setting the brightness compensation period, and obtaining the total use duration of the screen at the current time when determining the current brightness compensation time based on the brightness compensation period is only one implementation manner, and in practical applications, the terminal may also determine the total use duration of the screen in real time.
302, detecting whether the total using time length exceeds a preset time length, if so, executing a step 303; if not, maintaining the brightness adjustment relation currently set in the terminal unchanged;
the preset time period may be set as required, for example, if it is assumed that the output brightness of the screen output is reduced after the total usage time period of the screen exceeds 240 hours, the preset time period may be set to 240 hours. If the total using time does not reach the preset time, the attenuation of the output brightness of the current screen can be considered to be small, and the brightness adjustment relation set by the terminal can not be compensated.
It can be understood that, if the total use duration of the screen exceeds the preset duration when a brightness compensation moment is reached, the subsequently obtained total use duration also necessarily exceeds the preset duration; moreover, when the total usage duration does not exceed the preset duration, the currently applicable target brightness adjustment relationship may also be determined based on the manner of the embodiment of the present application, so that the step S302 is only an optional step, and in practical applications, the step S302 may be selectively executed or not executed as needed.
303, when the total using duration exceeds a preset duration, determining a brightness compensation coefficient of a screen in the terminal according to the total using duration.
For example, a mapping relationship between the total usage time period and the brightness compensation coefficient may be preset, where each total usage time period corresponds to one brightness compensation coefficient in the mapping relationship.
For another example, brightness attenuation degrees corresponding to different total use durations and brightness compensation coefficients corresponding to different brightness attenuation degrees may be preset, so that after the brightness attenuation degree of the screen is determined according to the total use duration, a brightness compensation coefficient required by the screen at the current brightness attenuation degree may be determined.
The brightness compensation coefficient is used for compensating the output brightness of the screen in the brightness adjustment relation.
And 304, determining the historical brightness adjustment relation currently set by the terminal.
For example, the terminal queries a brightness adjustment relationship according to which the screen brightness is adjusted, which is set in the terminal, and takes the brightness adjustment relationship as a historical brightness adjustment relationship.
It can be understood that, if the terminal has not performed brightness compensation before the current time, the historical brightness adjustment relationship may be considered as an initial brightness adjustment relationship preset by the terminal, the initial brightness adjustment relationship may be fitted based on user experience, the terminal has an output brightness change relationship with the change of the external environment brightness and the output brightness required to be output by the screen, and the output brightness in the initial brightness adjustment relationship has not been subjected to brightness compensation. If the terminal has performed the brightness compensation operation before the current time, the historical brightness adjustment relationship may be regarded as the brightness adjustment relationship obtained by the brightness compensation last time before the current time.
It should be noted that, in this embodiment, a brightness adjustment relationship based on the currently set screen brightness of the terminal is taken as an example of the historical brightness adjustment relationship, and in practical applications, the terminal may also directly perform brightness compensation on the initial brightness adjustment relationship each time, that is, the step S303 may also be to obtain the initial brightness adjustment relationship set in the terminal, where the initial brightness adjustment relationship is the brightness adjustment relationship that is preset in the terminal and is not subjected to brightness compensation. Correspondingly, because the total use time lengths are different and the brightness compensation coefficients are different, the target brightness compensation relationship obtained after the brightness compensation is performed on the output brightness in the initial brightness adjustment relationship according to the brightness compensation coefficients is also different when the total use time lengths of the screens are different.
It is understood that the sequence of step 303 and step 304 is not limited to that shown in fig. 3, and in practical applications, the two steps may be performed simultaneously; step 304 may also be performed before step 303 is performed.
And 305, performing brightness compensation on the output brightness of the screen in the historical brightness adjustment relationship by using the brightness compensation coefficient to obtain a target brightness adjustment relationship.
For example, the output luminance of the screen in the history luminance adjustment relationship may be multiplied by the luminance compensation coefficient to compensate for the output luminance in the history luminance adjustment relationship. After the output brightness of the screen in the historical brightness adjustment relationship is subjected to brightness compensation, a new brightness adjustment relationship, that is, a target brightness adjustment relationship, is obtained.
It should be noted that, in this embodiment, an example is described in which a brightness compensation coefficient is determined in real time, and brightness compensation is performed on output brightness in a historical brightness adjustment relationship in real time based on the brightness compensation coefficient to obtain a target brightness adjustment relationship, but it can be understood that, if a brightness adjustment relationship according to which the terminal needs to adjust the screen brightness under different total use durations of the screen of the terminal is predetermined, and when the total use duration of the current screen is obtained, a target brightness adjustment relationship that needs to be matched with the total use duration of the current screen is determined, and the same is also applicable to this embodiment, and details are not repeated here.
And 306, setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the screen brightness is adjusted in the terminal.
307, when detecting the change of the environment brightness of the environment where the terminal is located, determining the brightness value of the output brightness required to be output by the screen in the terminal based on the current environment brightness of the environment where the terminal is currently located and the target brightness adjustment relation.
308, controlling the screen output screen brightness according to the brightness value of the output brightness.
Here, the step 307 and the step 308 are optional steps, and the purpose thereof is only to facilitate understanding of the process of adjusting the screen brightness based on the target brightness adjustment relationship.
It can be understood that, in the embodiment of the present application, the description is given by taking the physical parameter as the total use time of the screen as an example, but it can be understood that, when the physical parameter is the average temperature of the terminal in the use process of the screen, the process of determining the target brightness adjustment relationship by the terminal is similar, and details are not repeated here.
For example, referring to fig. 4, which shows a flow chart of another embodiment of the brightness compensation method of the present application, the method of this embodiment may include:
401, when the current brightness compensation time is determined according to a preset brightness compensation period, acquiring the total use time of the screen in the terminal at the current time and the average temperature of the screen in the total use time.
In this embodiment, the parameter value of the physical parameter includes not only the value of the total duration of the current use of the screen, but also the average temperature of the screen within the total duration of the use. The aging degree of the screen can be better reflected through the total using time of the screen and the average temperature, so that the brightness compensation system can be more accurately determined, and the output brightness can be compensated.
402, when the total usage duration exceeds a preset duration, determining a brightness compensation coefficient of a screen in the terminal according to the total usage duration and the average temperature.
It can be understood that the total duration of use and the average temperature of the screen within the total duration of use both have an effect on the brightness attenuation of the screen, and therefore, the brightness attenuation degree of the screen at different total durations of use and different average temperatures can be tested in advance, so that the corresponding brightness compensation coefficient can be determined according to the brightness attenuation degree of the screen. For example, the corresponding relationship between the total usage time and the average temperature and the brightness compensation coefficient may be preset, so that after the total usage time and the average temperature are currently obtained, the currently required brightness compensation coefficient may be determined according to the corresponding relationship.
Similar to the embodiment of fig. 3, using the total duration exceeding the preset duration is an optional way, and even if the total duration does not exceed the preset duration, the brightness compensation can be performed by using the scheme of the embodiment of the present application.
And 403, determining a historical brightness adjusting relation according to which the screen brightness is adjusted according to the ambient brightness before the current moment of the terminal.
Similar to the previous embodiment, in this embodiment, the step S403 may also be replaced by determining an initial brightness adjustment relationship set in the terminal, and accordingly, the output brightness in the initial brightness adjustment relationship may be compensated according to the brightness compensation coefficient.
And 404, performing brightness compensation on the output brightness of the screen in the historical brightness adjustment relationship by using the brightness compensation coefficient to obtain a target brightness adjustment relationship.
It can be understood that the manner of determining the brightness adjustment relationship corresponding to different total usage durations and average temperatures in advance and determining the target brightness adjustment relationship corresponding to the currently obtained total usage duration and average temperature is also applicable to the embodiment.
405, the target brightness adjustment relationship is set as a brightness adjustment relationship according to which the screen brightness is adjusted in the terminal.
After the brightness compensation coefficient is determined, the process of compensating the output brightness in the historical brightness adjustment relationship based on the brightness compensation coefficient may refer to the related description of the foregoing embodiment, and is not described herein again.
On the other hand, corresponding to the brightness compensation method of the embodiment of the present application, an embodiment of the present application further provides a brightness compensation apparatus, for example, referring to fig. 5, which shows a schematic structural diagram of an embodiment of the brightness compensation apparatus of the present application, where the apparatus of the present embodiment may be applied to a terminal having a screen, such as a mobile phone and a tablet computer, and the apparatus may include:
a parameter obtaining unit 501, configured to determine a parameter value of a physical parameter that currently affects the service life of a screen in a terminal;
a target determining unit 502, configured to determine a target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, where the target brightness adjustment relationship is obtained by compensating output brightness in a historical brightness adjustment relationship of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relationship is a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the ambient brightness before the current time;
a relationship setting unit 503, configured to set the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the ambient brightness.
In a possible case, the parameter value of the physical parameter acquired by the parameter acquiring unit includes: the total time of use of the screen in the current terminal.
Optionally, the parameter values of the physical parameters acquired by the parameter acquiring unit further include:
average temperature of the screen over the total length of use.
In one possible implementation manner, the target determining unit includes:
the coefficient determining unit is used for determining a brightness compensation coefficient of the screen according to the parameter value of the physical parameter;
and the brightness compensation unit is used for compensating the brightness value of the output brightness in the historical brightness adjustment relation of the screen based on the brightness compensation coefficient to obtain the target brightness adjustment relation of the screen.
Optionally, the coefficient determining unit includes:
the attenuation determining subunit is used for determining the screen brightness attenuation degree corresponding to the parameter value of the physical parameter according to the mapping relation between the preset parameter value of the physical parameter and the brightness attenuation;
and the coefficient determining subunit is used for determining the brightness compensation coefficient of the screen according to the screen brightness attenuation degree.
In one possible implementation manner, the target determining unit includes:
and the target relation matching unit is used for selecting a target brightness adjustment relation matched with the parameter value of the physical parameter from a plurality of preset brightness adjustment relations according to the parameter value of the physical parameter.
In order to implement the above brightness compensation method, an embodiment of the present application further provides a terminal, where the terminal may be a mobile phone, a notebook computer, a tablet computer, or the like.
Referring to fig. 6, which shows a schematic diagram of a composition structure of an embodiment of a terminal according to the present application, the terminal 600 of the present embodiment may include:
a processor 601 and a memory 602;
the processor 601 is configured to obtain a parameter value of a physical parameter currently affecting the service life of a screen in the terminal; determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness before the current moment; setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness;
the memory 602 is configured to store the target brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the ambient brightness.
The terminal may further include an input device 603, for example, the input device may include a touch screen or an input unit that can sense an input operation of a user.
The terminal may also include a communication interface 604 for communicating with other electronic devices.
Of course, fig. 6 is only an example of a terminal, and in practical applications, the terminal may further include other components, which are not limited herein. Optionally, the processor, the memory, the input device, and the communication interface of the terminal may be connected via a communication bus.
In one possible implementation, the obtaining, by the processor, the parameter value of the physical parameter includes: the total time of use of the screen in the current terminal.
Optionally, the parameter values of the physical parameter further include:
average temperature of the screen over the total length of use.
In a possible implementation manner, when determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, the processor is specifically configured to determine a brightness compensation coefficient of the screen according to the parameter value of the physical parameter; and compensating the brightness value of the output brightness in the historical brightness adjustment relation of the screen based on the brightness compensation coefficient to obtain the target brightness adjustment relation of the screen.
Optionally, when determining the brightness compensation coefficient of the screen according to the parameter value of the physical parameter, the processor is specifically configured to determine a screen brightness attenuation degree corresponding to the parameter value of the physical parameter according to a preset mapping relationship between the parameter value of the physical parameter and the brightness attenuation; and determining the brightness compensation coefficient of the screen according to the screen brightness attenuation degree.
In a possible implementation manner, when determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, the processor is specifically configured to select, according to the parameter value of the physical parameter, the target brightness adjustment relationship that matches the parameter value of the physical parameter from a plurality of preset brightness adjustment relationships.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A method of luminance compensation, comprising:
acquiring parameter values of physical parameters influencing the service life of a screen in the terminal at present;
determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating the output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness and the mapping relation between the environment brightness and the output brightness of the screen before the current moment;
setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness; the parameter values of the physical parameters comprise: the method comprises the steps of using the total duration of the screen in the current terminal and the average temperature of the screen in the total duration of the screen.
2. The luminance compensation method according to claim 1, wherein the determining the luminance compensation coefficient of the screen according to the parameter value of the physical parameter comprises:
determining the screen brightness attenuation degree corresponding to the parameter value of the physical parameter according to the mapping relation between the preset parameter value of the physical parameter and the brightness attenuation;
and determining the brightness compensation coefficient of the screen according to the screen brightness attenuation degree.
3. The brightness compensation method of claim 1, wherein the determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter comprises:
and selecting a target brightness adjustment relation matched with the parameter value of the physical parameter from a plurality of preset brightness adjustment relations according to the parameter value of the physical parameter.
4. An illumination compensation apparatus, comprising:
the device comprises a parameter acquisition unit and a service management unit, wherein the parameter acquisition unit is used for determining the parameter values of physical parameters which currently influence the service life of a screen in the terminal, and the parameter values of the physical parameters comprise: the method comprises the steps that the total using time length of a screen in a current terminal and the average temperature of the screen in the total using time length are calculated;
the target determining unit is used for determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, the target brightness adjustment relation is obtained by compensating the output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the screen brightness is adjusted by the terminal according to the environment brightness and the mapping relation between the environment brightness and the output brightness of the screen before the current moment;
and the relation setting unit is used for setting the target brightness adjustment relation as a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness.
5. A terminal, comprising:
a processor and a memory;
the processor is configured to obtain a parameter value of a physical parameter currently affecting a service life of a screen in a terminal, where the parameter value of the physical parameter includes: the method comprises the steps that the total using time length of a screen in a current terminal and the average temperature of the screen in the total using time length are calculated; determining a target brightness adjustment relation of the screen according to the parameter value of the physical parameter, wherein the target brightness adjustment relation is obtained by compensating the output brightness in a historical brightness adjustment relation of the screen according to a brightness compensation coefficient matched with the parameter value of the physical parameter, and the historical brightness adjustment relation is a brightness adjustment relation according to which the terminal adjusts the screen brightness according to the environment brightness and the mapping relation between the environment brightness and the output brightness of the screen before the current moment; setting the target brightness adjustment relationship as a brightness adjustment relationship according to which the terminal adjusts the screen brightness according to the environment brightness;
the memory is used for storing the target brightness adjusting relation according to which the terminal adjusts the screen brightness according to the environment brightness.
6. The terminal according to claim 5, wherein the processor, when determining the target brightness adjustment relationship of the screen according to the parameter value of the physical parameter, is specifically configured to select a target brightness adjustment relationship matching the parameter value of the physical parameter from a plurality of preset brightness adjustment relationships according to the parameter value of the physical parameter.
CN201710581778.XA 2017-07-17 2017-07-17 Brightness compensation method and device and terminal Active CN107134273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710581778.XA CN107134273B (en) 2017-07-17 2017-07-17 Brightness compensation method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710581778.XA CN107134273B (en) 2017-07-17 2017-07-17 Brightness compensation method and device and terminal

Publications (2)

Publication Number Publication Date
CN107134273A CN107134273A (en) 2017-09-05
CN107134273B true CN107134273B (en) 2020-02-21

Family

ID=59737968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710581778.XA Active CN107134273B (en) 2017-07-17 2017-07-17 Brightness compensation method and device and terminal

Country Status (1)

Country Link
CN (1) CN107134273B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832689B (en) * 2017-10-30 2020-06-26 维沃移动通信有限公司 Fingerprint identification method and mobile terminal
CN113261051A (en) * 2019-01-04 2021-08-13 深圳市柔宇科技股份有限公司 Brightness compensation method, foldable display device and storage medium
CN110808006B (en) 2019-09-06 2021-01-15 华为技术有限公司 Display screen aging compensation method, circuit system and electronic equipment
CN110853581B (en) * 2019-11-06 2021-03-16 深圳市华星光电半导体显示技术有限公司 Method for adjusting brightness of display panel and storage medium
CN110971761B (en) * 2019-12-09 2021-04-06 Oppo广东移动通信有限公司 Method and device for generating display parameter curve, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833928A (en) * 2010-04-24 2010-09-15 华映光电股份有限公司 Method for adjusting luminosity of display and related backlight module
CN103544919A (en) * 2013-08-09 2014-01-29 深圳市奥拓电子股份有限公司 LED rental screen system and brightness correction method thereof
CN106898329A (en) * 2017-03-27 2017-06-27 努比亚技术有限公司 A kind of method for processing brightness of display screen, device and mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6414661B1 (en) * 2000-02-22 2002-07-02 Sarnoff Corporation Method and apparatus for calibrating display devices and automatically compensating for loss in their efficiency over time
JP2002278514A (en) * 2001-03-19 2002-09-27 Sharp Corp Electro-optical device
US6963321B2 (en) * 2001-05-09 2005-11-08 Clare Micronix Integrated Systems, Inc. Method of providing pulse amplitude modulation for OLED display drivers
US7355574B1 (en) * 2007-01-24 2008-04-08 Eastman Kodak Company OLED display with aging and efficiency compensation
CN102968979B (en) * 2012-11-12 2015-06-17 广东欧珀移动通信有限公司 Screen brightness scheduling method based on curve fitting
CN103747576B (en) * 2013-12-27 2016-01-06 中航华东光电有限公司 A kind of LED backlight drive circuit and driving method thereof
CN105405427A (en) * 2015-12-04 2016-03-16 小米科技有限责任公司 Facility brightness adjustment method and device
CN106057135B (en) * 2016-07-26 2019-04-12 维沃移动通信有限公司 A kind of control method and mobile terminal of display brightness
CN106793329B (en) * 2017-01-06 2018-11-30 广东德洛斯照明工业有限公司 A kind of automatic light-supplementing method based on RGBW
CN106898311A (en) * 2017-03-28 2017-06-27 广州三星通信技术研究有限公司 For the screen luminance adjustment method and equipment of electric terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833928A (en) * 2010-04-24 2010-09-15 华映光电股份有限公司 Method for adjusting luminosity of display and related backlight module
CN103544919A (en) * 2013-08-09 2014-01-29 深圳市奥拓电子股份有限公司 LED rental screen system and brightness correction method thereof
CN106898329A (en) * 2017-03-27 2017-06-27 努比亚技术有限公司 A kind of method for processing brightness of display screen, device and mobile terminal

Also Published As

Publication number Publication date
CN107134273A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN107134273B (en) Brightness compensation method and device and terminal
US9967824B2 (en) Mobile terminal managing method and system, mobile terminal
US8537174B2 (en) Techniques for adaptive brightness control of a display
US9318038B2 (en) Color control method and communication apparatus
US9210774B2 (en) Apparatus and method for controlling lighting
JP2021533418A (en) Display panel brightness correction method and display panel brightness correction device
CN110162384B (en) Redis distributed lock-based timeout time dynamic adjustment method and system
CN105632407B (en) A kind of display adjusting method and mobile terminal of AMOLED display screens
CN106710535B (en) A kind of screen backlight adjusting method, device and mobile terminal
WO2010048117A2 (en) Method of correcting emissive display burn-in
CN108766367A (en) Backlight brightness control method, television terminal and computer readable storage medium
WO2018126546A1 (en) Method for controlling temperature, and terminal device and apparatus
CN112116894B (en) Brightness compensation method and device of display panel, display panel and storage medium
CN105185301A (en) Display screen brightness adjustment method
CN108766366A (en) LED backlight subregion current control method, television terminal and readable storage medium storing program for executing
CN105913812A (en) Method and device for adjusting LCD backlight brightness of terminal as well as terminal
US20160253944A1 (en) Image Display Method and Device and Electronic Apparatus
US20110310071A1 (en) Energy efficient display system
EP2631899A1 (en) Backlight circuit control method, backlight circuit and booster circuit
CN105744034A (en) Screen brightness output method and device
JP2013225722A (en) Information processing device, display control method, and display control program
CN104240676A (en) Method for adjusting electronic device and electronic device
US9134172B2 (en) Ambient light sensing method and an ambient light sensing device
CN105653093A (en) Method and device for adjusting screen brightness in portable terminal
CN112071266A (en) OLED cathode voltage correction method and system, display module and brightness adjustment method

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