CN109067971A - Method for automatically turning on flashlight by shaking mobile phone in dark environment - Google Patents
Method for automatically turning on flashlight by shaking mobile phone in dark environment Download PDFInfo
- Publication number
- CN109067971A CN109067971A CN201810678100.8A CN201810678100A CN109067971A CN 109067971 A CN109067971 A CN 109067971A CN 201810678100 A CN201810678100 A CN 201810678100A CN 109067971 A CN109067971 A CN 109067971A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- flashlight
- shaking
- light
- gesture
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000001133 acceleration Effects 0.000 claims abstract description 17
- 230000003287 optical effect Effects 0.000 claims abstract description 17
- 230000000694 effects Effects 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 2
- FGRBYDKOBBBPOI-UHFFFAOYSA-N 10,10-dioxo-2-[4-(N-phenylanilino)phenyl]thioxanthen-9-one Chemical compound O=C1c2ccccc2S(=O)(=O)c2ccc(cc12)-c1ccc(cc1)N(c1ccccc1)c1ccccc1 FGRBYDKOBBBPOI-UHFFFAOYSA-N 0.000 claims 1
- 238000005096 rolling process Methods 0.000 claims 1
- 238000005286 illumination Methods 0.000 abstract description 3
- 239000011435 rock Substances 0.000 description 8
- 230000000875 corresponding effect Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000036544 posture Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 241000937378 Everettia interior Species 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for automatically turning on a flashlight by shaking a mobile phone in a dark environment, which specifically comprises the following steps: (1) firstly, detecting ambient light by an optical sensor in the mobile phone, and judging that the light intensity is lower than a preset light intensity threshold; (2) then the user shakes the mobile phone, and a gyroscope and an acceleration sensor of the mobile phone judge the motion track of the mobile phone; (3) if the judged motion track is consistent with the preset shaking gesture, the flashlight in the mobile phone is turned on, and quick illumination is achieved. The flashlight can be directly turned on by shaking the device without the steps of lightening the screen, unlocking the device and the like, so that intelligent illumination is realized, and the flashlight is convenient to use.
Description
Technical field
It is automatic that mobile phone is shaken the present invention relates to a kind of method of automatic starting flashlight, in particular under a kind of dark surrounds
The method for opening flashlight.
Background technique
Existing mobile phone generally requires light mobile phone screen first, then if opening flashlight currently on the market
Mobile phone is unlocked, then finds flashlight APP opening, could finally start the function of mobile phone flashlight.If in night or dark
Under environment, and in the case that user needs to open mobile phone flashlight immediately, the mode program of above-mentioned current opening flashlight compares
Trouble, uses and is inconvenient.
Summary of the invention
In order to overcome shortcoming and deficiency existing in the prior art, the purpose of the present invention is to provide under a kind of dark surrounds
The mobile phone method that automatically opens flashlight is shaken, can not have to light screen, device unlock, shake mobile phone and just directly may be used
To open flashlight, intelligent lighting is realized, it is easy to use.
The technical solution adopted by the present invention to solve the technical problems is:
The method that mobile phone automatically opens flashlight is shaken under a kind of dark surrounds, comprising:
(1) optical sensor first in mobile phone detects ambient enviroment light, judges that light intensity is lower than default light intensity
Threshold value;
(2) user shakes mobile phone, and the gyroscope and acceleration transducer of mobile phone judge its motion profile;
(3) if it is determined that motion profile it is consistent with preset shaking gesture, i.e., the flashlight in opening mobile phone is realized fast
Victory illumination.
Further, the light source of the flashlight is set as more flash lamps, and flash lamp can be divided into cold light and warm light type;With
Family can customize different shaking gestures and generate the switching of changes in temperature light and different light flash effects.
Further, the light intensity threshold value is by user's customized setting in advance.
Further, specific shaking gesture can be preset to open and close flashlight.
Further, the preset dynamics for shaking gesture can be equipped with threshold range.
Further, the lamplight brightness gradual design that can preset specific shaking gesture variation and flashlight is correspondingly arranged.
Further, it presets shaking gesture from left to right to slide, flashlight light is from secretly to dark gradual change.
Further, under the dark surrounds shake mobile phone automatically open flashlight method it is equally applicable in smartwatch
In.
The device that mobile phone automatically opens flashlight is shaken under a kind of dark surrounds, described device includes optical sensor, light
Intensity collection system, gyroscope and acceleration transducer, motion profile acquisition system, the connection light intensity acquisition system and
The control system of motion profile acquisition system, control system are connect with the driving mechanism of mobile phone flashlight;The light intensity is adopted
Collecting system is used to judge whether the light intensity of optical sensor acquisition to be lower than default light intensity threshold value;The motion profile acquisition
System is used to judge whether the motion profile of gyroscope and acceleration transducer acquisition to be consistent with preset shaking gesture.
A kind of mobile phone, the mobile phone include shaking to start under mobile phone body, mobile phone flashlight and a kind of dark surrounds
Machine automatically opens the device of flashlight.
The inventive point of the invention is:
(1) optical sensor of mobile phone detects environment light automatically, when detecting environment light is half-light, mobile phone is shaken, on mobile phone
Gyroscope and acceleration transducer start to work, by instruction flashlight can be allowed to open.
(2) in addition, the preparatory customized different gesture of rocking of the present invention corresponds to specific light flash and other effects, to work as
The motion profile of mobile phone with it is preparatory rock gesture it is identical when input corresponding lighting effects;Different gesture appearances can be cooperated
Gesture is to generate different light flash effects.
The device have the advantages that as follows:
The method of the present invention can not have to light screen, device unlock, open flashlight APP, at night or black
Dark situation lower need to shake mobile phone and just can directly open flashlight, realize intelligent lighting, easy to use, and the method for the present invention makes
It is also very high with rate, there is market value.
The method of the present invention is easy to operate, facilitates execution, can greatly promote user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the present invention;
Fig. 2 is the flow chart that changes in temperature light switching lighting effects are added in the method for the present invention.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and examples.
Following embodiment takes the mobile phone as an example and is introduced, but is not limited to the electronic equipments such as mobile phone, smartwatch.
Embodiment 1
As shown in Figure 1, mobile phone optical sensor detects ambient light automatically in mobile phone normal use process, when detection ring
When border light is half-light, as long as shaking mobile phone at this time, mobile phone gyroscope and acceleration transducer are started to work, and pass through interior of mobile phone
Instruction allows flashlight to open, and (i.e. interior of mobile phone corresponds to optical sensor and gyroscope and the control module of acceleration transducer information is driven
It is dynamic to open flashlight).
Wherein, the threshold values of the environment light of optical sensor detection can need to change according to user for environment light, for example
Less than 30LUXES;User can customize setting intensity threshold value, and intensity threshold value range is to be arranged in mobile phone by user oneself in advance
's.
Preferably, settable specifically to rock gesture to open and close mobile phone flashlight.
Preferably, the lamplight brightness gradual design of settable mobile phone flashlight, for example rock gesture and from left to right slide, hand
Torch light is from secretly to dark gradual change.
Preferably, the preset dynamics for shaking mobile phone also has a threshold range, and user can making by oneself in handset program in advance
Adopted range.
Herein, the concrete application of optical sensor, gyroscope and acceleration transducer repeats no more, can be in mobile phone, intelligent hand
Table etc. is equipped with optical sensor, gyroscope and acceleration transducer.
Embodiment 2
As shown in Fig. 2, light source of two flash lamps as flashlight is used in this implementation, wherein one is cold light lamp, separately
One is warm light lamp.
Firstly, customized, the different flicker effects and changes in temperature for rocking light under gesture of the preparatory typing light sensation threshold value of user
The functions such as light switching;
Secondly, in mobile phone normal use process, optical sensor judges whether environment light meets preset unlatching flashlight
Threshold values condition;
Once optical sensor judges that environment light meets threshold condition, and user shakes mobile phone, hand with specific gesture of rocking
Machine executes gesture command, and acceleration and gyro sensor start-up operation judge its motion profile;
Corresponding control module handles above-mentioned photosensor signal in mobile phone, and above-mentioned acceleration and gyro sensor are sentenced
Disconnected motion profile is simultaneously compared with the gesture of typing before, drives flash lamp to open the gesture institute if discovery has same gesture
Corresponding flicker effect.
Wherein, difference rocks gesture: circle of such as drawing a circle, circle in figure 8 etc. rock gesture.
Wherein, the effect of different light flash: the such as frequency of mobile phone flashlight flashing, the switching of changes in temperature light, light and shade variation
Equal light movements design.
User it is different to mobile phone rock gesture posture can generate different light flash effects principle process it is as follows: it is first
This application program is first opened, according to flicker effect performed by the various gesture postures of self-defined pattern typing, mobile phone is being generated not
When with gesture, gyroscope and acceleration judge that its motion profile, mobile phone corresponding software start the gesture motion of typing before comparison
Posture, discovery same gesture, which inputs, starts its corresponding effect.
Wherein, the threshold values of the environment light of optical sensor detection can need to change according to user for environment light, for example
Less than 30LUXES;User can customize setting intensity threshold value, and intensity threshold value range is to be arranged in mobile phone by user oneself in advance
's.
Preferably, settable specifically to rock gesture to open and close mobile phone flashlight.
Preferably, the lamplight brightness gradual design of settable mobile phone flashlight, for example rock gesture and from left to right slide, hand
Torch light is from secretly to dark gradual change.
Preferably, the preset dynamics for shaking mobile phone also has a threshold range, and user can making by oneself in handset program in advance
Adopted range.
Herein, the concrete application of optical sensor, gyroscope and acceleration transducer repeats no more, can be in mobile phone, intelligent hand
Table etc. is equipped with optical sensor, gyroscope and acceleration transducer.
The foregoing is merely preference embodiments of the invention, are not intended to limit the scope of the present invention..Appoint
How within the spirit and principles in the present invention made any modifications, equivalent replacements, and improvements etc., should be included in of the invention
Within claims.
Claims (10)
1. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds characterized by comprising
(1) optical sensor first in mobile phone detects ambient enviroment light, judges that light intensity is lower than default light intensity threshold value;
(2) user shakes mobile phone, and the gyroscope and acceleration transducer of mobile phone judge its motion profile;
(3) if it is determined that motion profile it is consistent with preset shaking gesture, i.e., the flashlight in opening mobile phone realizes quick shine
It is bright.
2. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as described in claim 1, which is characterized in that
The light source of the flashlight is set as more flash lamps, and flash lamp can be divided into cold light and warm light type;User can customize different rollings
Gesture of starting generates the switching of changes in temperature light and different light flash effects.
3. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 1 or 2, feature exists
In the light intensity threshold value is by user's customized setting in advance.
4. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 1 or 2, feature exists
In can preset and specific shake gesture to open and close flashlight.
5. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 1 or 2, feature exists
In the preset dynamics for shaking gesture can be equipped with threshold range.
6. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 1 or 2, feature exists
In the lamplight brightness gradual design that can preset specific shaking gesture variation and flashlight is correspondingly arranged.
7. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 6, which is characterized in that
Default gesture of shaking from left to right is slided, and flashlight light is from secretly to dark gradual change.
8. shaking the method that mobile phone automatically opens flashlight under a kind of dark surrounds as claimed in claim 1 or 2, feature exists
In, under the dark surrounds shake mobile phone automatically open flashlight method it is equally applicable in smartwatch.
9. shaking the device that mobile phone automatically opens flashlight under a kind of dark surrounds, which is characterized in that described device includes that light passes
Sensor, light intensity acquisition system, gyroscope and acceleration transducer, motion profile acquisition system, the connection light intensity
The control system of acquisition system and motion profile acquisition system, control system are connect with the driving mechanism of mobile phone flashlight;It is described
Light intensity acquisition system is used to judge whether the light intensity of optical sensor acquisition to be lower than default light intensity threshold value;The fortune
Dynamic rail mark acquisition system be used for judge gyroscope and acceleration transducer acquisition motion profile whether with preset shaking gesture
Unanimously.
10. a kind of mobile phone, which is characterized in that the mobile phone includes mobile phone body, mobile phone flashlight and as claimed in claim 9 one
The device that mobile phone automatically opens flashlight is shaken under kind dark surrounds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810678100.8A CN109067971B (en) | 2018-06-27 | 2018-06-27 | Method for automatically turning on flashlight by shaking mobile phone in dark environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810678100.8A CN109067971B (en) | 2018-06-27 | 2018-06-27 | Method for automatically turning on flashlight by shaking mobile phone in dark environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067971A true CN109067971A (en) | 2018-12-21 |
CN109067971B CN109067971B (en) | 2020-01-17 |
Family
ID=64821324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810678100.8A Active CN109067971B (en) | 2018-06-27 | 2018-06-27 | Method for automatically turning on flashlight by shaking mobile phone in dark environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067971B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445933A (en) * | 2019-08-06 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for adjusting illumination mode of terminal device, storage medium and terminal device |
CN110888534A (en) * | 2019-11-28 | 2020-03-17 | 深圳传音控股股份有限公司 | Flashlight control method of terminal equipment, terminal equipment and storage medium |
CN111756918A (en) * | 2019-09-10 | 2020-10-09 | 广东小天才科技有限公司 | Scene-based smart watch control method and smart watch |
GB2598812A (en) * | 2020-04-23 | 2022-03-16 | Motorola Mobility Llc | Methods and systems for feature operational mode control in an electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010160968A (en) * | 2009-01-08 | 2010-07-22 | Kimura Yoshiko | Automatic flashlight lighting device |
CN102957805A (en) * | 2012-11-16 | 2013-03-06 | 广东欧珀移动通信有限公司 | Method for entering into flashlight mode of mobile phone |
CN105872240A (en) * | 2016-05-06 | 2016-08-17 | 乐视控股(北京)有限公司 | Flashlight mode starting method and mobile terminal |
CN106878553A (en) * | 2017-02-06 | 2017-06-20 | 广东小天才科技有限公司 | Control method of mobile equipment and mobile equipment |
-
2018
- 2018-06-27 CN CN201810678100.8A patent/CN109067971B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010160968A (en) * | 2009-01-08 | 2010-07-22 | Kimura Yoshiko | Automatic flashlight lighting device |
CN102957805A (en) * | 2012-11-16 | 2013-03-06 | 广东欧珀移动通信有限公司 | Method for entering into flashlight mode of mobile phone |
CN105872240A (en) * | 2016-05-06 | 2016-08-17 | 乐视控股(北京)有限公司 | Flashlight mode starting method and mobile terminal |
CN106878553A (en) * | 2017-02-06 | 2017-06-20 | 广东小天才科技有限公司 | Control method of mobile equipment and mobile equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445933A (en) * | 2019-08-06 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for adjusting illumination mode of terminal device, storage medium and terminal device |
CN111756918A (en) * | 2019-09-10 | 2020-10-09 | 广东小天才科技有限公司 | Scene-based smart watch control method and smart watch |
CN110888534A (en) * | 2019-11-28 | 2020-03-17 | 深圳传音控股股份有限公司 | Flashlight control method of terminal equipment, terminal equipment and storage medium |
GB2598812A (en) * | 2020-04-23 | 2022-03-16 | Motorola Mobility Llc | Methods and systems for feature operational mode control in an electronic device |
GB2598812B (en) * | 2020-04-23 | 2023-08-09 | Motorola Mobility Llc | Methods and systems for feature operational mode control in an electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109067971B (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109067971A (en) | Method for automatically turning on flashlight by shaking mobile phone in dark environment | |
EP2706821B1 (en) | Lighting control system | |
CN101059881B (en) | One button multifunction key fob for controlling a security system | |
CN104735878B (en) | A kind of wearable illuminator control device and illuminator control system | |
US7880394B2 (en) | Lighting system to facilitate remote modification of a light fixture modifiable operating parameter | |
CN105517277B (en) | Lighting apparatus control method and device | |
CN111002946B (en) | Vehicle control method and control system | |
JP2021509759A (en) | Interactive portable lighting system | |
CN104023434A (en) | Intelligent lamp turning-on method, device and system | |
KR102301240B1 (en) | Apparatus and method for recognizing gesture using wearable device in the vehicle and wearable device therefor | |
CN109476254A (en) | For the apparatus and method of the light distribution of headlamp to be arranged | |
CN107094346B (en) | Flash lamp brightness adjusting method and system of intelligent terminal | |
CN107193439A (en) | Illumination control method and device | |
CN107483712A (en) | Mobile terminal and its control method, storage device | |
CN103399642A (en) | Screen awakening control method and terminal | |
CN106954321A (en) | Adjust the method and device of light | |
CN103025019A (en) | Mobile terminal and rapid lighting method thereof | |
EP3422818B1 (en) | Method and apparatus for controlling smart flashlight and smart device | |
CN105517280B (en) | A kind of method and apparatus being illuminated | |
CN106163058A (en) | Intelligent illumination control device and illumination control method | |
WO2016131282A1 (en) | Lighting application control method and apparatus for terminal, and terminal | |
KR20150042023A (en) | Lamp control system | |
CN107809525A (en) | Mobile terminal and its control method, storage device | |
CN208386744U (en) | Anti-peeping camera structure and intelligent mirror | |
KR101935453B1 (en) | Lighting control system using smartphone's app |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |