CN105654923B - A kind of back light brightness regulating method and user terminal - Google Patents

A kind of back light brightness regulating method and user terminal Download PDF

Info

Publication number
CN105654923B
CN105654923B CN201610196267.1A CN201610196267A CN105654923B CN 105654923 B CN105654923 B CN 105654923B CN 201610196267 A CN201610196267 A CN 201610196267A CN 105654923 B CN105654923 B CN 105654923B
Authority
CN
China
Prior art keywords
light intensity
intensity value
light
value
environment
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.)
Expired - Fee Related
Application number
CN201610196267.1A
Other languages
Chinese (zh)
Other versions
CN105654923A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610196267.1A priority Critical patent/CN105654923B/en
Publication of CN105654923A publication Critical patent/CN105654923A/en
Application granted granted Critical
Publication of CN105654923B publication Critical patent/CN105654923B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The embodiment of the invention discloses a kind of back light brightness regulating method and user terminal, wherein method includes:The first light intensity value of environment is detected by the first light sensor, first light sensor is used to detect the light intensity value of the first direction of user terminal;The second light intensity value of environment is detected by the second light sensor, second light sensor is used to detect the light intensity value of the second direction of the user terminal, and the first direction is opposite with the second direction;Using light intensity value larger in the first light intensity value and the second light intensity value as target light intensity value;Screen backlight brightness is adjusted according to the target light intensity value.As it can be seen that by implementing the embodiment of the present invention, user terminal can determine an accurate ambient light intensity value, to adjust screen backlight brightness according to accurate ambient light intensity value, be conducive to the display effect for improving screen.

Description

