CN103237109A - Method and device for turning on flash lamp in standby state based on mobile phone - Google Patents
Method and device for turning on flash lamp in standby state based on mobile phone Download PDFInfo
- Publication number
- CN103237109A CN103237109A CN201310123518XA CN201310123518A CN103237109A CN 103237109 A CN103237109 A CN 103237109A CN 201310123518X A CN201310123518X A CN 201310123518XA CN 201310123518 A CN201310123518 A CN 201310123518A CN 103237109 A CN103237109 A CN 103237109A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- open
- photoflash lamp
- predetermined physical
- button
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Set Structure (AREA)
Abstract
The invention discloses a method for turning on a flash lamp in a standby state based on a mobile phone. The method includes: (1) defining a predetermined physical button and a flash lamp model of a camera to be correlated; (2) judging whether the predetermined physical button is long pressed or not, and if yes, turning on the flash lamp module to enable the flash lamp to be normally on; and (3) judging whether the predetermined physical button is long pressed again or a standby button of the mobile phone is pressed down or not, and if yes, turning off the flash lamp module to enable the flash lamp to be off. By the method, the flash lamp can be turned on without unlocking the mobile phone so as to serve as a flashlight to be used for lighting, convenience in use is brought for users, and user experience and satisfaction are improved. The invention further discloses a device for turning on a flash lamp in the standby state based on the mobile phone.
Description
Technical field
The present invention relates to field of mobile terminals, relate in particular to a kind of method and device of under holding state, opening photoflash lamp based on mobile phone.
Background technology
In recent years, along with the fast development of mobile communication, mobile phone more and more develops to direction personalized, facilitation.
Nowadays, mobile phone generally all has the flashlight function, when user under dark surrounds can open the usefulness that flashlight is done emergency lighting.Operation will be in the mobile phone release under the holding state often earlier, find the application program of flashlight, open flashlight then.Yet, be badly in need of using flashlight to do under the specific environment of emergency lighting, this kind operation is loaded down with trivial details inconvenience, is unfavorable for user's use, can't satisfy user's needs.
Therefore, be necessary to provide a kind of and under holding state, open method and the device of photoflash lamp based on mobile phone, to overcome above-mentioned defective.
Summary of the invention
One of purpose of the present invention is to provide a kind of and opens the method for photoflash lamp based on mobile phone under holding state, thereby it need not the mobile phone release and can open photoflash lamp and serve as flashlight in order to illumination, and is user-friendly, and promotes the user and experience and satisfaction.
Another object of the present invention is to provide a kind of and under holding state, open the device of photoflash lamp based on mobile phone, thereby it need not the mobile phone release and can open photoflash lamp and serve as flashlight in order to illumination, user-friendly, and promote the user and experience and satisfaction.
For achieving the above object, the invention provides and a kind ofly open the method for photoflash lamp based on mobile phone under holding state, comprising: (1) definition one predetermined physical button is associated with the flash modules of camera; (2) judge whether described predetermined physical button is pressed by long, if then open described flash modules and make photoflash lamp Chang Liang; (3) judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close described flash modules photoflash lamp cut out.
Alternatively, described predetermined physical button is shooting button or volume button.
Preferably, described step (2) further comprises: open described flash modules by calling length by function.
Preferably, described step (2) further comprises: press for short if judge described predetermined physical button, then open take pictures previewing module or volume control module.
Preferably, open described previewing module or the volume control module of taking pictures by calling weak point by function.
Preferably, described step (3) further comprises: judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if not, keep the initiate mode of described flash modules.
Preferably, also comprise set a time threshold value with distinguish described length by with described weak point by.
The invention provides and a kind ofly open the device of photoflash lamp based on mobile phone under holding state, comprising: definition module is associated with the flash modules of camera to define a predetermined physical button; Whether first detection module is pressed by long to judge described predetermined physical button, if then open described flash modules and make photoflash lamp Chang Liang; And second detection module, with judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close described flash modules photoflash lamp cut out.
Preferably, also comprise setting module, to set a time threshold value to distinguish described length by pressing with described weak point.
Preferably, described predetermined physical button is volume button or shooting button.
Compared with prior art, the method of under holding state, opening photoflash lamp based on mobile phone of the present invention, it is associated with the flash modules of camera by the predetermined physical button on the definition mobile phone, grown when this predetermined physical button and then to open this flash modules on time and make photoflash lamp Chang Liang, thereby serve as flashlight in order to illumination, grown again when this predetermined physical button and then close flash modules on time.Thereby the present invention need not the mobile phone release and can open photoflash lamp and serve as flashlight in order to illumination, and is user-friendly, and promotes the user and experience and satisfaction.
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining embodiments of the invention.
Description of drawings
The simplified flow chart of an embodiment of Fig. 1 opens photoflash lamp for the present invention is a kind of under holding state based on mobile phone method.
The structured flowchart of an embodiment of Fig. 2 opens photoflash lamp for the present invention is a kind of under holding state based on mobile phone device.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, the similar elements label represents similar elements in the accompanying drawing.As mentioned above, the invention provides and a kind ofly under holding state, open method and the device of photoflash lamp based on mobile phone, thereby it need not the mobile phone release and can open photoflash lamp and serve as flashlight in order to illumination, user-friendly, and promote the user and experience and satisfaction.
Please refer to Fig. 1, Fig. 1 has showed the flow chart of an embodiment of a kind of method of opening photoflash lamp based on mobile phone under holding state of the present invention.Method of the present invention is applicable to the mobile phone of band camera.This method may further comprise the steps:
(101), defining a predetermined physical button is associated with the flash modules of camera;
(102), judge whether this predetermined physical button is pressed by long, if then open flash modules and make photoflash lamp Chang Liang;
(103), judge the predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close flash modules photoflash lamp cut out.
Particularly, for the mobile phone that is provided with the shooting button, be that the predetermined physical button is associated with flash modules with this shooting button then; Alternatively, also the definable volume button is the predetermined physical button.
Preferably, but the setting-up time threshold value is pressed with the length of distinguishing button and short pressing operated, and for example sets less than 1.5 seconds button operation and presses for weak point, presses for length greater than 1.5 seconds button operations.Particularly, in step (102), grown on time when the predetermined physical button, then call length and open flash modules by function long_key_open_flashlight (), make photoflash lamp Chang Liang as the usefulness of emergency lighting.If this predetermined physical button is judged as weak point on time, then open take pictures previewing module or volume control module.Particularly, when the predetermined physical button is the shooting button, then calls weak point by function short_key_open_camera (), thereby open camera.
In step (103), when the predetermined physical button not by vice-minister again by or the standby button of mobile phone be not pressed, then keep the starting state of flash modules, thereby continue to do the usefulness of emergency lighting.
Fig. 2 the present invention is based on mobile phone is opened an embodiment of flash unit 200 under holding state structured flowchart.This device 200 comprises definition module 210, first detection module 220, second detection module 230 and setting module 240.Particularly, this definition module 210 is associated with the flash modules of camera in order to a predetermined physical button that defines on the mobile phone.This first detection module 220 is in order to judge whether the predetermined physical button is pressed by long, if then open described flash modules and make photoflash lamp Chang Liang; If short pressing then opened this and original functional module of locating physical button.This second detection module 230 in order to judge the predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close described flash modules photoflash lamp cut out; If not, then keep enabling of flash modules.This setting module 240 is pressed operation with the length of distinguishing button by operation and weak point in order to the setting-up time threshold value.Alternatively, this predetermined physical button is volume button or shooting button.
The method and apparatus 200 of under holding state, opening photoflash lamp based on mobile phone of the present invention, be associated with the flash modules of camera by the predetermined physical button on the definition mobile phone, grown when this predetermined physical button and then to open this flash modules on time and make photoflash lamp Chang Liang, thereby serve as flashlight in order to illumination, grown again when this predetermined physical button and then close flash modules on time.Thereby the present invention need not the mobile phone release and can open photoflash lamp and serve as flashlight in order to illumination, and is user-friendly, and promotes the user and experience and satisfaction.
Above invention has been described in conjunction with most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.
Claims (10)
1. under holding state, open the method for photoflash lamp based on mobile phone for one kind, it is characterized in that, comprising:
(1) definition one predetermined physical button is associated with the flash modules of camera;
(2) judge whether described predetermined physical button is pressed by long, if then open described flash modules and make photoflash lamp Chang Liang;
(3) judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close described flash modules photoflash lamp cut out.
2. as claimed in claim 1ly open the method for photoflash lamp based on mobile phone under holding state, it is characterized in that: described predetermined physical button is shooting button or volume button.
3. as claimed in claim 1ly open the method for photoflash lamp based on mobile phone under holding state, it is characterized in that: described step (2) further comprises: longly open described flash modules by function by calling.
4. as claimed in claim 2ly open the method for photoflash lamp based on mobile phone under holding state, it is characterized in that: described step (2) further comprises: press for short if judge described predetermined physical button, then open take pictures previewing module or volume control module.
5. as claimed in claim 4ly under holding state, open the method for photoflash lamp based on mobile phone, it is characterized in that: shortly open described previewing module or the volume control module of taking pictures by function by calling.
6. the method for under holding state, opening photoflash lamp based on mobile phone as claimed in claim 1, it is characterized in that: described step (3) further comprises: judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if not, the initiate mode that keeps described flash modules.
7. as claimed in claim 1ly under holding state, open the method for photoflash lamp based on mobile phone, it is characterized in that: also comprise set a time threshold value with distinguish described length by with described weak point by.
8. under holding state, open the device of photoflash lamp based on mobile phone for one kind, it is characterized in that, comprising:
Definition module is associated with the flash modules of camera to define a predetermined physical button;
Whether first detection module is pressed by long to judge described predetermined physical button, if then open described flash modules and make photoflash lamp Chang Liang; And
Second detection module, with judge described predetermined physical button whether by vice-minister again by or the standby button of mobile phone be pressed, if then close described flash modules photoflash lamp cut out.
9. as claimed in claim 8ly under holding state, open the device of photoflash lamp based on mobile phone, it is characterized in that: also comprise setting module, to set a time threshold value to distinguish described length by pressing with described weak point.
10. as claimed in claim 8ly open the device of photoflash lamp based on mobile phone under holding state, it is characterized in that: described predetermined physical button is volume button or shooting button.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310123518XA CN103237109A (en) | 2013-04-10 | 2013-04-10 | Method and device for turning on flash lamp in standby state based on mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310123518XA CN103237109A (en) | 2013-04-10 | 2013-04-10 | Method and device for turning on flash lamp in standby state based on mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103237109A true CN103237109A (en) | 2013-08-07 |
Family
ID=48885124
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310123518XA Pending CN103237109A (en) | 2013-04-10 | 2013-04-10 | Method and device for turning on flash lamp in standby state based on mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103237109A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238759A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling terminal through physical keys |
CN105187653A (en) * | 2015-09-16 | 2015-12-23 | 广东欧珀移动通信有限公司 | Turning off method and apparatus of network connecting switch |
CN105956078A (en) * | 2016-04-29 | 2016-09-21 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
CN105975552A (en) * | 2016-04-29 | 2016-09-28 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
CN105975553A (en) * | 2016-04-29 | 2016-09-28 | 广东小天才科技有限公司 | Photographing search method and device |
CN106793040A (en) * | 2016-12-30 | 2017-05-31 | 深圳天珑无线科技有限公司 | Terminal control method and device |
CN110300231A (en) * | 2019-06-30 | 2019-10-01 | Oppo广东移动通信有限公司 | The control method of electronic equipment and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040085745A1 (en) * | 2002-10-30 | 2004-05-06 | Nec Corporation | Mobile phone provided with lighting, lighting control method and lighting control program |
CN1588962A (en) * | 2004-08-03 | 2005-03-02 | 惠州Tcl移动通信有限公司 | Method for using luminous diode as lighting lamp for mobiel phone flash light |
CN2882141Y (en) * | 2005-09-06 | 2007-03-21 | 海信集团有限公司 | Portable mobile phone with multifunction lamp |
CN103019567A (en) * | 2012-12-17 | 2013-04-03 | 北京百度网讯科技有限公司 | Touch screen mobile terminal and quick illumination-starting method and quick illumination-starting system thereof |
-
2013
- 2013-04-10 CN CN201310123518XA patent/CN103237109A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040085745A1 (en) * | 2002-10-30 | 2004-05-06 | Nec Corporation | Mobile phone provided with lighting, lighting control method and lighting control program |
CN1588962A (en) * | 2004-08-03 | 2005-03-02 | 惠州Tcl移动通信有限公司 | Method for using luminous diode as lighting lamp for mobiel phone flash light |
CN2882141Y (en) * | 2005-09-06 | 2007-03-21 | 海信集团有限公司 | Portable mobile phone with multifunction lamp |
CN103019567A (en) * | 2012-12-17 | 2013-04-03 | 北京百度网讯科技有限公司 | Touch screen mobile terminal and quick illumination-starting method and quick illumination-starting system thereof |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238759A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling terminal through physical keys |
CN104238759B (en) * | 2014-09-04 | 2017-11-10 | 广东欧珀移动通信有限公司 | Physical button controls the method and device of terminal |
CN105187653A (en) * | 2015-09-16 | 2015-12-23 | 广东欧珀移动通信有限公司 | Turning off method and apparatus of network connecting switch |
CN105956078A (en) * | 2016-04-29 | 2016-09-21 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
CN105975552A (en) * | 2016-04-29 | 2016-09-28 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
CN105975553A (en) * | 2016-04-29 | 2016-09-28 | 广东小天才科技有限公司 | Photographing search method and device |
CN105975553B (en) * | 2016-04-29 | 2020-01-03 | 广东小天才科技有限公司 | Photographing search method and device |
CN105956078B (en) * | 2016-04-29 | 2020-04-21 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
CN106793040A (en) * | 2016-12-30 | 2017-05-31 | 深圳天珑无线科技有限公司 | Terminal control method and device |
CN110300231A (en) * | 2019-06-30 | 2019-10-01 | Oppo广东移动通信有限公司 | The control method of electronic equipment and electronic equipment |
CN110300231B (en) * | 2019-06-30 | 2021-04-23 | Oppo广东移动通信有限公司 | Electronic device and control method of electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103237109A (en) | Method and device for turning on flash lamp in standby state based on mobile phone | |
US11656843B2 (en) | Method for quickly starting application service, and terminal | |
US20220400305A1 (en) | Content continuation method and electronic device | |
CN104302048B (en) | Method for controlling lamp and device | |
CN110610699B (en) | Voice signal processing method, device, terminal, server and storage medium | |
US11856128B2 (en) | Method for presenting video on electronic device when there is incoming call and electronic device | |
CN110324748B (en) | Wireless earphone serial port control method and device, wireless earphone and storage medium | |
CN105652671B (en) | The setting method and device of smart machine operating mode | |
RU2632319C2 (en) | Methods and apparatus for controlling wireless access point | |
WO2022042573A1 (en) | Application control method and apparatus, electronic device, and readable storage medium | |
CN106941572B (en) | Incoming call reminding method and device | |
CN103327194A (en) | Mode switching method and device for browser skin brightness | |
JP2017505081A (en) | Method and apparatus for prompting device connection | |
WO2016150104A1 (en) | App theme loading method and device | |
CN105681549A (en) | Method and device for outputting prompt information | |
CN105094915A (en) | Reset handling method and device | |
JP2017520877A (en) | SEARCH METHOD, SEARCH DEVICE, PROGRAM, AND RECORDING MEDIUM | |
CN104007912A (en) | Intelligent screen capturing method | |
CN112311035B (en) | Charge control method, charge control device, and readable storage medium | |
CN105721696B (en) | Mobile terminal information input method and device and mobile terminal | |
CN104834699A (en) | Method, device and mobile terminal for deleting photos based on usage states | |
WO2016131282A1 (en) | Lighting application control method and apparatus for terminal, and terminal | |
CN204180169U (en) | The quick camera system of mobile terminal | |
CN105161780B (en) | terminal device charging method and terminal device | |
CN107659917A (en) | The switching method and terminal of a kind of multimedia |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130807 |