CN103067604B - A kind of mobile phone enters the method for torch mode - Google Patents
A kind of mobile phone enters the method for torch mode Download PDFInfo
- Publication number
- CN103067604B CN103067604B CN201310017274.7A CN201310017274A CN103067604B CN 103067604 B CN103067604 B CN 103067604B CN 201310017274 A CN201310017274 A CN 201310017274A CN 103067604 B CN103067604 B CN 103067604B
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- luminance value
- torch mode
- light luminance
- mode
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000001514 detection method Methods 0.000 claims description 4
- 238000011897 real-time detection Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 4
- 238000005286 illumination Methods 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a kind of method that mobile phone enters torch mode, the method, based on the mobile phone with LED and surround lighting detecting sensor, comprises step: (1) is detected in real time and gathered light luminance value around; (2) judge whether the light luminance value collected is greater than predetermined light threshold values; (3) if be greater than, judge that mobile phone is current and whether be in screen locking and the whole OFF state of screen backlight; If be less than or equal to, return step (1); (4) if so, then enter photoflash lamp preference pattern, enter torch mode; If not, return step (1).The present invention enters torch mode fast under dark surrounds, easy to operate, for user is with as convenience.
Description
Technical field
The present invention relates to a kind of method entering torch mode fast, specifically a kind of method entering torch mode of mobile phone based on having LED, ambient light detectors.
Background technology
Along with the development of science and technology, the Application Software Program on mobile phone is constantly weeded out the old and bring forth the new, and mobile phone application online is at present of a great variety.After mobile phone being installed various application, function also gets more and more.Current smart mobile phone is general all with LED, can be convenient to use flashlight function.Such as, carry out corresponding operation after the application software of flashlight is installed on mobile phone mobile phone to be used as flashlight, make mobile phone possess the function of flashlight.For the ease of operation, switching all by adopting the mode application programs of shortcut to carry out foreground/background on mobile phone, this type of method of operation is all generally the control module first finding flashlight apply in menu, presses corresponding control button and realizes switching and enter torch mode or exit torch mode.User needs to remember such button and identify, when needing to see things clearly in the environment in dark, not carrying with flashlight again, now just needing to utilize mobile phone, mobile phone is used as flashlight to use.But when insufficient light, particularly run into emergency situations again, need to open mobile phone, enter menu, find respective keys, operation is comparatively complicated, often can not open flashlight function timely, be with as inconvenience to people.Or user sky is cold is also unfavorable for operation when having on thick and heavy gloves, inconvenient click keys.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method that easy to operate mobile phone enters torch mode, can enter fast, user-friendly.
In order to solve the problems of the technologies described above, the present invention takes following technical scheme:
Mobile phone enters a method for torch mode, and the method, based on the mobile phone with LED and surround lighting detecting sensor, comprises the following steps:
(1) the light luminance value around gathering is detected in real time;
(2) judge whether the light luminance value collected is greater than predetermined light threshold values;
(3) if be greater than, judge that mobile phone is current and whether be in screen locking and the whole OFF state of screen backlight; If be less than or equal to, return step (1);
(4) if so, then enter photoflash lamp preference pattern, enter torch mode; If not, return step (1).
Photoflash lamp preference pattern comprises flicker and normal bright two kinds of patterns in described step (4).
Described method also comprises step (5) after judging that obtaining mobile phone is in screen locking and the whole OFF state of screen backlight, and whether detection of handset presses volume add-substract key, for selecting corresponding Flash Mode;
(6) step (4) is if so, then proceeded to; If not, return step (1).
The present invention is easy to operate, and under dark surrounds, mobile phone detects surrounding environment light situation automatically, according to circumstances open torch mode, mobile phone can be used as flashlight, bringing great advantage to the user property temporarily, and have flicker and normal bright two states, selectivity is more flexible.
Accompanying drawing explanation
Accompanying drawing 1 is schematic flow sheet of the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described.
Present invention is disclosed a kind of method that mobile phone enters torch mode, by detecting the light luminance situation of surrounding environment, torch mode is entered according to reservation threshold, there is flicker and normal bright two states, flicker can give people watchful, mobile phone then can be used as flashlight temporarily and use by normal bright state, is bringing great convenience property of user in dark surrounds.
As shown in Figure 1, a kind of mobile phone enters the method for torch mode, the method is based on the mobile phone with LED and surround lighting detecting sensor, the mobile phone on the market at present with LED and surround lighting detecting sensor has a lot, it is all known products, and generally adopt LED as lamp source the light of the post-positioned pick-up head of mobile phone, be all existing known technology, be not described in detail in this.Said method comprising the steps of:
(1) the light luminance value around gathering is detected in real time.Mobile phone by the light luminance value of environment residing for the built-in real-time detection of handset of surround lighting detecting sensor so that mobile phone can enter torch mode timely.
(2) judge whether the light luminance value collected is greater than predetermined light threshold values.After collecting current light luminance value, this light luminance value and the light threshold values preset are compared, sees it is be greater than light threshold values, be still less than or equal to light threshold values.Predetermined light threshold values can self-defining herein, does not limit, is set flexibly by user according to the needs of oneself.
(3) if be greater than, judge that mobile phone is current and whether be in screen locking and the whole OFF state of screen backlight; If be less than or equal to, return step (1).After judging relatively, if the light luminance value collected is greater than predetermined light threshold values, then judging lock condition and the screen backlight situation of mobile phone further, checking whether all whether mobile phone be in the lock state and screen backlight OFF state, and namely whether screen is for putting out screen state.If the light luminance value collected is less than or equal to predetermined light threshold values, then return the light luminance situation of step (1) the current residing environment of detection of handset again.
(4) if so, then enter photoflash lamp preference pattern, enter torch mode; If not, return step (1).If mobile phone is in the lock state, and the backlight of screen with all extinguishes, then enter torch mode, have when entering torch mode and glimmer and normal bright two kinds of preference patterns, user can select to enter which kind of concrete torch mode voluntarily.Flashing lamp luminous energy gives watchful, and normal bright light light then can provide illumination for user.
In addition, enter torch mode to prevent mobile phone further by mistake, described method also comprises step (5) after judging that obtaining mobile phone is in screen locking and the whole OFF state of screen backlight, and whether detection of handset presses volume add-substract key, for selecting corresponding Flash Mode.(6) step (4) is if so, then proceeded to; If not, return step (1).This step (5) and (6) are positioned at after step (3) before step (4), and volume add-substract key is used for selecting the concrete lamp light mode of flashlight.The volume key of mobile phone is generally all directly arranged to physical button on handset shell, user friendly like this operation, and user does not need to open mobile phone menu and goes to select when which kind of torch mode selection enters, more efficient and convenient.The VOLUME UP direction that can be set to volume button is flash pattern, and reducing volume direction is normal bright pattern, or VOLUME UP direction is normal bright pattern, and reducing volume direction is flash pattern.
It should be noted that, the above is not the restriction to technical solution of the present invention, and under the prerequisite not departing from creation design of the present invention, any apparent replacement is all within protection scope of the present invention.
Claims (2)
1. mobile phone enters a method for torch mode, and the method, based on the mobile phone with LED and surround lighting detecting sensor, comprises the following steps:
Real-time detection gathers light luminance value around;
Judge whether the light luminance value collected is greater than predetermined light threshold values;
If be greater than, judge that mobile phone is current and whether be in screen locking and the whole OFF state of screen backlight; If be less than or equal to, return and detect the light luminance value around gathering;
After judging that obtaining mobile phone is in screen locking and the whole OFF state of screen backlight, whether detection of handset presses volume add-substract key;
If so, select corresponding Flash Mode, enter torch mode; If not, return and detect the light luminance value around gathering.
2. mobile phone according to claim 1 enters the method for torch mode, it is characterized in that: described photoflash lamp preference pattern comprises flicker and normal bright two kinds of patterns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310017274.7A CN103067604B (en) | 2013-01-17 | 2013-01-17 | A kind of mobile phone enters the method for torch mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310017274.7A CN103067604B (en) | 2013-01-17 | 2013-01-17 | A kind of mobile phone enters the method for torch mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103067604A CN103067604A (en) | 2013-04-24 |
CN103067604B true CN103067604B (en) | 2016-02-03 |
Family
ID=48110054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310017274.7A Expired - Fee Related CN103067604B (en) | 2013-01-17 | 2013-01-17 | A kind of mobile phone enters the method for torch mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103067604B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103345355B (en) * | 2013-07-18 | 2016-08-17 | 小米科技有限责任公司 | A kind of locking screen interface display control method, device and terminal unit |
CN104460936B (en) * | 2013-09-24 | 2018-07-06 | 联想(北京)有限公司 | The method and a kind of electronic equipment of a kind of control |
CN103873684B (en) * | 2014-02-27 | 2015-12-09 | 小米科技有限责任公司 | The application process of flashlight and device |
CN106713599A (en) * | 2015-07-28 | 2017-05-24 | 中兴通讯股份有限公司 | Terminal lighting application control method, device and terminal |
CN105100496A (en) * | 2015-08-24 | 2015-11-25 | 努比亚技术有限公司 | Information processing method and mobile terminal |
CN105162991A (en) * | 2015-10-13 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | A method and system for terminal automatically turning on and turning off electric torch |
CN105472142A (en) * | 2015-11-19 | 2016-04-06 | 广东欧珀移动通信有限公司 | Turning on method and apparatus for electric torch of mobile terminal |
CN105468268A (en) * | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
WO2017128247A1 (en) * | 2016-01-28 | 2017-08-03 | 王志强 | Method for turning on flashlight of mobile terminal, and mobile terminal |
WO2017128245A1 (en) * | 2016-01-28 | 2017-08-03 | 王志强 | Data sending method when flashlight of mobile terminal is turned on, and mobile terminal |
WO2017128246A1 (en) * | 2016-01-28 | 2017-08-03 | 王志强 | Information pushing method when flashlight is turned on according to surrounding environment, and mobile terminal |
CN105872240A (en) * | 2016-05-06 | 2016-08-17 | 乐视控股(北京)有限公司 | Flashlight mode starting method and mobile terminal |
CN106028502A (en) * | 2016-05-19 | 2016-10-12 | 捷开通讯科技(上海)有限公司 | Luminance control system and method for flash lamp of electronic apparatus |
CN106227421A (en) * | 2016-07-12 | 2016-12-14 | 佛山杰致信息科技有限公司 | A kind of pocket lamp quick start system |
CN106658850A (en) * | 2016-12-26 | 2017-05-10 | 上海传英信息技术有限公司 | LED lamp illumination method for intelligent terminal |
WO2019041129A1 (en) * | 2017-08-29 | 2019-03-07 | 深圳传音通讯有限公司 | Method for controlling lamp on terminal, terminal and computer-readable medium |
CN107454268A (en) * | 2017-09-06 | 2017-12-08 | 邬惠林 | The method that dog is driven using smart mobile phone light flash |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888729A (en) * | 2010-06-23 | 2010-11-17 | 中兴通讯股份有限公司 | Illumination device control method, illumination device and mobile terminal |
CN202374497U (en) * | 2011-11-16 | 2012-08-08 | 青岛海信移动通信技术股份有限公司 | Lighting control circuit and portable electronic device |
CN102722332A (en) * | 2012-05-31 | 2012-10-10 | 华为终端有限公司 | Touch screen equipment and processing operation trigger method thereof |
-
2013
- 2013-01-17 CN CN201310017274.7A patent/CN103067604B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888729A (en) * | 2010-06-23 | 2010-11-17 | 中兴通讯股份有限公司 | Illumination device control method, illumination device and mobile terminal |
CN202374497U (en) * | 2011-11-16 | 2012-08-08 | 青岛海信移动通信技术股份有限公司 | Lighting control circuit and portable electronic device |
CN102722332A (en) * | 2012-05-31 | 2012-10-10 | 华为终端有限公司 | Touch screen equipment and processing operation trigger method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103067604A (en) | 2013-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103067604B (en) | A kind of mobile phone enters the method for torch mode | |
CN103453617B (en) | Air-conditioning and the display methods of air conditioner display screen | |
CN103401961B (en) | A kind of method and system automatically lighting mobile phone screen | |
CN105357818A (en) | Wire controller control method | |
CN102541243A (en) | Computer, electronic equipment and lighting control method | |
US20150133101A1 (en) | Terminal and method for activating terminal | |
CN203761457U (en) | Mobile terminal | |
CN106371515A (en) | Method and device for controlling screen states | |
CN103025019B (en) | Mobile terminal and rapid lighting method thereof | |
CN105100452A (en) | Method and device for controlling flashlight of intelligent device | |
CN105828494A (en) | Home smart lighting system and control method | |
CN105227776A (en) | backlight intelligent adjusting method and device | |
CN104468977A (en) | Screen automatic lighting method and mobile terminal | |
TW201523542A (en) | Smart kitchen three-machine remote monitoring human-machine interface | |
CN108304056A (en) | A kind of method, apparatus and computer readable storage medium of button multiplexing | |
CN203718401U (en) | Lighting device suitable for outdoor sports | |
CN102281673A (en) | Intelligent lightening device | |
CN107730820A (en) | Fire protection alarm system | |
CN106340272A (en) | Electronic device and backlight control method and backlight control device thereof | |
CN104460936A (en) | Control method and electronic device | |
WO2016131282A1 (en) | Lighting application control method and apparatus for terminal, and terminal | |
CN205389288U (en) | Energy -conserving lighting control system of intelligence | |
CN206959056U (en) | A kind of range hood | |
CN104102330B (en) | Display panel control method, device and electronic equipment | |
CN105988560A (en) | Application starting 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: 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. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160203 |
|
CF01 | Termination of patent right due to non-payment of annual fee |