Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of electronic equipment and its applications
Control method cannot utilize the existing configuration of electronic equipment user-friendly in the prior art for solving the problems, such as.
In order to achieve the above objects and other related objects, the present invention provides a kind of electronic equipment control method, the electronics
Equipment has gravity sensor and at least one button, includes the following steps:It pre-sets and the operation to the electronic equipment
Corresponding application function, wherein the operation to the electronic equipment include the shaking to the electronic equipment operation and/
Or the pressing operation of the button to the electronic equipment;According to the operation to the electronic equipment of detection, corresponding work(is executed
Energy.
In the specific embodiment of the present invention, it is described execute corresponding function include at least it is following in one kind or more
Kind:1) electronic equipment is unlocked;2) opening the electronic equipment, application carries out accordingly;3) electronic equipment is enabled
Shutdown or booting.
In the specific embodiment of the present invention, the button is set to the side of the electronic equipment.
In the specific embodiment of the present invention, the button is physical button or touch key-press.
In the specific embodiment of the present invention, the button includes volume increasing key and volume reducing key.
In order to achieve the above objects and other related objects, the present invention also provides a kind of electronic equipment, including gravity sensor
And at least one button, including:Setup module, for pre-setting application corresponding with the operation to the electronic equipment
Function, wherein the operation to the electronic equipment includes that the shaking to the electronic equipment operates and/or to the electronics
The pressing operation of the button of equipment;Execution module executes corresponding work(for the operation to the electronic equipment according to detection
Energy.
In the specific embodiment of the present invention, it is described execute corresponding function include at least it is following in one kind or more
Kind:1) electronic equipment is unlocked;2) opening the electronic equipment, application carries out accordingly;3) electronic equipment is enabled
Shutdown or booting.
In the specific embodiment of the present invention, the button is set to the side of the electronic equipment.
In the specific embodiment of the present invention, the button is physical button or touch key-press.
In the specific embodiment of the present invention, the button includes volume increasing key and volume reducing key.
As described above, the electronic equipment of the present invention and its control method of application, the weight carried using existing electronic equipment
Power inductor and at least one button, according to the push action of shaking motion and button to electronic equipment, realization is preset
Function, such as unlock, open corresponding application program or switching on and shutting down etc., it is user-friendly.
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way
Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in illustrating then
Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
The present invention utilizes the existing configuration of electronic equipment, realizes intelligent unlocking or opens the work(such as corresponding application software
Can, the electronic equipment is, for example, the portable electronic device that smart mobile phone, tablet computer, laptop etc. have screen.
In the present embodiment, it is temporarily illustrated so that the electronic equipment is smart mobile phone as an example.The smart mobile phone is, for example, to install
Either iOS operating systems or Palm OS, Symbian (Saipan) or Black Berry are (black for Android operation system
The certain kind of berries) operating systems such as OS, Windows Phone smart mobile phone.The control method of electronic device of the present invention includes pre-setting
Application function corresponding with the operation to the electronic equipment, wherein the operation to the electronic equipment includes to institute
State shaking operation and/or the pressing operation of the button to the electronic equipment of electronic equipment;According to detection to the electronics
The operation of equipment executes corresponding function.
Specifically, referring to Fig. 1, being shown as a kind of electronic equipment control method of the present invention in one embodiment
Flow diagram, the electronic equipment have gravity sensor and at least one button, include the following steps:
S11:Pre-set application function corresponding with the operation to the electronic equipment, wherein described to the electricity
The operation of sub- equipment includes the pressing operation of the shaking operation to the electronic equipment and/or the button to the electronic equipment;
That is, the shaking for being incuded the electronic equipment using gravity sensor is operated, and utilize the key induced push action to button, institute
It is, for example, physical button or touch key-press to state button.
S12:According to the operation to the electronic equipment of detection, corresponding function is executed.And the corresponding work(of execution
Can include at least it is following in it is one or more:1) electronic equipment is unlocked;2) it is corresponding to open the electronic equipment
Application carry out;3) electronic equipment is enabled to shut down or be switched on.
In the specific embodiment of the present invention, the button is set to the side of the electronic equipment, the button packet
Include volume increasing key and volume reducing key.If setting volume reducing key-and volume increasing key+is pressed an event and is remembered respectively
For A and B, long-press volume reducing key-and volume increasing key+does not put event and is denoted as X and Y respectively, and gravity sensor gsensor shakes
Times N (can be 1,2,3).Can be ANA, AB, XN, XNA, YAN, ANB it is possible thereby to form many composition of matter,
NA etc..It is exemplified below:
1, customer incident is " Y 2 ", and it is to wake up mobile phone screen to specify this event.
2, customer incident is " X 2 ", and it is to wake up mobile phone screen and unlock to specify this event, since user is in hand-held mobile phone
When volume key blocked by palm, operate volume key when shake mobile phone unlock will not be seen by other people, concealment is strong, have it is high
Safety;
3, customer incident is " X 1A ", this event of specifying dials the telephone number of father.
4, customer incident is " X 2A ", this event of specifying dials the telephone number of mother.
5, customer incident is " X 3A ", this event of specifying dials the telephone number of wife.
6, customer incident is " 1B ", this event is specified to play next song.
7, customer incident is " 2B ", this event is specified to play upper a piece of music.
8, customer incident is " 1A B ", this event of specifying is opened and unlocks Alipay program.
The electronic equipment shakes number using button+gravity sensor and is combined into event, and user can can't see screen
The operation set is completed when curtain, is inconvenient to check that mobile phone screen or emergency are fast completed to dial in some users
Designated telephone etc..
Referring to Fig. 2, being shown as the module diagram of the electronic equipment of the present invention in one embodiment.The electronics
Equipment 1 includes gravity sensor and at least one button, and, the electronic equipment 1 includes:
Setup module 11 is for pre-setting application function corresponding with the operation to the electronic equipment, wherein institute
It includes shaking operation and/or to the button of the electronic equipment to the electronic equipment to state to the operation of the electronic equipment
Pressing operation;That is, the shaking for being incuded the electronic equipment using gravity sensor is operated, and button is pressed using key induced
Work is pressed, the button is, for example, physical button or touch key-press.And
Execution module 12 is used for the operation to the electronic equipment according to detection, executes corresponding function.The execution
Corresponding function is for example including one or more in following:1) electronic equipment is unlocked;2) electronics is opened
Application carries out equipment accordingly;3) electronic equipment is enabled to shut down or be switched on.
The structural schematic diagram of electronic equipment 1 in the specific embodiment of the present invention, such as refering to Fig. 3, the button I
It is set to the side of the electronic equipment 1, the button I includes volume increasing key and volume reducing key.If setting volume
Reducing key-and volume increasing key+press an event are denoted as A and B respectively, and long-press volume reducing key-and volume increasing key+is not put
Event is denoted as X and Y, the times N (can be 1,2,3) that gravity sensor gsensor shakes respectively.It is possible thereby to form very much
Composition of matter can be ANA, AB, XN, XNA, YAN, ANB, NA etc..It is exemplified below:
1, customer incident is " Y 2 ", and it is to wake up mobile phone screen to specify this event.
2, customer incident is " X 2 ", and it is to wake up mobile phone screen and unlock to specify this event, since user is in hand-held mobile phone
When volume key blocked by palm, operate volume key when shake mobile phone unlock will not be seen by other people, concealment is strong, have it is high
Safety;
3, customer incident is " X 1A ", this event of specifying dials the telephone number of father.
4, customer incident is " X 2A ", this event of specifying dials the telephone number of mother.
5, customer incident is " X 3A ", this event of specifying dials the telephone number of wife.
6, customer incident is " 1B ", this event is specified to play next song.
7, customer incident is " 2B ", this event is specified to play upper a piece of music.
8, customer incident is " 1A B ", this event of specifying is opened and unlocks Alipay program.
The electronic equipment 1 shakes number using button+gravity sensor and is combined into event, and user can can't see screen
The operation set is completed when curtain, is inconvenient to check that mobile phone screen or emergency are fast completed to dial in some users
Designated telephone etc..
In conclusion the electronic equipment of the present invention and its control method of application, the weight carried using existing electronic equipment
Power inductor and at least one button, according to the push action of shaking motion and button to electronic equipment, realization is preset
Function, such as unlock, open corresponding application program or switching on and shutting down etc., the flexibility of operation and concealment are high, and user is not
It needs to check screen, be conveniently operated.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial profit
With value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should by the present invention claim be covered.