A kind of implicit unlocking method and system
Technical field
The present invention relates to a kind of unlocking method and system more particularly to a kind of implicit unlocking method and systems.
Background technique
With the development of science and technology, electronics technology product is gradually intelligent.The use scope of intelligent mobile terminal throughout
The whole world.Intelligent mobile terminal refers to as PC, has independent operating system, independent running space, can be with
Voluntarily installed by user the third party service providers such as software, game, navigation offer program, and can by mobile communication network come
Realize the general name of wireless network access mobile terminal style.As the function of intelligent mobile terminal is more and more abundant, people's operation
The time of intelligent mobile terminal and number are also more and more, to prevent from being misused in the dormant state, effective protection system
Data safety, intelligent mobile terminal can enter the state of screen locking, can just be operated after unlock.Wherein, unlock refers to releasing
The operation of mobile communication equipment locks.Dormant state refers to that intelligent mobile terminal screen keeps blank screen, in addition to unblock button, to intelligence
Energy mobile terminal is any to operate the state for belonging to invalid operation.It, can also be the case where not closing software using screen locking function
Lower saving electricity.
Existing unlocking manner be mostly input password or other users setting unlocking manner be unlocked, unlock path
Single and outer aobvious, simple unlocking manner is easy to crack by way of trial, complicated inconvenient memory, inconvenient to use.Solution
Path is locked as it can be seen that the unlocking pattern is easy to leak, and does not have the second way to enter system in the case where forgetting screen locking pattern.
The patent of Publication No. CN105468959A provides a kind of sliding unlocking method comprising: receive the solution of user
Lock request;According to the unlocking request of user, unlock interface is slided in the predeterminated position display of the screen of terminal, wherein the sliding solution
Locking interface includes the unlocking pattern;Unlock trace information is received, wherein unlock trace information is according to user in sliding unlock interface
Slide formed;And according to unlock trace information, operation is unlocked to terminal.This method utilizes slide solution
Lock, pattern are shown on intelligent mobile terminal screen outside, are easy the unlocking pattern that leaks, threat data safety.
The patent of Publication No. CN102968262A provides a kind of password unlocking method, which comprises in screen
Upper display screen unlock interface, unlocking screen interface include password release region and shortcut release region;It is logical to receive user
The unlock figure of the unlocking screen interface input is crossed, the unlock figure includes by the close of password release region input
Code unlock figure and the shortcut unlock figure inputted by the shortcut release region;Determine user's input
Whether password unlocks figure consistent with preset password unlock figure;If the password unlock figure of user input with
Preset password unlock figure is consistent, carries out unlocking screen to enter the corresponding function of the shortcut unlock figure
Interface.The invention is unlocked by input password, and simple password is easy to unlock by way of trial, threatens intelligent mobile
The data safety of terminal, complicated password inconvenience memory, does not have the second way to enter system in the case where forgeing password.
Summary of the invention
The technical problem to be solved in the present invention is designed to provide a kind of implicit unlocking method and system, existing to solve
Intelligent mobile terminal unlocking manner easily crack easily the problem of leaking.
To achieve the goals above, the technical solution adopted by the present invention are as follows:
A kind of implicit unlocking method, comprising steps of
Obtain the touch control operation of target user;
Judge whether the touch control operation of the target user is consistent with preset touch control operation, if unanimously, being determined as effectively
Touch-control, intelligent mobile terminal empty screen;Otherwise, it is determined that being invalid touch-control;
Obtain the unlocking pattern track that the target user draws on the intelligent mobile terminal screen emptied;
Whether the unlocking pattern track for judging that the target user draws is consistent with preset the unlocking pattern track, if one
It causes, then unlocks success;Otherwise, unlock failure.
Further, the touch control operation for judging target user whether the step consistent with preset touch control operation, tool
Body includes:
If the touch-control number of the target user obtained is consistent with preset touch-control number, and when the touch-control interval of target user
Between within the scope of the preset time difference of the touch-control interval time of setting, then be determined as effective touch-control;If wherein having a condition not
Meet, is then determined as invalid touch-control.
Further, the touch control operation for judging target user whether the step consistent with preset touch control operation, tool
Body further include:
If the touch point of the target user obtained is consistent with preset touch point, and the touch-control compressing time of target user is big
In preset touch-control compressing time, then it is determined as effective touch-control;If wherein there is a condition to be unsatisfactory for, it is judged to touching in vain
Control.
Further, if the unlocking pattern track and the preset the unlocking pattern track that the target user draws are different
It causes number to reach preset the first value of errors number, then shows password window;
If the password of user's input is consistent with preset password, reconfigurable the unlocking pattern;If user's input is close
Code reaches preset errors number second value with the inconsistent number of preset password, then intelligent mobile terminal screen keeps preset duration
Lock state.
Further, if the unlocking pattern track and the preset the unlocking pattern track that the target user draws are different
Number is caused to reach preset errors number second value, intelligent mobile terminal screen keeps the lock state of preset duration.
A kind of implicit system for unlocking, the system comprises:
Touch-control module, for obtaining the touch control operation of target user;
Clear screen module, for emptying intelligent mobile terminal screen, judge the target user touch control operation whether in advance
If touch control operation it is consistent, if unanimously, being determined as that effective touch-control, intelligent mobile terminal empty screen;Otherwise, it is determined that for invalid touching
Control;
Unlocked state, the unlocking pattern drawn on the intelligent mobile terminal screen emptied for obtaining the target user
Track;
Judgment module, for judge the unlocking pattern track that the target user draws whether with default the unlocking pattern track
Unanimously, if unanimously, unlocking success;Otherwise, unlock failure.
Further, clear screen module be specifically used for comparing the touch-control number of the target user and preset touch-control number or
The touch-control interval time and preset interval time of the target user;
If the touch-control number of the target user of the acquisition is consistent with the preset touch-control number, and the target user
Touch-control interval time within the oak society time difference of the touch-control interval time of the setting, then be determined as effective touch-control;If
Wherein there is a condition to be unsatisfactory for, is then determined as invalid touch-control.
Further, clear screen module is specifically also used to compare touch point and preset touch point or the institute of the target user
State the touch-control compressing time and preset touch-control compressing time of target user;
If the touch point of the target user of the acquisition is consistent with the preset touch point, and the touching of the target user
It controls compressing time and is greater than the preset touch-control compressing time, be then determined as effective touch-control;If wherein there is a condition to be unsatisfactory for,
Then it is determined as invalid touch-control.
Further, control module further includes password control, for resetting unlock figure by way of inputting password
Case;
If the unlocking pattern track that the target user draws is reached with the preset inconsistent number in the unlocking pattern track
To preset the first value of errors number, then input password window is shown;
If the password of user's input is consistent with preset password, reconfigurable the unlocking pattern;If user's input is close
Code reaches preset errors number second value with the inconsistent number of preset password, then intelligent mobile terminal screen keeps preset duration
Lock state.
Further, control module further includes lock controls, for locking intelligent mobile terminal;
If the unlocking pattern track that the target user draws is reached with the preset inconsistent number in the unlocking pattern track
To preset errors number second value, intelligent mobile terminal screen keeps the lock state of preset duration.
The present invention is compared with the traditional technology, and is had the following advantages:
1. unlocking manner of the invention be it is implicit, will not leave a trace on intelligent mobile terminal screen, unlock operation
It is not easy to leak.
2. unlocking manner of the invention is judged using multistep, only when each step all meets condition, it could successfully unlock, mention
High security has preferably ensured the data safety of intelligent mobile terminal.
Detailed description of the invention
Fig. 1 is a kind of flow chart for implicit unlocking method that embodiment one provides;
Fig. 2 is a kind of flow chart for implicit unlocking method that embodiment two provides;
Fig. 3 is a kind of flow chart for implicit unlocking method that embodiment three provides;
Fig. 4 is a kind of structure chart of implicit system for unlocking provided in an embodiment of the present invention.
Specific embodiment
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
Embodiment one
A kind of implicit unlocking method is present embodiments provided, as shown in Figure 1, its step includes:
S11: the touch control operation of target user is obtained;
S12: judging whether the touch control operation of target user is consistent with preset touch control operation, if unanimously, being determined as effectively
Touch-control, intelligent mobile terminal empty screen;Otherwise it is determined as invalid touch-control;
S13: the unlocking pattern track that target user draws on the intelligent mobile terminal screen emptied is obtained;
S14: whether the unlocking pattern track for judging that target user draws is consistent with preset the unlocking pattern track, if one
It causes, then unlocks success;Otherwise, unlock failure prompts target user to repaint the unlocking pattern;
S15: after obtaining the unlocking pattern that target user repaints, the unlocking pattern for judging that target user repaints is
It is no consistent with default the unlocking pattern, if unanimously, completing to unlock;Otherwise, misregistration number.
S16: it when the errors number that target user draws the unlocking pattern reaches preset the first value of errors number, shows close
Code window, prompts target user to input password;
S17: obtain target user input password after, judge target user input password whether with preset password one
It causes, if unanimously, entering intelligent mobile terminal backstage, resetting the unlocking pattern;If inconsistent and number reaches preset mistake
Accidentally when number second value, intelligent mobile terminal keeps the lock state of preset duration;
S18: if target user's selection does not input password and continues to draw the unlocking pattern, when the unlocking pattern that target user draws
When reaching preset errors number second value with the inconsistent number of default the unlocking pattern, intelligent mobile terminal keeps preset duration
Lock state.
Intelligent mobile terminal refers to as PC there is independent operating system, independent running space can
Voluntarily to install the program of the third party service providers such as software, game, navigation offer by user, and mobile communication network can be passed through
To realize the general name of wireless network access mobile terminal style.The use scope of intelligent mobile terminal has been found everywhere through the world, and is
It preventing from being misused in the dormant state, the data safety of effective protection system, intelligent mobile terminal can enter the state of locking,
It can just be operated after unlock.Wherein, unlock refers to the operation locking for releasing mobile communication equipment.Dormant state refers to intelligence
Mobile terminal screen keeps blank screen, any to intelligent mobile terminal to operate the state for belonging to invalid operation in addition to unblock button.
Using screen locking function, electricity can also be saved in the case where not closing software.
Current intelligent mobile terminal unlock path be it is outer aobvious, majority is operated according to the prompt on screen, solution
Path is locked as it can be seen that being easy leakage, and threat data is safe.
In the present embodiment, obtains the touch control operation of target user and obtain the target user in the intelligent mobile emptied
Track drafting on terminal screen will not be shown on intelligent mobile terminal screen, increase the safety of unlock.
Wherein, the touch control operation for obtaining target user refers to identification target user's finger on intelligent mobile terminal screen
It touches, clicks.If the touch control operation of target user is consistent with the touch control operation of setting, it is determined as effective touch-control, entrance is next
Walk unlocking program;If the touch control operation of target user and the touch control operation of setting are inconsistent, it is determined as invalid touch-control, intelligent sliding
Dynamic terminal continues to keep dormant state, will not be waken up, will not enter next step unlocking program.Target user is avoided accidentally to grasp
Lock is misread caused by making, and touch control operation will not leave behind any trace, it is not easy to reveal, improve without inputting relevant parameter
The safety of unlock.
In the present embodiment, determine that the touch control operation of target user is progress unlock operation in next step after effective touch-control, specifically
For,
Determine the touch control operation of target user for after effective touch-control, intelligent mobile terminal screen blanking does not show any figure
Case;
Obtain the unlocking pattern track that target user draws on intelligent mobile terminal screen;
Whether the unlocking pattern track for determining that target user draws is consistent with preset the unlocking pattern track, if unanimously,
Unlock is completed, into system;Otherwise, unlock failure.
It wherein, the unlocking pattern track that target user draws on intelligent mobile terminal screen can at an arbitrary position, only
The unlocking pattern track to be drawn is consistent with preset the unlocking pattern track, then achievable unlock.
In the present embodiment, if unlock failure, intelligent mobile terminal system shows that " unlock failure, please repaint unlock figure
The prompt of case " waits target user to repaint the unlocking pattern.
If the unlocking pattern track that target user draws reaches preset with the preset inconsistent number in the unlocking pattern track
When the first value of errors number, intelligent mobile terminal system shows password window, and target user is waited to input password;Target user can
With selection input password or continue to draw the unlocking pattern.If target user selects input password, specific discriminant approach includes:
If it is consistent with preset password that target user inputs password, enters intelligent mobile terminal backstage and reset unlock figure
Case, the unlocking pattern being arranged before the unlocking pattern covering of current setting;Target user is according to the unlocking pattern reset
It can successfully unlock.
If target user's input password and the inconsistent number of preset password reach preset errors number second value, intelligence
The lock state of mobile terminal holding preset duration;Lock state refers to that intelligent mobile terminal can not carry out any operation, also not
It can unlock, target user, which needs to wait for preset duration, can just be unlocked operation.
By way of inputting password and resetting the unlocking pattern, on the one hand it can prevent target user from forgetting the unlocking pattern
The case where track is into not system, the on the other hand system just pop-up input password window when the second subslot is inconsistent, increasing
Strong safety.
If target user's selection continues to draw the unlocking pattern track, specific discriminant approach includes:
If the unlock frequency of failure is small when the unlocking pattern track that target user draws is consistent with preset the unlocking pattern track
In default locking intelligent mobile terminal number, then successfully unlock;If the unlocking pattern track and preset solution that target user draws
When the lock inconsistent number of pattern trace reaches preset errors number second value, intelligent mobile terminal keeps the locking of preset duration
State.
Wherein, the first value of errors number refers to, when the errors number that target user unlocks operation reaches display password window
Value;Errors number second value refers to that the errors number that target user unlocks operation reaches intelligent mobile terminal and keeps locking shape
Value when state.The first value of errors number is less than wrong number second value.
The present embodiment additionally provides a kind of implicit system for unlocking, the system comprises:
Touch-control module 41, for obtaining the touch control operation of target user;
Clear screen module 42, for emptying intelligent mobile terminal screen, judge the target user touch control operation whether with
Preset touch control operation is consistent, if unanimously, being determined as that effective touch-control, intelligent mobile terminal empty screen;Otherwise, it is determined that being invalid
Touch-control;
Unlocked state 43, the unlock figure drawn on the intelligent mobile terminal screen emptied for obtaining the target user
Case track;
Judgment module 44, for judge the unlocking pattern track that the target user draws whether with default the unlocking pattern rail
Mark is consistent, if unanimously, unlocking success;Otherwise, unlock failure.
In the present embodiment, touch-control module 41 includes touch inductor, for obtaining the touch control operation of target user;
Unlocked state 43 includes unlock control, for obtaining the unlocking pattern track of target user's drafting, and with target
The unlocking pattern track that user draws is mobile;It is also used to empty screen, and " unlock is lost for display after target user unlocks failure
Lose, the unlocking pattern please be repaint " prompt;
Judgment module 44 includes password control, for resetting the unlocking pattern by way of inputting password;
If the unlocking pattern track that target user draws reaches preset with the preset inconsistent number in the unlocking pattern track
When the first value of errors number, then input password window is shown;Target user may be selected input pin mode and reset unlock figure
Case is unlocked;
If the password of user's input is consistent with preset password, reconfigurable the unlocking pattern;If user's input is close
When code reaches preset errors number second value with the inconsistent number of preset password, then when intelligent mobile terminal screen keeps default
Long lock state.
Judgment module 44 further includes lock controls, for locking intelligent mobile terminal;
If target user's selection continues to draw the mode of the unlocking pattern without inputting password;If target user successfully unlocks
Errors number be less than preset errors number second value, then successfully unlock;If target user draw the unlocking pattern track with
The preset inconsistent number in the unlocking pattern track reaches preset errors number second value, then intelligent mobile terminal screen keeps pre-
If the lock state of duration.
Embodiment two
The present embodiment additionally provides a kind of implicit unlocking method, as shown in Figure 1, its step includes:
S21: touch-control number and the touch-control interval time of target user are obtained;
S22: judging whether the touch-control number of target user is consistent with preset touch-control number, if unanimously, continuing to compare mesh
Mark the touch-control interval time and preset touch interval time of user;If inconsistent, it is determined as invalid touch-control;
S23: judge target user touch-control interval time whether preset touch-control interval time preset time difference in,
If meeting condition, it is determined as effective touch-control;If being unsatisfactory for condition, it is determined as invalid touch-control.
S24: after being determined as effective touch-control, the unlock that target user draws on the intelligent mobile terminal screen emptied is obtained
Pattern trace;
S25: whether the unlocking pattern track for judging that target user draws is consistent with preset the unlocking pattern track, if one
It causes, then unlocks success;Otherwise, unlock failure prompts target user to repaint the unlocking pattern;
S26: after obtaining the unlocking pattern that target user repaints, the unlocking pattern for judging that target user repaints is
It is no consistent with default the unlocking pattern, if unanimously, completing to unlock;Otherwise, misregistration number.
S27: it when the errors number that target user draws the unlocking pattern reaches preset the first value of errors number, shows close
Code window, prompts target user to input password;
S28: obtain target user input password after, judge target user input password whether with preset password one
It causes, if unanimously, entering intelligent mobile terminal backstage, resetting the unlocking pattern;If inconsistent and number reaches preset mistake
Accidentally number second value, intelligent mobile terminal keep the lock state of preset duration;
S29: if target user's selection does not input password and continues to draw the unlocking pattern, when the unlocking pattern that target user draws
Reach preset errors number second value with the inconsistent number of default the unlocking pattern, intelligent mobile terminal keeps preset duration
Lock state.
In the present embodiment, be determined as that effective touch-control need to meet two conditions simultaneously, comprising: the touch-control number of target user with
Preset touch-control number is unanimously and the touch-control interval time of target user is in the preset time difference of preset touch-control interval time.
If there is a condition to be unsatisfactory for, it is determined as invalid touch-control.Wherein, touch-control interval time refers between adjacent touch control operation twice
Every the time;Preset time difference refers to that the touch-control interval time of target user and the time difference of preset touch-control interval time are no more than
Preset value.The decision condition of effective touch-control is not single, and is determined by touch-control number and touch-control interval time, without input
Relevant parameter will not leave behind any trace, better assure that the safety of intelligent mobile terminal unlock.
In the present embodiment, determine the touch control operation of target user for after effective touch-control, intelligent mobile terminal system is to vibrate
Or the corresponding mode of the tinkle of bells prompts target user's touch-control normal, into touch-control process.Ring Or Vibrate can be set in target user
Corresponding mode, prompting mode diversification, the user experience is improved.
The present embodiment additionally provides a kind of implicit system for unlocking, the system and embodiment one the difference is that:
Touch-control module 41, for obtaining touch-control number and the touch-control interval time of target user;
In the present embodiment, touch-control module 41 includes timer and counter.
Timer is for recording target user's touch-control number, if the touch-control number of target user and preset touch-control number one
It causes, then continues the touch-control interval time and preset touch interval time that compare target user;Otherwise, it is determined that being invalid touch-control;
Counter user record target user's touch-control interval time, if the touch-control interval time of target user is in preset touching
It controls in the preset time difference of interval time, is determined as effective touch-control;Otherwise, it is determined that being invalid touch-control.
It is determined as that effective touch-control needs the data of timer and counter records while meeting decision condition, if target user
Touch-control number is consistent with preset touch-control number and the touch-control interval time of target user is in preset touch-control interval time
In preset time difference, it is determined as effective touch-control;There is a condition to be unsatisfactory for, is determined as invalid touch-control.
Embodiment three
The present embodiment additionally provides a kind of implicit unlocking method, as shown in Figure 1, its step includes:
S31: the position of touch and touch-control compressing time of target user are obtained;
S32: judging whether the position of touch of target user is consistent with preset position of touch, if unanimously, continuing to compare mesh
Mark the touch-control compressing time and preset touch compressing time of user;If inconsistent, it is determined as invalid touch-control;
S33: judging whether the touch-control compressing time of target user is greater than preset touch-control compressing time, if target user
Touch-control compressing time is greater than preset touch-control compressing time, is determined as effective touch-control;Otherwise, it is determined that being invalid touch-control.
S34: after being determined as effective touch-control, the unlock that target user draws on the intelligent mobile terminal screen emptied is obtained
Pattern trace;
S35: whether the unlocking pattern track for judging that target user draws is consistent with preset the unlocking pattern track, if one
It causes, then unlocks success;Otherwise, unlock failure prompts target user to repaint the unlocking pattern;
S36: after obtaining the unlocking pattern that target user repaints, the unlocking pattern for judging that target user repaints is
It is no consistent with default the unlocking pattern, if unanimously, completing to unlock;Otherwise, misregistration number.
S37: it when the errors number that target user draws the unlocking pattern reaches preset the first value of errors number, shows close
Code window, prompts target user to input password;
S38: obtain target user input password after, judge target user input password whether with preset password one
It causes, if unanimously, entering intelligent mobile terminal backstage, resetting the unlocking pattern;If inconsistent and number reaches preset mistake
Accidentally number second value, intelligent mobile terminal keep the lock state of preset duration;
S39: if target user's selection does not input password and continues to draw the unlocking pattern, when the unlocking pattern that target user draws
Reach preset errors number second value with the inconsistent number of default the unlocking pattern, intelligent mobile terminal keeps preset duration
Lock state.
In the present embodiment, be determined as that effective touch-control need to meet two conditions simultaneously, comprising: the position of touch of target user with
Preset touch-control pressing position is unanimously and the touch-control compressing time of target user is greater than preset touch-control compressing time.If there is one
Condition is unsatisfactory for, then is determined as invalid touch-control.Wherein, touch-control compressing time refer to target user press preset touch position when
Between.The decision condition of effective touch-control is not single, and is determined by position of touch and touch-control compressing time, related without inputting
Parameter will not leave behind any trace, better assure that the safety of intelligent mobile terminal unlock.
In the present embodiment, determine the touch control operation of target user for after effective touch-control, intelligent mobile terminal system is to vibrate
Or the corresponding mode of the tinkle of bells prompts target user's touch-control normal, into touch-control process.Ring Or Vibrate can be set in target user
Corresponding mode, prompting mode diversification, the user experience is improved.
The present embodiment additionally provides a kind of implicit system for unlocking, the system and embodiment one, two the difference is that:
Touch-control module 41, for obtaining the position of touch and touch-control compressing time of target user;
In the present embodiment, touch-control module 41 includes touching control and timer.
The position that control is used to obtain target user's touch intelligent mobile terminal screen is touched, if the touch-control position of target user
Set it is consistent with preset position of touch, then continue compare target user touch-control compressing time and preset touch-control compressing time,
Otherwise, it is determined that being invalid touch-control.
Counter user record target user's touch-control compressing time, if the touch-control compressing time of target user is greater than preset
Touch-control compressing time is determined as effective touch-control;Otherwise, it is determined that being invalid touch-control.
It is determined as that effective touch-control needs to touch the data of control and counter records while meeting decision condition, if target is used
When the position of touch at family is consistent with preset position of touch and the touch-control compressing time of target user is greater than preset touch-control and presses
Between, it is determined as effective touch-control;There is a condition to be unsatisfactory for, is determined as invalid touch-control.
Specific embodiment described herein is only an example for the spirit of the invention.The neck of technology belonging to the present invention
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.