CN104567845B - A kind of direction guidance method and mobile terminal - Google Patents
A kind of direction guidance method and mobile terminal Download PDFInfo
- Publication number
- CN104567845B CN104567845B CN201510050845.6A CN201510050845A CN104567845B CN 104567845 B CN104567845 B CN 104567845B CN 201510050845 A CN201510050845 A CN 201510050845A CN 104567845 B CN104567845 B CN 104567845B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- key
- deviation
- default
- press event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012544 monitoring process Methods 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 description 5
- 206010048669 Terminal state Diseases 0.000 description 4
- 238000013459 approach Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000011435 rock Substances 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C17/00—Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of direction guidance method and mobile terminal, wherein, a kind of direction guidance method includes:Mobile terminal monitors the key-press event on the mobile terminal in the case where putting out screen state;If listening to default key-press event, the signified direction of the mobile terminal is detected by the direction inductor device in the mobile terminal;If the deviation in the signified direction of the mobile terminal and default guide direction is in default deviation range, export alerting signal.The technical scheme that the present invention is provided can realize that direction of the mobile terminal in the case where putting out screen state is guided.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of direction guidance method and mobile terminal.
Background technology
With the improvement of living standards, more and more people like outdoor activities, in many cases, traveler needs to take with oneself
Band compass, facilitates the use the guide that compass provides route.
Due to the popularization and the development of intellectualized technology of mobile terminal, may not be certain everyone can carry compass trip,
But a mobile phone trip can be carried substantially.And the at present universal built-in direction sensor of mobile terminal, therefore be easier to pass through
Compass applications on mobile terminal provide the user directionality guide.In actual use, when user wants to utilize shifting
, it is necessary to open the display screen of mobile terminal when compass applications in dynamic terminal check direction, open afterwards on mobile terminal
Compass applications check direction.Due to need in the wild or in foreign environment it is regular check direction, therefore, it is above-mentioned using move
Compass applications in dynamic terminal check extremely inconvenient in the operation in direction external environment out of office or foreign environment, in addition, often
The display screen of opening mobile terminal will also result in power consumption and increase sharply, and reduce the endurance of mobile terminal.
The content of the invention
The present invention provides a kind of direction guidance method and mobile terminal, for realizing side of the mobile terminal in the case where putting out screen state
To guide.
First aspect present invention provides a kind of direction guidance method, including:
Mobile terminal monitors the key-press event on the mobile terminal in the case where putting out screen state;
If listening to default key-press event, detect described mobile whole by the direction inductor device in the mobile terminal
Hold signified direction;
If the deviation in the signified direction of the mobile terminal and default guide direction is in default deviation range,
Then, alerting signal is exported.
Second aspect of the present invention provides a kind of mobile terminal, including:
Monitoring unit, for putting out under screen state in the mobile terminal, monitors the key-press event on the mobile terminal;
Detection unit, for when the monitoring unit listens to default key-press event, by the mobile terminal
Direction inductor device detect the signified direction of the mobile terminal;
Output unit, for guiding the deviation in direction with presetting in predetermined deviation when the signified direction of the mobile terminal
In the range of when, export alerting signal.
Therefore, the key-press event in the present invention in the case where mobile terminal puts out screen state on monitoring mobile terminal works as monitoring
During to default key-press event, the signified direction of mobile terminal is detected by the direction inductor device in mobile terminal, and in movement
Terminal signified direction exports alerting signal when the deviation in direction is guided with presetting in the range of predetermined deviation, and user is by carrying
Awake signal just would know that the signified direction of mobile terminal and the default guide guided direction to approach, and then obtain direction.The present invention
Direction of the mobile terminal in the case where putting out screen state is realized to guide, also, due to not needing user to start the display screen of mobile terminal
Curtain guides application to start direction, is guided therefore, it is possible to effectively reduction mobile terminal in direction and applies upper power consumption, Jin Erbao
The endurance of mobile terminal is demonstrate,proved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
A kind of direction guidance method one embodiment schematic flow sheet that Fig. 1 provides for the present invention;
A kind of direction guidance method another embodiment schematic flow sheet that Fig. 2 provides for the present invention;
A kind of mobile terminal one embodiment structural representation that Fig. 3 provides for the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model that the present invention is protected
Enclose.
The embodiment of the present invention provides a kind of direction guidance method, including:Mobile terminal monitors described move in the case where putting out screen state
Key-press event in dynamic terminal;If listening to default key-press event, examined by the direction inductor device in the mobile terminal
Survey the signified direction of the mobile terminal;If the deviation in the signified direction of the mobile terminal and default guide direction is pre-
If deviation range in, then export alerting signal.The embodiment of the present invention also provides corresponding mobile terminal.Carry out individually below detailed
Describe in detail bright.
A kind of direction guidance method provided in an embodiment of the present invention is described below, referring to Fig. 1, the present invention is implemented
Direction guidance method in example includes:
101st, mobile terminal monitors the key-press event on above-mentioned mobile terminal in the case where putting out screen state;
In the embodiment of the present invention, mobile terminal, which is in, puts out shape of the display screen in extinguishing that screen state refers to mobile terminal
State.
When mobile terminal is in and puts out screen state, mobile terminal monitors the key-press event on mobile terminal on backstage, for example
The trigger event of some button on mobile terminal is monitored, or, monitor the combination of more than two buttons on mobile terminal
Trigger event.
When the button on mobile terminal is triggered, the button being triggered can export corresponding electric signal, and mobile terminal leads to
Cross the electric signal received judge the button that is triggered as which button and specific key-press event (for example long-press event or
Short-press event).
If the 102, listening to default key-press event, above-mentioned shifting is detected by the direction inductor device in above-mentioned mobile terminal
The signified direction of dynamic terminal;
Direction inductor device built in mobile terminal in the embodiment of the present invention, and preset the button thing for starting direction guide
Part, so as to when mobile terminal listens to default key-press event, by the direction inductor device detection in above-mentioned mobile terminal
State the signified direction of mobile terminal.
Alternatively, preset volume increase key and volume reduces the long-press event of key as above-mentioned default button thing
Part, then when the volume increase key and volume that mobile terminal is listened on mobile terminal reduce long-press event (the i.e. mobile terminal of key
On volume increase key and volume reduce key by long-press simultaneously) when, judgement listens to default key-press event, now, it is mobile eventually
The direction inductor device that end passes through in above-mentioned mobile terminal detects the signified direction of above-mentioned mobile terminal.
Certainly, other key-press events can also be preset in the embodiment of the present invention, for example, a certain button on default mobile terminal
Long-press event or short-press event as above-mentioned default key-press event, or, can also preset other several on mobile terminal
Combination trigger event (such as combination trigger event of volume increase key and power key of individual button;Volume reduces key and power key
Combination trigger event;Volume increase key, volume reduce the combination triggered time of key and power key) it is used as above-mentioned default button
Event." above-mentioned mobile terminal institute is not detected by the direction inductor device in above-mentioned mobile terminal to triggering in the embodiment of the present invention
The specific key-press event of this operation of the direction of finger " is defined.
When listening to default key-press event, mobile terminal starts built-in direction inductor device, detects above-mentioned mobile whole
Hold signified direction.Alternatively, the direction for the display screen for vertically moving terminal is set as Z axis, the display screen of the mobile terminal
The transverse direction of curtain is X-axis, and the longitudinal direction of the display screen of the mobile terminal is Y-axis, when listening to default key-press event, mobile whole
The direction inductor device built in startup is held, the signified direction of above-mentioned Y-axis is detected.In actual applications, in order to improve angle detecting
Accuracy, user can keep mobile terminal as far as possible after above-mentioned default key-press event is triggered in user's moving process
Display screen it is parallel to the ground, i.e. so that above-mentioned Z axis is perpendicular to the ground.
If the 103, the deviation in the signified direction of above-mentioned mobile terminal and default guide direction is in default deviation range
It is interior, then, export alerting signal;
In the embodiment of the present invention, preset command direction (direction for needing instruction) and deviation range (i.e. can be inclined
The angular range of difference).Setting offset direction angular range allows for actual mobile terminal has error in itself, excessively tight in addition
The direction of lattice indicates that such as positive and negative 0.01 degree of deviation angle does not have substantial workability in actual use, because
Always there is small deviation in this walking process and rock.Above-mentioned deviation range can also be set according to actual needs,
Certainly, above-mentioned deviation range can also be set as 0.
In the embodiment of the present invention, above-mentioned guide direction and above-mentioned deviation range can be set when dispatching from the factory, or, can also
Independently set, be not construed as limiting herein as needed by user.
When detecting the deviation in the signified direction of above-mentioned mobile terminal and default guide direction in default deviation model
When enclosing interior, alerting signal is exported.
Optionally, breath light built in the mobile terminal in the embodiment of the present invention, it is signified when detecting above-mentioned mobile terminal
When the deviation in direction and default guide direction is in default deviation range, the breath light in the movement terminal is triggered,
I.e. so that the breath light flicker on the mobile terminal.
Optionally, when detecting the deviation in the signified direction of above-mentioned mobile terminal and default guide direction default
When in deviation range, output voice reminder signal or its audio signal.
Certainly, alerting signal can also be exported in the embodiment of the present invention otherwise, above-mentioned shifting is detected for example, working as
When the deviation in the signified direction of dynamic terminal and default guide direction is in default deviation range, mobile terminal vibrations.Or
Person, the alerting signal during the present invention is implemented can also be the combination of multi-signal, and above-mentioned mobile terminal meaning is detected for example, working as
Direction and default guide direction deviation in default deviation range when, the breath light on triggering mobile terminal dodges
It is bright, while exporting voice reminder signal or its audio signal.Specific alerting signal is not limited in the embodiment of the present invention
It is fixed.
Optionally, step 102 triggering after, if mobile terminal do not hear it is default be used for stop direction guide by
During key events, mobile terminal keeps the detection in the direction signified to above-mentioned mobile terminal, until mobile terminal detects above-mentioned use
In the key-press event for stopping direction guide.
Optionally, after step 102 triggering, if mobile terminal is not detected by the default button thing that step 102 is referred to
The detection of part, then the mobile terminal stopping direction signified to above-mentioned mobile terminal, i.e. the execution of end step 102.
It should be noted that the mobile terminal in the embodiment of the present invention be specifically as follows mobile phone, tablet personal computer, camera or
Person's other configurations have the mobile terminal of direction inductor device, are not construed as limiting herein.
Therefore, the key-press event in the present invention in the case where mobile terminal puts out screen state on monitoring mobile terminal works as monitoring
During to default key-press event, the signified direction of mobile terminal is detected by the direction inductor device in mobile terminal, and in movement
Terminal signified direction exports alerting signal when the deviation in direction is guided with presetting in the range of predetermined deviation, and user is by carrying
Awake signal just would know that the signified direction of mobile terminal and the default guide guided direction to approach, and then obtain direction.The present invention
Direction of the mobile terminal in the case where putting out screen state is realized to guide, also, due to not needing user to start the display screen of mobile terminal
Curtain guides application to start direction, is guided therefore, it is possible to effectively reduction mobile terminal in direction and applies upper power consumption, Jin Erbao
The endurance of mobile terminal is demonstrate,proved.
Direction guidance method in being implemented below with another embodiment to the present invention is described, referring to Fig. 2, of the invention
Direction guidance method in embodiment, including:
201st, mobile terminal receives the guide directional information and deviation range value of input;
In the embodiment of the present invention, mobile terminal provides the inputting interface for guiding directional information and deviation range value, so as to
Family inputs the guide directional information and deviation range value that need by the inputting interface.
202nd, mobile terminal sets command direction and inclined respectively according to the guide directional information and deviation range value that receive
Poor scope.
203rd, mobile terminal monitors the key-press event on above-mentioned mobile terminal in the case where putting out screen state;
In the embodiment of the present invention, mobile terminal, which is in, puts out shape of the display screen in extinguishing that screen state refers to mobile terminal
State.
When mobile terminal is in and puts out screen state, mobile terminal monitors the key-press event on mobile terminal on backstage, for example
The trigger event of some button on mobile terminal is monitored, or, monitor the combination of more than two buttons on mobile terminal
Trigger event.
When the button on mobile terminal is triggered, the button being triggered can export corresponding electric signal, and mobile terminal leads to
Cross the electric signal received judge the button that is triggered as which button and specific key-press event (for example long-press event or
Short-press event).
If the 204, listening to default key-press event, above-mentioned shifting is detected by the direction inductor device in above-mentioned mobile terminal
The signified direction of dynamic terminal;
Direction inductor device built in mobile terminal in the embodiment of the present invention, and preset the button thing for starting direction guide
Part, so as to when mobile terminal listens to default key-press event, by the direction inductor device detection in above-mentioned mobile terminal
State the signified direction of mobile terminal.
Alternatively, preset volume increase key and volume reduces the long-press event of key as above-mentioned default button thing
Part, then when the volume increase key and volume that mobile terminal is listened on mobile terminal reduce long-press event (the i.e. mobile terminal of key
On volume increase key and volume reduce key by long-press simultaneously) when, judgement listens to default key-press event, now, it is mobile eventually
The direction inductor device that end passes through in above-mentioned mobile terminal detects the signified direction of above-mentioned mobile terminal.
Certainly, other key-press events can also be preset in the embodiment of the present invention, for example, a certain button on default mobile terminal
Long-press event or short-press event as above-mentioned default key-press event, or, can also preset other several on mobile terminal
Combination trigger event (such as combination trigger event of volume increase key and power key of individual button;Volume reduces key and power key
Combination trigger event;Volume increase key, volume reduce the combination triggered time of key and power key) it is used as above-mentioned default button
Event." above-mentioned mobile terminal institute is not detected by the direction inductor device in above-mentioned mobile terminal to triggering in the embodiment of the present invention
The specific key-press event of this operation of the direction of finger " is defined.
When listening to default key-press event, mobile terminal starts built-in direction inductor device, detects above-mentioned mobile whole
Hold signified direction.Alternatively, the direction for the display screen for vertically moving terminal is set as Z axis, the display screen of the mobile terminal
The transverse direction of curtain is X-axis, and the longitudinal direction of the display screen of the mobile terminal is Y-axis, when listening to default key-press event, mobile whole
The direction inductor device built in startup is held, the signified direction of above-mentioned Y-axis is detected.In actual applications, in order to improve angle detecting
Accuracy, user can keep mobile terminal as far as possible after above-mentioned default key-press event is triggered in user's moving process
Display screen it is parallel to the ground, i.e. so that above-mentioned Z axis is perpendicular to the ground.
If the 205, the deviation in the signified direction of above-mentioned mobile terminal and default guide direction is in default deviation range
It is interior, then, export alerting signal;
In the embodiment of the present invention, preset command direction (direction for needing instruction) and deviation range (i.e. can be inclined
The angular range of difference).Setting offset direction angular range allows for actual mobile terminal has error in itself, excessively tight in addition
The direction of lattice indicates that such as positive and negative 0.01 degree of deviation angle does not have substantial workability in actual use, because
Always there is small deviation in this walking process and rock.Above-mentioned deviation range can also be set according to actual needs,
Certainly, above-mentioned deviation range can also be set as 0.
In the embodiment of the present invention, above-mentioned guide direction and above-mentioned deviation range can be set when dispatching from the factory, or, can also
Independently set, be not construed as limiting herein as needed by user.
When detecting the deviation in the signified direction of above-mentioned mobile terminal and default guide direction in default deviation model
When enclosing interior, alerting signal is exported.
Optionally, breath light built in the mobile terminal in the embodiment of the present invention, it is signified when detecting above-mentioned mobile terminal
When the deviation in direction and default guide direction is in default deviation range, the breath light in the movement terminal is triggered,
I.e. so that the breath light flicker on the mobile terminal.
Optionally, when detecting the deviation in the signified direction of above-mentioned mobile terminal and default guide direction default
When in deviation range, output voice reminder signal or its audio signal.
Certainly, alerting signal can also be exported in the embodiment of the present invention otherwise, above-mentioned shifting is detected for example, working as
When the deviation in the signified direction of dynamic terminal and default guide direction is in default deviation range, mobile terminal vibrations.Or
Person, the alerting signal during the present invention is implemented can also be the combination of multi-signal, and above-mentioned mobile terminal meaning is detected for example, working as
Direction and default guide direction deviation in default deviation range when, the breath light on triggering mobile terminal dodges
It is bright, while exporting voice reminder signal or its audio signal.Specific alerting signal is not limited in the embodiment of the present invention
It is fixed.
Optionally, step 204 triggering after, if mobile terminal do not hear it is default be used for stop direction guide by
During key events, mobile terminal keeps the detection in the direction signified to above-mentioned mobile terminal, until mobile terminal detects above-mentioned use
In the key-press event for stopping direction guide.
Optionally, after step 204 triggering, if mobile terminal is not detected by the default button thing that step 204 is referred to
The detection of part, then the mobile terminal stopping direction signified to above-mentioned mobile terminal, i.e. the execution of end step 204.
It should be noted that the mobile terminal in the embodiment of the present invention be specifically as follows mobile phone, tablet personal computer, camera or
Person's other configurations have the mobile terminal of direction inductor device, are not construed as limiting herein.
Therefore, the key-press event in the present invention in the case where mobile terminal puts out screen state on monitoring mobile terminal works as monitoring
During to default key-press event, the signified direction of mobile terminal is detected by the direction inductor device in mobile terminal, and in movement
Terminal signified direction exports alerting signal when the deviation in direction is guided with presetting in the range of predetermined deviation, and user is by carrying
Awake signal just would know that the signified direction of mobile terminal and the default guide guided direction to approach, and then obtain direction.The present invention
Direction of the mobile terminal in the case where putting out screen state is realized to guide, also, due to not needing user to start the display screen of mobile terminal
Curtain guides application to start direction, is guided therefore, it is possible to effectively reduction mobile terminal in direction and applies upper power consumption, Jin Erbao
The endurance of mobile terminal is demonstrate,proved.Further, user can independently set command direction and deviation model in the embodiment of the present invention
Enclose, so as to meet the different needs of user.
The embodiment of the present invention also provides a kind of mobile terminal, referring to Fig. 3, the mobile terminal 300 in the embodiment of the present invention,
Including:
Monitoring unit 301, for putting out under screen state in mobile terminal 300, monitors the button thing on mobile terminal 300
Part;
Detection unit 302, for when monitoring unit 301 listens to default key-press event, by mobile terminal 300
The signified direction of direction inductor device detection mobile terminal 300;
Output unit 303, for guiding the deviation in direction with presetting when the signified direction of mobile terminal 300 default inclined
When in poor scope, alerting signal is exported.
Optionally, output unit 303 specifically for:When the signified direction of mobile terminal 300 is with presetting the inclined of guide direction
When difference is in the range of predetermined deviation, the breath light on triggering mobile terminal 300.
Optionally, output unit 303 specifically for:When the signified direction of mobile terminal 300 and default guide direction
When deviation is in default deviation range, voice reminder signal is exported.
Optionally, monitoring unit 301 specifically for:When the volume for listening to mobile terminal 300 increases key and volume reduction
During the long-press event of key, judgement listens to default key-press event.
Optionally, the mobile terminal in the embodiment of the present invention also includes:
Receiving unit, guide directional information and deviation range value for receiving input;
Setup unit, guide directional information and deviation range value for being received according to above-mentioned receiving unit are set respectively
Command direction and deviation range.
It should be noted that the mobile terminal in the embodiment of the present invention be specifically as follows mobile phone, tablet personal computer, camera or
Person's other configurations have the mobile terminal of direction inductor device, are not construed as limiting herein.
It should be understood that put can be such as the mobile end referred in above-mentioned embodiment of the method for the mobile terminal in the embodiment of the present invention
End, can be used for realizing whole technical schemes in above method embodiment, the function of its each functional module can be according to upper
The method stated in embodiment of the method is implemented, and it implements process and can refer to associated description in above-described embodiment, herein
Repeat no more.
Therefore, the key-press event in the present invention in the case where mobile terminal puts out screen state on monitoring mobile terminal works as monitoring
During to default key-press event, the signified direction of mobile terminal is detected by the direction inductor device in mobile terminal, and in movement
Terminal signified direction exports alerting signal when the deviation in direction is guided with presetting in the range of predetermined deviation, and user is by carrying
Awake signal just would know that the signified direction of mobile terminal and the default guide guided direction to approach, and then obtain direction.The present invention
Direction of the mobile terminal in the case where putting out screen state is realized to guide, also, due to not needing user to start the display screen of mobile terminal
Curtain guides application to start direction, is guided therefore, it is possible to effectively reduction mobile terminal in direction and applies upper power consumption, Jin Erbao
The endurance of mobile terminal is demonstrate,proved.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, for simplicity description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is to a kind of description of direction guidance method and mobile terminal provided by the present invention, for the one of this area above
As technical staff, according to the embodiment of the present invention thought, will change in specific embodiments and applications, it is comprehensive
On, this specification content should not be construed as limiting the invention.
Claims (8)
1. a kind of direction guidance method, it is characterised in that including:
Receive the guide directional information and deviation range value of input;
Guide directional information and deviation range value according to receiving set command direction and deviation range respectively;The deviation model
Enclose the angular range for deviation;
Mobile terminal monitors the key-press event on the mobile terminal in the case where putting out screen state;
If listening to the key-press event that default startup direction is guided, start the direction inductor device built in the mobile terminal,
The signified direction of the mobile terminal is detected by the direction inductor device;If mobile terminal does not monitor default for stopping
During the key-press event that direction is guided, mobile terminal keeps the detection in the direction signified to above-mentioned mobile terminal, until mobile terminal
Detect the above-mentioned key-press event for being used to stop direction guide;
If the deviation in the signified direction of the mobile terminal and default guide direction is in default deviation range, it is defeated
Go out alerting signal;The key-press event monitored on the mobile terminal is:
Monitor the combination trigger event of more than two buttons on the mobile terminal;Combining trigger event includes volume increase
The combination trigger event of key and power key, volume reduces the combination trigger event of key and power key, and volume increase key, volume reduce
The combination trigger event of key and power key, volume increase key and volume reduce the combination trigger event of key.
2. according to the method described in claim 1, it is characterised in that the output alerting signal includes:
Trigger the breath light on the mobile terminal.
3. according to the method described in claim 1, it is characterised in that the output alerting signal includes:
Export voice reminder signal.
4. the method according to any one of claims 1 to 3, it is characterised in that pressing on the monitoring mobile terminal
Key events, including:
If the volume increase key and volume that listen to the mobile terminal reduce the long-press event of key, judgement listens to default
Key-press event.
5. a kind of mobile terminal, it is characterised in that including:
Receiving unit, guide directional information and deviation range value for receiving input;
Setup unit, guide directional information and deviation range value for being received according to the receiving unit set instruction respectively
Direction and deviation range;The deviation range is the angular range of deviation;
Monitoring unit, for putting out under screen state in the mobile terminal, monitors the key-press event on the mobile terminal;
Detection unit, for when the monitoring unit listens to the key-press event that default startup direction is guided, then starting institute
The direction inductor device built in mobile terminal is stated, the signified direction of the mobile terminal is detected by the direction inductor device;If moving
Dynamic terminal do not hear it is default be used for stop direction guide key-press event when, mobile terminal keep to above-mentioned mobile terminal institute
The detection in the direction of finger, until mobile terminal detects the above-mentioned key-press event for being used to stop direction guide;
Output unit, for guiding the deviation in direction with presetting in predetermined deviation scope when the signified direction of the mobile terminal
When interior, alerting signal is exported;
The key-press event monitored on the mobile terminal is:
Monitor the combination trigger event of more than two buttons on the mobile terminal;Combining trigger event includes volume increase
The combination trigger event of key and power key, volume reduces the combination trigger event of key and power key, and volume increase key, volume reduce
The combination trigger event of key and power key, volume increase key and volume reduce the combination trigger event of key.
6. mobile terminal according to claim 5, it is characterised in that the output unit specifically for:When the movement
When the signified direction of terminal guides the deviation in direction with presetting in the range of predetermined deviation, exhaling on the mobile terminal is triggered
Inhale lamp.
7. mobile terminal according to claim 5, it is characterised in that the output unit specifically for:When the movement
When the deviation in the signified direction of terminal and default guide direction is in default deviation range, voice reminder signal is exported.
8. the mobile terminal according to claim any one of 5-7, it is characterised in that the monitoring unit specifically for:When
When the volume increase key and volume for listening to the mobile terminal reduce the long-press event of key, judgement listens to default button thing
Part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510050845.6A CN104567845B (en) | 2015-01-30 | 2015-01-30 | A kind of direction guidance method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510050845.6A CN104567845B (en) | 2015-01-30 | 2015-01-30 | A kind of direction guidance method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104567845A CN104567845A (en) | 2015-04-29 |
CN104567845B true CN104567845B (en) | 2017-09-29 |
Family
ID=53084462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510050845.6A Expired - Fee Related CN104567845B (en) | 2015-01-30 | 2015-01-30 | A kind of direction guidance method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104567845B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242870A (en) * | 2015-10-30 | 2016-01-13 | 小米科技有限责任公司 | False touch method and device of terminal with touch screen |
CN106843916A (en) * | 2015-12-04 | 2017-06-13 | 北京奇虎科技有限公司 | Information recording method and device |
CN105653030A (en) * | 2015-12-28 | 2016-06-08 | 联想(北京)有限公司 | Information processing method and wearable equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2874948Y (en) * | 2006-01-18 | 2007-02-28 | 秦川 | Cell phone with south pointing function |
CN103049209A (en) * | 2012-12-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for starting phone camera in screen extinguishing state of mobile phone |
CN103064605A (en) * | 2012-12-25 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for controlling application software of mobile terminal under screen extinguishing mode |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1778125A (en) * | 2002-12-27 | 2006-05-24 | 诺基亚公司 | Position-based service for mobile communication terminal |
CN102081504A (en) * | 2011-01-26 | 2011-06-01 | 惠州Tcl移动通信有限公司 | Method and device for rapidly launching application programs of mobile phone |
CN102497469A (en) * | 2011-11-25 | 2012-06-13 | 深圳市五巨科技有限公司 | Method and device for operating music player in screen lock state |
JP2013197625A (en) * | 2012-03-15 | 2013-09-30 | Omron Corp | Terminal, display screen drawing direction correction method and program, and computer readable recording medium |
CN103543926A (en) * | 2012-07-17 | 2014-01-29 | 中兴通讯股份有限公司 | Method for entering functional interface under mobile terminal screen blocking state and mobile terminal |
CN103393412B (en) * | 2013-08-15 | 2015-07-29 | 重庆邮电大学 | A kind of care device for old man based on Smart Home |
CN103761119A (en) * | 2013-12-27 | 2014-04-30 | 西安酷派软件科技有限公司 | Method for operating application program in standby mode and communication terminal |
CN104266658B (en) * | 2014-09-15 | 2018-01-02 | 上海酷远物联网科技有限公司 | One kind is based on precise positioning instructor in broadcasting guide system, method and its collecting method |
-
2015
- 2015-01-30 CN CN201510050845.6A patent/CN104567845B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2874948Y (en) * | 2006-01-18 | 2007-02-28 | 秦川 | Cell phone with south pointing function |
CN103064605A (en) * | 2012-12-25 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for controlling application software of mobile terminal under screen extinguishing mode |
CN103049209A (en) * | 2012-12-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for starting phone camera in screen extinguishing state of mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN104567845A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2869391B1 (en) | Electronic apparatus, battery protection method and device | |
CN104796275B (en) | Abnormal state processing method, system and device | |
CN108574775A (en) | Detect the method for the expansion of battery and the electronic equipment using this method | |
CN103957103B (en) | The method of safety verification, device and mobile terminal | |
CN106227437B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106886385A (en) | Method and apparatus for providing the user interface of electronic equipment | |
CN106446841B (en) | A kind of fingerprint template matching order update method and terminal | |
CN106463897B (en) | Device and method for preventing the failure in electronic equipment | |
CN106055300A (en) | Method for controlling sound output and electronic device thereof | |
CN106030455A (en) | Electronic device and power saving method thereof | |
CN105334939B (en) | Terminal power consumption control method and device | |
CN104567845B (en) | A kind of direction guidance method and mobile terminal | |
CN104423822B (en) | Record the method and device of automatic test script | |
CN105635449A (en) | Alarm clock control method and mobile terminal | |
US9660301B2 (en) | Methods and devices for battery protection | |
CN106596394A (en) | Hair detection method, terminal and comb | |
CN105371948B (en) | Detect the method and its electronic device of ultraviolet light | |
WO2017175997A1 (en) | Electronic apparatus and control method therefor | |
CN109871246A (en) | A kind of message display method and terminal device | |
CN106210936A (en) | The method and apparatus of the electronic equipment in control communication system | |
CN107368872A (en) | A kind of method and apparatus for generating bar code image | |
CN107643967A (en) | A kind of automatic speech wakes up test device, system and method | |
CN107193527A (en) | A kind of audio control method, terminal and computer-readable recording medium | |
KR20150057080A (en) | Apparatas and method for changing a input mode according to input method in an electronic device | |
CN106886702A (en) | A kind of unlocked by fingerprint method and relevant 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 523841 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |