CN104023145B - A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal - Google Patents
A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal Download PDFInfo
- Publication number
- CN104023145B CN104023145B CN201410300771.2A CN201410300771A CN104023145B CN 104023145 B CN104023145 B CN 104023145B CN 201410300771 A CN201410300771 A CN 201410300771A CN 104023145 B CN104023145 B CN 104023145B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- backlight
- current
- screen
- light intensity
- 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
Landscapes
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method and the device of automatically opening the automatic backlight adjustment of mobile terminal, the method comprises the following steps: when mobile terminal bright screen, detects whether mobile terminal is current opens automatic backlight shaping modes; If mobile terminal is current do not open automatic backlight shaping modes, then obtain the current screen backlight brightness value of mobile terminal; Judge whether the current screen backlight brightness value of mobile terminal is in minimum brightness section; If the current screen backlight brightness value of mobile terminal is in minimum luminance area, then sampling obtains current environmental light intensity angle value; Judge whether current environmental light intensity angle value is between highlights; If current environmental light intensity angle value is between highlights, then open automatic backlight shaping modes, and automatically screen backlight is adjusted according to current environmental light intensity angle value.Present invention, avoiding and cause cannot seeing under high light that the situation of screen display occurs because screen back light value is too low, it is reasonable in design, improves Consumer's Experience.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly, relate to a kind of method and the device of automatically opening the automatic backlight adjustment of mobile terminal.
Background technology
The mobile terminal (as mobile phone) of existing band display screen is often provided with backlight illumination regulatory function, and its screen adjustment backlight illumination has two kinds of modes: 1, manually enter adjusting backlight luminance menu and regulate; 2, mobile terminal is arranged to automatic adjusting backlight luminance.
According to use habit, certain customers' automatic backlight shaping modes not accustomed to using, but select manual backlight shaping modes, therefore, can be there is following situation in these certain customers: use at night and usually adjust to minimum by screen backlight brightness value (i.e. backlight value) when mobile terminal, but when next time uses if under outdoor solar light, screen display can not seen, add status bar adjustment backlight place be entirely black, be difficult to see clearly, so often see that having people to keep the sun off with hand when going out subway sees screen under the low light level.If adjust backlight, a half-light environment can only be manufactured temporarily, then just likely see the part display of screen, which reduce the experience of user.
For most mobile terminal, the mobile phones such as such as apple, Samsung, millet, Sony, under the prerequisite of lowest backlight value, go to outdoor, under cloudy day, (light intensity is at about 7000lux) does not see screen content, and under fine day, (light intensity is at more than 10000lux) can't see screen display substantially.Therefore, be necessary to design and a kind ofly just automatically can open the function that automatic backlight shaping modes carries out backlight adjustment when mobile terminal meets certain condition, avoid user to can't see the situation generation of screen display.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, a kind of method and the device of automatically opening the automatic backlight adjustment of mobile terminal are provided, which obviate and cause cannot seeing under high light that the situation of screen display occurs because screen back light value is too low.
For achieving the above object, technical scheme provided by the invention is as follows: a kind of method automatically opening the automatic backlight adjustment of mobile terminal, comprises the following steps:
When mobile terminal bright screen, detect whether mobile terminal is current opens automatic backlight shaping modes;
If mobile terminal is current do not open automatic backlight shaping modes, then obtain the current screen backlight brightness value of mobile terminal;
Judge whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
If the current screen backlight brightness value of mobile terminal is in minimum luminance area, then sampling obtains current environmental light intensity angle value;
Judge whether current environmental light intensity angle value is between highlights;
If current environmental light intensity angle value is between highlights, then open automatic backlight shaping modes, and automatically screen backlight is adjusted according to current environmental light intensity angle value.
As preferably, in the technical scheme of said method, described minimum brightness section is 5 ~ 15lux.
As preferably, in the technical scheme of said method, be more than 8500lux between described highlights.
As preferably, in the technical scheme of said method, the described step automatically adjusted screen backlight according to current environmental light intensity angle value is specially and the screen backlight brightness value of mobile terminal is adjusted to more than 2000lux.
Present invention also offers a kind of device automatically opening the automatic backlight adjustment of mobile terminal, comprising:
Backlight mode detection module, for when mobile terminal bright screen, detects whether mobile terminal is current opens automatic backlight shaping modes;
Backlight value acquisition module, if do not open automatic backlight shaping modes for mobile terminal is current, then obtains the current screen backlight brightness value of mobile terminal;
Backlight value judge module, for judging whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
Luminous intensity acquisition module, if be in minimum luminance area for the screen backlight brightness value that mobile terminal is current, then sampling obtains current environmental light intensity angle value;
Luminous intensity judge module, for judging whether current environmental light intensity angle value is between highlights;
Automatic backlight starts adjustment module, if be between highlights for current environmental light intensity angle value, then opens automatic backlight shaping modes, and automatically adjusts screen backlight according to current environmental light intensity angle value.
As preferably, in the technical scheme of said apparatus, described minimum brightness section is 5 ~ 15lux.
As preferably, in the technical scheme of said apparatus, be more than 8500lux between described highlights.
As preferably, in the technical scheme of said apparatus, described automatic backlight startup adjustment module automatically adjusts screen backlight according to current environmental light intensity angle value and specifically refers to that the screen backlight brightness value by mobile terminal is adjusted to more than 2000lux.
As preferably, in the technical scheme of said apparatus, described luminous intensity acquisition module is set to optical sensor.
Compared with prior art, beneficial effect of the present invention is:
The present invention detects backlight shaping modes, screen backlight brightness and ambient light intensity successively, automatic backlight shaping modes can be automatically opened when mobile terminal meets the condition pre-set, and automatically screen backlight is adjusted according to current environmental light intensity angle value, avoid and cause cannot seeing under high light that the situation of screen display occurs because screen back light value is too low, it is reasonable in design, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram automatically opening the automatic backlight adjustment of mobile terminal that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram automatically opening automatic backlight adjustment for mobile phone that the embodiment of the present invention one provides;
Fig. 3 is the structured flowchart automatically opening the device of the automatic backlight adjustment of mobile terminal that the embodiment of the present invention two provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Embodiments of the invention one provide a kind of method automatically opening the automatic backlight adjustment of mobile terminal, are described in detail to the present embodiment below in conjunction with accompanying drawing.Fig. 1 is the method flow diagram of the embodiment of the present invention one, please refer to Fig. 1, and the method for the embodiment of the present invention comprises the following steps:
Step S101, when mobile terminal bright screen, detect that mobile terminal is current whether opens automatic backlight shaping modes;
Concrete, in the ccf layer of Android design, power management module (PowerManager) is provided with a monitor for the database arranging module use, in monitored data storehouse automatic backlight this, time when automatic backlight, this has a variation, monitor can listen to, and then upgrades lower local record, so the backlight shaping modes that user is arranged can be detected at any time, can directly read when needs.Wherein, following code can be called when listening to automatic backlight patterns of change in database and carry out one of state synchronously:
In this enforcement, if mobile terminal is current not yet open automatic backlight shaping modes, be namely in manual backlight shaping modes, then perform step S102, otherwise be left intact.
The screen backlight brightness value that step S102, acquisition mobile terminal are current;
Concrete, the screen backlight changing mobile terminal is all that PowerManager decides, and is communicated with bottom layer driving by Lightservice.Can be described request when the change of application backlight illumination, wherein have one to be exactly backlight illumination about application, need directly to access this variable and can obtain when inquiring about, its code is:
Step S103, judge whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
In this enforcement, preferably, described minimum brightness section is 5 ~ 15lux, if the current screen backlight brightness value of mobile terminal is in minimum luminance area, then performs step S104, otherwise is left intact.
Step S104, sampling obtain current environmental light intensity angle value;
Concrete, the detection of ambient light intensity only needs to be monitored by SensorManager Module registers light sensation, and just can be got the intensity of surround lighting by optical sensor, PowerManager has provides correlation function interface, and its code is:
Step S105, judge whether current environmental light intensity angle value is between highlights;
In this enforcement, preferably, be more than 8500lux between described highlights, if current environmental light intensity angle value is between highlights, then performs step S106, otherwise be left intact.
Step S106, open automatic backlight shaping modes, and automatically screen backlight is adjusted according to current environmental light intensity angle value.
Concrete, when the detection of above-mentioned backlight shaping modes, screen backlight brightness and ambient light intensity meets the condition of setting, so current mobile terminal is in: a, manual backlight shaping modes; B, screen back light value are low; C, ambient light intensity are large, now can open automatic backlight shaping modes in PowerManager.
In this enforcement, the described step automatically adjusted screen backlight according to current environmental light intensity angle value is specially and the screen backlight brightness value of mobile terminal is adjusted to more than 2000lux.
The embodiment of the present invention is described in detail below with concrete example.
Fig. 2 shows the method flow diagram automatically opening automatic backlight adjustment for mobile phone, comprises the following steps:
Step S201, PowerManager prepare screen backlight brightness value;
Step S202, judge whether mobile phone opens automatic backlight shaping modes; If so, then step step S203 is performed, otherwise, then perform step S204 and step S205 respectively;
Step S203, registration light sensation are monitored, and environmentally light intensity goes the brightness of adjustment screen backlight automatically;
Step S204, with arranging the brightness value that arranges in module as screen backlight brightness value;
Step S205, judge that whether the current screen backlight brightness value of mobile phone is lower, as being less than 10lux; If so, then step S206 is performed, otherwise, then return and perform step S204;
Step S206, judging that whether ambient light intensity is higher, as being greater than 10000lux, if so, then performing step S207, otherwise, then return and perform step S204;
Step S207, open automatic backlight shaping modes, the environmentally automatic adjusting screen backlight illumination of light intensity value.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.In addition, this mobile terminal can be the mobile terminal device such as mobile phone, panel computer.
Embodiment two
Embodiments of the invention two provide a kind of device automatically opening the automatic backlight adjustment of mobile terminal, and please refer to Fig. 3, this device comprises:
Backlight mode detection module 31, for when mobile terminal bright screen, detects whether mobile terminal is current opens automatic backlight shaping modes;
Backlight value acquisition module 32, if do not open automatic backlight shaping modes for mobile terminal is current, then obtains the current screen backlight brightness value of mobile terminal;
Backlight value judge module 33, for judging whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
In this enforcement, preferably, described minimum brightness section is 5 ~ 15lux.
Luminous intensity acquisition module 34, if be in minimum luminance area for the screen backlight brightness value that mobile terminal is current, then sampling obtains current environmental light intensity angle value;
In this enforcement, described luminous intensity acquisition module 34 is preferably set to optical sensor.
Luminous intensity judge module 35, for judging whether current environmental light intensity angle value is between highlights;
In this enforcement, preferably, between described highlights be more than 8500lux.
Automatic backlight starts adjustment module 36, if be between highlights for current environmental light intensity angle value, then opens automatic backlight shaping modes, and automatically adjusts screen backlight according to current environmental light intensity angle value;
In this enforcement, described automatic backlight startup adjustment module 36 automatically adjusts screen backlight according to current environmental light intensity angle value and specifically refers to that the screen backlight brightness value by mobile terminal is adjusted to more than 2000lux.
It should be noted that, a kind of device automatically opening the automatic backlight adjustment of mobile terminal that above-described embodiment provides, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by system is divided into different functional modules, to complete all or part of function described above.
In sum, method of the present invention and device detect backlight shaping modes, screen backlight brightness and ambient light intensity successively, automatic backlight shaping modes can be automatically opened when mobile terminal meets the condition pre-set, and automatically screen backlight is adjusted according to current environmental light intensity angle value, avoid and cause cannot seeing under high light that the situation of screen display occurs because screen back light value is too low, it is reasonable in design, improves Consumer's Experience.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.
Claims (9)
1. automatically open a method for the automatic backlight adjustment of mobile terminal, it is characterized in that, the method comprises the following steps:
When mobile terminal bright screen, detect whether mobile terminal is current opens automatic backlight shaping modes;
If mobile terminal is current do not open automatic backlight shaping modes, then obtain the current screen backlight brightness value of mobile terminal;
Judge whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
If the current screen backlight brightness value of mobile terminal is in minimum luminance area, then sampling obtains current environmental light intensity angle value;
Judge whether current environmental light intensity angle value is between highlights;
If current environmental light intensity angle value is between highlights, then open automatic backlight shaping modes, and automatically screen backlight is adjusted according to current environmental light intensity angle value.
2. the method automatically opening the automatic backlight adjustment of mobile terminal according to claim 1, it is characterized in that, described minimum brightness section is 5 ~ 15lux.
3. the method automatically opening the automatic backlight adjustment of mobile terminal according to claim 1, it is characterized in that, be more than 8500lux between described highlights.
4. the method automatically opening the automatic backlight adjustment of mobile terminal according to claim 1, it is characterized in that, the described step automatically adjusted screen backlight according to current environmental light intensity angle value is specially and the screen backlight brightness value of mobile terminal is adjusted to more than 2000lux.
5. automatically open a device for the automatic backlight adjustment of mobile terminal, it is characterized in that, comprising:
Backlight mode detection module, for when mobile terminal bright screen, detects whether mobile terminal is current opens automatic backlight shaping modes;
Backlight value acquisition module, if do not open automatic backlight shaping modes for mobile terminal is current, then obtains the current screen backlight brightness value of mobile terminal;
Backlight value judge module, for judging whether the current screen backlight brightness value of mobile terminal is in minimum brightness section;
Luminous intensity acquisition module, if be in minimum luminance area for the screen backlight brightness value that mobile terminal is current, then sampling obtains current environmental light intensity angle value;
Luminous intensity judge module, for judging whether current environmental light intensity angle value is between highlights;
Automatic backlight starts adjustment module, if be between highlights for current environmental light intensity angle value, then opens automatic backlight shaping modes, and automatically adjusts screen backlight according to current environmental light intensity angle value.
6. the device automatically opening the automatic backlight adjustment of mobile terminal according to claim 5, it is characterized in that, described minimum brightness section is 5 ~ 15lux.
7. the device automatically opening the automatic backlight adjustment of mobile terminal according to claim 5, it is characterized in that, be more than 8500lux between described highlights.
8. the device automatically opening the automatic backlight adjustment of mobile terminal according to claim 5, it is characterized in that, described automatic backlight startup adjustment module automatically adjusts screen backlight according to current environmental light intensity angle value and specifically refers to that the screen backlight brightness value by mobile terminal is adjusted to more than 2000lux.
9. the device automatically opening the automatic backlight adjustment of mobile terminal according to claim 5, it is characterized in that, described luminous intensity acquisition module is set to optical sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410300771.2A CN104023145B (en) | 2014-06-27 | 2014-06-27 | A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410300771.2A CN104023145B (en) | 2014-06-27 | 2014-06-27 | A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104023145A CN104023145A (en) | 2014-09-03 |
CN104023145B true CN104023145B (en) | 2016-04-06 |
Family
ID=51439707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410300771.2A Active CN104023145B (en) | 2014-06-27 | 2014-06-27 | A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104023145B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104464647B (en) * | 2014-11-28 | 2017-06-23 | 广东欧珀移动通信有限公司 | A kind of back light brightness regulating method and terminal |
CN104700816B (en) * | 2015-01-08 | 2017-05-24 | 小米科技有限责任公司 | Method and device for setting screen brightness |
CN104916270B (en) * | 2015-05-29 | 2019-04-05 | 努比亚技术有限公司 | A kind of method and apparatus adjusting screen intensity |
CN106328073A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Backlight brightness adjusting method and device |
CN105049625B (en) * | 2015-07-23 | 2018-07-20 | 深圳市万普拉斯科技有限公司 | Brightness adjusting method, device and the mobile terminal of the display screen of mobile terminal |
CN105450870A (en) * | 2015-12-03 | 2016-03-30 | 小米科技有限责任公司 | Method and device for adjusting brightness of mobile terminal |
CN105847535B (en) * | 2016-03-16 | 2019-08-06 | Oppo广东移动通信有限公司 | A kind of brightness of display screen adjusting method and mobile terminal |
CN105872235A (en) * | 2016-04-26 | 2016-08-17 | 广东欧珀移动通信有限公司 | Method and device for controlling brightness of displayer of electronic equipment and electronic equipment |
CN105895055B (en) * | 2016-05-31 | 2018-04-06 | 信利半导体有限公司 | A kind of screen luminance adjustment method and regulating system, display device |
CN108346411A (en) * | 2017-01-22 | 2018-07-31 | 中兴通讯股份有限公司 | A kind of back light brightness regulating method, device and terminal |
CN108540638A (en) * | 2018-01-31 | 2018-09-14 | 努比亚技术有限公司 | Screen intensity adjusts control method, terminal and computer storage media |
CN108848265B (en) * | 2018-06-21 | 2021-02-23 | 广东小天才科技有限公司 | Screen brightness adjusting method and device for local area, terminal and storage medium |
CN111031230A (en) * | 2018-10-09 | 2020-04-17 | 奇酷互联网络科技(深圳)有限公司 | Method for adjusting brightness of shooting interface, terminal and storage device |
CN111272200A (en) * | 2020-02-07 | 2020-06-12 | 北京字节跳动网络技术有限公司 | Output value adjusting method and device and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753662A (en) * | 2008-11-28 | 2010-06-23 | 上海市复兴高级中学 | Mobile telephone capable of automatically setting screen brightness |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002006789A (en) * | 2000-06-21 | 2002-01-11 | Sharp Corp | Backlight control device |
-
2014
- 2014-06-27 CN CN201410300771.2A patent/CN104023145B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753662A (en) * | 2008-11-28 | 2010-06-23 | 上海市复兴高级中学 | Mobile telephone capable of automatically setting screen brightness |
Also Published As
Publication number | Publication date |
---|---|
CN104023145A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104023145B (en) | A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal | |
CN103135895B (en) | A kind of method and device controlling display mode | |
US9318038B2 (en) | Color control method and communication apparatus | |
US10586508B2 (en) | Controlling display brightness based on image capture device data | |
CN103442128B (en) | A kind of method and apparatus of display communication event | |
CN104464686A (en) | Display brilliance control method and electronic device | |
CN103310763B (en) | Method, device and a kind of equipment that a kind of mobile device show state switches | |
CN104954558A (en) | Display method, display system and mobile terminal | |
CN104992692A (en) | Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal | |
CN103051804B (en) | Intelligent photo taking method and system of mobile terminal | |
CN103595842B (en) | A kind of flash lamp is as brightness of illumination control method during pocket lamp and mobile terminal | |
CN103513748A (en) | Method for processing information, information processor and electronic device | |
CN103050097B (en) | Method and device for regulating brightness of backlight lamp | |
CN103730102B (en) | A kind of information processing method and electronic equipment | |
CN104168699B (en) | Flashlight illumination brightness setting method and device | |
CN107743203A (en) | A kind of parameter regulation means, terminal and computer-readable recording medium | |
CN102394986A (en) | Mobile phone display system and method thereof | |
CN106251831A (en) | A kind of screen display lightness regulating method based on ambient light and system | |
CN109272944B (en) | Backlight adjusting method and device, terminal equipment and computer readable storage medium | |
CN108320714A (en) | A kind of brightness uniformity display methods and device applied to liquid crystal-spliced screen | |
CN112087611B (en) | Electronic equipment and display screen adjusting method thereof | |
CN109885272A (en) | A kind of display methods and terminal | |
CN104898840A (en) | Information processing method and apparatus, and electronic device | |
CN105554185B (en) | Solar recharging system and mobile terminal | |
CN106900039A (en) | A kind of mobile phone display screen backlight subarea lighting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
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: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |
|
CP01 | Change in the name or title of a patent holder |