A kind of back light brightness regulating method and user terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of back light brightness regulating methods and user terminal.
Background technology
Currently, the backlight illumination regulative mode master of the user terminal (such as smart mobile phone, tablet computer) with display screen Will there are two types of, respectively manual backlight illumination is adjusted and automatic backlight brightness regulation.Wherein, automatic backlight brightness adjustment approach master If the light sensor in the front (i.e. face where the screen of user terminal) by being configured at user terminal detects the light of environment Line intensity value, then by screen backlight brightness regulation be brightness value corresponding with the light intensity value, to reach automatic adjustment screen The purpose of backlight illumination.Because of the convenience of automatic backlight brightness adjustment approach, user passes through frequently with automatic backlight brightness regulation Mode adjust the backlight illumination of user terminal.
However, during the mode using automatic backlight brightness regulation adjusts the backlight illumination of user terminal, often There is following situations:The orientation of light source is often fixed, such as on the top in bedroom, if user is sitting under lamp and plays hand at this time Machine, on the light sensor of light direct projection machine face in one's hands, the brightness that may result in screen is relatively high;If after a period of time, using Family lies on a bed, and mobile phone will facing away from light source, and the ambient light intensity value that light sensor measures at this time can become smaller, and screen is bright Degree will be dimmed.But the light intensity of real environment, there is no changing, screen is dimmed undoubtedly to cause shadow to the use of user It rings.
As it can be seen that the mode of existing automatic backlight brightness regulation can not be accurately detected the light intensity value of environment, from And the display effect of screen can not be improved.
Invention content
The embodiment of the invention discloses a kind of back light brightness regulating method and user terminals, can be accurately detected environment Light intensity value, to improve the display effect of screen.
First aspect kind back light brightness regulating method of the embodiment of the present invention, including:
The first light intensity value of environment is detected by the first light sensor, first light sensor is for detecting The light intensity value of the first direction of user terminal;
The second light intensity value of environment is detected by the second light sensor, second light sensor is for detecting The light intensity value of the second direction of the user terminal, the first direction are opposite with the second direction;
Using light intensity value larger in the first light intensity value and the second light intensity value as target light Line intensity value;
Screen backlight brightness is adjusted according to the target light intensity value.
In a kind of possible design, it is described by the first light sensor detect environment the first light intensity value it Before, the method further includes:
The third light intensity value of environment is detected by the first light sensor;
After the first light intensity value for detecting environment by the first light sensor, the method further includes:
Detect whether the first light intensity value is less than the third light intensity value;
If so, the step of executing the second light intensity value for detecting environment by the second light sensor.
In a kind of possible design, detect the first light intensity value be less than the third light intensity value it Afterwards, before the second light intensity value for detecting environment by the second light sensor, the method further includes:
Judge whether the first light intensity value and the absolute value of the difference of the third light intensity value are more than preset value;
If more than the preset value, then the second light intensity value that environment is detected by the second light sensor is executed The step of.
In a kind of possible design, it is described by the first light sensor detect environment the first light intensity value it Afterwards, the method further includes:
Whether detection user terminal is overturn;
If detecting, user terminal is overturn, and executes second light that environment is detected by the second light sensor The step of line intensity value.
In a kind of possible design, before the first light intensity value that environment is detected by the first light sensor, institute The method of stating further includes:
Receive calibration command input by user;
The 4th light intensity value of environment is detected by first light sensor;
The 5th light intensity value of environment is detected by second light sensor;
Whether the absolute value of the difference for detecting the 4th light intensity value and the 5th light intensity value is more than default threshold Value;
If so, according to the 5th light intensity value and the 4th light intensity value to first light sensor It is calibrated;Or second light sensor is carried out according to the 5th light intensity value and the 4th light intensity value Calibration.
A kind of user terminal of second aspect of the embodiment of the present invention, including:
Detection module, the first light intensity value for detecting environment by the first light sensor, first light Sensor is used to detect the light intensity value of the first direction of user terminal;
The detection module is additionally operable to detect the second light intensity value of environment by the second light sensor, described the Two light sensors are used to detect the light intensity value of the second direction of the user terminal, the first direction and described second Direction is opposite;
Determining module is used for light intensity larger in the first light intensity value and the second light intensity value Value is used as target light intensity value;
Adjustment module, for screen backlight brightness to be adjusted according to the target light intensity value.
In a kind of possible design, the detection module is additionally operable to detect the of environment by the first light sensor Three light intensity values;
The detection module is additionally operable to detect the first light of environment by the first light sensor in the detection module After intensity value, detect whether the first light intensity value is less than the third light intensity value;When the detection module is examined When measuring the first light intensity value less than the third light intensity value, triggers the detection module and passed by the second light Sensor detects the second light intensity value of environment.
In a kind of possible design, the user terminal further includes:
First judgment module, for detecting that the first light intensity value is less than the third light in the detection module After line intensity value, before the detection module detects the second light intensity value of environment by the second light sensor, sentence Whether the absolute value of the difference of the first light intensity value of breaking and the third light intensity value is more than preset value;When described first When judgment module detects that the absolute value of the difference of the first light intensity value and the third light intensity value is more than preset value, Trigger the second light intensity value that the detection module detects environment by the second light sensor.
In a kind of possible design, the detection module is additionally operable to whether detection user terminal is overturn;
When the detection module detects that user terminal is overturn, triggers the detection module and passed by the second light Sensor detects the second light intensity value of environment.
In a kind of possible design, the user terminal further includes:
Receiving module, the first light intensity value for detecting environment by the first light sensor in the detection module Before, calibration command input by user is received;
The detection module is additionally operable to detect the 4th light intensity value of environment by first light sensor;
The detection module is additionally operable to detect the 5th light intensity value of environment by second light sensor;
Second judgment module is additionally operable to judge the difference of the 4th light intensity value and the 5th light intensity value Absolute value whether be more than predetermined threshold value;
Calibration module, for judging that the 4th light intensity value and the 5th light are strong when second judgment module When the absolute value of the difference of angle value is more than predetermined threshold value, according to the 5th light intensity value and the 4th light intensity value to institute The first light sensor is stated to be calibrated;Or according to the 5th light intensity value and the 4th light intensity value to described the Two light sensors are calibrated.
In embodiments of the present invention, user detects the first light intensity value of environment simultaneously by the first light sensor at last The second light intensity value of environment is detected by the second light sensor, and by the first light intensity value and the second light intensity value In larger light intensity value as target light intensity value, to be adjusted to screen backlight brightness according to target light intensity value Section.As it can be seen that by implementing the embodiment of the present invention, user terminal can determine an accurate ambient light intensity value, to basis Accurate ambient light intensity value adjusts screen backlight brightness, is conducive to the display effect for improving screen.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of back light brightness regulating method and user terminals, can be accurately detected environment Light intensity value, to improve the display effect of screen.It is described in detail separately below.
Fig. 1 is referred to, Fig. 1 is a kind of flow diagram of back light brightness regulating method disclosed by the embodiments of the present invention.Such as Shown in Fig. 1, which may comprise steps of.
101, user terminal detects the first light intensity value of environment by the first light sensor.
In the embodiment of the present invention, the user terminal may include but be not limited to smart mobile phone, palm PC, laptop, Desktop computer and navigation equipment etc. have the user terminal of screen.The operating system of the user terminal may include but be not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., the embodiment of the present invention does not limit.
In the embodiment of the present invention, which is used to detect the light intensity of the first direction of user terminal Value.Wherein, which can be front (i.e. face where the screen of user terminal) upwardly direction of user terminal.Due to First light sensor is used to detect the light intensity value in the direction of user terminal to face up, then the first light sensor It is configured in the front of user terminal.
In the embodiment of the present invention, the execution sequence of 101 parts and 102 parts can first carry out 101 parts in no particular order, 102 parts are executed again;Or 102 parts can be first carried out, then execute 101 parts;Or 101 part and 102 parts can be performed simultaneously.
102, user terminal detects the second light intensity value of environment by the second light sensor.
In the embodiment of the present invention, which is used to detect the light intensity of the second direction of user terminal Value, wherein first direction and second direction on the contrary, i.e. second direction for user terminal the back side (the i.e. rear cover institute of user terminal In face) upwardly direction.The light in the back side up direction due to second light sensor for detecting user terminal is strong Angle value, then the second light sensor be configured in the back side of user terminal.Optionally, second light sensor can be can Detect the color sensor of ambient light intensity value.
103, user terminal is using light intensity value larger in the first light intensity value and the second light intensity value as mesh Mark light intensity value.
In the embodiment of the present invention, what is measured due to the first light sensor and the second light sensor is two different directions Ambient light intensity value, how much can be had differences without equidirectional ambient light intensity value, therefore, the embodiment of the present invention In, the first light intensity value that the first light sensor measures is not equal to the second light intensity value that the second light sensor measures.
In the embodiment of the present invention, after user terminal detects the first light intensity value and the second light intensity value, by the One light intensity value is compared with the second light intensity value, will be larger in the first light intensity value and the second light intensity value Light intensity value is as target light intensity value.
104, user terminal is adjusted screen backlight brightness according to target light intensity value.
In the embodiment of the present invention, after user terminal determines target light intensity value, user terminal will be according to target light Screen backlight brightness is adjusted in line intensity value.Specifically, user terminal is preset with light intensity value and screen backlight brightness The correspondence of value, user terminal will obtain target screen backlight corresponding with target light intensity value according to the correspondence Brightness value;After user terminal obtains target screen backlight brightness values, screen backlight brightness value is adjusted to target screen backlight Brightness value.
In practical applications, if user terminal by a light sensor come measuring environment light intensity value, will cause The ambient light intensity value measured is inaccurate.For example, if light source, on the top in bedroom, user, which is sitting under lamp, at this time plays mobile phone, light On the light sensor of line direct projection machine face in one's hands, the brightness that may result in screen is relatively high;If after a period of time, user lies in On bed, mobile phone will facing away from light source, and the ambient light intensity value that light sensor measures at this time can become smaller, and screen intensity will It is dimmed.However the light intensity of environment, there is no changing, screen is dimmed undoubtedly to be impacted the use of user.Pass through implementation Method described in Fig. 1 is respectively arranged a light sensor in the front and back of user terminal respectively, and passes through the two light Line sensor detects ambient light intensity value, from the two light intensity values measured obtains larger light intensity value, should Larger light intensity value is just the true light intensity value of environment, and it is bright to adjust screen according to larger ambient light intensity value Degree, to be conducive to improve the display effect of screen.
Fig. 2 is referred to, Fig. 2 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention. As shown in Fig. 2, the back light brightness regulating method may comprise steps of.
201, user terminal detects the third light intensity value of environment by the first light sensor.
202, user terminal detects the first light intensity value of environment by the first light sensor.
In the embodiment of the present invention, user terminal can detect environment by the first light sensor with regular hour period Light intensity value.For example, user terminal can detect an ambient light intensity value by the first light sensor every 1 second.
In the embodiment of the present invention, user terminal by the first light sensor detect environment third light intensity value it Afterwards, the first light intensity value of environment can be detected by the first light sensor after prefixed time interval.
203, user terminal detects whether the first light intensity value is less than third light intensity value.
In the embodiment of the present invention, if user terminal detects that the first light intensity value is less than third light intensity value, hold 204 part of row.If user terminal detects that the first light intensity value is greater than or equal to third light intensity value, optionally, use Family terminal adjusts screen backlight brightness according to the first light intensity value.
It, can if user terminal detects that the first light intensity value is less than third light intensity value in the embodiment of the present invention Judge that the light intensity value that the first light sensor detects just tapers into, illustrates that user terminal may be just gradually back to light Source.
It, can if user terminal detects that the first light intensity value is more than third light intensity value in the embodiment of the present invention Judge that the light intensity value that the first light sensor detects just becomes larger, illustrates that user terminal is brighter possibly into one In environment, the first light intensity value can reflect true ambient light intensity at this time, therefore, can be according to the first light intensity value Screen backlight brightness is adjusted, to reach better display effect.
204, user terminal judges whether the absolute value of the difference of the first light intensity value and third light intensity value is more than in advance If value.
In the embodiment of the present invention, if user terminal judges the absolute of the difference of the first light intensity value and third light intensity value Value is more than preset value, then executes 205 parts.If user terminal judges the difference of the first light intensity value and third light intensity value Absolute value is less than preset value, then optionally, user terminal can be adjusted screen backlight brightness by the first light intensity value.
205, user terminal detects the second light intensity value of environment by the second light sensor.
206, user terminal is using light intensity value larger in the first light intensity value and the second light intensity value as mesh Mark light intensity value.
207, user terminal is adjusted screen backlight brightness according to target light intensity value.
In the embodiment of the present invention, 205 parts~207 parts are similar to 102~104 parts in Fig. 1, can refer in Fig. 1 102~104 parts description, do not repeat herein.
For example, after user terminal booting, user terminal only can detect environment by the first light sensor Light intensity value, and backlight illumination adjusting is carried out according to the light intensity value detected, it is detected by first in user terminal When the light intensity value that light sensor measures is gradually reduced, illustrate that user terminal may be just gradually back to light source.If at this point, The light intensity value that one light sensor measures changes little, the light intensity that user terminal is measured according to the first light sensor Value will not cause too much influence to adjust screen backlight brightness to the visual experience of user.If at this point, the first light level The ambient light intensity value that device measures changes larger, and light intensity value that user terminal is measured according to the first light sensor is adjusted Section screen backlight brightness will cause large effect to the visual sense feeling of user, and therefore, at this moment user terminal can pass through second Light sensor detects the light intensity value of environment, to determine the true light intensity value of environment.As it can be seen that by implementing Fig. 2 Described method, user terminal only need to just lead to when the amplitude that the light intensity value that the first light sensor measures reduces is very big The second light sensor is crossed to detect the light intensity value of environment, environment need not be detected always by the second light sensor Light intensity value, save cpu resource.
Fig. 3 is referred to, Fig. 3 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention. As shown in figure 3, the back light brightness regulating method may comprise steps of.
301, user terminal receives calibration command input by user.
302, user terminal detects the 4th light intensity value of environment by the first light sensor.
In the embodiment of the present invention, after user terminal receives calibration command, environment will be detected by the first light sensor The 4th light intensity value.
303, user terminal detects the 5th light intensity value of environment by the second light sensor.
In the embodiment of the present invention, after user terminal receives calibration command, environment will be detected by the second light sensor The 5th light intensity value.
Wherein, 302 parts can be in no particular order with the execution sequence of 303 parts.For example, when first carrying out 302 part, user It can be by the front of user terminal towards light source, to detect the 4th light intensity value of environment by the first light sensor; After user terminal detects the 4th light intensity value, user can be prompted the back side of user terminal towards light source, to pass through Two light sensors detect the 5th light intensity value of environment.That is, the first light sensor and the second light should be kept The measuring environment of line sensor is identical.
304, user terminal detects the 4th light intensity value and whether the absolute value of the difference of the 5th light intensity value is more than in advance If threshold value.
In the embodiment of the present invention, user terminal detects that the 4th light intensity value with after the 5th light intensity value, will be examined Whether the absolute value of the difference for surveying the 4th light intensity value and the 5th light intensity value is more than predetermined threshold value.If the 4th light intensity value It is more than predetermined threshold value with the absolute value of the difference of the 5th light intensity value, then executes 305 parts;If the 4th light intensity value and the 5th The absolute value of the difference of light intensity value is less than predetermined threshold value, then terminates this flow.
305, user terminal carries out school according to the 5th light intensity value and the 4th the first light sensor of light intensity value pair It is accurate;It is calibrated according to the 5th light intensity value and the 4th the second light sensor of light intensity value pair.
In the embodiment of the present invention, if for example, the 5th light intensity value is 10lux, the 4th light intensity value is 5lux, then uses When family terminal is calibrated according to the 5th light intensity value and the 4th the first light sensor of light intensity value pair, user terminal is set It sets the light intensity value that the first light sensor measures and is multiplied by 2, so that the first light sensor and under identical environment The light intensity value that two light sensors measure is identical.If user terminal is according to the 5th light intensity value and the 4th light intensity value Second light sensor to be calibrated, then the light intensity value that measures of the second light sensor is arranged divided by 2 in user terminal, So that the light intensity value that the first light sensor and the second light sensor measure under identical environment is identical.
If the absolute value of the difference of the 4th light intensity value and the 5th light intensity value is more than predetermined threshold value, illustrate identical In the environment of the light intensity value of measurement of the first light sensor and the second light sensor be different, at this moment need to One light sensor or the second light sensor are calibrated, and make the first light sensor and the second light sensor identical The light intensity value measured under environment is identical, so as to subsequently through the light of the first light sensor and the measurement of the second light sensor Line intensity value can obtain accurate ambient light intensity value.
306, user terminal detects the first light intensity value of environment by the first light sensor.
307, whether user terminal detection user terminal is overturn.
In the embodiment of the present invention, user terminal by the first light sensor detect environment the first light intensity value it Afterwards, whether detection user terminal is overturn.If detecting, user terminal is overturn, and executes 308 parts.Optionally, If detecting, user terminal is not overturn, is adjusted to the screen backlight brightness of user terminal by the first light intensity value Section.
Specifically, user terminal can detect whether user terminal is overturn by gravity sensor or gyroscope etc..
By implementing the embodiment, when user terminal detects that user terminal is overturn, the front of user terminal It may be overturn by user to back to light source.Therefore, by when detecting that user terminal is overturn, just executing 308~310 Point, the second light intensity value that user terminal detects environment all the time by the second light sensor is can avoid, user's end is saved The cpu resource at end.
308, user terminal detects the second light intensity value of environment by the second light sensor.
309, user terminal is using light intensity value larger in the first light intensity value and the second light intensity value as mesh Mark light intensity value.
310, user terminal is adjusted screen backlight brightness according to target light intensity value.
In the embodiment of the present invention, 308~310 parts are similar to 102~104 parts in Fig. 1, can refer to 102 in Fig. 1 The description of~104 parts, does not repeat herein.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention.Wherein, Fig. 4 institutes The user terminal shown may include detection module 401, determining module 402 and adjustment module 403.Wherein:
Detection module 401, the first light intensity value for detecting environment by the first light sensor, the first light pass Sensor is used to detect the light intensity value of the first direction of user terminal.
Detection module 401 is additionally operable to detect the second light intensity value of environment, the second light by the second light sensor Sensor is used to detect the light intensity value of the second direction of user terminal, and first direction is opposite with second direction.
Determining module 402, for making light intensity value larger in the first light intensity value and the second light intensity value For target light intensity value.
Adjustment module 403, for screen backlight brightness to be adjusted according to target light intensity value.
As an alternative embodiment, detection module 401, is additionally operable to detecting environment by the first light sensor The first light intensity value after, detection user terminal whether overturn.
When detection module 401 detects that user terminal is overturn, detection trigger module 401 passes through the second light level Device detects the second light intensity value of environment.
Please refer to fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.Wherein, User terminal shown in fig. 5 is that user terminal as shown in Figure 4 optimizes.User terminal as shown in fig. 4 is compared Compared with user terminal shown in fig. 5 can also include the first judgement in addition to all modules including user terminal shown in Fig. 4 Module 404, receiving module 405, the second judgment module 406 and calibration module 407.
Detection module 401 is additionally operable to detect the third light intensity value of environment by the first light sensor.
Detection module 401, the first light for being additionally operable to detect environment by the first light sensor in detection module 401 are strong After angle value, whether the first light intensity value of detection is less than third light intensity value.
First judgment module 404, for detecting that the first light intensity value is less than third light intensity in detection module 401 After value, before detection module 401 detects the second light intensity value of environment by the second light sensor, the first light is judged Whether line intensity value and the absolute value of the difference of third light intensity value are more than preset value.When the first judgment module 404 detects When the absolute value of the difference of one light intensity value and third light intensity value is more than preset value, detection trigger module 401 passes through second Light sensor detects the second light intensity value of environment.
Receiving module 405, the first light intensity for detecting environment by the first light sensor in detection module 401 Before value, calibration command input by user is received.
Detection module 401 is additionally operable to detect the 4th light intensity value of environment by the first light sensor.
Detection module 401 is additionally operable to detect the 5th light intensity value of environment by the second light sensor.
Second judgment module 406 is additionally operable to judge the absolute value of the difference of the 4th light intensity value and the 5th light intensity value Whether predetermined threshold value is more than.
Calibration module 407, for when the second judgment module 406 judge the 4th light intensity value and the 5th light intensity value it When absolute value of the difference is more than predetermined threshold value, according to the 5th light intensity value and the 4th the first light sensor of light intensity value pair into Row calibration.Or it is calibrated according to the 5th light intensity value and the 4th the second light sensor of light intensity value pair.
It is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention also referring to Fig. 6, Fig. 6.Such as Fig. 6 Shown, which may include:At least one processor 601, such as CPU, at least one processor 602 are at least one Communication bus 603,604 and second light sensor 605 of at least one first light sensor and at least one input unit 606;Wherein, communication bus 603 is for realizing the communication connection between these components.Memory 602 can be high-speed RAM storage Device can also be non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Storage Device 602 optionally can also be at least one storage device for being located remotely from aforementioned processor 601.Wherein, processor 601 can be with The user terminal in conjunction with described in Fig. 4~Fig. 6 stores batch processing code in memory 602, and above-mentioned processor 601 calls The program code stored in memory 602, for performing the following operations:
The first light intensity value of environment is detected by the first light sensor 604, first light sensor is for examining Survey the light intensity value of the first direction of user terminal;
The second light intensity value of environment is detected by the second light sensor 605, second light sensor is for examining The light intensity value of the second direction of user terminal is surveyed, the first direction is opposite with second direction;
Using light intensity value larger in the first light intensity value and the second light intensity value as target light intensity value;
Screen backlight brightness is adjusted according to target light intensity value.
As an alternative embodiment, processor 601 calls the program code in memory 602, pass through the first light Before line sensor 604 detects the first light intensity value of environment, following operation can also be performed:
The third light intensity value of environment is detected by the first light sensor 604;
So correspondingly, processor 601 by the first light sensor 604 detect environment the first light intensity value it Afterwards, following operation can also be performed:
Detect whether the first light intensity value is less than third light intensity value;
If so, processor 601 detects the second light intensity value of environment by the second light sensor 605.
As an alternative embodiment, processor 601 calls the program code in memory 602, the is being detected One light intensity value is less than after third light intensity value, and in the second light for detecting environment by the second light sensor 605 Before line intensity value, following operation can also be performed:
Judge whether the first light intensity value and the absolute value of the difference of third light intensity value are more than preset value;
If more than preset value, then the second light intensity that processor 601 passes through the second light sensor 605 detection environment Value.
As an alternative embodiment, processor 601 calls the program code in memory 602, pass through the first light After line sensor 604 detects the first light intensity value of environment, following operation can also be performed:
Whether detection user terminal is overturn;
If detecting, user terminal is overturn, and processor 601 detects the of environment by the second light sensor 605 Two light intensity values.
Optionally, user terminal may also include gravity sensor or gyroscope etc., pass through gravity sensor or gyroscope etc. To detect whether user terminal is overturn.
As an alternative embodiment, processor 601 calls the program code in memory 602, pass through the first light Before line sensor 604 detects the first light intensity value of environment, following operation can also be performed:
Calibration command input by user is received by input unit 606;
The 4th light intensity value of environment is detected by the first light sensor 604;
The 5th light intensity value of environment is detected by the second light sensor 605;
Whether the absolute value of the difference for detecting the 4th light intensity value and the 5th light intensity value is more than predetermined threshold value;
If so, being calibrated according to the 5th light intensity value and the 4th the first light sensor of light intensity value pair 604; Or it is calibrated according to the 5th light intensity value and the 4th the second light sensor of light intensity value pair 605.
As it can be seen that by implementing user terminal described in Fig. 4~Fig. 6, user terminal is according to the first light sensor and The light intensity value that two light sensors measure can determine an accurate ambient light intensity value, to according to accurate environment Light intensity value adjusts screen backlight brightness, is conducive to the display effect for improving screen.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module in the user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed come command terminal device-dependent hardware by program, which can be stored in a computer readable storage medium In, storage medium may include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of back light brightness regulating method disclosed by the embodiments of the present invention and user terminal are described in detail above, Principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only used In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (6)

