CN105188189A - Gravity-sensor-based flash lamp illumination method and apparatus, and mobile terminal - Google Patents

Gravity-sensor-based flash lamp illumination method and apparatus, and mobile terminal Download PDF

Info

Publication number
CN105188189A
CN105188189A CN201510482221.1A CN201510482221A CN105188189A CN 105188189 A CN105188189 A CN 105188189A CN 201510482221 A CN201510482221 A CN 201510482221A CN 105188189 A CN105188189 A CN 105188189A
Authority
CN
China
Prior art keywords
photoflash lamp
terminal
gravity sensor
illumination
driver module
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.)
Granted
Application number
CN201510482221.1A
Other languages
Chinese (zh)
Other versions
CN105188189B (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 CN201510482221.1A priority Critical patent/CN105188189B/en
Publication of CN105188189A publication Critical patent/CN105188189A/en
Application granted granted Critical
Publication of CN105188189B publication Critical patent/CN105188189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a gravity-sensor-based flash lamp illumination method and apparatus, and a mobile terminal. The method comprises the following steps that: a three-shaft output value of a gravity sensor of a terminal is obtained and the number of times of up-down shaking of the terminal is determined based on the three-shaft output value of the gravity sensor; and if the number of times of up-down shaking of the terminal reaches a preset first threshold value, a flash lamp drive module electrically connected with a flash lamp is triggered, so that the flash lamp drive module controls the flash lamp to carry out illumination according to preset illumination brightness. When a user enters a dark environment or is located at a place with low light, the terminal can be shaken by one hand to turn on the flash lamp. The operation is simple and the user can operate the apparatus by one hand, and a convenient flash lamp turning on way is provided for the user to realize illumination. Besides, with increasing of the number of times of terminal shaking, the illumination brightness of the flash lamp is increased or the flash lamp is turned off.

Description

A kind of flash lamp illumination method based on gravity sensor and device, mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly, relate to a kind of flash lamp illumination method based on gravity sensor and device, mobile terminal.
Background technology
Along with this several years intelligent mobile terminal (as mobile phone, panel computer etc.) fast development, hardware configuration is more and more higher, middle and high end intelligent mobile terminal substantially all configures the camera of high pixel, and the shooting experience in order to promote special scenes, camera is all equipped with photoflash lamp, another purposes of photoflash lamp is exactly can use as flashlight, namely keeps the photoflash lamp often bright function realizing flashlight lighting.
At present, intelligent mobile terminal is opened the mobile terminal that operation that photoflash lamp carries out the pattern of throwing light on first will be under holding state often and is unlocked, and finds the application program of flashlight, is then thrown light on by the switch opens photoflash lamp in application program.But, be badly in need of using under flashlight makes the specific environment of emergency lighting when single-hand held equipment or running into emergency, this kind of complex operation inconvenience, user cannot unlock mobile terminal immediately, then go for application to open, it is unfavorable for the use of user.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, a kind of flash lamp illumination method based on gravity sensor and device, mobile terminal are provided, it is simple to operate, is convenient to user's one-handed performance, opens photoflash lamp more efficiently carry out lighting system for user provides one.
For achieving the above object, first aspect present invention provides a kind of flash lamp illumination method based on gravity sensor, comprises the following steps:
Obtain three axle output valves of the gravity sensor of terminal, and judge by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
If the number of times that terminal fluctuates reaches default first threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the first brightness of illumination preset.
As preferably, in the above-mentioned methods, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise after judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
If the number of times that terminal fluctuates reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset;
If the number of times that terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset;
Wherein, described 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.
As preferably, in the above-mentioned methods, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise after judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
If the number of times that terminal fluctuates reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp;
Wherein, described 4th threshold value is greater than the 3rd threshold value.
As preferably, in the above-mentioned methods, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise before judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
Pre-set the rapid switch controlling flash lamp illumination based on gravity sensor.
As preferably, in the above-mentioned methods, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise before judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
Obtain the output valve of optical sensor of terminal, and judge that terminal is current by the output valve of described optical sensor and whether be in dark surrounds;
If terminal is current be in dark surrounds, then automatically starts gravity sensor and measure.
Second aspect present invention provides a kind of flash lamp illumination device based on gravity sensor, comprising:
Shake number of times judge module, for obtaining three axle output valves of the gravity sensor of terminal, and judges by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
Lighting control module, if the number of times fluctuated for terminal reaches default first threshold, then triggers photoflash lamp driver module be electrically connected with photoflash lamp, and described photoflash lamp driver module control photoflash lamp is thrown light on according to the first default brightness of illumination.
As preferably, in said apparatus, if the number of times that described lighting control module also fluctuates for terminal reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset; And if the number of times that terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset;
Wherein, described 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.
As preferably, in said apparatus, if the number of times that described lighting control module also fluctuates for terminal reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp; Wherein, described 4th threshold value is greater than the 3rd threshold value.
As preferably, in said apparatus, this device also comprises:
Switch module, is used to open or close the function controlling flash lamp illumination based on gravity sensor.
As preferably, in said apparatus, this device also comprises:
By the output valve of described optical sensor, light judge module, for obtaining the output valve of the optical sensor of terminal, and judges that terminal is current and whether is in dark surrounds;
Start module, if be in dark surrounds for terminal is current, then automatically start gravity sensor and measure.
Third aspect present invention provides a kind of mobile terminal, comprises the flash lamp illumination device based on gravity sensor described in gravity sensor, photoflash lamp driver module, the photoflash lamp be electrically connected with photoflash lamp driver module and technique scheme.
During concrete enforcement, described mobile terminal can be mobile phone, panel computer or Wearable.
Compared with prior art, beneficial effect of the present invention is:
The present invention judges by the three axle output valves obtaining gravity sensor the number of times that terminal fluctuates, if the number of times that terminal fluctuates reaches default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp to throw light on according to the brightness of illumination preset, when user enters dark surrounds or light is bad local time, singlehanded shake terminal can open photoflash lamp, it is simple to operate, be convenient to user's one-handed performance, open photoflash lamp more efficiently carry out lighting system for user provides one.
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 flash lamp illumination method based on gravity sensor, application in the terminal, described mobile terminal comprises gravity sensor G-sensor, photoflash lamp driver module and photoflash lamp, is 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:
Three axle output valves of the gravity sensor of step S101, acquisition terminal, and judge by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
Wherein, gravity sensor can measure the acceleration because gravity causes, when user fluctuates terminal, x, y and z of gravity sensor tri-the output valve of axle can change, now can judge by the output valve of three axles the number of times that terminal fluctuates.
If the number of times that step S102 terminal fluctuates reaches default first threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the first brightness of illumination preset.
During concrete enforcement, described first threshold can preferably be set to three times, and when user fluctuates terminal three times, gravity sensor can sense three changes suddenly up and down of acceleration, and photoflash lamp now can be made to open.
Use the method for the embodiment of the present invention, when user enters dark surrounds or light is bad local time, singlehanded shake terminal can open photoflash lamp, it is simple to operate, be convenient to user's one-handed performance, open photoflash lamp more efficiently carry out lighting system for user provides one.
Embodiment two
Embodiments of the invention two provide a kind of flash lamp illumination method based on gravity sensor, are the improvement carried out on the basis of embodiment one.Fig. 2 is the method flow diagram of the embodiment of the present invention two, please refer to Fig. 2, and the method for the embodiment of the present invention comprises the following steps:
Three axle output valves of the gravity sensor of step S201, acquisition terminal, and judge by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
If the number of times that step S202 terminal fluctuates reaches default first threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the first brightness of illumination preset;
If the number of times that step S203 terminal fluctuates reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset;
If the number of times that step S204 terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset;
If the number of times that step S205 terminal fluctuates reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp.
Wherein, described 4th threshold value is greater than the 3rd threshold value, and the 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.
During concrete enforcement, photoflash lamp driver module can control the output current size of photoflash lamp drive IC and then control photoflash lamp as brightness of illumination during flashlight.User according to the charge condition of the light conditions of current environment and terminal, suitably can adjust brightness of illumination, can meet illumination needs, can save electricity again, is conducive to extending cruising time.
Use the method for the embodiment of the present invention, when user enters dark surrounds or light is bad local time, singlehanded shake terminal can open photoflash lamp, and can the brightness of illumination of photoflash lamp be increased by shake terminal and close photoflash lamp, it is simple to operate, greatly increases the convenience of terminal.
Embodiment three
Embodiments of the invention three provide a kind of flash lamp illumination method based on gravity sensor, application in the terminal, described mobile terminal comprises optical sensor, gravity sensor G-sensor, photoflash lamp driver module and photoflash lamp, is the improvement carried out on the basis of embodiment one.Fig. 3 is the method flow diagram of the embodiment of the present invention three, please refer to Fig. 3, and the method for the embodiment of the present invention comprises the following steps:
Step S301, obtain the output valve of optical sensor of terminal, and judge that terminal is current by the output valve of described optical sensor and whether be in dark surrounds;
If step S302 terminal is current be in dark surrounds, then automatically starts gravity sensor and measure;
Three axle output valves of the gravity sensor of step S303, acquisition terminal, and judge by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
If the number of times that step S304 terminal fluctuates reaches default first threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the first brightness of illumination preset.
Use the method for the embodiment of the present invention, only have when light sensors enters dark surrounds or light is bad local time to user, gravity sensor just can start automatically to be measured, and now user singlehanded shake terminal could open photoflash lamp, and it can avoid misoperation.
Certainly, in order to terminal can be avoided to open the operation of photoflash lamp by mistake, also can pre-set the rapid switch controlling flash lamp illumination based on gravity sensor, as long as this rapid switch stays open state, measure just gravity sensor can start automatically.
Embodiment four
Embodiments of the invention four provide a kind of flash lamp illumination device based on gravity sensor, application in the terminal, described mobile terminal comprises gravity sensor G-sensor, photoflash lamp driver module and photoflash lamp, please refer to Fig. 4, the device of the embodiment of the present invention comprises shake number of times judge module 1 and lighting control module 2, is described in detail below by the principle of above-mentioned module.
Shake number of times judge module 1, for obtaining three axle output valves of the gravity sensor of terminal, and judges by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
Lighting control module 2, if the number of times fluctuated for terminal reaches default first threshold, then triggers photoflash lamp driver module be electrically connected with photoflash lamp, and described photoflash lamp driver module control photoflash lamp is thrown light on according to the first default brightness of illumination.
In an additional preferred embodiment, if the number of times that described lighting control module 2 also fluctuates for terminal reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset; And if the number of times that terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset.
In addition, if the number of times that described lighting control module 2 also fluctuates for terminal reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp.
Wherein, described 4th threshold value is greater than the 3rd threshold value, and the 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.User according to the charge condition of the light conditions of current environment and terminal, suitably can adjust brightness of illumination, can meet illumination needs, can save electricity again, is conducive to extending cruising time.
Use the device of the embodiment of the present invention, when user enters dark surrounds or light is bad local time, singlehanded shake terminal can open photoflash lamp, and can the brightness of illumination of photoflash lamp be increased by shake terminal and close photoflash lamp, it is simple to operate, be convenient to user's one-handed performance, open photoflash lamp more efficiently carry out lighting system for user provides one.
Embodiment five
Embodiments of the invention five provide a kind of flash lamp illumination device based on gravity sensor, application in the terminal, described mobile terminal comprises optical sensor, gravity sensor G-sensor, photoflash lamp driver module and photoflash lamp, please refer to Fig. 5, the difference of the flash lamp illumination device based on gravity sensor described in the embodiment of the present invention five and the flash lamp illumination device based on gravity sensor described in above-described embodiment four is, this device also comprises light judge module 3 and starts module 4, only different modules is described below, identical module does not repeat them here.
By the output valve of described optical sensor, light judge module 3, for obtaining the output valve of the optical sensor of terminal, and judges that terminal is current and whether is in dark surrounds;
Start module 4, if be in dark surrounds for terminal is current, then automatically start gravity sensor and measure.
Use the device of the embodiment of the present invention, only have when light sensors enters dark surrounds or light is bad local time to user, gravity sensor just can start automatically to be measured, and now user singlehanded shake terminal could open photoflash lamp, and it can avoid misoperation.
Certainly, in order to the operation that terminal can be avoided to open photoflash lamp by mistake, in another embodiment, as shown in Figure 6, this device does not need light judge module 3 and starts module 4, only needs to arrange a switch module 5, is used to open or close the function controlling flash lamp illumination based on gravity sensor.As long as the rapid switch of this switch module 5 stays open state, gravity sensor just can start automatically to be measured.
Embodiment six
Embodiments of the invention six provide a kind of mobile terminal, please refer to Fig. 7, comprise gravity sensor 6, photoflash lamp driver module 7 and the photoflash lamp 8 be electrically connected with photoflash lamp driver module 7 and above-described embodiment four or the flash lamp illumination device based on gravity sensor described in embodiment five.
In addition, this mobile terminal can be mobile phone, panel computer, Wearable or other there is the mobile terminal device of photoflash lamp.
It should be noted that, a kind of flash lamp illumination device based on gravity sensor 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.
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.
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.
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 first flow chart based on the flash lamp illumination method of gravity sensor of the present invention;
Fig. 2 is the flow chart of the second of the present invention based on the flash lamp illumination method of gravity sensor;
Fig. 3 is the third flow chart based on the flash lamp illumination method of gravity sensor of the present invention;
Fig. 4 is the first structured flowchart based on the flash lamp illumination device of gravity sensor of the present invention;
Fig. 5 is the flash lamp illumination apparatus structure block diagram of the second of the present invention based on gravity sensor;
Fig. 6 is the third flash lamp illumination apparatus structure block diagram based on gravity sensor of the present invention;
Fig. 7 is the structured flowchart of mobile terminal of the present invention.

Claims (12)

1., based on a flash lamp illumination method for gravity sensor, it is characterized in that, the method comprises the following steps:
Obtain three axle output valves of the gravity sensor of terminal, and judge by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
If the number of times that terminal fluctuates reaches default first threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the first brightness of illumination preset.
2. the flash lamp illumination method based on gravity sensor according to claim 1, it is characterized in that, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise after judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
If the number of times that terminal fluctuates reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset;
If the number of times that terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset;
Wherein, described 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.
3. the flash lamp illumination method based on gravity sensor according to claim 2, it is characterized in that, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise after judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
If the number of times that terminal fluctuates reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp;
Wherein, described 4th threshold value is greater than the 3rd threshold value.
4. the flash lamp illumination method based on gravity sensor according to claim 1, it is characterized in that, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise before judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
Pre-set the rapid switch controlling flash lamp illumination based on gravity sensor.
5. the flash lamp illumination method based on gravity sensor according to claim 1, it is characterized in that, three axle output valves of the gravity sensor of described acquisition terminal, and also comprise before judging the step of the number of times that terminal fluctuates by three axle output valves of described gravity sensor:
Obtain the output valve of optical sensor of terminal, and judge that terminal is current by the output valve of described optical sensor and whether be in dark surrounds;
If terminal is current be in dark surrounds, then automatically starts gravity sensor and measure.
6. based on a flash lamp illumination device for gravity sensor, it is characterized in that, this device comprises:
Shake number of times judge module, for obtaining three axle output valves of the gravity sensor of terminal, and judges by three axle output valves of described gravity sensor the number of times that terminal fluctuates;
Lighting control module, if the number of times fluctuated for terminal reaches default first threshold, then triggers photoflash lamp driver module be electrically connected with photoflash lamp, and described photoflash lamp driver module control photoflash lamp is thrown light on according to the first default brightness of illumination.
7. the flash lamp illumination device based on gravity sensor according to claim 6, it is characterized in that, if the number of times that described lighting control module also fluctuates for terminal reaches default Second Threshold, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the second brightness of illumination preset; And if the number of times that terminal fluctuates reaches the 3rd default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module control photoflash lamp and throw light on according to the 3rd brightness of illumination preset;
Wherein, described 3rd threshold value is greater than Second Threshold, and Second Threshold is greater than first threshold, and described 3rd brightness of illumination is greater than the second brightness of illumination, and the second brightness of illumination is greater than the first brightness of illumination.
8. the flash lamp illumination device based on gravity sensor according to claim 7, it is characterized in that, if the number of times that described lighting control module also fluctuates for terminal reaches the 4th default threshold value, then trigger the photoflash lamp driver module be electrically connected with photoflash lamp, make described photoflash lamp driver module close photoflash lamp; Wherein, described 4th threshold value is greater than the 3rd threshold value.
9. the flash lamp illumination device based on gravity sensor according to claim 6, it is characterized in that, this device also comprises:
Switch module, is used to open or close the function controlling flash lamp illumination based on gravity sensor.
10. the flash lamp illumination device based on gravity sensor according to claim 6, it is characterized in that, this device also comprises:
By the output valve of described optical sensor, light judge module, for obtaining the output valve of the optical sensor of terminal, and judges that terminal is current and whether is in dark surrounds;
Start module, if be in dark surrounds for terminal is current, then automatically start gravity sensor and measure.
11. 1 kinds of mobile terminals, the photoflash lamp comprising gravity sensor, photoflash lamp driver module and be electrically connected with photoflash lamp driver module, is characterized in that, also comprises as the flash lamp illumination device based on gravity sensor in claim 6 ~ 10 as described in any one.
12. mobile terminals according to claim 10, is characterized in that, described mobile terminal comprises mobile phone, panel computer or Wearable.
CN201510482221.1A 2015-08-08 2015-08-08 A kind of flash lamp illumination method and device based on gravity sensor, mobile terminal Active CN105188189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510482221.1A CN105188189B (en) 2015-08-08 2015-08-08 A kind of flash lamp illumination method and device based on gravity sensor, mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510482221.1A CN105188189B (en) 2015-08-08 2015-08-08 A kind of flash lamp illumination method and device based on gravity sensor, mobile terminal

Publications (2)

Publication Number Publication Date
CN105188189A true CN105188189A (en) 2015-12-23
CN105188189B CN105188189B (en) 2018-01-19

Family

ID=54909963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510482221.1A Active CN105188189B (en) 2015-08-08 2015-08-08 A kind of flash lamp illumination method and device based on gravity sensor, mobile terminal

Country Status (1)

Country Link
CN (1) CN105188189B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827838A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Screen brightness turn-up method and terminal
CN106888325A (en) * 2017-02-28 2017-06-23 深圳天珑无线科技有限公司 The control method and device of a kind of terminal
CN108710440A (en) * 2017-04-06 2018-10-26 原相科技股份有限公司 interactive system and handheld device thereof
CN108848246A (en) * 2018-04-25 2018-11-20 广州久邦世纪科技有限公司 A kind of flashlight cartridge system and its implementation method with gravity sensing
CN110189678A (en) * 2019-06-21 2019-08-30 广东乐之康医疗技术有限公司 A kind of method and wrist-watch of wrist-watch brightness regulation
CN110445933A (en) * 2019-08-06 2019-11-12 珠海格力电器股份有限公司 Method for adjusting illumination mode of terminal device, storage medium and terminal device
CN112130920A (en) * 2020-09-29 2020-12-25 上海佳勒电子有限公司 Flash lamp starting method, system, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957805A (en) * 2012-11-16 2013-03-06 广东欧珀移动通信有限公司 Method for entering into flashlight mode of mobile phone
CN103971502A (en) * 2014-05-15 2014-08-06 陈昀 Method for conveniently remotely controlling IOT (Internet of Things) equipment through perceiving and cognition of mobile terminal
CN104093599A (en) * 2012-02-06 2014-10-08 李俊晳 Variable brake light control system using user terminal, and method for controlling same
CN204031255U (en) * 2014-06-17 2014-12-17 上海崴澜网络科技有限公司 Based on the direct operated intelligent lamp of mobile terminal
CN104469004A (en) * 2014-12-03 2015-03-25 广东欧珀移动通信有限公司 Mobile terminal LED lamp turning-on method and device
CN204316816U (en) * 2014-11-28 2015-05-06 涵柯智能科技(上海)有限公司 Lighting device
CN204403806U (en) * 2015-03-05 2015-06-17 宁波福泰电器有限公司 Gravity sensing flashlight and control circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093599A (en) * 2012-02-06 2014-10-08 李俊晳 Variable brake light control system using user terminal, and method for controlling same
US20140375448A1 (en) * 2012-02-06 2014-12-25 Jun Seok Lee Variable brake light control system using user terminal, and method for controlling the same
CN102957805A (en) * 2012-11-16 2013-03-06 广东欧珀移动通信有限公司 Method for entering into flashlight mode of mobile phone
CN103971502A (en) * 2014-05-15 2014-08-06 陈昀 Method for conveniently remotely controlling IOT (Internet of Things) equipment through perceiving and cognition of mobile terminal
CN204031255U (en) * 2014-06-17 2014-12-17 上海崴澜网络科技有限公司 Based on the direct operated intelligent lamp of mobile terminal
CN204316816U (en) * 2014-11-28 2015-05-06 涵柯智能科技(上海)有限公司 Lighting device
CN104469004A (en) * 2014-12-03 2015-03-25 广东欧珀移动通信有限公司 Mobile terminal LED lamp turning-on method and device
CN204403806U (en) * 2015-03-05 2015-06-17 宁波福泰电器有限公司 Gravity sensing flashlight and control circuit

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827838A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Screen brightness turn-up method and terminal
CN106888325A (en) * 2017-02-28 2017-06-23 深圳天珑无线科技有限公司 The control method and device of a kind of terminal
CN108710440A (en) * 2017-04-06 2018-10-26 原相科技股份有限公司 interactive system and handheld device thereof
CN108710440B (en) * 2017-04-06 2021-07-27 原相科技股份有限公司 Interactive system and handheld device thereof
CN108848246A (en) * 2018-04-25 2018-11-20 广州久邦世纪科技有限公司 A kind of flashlight cartridge system and its implementation method with gravity sensing
CN110189678A (en) * 2019-06-21 2019-08-30 广东乐之康医疗技术有限公司 A kind of method and wrist-watch of wrist-watch brightness regulation
CN110189678B (en) * 2019-06-21 2023-11-21 广州云芯信息科技有限公司 Watch brightness adjusting method and watch
CN110445933A (en) * 2019-08-06 2019-11-12 珠海格力电器股份有限公司 Method for adjusting illumination mode of terminal device, storage medium and terminal device
CN112130920A (en) * 2020-09-29 2020-12-25 上海佳勒电子有限公司 Flash lamp starting method, system, device and storage medium

Also Published As

Publication number Publication date
CN105188189B (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN105188189A (en) Gravity-sensor-based flash lamp illumination method and apparatus, and mobile terminal
CN103595842A (en) Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN103079004B (en) Illustrative method, device and mobile terminal that a kind of timing is taken pictures
CN104301616A (en) Method and system for controlling day-to-night switching mode of camera and method and system for controlling night-to-day switching mode of camera
CN103310763A (en) Method for switching display state of mobile equipment, device and equipment
CN109067971B (en) Method for automatically turning on flashlight by shaking mobile phone in dark environment
CN106055076B (en) A kind of sensor method for closing and device
CN104007392A (en) Battery electric quantity detecting and displaying method
CN112235924A (en) Sensor fault processing method and related device
CN108810203B (en) Control method and device of sliding mechanism and electronic equipment
US20100026505A1 (en) Digital photo frame with battery indicator
CN106900039A (en) A kind of mobile phone display screen backlight subarea lighting method and device
CN203859565U (en) Detection display device for electric quantity of battery
CN102625534B (en) Flash lamp control device for mobile terminal
CN104238770A (en) Control method and electronic equipment
CN115150558B (en) Luminance detection method, control method and device for image pickup device, and medium
CN111970457A (en) Method, system and device for controlling shooting image and light source equipment
CN204258757U (en) A kind of reset circuit being applicable to fpga chip
CN211831257U (en) True and false flash compatible flash circuit and terminal equipment
CN110149745B (en) Remote upgrading and remote state detection system for light playing files
CN105516612A (en) Photographing method and intelligent terminal
CN105430196A (en) Method and device for controlling electric torch state of mobile terminal by means of positioning system
CN105323500A (en) Method and device for improving photographing in dark place according to light perception numerical value
CN207573665U (en) A kind of three-color diode condition indication circuit and VR are moved and are caught video camera
CN112333902A (en) Visual navigation aid equipment dimming method and related 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
GR01 Patent grant
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