CN105575334B - A kind of screen luminance adjustment method and user terminal - Google Patents
A kind of screen luminance adjustment method and user terminal Download PDFInfo
- Publication number
- CN105575334B CN105575334B CN201510408609.7A CN201510408609A CN105575334B CN 105575334 B CN105575334 B CN 105575334B CN 201510408609 A CN201510408609 A CN 201510408609A CN 105575334 B CN105575334 B CN 105575334B
- Authority
- CN
- China
- Prior art keywords
- light intensity
- brightness
- ambient light
- intensity value
- backlight source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000007423 decrease Effects 0.000 claims description 21
- 238000001514 detection method Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 11
- 230000000903 blocking effect Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 210000000887 face Anatomy 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000001678 irradiating effect Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
The embodiment of the invention discloses a kind of screen luminance adjustment method and user terminals.Wherein, this method includes:The first environment light intensity value of current luminous environment is measured by the first light sensor, and the second environment light intensity value of current luminous environment is measured by the second light sensor;The brightness for adjusting the matched first backlight lamp source of first light sensor is consistent with the first environment light intensity value;Using the second environment light intensity value as foundation, in the correspondence between pre-stored ambient light intensity and backlight lamp source brightness, the brightness value of the corresponding backlight lamp source of the second environment light intensity value is inquired;The brightness for adjusting the matched second backlight lamp source of second light sensor is the brightness value.The accuracy to ambient light conditions testing result can be improved by implementing the embodiment of the present invention, meanwhile, improve the display effect of user terminal screen.
Description
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a screen brightness adjusting method and a user terminal.
Background
With the rapid development of user terminals (such as smart phones and IPADs) and the improvement of people's spiritual life, people increasingly like to use the user terminals for various leisure entertainment, such as watching videos, watching novels, browsing webpages, playing games and the like. Generally, the screen brightness of the user terminal is a key factor affecting the user's viewing. When the ambient light intensity is strong (such as under the sun), the light irradiates the screen of the user terminal and is reflected to human eyes, so that the user can not see the content displayed on the screen clearly, and when the ambient light intensity is dark (such as at night), the screen brightness of the user terminal can become dazzling. In order not to affect the user's view, a single backlight source (e.g., an LED lamp) and a single light sensor are typically used on the user terminal to adjust the brightness of the screen. However, in practice, it is found that only one light sensor is provided on the user terminal, and the operation of the device refers to the error and jitter of the power supply, so that different results may be detected by the same light sensor at different times under the same brightness, which makes the accuracy of the result detected by one light sensor not high under the condition that the external light environment is not changed, and further makes the display effect of the screen poor by adjusting the brightness of the screen according to the detection result with low accuracy.
Disclosure of Invention
The embodiment of the invention provides a screen brightness adjusting method and a user terminal, which can improve the accuracy of an external light environment detection result and improve the display effect of a screen of the user terminal.
The first aspect of the embodiment of the invention discloses a screen brightness adjusting method, which comprises the following steps:
measuring a first ambient light intensity value of a current light environment through a first light sensor, and measuring a second ambient light intensity value of the current light environment through a second light sensor, wherein the first light sensor is used for measuring the ambient light intensity of a user terminal in a first direction, and the second light sensor is used for measuring the ambient light intensity of the user terminal in a second direction;
adjusting the brightness of a first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value;
inquiring the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relation between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value;
and adjusting the brightness of a second backlight source matched with the second light sensor to be the brightness value.
A second aspect of the embodiments of the present invention discloses a user terminal, including:
the measuring unit is used for measuring a first ambient light intensity value of the current light environment through a first light sensor and measuring a second ambient light intensity value of the current light environment through a second light sensor, wherein the first light sensor is used for measuring the ambient light intensity of the user terminal in a first direction, and the second light sensor is used for measuring the ambient light intensity of the user terminal in a second direction;
the adjusting unit is used for adjusting the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value;
the query unit is used for querying the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value;
the adjusting unit is further configured to adjust the brightness of the second backlight source matched with the second light sensor to the brightness value.
In the embodiment of the invention, the user terminal measures a first ambient light intensity value of the current light environment through a first light sensor and measures a second ambient light intensity value of the current light environment through a second light sensor, wherein the first light sensor is used for measuring the ambient light intensity of the user terminal in a first direction, and the second light sensor is used for measuring the ambient light intensity of the user terminal in a second direction; further, the user terminal adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value, queries the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source based on the second ambient light intensity value, and adjusts the brightness of the second backlight source matched with the second light sensor to be the brightness value. Through the embodiment of the invention, after the user terminal measures the first ambient light intensity value through the first light sensor and measures the second ambient light intensity value through the second light sensor, the user terminal adjusts the brightness of the first backlight source to be consistent with the first ambient light intensity value, so that the first backlight source can generate a backlight to eliminate the influence of reflected light generated by the fact that ambient light in the first direction irradiates on the screen of the user terminal on the screen watched by human eyes, further, the user terminal adjusts the brightness of the second backlight source to be the brightness value of the backlight source corresponding to the inquired second ambient light intensity value, and thus, the second backlight source can generate a backlight to adjust the screen brightness of the user terminal to be in accordance with the optimal brightness accepted by the human eyes. Therefore, the embodiment of the invention adopts two light sensors, which not only can improve the accuracy of the detection result of the user terminal on the external light environment, but also can improve the display effect of the screen of the user terminal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for adjusting screen brightness according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a user terminal according to an embodiment of the present invention;
fig. 3 is a schematic view of light propagation of ambient light illuminating a screen of a user terminal according to an embodiment of the present invention.
FIG. 4 is a flow chart illustrating another method for adjusting screen brightness according to the embodiment of the present invention;
FIG. 5 is a flow chart illustrating another method for adjusting screen brightness according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a screen brightness adjusting method and a user terminal, which can improve the accuracy of an external light environment detection result and improve the display effect of a screen of the user terminal. The following are detailed below.
In the embodiment of the present invention, the user terminal may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a palm computer, and other user terminals. The operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for adjusting screen brightness according to an embodiment of the present invention. As shown in fig. 1, the method may include the following steps.
S101, measuring a first ambient light intensity value of the current light environment through a first light sensor, and measuring a second ambient light intensity value of the current light environment through a second light sensor.
In the embodiment of the invention, the user terminal measures the first ambient light intensity value of the current light environment through the first light sensor, and measures the second ambient light intensity value of the current light environment through the second light sensor. The first light sensor is used for measuring the ambient light intensity of the user terminal in the first direction, the second light sensor is used for measuring the ambient light intensity of the user terminal in the second direction, and the current light environment refers to the light environment of the surrounding environment where the user terminal is located at the current moment, but not all the light environments at any moment.
In the embodiment of the present invention, two light sensors, namely, a first light sensor and a second light sensor, are disposed in the user terminal, where the first light sensor and the second light sensor are respectively located on opposite surfaces of the user terminal, for example: the first light sensor is located on the front side of the user terminal (the side of the user terminal screen), and the second light sensor is located on the back side of the user terminal (the side of the user terminal rear cover), or the first light sensor is located on the back side of the user terminal, and the second light sensor is located on the front side of the user terminal.
In the embodiment of the present invention, the first direction and the second direction are two different directions. For example, if the first light sensor is located on the front side of the user terminal and the second light sensor is located on the back side of the user terminal, when the screen of the user terminal faces upward, the first light sensor faces upward from the front side of the user terminal, and the second light sensor faces downward from the back side of the user terminal, then the first direction is the upward direction from the front side of the user terminal, and the second direction is the downward direction from the back side of the user terminal; when the screen of the user terminal faces downwards, the orientation of the first light sensor is downward from the front of the user terminal, the orientation of the second light sensor is upward from the back of the user terminal, at the moment, the first direction is downward from the front of the user terminal, and the second direction is upward from the back of the user terminal. Obviously, the first light sensor measures a first ambient light intensity value of the current light environment sensed at the front side of the user terminal, and the second light sensor measures a second ambient light intensity value of the current light environment sensed at the back side of the user terminal. In the embodiment of the present invention, the first light sensor measures the ambient light intensity on the front surface and the back surface of the user terminal, and the ambient light intensities in different directions on the user terminal are different from each other.
S102, adjusting the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value.
In the embodiment of the invention, after the user terminal measures the first ambient light intensity value of the current light environment through the first light sensor and measures the second ambient light intensity value of the current light environment through the second light sensor, the user terminal can adjust the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value. The brightness of the first backlight source may be the same as the first ambient light intensity value, or an absolute value of a difference between the brightness of the first backlight source and the first ambient light intensity value is smaller than a preset threshold, which is not limited in the embodiments of the present invention.
In the embodiment of the present invention, each light sensor on the user terminal is configured with a set of backlight sources, that is, the first light sensor is matched with the first backlight source, and the second light sensor is matched with the second backlight source. The first backlight source or the second backlight source is used for generating a backlight to adjust the brightness of the screen of the user terminal. The first backlight source or the second backlight source may include a plurality of LED lamps, and the plurality of LED lamps are connected in series to form the backlight source.
Referring to fig. 2, fig. 2 is a schematic circuit diagram of a ue according to an embodiment of the present invention. As can be seen from fig. 2, the first light sensor senses the intensity of the ambient light on the front side of the user terminal, i.e. the front side light, and the second light sensor senses the intensity of the ambient light on the back side of the user terminal, i.e. the back side light, so that it can be inferred that the first light sensor is located on the front side of the user terminal and the second light sensor is located on the back side of the user terminal. Each light sensor corresponds to a backlight circuit, namely, the first light sensor corresponds to the first backlight circuit, and the second light sensor corresponds to the second backlight circuit. Each backlight circuit controls a group of backlight sources respectively, namely the first backlight circuit controls the first backlight source, and the second backlight circuit controls the second backlight source. All modules are controlled by a CPU (central processing unit). The screen brightness of the user terminal is the sum of the brightness of the first backlight source and the brightness of the second backlight source.
In the embodiment of the invention, the influence of the light intensity of the external environment on the user terminal seen by human eyes is mainly reflected by the screen. Referring to fig. 3, fig. 3 is a schematic view illustrating light propagation of ambient light on a screen of a user terminal according to an embodiment of the present invention. As shown in fig. 3, ambient light is irradiated onto the screen of the user terminal, and due to the reflection of the screen, the ambient light will be converted into reflected light and be incident into human eyes, and meanwhile, a backlight source built in the user terminal will also generate backlight and be incident into human eyes. The backlight incident into human eyes is the light required by the user when watching the user terminal, and the reflected light incident into human eyes is interference. When the intensity of the reflected light is greater than the backlight brightness, the reflected light is dominant, and the content on the screen of the user terminal is not clear to human eyes. This explains why when the ambient light is strong in intensity (e.g., under the sun), the light is irradiated to the screen of the user terminal and reflected to the human eyes, which makes the user easily see the contents displayed on the screen.
In the embodiment of the invention, after the user terminal adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value, the human eyes cannot feel great contrast between the backlight and the reflected light, so that the backlight generated by the first backlight source can eliminate the influence of the reflected light generated by the first direction ambient light irradiating the screen of the user terminal on the human eyes watching the screen.
S103, inquiring the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value.
In the embodiment of the present invention, after the user terminal measures the first ambient light intensity value of the current light environment through the first light sensor and measures the second ambient light intensity value of the current light environment through the second light sensor, the user terminal may query the luminance value of the backlight source corresponding to the second ambient light intensity value from the pre-stored correspondence between the ambient light intensity and the luminance of the backlight source based on the second ambient light intensity value.
In the embodiment of the invention, the corresponding relation between the ambient light intensity and the backlight source brightness can be obtained through multiple experiments in advance, wherein the backlight source brightness corresponding to each ambient light intensity is the best brightness which can be accepted by human eyes. The pre-stored correspondence between the ambient light intensity and the backlight source brightness can be seen in table 1 below:
TABLE 1
Ambient light intensity | Brightness of backlight source |
a1 | b1 |
a2 | b2 |
a3 | b3 |
… | … |
As can be seen from table 1, each ambient light intensity (a1, a2, a3..) corresponds to a backlight source brightness (b1, b2, b3..), wherein a1, a2, a3., and b1, b2, b3. all are numbers greater than or equal to 0.
As an alternative implementation, the order of step S102 and step S103 may be changed, that is, step S103 may be executed first, and then step S102 may be executed.
And S104, adjusting the brightness of the second backlight source matched with the second light sensor to be a brightness value.
In the embodiment of the present invention, after the user terminal queries the brightness value of the backlight source corresponding to the second ambient light intensity value, the user terminal may adjust the brightness of the second backlight source matched with the second light sensor to the queried brightness value.
In the embodiment of the invention, the human eyes usually have a comfortable brightness range for different ambient light environments, and the second backlight source is used for generating a backlight to adjust the screen brightness of the user terminal to the optimal brightness accepted by the human eyes.
In the method flow described in fig. 1, the user terminal measures a first ambient light intensity value of the current light environment through a first light sensor, and measures a second ambient light intensity value of the current light environment through a second light sensor, where the first light sensor is used to measure ambient light intensity in a first direction of the user terminal, and the second light sensor is used to measure ambient light intensity in a second direction of the user terminal; further, the user terminal adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value, queries the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source based on the second ambient light intensity value, and adjusts the brightness of the second backlight source matched with the second light sensor to be the brightness value. Through the embodiment of the invention, after the user terminal measures the first ambient light intensity value through the first light sensor and measures the second ambient light intensity value through the second light sensor, the user terminal adjusts the brightness of the first backlight source to be consistent with the first ambient light intensity value, so that the first backlight source can generate a backlight to eliminate the influence of reflected light generated by the fact that ambient light in the first direction irradiates on the screen of the user terminal on the screen watched by human eyes, further, the user terminal adjusts the brightness of the second backlight source to be the brightness value of the backlight source corresponding to the inquired second ambient light intensity value, and thus, the second backlight source can generate a backlight to adjust the screen brightness of the user terminal to be in accordance with the optimal brightness accepted by the human eyes. Therefore, the embodiment of the invention adopts two light sensors, which not only can improve the accuracy of the detection result of the user terminal on the external light environment, but also can improve the display effect of the screen of the user terminal.
Referring to fig. 4, fig. 4 is a schematic flow chart of another screen brightness adjusting method disclosed in the embodiment of the present invention. As shown in fig. 4, the method may include the following steps.
S401, the user terminal measures a first ambient light intensity value of the current light environment through the first light sensor, and measures a second ambient light intensity value of the current light environment through the second light sensor.
S402, the user terminal adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value.
And S403, the user terminal queries the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value.
S404, the user terminal adjusts the brightness of the second backlight source matched with the second light sensor to be a brightness value.
S405, the user terminal detects whether a first ambient light intensity value measured by the first light sensor changes or not at preset time intervals, and detects whether a second ambient light intensity value measured by the second light sensor changes or not.
In the embodiment of the present invention, the intensity of the external ambient light may change at any time, for example: the user carries the user terminal to walk to outdoors from indoors, and at the moment, the external light environment where the user terminal is located is changed into the outdoor light environment from the indoor light environment, such as: when a user is outdoors, the weather of the original sunny and high-sunshine is suddenly dark and dense, and at the moment, the external light environment where the user terminal is located is changed into a cloudy environment from a sunshine environment. Therefore, the first ambient light intensity value measured by the first light sensor and the second ambient light intensity value measured by the second light sensor in the user terminal may change in real time. The user terminal may detect whether a first ambient light intensity value measured by the first light sensor changes and whether a second ambient light intensity value measured by the second light sensor changes at intervals of a preset time. The preset time may be a default time of the user terminal system, or may also be a time set by the user, such as 2s, 30s, 1min, and the like, and the embodiment of the present invention is not limited.
For example, assuming that the preset time is 1min, when the system time of the user terminal is 24 am, the first ambient light intensity value a1 measured by the first light sensor and the second ambient light intensity value B1 measured by the second light sensor are measured, when the system time of the user terminal reaches 8 am and 25 am, the first ambient light intensity value a2 measured by the first light sensor and the second ambient light intensity value B2 measured by the second light sensor are measured, at this time, the user terminal may compare a1 with a2, compare B1 with B2, detect whether the first ambient light intensity value measured by the first light sensor in the user terminal is changed at the current time (i.e., 8 am and 25 am), and detect whether the second ambient light intensity value measured by the second light sensor is changed.
S406, when detecting that either one or both of the first ambient light intensity value and the second ambient light intensity value are not changed, the user terminal determines that the current light environment is not changed.
In the embodiment of the invention, the principle of the light sensor is to convert the sensed ambient light intensity into voltage, form a digital signal through AD conversion and send the digital signal to the system, and a plurality of interference forming errors (such as AD voltage fluctuation and errors of converting light into an electric signal) are introduced in the conversion processes, so that the ambient light signal read by the same light sensor in the same environment in a period of time fluctuates, and the digital signal in the period of time is generally subjected to mean value filtering processing through software and then sent to the system, but even the fluctuation cannot be completely eliminated. In daily life, when a user watches novels indoors with a smart phone, external light is not changed but backlight brightness is occasionally adjusted automatically, so that user experience is poor. In the embodiment of the invention, the first light sensor and the second light sensor are arranged in the user terminal, so that the data volume is increased, the interference caused by the error of the user terminal can be reduced by identifying the change of the external environment through two groups of data, and meanwhile, whether the external interference exists or not, such as sudden flicker of indoor light and the like, can be judged.
In the embodiment of the present invention, if the user terminal detects that the first ambient light intensity value changes and the second ambient light intensity value does not change, or the user terminal detects that the first ambient light intensity value does not change and the second ambient light intensity value changes, or the user terminal detects that the first ambient light intensity value does not change and the second ambient light intensity value does not change, the user terminal may determine that the current light environment does not change.
It should be noted that, when it is detected that any one of the first ambient light intensity value and the second ambient light intensity value is not changed, it may be considered that the changed one of the first ambient light intensity value and the second ambient light intensity value may be caused by some interference, such as: noise interference of any light sensor in the user terminal or sudden flickering of indoor light.
S407, when the first ambient light intensity value and the second ambient light intensity value are detected to be changed, the user terminal determines that the current light environment is changed.
S408, the user terminal calculates a first light intensity change rate of the first ambient light intensity value and calculates a second light intensity change rate of the second ambient light intensity value.
In the embodiment of the present invention, when detecting that both the first ambient light intensity value and the second ambient light intensity value change, and after the user terminal determines that the current light environment changes, the user terminal may calculate a first light intensity change rate of the first ambient light intensity value and a second light intensity change rate of the second ambient light intensity value.
For example, taking the first ambient light intensity values a1 and a2 measured by the first light sensor and the second ambient light intensity values B1 and B2 measured by the second light sensor as examples, the user terminal calculates a first light intensity change rate a% of the first ambient light intensity values as | a2-a1|/a1 × 100%, and the user terminal calculates a second light intensity change rate B% of the second ambient light intensity values as | B2-B1|/B1 |.
S409, the user terminal sums the first light intensity change rate and the second light intensity change rate to obtain an average value, and the average value is used as a target brightness adjustment rate.
In the embodiment of the present invention, after the user terminal calculates the first light intensity change rate of the first ambient light intensity value and calculates the second light intensity change rate of the second ambient light intensity value, the user terminal may sum the first light intensity change rate and the second light intensity change rate to obtain an average value, and use the average value as the target brightness adjustment rate.
For example, taking the first light intensity change rate a% and the second light intensity change rate B% as an example, the target brightness adjustment rate AB% ((a% + B%)/2).
And S410, if the current light environment changes, namely the first ambient light intensity value and the second ambient light intensity value are both reduced, the user terminal reduces the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate.
In the embodiment of the present invention, when the first ambient light intensity value and the second ambient light intensity value are both decreased, it indicates that the brightness of the current light environment is darkened, and at this time, after the user terminal calculates the target brightness adjustment rate, the user terminal may decrease the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate. For example, taking the first ambient light intensity values a1 and a2 measured by the first light sensor, the second ambient light intensity values B1 and B2 measured by the second light sensor, and the target brightness adjustment rate AB% as an example, the user terminal reduces the brightness value of the first backlight source to a2 AB%, and the user terminal reduces the brightness value of the second backlight source to B2 AB%.
S411, if the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value are both increased, the user terminal increases the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate.
In the embodiment of the present invention, when the first ambient light intensity value and the second ambient light intensity value are both increased, it indicates that the brightness of the current light environment is increased, and at this time, after the user terminal calculates the target brightness adjustment rate, the user terminal may increase the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate. For example, taking the first ambient light intensity values a1 and a2 measured by the first light sensor, the second ambient light intensity values B1 and B2 measured by the second light sensor, and the target brightness adjustment rate AB% as an example, the user terminal increases the brightness value of the first backlight source to a2 × AB%, and the user terminal increases the brightness value of the second backlight source to B2 × AB%.
S412, if the current light environment changes, that is, the first ambient light intensity value becomes smaller and the second ambient light intensity value becomes larger, the user terminal decreases the brightness of the first backlight source according to the first light intensity change rate and increases the brightness of the second backlight source according to the second light intensity change rate; or, if the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, the user terminal increases the brightness of the first backlight source according to the first light intensity change rate, and decreases the brightness of the second backlight source according to the second light intensity change rate.
In this embodiment of the present invention, if the current light environment changes, that is, the first ambient light intensity value becomes smaller and the second ambient light intensity value becomes larger, at this time, the user terminal may decrease the brightness of the first backlight source according to the first light intensity change rate and increase the brightness of the second backlight source according to the second light intensity change rate, or, if the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, at this time, the user terminal may increase the brightness of the first backlight source according to the first light intensity change rate and decrease the brightness of the second backlight source according to the second light intensity change rate. For example, the user turns over the front and back sides of the user terminal, and the first ambient light intensity value and the second ambient light intensity value of the user terminal change in two opposite directions.
In the method flow described in fig. 4, the user terminal detects whether a first ambient light intensity value measured by the first light sensor changes and detects whether a second ambient light intensity value measured by the second light sensor changes at intervals of a preset time, calculates a first light intensity change rate of the first ambient light intensity value and a second light intensity change rate of the second ambient light intensity value after determining that the current light environment changes, sums the first light intensity change rate and the second light intensity change rate to obtain an average value, and takes the average value as a target brightness adjustment rate, and further, if the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value both decrease, the user terminal decreases the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate; if the current light environment changes, namely the first environment light intensity value and the second environment light intensity value are increased, the user terminal increases the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate; if the current light environment changes, namely the first environment light intensity value is decreased and the second environment light intensity value is increased, the user terminal reduces the brightness of the first backlight source according to the first light intensity change rate and increases the brightness of the second backlight source according to the second light intensity change rate; or, if the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, the user terminal increases the brightness of the first backlight source according to the first light intensity change rate, and decreases the brightness of the second backlight source according to the second light intensity change rate. By the embodiment of the invention, the user terminal can detect whether the first environment light intensity value changes or not and whether the second environment light intensity value changes or not in real time, and can increase or decrease the brightness of the first backlight source and the brightness of the second backlight source according to the change condition of the current environment after the current environment is determined to change, so that the display effect of a user terminal screen can be improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of another screen brightness adjusting method according to an embodiment of the present invention. As shown in fig. 5, the method may include the following steps.
S501, the user terminal measures a first ambient light intensity value of the current light environment through the first light sensor, and measures a second ambient light intensity value of the current light environment through the second light sensor.
S502, the user terminal adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value.
S503, the user terminal queries, based on the second ambient light intensity value, a brightness value of the backlight source corresponding to the second ambient light intensity value from a pre-stored correspondence between the ambient light intensity and the brightness of the backlight source.
S504, the user terminal adjusts the brightness of the second backlight source matched with the second light sensor to be a brightness value.
And S505, when detecting that any one of the first light sensor and the second light sensor is shielded by a shielding object, the user terminal acquires the target environment light intensity value measured by the light sensor which is not shielded by the shielding object.
In the embodiment of the invention, if a user places the user terminal on a desktop to view the content displayed by the user terminal, at this time, the light sensor on the back of the user terminal is blocked, at this time, the intensity of the ambient light detected by the blocked light sensor is very low, at this time, the data of the ambient light intensity value detected by the blocked light sensor plays a very small role in adjusting the screen brightness of the user terminal, and the user terminal can directly obtain the target ambient light intensity value measured by the light sensor which is not blocked by a blocking object.
In the embodiment of the invention, when the first light sensor is detected to be shielded by the shielding object and the second light sensor is not shielded by the shielding object, the user terminal acquires the target environment light intensity value measured by the second light sensor; when the second light sensor is detected to be shielded by the shielding object and the first light sensor is not shielded by the shielding object, the user terminal obtains the target environment light intensity value measured by the first light sensor. The shielding object can be any substance which can be used for shielding light, such as a table top, a user's hand and the like.
It should be noted that, when any one of the first light sensor and the second light sensor is shielded by the shielding object, it may be understood that a surface of the user terminal where any one of the first light sensor and the second light sensor is located is shielded by the shielding object, or it may be understood that a non-surface (such as an empty shielded user terminal) of the user terminal where any one of the first light sensor and the second light sensor is located is shielded by the shielding object.
S506, the user terminal queries a target brightness value of the backlight source corresponding to the target ambient light intensity value from a pre-stored corresponding relationship between the ambient light intensity and the backlight source brightness according to the target ambient light intensity value.
In the embodiment of the invention, when any one of the first light sensor and the second light sensor is detected to be shielded by the shielding object, the user terminal defaults that only one light sensor is in effect, namely the light sensor which is not shielded by the shielding object, and at the moment, the brightness of the screen is adjusted by the user terminal mainly based on the optimal brightness which can be accepted by human eyes. After the user terminal obtains the target ambient light intensity value, the user terminal may query a target brightness value of the backlight source corresponding to the target ambient light intensity value from a pre-stored correspondence between the ambient light intensity and the backlight source brightness according to the target ambient light intensity value.
And S507, the user terminal adjusts the brightness of the backlight source matched with the light sensor which is not shielded by the shielding object to be a target brightness value.
In the method flow described in fig. 5, when it is detected that any one of the first light sensor and the second light sensor is blocked by the blocking object, the user terminal obtains a target ambient light intensity value measured by the light sensor that is not blocked by the blocking object, and further, based on the target ambient light intensity value, queries a target luminance value of the backlight source corresponding to the target ambient light intensity value from a pre-stored correspondence between ambient light intensity and backlight source luminance, and adjusts the luminance of the backlight source matched with the light sensor that is not blocked by the blocking object to the target luminance value, so that the user terminal can adjust the screen luminance to meet the optimal luminance acceptable to human eyes, thereby improving the display effect of the display screen.
The following is an embodiment of the apparatus of the present invention, which is used for executing the method in the embodiment of the method of the present invention, and for convenience of description, only the relevant parts of the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the above embodiment of the method of the present invention.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, and as shown in fig. 6, the user terminal 600 may include: a measurement unit 601, an adjustment unit 602, and a query unit 603, wherein:
the measuring unit 601 is configured to measure a first ambient light intensity value of the current light environment through a first light sensor, and measure a second ambient light intensity value of the current light environment through a second light sensor.
In the embodiment of the present invention, the measuring unit 601 measures a first ambient light intensity value of the current light environment through a first light sensor, and measures a second ambient light intensity value of the current light environment through a second light sensor. The first light sensor is used for measuring the ambient light intensity of the user terminal in the first direction, the second light sensor is used for measuring the ambient light intensity of the user terminal in the second direction, and the current light environment refers to the light environment of the surrounding environment where the user terminal is located at the current moment, but not all the light environments at any moment.
In the embodiment of the present invention, two light sensors, namely, a first light sensor and a second light sensor, are disposed in the user terminal, where the first light sensor and the second light sensor are respectively located on opposite surfaces of the user terminal, for example: the first light sensor is located on the front side of the user terminal (the side of the user terminal screen), and the second light sensor is located on the back side of the user terminal (the side of the user terminal rear cover), or the first light sensor is located on the back side of the user terminal, and the second light sensor is located on the front side of the user terminal.
In the embodiment of the present invention, the first direction and the second direction are two different directions. For example, if the first light sensor is located on the front side of the user terminal and the second light sensor is located on the back side of the user terminal, when the screen of the user terminal faces upward, the first light sensor faces upward from the front side of the user terminal, and the second light sensor faces downward from the back side of the user terminal, then the first direction is the upward direction from the front side of the user terminal, and the second direction is the downward direction from the back side of the user terminal; when the screen of the user terminal faces downwards, the orientation of the first light sensor is downward from the front of the user terminal, the orientation of the second light sensor is upward from the back of the user terminal, at the moment, the first direction is downward from the front of the user terminal, and the second direction is upward from the back of the user terminal. Obviously, the first light sensor measures a first ambient light intensity value of the current light environment sensed at the front side of the user terminal, and the second light sensor measures a second ambient light intensity value of the current light environment sensed at the back side of the user terminal. In the embodiment of the present invention, the first light sensor measures the ambient light intensity on the front surface and the back surface of the user terminal, and the ambient light intensities in different directions on the user terminal are different from each other.
The adjusting unit 602 is configured to adjust the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value.
In this embodiment of the present invention, after the measuring unit 601 measures the first ambient light intensity value of the current light environment through the first light sensor and measures the second ambient light intensity value of the current light environment through the second light sensor, the adjusting unit 602 may adjust the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value. The brightness of the first backlight source may be the same as the first ambient light intensity value, or an absolute value of a difference between the brightness of the first backlight source and the first ambient light intensity value is smaller than a preset threshold, which is not limited in the embodiments of the present invention.
In the embodiment of the present invention, each light sensor on the user terminal is configured with a set of backlight sources, that is, the first light sensor is matched with the first backlight source, and the second light sensor is matched with the second backlight source. The first backlight source or the second backlight source is used for generating a backlight to adjust the brightness of the screen of the user terminal. The first backlight source or the second backlight source may include a plurality of LED lamps, and the plurality of LED lamps are connected in series to form the backlight source.
The query unit 603 is configured to query, according to the second ambient light intensity value, a brightness value of the backlight source corresponding to the second ambient light intensity value from a pre-stored correspondence between the ambient light intensity and the brightness of the backlight source.
In the embodiment of the present invention, after the measuring unit 601 measures the first ambient light intensity value of the current light environment through the first light sensor and measures the second ambient light intensity value of the current light environment through the second light sensor, the querying unit 603 queries the luminance value of the backlight source corresponding to the second ambient light intensity value from the pre-stored correspondence between the ambient light intensity and the backlight source luminance according to the second ambient light intensity value.
The adjusting unit 602 is further configured to adjust the brightness of the second backlight source matched with the second light sensor to be a brightness value.
In this embodiment of the present invention, after the querying unit 603 queries the brightness value of the backlight source corresponding to the second ambient light intensity value, the adjusting unit 602 may adjust the brightness of the second backlight source matched with the second light sensor to the queried brightness value.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another ue disclosed in the embodiment of the present invention. Wherein, the ue shown in fig. 7 is obtained by further optimizing on the basis of the ue shown in fig. 6, and compared with the ue shown in fig. 6, the ue shown in fig. 7 may further include, in addition to all units of the ue shown in fig. 6:
the detecting unit 604 is configured to detect whether the first ambient light intensity value measured by the first light sensor changes at preset time intervals after the adjusting unit 602 adjusts the brightness of the second backlight source matched with the second light sensor to be a brightness value, and detect whether the second ambient light intensity value measured by the second light sensor changes.
In the embodiment of the present invention, the intensity of the external ambient light may change at any time, for example: the user carries the user terminal to walk to outdoors from indoors, and at the moment, the external light environment where the user terminal is located is changed into the outdoor light environment from the indoor light environment, such as: when a user is outdoors, the weather of the original sunny and high-sunshine is suddenly dark and dense, and at the moment, the external light environment where the user terminal is located is changed into a cloudy environment from a sunshine environment. Therefore, the first ambient light intensity value measured by the first light sensor and the second ambient light intensity value measured by the second light sensor in the user terminal may change in real time. The detecting unit 604 may detect whether a first ambient light intensity value measured by the first light sensor changes and a second ambient light intensity value measured by the second light sensor changes at preset time intervals. The preset time may be a default time of the user terminal system, or may also be a time set by the user, such as 2s, 30s, 1min, and the like, and the embodiment of the present invention is not limited.
A determining unit 605, configured to determine that the current light environment is not changed when the detecting unit 604 detects that either one or both of the first ambient light intensity value and the second ambient light intensity value are not changed.
In the embodiment of the invention, the principle of the light sensor is to convert the sensed ambient light intensity into voltage, form a digital signal through AD conversion and send the digital signal to the system, and a plurality of interference forming errors (such as AD voltage fluctuation and errors of converting light into an electric signal) are introduced in the conversion processes, so that the ambient light signal read by the same light sensor in the same environment in a period of time fluctuates, and the digital signal in the period of time is generally subjected to mean value filtering processing through software and then sent to the system, but even the fluctuation cannot be completely eliminated. In daily life, when a user watches novels indoors with a smart phone, external light is not changed but backlight brightness is occasionally adjusted automatically, so that user experience is poor. In the embodiment of the invention, the first light sensor and the second light sensor are arranged in the user terminal, so that the data volume is increased, the interference caused by the error of the user terminal can be reduced by identifying the change of the external environment through two groups of data, and meanwhile, whether the external interference exists or not, such as sudden flicker of indoor light and the like, can be judged.
In this embodiment of the present invention, if the detecting unit 604 detects that the first ambient light intensity value changes and the second ambient light intensity value does not change, or the detecting unit 604 detects that the first ambient light intensity value does not change and the second ambient light intensity value changes, or the user terminal detects that the first ambient light intensity value does not change and the second ambient light intensity value does not change, the determining unit 605 may determine that the current light environment does not change.
It should be noted that, when the detecting unit 604 detects that any one of the first ambient light intensity value and the second ambient light intensity value is not changed, it may be considered that the changed one of the first ambient light intensity value and the second ambient light intensity value may be caused by some interference, such as: noise interference of any light sensor in the user terminal or sudden flickering of indoor light. .
As an alternative embodiment, the determining unit 605 is further configured to determine that the current light environment changes when the detecting unit 604 detects that both the first ambient light intensity value and the second ambient light intensity value change.
The user terminal 600 shown in fig. 7 may further include:
the calculating unit 606 is configured to calculate a first light intensity change rate of the first ambient light intensity value and a second light intensity change rate of the second ambient light intensity value.
In this embodiment of the present invention, when the detecting unit 604 detects that both the first ambient light intensity value and the second ambient light intensity value change, and the determining unit 605 determines that the current light environment changes, the calculating unit 606 may calculate a first light intensity change rate of the first ambient light intensity value and a second light intensity change rate of the second ambient light intensity value.
The calculating unit 606 is further configured to sum the first light intensity change rate and the second light intensity change rate to obtain an average value, and use the average value as the target brightness adjustment rate.
The adjusting unit 602 is further configured to decrease the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate when the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value both decrease.
In this embodiment of the present invention, when the first ambient light intensity value and the second ambient light intensity value both decrease, which indicates that the brightness of the current light environment is darkened, at this time, after the calculating unit 606 calculates the target brightness adjusting rate, the adjusting unit 602 may decrease the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjusting rate.
As an alternative embodiment, the adjusting unit 602 is further configured to increase the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate when the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value are both increased.
In this embodiment of the present invention, when the first ambient light intensity value and the second ambient light intensity value are both increased, which indicates that the brightness of the current light environment is increased, at this time, after the calculating unit 606 calculates the target brightness adjusting rate, the adjusting unit 602 may increase the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjusting rate.
As an alternative embodiment, the adjusting unit 602 is further configured to, when the current light environment changes, that is, the first ambient light intensity value becomes smaller and the second ambient light intensity value becomes larger, decrease the brightness of the first backlight source according to the first light intensity change rate, and increase the brightness of the second backlight source according to the second light intensity change rate; or,
the adjusting unit 602 is further configured to increase the brightness of the first backlight source according to the first light intensity change rate and decrease the brightness of the second backlight source according to the second light intensity change rate when the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller.
In this embodiment of the present invention, if the current light environment changes to indicate that the first ambient light intensity value becomes smaller and the second ambient light intensity value becomes larger, the adjusting unit 602 may decrease the brightness of the first backlight source according to the first light intensity change rate and increase the brightness of the second backlight source according to the second light intensity change rate, or if the current light environment changes to indicate that the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, the adjusting unit 602 may increase the brightness of the first backlight source according to the first light intensity change rate and decrease the brightness of the second backlight source according to the second light intensity change rate.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another ue disclosed in the embodiment of the present invention. Wherein, the ue shown in fig. 8 is obtained by further optimizing on the basis of the ue shown in fig. 7, and compared with the ue shown in fig. 7, the ue shown in fig. 8 may further include, in addition to all units of the ue shown in fig. 7:
the obtaining unit 607 is configured to obtain a target ambient light intensity value measured by a light sensor that is not blocked by a blocking object when it is detected that any one of the first light sensor and the second light sensor is blocked by the blocking object.
In the embodiment of the present invention, it is assumed that a user places a user terminal on a desktop to view content displayed by the user terminal, at this time, a light sensor on the back of the user terminal is blocked, at this time, the intensity of ambient light detected by the blocked light sensor is very low, at this time, the data of the ambient light intensity value detected by the blocked light sensor plays a very small role in adjusting the screen brightness of the user terminal, and the obtaining unit 607 can directly obtain a target ambient light intensity value measured by the light sensor that is not blocked by a blocking object.
In the embodiment of the present invention, when it is detected that the first light sensor is blocked by the blocking object and the second light sensor is not blocked by the blocking object, the obtaining unit 607 obtains the target ambient light intensity value measured by the second light sensor; when it is detected that the second light sensor is blocked by the blocking object but the first light sensor is not blocked by the blocking object, the obtaining unit 607 obtains the target ambient light intensity value measured by the first light sensor. The shielding object can be any substance which can be used for shielding light, such as a table top, a user's hand and the like.
It should be noted that, when any one of the first light sensor and the second light sensor is shielded by the shielding object, it may be understood that a surface of the user terminal where any one of the first light sensor and the second light sensor is located is shielded by the shielding object, or it may be understood that a non-surface (such as an empty shielded user terminal) of the user terminal where any one of the first light sensor and the second light sensor is located is shielded by the shielding object.
The query unit 603 is further configured to query, based on the target ambient light intensity value, a target luminance value of the backlight source corresponding to the target ambient light intensity value from a pre-stored correspondence between the ambient light intensity and the backlight source luminance.
In the embodiment of the invention, when any one of the first light sensor and the second light sensor is detected to be shielded by the shielding object, the user terminal defaults that only one light sensor is in effect, namely the light sensor which is not shielded by the shielding object, and at the moment, the brightness of the screen is adjusted by the user terminal mainly based on the optimal brightness which can be accepted by human eyes. After the obtaining unit 607 obtains the target ambient light intensity value, the querying unit 603 may query the target luminance value of the backlight source corresponding to the target ambient light intensity value from the pre-stored correspondence between the ambient light intensity and the backlight source luminance according to the target ambient light intensity value.
The adjusting unit 602 is further configured to adjust the brightness of the backlight source matched with the light sensor that is not blocked by the blocking object to the target brightness value.
In the user terminal described in fig. 6 to 8, the measuring unit 601 measures a first ambient light intensity value of the current light environment through a first light sensor, and measures a second ambient light intensity value of the current light environment through a second light sensor, where the first light sensor is used for measuring the ambient light intensity in a first direction of the user terminal, and the second light sensor is used for measuring the ambient light intensity in a second direction of the user terminal; further, the adjusting unit 602 adjusts the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value, the querying unit 603 queries the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored correspondence between the ambient light intensity and the brightness of the backlight source based on the second ambient light intensity value, and the adjusting unit 602 adjusts the brightness of the second backlight source matched with the second light sensor to be the brightness value. With the embodiment of the present invention, after the measuring unit 601 measures the first ambient light intensity value through the first light sensor and the second ambient light intensity value through the second light sensor, the adjusting unit 602 adjusts the brightness of the first backlight source to be consistent with the first ambient light intensity value, so that the first backlight source can generate a backlight to eliminate the influence of the reflected light generated by the ambient light in the first direction irradiating the screen of the user terminal on the human eye viewing screen, and further, the adjusting unit 602 adjusts the brightness of the second backlight source to the brightness value of the backlight source corresponding to the inquired second ambient light intensity value, so that the second backlight source can generate a backlight to adjust the screen brightness of the user terminal to the optimum brightness accepted by the human eye. Therefore, the embodiment of the invention adopts two light sensors, which not only can improve the accuracy of the detection result of the user terminal on the external light environment, but also can improve the display effect of the screen of the user terminal.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. A screen brightness adjusting method is characterized by comprising the following steps:
measuring a first ambient light intensity value of a current light environment through a first light sensor, and measuring a second ambient light intensity value of the current light environment through a second light sensor, wherein the first light sensor is used for measuring the ambient light intensity of a user terminal in a first direction, and the second light sensor is used for measuring the ambient light intensity of the user terminal in a second direction;
adjusting the brightness of a first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value;
inquiring the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relation between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value;
adjusting the brightness of a second backlight source matched with the second light sensor to be the brightness value;
detecting whether the first ambient light intensity value measured by the first light sensor changes or not and whether the second ambient light intensity value measured by the second light sensor changes or not at preset intervals;
when detecting that either or both of the first ambient light intensity value and the second ambient light intensity value have not changed, determining that the current light environment has not changed.
2. The method of claim 1, further comprising:
when the first ambient light intensity value and the second ambient light intensity value are detected to be changed, determining that the current light environment is changed;
calculating a first light intensity rate of change of the first ambient light intensity value and calculating a second light intensity rate of change of the second ambient light intensity value;
summing the first light intensity change rate and the second light intensity change rate to obtain an average value, and taking the average value as a target brightness adjustment rate;
if the current light environment changes, namely the first ambient light intensity value and the second ambient light intensity value both become smaller, the brightness of the first backlight source and the brightness of the second backlight source are reduced according to the target brightness adjustment rate.
3. The method of claim 2, further comprising:
if the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value are both increased, the brightness of the first backlight source and the brightness of the second backlight source are increased according to the target brightness adjustment rate.
4. The method of claim 2, further comprising:
if the current light environment changes, namely the first environment light intensity value becomes smaller and the second environment light intensity value becomes larger, the brightness of the first backlight source is adjusted to be lower according to the first light intensity change rate, and the brightness of the second backlight source is adjusted to be higher according to the second light intensity change rate; or,
if the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, the brightness of the first backlight source is adjusted to be higher according to the first light intensity change rate, and the brightness of the second backlight source is adjusted to be lower according to the second light intensity change rate.
5. The method according to any one of claims 1 to 4, further comprising:
when any one of the first light sensor and the second light sensor is detected to be shielded by a shielding object, acquiring a target environment light intensity value measured by the light sensor which is not shielded by the shielding object;
inquiring a target brightness value of the backlight source corresponding to the target environment light intensity value from a pre-stored corresponding relation between the environment light intensity and the backlight source brightness according to the target environment light intensity value;
and adjusting the brightness of the backlight source matched with the light sensor which is not shielded by the shielding object to the target brightness value.
6. A user terminal, comprising:
the measuring unit is used for measuring a first ambient light intensity value of the current light environment through a first light sensor and measuring a second ambient light intensity value of the current light environment through a second light sensor, wherein the first light sensor is used for measuring the ambient light intensity of the user terminal in a first direction, and the second light sensor is used for measuring the ambient light intensity of the user terminal in a second direction;
the adjusting unit is used for adjusting the brightness of the first backlight source matched with the first light sensor to be consistent with the first ambient light intensity value;
the query unit is used for querying the brightness value of the backlight source corresponding to the second ambient light intensity value from the pre-stored corresponding relationship between the ambient light intensity and the brightness of the backlight source according to the second ambient light intensity value;
the adjusting unit is further configured to adjust the brightness of the second backlight source matched with the second light sensor to the brightness value;
the detection unit is used for detecting whether the first ambient light intensity value measured by the first light sensor changes or not at preset time intervals and detecting whether the second ambient light intensity value measured by the second light sensor changes or not after the adjustment unit adjusts the brightness of the second backlight source matched with the second light sensor to be the brightness value;
a determining unit, configured to determine that the current light environment is not changed when the detecting unit detects that either one or both of the first ambient light intensity value and the second ambient light intensity value are not changed.
7. The user terminal of claim 6,
the determining unit is further configured to determine that the current light environment changes when the detecting unit detects that both the first ambient light intensity value and the second ambient light intensity value change;
the user terminal further comprises:
a calculating unit for calculating a first light intensity change rate of the first ambient light intensity value and calculating a second light intensity change rate of the second ambient light intensity value;
the computing unit is further configured to sum the first light intensity change rate and the second light intensity change rate to obtain an average value, and use the average value as a target brightness adjustment rate;
the adjusting unit is further configured to decrease the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate when the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value both decrease.
8. The user terminal according to claim 7, wherein the adjusting unit is further configured to increase the brightness of the first backlight source and the brightness of the second backlight source according to the target brightness adjustment rate when the current light environment changes, that is, the first ambient light intensity value and the second ambient light intensity value are both increased.
9. The user terminal of claim 7,
the adjusting unit is further configured to, when the current light environment changes, that is, the first ambient light intensity value becomes smaller and the second ambient light intensity value becomes larger, decrease the brightness of the first backlight source according to the first light intensity change rate, and increase the brightness of the second backlight source according to the second light intensity change rate; or,
the adjusting unit is further configured to, when the current light environment changes, that is, the first ambient light intensity value becomes larger and the second ambient light intensity value becomes smaller, increase the brightness of the first backlight source according to the first light intensity change rate, and decrease the brightness of the second backlight source according to the second light intensity change rate.
10. The user terminal according to any of claims 6-9, wherein the user terminal further comprises:
the acquisition unit is used for acquiring a target environment light intensity value measured by a light sensor which is not shielded by a shielding object when detecting that any one of the first light sensor and the second light sensor is shielded by the shielding object;
the query unit is further configured to query, based on the target ambient light intensity value, a target brightness value of the backlight source corresponding to the target ambient light intensity value from a pre-stored correspondence between ambient light intensity and backlight source brightness;
the adjusting unit is also used for adjusting the brightness of the backlight source matched with the light sensor which is not shielded by the shielding object to the target brightness value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510408609.7A CN105575334B (en) | 2015-07-10 | 2015-07-10 | A kind of screen luminance adjustment method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510408609.7A CN105575334B (en) | 2015-07-10 | 2015-07-10 | A kind of screen luminance adjustment method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105575334A CN105575334A (en) | 2016-05-11 |
CN105575334B true CN105575334B (en) | 2018-11-06 |
Family
ID=55885396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510408609.7A Active CN105575334B (en) | 2015-07-10 | 2015-07-10 | A kind of screen luminance adjustment method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105575334B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106225920B (en) * | 2016-08-08 | 2018-07-17 | Tcl移动通信科技(宁波)有限公司 | A kind of environment light detection method and system based on mobile terminal |
CN106357904B (en) * | 2016-09-18 | 2019-12-24 | 青岛海信移动通信技术股份有限公司 | Method for adjusting luminous intensity of screen and mobile terminal |
CN106940993B (en) * | 2017-05-23 | 2019-02-05 | 京东方科技集团股份有限公司 | A kind of display bearing calibration and system |
CN107464515A (en) * | 2017-07-17 | 2017-12-12 | 努比亚技术有限公司 | Screen brightness regulation method, mobile terminal and storage medium |
CN107547734B (en) * | 2017-07-31 | 2019-03-01 | 维沃移动通信有限公司 | Method, mobile terminal and the storage medium that screen intensity is adjusted |
CN111373315A (en) * | 2017-09-30 | 2020-07-03 | 深圳传音通讯有限公司 | Method and device for automatically adjusting brightness of display and storage medium |
CN107945769B (en) * | 2017-11-22 | 2020-04-10 | Oppo广东移动通信有限公司 | Ambient light intensity detection method and device, storage medium and electronic equipment |
CN108363626A (en) * | 2018-02-08 | 2018-08-03 | 广东小天才科技有限公司 | Sensor control method and device in intelligent terminal |
CN108833670B (en) * | 2018-04-28 | 2021-05-04 | Oppo广东移动通信有限公司 | Backlight adjusting method and related device |
CN110545338B (en) * | 2018-05-29 | 2021-05-04 | 青岛海信移动通信技术股份有限公司 | Display device and control method thereof |
CN108682400B (en) * | 2018-07-25 | 2020-06-19 | 北京小米移动软件有限公司 | Brightness adjusting method and device |
CN109637498A (en) * | 2018-12-23 | 2019-04-16 | 湖南文理学院 | A kind of control system and control method that computer screen brightness is intelligently adjusted |
CN110070841B (en) * | 2019-03-26 | 2020-11-27 | 深圳市嘉利达专显科技有限公司 | Display screen adjusting method and device and electronic equipment |
CN109963005B (en) * | 2019-03-28 | 2021-11-02 | 努比亚技术有限公司 | Adjusting method of double-screen brightness adjusting system and computer storage medium |
CN111338407A (en) * | 2020-03-10 | 2020-06-26 | 中国科学院、水利部成都山地灾害与环境研究所 | Coastal Zone Climate Comfort Automatic Adjustment Measuring Device |
CN111947775B (en) * | 2020-08-28 | 2022-10-21 | Oppo广东移动通信有限公司 | Device detection method and device, storage medium and electronic device |
CN112468656A (en) * | 2020-11-17 | 2021-03-09 | 惠州Tcl移动通信有限公司 | Method, device and equipment for controlling brightness of display screen and computer readable storage medium |
CN112530384B (en) * | 2020-12-02 | 2022-07-08 | 惠州Tcl移动通信有限公司 | Display brightness adjusting method and device and electronic equipment |
CN113329122A (en) * | 2021-05-13 | 2021-08-31 | 上海龙旗科技股份有限公司 | Method and equipment for adjusting screen brightness of mobile terminal |
CN116682383B (en) * | 2023-05-30 | 2024-05-03 | 惠科股份有限公司 | Display panel, backlight compensation method thereof and display device |
CN117409743B (en) * | 2023-10-13 | 2024-11-15 | 深圳市华创捷科技有限公司 | Method for removing white light interference based on LCD display screen of vehicle-mounted system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103050089A (en) * | 2011-10-12 | 2013-04-17 | 富泰华工业(深圳)有限公司 | Electronic device and method for adjusting brightness of display screen thereof |
CN103327148A (en) * | 2013-06-28 | 2013-09-25 | 惠州Tcl移动通信有限公司 | Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal |
CN104217704A (en) * | 2014-08-26 | 2014-12-17 | 小米科技有限责任公司 | Backlight brightness control method and device |
CN104243698A (en) * | 2014-09-02 | 2014-12-24 | 广东欧珀移动通信有限公司 | A backlight control method applied to a mobile terminal and the mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003005126A (en) * | 2001-06-18 | 2003-01-08 | Sony Corp | Light source control device, its method and light source system, projection display device and its light source management system |
JP2009048131A (en) * | 2007-08-23 | 2009-03-05 | Sharp Corp | Liquid crystal display device |
-
2015
- 2015-07-10 CN CN201510408609.7A patent/CN105575334B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103050089A (en) * | 2011-10-12 | 2013-04-17 | 富泰华工业(深圳)有限公司 | Electronic device and method for adjusting brightness of display screen thereof |
CN103327148A (en) * | 2013-06-28 | 2013-09-25 | 惠州Tcl移动通信有限公司 | Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal |
CN104217704A (en) * | 2014-08-26 | 2014-12-17 | 小米科技有限责任公司 | Backlight brightness control method and device |
CN104243698A (en) * | 2014-09-02 | 2014-12-24 | 广东欧珀移动通信有限公司 | A backlight control method applied to a mobile terminal and the mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105575334A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105575334B (en) | A kind of screen luminance adjustment method and user terminal | |
TWI428891B (en) | Electronic apparatus and backlight brightness control method thereof | |
US8860653B2 (en) | Ambient light sensing technique | |
CN112289280B (en) | Screen brightness adjusting method and device, computer readable medium and electronic equipment | |
CN105374340B (en) | A kind of brightness correcting method, device and display device | |
US10783835B2 (en) | Automatic control of display brightness | |
CN106445151B (en) | Terminal screen brightness control method and terminal | |
US20140292792A1 (en) | Method for Applying Gamma Compensation To A Display And Gamma Compensation Device | |
CN109257483B (en) | Method for adjusting opening and closing angles of display screens and multi-screen terminal | |
CN108538265A (en) | A kind of the display brightness method of adjustment and device of liquid crystal display | |
CN106875922B (en) | Display brightness adjusting method and device for display terminal | |
CN104575448A (en) | Backlight adjustment method and backlight adjustment device for display device | |
CN103905759B (en) | Image projecting equipment and its control method | |
WO2018126929A1 (en) | Method and apparatus for calibrating ambient light sensor | |
CN104978946A (en) | Display device backlight self-adaptive adjusting method and apparatus | |
CN105304061B (en) | The adjusting method and terminal of the display picture of terminal | |
CN105895057B (en) | A kind of backlight adjusting method, device and terminal device | |
US20130113759A1 (en) | Displacement detection device and operating method thereof | |
EP2983351B1 (en) | Image adjusting method and related display | |
CN114567952A (en) | Method for realizing automatic dimming of lighting equipment and related product | |
CN203537612U (en) | Intelligent background lighting system | |
CN102968177B (en) | Gesture Sensing Method | |
CN106370296A (en) | Detection method and system for the environment light by mobile terminal light sensor | |
CN106898332B (en) | Method and system for adjusting screen brightness | |
CN105702230A (en) | Method and device for adjusting backlight brightness of display screen of terminal and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |