CN112885311A - Display screen brightness control method and system, storage medium and terminal equipment - Google Patents

Display screen brightness control method and system, storage medium and terminal equipment Download PDF

Info

Publication number
CN112885311A
CN112885311A CN202110120028.9A CN202110120028A CN112885311A CN 112885311 A CN112885311 A CN 112885311A CN 202110120028 A CN202110120028 A CN 202110120028A CN 112885311 A CN112885311 A CN 112885311A
Authority
CN
China
Prior art keywords
value
display screen
brightness
time interval
light
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
CN202110120028.9A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110120028.9A priority Critical patent/CN112885311A/en
Publication of CN112885311A publication Critical patent/CN112885311A/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
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • 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)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method, a system, a storage medium and a terminal device for controlling the brightness of a display screen, wherein the method comprises the following steps: acquiring a light value of an environment where the terminal equipment is located; and setting a time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value. The time interval for adjusting the display brightness of the display screen is set according to the front-back variation relation of the light values, and the total working time length for adjusting the brightness of the display screen can be reduced by adjusting the time interval, so that the display screen does not need to be in a working state of always adjusting the brightness, and the purpose of reducing the energy loss of the display screen is achieved.

Description

Display screen brightness control method and system, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of display screen brightness control, in particular to a display screen brightness control method, a display screen brightness control system, a storage medium and terminal equipment.
Background
In order to save the energy in the use process of the mobile terminal, the mobile terminal can adjust the brightness of the display screen through light sensing at present, namely, the brightness of the display screen is controlled to be brighter when the light sensing detects brighter, and the brightness of the display screen is controlled to be darker when the light sensing detects darker. Since the mobile terminal changes with the ambient light around the user, the user is most likely to be in an environment with changing light, and the user himself/herself can move to different environments, under which the brightness of the display screen is usually adjusted by the terminal device in real time according to the change of the ambient light, so that the terminal device consumes more energy when adjusting the brightness of the display screen.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method, a system, a storage medium, and a terminal device for controlling brightness of a display screen, which aim to solve the problem that the terminal device consumes more energy when adjusting the brightness of the display screen.
The technical scheme of the invention is as follows:
a method for controlling the brightness of a display screen comprises the following steps:
acquiring a light value of an environment where the terminal equipment is located;
and setting a time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value.
The method for controlling the brightness of the display screen comprises the following steps of setting and adjusting the time interval of the display brightness of the display screen according to the change relation between the current light value and the last light value:
subtracting the current light value and the last light value to obtain a difference value, and obtaining a quotient value between the absolute value of the difference value and the last light value;
comparing the quotient value with a preset threshold value;
and setting a time interval for adjusting the display brightness of the display screen according to the comparison result.
The method for controlling the brightness of the display screen, wherein the step of setting and adjusting the time interval of the display brightness of the display screen according to the comparison result comprises the following steps:
if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen to be t;
if the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen to be t1, wherein t1 is smaller than t;
if the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen to be t2, wherein t2 is larger than t.
The control method of the display screen brightness comprises the steps of setting the time interval of the display screen brightness as a function F (x) if the quotient is smaller than the preset threshold, wherein x is the magnitude of the quotient, the value of the function F (x) is larger than t, and the function F (x) decreases with the increase of x and increases with the decrease of x.
The control method of the display screen brightness comprises the steps of setting the time interval of the display screen brightness of the display screen to be a function F (x) if the quotient is larger than the preset threshold, wherein x is the magnitude of the quotient, the value of the function F (x) is smaller than t, and the function F (x) decreases with the increase of x and increases with the decrease of x.
The control method of the display screen brightness further comprises the following steps:
a corresponding relation table of light values and display screen brightness values is preset in the terminal equipment;
and the terminal equipment regulates and controls the brightness value of the display screen according to the set time interval, the corresponding relation table and the current light value.
The method for controlling the brightness of the display screen comprises the following steps of:
a light sensor is preset in the terminal equipment;
and acquiring a light value of the environment where the terminal equipment is located in real time through the light sensor.
A system for controlling the brightness of a display screen, comprising:
the light sensor is used for acquiring a light value of the environment where the terminal equipment is located;
and the central processing unit is used for setting and adjusting the time interval of the display brightness of the display screen according to the change relation between the current light value and the last light value.
A storage medium, wherein the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps in the method for controlling the brightness of a display screen according to any one of the present invention.
A terminal device, comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions, the instructions adapted to be loaded by a processor and to perform the steps of any of the methods for controlling display screen brightness of the present invention.
Has the advantages that: compared with the prior art, the invention provides a method for controlling the brightness of the display screen, which comprises the steps of firstly obtaining the light value of the environment where the terminal equipment is located, and then setting and adjusting the time interval of the display brightness of the display screen according to the change relation between the current light value and the last light value. The time interval for adjusting the display brightness of the display screen is set according to the front-back variation relation of the light values, and the total working time length for adjusting the brightness of the display screen can be reduced by adjusting the time interval, so that the display screen does not need to be in a working state of always adjusting the brightness, and the purpose of reducing the energy loss of the display screen is achieved.
Drawings
FIG. 1 is a flowchart illustrating a method for controlling brightness of a display panel according to a preferred embodiment of the present invention.
FIG. 2 is a block diagram of a system for controlling the brightness of a display panel according to a preferred embodiment of the present invention.
Fig. 3 is a schematic block diagram of the terminal device of the present invention.
Detailed Description
The invention provides a method, a system, a storage medium and a terminal device for controlling the brightness of a display screen, and the invention is further described in detail below in order to make the purpose, technical scheme and effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling brightness of a display screen according to a preferred embodiment of the present invention, as shown in the figure, the method includes the following steps:
s10, acquiring a light value of the environment where the terminal equipment is located;
and S20, setting the time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value.
Specifically, in the prior art, the terminal device regulates and controls the brightness of the display screen in real time according to the light value of the environment where the terminal device is located, that is, when the ambient light is bright, the brightness of the display screen is controlled to be bright, and when the light environment is dark, the brightness of the display screen is controlled to be dark, so that a user can comfortably and clearly view the content displayed by the display screen. However, the method for regulating and controlling the brightness of the display screen in real time according to the strength of the environmental pipeline enables the terminal equipment to be in a regulating and controlling working state all the time, and energy consumption is high. Based on this, in this embodiment, first, the light value of the environment where the terminal device is located is obtained in real time, and then, the time interval for adjusting the display brightness of the display screen is set according to the relationship between the front and back changes of the light value. The total working time length of the brightness adjustment of the display screen can be reduced by adjusting the time interval, so that the display screen does not need to be in a working state of always adjusting the brightness, and the aim of reducing the energy loss of the display screen is fulfilled.
In some embodiments, the step S10 of obtaining the light value of the environment where the terminal device is located specifically includes: a light sensor is preset in the terminal equipment; and acquiring a light value of the environment where the terminal equipment is located in real time through the light sensor.
Specifically, the Light Sensor is also called a brightness Sensor, and is known as Light-Sensor in english, and many terminal devices such as tablet computers and mobile phones are equipped with the Light Sensor. The screen brightness of the terminal equipment can be automatically adjusted according to the brightness of light rays of the terminal equipment, so that the optimal visual effect is brought to a user. The light sensor is composed of two components, i.e. a light projector and a light receiver, the light projector focuses the light from the lens, and transmits the light to the lens of the light receiver, and then to a receiving sensor, the receiving sensor converts the received light signal into an electric signal, the telecommunication signal can further perform various switching and control actions, and the basic principle is that the signal obtained by the action of shielding the light between the light projector and the light receiver is used to complete various automatic controls. In the embodiment, the light sensor is arranged in the terminal device to acquire the light value of the environment where the terminal device is located in real time.
In some embodiments, the step S20 of setting the time interval for adjusting the display brightness of the display screen according to the variation relationship between the current light value and the last light value includes:
subtracting the current light value and the last light value to obtain a difference value, and obtaining a quotient value between the absolute value of the difference value and the last light value;
comparing the quotient value with a preset threshold value;
and setting a time interval for adjusting the display brightness of the display screen according to the comparison result.
According to the embodiment, the difference value of the current light value and the last light value is not directly used as the judgment condition for setting the time interval for adjusting the display brightness of the display screen, but the current light value and the last light value are subtracted to obtain the difference value, the quotient between the absolute value of the difference value and the last light value is obtained, the quotient is used as the judgment condition for setting the time interval for adjusting the display brightness of the display screen, the time interval for displaying the brightness of the display screen can be set more accurately, the display brightness of the display screen of the terminal device can be ensured to adapt to the environmental change, and meanwhile, the energy consumption of the terminal device can be reduced more efficiently.
In some embodiments, the step of setting the time interval for adjusting the display brightness of the display screen according to the comparison result comprises: if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen to be t; if the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen to be t1, wherein t1 is smaller than t; if the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen to be t2, wherein t2 is larger than t.
Specifically, by setting a preset threshold value, comparing the quotient value with the preset threshold value, if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen as t, and if the quotient value is smaller than the preset threshold value, it indicates that although the change of the light is found, the change of the current light is slight compared with the change of the last time, and the user cannot even sense the change of the light, at this time, the brightness of the display screen can be regulated and controlled at a larger time interval t 2; if the quotient value is larger than the preset threshold value, it indicates that the change of the current light value is larger than that of the last light value, and therefore a smaller time interval t1 needs to be used for regulating and controlling the brightness of the display screen, so that the equipment in the good bus can adapt to the current light as soon as possible.
In some specific embodiments, a preset threshold is set to be 0.1, assuming that the currently measured light value is 950lux, the last measured light value is 1000lux, and the absolute value of the difference between the two values is divided by the last light value, so as to obtain a quotient value of 0.05, where the quotient value is smaller than the preset threshold 0.1, so that the light change felt by the user as a whole is not obvious, and therefore, the brightness of the display screen can be controlled by using a larger time interval t2 (for example, 1s) to achieve the purpose of saving energy; assuming that the currently measured light value is 100lux, the last measured light value is 50lux, the absolute value of the difference between the two values is divided by the last light value to obtain a quotient 0.5, and the quotient is greater than a preset threshold value 0.1, at this time, the user feels that the change of the light is obvious, so that the control of the brightness of the display screen needs to be performed by using a smaller time interval t1 (for example, 0.2s) so that the display screen of the terminal device can adapt to the current light as soon as possible.
In some specific embodiments, the preset threshold is set to 0.1, and the time interval of the display brightness of the display screen is set to 0.5s when the quotient is equal to the preset threshold. If the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen as a function F (x), wherein x is the magnitude of the quotient value, the value of the function F (x) is larger than 0.5s, and the function F (x) decreases with the increase of x and increases with the decrease of x. As an example, assuming that the quotient value is 0.08, the time interval f (x) is set to a value of 0.8 s; setting the value of the time interval f (x) to 1s if the quotient value is 0.05; if the quotient value is 0.01, the time interval f (x) is set to a value of 1.5 s.
In some specific embodiments, the preset threshold is set to 0.1, and when the quotient is set to be equal to the preset threshold, the time interval of the display brightness of the display screen is set to 0.5 s. If the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen as a function F (x), wherein x is the magnitude of the quotient value, the value of the function F (x) is smaller than 0.5s, and the function F (x) decreases with the increase of x and increases with the decrease of x. As an example, if the quotient value is 0.15, the time interval f (x) is set to a value of 0.4 s; setting the value of the time interval f (x) to 0.3s if the quotient value is 0.2; setting the value of the time interval f (x) to 0.2s if the quotient value is 0.25; if the quotient value is 0.3, the time interval f (x) is set to a value of 0.1 s.
In some embodiments, the method for controlling the brightness of the display screen further comprises the steps of:
a corresponding relation table of light values and display screen brightness values is preset in the terminal equipment;
and the terminal equipment regulates and controls the brightness value of the display screen according to the set time interval, the corresponding relation table and the current light value.
Specifically, a corresponding relation table of light values and display screen brightness values is arranged in the terminal device, and the terminal device can find the display screen brightness value corresponding to the current light value according to the corresponding relation table after acquiring the current light value according to the set time interval, so that the brightness of the display screen of the terminal device is regulated and controlled.
In some embodiments, there is also provided a system for controlling brightness of a display screen, as shown in fig. 2, including:
the light sensor 1 is used for acquiring a light value of an environment where the terminal equipment is located;
and the central processing unit 2 is used for setting a time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value.
Specifically, the central processing unit 2 in this embodiment includes a time wheel, a time wheel setting module, and a display screen brightness adjusting module, where the time wheel is used to trigger execution of an operation of adjusting the brightness of the display screen, and the time interval of the time wheel is set by the time wheel setting module; the time wheel disc setting module is used for calculating a corresponding time interval according to the light ray value acquired by the light ray sensor 1 and setting the time interval on the time wheel disc; the display screen brightness adjusting module is used for setting the display screen brightness value according to the light value acquired by the light sensor 1.
In this embodiment, the optical fiber Sensor 1 is also called a brightness Sensor, and is called Light-Sensor in english, and many terminal devices such as tablet computers and mobile phones are equipped with the optical fiber Sensor. The screen brightness of the terminal equipment can be automatically adjusted according to the brightness of light rays of the terminal equipment, so that the optimal visual effect is brought to a user. The light sensor is composed of two components, i.e. a light projector and a light receiver, the light projector focuses the light from the lens, and transmits the light to the lens of the light receiver, and then to a receiving sensor, the receiving sensor converts the received light signal into an electric signal, the telecommunication signal can further perform various switching and control actions, and the basic principle is that the signal obtained by the action of shielding the light between the light projector and the light receiver is used to complete various automatic controls. In the embodiment, the light sensor is arranged in the terminal device to acquire the light value of the environment where the terminal device is located in real time.
In some embodiments, a storage medium is further provided, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps in the method for controlling the brightness of a display screen according to any one of the present invention.
In some embodiments, there is also provided a terminal device, as shown in fig. 3, comprising at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
By way of example, the terminal device includes a processor 20, and the processor 20 may call logic instructions in a memory 22 to execute the following instructions:
acquiring a light value of an environment where the terminal equipment is located;
and setting a time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value.
Specifically, in the prior art, the terminal device regulates and controls the brightness of the display screen in real time according to the light value of the environment where the terminal device is located, that is, when the ambient light is bright, the brightness of the display screen is controlled to be bright, and when the light environment is dark, the brightness of the display screen is controlled to be dark, so that a user can comfortably and clearly view the content displayed by the display screen. However, the method for regulating and controlling the brightness of the display screen in real time according to the strength of the environmental pipeline enables the terminal equipment to be in a regulating and controlling working state all the time, and energy consumption is high. Based on this, in this embodiment, first, the light value of the environment where the terminal device is located is obtained in real time, and then, the time interval for adjusting the display brightness of the display screen is set according to the relationship between the front and back changes of the light value. The total working time length of the brightness adjustment of the display screen can be reduced by adjusting the time interval, so that the display screen does not need to be in a working state of always adjusting the brightness, and the aim of reducing the energy loss of the display screen is fulfilled.
In some embodiments, the processor 20 may also call logic instructions in the memory 22 to execute the following instructions:
subtracting the current light value and the last light value to obtain a difference value, and obtaining a quotient value between the absolute value of the difference value and the last light value;
comparing the quotient value with a preset threshold value;
and setting a time interval for adjusting the display brightness of the display screen according to the comparison result.
According to the embodiment, the difference value of the current light value and the last light value is not directly used as the judgment condition for setting the time interval for adjusting the display brightness of the display screen, but the current light value and the last light value are subtracted to obtain the difference value, the quotient between the absolute value of the difference value and the last light value is obtained, the quotient is used as the judgment condition for setting the time interval for adjusting the display brightness of the display screen, the time interval for displaying the brightness of the display screen can be set more accurately, the display brightness of the display screen of the terminal device can be ensured to adapt to the environmental change, and meanwhile, the energy consumption of the terminal device can be reduced more efficiently.
In some embodiments, the processor 20 may also call logic instructions in the memory 22 to execute the following instructions:
if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen to be t; if the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen to be t1, wherein t1 is smaller than t; if the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen to be t2, wherein t2 is larger than t.
Specifically, by setting a preset threshold value, comparing the quotient value with the preset threshold value, if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen as t, and if the quotient value is smaller than the preset threshold value, it indicates that although the change of the light is found, the change of the current light is slight compared with the change of the last time, and the user cannot even sense the change of the light, at this time, the brightness of the display screen can be regulated and controlled at a larger time interval t 2; if the quotient value is larger than the preset threshold value, it indicates that the change of the current light value is larger than that of the last light value, and therefore a smaller time interval t1 needs to be used for regulating and controlling the brightness of the display screen, so that the equipment in the good bus can adapt to the current light as soon as possible.
For example, a preset threshold value is set to be 0.1, assuming that the currently measured light value is 950lux, the last measured light value is 1000lux, and the absolute value of the difference between the two values is divided by the last light value, so that a quotient value is 0.05, and the quotient value is smaller than the preset threshold value of 0.1, so that the light change felt by the user as a whole is not obvious, and therefore, the brightness of the display screen can be regulated and controlled by a larger time interval t2 (for example, 1s) to achieve the purpose of saving energy; assuming that the currently measured light value is 100lux, the last measured light value is 50lux, the absolute value of the difference between the two values is divided by the last light value to obtain a quotient 0.5, and the quotient is greater than a preset threshold value 0.1, at this time, the user feels that the change of the light is obvious, so that the control of the brightness of the display screen needs to be performed by using a smaller time interval t1 (for example, 0.2s) so that the display screen of the terminal device can adapt to the current light as soon as possible.
For example, a preset threshold is set to be 0.1, and when the quotient is equal to the preset threshold, the time interval of displaying the brightness of the display screen is set to be 0.5 s. If the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen as a function F (x), wherein x is the magnitude of the quotient value, the value of the function F (x) is larger than 0.5s, and the function F (x) decreases with the increase of x and increases with the decrease of x. As an example, assuming that the quotient value is 0.08, the time interval f (x) is set to a value of 0.8 s; setting the value of the time interval f (x) to 1s if the quotient value is 0.05; if the quotient value is 0.01, the time interval f (x) is set to a value of 1.5 s.
For example, the preset threshold is set to 0.1, and when the quotient is set to be equal to the preset threshold, the time interval of the display brightness of the display screen is set to 0.5 s. If the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen as a function F (x), wherein x is the magnitude of the quotient value, the value of the function F (x) is smaller than 0.5s, and the function F (x) decreases with the increase of x and increases with the decrease of x. As an example, if the quotient value is 0.15, the time interval f (x) is set to a value of 0.4 s; setting the value of the time interval f (x) to 0.3s if the quotient value is 0.2; setting the value of the time interval f (x) to 0.2s if the quotient value is 0.25; if the quotient value is 0.3, the time interval f (x) is set to a value of 0.1 s.
In this embodiment, the terminal device may be any device including a touch screen, such as a mobile phone and a tablet.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
In summary, the present invention provides a method for controlling brightness of a display screen, in which a light sensor is disposed in a terminal device to detect a correspondence between a light value and a time interval, and a time wheel is disposed in the terminal device; detecting a light value detected by a light sensor of the terminal equipment, subtracting the light value detected by the light sensor at this time from the light value detected by the light sensor obtained last time, and taking the quotient of the absolute value and the light value obtained last time; setting the brightness value of the display screen according to the light value detected by the light sensor; and calculating the time interval according to the corresponding relation between the light value and the time interval set in the terminal equipment and the quotient of the obtained absolute value and the last light value, and adjusting the overtime time into a time wheel. When light detection is carried out according to the terminal equipment, the working time length of the light sensing body can be reduced, so that the light sensing body does not need to be in a working state all the time, and the purpose of reducing energy loss of the light sensing body is achieved.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for controlling the brightness of a display screen is characterized by comprising the following steps:
acquiring a light value of an environment where the terminal equipment is located;
and setting a time interval for adjusting the display brightness of the display screen according to the change relation between the current light value and the last light value.
2. The method for controlling the brightness of the display screen according to claim 1, wherein the step of setting the time interval for adjusting the display brightness of the display screen according to the variation relationship between the current light value and the last light value comprises:
subtracting the current light value and the last light value to obtain a difference value, and obtaining a quotient value between the absolute value of the difference value and the last light value;
comparing the quotient value with a preset threshold value;
and setting a time interval for adjusting the display brightness of the display screen according to the comparison result.
3. The method for controlling the brightness of the display screen according to claim 2, wherein the step of setting the time interval for adjusting the display brightness of the display screen according to the comparison result comprises:
if the quotient value is equal to the preset threshold value, setting the time interval of the display brightness of the display screen to be t;
if the quotient value is larger than the preset threshold value, setting the time interval of the display brightness of the display screen to be t1, wherein t1 is smaller than t;
if the quotient value is smaller than the preset threshold value, setting the time interval of the display brightness of the display screen to be t2, wherein t2 is larger than t.
4. The method for controlling the brightness of the display screen according to claim 3, wherein if the quotient is smaller than the preset threshold, the time interval of the display brightness of the display screen is set as a function F (x), wherein x is the magnitude of the quotient, the value of the function F (x) is larger than t, and the function F (x) decreases as x increases and increases as x decreases.
5. The method according to claim 3, wherein if the quotient is greater than the predetermined threshold, the time interval of the display brightness of the display screen is set as a function f (x), where x is the magnitude of the quotient, the value of the function f (x) is less than t, and the function f (x) decreases as x increases and increases as x decreases.
6. The method for controlling the brightness of the display screen according to claim 1, further comprising the steps of:
a corresponding relation table of light values and display screen brightness values is preset in the terminal equipment;
and the terminal equipment regulates and controls the brightness value of the display screen according to the set time interval, the corresponding relation table and the current light value.
7. The method for controlling the brightness of the display screen according to claim 1, wherein the step of obtaining the light value of the environment where the terminal device is located comprises:
a light sensor is preset in the terminal equipment;
and acquiring a light value of the environment where the terminal equipment is located in real time through the light sensor.
8. A system for controlling the brightness of a display screen, comprising:
the light sensor is used for acquiring a light value of the environment where the terminal equipment is located;
and the central processing unit is used for setting and adjusting the time interval of the display brightness of the display screen according to the change relation between the current light value and the last light value.
9. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the method for controlling the brightness of a display screen according to any one of claims 1-7.
10. A terminal device comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the steps of the method of controlling the brightness of a display screen according to any one of claims 1 to 7.
CN202110120028.9A 2021-01-28 2021-01-28 Display screen brightness control method and system, storage medium and terminal equipment Pending CN112885311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110120028.9A CN112885311A (en) 2021-01-28 2021-01-28 Display screen brightness control method and system, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110120028.9A CN112885311A (en) 2021-01-28 2021-01-28 Display screen brightness control method and system, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN112885311A true CN112885311A (en) 2021-06-01

Family

ID=76053162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110120028.9A Pending CN112885311A (en) 2021-01-28 2021-01-28 Display screen brightness control method and system, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN112885311A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117558254A (en) * 2024-01-11 2024-02-13 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789230A (en) * 2009-01-24 2010-07-28 联想(北京)有限公司 Electronic equipment and display device screen brightness adjusting method thereof
CN102682716A (en) * 2012-04-28 2012-09-19 深圳光启创新技术有限公司 Method and device for regulating screen brightness and electronic device
CN105869603A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Screen brightness regulation method and device
CN106023903A (en) * 2016-05-13 2016-10-12 广东欧珀移动通信有限公司 Backlight adjustment method and terminal device
CN206411481U (en) * 2016-12-20 2017-08-15 歌尔科技有限公司 A kind of display brightness self-regulation device and Intelligent worn device
CN207517343U (en) * 2017-10-20 2018-06-19 广东虚拟现实科技有限公司 Brightness control system and augmented reality equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789230A (en) * 2009-01-24 2010-07-28 联想(北京)有限公司 Electronic equipment and display device screen brightness adjusting method thereof
CN102682716A (en) * 2012-04-28 2012-09-19 深圳光启创新技术有限公司 Method and device for regulating screen brightness and electronic device
CN105869603A (en) * 2015-09-22 2016-08-17 乐视致新电子科技(天津)有限公司 Screen brightness regulation method and device
CN106023903A (en) * 2016-05-13 2016-10-12 广东欧珀移动通信有限公司 Backlight adjustment method and terminal device
CN206411481U (en) * 2016-12-20 2017-08-15 歌尔科技有限公司 A kind of display brightness self-regulation device and Intelligent worn device
CN207517343U (en) * 2017-10-20 2018-06-19 广东虚拟现实科技有限公司 Brightness control system and augmented reality equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117558254A (en) * 2024-01-11 2024-02-13 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium
CN117558254B (en) * 2024-01-11 2024-04-26 宁波赛宝信息产业技术研究院有限公司 Display screen brightness adjusting method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107966209B (en) Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus
US20200057557A1 (en) Text input method in touch screen terminal and apparatus therefor
US10761642B2 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
CN112229507B (en) Ambient light detection method and device, storage medium and mobile terminal
CN104811544A (en) Screen brightness adjustment method
US11004369B2 (en) Screen flickering processing method and device, storage medium and electronic
JPWO2014084224A1 (en) Electronic device and line-of-sight input method
CN111857484B (en) Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN111179861A (en) Brightness calibration method and device, storage medium and terminal
CN106778623A (en) Terminal screen control method and device and electronic equipment
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
US20220276830A1 (en) Parameter adjustment method and electronic device
CN110221897A (en) Character size adjusting method and device, terminal equipment and medium
CN107967418B (en) Face recognition method and mobile terminal
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
CN107341094B (en) Method and device for measuring time consumed by starting item
CN112328070A (en) Charging control method, charging control device and electronic equipment
CN107040657B (en) Method and device for preventing touch screen from being triggered mistakenly
CN112885311A (en) Display screen brightness control method and system, storage medium and terminal equipment
CN106768311A (en) A kind of environment light detection method, device and terminal
KR20200101067A (en) Electronic device for displaying execution screen of application and controlling method thereof
CN110471524B (en) Display control method and terminal equipment
CN112509510A (en) Brightness adjusting method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601