CN105430196A - Method and device for controlling electric torch state of mobile terminal by means of positioning system - Google Patents

Method and device for controlling electric torch state of mobile terminal by means of positioning system Download PDF

Info

Publication number
CN105430196A
CN105430196A CN201511033429.1A CN201511033429A CN105430196A CN 105430196 A CN105430196 A CN 105430196A CN 201511033429 A CN201511033429 A CN 201511033429A CN 105430196 A CN105430196 A CN 105430196A
Authority
CN
China
Prior art keywords
mobile terminal
flashlight
section
throwing light
band
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
CN201511033429.1A
Other languages
Chinese (zh)
Other versions
CN105430196B (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 CN201511033429.1A priority Critical patent/CN105430196B/en
Publication of CN105430196A publication Critical patent/CN105430196A/en
Application granted granted Critical
Publication of CN105430196B publication Critical patent/CN105430196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials

Abstract

The invention discloses a method and a device for controlling an electric torch state of a mobile terminal by means of a positioning system. The method comprises the following steps of presetting a road segment which requires electric torch illumination; detecting whether the mobile terminal is in a screen-lightened state; if the mobile terminal is in the screen-lightened state, starting the positioning system of the mobile terminal for acquiring the current position of the mobile terminal; determining whether the mobile terminal enters the preset road segment which requires electric torch illumination according to the current position of the mobile terminal, wherein the current position of the mobile terminal is acquired by the positioning system of the mobile terminal in real time; and if the mobile enters the preset road segment which requires electric torch illumination, automatically starting the electric torch function of the mobile terminal for illuminating. According to the method and the device, the electric torch state of the mobile terminal is controlled by means of the position which is acquired by the positioning system, thereby realizing high intelligent degree, facilitating quick and convenient use of the electric torch function of the mobile terminal by the user, and improving user experience.

Description

A kind of method of flashlight state of combined positioning system control terminal and device
Technical field
The present invention relates to technical field of mobile terminals, more particularly, relate to a kind of method and device of flashlight state of combined positioning system control terminal.
Background technology
Along with the fast development of this several years intelligent mobile terminals, 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, when user opens the flashlight application of mobile terminal, usually need to perform a series of troublesome operation, such as, first to mobile terminal removing screen locking, and then flashlight application icon to be found in main interface or application menu, flashlight application function can be opened after clickable icon, obviously, the inconvenient user of this flashlight application open method is to the use of mobile terminal, intelligent not in actual use.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, provide a kind of method and device of flashlight state of combined positioning system control terminal, its intelligence degree is high, is conducive to the flashlight function that user uses mobile terminal fast and easily.
For achieving the above object, first aspect present invention provides a kind of method of flashlight state of combined positioning system control terminal, comprises the following steps:
Pre-set and need flashlight to carry out the section of throwing light on;
Detect whether mobile terminal is current is in screen illuminating state;
If mobile terminal is current be in screen illuminating state, then start the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal;
According to the current location of the mobile terminal that the navigation system Real-time Obtaining of mobile terminal arrives, judge whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on;
If mobile terminal enters the flashlight that needs pre-set carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal throws light on.
As preferably, if described mobile terminal enters the flashlight that needs pre-set carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal also comprises after carrying out the step of throwing light on:
The section of throwing light on is carried out, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
As one preferred embodiment, the step that pre-setting described in needs flashlight to carry out the section of throwing light on specifically comprises:
According to the selection of user, obtain the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position;
Or, obtain the position coordinates of user's input, and the section of throwing light on carried out as needing flashlight in the band of position corresponding to described position coordinates.
As another preferred embodiment, described in pre-set the step needing flashlight to carry out the section of throwing light on and specifically comprise:
When the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Judge whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
If the flashlight of mobile terminal is exceeded default frequency threshold value by the number of times used in the described band of position, then the section of throwing light on is carried out as needing flashlight in the described band of position.
As another preferred embodiment, described in pre-set the step needing flashlight to carry out the section of throwing light on and specifically comprise:
When the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Judge whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
If the flashlight of mobile terminal is exceeded default time threshold by the duration used in the described band of position, then the section of throwing light on is carried out as needing flashlight in the described band of position.
Second aspect present invention provides a kind of device of flashlight state of combined positioning system control terminal, and this device comprises:
Illumination section arranges module, needs flashlight to carry out the section of throwing light on for pre-setting;
Detection module, for detecting, whether mobile terminal is current is in screen illuminating state;
Positioning starting module, if be in screen illuminating state for mobile terminal is current, then starts the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal;
Section judge module, for the current location of mobile terminal arrived according to the navigation system Real-time Obtaining of mobile terminal, judges whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on;
Lighting control module, if enter for mobile terminal the flashlight that needs pre-set to carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal throws light on.
As preferably, described lighting control module is also for carrying out the section of throwing light on, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
As one preferred embodiment, described illumination section arranges module and specifically comprises:
Section is self-defined arranges module, for the selection according to user, obtains the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position; Or, obtain the position coordinates of user's input, and the section of throwing light on carried out as needing flashlight in the band of position corresponding to described position coordinates.
As another preferred embodiment, described illumination section arranges module and specifically comprises:
Use section logging modle, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Access times judge module, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
First arranges module, if exceeded default frequency threshold value for the flashlight of mobile terminal in the described band of position by the number of times used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
As another preferred embodiment, described illumination section arranges module and specifically comprises:
Use section logging modle, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Service time judge module, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
Second arranges module, if exceeded default time threshold for the flashlight of mobile terminal in the described band of position by the duration used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
Compared with prior art, beneficial effect of the present invention is:
The present invention mobile terminal is current be in screen illuminating state time, the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal can be started, carry out the section of throwing light on when mobile terminal enters the flashlight that needs pre-set, then the flashlight function automatically opening mobile terminal throws light on.The position that combined positioning system of the present invention gets is to control the flashlight state of mobile terminal, and intelligence degree is high, is conducive to the flashlight function that user uses mobile terminal fast and easily, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the flashlight state of a kind of combined positioning system control terminal that the embodiment of the present invention one provides;
Fig. 2 is a kind of concrete grammar flow chart of the step S1 that the embodiment of the present invention one provides;
Fig. 3 is the another kind of concrete grammar flow chart of the step S1 that the embodiment of the present invention one provides;
Fig. 4 is the structured flowchart of the device of the flashlight state of a kind of combined positioning system control terminal that the embodiment of the present invention two provides;
Fig. 5 is the structured flowchart that a kind of section of throwing light on that the embodiment of the present invention two provides arranges module;
Fig. 6 is that the another kind illumination section that the embodiment of the present invention two provides arranges the structured flowchart of module;
Fig. 7 is that the another kind illumination section that the embodiment of the present invention two provides arranges the structured flowchart of module.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Embodiments of the invention one provide a kind of method of flashlight state of combined positioning system control terminal, are described in detail to the present embodiment below in conjunction with accompanying drawing.Fig. 1 is the method flow diagram of the embodiment of the present invention one, please refer to Fig. 1, and the method for the embodiment of the present invention comprises the following steps:
Step S1, pre-set and need flashlight to carry out the section of throwing light on;
After user opens the function of flashlight Based Intelligent Control, mobile terminal can be arranged by User Defined needs flashlight to carry out the section of throwing light on, and the record that also flashlight can be used to carry out throwing light on according to user by mobile terminal and custom carry out Lookup protocol needs flashlight to carry out the section of throwing light on.
Wherein, when User Defined arrange need flashlight to carry out the section of throwing light on time, step S101 specifically comprises the following steps:
According to the selection of user, obtain the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position.
During operation, user can open the electronic chart that mobile terminal carries, and in electronic chart, freely select the band of position (comprising particular location point and/or section) needing flashlight to carry out throwing light on, as long as subsequent movement terminal judges whether mobile terminal enters the band of position selected in this electronic chart.
In addition, user also can carry out self-defined setting by input position coordinate needs flashlight to carry out the section of throwing light on.When position coordinates has inputted, system can obtain the position coordinates of user's input, and the section of throwing light on is carried out as needing flashlight in the band of position corresponding to described position coordinates.
As shown in Figure 2, carry out the record that throws light on and custom when using flashlight according to user and carry out Lookup protocol when needing flashlight to carry out the section of throwing light on, step S1 specifically comprises the following steps:
Step S111, when the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
To be opened by user at the flashlight function of mobile terminal in the process of carrying out throwing light on, mobile terminal can obtain the current residing band of position of mobile terminal by navigation system, the band of position now got can be considered as flashlight in use the band of position of process, thus to be recorded.
Step S112, judge whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
If the flashlight of mobile terminal is exceeded default frequency threshold value by the number of times used in the described band of position, then illustrate that user needs often to use flashlight function in this band of position, therefore can confirm that the current band of position is need flashlight to carry out the section of throwing light on, now perform step S113.
Step S113, the section of throwing light on is carried out as needing flashlight in the described band of position.
Alternatively, as shown in Figure 3, carry out the record that throws light on and custom when using flashlight according to user and carry out Lookup protocol when needing flashlight to carry out the section of throwing light on, step S1 also can specifically comprise the following steps:
Step S121, when the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Step S122, judge whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
If the flashlight of mobile terminal is exceeded default time threshold by the duration used in the described band of position, then illustrate that user needs to use flashlight function for a long time in this band of position, therefore can confirm that the current band of position is need flashlight to carry out the section of throwing light on, now perform step S123.
Step S123, the section of throwing light on is carried out as needing flashlight in the described band of position.
Certainly, if the flashlight of mobile terminal is not exceeded default frequency threshold value by the number of times used in the described band of position, follow-up also can directly execution judges whether the flashlight of mobile terminal in the described band of position is exceeded the step of default time threshold by the duration used.
Step S2, detect that mobile terminal is current whether is in screen illuminating state;
Wherein, detecting the mobile terminal current object whether being in screen illuminating state is to show that the positive beamhouse operation mobile terminal of user throws light on, and to avoid when unnecessary the mobile terminal such as (as be placed in Bao Nei or clothes situation) automatically to open flashlight function and throw light on.
If mobile terminal is current be in screen illuminating state, then perform step S3; If current being in of mobile terminal puts out screen state, then wait for that screen is lighted.
The current location of the navigation system Real-time Obtaining mobile terminal of step S3, startup mobile terminal;
Step S4, the current location of mobile terminal arrived according to the navigation system Real-time Obtaining of mobile terminal, judge whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on;
If mobile terminal enters the flashlight that needs pre-set carry out the section of throwing light on, then perform step S5, otherwise continue monitoring position.
Step S5, the flashlight function automatically opening mobile terminal throw light on.
When mobile terminal enter pre-set need flashlight to carry out the section of throwing light on time, mobile terminal can control photoflash lamp chip drives module drive photoflash lamp Chang Liang, realizes the function of flashlight lighting.
Step S6, carry out the section of throwing light on, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
The flashlight state of control terminal is carried out in the position that methods combining navigation system of the present invention gets, and intelligence degree is high, is conducive to the flashlight function that user uses mobile terminal fast and easily, improves Consumer's Experience.
Embodiment two
Embodiments of the invention two provide a kind of device of flashlight state of combined positioning system control terminal, please refer to Fig. 4, the device of the embodiment of the present invention comprises illumination section and arranges module 1, detection module 2, positioning starting module 3, section judge module 4 and lighting control module 5, is described in detail below by the principle of above-mentioned module.
Illumination section arranges module 1, needs flashlight to carry out the section of throwing light on for pre-setting.
After user opens the function of flashlight Based Intelligent Control, mobile terminal can be arranged by User Defined needs flashlight to carry out the section of throwing light on, and the record that also flashlight can be used to carry out throwing light on according to user by mobile terminal and custom carry out Lookup protocol needs flashlight to carry out the section of throwing light on.
Wherein, when User Defined arrange need flashlight to carry out the section of throwing light on time, as shown in Figure 5, described illumination section arranges module 1 and specifically comprises:
Section is self-defined arranges module 11, for the selection according to user, obtains the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position.
During operation, user can open the electronic chart that mobile terminal carries, and in electronic chart, freely select the band of position (comprising particular location point and/or section) needing flashlight to carry out throwing light on, as long as subsequent movement terminal judges whether mobile terminal enters the band of position selected in this electronic chart.
In addition, in another embodiment, user also can carry out self-defined setting by input position coordinate needs flashlight to carry out the section of throwing light on.When position coordinates has inputted, self-defined position coordinates module 11 being set and can also being used for obtaining user's input in section, and the section of throwing light on is carried out as needing flashlight in the band of position corresponding to described position coordinates.
As shown in Figure 6, carry out the record that throws light on and custom when using flashlight according to user and carry out Lookup protocol when needing flashlight to carry out the section of throwing light on, described illumination section arranges module 1 and can specifically comprise:
Use section logging modle 12, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Access times judge module 13, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
First arranges module 14, if exceeded default frequency threshold value for the flashlight of mobile terminal in the described band of position by the number of times used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
If the flashlight of mobile terminal is exceeded default frequency threshold value by the number of times used in the described band of position, then illustrate that user needs often to use flashlight function in this band of position, therefore can confirm that the current band of position is need flashlight to carry out the section of throwing light on, and then the section of throwing light on is carried out as needing flashlight in the described band of position.
As another preferred embodiment, as shown in Figure 7, carry out the record that throws light on and custom when using flashlight according to user and carry out Lookup protocol when needing flashlight to carry out the section of throwing light on, described illumination section arranges module 1 and also can specifically comprise:
Use section logging modle 12, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Service time judge module 15, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
Second arranges module 16, if exceeded default time threshold for the flashlight of mobile terminal in the described band of position by the duration used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
If the flashlight of mobile terminal is exceeded default time threshold by the duration used in the described band of position, then illustrate that user needs to use flashlight function for a long time in this band of position, therefore can confirm that the current band of position is need flashlight to carry out the section of throwing light on, and then the section of throwing light on is carried out as needing flashlight in the described band of position.
Detection module 2, for detecting, whether mobile terminal is current is in screen illuminating state.
Wherein, it is to show that the positive beamhouse operation mobile terminal of user throws light on that detection module 2 detects the current object whether being in screen illuminating state of mobile terminal, to avoid when unnecessary the mobile terminal such as (as be placed in Bao Nei or clothes situation) automatically to open flashlight function and throw light on.
Positioning starting module 3, if be in screen illuminating state for mobile terminal is current, then starts the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal.
Section judge module 4, for the current location of mobile terminal arrived according to the navigation system Real-time Obtaining of mobile terminal, judges whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on.
Lighting control module 5, if enter for mobile terminal the flashlight that needs pre-set to carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal throws light on.
In addition, lighting control module 5 is also for carrying out the section of throwing light on, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
The flashlight state of control terminal is carried out in the position that device combined positioning system of the present invention gets, and intelligence degree is high, is conducive to the flashlight function that user uses mobile terminal fast and easily, improves Consumer's Experience.
It should be noted that, the device of the flashlight state of a kind of combined positioning system control terminal that above-described embodiment provides, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by system is divided into different functional modules, to complete all or part of function described above.In addition, this mobile terminal can be mobile phone, panel computer, human-computer interaction terminal or other there is the mobile terminal device of navigation system and flashlight function.
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.

Claims (10)

1. a method for the flashlight state of combined positioning system control terminal, it is characterized in that, the method comprises the following steps:
Pre-set and need flashlight to carry out the section of throwing light on;
Detect whether mobile terminal is current is in screen illuminating state;
If mobile terminal is current be in screen illuminating state, then start the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal;
According to the current location of the mobile terminal that the navigation system Real-time Obtaining of mobile terminal arrives, judge whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on;
If mobile terminal enters the flashlight that needs pre-set carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal throws light on.
2. the method for the flashlight state of combined positioning system control terminal according to claim 1, it is characterized in that, if described mobile terminal enters the flashlight that needs pre-set carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal also comprises after carrying out the step of throwing light on:
The section of throwing light on is carried out, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
3. the method for the flashlight state of combined positioning system control terminal according to claim 1, is characterized in that, described in pre-set the step needing flashlight to carry out the section of throwing light on and specifically comprise:
According to the selection of user, obtain the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position;
Or, obtain the position coordinates of user's input, and the section of throwing light on carried out as needing flashlight in the band of position corresponding to described position coordinates.
4. the method for the flashlight state of combined positioning system control terminal according to claim 1, is characterized in that, described in pre-set the step needing flashlight to carry out the section of throwing light on and specifically comprise:
When the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Judge whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
If the flashlight of mobile terminal is exceeded default frequency threshold value by the number of times used in the described band of position, then the section of throwing light on is carried out as needing flashlight in the described band of position.
5. the method for the flashlight state of combined positioning system control terminal according to claim 1, is characterized in that, described in pre-set the step needing flashlight to carry out the section of throwing light on and specifically comprise:
When the flashlight function of mobile terminal be opened throw light on time, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Judge whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
If the flashlight of mobile terminal is exceeded default time threshold by the duration used in the described band of position, then the section of throwing light on is carried out as needing flashlight in the described band of position.
6. a device for the flashlight state of combined positioning system control terminal, is characterized in that, this device comprises:
Illumination section arranges module, needs flashlight to carry out the section of throwing light on for pre-setting;
Detection module, for detecting, whether mobile terminal is current is in screen illuminating state;
Positioning starting module, if be in screen illuminating state for mobile terminal is current, then starts the current location of the navigation system Real-time Obtaining mobile terminal of mobile terminal;
Section judge module, for the current location of mobile terminal arrived according to the navigation system Real-time Obtaining of mobile terminal, judges whether mobile terminal enters the flashlight that needs pre-set and carry out the section of throwing light on;
Lighting control module, if enter for mobile terminal the flashlight that needs pre-set to carry out the section of throwing light on, then the flashlight function automatically opening mobile terminal throws light on.
7. the device of the flashlight state of combined positioning system control terminal according to claim 6, it is characterized in that, described lighting control module is also for carrying out the section of throwing light on, then the flashlight function of turning-off mobile terminal when mobile terminal have left the flashlight that needs pre-set.
8. the device of the flashlight state of combined positioning system control terminal according to claim 6, is characterized in that, described illumination section arranges module and specifically comprises:
Section is self-defined arranges module, for the selection according to user, obtains the band of position that user is selected in the electronic chart of mobile terminal, and the section of throwing light on is carried out as needing flashlight in the described band of position; Or, obtain the position coordinates of user's input, and the section of throwing light on carried out as needing flashlight in the band of position corresponding to described position coordinates.
9. the device of the flashlight state of combined positioning system control terminal according to claim 6, is characterized in that, described illumination section arranges module and specifically comprises:
Use section logging modle, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Access times judge module, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default frequency threshold value by the number of times used;
First arranges module, if exceeded default frequency threshold value for the flashlight of mobile terminal in the described band of position by the number of times used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
10. the device of the flashlight state of combined positioning system control terminal according to claim 6, is characterized in that, described illumination section arranges module and specifically comprises:
Use section logging modle, when throwing light on for being opened when the flashlight function of mobile terminal, the flashlight recording the mobile terminal got by the navigation system of mobile terminal in use the band of position of process;
Service time judge module, for judging whether the flashlight of mobile terminal in the described band of position is exceeded default time threshold by the duration used;
Second arranges module, if exceeded default time threshold for the flashlight of mobile terminal in the described band of position by the duration used, then the section of throwing light on is carried out as needing flashlight in the described band of position.
CN201511033429.1A 2015-12-30 2015-12-30 A kind of method and device of the flashlight state of combined positioning system controlling terminal Active CN105430196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511033429.1A CN105430196B (en) 2015-12-30 2015-12-30 A kind of method and device of the flashlight state of combined positioning system controlling terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511033429.1A CN105430196B (en) 2015-12-30 2015-12-30 A kind of method and device of the flashlight state of combined positioning system controlling terminal

Publications (2)

Publication Number Publication Date
CN105430196A true CN105430196A (en) 2016-03-23
CN105430196B CN105430196B (en) 2018-12-04

Family

ID=55508129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511033429.1A Active CN105430196B (en) 2015-12-30 2015-12-30 A kind of method and device of the flashlight state of combined positioning system controlling terminal

Country Status (1)

Country Link
CN (1) CN105430196B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303071A (en) * 2016-09-09 2017-01-04 努比亚技术有限公司 A kind of control the method and device of lamp, terminal in terminal

Citations (5)

* 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
CN103354582A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method and system for intelligently associating with application through sensor
CN103873684A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Application method and device of flashlight
CN104168699A (en) * 2014-08-18 2014-11-26 广东欧珀移动通信有限公司 Flashlight illumination brightness setting method and device
CN104183122A (en) * 2014-08-25 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Road condition sharing method and device based on mobile terminals and mobile terminals

Patent Citations (5)

* 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
CN103354582A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method and system for intelligently associating with application through sensor
CN103873684A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Application method and device of flashlight
CN104168699A (en) * 2014-08-18 2014-11-26 广东欧珀移动通信有限公司 Flashlight illumination brightness setting method and device
CN104183122A (en) * 2014-08-25 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Road condition sharing method and device based on mobile terminals and mobile terminals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303071A (en) * 2016-09-09 2017-01-04 努比亚技术有限公司 A kind of control the method and device of lamp, terminal in terminal
CN106303071B (en) * 2016-09-09 2019-08-30 努比亚技术有限公司 Method and device, the terminal of lamp in a kind of controlling terminal

Also Published As

Publication number Publication date
CN105430196B (en) 2018-12-04

Similar Documents

Publication Publication Date Title
US10345769B2 (en) Method and apparatus for controlling smart home device
RU2658501C2 (en) Method and apparatus for identifying category of electronic device on intelligent socket
EP3131235B1 (en) Method and apparatus for controlling device
JP6216102B2 (en) Method and apparatus for testing intelligent devices
CN108710306B (en) Control method and device of intelligent equipment and computer readable storage medium
CN105094616B (en) Touch screen control method and device
CN104991137A (en) Equipment testing method and device
CN105117209A (en) Application interaction method and device
CN105188189A (en) Gravity-sensor-based flash lamp illumination method and apparatus, and mobile terminal
EP3892069B1 (en) Determining a control mechanism based on a surrounding of a remote controllable device
JP2020526941A (en) State detection method, state detection device and storage medium
CN104954699A (en) Shooting parameter setting method and user terminal
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN108170211B (en) Camera power-on driving method and electronic terminal
CN104639830A (en) Method and device for resetting rotary camera
CN105430196A (en) Method and device for controlling electric torch state of mobile terminal by means of positioning system
CN105357434A (en) Information processing method and electronic equipment
CN105094831B (en) Focus acquisition methods, device and terminal
CN105045079A (en) Intelligent watch control method and intelligent watch
CN113705392B (en) Working state switching method, device, equipment, storage medium and program product
US20230033157A1 (en) Displaying a light control ui on a device upon detecting interaction with a light control device
WO2021219493A1 (en) Cuttable light strip comprising individually addressable segments
CN110837720B (en) Method, device and related product for instruction execution
US11357090B2 (en) Storing a preference for a light state of a light source in dependence on an attention shift
CN108897553B (en) Chip programming tool, system, chip programming 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
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.