CN115311974A - Screen brightness adjusting method and device, storage medium and electronic equipment - Google Patents

Screen brightness adjusting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115311974A
CN115311974A CN202210938694.8A CN202210938694A CN115311974A CN 115311974 A CN115311974 A CN 115311974A CN 202210938694 A CN202210938694 A CN 202210938694A CN 115311974 A CN115311974 A CN 115311974A
Authority
CN
China
Prior art keywords
value
brightness value
temperature
screen
brightness
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.)
Pending
Application number
CN202210938694.8A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210938694.8A priority Critical patent/CN115311974A/en
Publication of CN115311974A publication Critical patent/CN115311974A/en
Pending legal-status Critical Current

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
    • 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/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The disclosure provides a screen brightness adjusting method and device, a storage medium and an electronic device, wherein the method comprises the following steps: in response to determining to trigger adjusting the brightness value of the screen, determining a first temperature value of the terminal; determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve; and adjusting the brightness value of the screen at least based on the first temperature control brightness value. Compared with the situation that the maximum brightness value of the screen is kept unchanged when the temperature of the terminal changes within the same temperature range in the related art, each temperature value of the terminal disclosed by the embodiment of the disclosure has a temperature control brightness value corresponding to the temperature value, the brightness value of the current screen is adjusted based on the temperature control brightness value corresponding to any acquired temperature value, and the fluctuation of the brightness of the screen can be reduced.

Description

