Summary of the invention
The purpose of the present invention provides a kind of safety coefficient more primarily directed to drawback present in current existing unlocking manner
It is high, interest is stronger, the unlocking manner and electronic device that are easy to operate, to improve user experience.
To achieve the above object, the technical scheme is that
A kind of unlocking method of electronic device, the electronic device include a Touch Screen, and the unlocking method includes:
The first data and the second data that user is caused on the Touch Screen are obtained,
Wherein, first data are that user clicks the number of setting regions on the Touch Screen and the letter that obtains
Breath, second data are that the setting object that user is controlled on the Touch Screen by gravity sensing enters orientation end and obtains
Information;
When first data and the second data and default unlock data exact matching, unlock operation is executed;
When first data and the second data and default unlock data mismatch, lock state is maintained.
Further, when first data and the second data and default unlock data mismatch, lock state is maintained,
And enters prompting interface or enter initial interface or directly close.
Further, first data include user repeatedly click setting regions on the Touch Screen number and
Secondary first data of the multiple groups of acquisition;Second data are that user is repeatedly controlled on the Touch Screen by gravity sensing
Set secondary second data of multiple groups that object enters orientation end and obtains;Secondary first data and secondary second data are successively alternate
It completes to obtain, until being fully completed.
Further, first data include user repeatedly click setting regions on the Touch Screen number and
Secondary first data of the multiple groups of acquisition;Second data are that user is repeatedly controlled on the Touch Screen by gravity sensing
Set secondary second data of multiple groups that object enters orientation end and obtains;It is more after multiple groups the first data of secondary are sequentially completed acquisition
Secondary second data of group are further continued for being sequentially completed acquisition.
There are secondary first data of multiple groups and secondary second data cases of multiple groups in conjunction with above-mentioned, at this time: first in the first data
The first data are obtained on interface, when user last time leave the setting regions after setting time after, Touch Screen into
Enter the second data interface or the first data interface;Or
First the second data, setting after user's control the setting object enters orientation end are obtained in the second data interface
After fixing time, Touch Screen enters the first data interface or the second data interface.
Specifically, first data interface is equipped with a special icon as setting regions, described in user clicks every time
It can make special icon that dynamic change occur when special icon, so that user's identification is clicked every time, the dynamic change can be jump
It rises and/or falls, expands and/or reduce.
It in one embodiment, is two concentric circles in first data interface, wherein inner circle background is set as outstanding
Color, such as red (red has the effect of enhancing people's visual consciousness), interior bowlder, inner circle expansion restore again to first when the user clicks
Beginning size, so that user's identification is clicked every time.
In a further embodiment, all-purpose card personage is equipped in first data interface, when the user clicks interior bowlder, card
Logical personage, which nods or jumps, to restore to original state, so that user's identification is clicked every time.
Specifically, the centre of second data interface is equipped with a gliding mass, using gliding mass as the center of circle, along its radial direction to four
It is uniformly arranged several accesses week, the end of each access is respective orientation end, it preferably is equipped with hole at the orientation end,
Enter the hole at its orientation end along access by way of sliding or rolling for sliding block.
In one embodiment, it is spin that the centre of the second data interface, which is equipped with gliding mass, is uniformly set around the spin
There are four accesses, is equipped with hole at the orientation end of every access.
In one embodiment, it is spin that the centre of the second data interface, which is equipped with gliding mass, is uniformly set around the spin
There are six accesses, is equipped with hole at the orientation end of every access.
In a further embodiment, the centre of the second data interface is equipped with gliding mass for spin, around the spin uniformly
Equipped with eight accesses, hole is equipped at the orientation end of every access.
In a further embodiment, the centre of the second data interface is equipped with gliding mass for spin, around the spin uniformly
Equipped with ten accesses, hole is equipped at the orientation end of every access.
Further, the corresponding information of first data is digital information;The corresponding information of second data is number
Word information, alphabetical information, text information, i.e., digital number or alpha code corresponding to each orientation end or on Touch Screen
Orientation text.
Further, the number that user clicks can be realized by single-touch or multiple point touching, have no specific restriction, institute
Stating setting regions may also comprise many places.
Further, the method also includes the setting of the default unlock data, the default unlock data include the
One unlock data and the second unlock data:
Before electronic device enters the lock state, Touch Screen is made to be switched to the initial interface of the unlocking manner, point
The first unlock data of setting and the second unlock data not on corresponding interface, until completing all settings.
Specifically, the setting of the first unlock data is that user is completed by clicking the number of setting regions;Second unlock
The setting of data is to control the orientation end that setting object enters by gravity sensing by user to complete.
It can complete multiple groups secondary by continuously setting the first unlock data or the second unlock data and unlock data setting
Operation.
Specifically, by clicking " continuation " button or passing through default time between preceding primary setting and adjacent rear primary setting
Interval do not operate automatically into.
Such as: first being set on the first data setting interface, after user's last time leaves the setting regions
Default time after, Touch Screen enter the second data setting interface or the first data setting interface;Or
First set at the second data setting interface, it is silent after user's control the setting object enters orientation end
After recognizing the time, Touch Screen enters the first data setting interface or the second data setting interface.
Technical solution of the present invention further include:
A kind of electronic device, comprising:
One Touch Screen, for receiving user's touch information and display data;
One gravity sensor, for incuding gravity sensing event;
An at least processor, for handling the data sent from Touch Screen and gravity sensor;
One memory, for storing an at least program, an at least program includes following operational order:
The first data and the second data are obtained according to operation of the user on Touch Screen, wherein first data are
User clicks the number of the setting regions on the Touch Screen and the information that obtains, and second data are that user passes through gravity
Incude and controls the information that the setting object on the Touch Screen enters orientation end and obtains;
When first data and the second data and default unlock data exact matching, unlock operation is executed;
When first data and the second data and default unlock data mismatch, lock state is maintained.
Further, when the electronic device is in the lock state, user first obtains the first number in the first data interface
According to, when user last time leave the setting regions after default time after, Touch Screen enter the second data interface or
First data interface;Or
User first obtains the second data in the second data interface, after user's control the setting object enters orientation end
Default time after, Touch Screen enter the first data interface or the second data interface.
Further, user repeatedly clicks the number of the setting regions on the Touch Screen and obtains multiple groups secondary first
Data;The setting object that user repeatedly controls on the Touch Screen by gravity sensing enters orientation end and obtains multiple groups secondary
Second data;Wherein, successively alternate completion obtains for secondary first data and secondary second data, until being fully completed;Or
After the first data of secondary of multiple groups described in person are sequentially completed acquisition, multiple groups the second data of secondary are further continued for being sequentially completed acquisition.
Further, an at least program further includes the operational order of default unlock data setting, the default unlock
Data include the first unlock data and the second unlock data:
Before electronic device enters the lock state, Touch Screen is made to be switched to the initial interface of the unlocking manner, point
The first unlock data of setting and the second unlock data save first solution until completing all settings not on corresponding interface
Lock data and the second unlock data.
Specifically, the setting of the first unlock data is that user is completed by clicking the number of setting regions;Second unlock
The setting of data is to control the orientation end that setting object enters by gravity sensing by user to complete.
It can complete multiple groups secondary by continuously setting the first unlock data or the second unlock data and unlock data setting
Operation.
Specifically, by clicking " continuation " button or passing through default time between preceding primary setting and adjacent rear primary setting
Interval do not operate automatically into.
Such as: first being set on the first data setting interface, after user's last time leaves the setting regions
Default time after, Touch Screen enter the second data setting interface or the first data setting interface;Or
First set at the second data setting interface, it is silent after user's control the setting object enters orientation end
After recognizing the time, Touch Screen enters the first data setting interface or the second data setting interface.
Compared with prior art, the present invention by the number of clicks mode for identifying single-point or multiple point touching and combines gravity sensing
The mode that device slid into or rolled into corresponding direction hole combines, and realizes the unlocking manner for touching number in conjunction with gravity sensing.
This mode combines click password and the randomness of gravity sensing two ways not carrying out brokenly by the scratch of screen
Solution, safety coefficient is further improved, and increases the interest of unlock.
Specifically, technical solution of the present invention include it is following the utility model has the advantages that
(1) safety coefficient greatly promotes, and avoids through screen scratch or permutation and combination the risk cracked;
(2) on the basis of having taken into account practicability, safety, interest and aesthetics are increased, so that user be allowed to be easier to
Receive;
(3) traditional number and character are excessively uninteresting, and this unlocking manner is more closely similar to game, and mode is novel;
(4) combination level does not set the upper limit, and level is deeper, and safety is higher, carries out flexibility as needed convenient for user and sets
Meter.
Specific embodiment
Illustrate embodiments of the present invention below by way of particular specific embodiment, those skilled in the art can be by this explanation
Content disclosed by book understands further advantage and effect of the invention easily.The present invention can also be by addition different specific
Embodiment is embodied or practiced, and the various details in this specification can also not carried on the back based on different viewpoints and application
From carrying out various modifications or alterations under spirit of the invention.
In one embodiment, a kind of unlocking method of electronic device, the electronic device include a Touch Screen, reference
Flow diagram shown in Fig. 1, the unlocking method include:
(1) electronic device is in the lock state, and user lights Touch Screen S1, into the first data interface S2;
(2) user clicks the setting regions S3 in the first data interface, leaves 2 after the setting regions for the last time
S4 after second, Touch Screen is automatically into the second data interface S5;
(3) user controls the setting object in the second data interface into the hole at corresponding orientation end using gravity sensing
Mouth S6, after setting 2 seconds after object enters hole, Touch Screen is again automatically into the first data interface;
(4) such circulate operation obtains the first data and the second data S8 until user clicks " confirmation " button;
(5) during, if user's input error, the " Cancel " button can be hit in any interface point and return to initial interface S7;
(6) judge whether first data and the second data match S9 with default unlock data, if exact matching, holds
Row unlock operation S10;If mismatching, lock state is maintained.
Preferably, while maintaining lock state, prompting interface S11 can be entered or Touch Screen is closed or reentered
Initial interface.
In one embodiment, a kind of unlocking method of electronic device, the electronic device include a Touch Screen, reference
Flow diagram shown in Figure 2, the unlocking method include:
(1) electronic device is in the lock state, and user lights Touch Screen S1', into the second data interface S2';
(2) user controls the setting object in the second data interface into the hole at corresponding orientation end using gravity sensing
Mouth S3' sets S4' behind 2 seconds after object enters hole, and Touch Screen is again automatically into the first data interface S5';
(3) user clicks the setting regions S6' in the first data interface, after leaving the setting regions for the last time
After 2 seconds, Touch Screen is automatically into the second data interface;
(4) such circulate operation obtains the first data and the second data S8' until user clicks " confirmation " button;
(5) during, if user's input error, the " Cancel " button can be hit in any interface point and return to initial interface S7';
(6) judge whether first data and the second data match S9' with default unlock data, if exact matching,
Execute unlock operation S10';If mismatching, lock state S11' is maintained.
Preferably, while maintaining lock state, prompting interface can be entered or Touch Screen is closed or reentered just
Beginning interface.
In one embodiment, the method also includes the setting of default unlock data, the default unlock data include
First unlock data and the second unlock data, as shown in figure 3, specifically including:
(1) before electronic device enters the lock state, user selects such unlocking manner to enter Touch Screen just
Beginning interface S121;
(2) the first data setting in selection interface, into the first data setting interface S122, user sets in the first data
Number of clicks S123 is arranged in setting regions on demarcation face, leaves S124 behind 2 seconds after the setting regions, touching for the last time
Screen is controlled automatically into the second data setting interface S125;
(3) the hole S126 at the orientation end that setting object enters, setting pair is arranged at the second data setting interface in user
Behind 2 seconds after entrance hole, Touch Screen is again automatically into the first data setting interface;
(4) such circulate operation then presets unlock data and is arranged successfully and saves until user clicks " confirmation " button
S128;
(5) during, if user's input error, the " Cancel " button can be hit in any interface point and return to initial interface S127.
Preferably, the initial interface is directly the first data setting interface, without being selected.
In one embodiment, the method also includes the setting of default unlock data, the default unlock data include
First unlock data and the second unlock data, as shown in figure 4, specifically including:
(1) before electronic device enters the lock state, user selects such unlocking manner to enter Touch Screen just
Beginning interface S121';
(2) the second data setting in selection interface, into the second data setting interface S122', user is in the second data
The hole S123' at the orientation end that interface setting setting object enters is set, after setting 2 seconds after object enters hole
S124', Touch Screen is again automatically into the first data setting interface S125';
(3) number of clicks S126' is arranged in setting regions of the user on the first data setting interface, leaves institute for the last time
After stating 2 seconds after setting regions, Touch Screen is automatically into the second data setting interface;
(4) such circulate operation then presets unlock data and is arranged successfully and saves until user clicks " confirmation " button
S18';
(5) during, if user's input error, the " Cancel " button can be hit in any interface point and return to initial interface S127'.
Preferably, the initial interface is directly the second data setting interface, without being selected.
In one embodiment, as shown in figure 5, being the schematic diagram of the first data interface, it is in first data interface
Two concentric circles, wherein for inner circle as setting regions, background is set as color outstanding, and such as red (red has enhancing people's view
Feel the effect of consciousness), interior bowlder, restores to initial size again as shown in fig. 6, inner circle expands when the user clicks, so that user knows
It does not click not every time.
In another embodiment, all-purpose card personage can be equipped in first data interface, it is interior when the user clicks
Bowlder, cartoon figure, which nods or jumps, to restore to original state, so that user's identification is clicked every time.
In one embodiment, as shown in fig. 7, being the schematic diagram of the second data interface, in second data interface
Between be equipped with spin and using spin as the center of circle be uniformly arranged 8 accesses around along its radial direction, the end of each access is
Respective orientation end is equipped with hole at the orientation end, is entered at its orientation end by way of rolling along access for spin
Hole.After user triggers spin, spin is controlled by gravity sensing and enters specific hole, shown in figure Fig. 8, into surface
Hole.
In another embodiment, the centre of the second data interface is equipped with spin, is uniformly provided with around the spin
Four accesses are equipped with eight accesses or are equipped with ten accesses, are equipped with hole at the orientation end of every access.Its specifically access
Quantity is determined according to screen size by system.
In a specific embodiment, a kind of unlocking method of electronic device, the electronic device include a Touch Screen,
The unlocking method includes:
(1) user clicks the border circular areas in the first data interface, and border circular areas allows use in a manner of expanding and restore again
Family identification is clicked each time;
(2) user's touch manner only needs a click link, and system identification user starts to calculate every two after clicking for the first time
Time between secondary click, the time between clicking twice is more than a certain range, such as 2 seconds, then enters the second data interface;
(3) second data interfaces (pop-up gravity sensing interface) can just respond gravity sensor after occurring, and otherwise not ring
It answers;
(4) user's control spin enters eight different position of orientation, and each position of orientation respectively corresponds different holes
Value come record password (the hole value can for number, text or letter etc.);
(5) it is operated in the first data interface and the second data interface according to user, obtains corresponding first data and the
Two data;
(6) by first data and the second data and default unlock data comparison, if exact matching, unlock behaviour is executed
Make, if mismatching, maintains lock state.
Specifically, the spin is rolled according to the inclination in mobile phone gravity sensing direction.
In a specific embodiment, a kind of unlocking method of electronic device, the electronic device include a Touch Screen,
The unlocking method includes:
(1) first data interface is two circles, and an intermediate border circular areas background takes on a red color, for being used as setting regions
(as shown in Figure 5);
(2) user is every clicks once, and intermediate border circular areas expands once to be restored again, and record number of clicks is as the first number
According to (as shown in Figure 6);
(3) it clicks start recording number for the first time from user, was not clicked more than 2 seconds (between the every click twice of system judgement
Interval is greater than 2000ms) then enter the second data interface (gravity sensing interface), intermediate border circular areas middle weighs at this time
Power incudes spin, and occurs eight directions around it, respectively leads to a hole (such as Fig. 7);
(4) the gravity sensing spin of intermediate border circular areas can be tilted according to the gravity sensing direction of mobile phone and be rolled, when with
When family touches and clicks border circular areas, gravity sensing spin and the hole in eight directions are not in;It is clicked when user discharges
When more than 2 seconds, it just will appear gravity sensing interface at this time, gravity sensing spin is rolled into correspondence according to preset hole value by user
Hole, and terminal with a long underswing be prompt, realize second layer password simultaneously keep a record (as shown in figure 8, rolling into hole
For direct north);
(5) Touch Screen still returns to interface identical with Fig. 5 at this time, and continues to repeat step 2 ~ 4, continues to record third
Layer, the 4th layer ... n-th layer password simultaneously keep a record;
(6) repeat operation until user input finish, click ACK button, system judge all data whether with
Default unlock data set by user are consistent, and completely the same, final realize successfully unlocks.
Accordingly, preset unlock data setting include:
(1) user needs to enter setting menu/safety/unlocking manner, selects this unlocking manner;
(2) enter initial interface, interface is two circles, and an intermediate border circular areas background takes on a red color;
(3) user sets first layer password according to the number for oneself clicking border circular areas;
(4) after user leaves touch area 2 seconds after the completion of setting, then enter gravity sensing interface;
(5) user is rolled into spin in corresponding hole using gravity sensing, and system records openings position and as second
Layer password record;
(6) when setting mistake, user can return to initial setting interface by the " Cancel " button
(7) after the completion of setting, user clicks " confirmation " button and completes setting process.
In the above-described embodiments, by single-touch (multiple point touching) and number of clicks, in conjunction with gravity sensing ball device
The mode at corresponding direction hole is rolled into, realizes the combination for touching number and gravity sensing, and the mode with randomness is realized
Unlock;Based on the safe menu in general setting menu, only on unlocking manner it need to increase a kind of new mode more;With
Family is arranged and can accomplish simply to go up hand, can also accomplish complexity and diversity, combination level is deeper, and safety is higher.
This unlocking manner, which is intended to realize, first determines number of clicks, then controls direction by gravity sensing ball, is then repeated as many times
Hybrid mode, and number of clicks and direction are combined, cooperate gravity sensing and vibrating function, realizes not only interesting but also guarantee peace
Full unlocking manner.
In one embodiment, the acquisition of above-mentioned first data can be obtained by way of single-touch, certainly, can also
It is obtained in a manner of through multiple point touching.It is limited again there is no specific.
In one embodiment, a kind of electronic device, comprising:
One Touch Screen, for receiving user's touch information and display data;
One gravity sensor, for incuding gravity sensing event;
An at least processor, for handling the data sent from Touch Screen and gravity sensor;
One memory, for storing an at least program, an at least program includes following operational order:
The first data and the second data are obtained according to operation of the user on Touch Screen, wherein first data are
User clicks the number of the setting regions on the Touch Screen and the information that obtains, and second data are that user passes through gravity
Incude and controls the information that the setting object on the Touch Screen enters orientation end and obtains;
When first data and the second data and default unlock data exact matching, unlock operation is executed;
When first data and the second data and default unlock data mismatch, lock state is maintained.
In one embodiment, the electronic device includes the setting of above-mentioned unlocking manner, can by selecting unlocking manner
To use unlocking manner described above.
Specific embodiments of the present invention are described in detail above, but it is merely an example, the present invention is simultaneously unlimited
It is formed on particular embodiments described above.To those skilled in the art, any couple of present invention carries out equivalent modifications and
Substitution is also all among scope of the invention.Therefore, without departing from the spirit and scope of the invention made by equal transformation and
Modification, all should be contained within the scope of the invention.