1. a kind of back light brightness regulating method, which is characterized in that the method includes:
Receive calibration command input by user;
The 4th light intensity value of environment is detected by the first light sensor;
The 5th light intensity value of environment is detected by the second light sensor;
Whether the absolute value of the difference for detecting the 4th light intensity value and the 5th light intensity value is more than predetermined threshold value;
If so, being carried out to first light sensor according to the 5th light intensity value and the 4th light intensity value Calibration;Or school is carried out to second light sensor according to the 5th light intensity value and the 4th light intensity value It is accurate;
The first light intensity value of environment is detected by the first light sensor, first light sensor is for detecting user The light intensity value of the first direction of terminal;
Whether detection user terminal is overturn;
If detecting, user terminal is overturn, and the second light intensity value of environment is detected by the second light sensor, described Second light sensor is used to detect the light intensity value of the second direction of the user terminal, the first direction and described the Two directions are opposite;
The first light intensity value and light intensity value larger in the second light intensity value is strong as target light Angle value;
According to the correspondence of preset light intensity value and screen backlight brightness value, obtain corresponding with target light intensity value Screen backlight brightness value is adjusted to target screen backlight brightness values by target screen backlight brightness values.
2. according to the method described in claim 1, it is characterized in that, described detect the first of environment by the first light sensor Before light intensity value, the method further includes:
The third light intensity value of environment is detected by the first light sensor;
After the first light intensity value for detecting environment by the first light sensor, the method further includes:
Detect whether the first light intensity value is less than the third light intensity value;
If so, the step of executing the second light intensity value for detecting environment by the second light sensor.
3. according to the method described in claim 2, it is characterized in that, detecting that the first light intensity value is less than described the After three light intensity values, before the second light intensity value for detecting environment by the second light sensor, the method is also Including:
Judge whether the first light intensity value and the absolute value of the difference of the third light intensity value are more than preset value;
If more than the preset value, then the step of the second light intensity value that environment is detected by the second light sensor is executed Suddenly.
4. a kind of user terminal, which is characterized in that the user terminal includes:
Receiving module, for before detection module detects the first light intensity value of environment by the first light sensor, connecing Receive calibration command input by user;
The detection module is additionally operable to detect the 4th light intensity value of environment by first light sensor;
The detection module is additionally operable to detect the 5th light intensity value of environment by the second light sensor;
Second judgment module is additionally operable to judge the absolute value of the difference of the 4th light intensity value and the 5th light intensity value Whether predetermined threshold value is more than;
Calibration module, for judging the 4th light intensity value and the 5th light intensity value when second judgment module Absolute value of the difference when being more than predetermined threshold value, according to the 5th light intensity value and the 4th light intensity value to described the One light sensor is calibrated;Or according to the 5th light intensity value and the 4th light intensity value to second light Line sensor is calibrated;
The detection module is additionally operable to detect the first light intensity value of environment, first light by the first light sensor Line sensor is used to detect the light intensity value of the first direction of user terminal;
The detection module, is additionally operable to whether detection user terminal is overturn;If detecting, user terminal is overturn, and is passed through Second light sensor detects the second light intensity value of environment, and second light sensor is for detecting the user terminal Second direction light intensity value, the first direction is opposite with the second direction;
Determining module, for making light intensity value larger in the first light intensity value and the second light intensity value For target light intensity value;
Adjustment module, for the correspondence according to preset light intensity value and screen backlight brightness value, acquisition and target light Screen backlight brightness value is adjusted to target screen backlight brightness values by the corresponding target screen backlight brightness values of line intensity value.
5. user terminal according to claim 4, which is characterized in that
The detection module is additionally operable to detect the third light intensity value of environment by the first light sensor;
The detection module is additionally operable to detect the first light intensity of environment by the first light sensor in the detection module After value, detect whether the first light intensity value is less than the third light intensity value;When the detection module detects When the first light intensity value is less than the third light intensity value, triggers the detection module and pass through the second light sensor Detect the second light intensity value of environment.
6. user terminal according to claim 5, which is characterized in that the user terminal further includes:
First judgment module is strong for detecting that the first light intensity value is less than the third light in the detection module After angle value, before the detection module detects the second light intensity value of environment by the second light sensor, institute is judged Whether the absolute value of the difference for stating the first light intensity value and the third light intensity value is more than preset value;When first judgement When module detects that the absolute value of the difference of the first light intensity value and the third light intensity value is more than preset value, triggering The detection module detects the second light intensity value of environment by the second light sensor.
CN201610196267.1A 2016-03-30 2016-03-30 A kind of back light brightness regulating method and user terminal Expired - Fee Related CN105654923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610196267.1A CN105654923B (en) 2016-03-30 2016-03-30 A kind of back light brightness regulating method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610196267.1A CN105654923B (en) 2016-03-30 2016-03-30 A kind of back light brightness regulating method and user terminal

Publications (2)

Publication Number Publication Date
CN105654923A CN105654923A (en) 2016-06-08
CN105654923B true CN105654923B (en) 2018-09-04

Family

ID=56496900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610196267.1A Expired - Fee Related CN105654923B (en) 2016-03-30 2016-03-30 A kind of back light brightness regulating method and user terminal

Country Status (1)

Country Link
CN (1) CN105654923B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106568468B (en) * 2016-10-31 2019-02-12 努比亚技术有限公司 Automatic test calibration system and method based on light sensor
CN106679803B (en) * 2016-12-06 2018-12-11 广东欧珀移动通信有限公司 The control method of sensor module, terminal and screen intensity
CN106888534B (en) * 2017-03-15 2020-01-24 珠海市魅族科技有限公司 Illumination control method and device
CN107300417A (en) * 2017-05-25 2017-10-27 广东欧珀移动通信有限公司 Detection method, device, storage medium and the terminal of ambient light
CN108257581B (en) * 2017-12-22 2019-12-06 维沃移动通信有限公司 Light intensity detection device, mobile terminal and display screen brightness adjustment method
CN110545338B (en) * 2018-05-29 2021-05-04 青岛海信移动通信技术股份有限公司 Display device and control method thereof
CN109637498A (en) * 2018-12-23 2019-04-16 湖南文理学院 A kind of control system and control method that computer screen brightness is intelligently adjusted
CN111128092B (en) * 2020-02-11 2021-07-23 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN114187874B (en) * 2020-09-15 2023-07-18 北京小米移动软件有限公司 Brightness adjusting method, device and storage medium
CN112468656A (en) * 2020-11-17 2021-03-09 惠州Tcl移动通信有限公司 Method, device and equipment for controlling brightness of display screen and computer readable storage medium
CN112433694B (en) * 2020-11-23 2023-12-26 惠州Tcl移动通信有限公司 Light intensity adjusting method and device, storage medium and mobile terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100928755B1 (en) * 2007-09-17 2009-11-25 매그나칩 반도체 유한회사 Image display device and image display method with adjustable brightness
US20100163717A1 (en) * 2008-12-26 2010-07-01 Yaw-Guang Chang Calibration method for calibrating ambient light sensor and calibration apparatus thereof
CN102063871A (en) * 2010-12-29 2011-05-18 上海华勤通讯技术有限公司 Electronic equipment with adaptive-brightness display screen and adaptive method
CN103037088B (en) * 2012-12-11 2015-05-13 惠州Tcl移动通信有限公司 Method and mobile terminal for screen backlight adjusting
CN103327148B (en) * 2013-06-28 2016-02-10 惠州Tcl移动通信有限公司 Based on implementation method and the mobile terminal of the brightness of mobile terminal adjustment screen backlight
CN105280159B (en) * 2014-07-31 2017-11-28 维沃移动通信有限公司 The backlight adjusting method and its display device of a kind of display device
CN104700816B (en) * 2015-01-08 2017-05-24 小米科技有限责任公司 Method and device for setting screen brightness
CN104866140A (en) * 2015-05-27 2015-08-26 小米科技有限责任公司 Screen calibration method and screen calibration apparatus
CN105161071A (en) * 2015-10-21 2015-12-16 维沃移动通信有限公司 Backlight brightness adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN105654923A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105654923B (en) A kind of back light brightness regulating method and user terminal
CN106210227B (en) A kind of calibration method of infrared proximity transducer, device and mobile terminal
CN105025159B (en) proximity sensor adjusting method and device
US10497341B2 (en) Screen display method, apparatus and mobile terminal
WO2017054108A1 (en) Terminal and method for detecting brightness of ambient light
US20170068314A1 (en) Detection of improper viewing posture
CN104811544A (en) Screen brightness adjustment method
US10607570B2 (en) Brightness control method, apparatus and program product
US10684164B2 (en) Display brightness control method, electronic device, and computer-readable recording medium
CN105577932A (en) Screen brightness adjusting method and mobile terminal
CN104780320B (en) Ambient light detection method and electronic device
CN107731179A (en) Display control method, device, storage medium and air conditioner
CN105959492A (en) Control method and device for infrared proximity sensor and mobile terminal
WO2019024644A1 (en) Proximity detection method and apparatus, storage medium, and electronic device
CN105575359A (en) Brightness adjusting system and brightness adjusting method
CN108269552A (en) A kind of screen luminance adjustment method and mobile terminal and medium product
CN105809117B (en) A kind of information cuing method and user terminal
CN105895057B (en) A kind of backlight adjusting method, device and terminal device
WO2018077093A1 (en) Method and device for controlling mobile terminal, and mobile terminal
CN109738004A (en) The calibration method and device, electronic equipment and storage medium of proximity sensor
CN109059987A (en) A kind of method, device and mobile terminal for calibrating optical sensor
CN106097984A (en) The method of proximity transducer, device and mobile terminal is opened in backlight adjusts
CN108683896A (en) A kind of calibration method of projection device, device, projection device and terminal device
CN106453930B (en) Method for lighting screen of mobile terminal and mobile terminal
CN105700041B (en) A kind of Magnetic Sensor adjustment controlling means and user 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180904