Screen brightness adjusting method and device, storage medium and electronic equipment
Technical Field
The technical scheme of the disclosure relates to the technical field of thermal management, and in particular relates to a screen brightness adjusting method and device, a storage medium and an electronic device.
Background
Currently, most terminals, such as mobile phones, have a function of automatically adjusting the brightness value of the screen. The above functions of the terminal can provide a feasible method for the temperature control function of the terminal. Specifically, it is possible to suppress an increase in the temperature of the terminal by decreasing the luminance value of the screen when the temperature of the terminal reaches a certain value.
For example, the maximum brightness value of the screen may be limited to 1000 nits when the temperature of the terminal reaches 35 ℃, and 800 nits when the temperature of the terminal reaches 37 ℃. In the above method, when the temperature of the terminal was in the range of [35 ℃ C., 37 ℃ C.), the maximum luminance values of the terminal were all 1000 nits. That is, when the temperature of the terminal fluctuates within the above temperature range, the maximum brightness value of the screen is maintained, and only when the temperature of the terminal reaches 37 ℃, the maximum brightness value of the screen is changed from 1000 nit to 800 nit. Resulting in a large brightness fluctuation of the screen at a certain moment.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for adjusting screen brightness, a storage medium, and an electronic device.
According to a first aspect of the present disclosure, a screen brightness adjusting method is provided, the method including:
in response to determining to trigger adjusting the brightness value of the screen, determining a first temperature value of the terminal;
determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve;
and adjusting the brightness value of the screen at least based on the first temperature control brightness value.
In combination with any embodiment provided by the present disclosure, the method further comprises:
triggering and measuring the temperature value of the terminal every first time interval;
the determining triggers adjusting brightness values of the screen, including:
and determining to trigger the adjustment of the brightness value of the screen based on the measured temperature value of the terminal.
In combination with any one embodiment provided by the present disclosure, the determining a first temperature value of the terminal includes:
if the current temperature value of the terminal is larger than the previous temperature value, determining the current temperature value as the first temperature value;
and if the current temperature value is less than or equal to the last temperature value, determining the average temperature value of the terminal in a second time period as the first temperature value.
In combination with any embodiment provided by the present disclosure, the determining the average temperature value of the terminal in the second duration as the first temperature value includes:
if the difference value between the historical temperature value and the average temperature value is larger than a preset difference value, determining the average temperature value as the first temperature value; and the historical temperature value is the temperature value of the terminal when the brightness value of the screen is triggered and adjusted last time.
In combination with any embodiment provided by the present disclosure, the adjusting the brightness value of the screen based on at least the first temperature control brightness value includes:
and if the current brightness value of the screen is greater than the first temperature control brightness value, reducing the brightness value of the screen to the first temperature control brightness value.
In combination with any one of the embodiments provided by the present disclosure, the triggering adjustment of the brightness value of the screen includes:
determining to trigger adjustment of the brightness value of the screen based on the received brightness bar adjustment instruction; or
Determining to trigger adjustment of a brightness value of the screen based on a change in ambient lighting.
In combination with any one embodiment provided by the present disclosure, the determining a first temperature value of the terminal includes:
and determining the temperature value of the terminal measured when the brightness value of the screen is triggered to be adjusted as the first temperature value.
In connection with any embodiment provided by the present disclosure, the method further comprises:
determining a desired brightness value of the screen based on the brightness bar adjustment instruction or the changed ambient illumination;
the adjusting the brightness value of the screen based on at least the first temperature control brightness value comprises:
if the desired brightness value is greater than the first temperature control brightness value, adjusting the brightness value of the screen to the first temperature control brightness value;
adjusting the brightness value of the screen to the desired brightness value if the desired brightness value is less than or equal to the first temperature controlled brightness value.
In combination with any embodiment provided by the present disclosure, the method further comprises:
and if the current brightness value of the screen is greater than the first temperature control brightness value, setting the first temperature control brightness value as the maximum brightness value of the screen.
According to a second aspect of the present disclosure, there is provided a screen brightness adjusting apparatus, the apparatus including:
the temperature value determining module is used for responding to the determination of the brightness value of the screen, and determining a first temperature value of the terminal;
the temperature control brightness value determining module is used for determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve;
and the brightness value adjusting module is used for adjusting the brightness value of the screen at least based on the first temperature control brightness value.
According to a third aspect of the present disclosure, there is provided a computer readable storage medium storing machine readable instructions which, when invoked and executed by a processor, cause the processor to implement the screen brightness adjustment method of any of the embodiments of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus comprising
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the screen brightness adjusting method of any embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the screen brightness adjusting method provided by the embodiment of the disclosure, the first temperature value of the terminal is determined by responding to the determination trigger to adjust the brightness value of the screen; determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve; and adjusting the brightness value of the screen at least based on the first temperature control brightness value. Compared with the situation that the maximum brightness value of the screen is kept unchanged when the temperature of the terminal changes in the same temperature range in the related art, each temperature value of the terminal disclosed by the disclosure has a temperature control brightness value corresponding to the temperature value, and the brightness value of the current screen is adjusted based on the temperature control brightness value corresponding to any acquired temperature value, so that the fluctuation of the brightness of the screen can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of screen brightness adjustment according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic illustration of a temperature control curve shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 3 is a partial derivative diagram of a temperature control curve illustrating the present disclosure according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating another screen brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating another screen brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 6 is a graph illustrating a comparison of actual measurements performed by a threshold dimming method and a screen brightness adjustment method according to an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating another screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating another screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
FIG. 10 is a schematic diagram illustrating another screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
FIG. 11 is a schematic diagram illustrating another screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
FIG. 12 is a schematic diagram illustrating another screen brightness adjustment apparatus according to an exemplary embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device shown in accordance with an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context.
The screen brightness adjusting method according to the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the exemplary embodiment method may be applied to a terminal including, but not limited to, a mobile phone, a notebook computer, a desktop computer, an ipad, etc. Specifically, the method of this exemplary embodiment may be executed by an operating system of the terminal, where the operating system includes, but is not limited to, an android (android) system, an IOS system, and the like. As shown in FIG. 1, the exemplary embodiment method may include the steps of:
in step 100, a first temperature value of the terminal is determined in response to determining that the adjustment of the brightness value of the screen is triggered.
In an alternative example, the temperature value may be based on a measured temperature value of the terminal. A brightness value that triggers an adjustment screen is determined. Optionally, the terminal may trigger measurement of the temperature value of the terminal every first time interval. Wherein. The temperature value of the terminal refers to the shell temperature of the terminal. The terminal measures one temperature value at a time and determines the brightness value triggering the adjustment screen.
In one optional example, the first temperature value of the terminal may be determined based on a case temperature of the terminal. The shell temperature of the terminal can be obtained by an operating system of the terminal according to the temperature fitting of each device in the terminal.
Specifically, the operating system of the terminal may detect the temperature of each device inside the terminal in real time. For example, the temperature of devices such as a CPU (Central Processing Unit), a motherboard, and a battery inside the terminal can be detected in real time. And then, fitting according to a preset algorithm to obtain the shell temperature of the terminal.
Optionally, the first temperature value may be a current temperature value of the terminal shell temperature, or may be an average value of the shell temperature of the terminal within a preset time period.
In an alternative example, the terminal may also determine to trigger adjusting the brightness value of the screen based on other conditions, such as a received brightness bar adjustment instruction or a change in ambient lighting.
In an optional example, in case that it is determined to trigger adjustment of a brightness value of a screen based on a brightness bar adjustment instruction or a change in ambient illumination, the terminal may determine a temperature value of the terminal measured at the time of trigger adjustment of the brightness value of the screen as the first temperature value.
In step 102, a first temperature control brightness value corresponding to the first temperature value is determined according to a preset temperature control curve.
The temperature control curve is a curve of the maximum brightness value of the screen changing along with the terminal temperature.
In an optional example, the temperature control curve can be preset by related staff based on actual conditions and stored in the cloud. And when the terminal is started every time, the temperature control curve is automatically loaded from the cloud.
For example, the temperature control curve may be as shown in fig. 2. The data structure of the temperature control curve is a three-dimensional array: namely, the temperature control curve = { [ temperature value 1, luminance value 1, slope 1], [ temperature value 2, luminance value 2, slope 2], [ temperature value 3, luminance value 3, slope 3] … … }.
The slope is used to indicate the degree of bending of the temperature control curve. For example, "slope 1" in [ temperature value 1, luminance value 1, slope 1] described above is used to indicate that the slope of the curve at (temperature value 1, luminance value 1) is "slope 1".
After the operating system of the terminal determines the first temperature value of the terminal, a first temperature control brightness value corresponding to the first temperature value can be obtained according to the preset temperature control curve.
For example, the partial temperature control curve shown in fig. 2 can be expressed in the case of differentiation as in the case of fig. 3. In the figure, x2 (temperature value 2), y2 (brightness value 2), x3 (temperature value 3), and y3 (brightness value 3) are known values. When the operating system of the terminal detects a first temperature value of the current terminal, for example, x, a corresponding y value, that is, a first temperature control brightness value corresponding to the first temperature value, may be obtained according to two points (x 2, y 2) and (x 3, y 3) adjacent to the point.
Specifically, the above process may be represented as:
first temperature control brightness value
Figure BDA0003784585130000071
In step 104, the brightness value of the screen is adjusted based on at least the first temperature control brightness value.
In an alternative example, in case that it is determined to trigger the adjustment of the brightness value of the screen based on the measured temperature value of the terminal, the terminal may adjust the brightness value of the screen based on the first temperature-controlled brightness value and the current brightness value of the screen.
Wherein if the current brightness value of the screen is greater than the first temperature control brightness value, the brightness value of the screen may be reduced to the first temperature control brightness value.
In an alternative example, in the case that it is determined to trigger the adjustment of the brightness value of the screen based on the brightness bar adjustment instruction or the change of the ambient light, the terminal may adjust the brightness value of the screen based on a desired brightness value of the screen and the first temperature-controlled brightness value.
Wherein if the desired brightness value is greater than the first temperature control brightness value, the brightness value of the screen is adjusted to the first temperature control brightness value, and if the desired brightness value is less than or equal to the first temperature control brightness value, the brightness value of the screen is adjusted to the desired brightness value.
Compared with the situation that the maximum brightness value of the screen is kept unchanged when the temperature of the terminal changes within the same temperature range in the related art, each temperature value of the terminal disclosed by the embodiment of the disclosure has a temperature control brightness value corresponding to the temperature value, the brightness value of the current screen is adjusted based on the temperature control brightness value corresponding to any acquired temperature value, and the fluctuation of the brightness of the screen can be reduced.
Fig. 4 is a flowchart illustrating another screen brightness adjustment method according to an exemplary embodiment of the present disclosure. In the description of this embodiment, the same steps as those in any of the foregoing embodiments will be briefly described, and detailed descriptions thereof will be omitted, specifically referring to any of the foregoing embodiments. As shown in FIG. 4, the exemplary embodiment method may include the steps of:
in step 400, at intervals of a first duration, triggering measurement of a temperature value of the terminal.
In this example, the determination may trigger the adjustment of the brightness value of the screen every first time period, wherein the terminal may determine to trigger the adjustment of the brightness value of the screen based on the measured temperature value of the terminal. Specifically, the terminal may trigger to measure the temperature value of the terminal every time the first duration is set, so as to trigger to adjust the brightness value of the screen.
The first time period may be set by the relevant staff based on the actual situation.
In an alternative example, the first time period may be set to 10 seconds. Namely, every 10 seconds, the operating system of the terminal can be triggered to measure and acquire the temperature value of the terminal.
In another alternative example, the first time period may be set to 6 seconds. Namely, every 6 seconds, the operating system of the terminal can be triggered to measure and acquire the shell temperature of the terminal. Thereby increasing the frequency of adjusting the brightness value of the screen to a certain extent, so that the brightness fluctuation of the screen is smaller.
In step 402, it is determined whether the current temperature value of the terminal is greater than the previous temperature value.
From the foregoing, it can be obtained that the temperature value of the terminal is measured and obtained every time the operating system of the terminal is spaced for the first duration. In the description of the present example, the first time period is described as 10 seconds.
And when the temperature value of the terminal acquired by the operating system of the terminal is greater than the temperature value of the terminal acquired before 10 seconds, indicating that the terminal is in the temperature rise process. For example, the temperature value of the terminal obtained currently is 37 ℃, the temperature value of the terminal obtained 10 seconds ago is 36.8 ℃, and the temperature value of the terminal obtained 37 ℃ is greater than 36.8 ℃, which indicates that the terminal is in the temperature rise process. At this point, step 404a continues.
When the temperature value of the terminal acquired by the operating system of the terminal is less than or equal to the temperature value of the terminal acquired before 10 seconds, it is indicated that the terminal is in a cooling process or the temperature of the terminal is in a relatively stable stage. For example, the temperature value of the terminal obtained currently is 37 ℃, the temperature value of the terminal obtained 10 seconds ago is 37.2 ℃, and the temperature value of the terminal is less than 37.2 ℃ because the temperature of the terminal is less than 37.2 ℃, which indicates that the terminal is in the cooling process. At this point, step 404b continues.
In step 404a, the current temperature value is determined as the first temperature value.
In step 404b, an average temperature value of the terminal in a second time period is determined as the first temperature value.
In one optional example, the second duration may be greater than the first duration.
When the terminal calculates the average temperature value in the second time period, the average value of one or more temperature values measured in the second time period may be used as the average temperature value, and the average temperature value may be determined as the first temperature value.
For example, the first time period is 6 seconds, the second time period is 15 seconds, two temperature values are measured by the terminal in the second time period, and the terminal may use an average value of the two temperature values as an average temperature value of the terminal in the second time period, and then determine the average temperature value as the first temperature value.
In one optional example, the second duration may be greater than the first duration and a positive integer multiple of the first duration.
For example, when the first time period is the aforementioned 6 seconds, the second time period may be 12 seconds, 18 seconds, or the like. When the first time period is the aforementioned 10 seconds, the second time period may be 20 seconds, 30 seconds, or the like.
It should be noted that, in order to prevent the brightness fluctuation of the screen from being too large, the setting of the second time period described above is not necessarily too long. For example, it should be no greater than 30 seconds, etc.
In an optional example, when a difference between the historical temperature value and the average temperature value is greater than a preset difference, the average temperature value may be determined as the first temperature value.
And the historical temperature value is the temperature value of the terminal when the brightness value of the screen is triggered and adjusted last time. The preset difference may be, for example, 0.5 ℃,1 ℃, etc., which is not limited in the present disclosure.
For example, the historical temperature value may be 37 degrees celsius, and the preset difference may be 0.5 degrees celsius, for example. That is, when the average temperature value is less than 36.5 ℃, the average temperature value may be determined as the first temperature value.
The operation of this step will be described in detail by taking the following as an example:
if the historical temperature value is 37 ℃, the predetermined difference is 0.5 ℃. The first time period is 10 seconds, and the second time period is 30 seconds.
The temperature values of the terminal acquired by the terminal within 30 seconds may be, for example: the average temperature value within 30 seconds is 36.675 ℃ calculated at 37 ℃, 36.8 ℃, 36.5 ℃ and 36.4 ℃. Since the difference between 37 ℃ and 36.675 ℃ is 0.325 ℃ and less than the preset difference of 0.5 ℃, the step of determining the average temperature value as the first temperature value is not performed.
Correspondingly, the operating system of the terminal will continue to monitor the temperature of the terminal, and if the temperature of the terminal obtained after 10 seconds is 36 ℃. Then, the temperature value of the terminal acquired by the terminal within 30 seconds becomes: the average temperature value within 30 seconds is calculated to be 36.425 ℃ at 36.8 ℃, 36.5 ℃, 36.4 ℃ and 36 ℃. Since the difference between 37 ℃ and 36.425 ℃ is 0.575 ℃ and is greater than the preset difference by 0.5 ℃, at this time, the step of determining the average temperature value as the first temperature value is performed.
It should be noted that the above description of the data regarding the time length, the preset difference value, etc. is only illustrative, and is intended to enable those skilled in the art to better understand the technical solution of the present disclosure. In a specific implementation process, the above data may be set by a person skilled in the art based on practical situations, and the disclosure does not limit the present disclosure.
According to the screen brightness adjusting method, when the terminal is in a cooling process or the temperature of the terminal is in a relatively stable stage, and when the difference between the average temperature value of the terminal in a preset time period and the temperature value of the terminal in the previous trigger adjustment of the brightness value of the screen is greater than a preset difference value, the average temperature value is determined as the first temperature value, and a subsequent screen brightness adjusting process is performed according to the first temperature value. Therefore, on the premise of ensuring that the brightness fluctuation of the terminal screen is not large, the times of adjusting the screen brightness are further reduced.
In step 406, a first temperature control brightness value corresponding to the first temperature value is determined according to a preset temperature control curve.
In step 408, the brightness value of the screen is adjusted based on at least the first temperature control brightness value.
In an alternative example, a current brightness value of the screen may be obtained. And if the current brightness value of the screen is greater than the first temperature control brightness value, reducing the brightness value of the screen to the first temperature control brightness value.
And the current brightness value of the screen is used for representing the current brightness condition of the screen.
In an alternative example, the current brightness value of the screen may be obtained from a brightness bar of the terminal. Specifically, the current brightness bar state of the terminal may be automatically read by an operating system of the terminal, and the corresponding brightness value may be determined according to the read brightness bar state. The different brightness bar states correspond to different brightness values one to one, and the mapping relationship can be stored in an operating system of the terminal in advance. After the current brightness bar state is read, the corresponding brightness value can be determined according to the mapping relation.
In another alternative example, the operating system of the terminal may directly monitor the brightness value of the terminal screen in real time, which is not limited in this disclosure.
After the current brightness value of the terminal screen is obtained, the current brightness value may be compared with the first temperature control brightness value.
And when the current brightness value is larger than the first temperature control brightness value, reducing the brightness value of the screen from the current brightness value to the first temperature control brightness value, so that the power consumption is reduced, and the increase of the temperature is inhibited.
When the current brightness value is smaller than or equal to the first temperature control brightness value, the brightness value of the current terminal is within the current control range, and therefore the brightness value of the screen does not need to be adjusted.
In an alternative example, the first temperature control brightness value may be set to a maximum brightness value of the screen when the current brightness value is greater than the first temperature control brightness value. Therefore, the brightness value of the terminal screen cannot exceed the first temperature control brightness value in a subsequent period of time, and the temperature rise speed of the terminal is effectively inhibited. In this disclosure, once the terminal detects that the current brightness value of the screen is greater than the first temperature control brightness value, which indicates that the current brightness value of the screen does not meet the requirement of temperature control adjustment, the terminal may set the first temperature control brightness value as the maximum brightness value of the screen.
According to the screen brightness adjusting method provided by the embodiment of the disclosure, when the terminal is detected to be in a temperature rise process, when the temperature of the terminal rises, the current temperature value is determined as the first temperature value, and the brightness value of the terminal screen is adjusted based on the first temperature control brightness value corresponding to the first temperature value. Thereby better stabilizing the temperature rise rate. And when the terminal is detected to be in a cooling state or the temperature of the terminal is in a relatively stable stage, determining an average temperature value of the terminal in a preset time period as the first temperature value, and adjusting the brightness value of the terminal screen based on a first temperature control brightness value corresponding to the first temperature value. Therefore, on the premise of ensuring that the screen brightness fluctuation is not large, the times of adjusting the screen brightness are reduced.
Fig. 5 is a flowchart illustrating another screen brightness adjustment method according to an exemplary embodiment of the present disclosure. In the description of the present embodiment, the same steps as those in any of the foregoing embodiments will be briefly described, and detailed descriptions thereof will be omitted, so that reference may be made to any of the foregoing embodiments. As shown in FIG. 5, the exemplary embodiment method may include the steps of:
in step 500, if a brightness bar adjustment command is received or a change in ambient light is detected, a first temperature value of the terminal is determined.
In an optional example, when the terminal receives an instruction for adjusting a brightness bar of the terminal from a user, or when the terminal senses that current ambient light is changed, for example, the light is dark and dark, it may determine to trigger adjustment of a brightness value of the screen, and at this time, the terminal may obtain a temperature value of the terminal measured when the brightness value of the screen is triggered to be adjusted, where the temperature value measured in real time is the first temperature value.
In step 502, a first temperature control brightness value corresponding to the first temperature value is determined according to a preset temperature control curve.
In step 504, a desired brightness value of the screen is determined based on the brightness bar adjustment instruction or the changed ambient illumination.
In an alternative example, the desired brightness value may be determined based on a user's adjustment instruction for a brightness bar of the terminal. At this time, the desired brightness value is a brightness value that the user desires the terminal screen to display.
Specifically, the operating system of the terminal may monitor the state of the brightness bar of the terminal in real time, and when it is determined that the state of the brightness bar is changed, determine a brightness value corresponding to the changed state of the brightness bar, where the brightness value is the expected brightness value.
In another alternative example, the desired brightness value may be determined based on the changed ambient illumination. At this time, the desired brightness value is a brightness value adapted to the intensity of the ambient light.
Specifically, a light source sensor may be installed in the terminal. The operating system of the terminal can adjust the screen brightness value of the terminal according to the light intensity of the light source sensor.
For example, the correspondence between the exposure intensity and the screen brightness value may be as shown in table 1 below:
TABLE 1
Intensity of light sensing Screen brightness value
[0,200) 25
[200,400) 55
[400,1000) 70
[1000,3000) 90
[3000, infinity) 250
When the value of the light sensing intensity of the light source sensor is in a certain interval, the screen brightness value of the terminal is the screen brightness value corresponding to the interval. For example, when the light intensity is 800, it is determined that the value is in the interval of [400, 1000) according to the above table 1, and the corresponding screen brightness value is 70. The desired luminance value is 70.
The above description of the correspondence relationship between the light-sensitive intensity and the screen brightness value is only illustrative, and in practical applications, the user may modify the range and the number of the light-sensitive intervals and the screen brightness value corresponding to each interval arbitrarily based on practical situations, which is not limited by the present disclosure.
In step 506, it is determined whether the desired brightness value is greater than the first temperature control brightness value.
And when the adjusted desired brightness value is greater than the first temperature control brightness value, executing step 508a.
When the adjusted desired brightness value is less than or equal to the first temperature control brightness value, step 508b is executed.
In step 508a, the brightness value of the screen is adjusted to the first temperature control brightness value.
In step 508b, the brightness value of the screen is adjusted to the desired brightness value.
In one optional example, the first temperature control brightness value may be set to a maximum brightness value of the screen when a current brightness value of the screen is greater than the first temperature control brightness value. Therefore, the brightness value of the terminal screen cannot exceed the first temperature control brightness value in a subsequent period of time, and the temperature rise speed of the terminal is effectively inhibited. In this disclosure, no matter whether the terminal receives the brightness bar adjustment instruction or whether it detects that the ambient illumination changes, once the terminal detects that the current brightness value of the screen is greater than the first temperature control brightness value, which indicates that the current brightness value of the screen does not meet the requirement of temperature control adjustment, the terminal may set the first temperature control brightness value as the maximum brightness value of the screen at this time.
According to the screen brightness adjusting method provided by the embodiment of the disclosure, when the adjusted expected brightness value is greater than the first temperature control brightness value, the brightness value of the screen can be adjusted to the first temperature control brightness value. And when the adjusted expected brightness value is smaller than or equal to the first temperature control brightness value, adjusting the brightness value of the screen to the expected brightness value, thereby effectively controlling the temperature rise speed of the terminal.
Fig. 6 shows a threshold dimming method (the maximum brightness value of the screen is limited to 1000 nits when the temperature of the terminal reaches 35 c, 800 nits when the temperature of the terminal reaches 37 c, and 1000 nits when the temperature of the terminal is in the range of 35 c, 37 c). ) And the contrast graph is actually measured during the operation of the screen brightness adjusting method provided by the embodiment of the disclosure. As can be seen from the figure, the screen brightness adjusting method provided by the embodiment of the disclosure has a better control effect on the terminal temperature rise. And, the adjustment process for the terminal brightness is smoother, and the fluctuation of the brightness of the screen can be reduced.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Fig. 7 is a schematic structural diagram of a screen brightness adjusting apparatus according to an exemplary embodiment of the present disclosure, and as shown in fig. 7, the screen brightness adjusting apparatus may include:
a temperature value determining module 71, configured to determine a first temperature value of the terminal in response to determining that the brightness value of the screen is triggered to be adjusted.
The temperature control brightness value determining module 72 is configured to determine a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve.
And a brightness value adjusting module 73, configured to adjust a brightness value of the screen based on at least the first temperature control brightness value.
Optionally, when the temperature value determining module 71 is configured to determine to trigger the adjustment of the brightness value of the screen, the temperature value determining module includes:
and determining to trigger the adjustment of the brightness value of the screen every interval of the first time length.
Optionally, as shown in fig. 8, on the basis of the module shown in fig. 7, the screen brightness adjusting device may further include:
and the temperature value measuring module 81 is used for triggering and measuring the temperature value of the terminal every interval of the first duration.
The temperature value determining module 71, when configured to determine the first temperature value of the terminal, includes:
and if the current temperature value of the terminal is greater than the last temperature value, determining the current temperature value as the first temperature value.
And if the current temperature value is less than or equal to the last temperature value, determining the average temperature value of the terminal in a second time period as the first temperature value.
Optionally, when the temperature value determining module 71 is configured to determine the average temperature value of the terminal in the second time period as the first temperature value, the method includes:
if the difference value between the historical temperature value and the average temperature value is larger than a preset difference value, determining the average temperature value as the first temperature value; and the historical temperature value is the temperature value of the terminal when the brightness value of the screen is triggered and adjusted last time.
Optionally, when the brightness value adjusting module 73 is configured to adjust the brightness value of the screen based on at least the first temperature control brightness value, the brightness value adjusting module includes:
and if the current brightness value of the screen is greater than the first temperature control brightness value, reducing the brightness value of the screen to the first temperature control brightness value.
Optionally, when the temperature value determining module 71 is configured to determine to trigger the adjustment of the brightness value of the screen, the temperature value determining module includes:
if a brightness bar adjusting instruction is received, determining to trigger the adjustment of the brightness value of the screen; or
And determining to trigger the adjustment of the brightness value of the screen if the change of the ambient light is detected.
Optionally, the temperature value determining module 71, when configured to determine the first temperature value of the terminal, includes:
and determining the temperature value of the terminal measured when the brightness value of the screen is triggered to be adjusted as the first temperature value.
Optionally, as shown in fig. 9, on the basis of the module shown in fig. 7, the screen brightness adjusting device may further include:
a desired brightness value determining module 91, configured to determine a desired brightness value of the screen based on the brightness bar adjusting instruction or the changed ambient illumination.
The brightness value adjusting module 73, when configured to adjust the brightness value of the screen based on at least the first temperature control brightness value, includes:
and if the expected brightness value is larger than the first temperature control brightness value, adjusting the brightness value of the screen to the first temperature control brightness value.
Adjusting the brightness value of the screen to the desired brightness value if the desired brightness value is less than or equal to the first temperature controlled brightness value.
Optionally, as shown in fig. 10, on the basis of the module shown in fig. 7, the screen brightness adjusting device may further include:
a maximum brightness value setting module 101, configured to set the first temperature control brightness value as a maximum brightness value of the screen.
Optionally, as shown in fig. 11, on the basis of the module shown in fig. 8, the screen brightness adjusting device may further include:
a maximum brightness value setting module 101, configured to set the first temperature control brightness value as a maximum brightness value of the screen.
Optionally, as shown in fig. 12, on the basis of the module shown in fig. 9, the screen brightness adjusting device may further include:
a maximum brightness value setting module 101, configured to set the first temperature control brightness value as a maximum brightness value of the screen.
For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to execute the screen brightness adjusting method of any embodiment of the present disclosure.
Fig. 13 is a schematic diagram illustrating a structure of an electronic device 1300 according to an example embodiment. For example, the electronic device 1300 may be a user device, which may be embodied as a mobile phone, a computer, a tablet device, a medical device, a wearable device such as a smart watch, and the like.
Referring to fig. 13, electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communications component 1316.
The processing component 1302 generally controls overall operation of the electronic device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1306 provides power to the various components of the electronic device 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1300.
The multimedia component 1308 includes a screen between the electronic device 1300 and a user as described above that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 1300 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the electronic device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the electronic device 1300, the relative positioning of components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in the position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, orientation or acceleration/deceleration of the electronic device 1300, and a change in the temperature of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the electronic device 1300 and other devices in a wired or wireless manner. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi,4G or 5g,4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 described above further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1304 including instructions that, when executed by the processor 1320 of the electronic device 1300, enable the electronic device 1300 to perform a screen brightness adjustment method, the method including:
in response to determining to trigger adjusting the brightness value of the screen, determining a first temperature value of the terminal.
And determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve.
And adjusting the brightness value of the screen at least based on the first temperature control brightness value.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A screen brightness adjusting method is applied to a terminal and comprises the following steps:
in response to determining to trigger adjusting the brightness value of the screen, determining a first temperature value of the terminal;
determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve;
and adjusting the brightness value of the screen at least based on the first temperature control brightness value.
2. The method of claim 1, further comprising:
triggering and measuring the temperature value of the terminal every first time length;
the determining triggers adjusting brightness values of the screen, including:
and determining to trigger the adjustment of the brightness value of the screen based on the measured temperature value of the terminal.
3. The method of claim 2, wherein determining the first temperature value for the terminal comprises:
if the current temperature value of the terminal is larger than the previous temperature value, determining the current temperature value as the first temperature value;
and if the current temperature value is less than or equal to the last temperature value, determining the average temperature value of the terminal in a second time period as the first temperature value.
4. The method according to claim 3, wherein the determining the average temperature value of the terminal in the second time period as the first temperature value comprises:
if the difference value between the historical temperature value and the average temperature value is larger than a preset difference value, determining the average temperature value as the first temperature value; and the historical temperature value is the temperature value of the terminal when the brightness value of the screen is triggered and adjusted last time.
5. The method of claim 2, wherein said adjusting the brightness value of the screen based on at least the first temperature controlled brightness value comprises:
and if the current brightness value of the screen is greater than the first temperature control brightness value, reducing the brightness value of the screen to the first temperature control brightness value.
6. The method of claim 1, wherein the determining to trigger adjusting a brightness value of the screen comprises:
determining to trigger adjustment of the brightness value of the screen based on the received brightness bar adjustment instruction; or
Determining to trigger adjustment of a brightness value of the screen based on a change in ambient lighting.
7. The method of claim 6, wherein determining the first temperature value for the terminal comprises:
and determining the temperature value of the terminal measured when the brightness value of the screen is triggered to be adjusted as the first temperature value.
8. The method of claim 6, further comprising:
determining a desired brightness value of the screen based on the brightness bar adjustment instruction or the changed ambient illumination;
the adjusting the brightness value of the screen based on at least the first temperature control brightness value comprises:
if the desired brightness value is greater than the first temperature control brightness value, adjusting the brightness value of the screen to the first temperature control brightness value;
adjusting the brightness value of the screen to the desired brightness value if the desired brightness value is less than or equal to the first temperature controlled brightness value.
9. The method according to any one of claims 1-8, further comprising:
and if the current brightness value of the screen is greater than the first temperature control brightness value, setting the first temperature control brightness value as the maximum brightness value of the screen.
10. A screen brightness adjusting device is applied to a terminal, and comprises:
the temperature value determining module is used for responding to the determination of the brightness value of the screen, and determining a first temperature value of the terminal;
the temperature control brightness value determining module is used for determining a first temperature control brightness value corresponding to the first temperature value according to a preset temperature control curve;
and the brightness value adjusting module is used for adjusting the brightness value of the screen at least based on the first temperature control brightness value.
11. A computer-readable storage medium on which a computer program is stored, the program being characterized in that when executed by a processor it implements the screen brightness adjustment method of any one of claims 1 to 9.
12. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the screen brightness adjustment method of any one of claims 1 to 9.
CN202210938694.8A 2022-08-05 2022-08-05 Screen brightness adjusting method and device, storage medium and electronic equipment Pending CN115311974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210938694.8A CN115311974A (en) 2022-08-05 2022-08-05 Screen brightness adjusting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210938694.8A CN115311974A (en) 2022-08-05 2022-08-05 Screen brightness adjusting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115311974A true CN115311974A (en) 2022-11-08

Family

ID=83861239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210938694.8A Pending CN115311974A (en) 2022-08-05 2022-08-05 Screen brightness adjusting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115311974A (en)

Similar Documents

Publication Publication Date Title
US11311195B2 (en) Electronic device, and method for analyzing face information in electronic device
CN110796988B (en) Backlight adjusting method and device
RU2712118C1 (en) Method of controlling screen display and device using said method
EP3032821A1 (en) Method and device for shooting a picture
CN109189185B (en) Terminal temperature adjusting method and device
CN108200279B (en) Backlight adjusting method, device and equipment
CN108922479B (en) Method and device for managing liquid crystal display module
US20180204500A1 (en) Method and device for enhancing contrast
EP3660822A1 (en) Screen display method and screen display device
US11011124B2 (en) Method and device for adjusting current of backlight, and storage medium
CN115311974A (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN115713923A (en) Terminal control method, device, medium and chip
CN106775541B (en) Electronic device and screen display method
CN107528098B (en) Charging method and device
CN115866128A (en) Electronic device control method, electronic device control device, electronic device control medium, and electronic device
CN115173495A (en) Charging control method, charging control device and storage medium
CN108874482B (en) Image processing method and device
CN108304288B (en) Method, device and storage medium for acquiring bandwidth utilization rate
CN112951162A (en) Display screen and control method and device thereof
CN111383568A (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN112019680A (en) Screen brightness adjusting method and device
CN112086075A (en) Screen display parameter adjusting method and device and storage medium
CN113138036B (en) Temperature detection method and device and electronic equipment
US11635468B2 (en) Method, apparatus and storage medium for determining charging time length of battery

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