Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide the control method of a kind of electronic equipment and application thereof, for solving in prior art the problem that the existing configuration of electronic equipment can not be utilized to be user-friendly to.
For achieving the above object and other relevant objects, the invention provides a kind of control method of electronic device, described electronic equipment has gravity sensor and at least one button, comprise the following steps: pre-set and the application function corresponding to the operation of described electronic equipment, wherein, the described operation to described electronic equipment comprises the pressing operation rocking operation and/or the button to described electronic equipment to described electronic equipment; According to the operation to described electronic equipment detected, perform corresponding function.
In a specific embodiment of the present invention, the corresponding function of described execution at least comprise following in one or more: 1) described electronic equipment is unlocked; 2) open described electronic equipment to apply accordingly and carry out; 3) described electronic equipment is made to shut down or start.
In a specific embodiment of the present invention, described button is arranged at the side of described electronic equipment.
In a specific embodiment of the present invention, described button is physical button or touch key-press.
In a specific embodiment of the present invention, described button comprises volume increases key and volume minimizing key.
For achieving the above object and other relevant objects, the present invention also provides a kind of electronic equipment, comprise gravity sensor and at least one button, comprise: module is set, for pre-setting and the application function corresponding to the operation of described electronic equipment, wherein, the described operation to described electronic equipment comprises the pressing operation rocking operation and/or the button to described electronic equipment to described electronic equipment; Execution module, for according to the operation to described electronic equipment detected, performs corresponding function.
In a specific embodiment of the present invention, the corresponding function of described execution at least comprise following in one or more: 1) described electronic equipment is unlocked; 2) open described electronic equipment to apply accordingly and carry out; 3) described electronic equipment is made to shut down or start.
In a specific embodiment of the present invention, described button is arranged at the side of described electronic equipment.
In a specific embodiment of the present invention, described button is physical button or touch key-press.
In a specific embodiment of the present invention, described button comprises volume increases key and volume minimizing key.
As mentioned above, the control method of electronic equipment of the present invention and application thereof, the gravity sensor utilizing existing electronic equipment to carry and at least one button, according to the shaking motion of electronic equipment and the push action of button, realize the function preset, such as unlock, open corresponding application program or switching on and shutting down etc., user-friendly.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The present invention utilizes the existing configuration of electronic equipment, realizes intelligent unlocking or opens the functions such as corresponding application software, and described electronic equipment is such as smart mobile phone, panel computer, notebook computer etc. have the portable electric appts of screen.In the present embodiment, temporarily for described electronic equipment for smart mobile phone is described.Described smart mobile phone is such as installing Android operation system or iOS operating system, or the smart mobile phone of the operating system such as PalmOS, Symbian (Saipan) or BlackBerry (blackberry, blueberry) OS, WindowsPhone.Control method of electronic device of the present invention comprises and pre-setting and the application function corresponding to the operation of described electronic equipment, wherein, the described operation to described electronic equipment comprises the pressing operation rocking operation and/or the button to described electronic equipment to described electronic equipment; According to the operation to described electronic equipment detected, perform corresponding function.
Concrete, refer to Fig. 1, be shown as a kind of control method of electronic device of the present invention schematic flow sheet in one embodiment, described electronic equipment has gravity sensor and at least one button, comprises the following steps:
S11: pre-set and the application function corresponding to the operation of described electronic equipment, wherein, the described operation to described electronic equipment comprises the pressing operation rocking operation and/or the button to described electronic equipment to described electronic equipment; That is, what utilize gravity sensor to respond to described electronic equipment rocks operation, and utilizes the key induced push action to button, and described button is such as physical button or touch key-press.
S12: according to the operation to described electronic equipment detected, perform corresponding function.And, the corresponding function of described execution at least comprise following in one or more: 1) described electronic equipment is unlocked; 2) open described electronic equipment to apply accordingly and carry out; 3) described electronic equipment is made to shut down or start.
In a specific embodiment of the present invention, described button is arranged at the side of described electronic equipment, and described button comprises volume increases key and volume minimizing key.If setting volume reduces key-and volume increases key+press an event to be designated as A and B respectively, long volume of pressing reduces key-and volume and increases key+event of not putting and be designated as X and Y respectively, the times N (can be 1,2,3) that gravity sensor gsensor shakes.Can form a lot of composition of matter thus, can be ANA, AB, XN, XNA, YAN, ANB, NA etc.Be exemplified below:
1, customer incident is " Y2 ", specifies this event for waking mobile phone screen up.
2, customer incident is " X2 ", specifies this event for waking mobile phone screen up and unlocking, and because user's volume key when handheld mobile phone is blocked by palm, shakes mobile phone and unlock and can not be seen by other people during operation volume key, disguised strong, has high security;
3, customer incident is " X1A ", specifies this event to dial the telephone number of father.
4, customer incident is " X2A ", specifies this event to dial the telephone number of mother.
5, customer incident is " X3A ", specifies this event to dial the telephone number of wife.
6, customer incident is " 1B ", specifies this event to play next music.
7, customer incident is " 2B ", specifies this event to play upper a piece of music.
8, customer incident is " 1AB ", specifies this event to open and unlocks Alipay program.
Described electronic equipment uses button+gravity sensor shake number of times to be combined into event, and user can complete the operation set when can't see screen, be inconvenient to check that mobile phone screen or emergency condition fast complete dial designated telephone etc. some users.
Refer to Fig. 2, be shown as electronic equipment of the present invention module diagram in one embodiment.Described electronic equipment 1 comprises gravity sensor and at least one button, and described electronic equipment 1 comprises:
Arrange module 11 for pre-setting and the application function corresponding to the operation of described electronic equipment, wherein, the described operation to described electronic equipment comprises the pressing operation rocking operation and/or the button to described electronic equipment to described electronic equipment; That is, what utilize gravity sensor to respond to described electronic equipment rocks operation, and utilizes the key induced push action to button, and described button is such as physical button or touch key-press.And
Execution module 12, for according to the operation to described electronic equipment detected, performs corresponding function.The corresponding function of described execution such as comprise following in one or more: 1) described electronic equipment is unlocked; 2) open described electronic equipment to apply accordingly and carry out; 3) described electronic equipment is made to shut down or start.
In a specific embodiment of the present invention, such as, consult the structural representation of the electronic equipment 1 of Fig. 3, described button I is arranged at the side of described electronic equipment 1, and described button I comprises volume increases key and volume minimizing key.If setting volume reduces key-and volume increases key+press an event to be designated as A and B respectively, long volume of pressing reduces key-and volume and increases key+event of not putting and be designated as X and Y respectively, the times N (can be 1,2,3) that gravity sensor gsensor shakes.Can form a lot of composition of matter thus, can be ANA, AB, XN, XNA, YAN, ANB, NA etc.Be exemplified below:
1, customer incident is " Y2 ", specifies this event for waking mobile phone screen up.
2, customer incident is " X2 ", specifies this event for waking mobile phone screen up and unlocking, and because user's volume key when handheld mobile phone is blocked by palm, shakes mobile phone and unlock and can not be seen by other people during operation volume key, disguised strong, has high security;
3, customer incident is " X1A ", specifies this event to dial the telephone number of father.
4, customer incident is " X2A ", specifies this event to dial the telephone number of mother.
5, customer incident is " X3A ", specifies this event to dial the telephone number of wife.
6, customer incident is " 1B ", specifies this event to play next music.
7, customer incident is " 2B ", specifies this event to play upper a piece of music.
8, customer incident is " 1AB ", specifies this event to open and unlocks Alipay program.
Described electronic equipment 1 uses button+gravity sensor shake number of times to be combined into event, and user can complete the operation set when can't see screen, be inconvenient to check that mobile phone screen or emergency condition fast complete dial designated telephone etc. some users.
In sum, the control method of electronic equipment of the present invention and application thereof, the gravity sensor utilizing existing electronic equipment to carry and at least one button, according to the shaking motion of electronic equipment and the push action of button, realize the function preset, such as unlock, open corresponding application program or switching on and shutting down etc., dirigibility and the disguise of operation are high, and user does not need to check screen, handled easily.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.