CN107391995A - Unlock operation processing method and device - Google Patents
Unlock operation processing method and device Download PDFInfo
- Publication number
- CN107391995A CN107391995A CN201710643936.XA CN201710643936A CN107391995A CN 107391995 A CN107391995 A CN 107391995A CN 201710643936 A CN201710643936 A CN 201710643936A CN 107391995 A CN107391995 A CN 107391995A
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- password
- terminal
- interface
- screen
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Present disclose provides one kind unblock operation processing method and device, belong to field of terminal technology.Method includes:Under holding state or screen lock state, when detecting unlocked by fingerprint operation, then fingerprint corresponding to unlocked by fingerprint operation is obtained;When the fingerprint and the fingerprint prestored mismatch, then by the increase of fingerprint errors number once;When fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained;When environmental information meets preparatory condition, then unlocked by fingerprint operation is not performed.The disclosure passes through after fingerprint errors number reaches certain threshold value, terminal can determine whether terminal currently meets the condition in bag according to the environmental information, if meet, it can then determine that currently detected unlocked by fingerprint operation is maloperation, then terminal can not perform unlocked by fingerprint operation, i.e. without fingerprint miscue, avoid in correlation technique no matter how many times fingerprint mistake, the resource consumption problem that terminal all can always be prompted and brought.
Description
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of unblock operation processing method and device.
Background technology
With the development of terminal technology, the function of terminal is stronger and stronger, is very easy to the life of people.Present city
Some terminals (such as mobile phone) on face can have the function of fingerprint recognition unblock, to strengthen the convenience that terminal uses.
At present, after terminal screen locking, user can be unlocked operation in terminal, such as defeated in the fingerprint recognition region of terminal
Enter fingerprint, terminal can obtain the fingerprint of user's input, if the fingerprint of the input is identical with the fingerprint prestored, terminal
It can unlock and operation display interface, user can be operated in operation interface to realize corresponding function.If the input
Fingerprint and the fingerprint that prestores mismatch, then terminal can show miscue message, to prompt user fingerprints mistake to need
Re-enter.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of unblock operation processing method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided one kind unblock operation processing method, including:
Under holding state or screen lock state, when detecting unlocked by fingerprint operation, then the unlocked by fingerprint operation pair is obtained
The fingerprint answered;
When the fingerprint and the fingerprint prestored mismatch, then by the increase of fingerprint errors number once;
When the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained;
When the environmental information meets preparatory condition, then the unlocked by fingerprint operation is not performed, the preparatory condition is used
There is barrier in the instruction terminal surrounding.
The method that the embodiment of the present disclosure provides, after fingerprint errors number reaches certain threshold value, terminal can obtain currently
Environmental information, because environmental information can reflect circumstance of occlusion of the peripheral obstacle to terminal, thus according to the environmental information
It can determine whether terminal currently meets the condition in bag, if met, currently detected unlocked by fingerprint can be determined
Operate as maloperation, then terminal can not perform unlocked by fingerprint operation, i.e., without fingerprint miscue, avoid related skill
In art no matter how many times fingerprint mistake, the resource consumption problem that terminal all can always be prompted and brought.
In the first implementation of first aspect, the environmental information for obtaining terminal includes:
The distance between the terminal and peripheral obstacle are obtained by range sensor, using the distance as the ring
Environment information;And/or
The light intensity of the terminal surrounding is obtained by light sensor, is believed the light intensity as the environment
Breath.
The method that the embodiment of the present disclosure provides, is entered by range sensor and/or light sensor to terminal surrounding environment
Row detection, obtains the environmental information of terminal, there is provided a kind of possibility implementation for obtaining environmental information.
It is described not perform unlocked by fingerprint operation and include in second of implementation of first aspect:
The first locking screen interface is shown, first locking screen interface could be defeated again for prompting user to carry out assigned operation
Enter fingerprint;
When being not detected by the assigned operation in the first preset duration, then first locking screen interface is hidden, and it is extensive
The multiple extremely holding state or the screen lock state.
The method that the embodiment of the present disclosure provides, terminal do not perform the fingerprint solution by way of showing the first locking screen interface
Lock operation, it is desirable to after user is operated manually according to the prompting of the first locking screen interface, fingerprint could be inputted again to unlock end
End, the probability of happening of maloperation is reduced to a certain extent, avoid maloperation and trigger fingerprint errors number excessive and cause end
The problem of end locking.
It is described not perform unlocked by fingerprint operation and include in the third implementation of first aspect:
Keep the holding state or the screen lock state.
The method that the embodiment of the present disclosure provides, terminal are not held by using the mode of holding holding state or screen lock state
Row unlocked by fingerprint operation, avoids the resource consumption problem come due to display fingerprint miscue information band.
In the 4th kind of implementation of first aspect, after the holding holding state or the screen lock state,
Methods described also includes:
When detect again unlocked by fingerprint operate, and it is described detect again unlocked by fingerprint operation corresponding to fingerprint and institute
When stating the fingerprint mismatch prestored, then continue to keep the holding state or the screen lock state, and the fingerprint is wrong
Miss number increase once.
The method that the embodiment of the present disclosure provides, by being maintained at holding state, even if detecting wrong fingerprint again, also not
Bright screen shows fingerprint miscue information again, so as to avoid unnecessary resource consumption.
In the 5th kind of implementation of first aspect, it is described continue to keep the holding state or the screen lock state it
Afterwards, methods described also includes:
When detecting the trigger action to specified button, then fingerprint miscue message is shown, the specified button is used
In the screen for lighting the terminal, the fingerprint miscue message is used to prompt user fingerprints input error.
The method that the embodiment of the present disclosure provides, when detecting the trigger action to specified button, it is believed that Yong Hu
Using terminal, thus show miscue message, this side that miscue message is just shown when confirming user's using terminal
Formula, improve the accuracy that terminal-pair user carries out fingerprint miscue.
In the 6th kind of implementation of first aspect, it is described continue to keep the holding state or the screen lock state it
Before, methods described also includes:
The environmental information of the terminal is obtained again;
When the environmental information obtained again meets the preparatory condition, then continue to keep the holding state.
The method that the embodiment of the present disclosure provides, by being maintained at holding state or screen lock state, and detects mistake again
During fingerprint, the environmental information of terminal is reacquired, and is redefined according to environmental information and whether continues to keep holding state or lock
Screen state, due to considering the real-time condition of terminal, while unnecessary resource consumption is avoided, improve implementing result can
By property.
It is described after the environmental information for obtaining the terminal again in the 7th kind of implementation of first aspect
Method also includes:
When the environmental information obtained again does not meet the preparatory condition, then fingerprint miscue message is shown,
The fingerprint miscue message is used to prompt user fingerprints input error.
The method that the embodiment of the present disclosure provides, by being maintained at holding state or screen lock state, and detects mistake again
During fingerprint, the environmental information of terminal is reacquired, and redefine and whether user's progress fingerprint mistake is carried according to environmental information
Show, due to considering the real-time condition of terminal, while unnecessary resource consumption is avoided, improve the reliable of implementing result
Property.
In the 8th kind of implementation of first aspect, it is described do not perform unlocked by fingerprint operation after, methods described
Also include:
When the fingerprint errors number is more than the second preset times, the second locking screen interface, second screen locking circle are shown
Face is used to prompt user specify slide to unlock using password, and second preset times are more than described first and preset
Number;
When detecting the specified slide in the second preset duration, then password unlock interface is shown, it is described close
Code unlock interface is used to prompt user to input password unblock.
The method that the embodiment of the present disclosure provides, when fingerprint errors number is excessive, terminal first shows the second locking screen interface pair
User is prompted, and when user specify slide according to prompting, terminal can consider that user is currently needed for unblock eventually
End, thus show password unlock interface so that user can input password to unlock terminal in the password unlock interface.Due to
The display of the password unlock interface operates triggering by user, thus general is not in the excessive situation of code error number, is had
Effect avoids directly displays password unlock interface in the prior art, easily because multiple maloperation causes code error number mistake
It is more so that the problem of terminal directly locks.
In the 9th kind of implementation of first aspect, after the second locking screen interface of the display, methods described also includes:
When being not detected by the specified slide in second preset duration, then second screen locking circle is hidden
Face, and recover to the holding state or the screen lock state.
The method that the embodiment of the present disclosure provides, terminal is before password unlock interface is shown, by showing the second screen locking circle
Face, it is desirable to which user must carry out specifying slide, according to whether obtaining user feedback, confirm that user is current whether using eventually
End, and then according to user's service condition, take suitable processing mode, avoid unnecessary resource consumption and due to grasping by mistake
The problem of work causes terminal locking.
In the tenth kind of implementation of first aspect, it is described do not perform unlocked by fingerprint operation after, methods described
Also include:
When the fingerprint errors number is more than the second preset times, the 3rd locking screen interface is shown, described second is default secondary
Number is more than first preset times, the 3rd locking screen interface be used to prompt user to pre-set button progress trigger action so that
Unlocked with password;
When detecting the trigger action to the pre-set button in the 3rd preset duration, then show that password unlocks boundary
Face, the password unlock interface are used to prompt user to input password unblock.
The method that the embodiment of the present disclosure provides, when fingerprint errors number is excessive, terminal first shows the 3rd locking screen interface pair
User is prompted, if user carries out trigger action according to prompting to pre-set button, terminal can consider that user is currently needed for
Terminal is unlocked, thus shows password unlock interface so that user can input password to unlock end in the password unlock interface
End.Because the display of the password unlock interface operates triggering by user, thus general is not in that code error number is excessive
Situation, it effectively prevent and directly display password unlock interface in the prior art, easily because multiple maloperation causes code error
Number is excessive so that the problem of terminal directly locks.
In a kind of the tenth implementation of first aspect, after the 3rd locking screen interface of the display, methods described is also wrapped
Include:
When being not detected by the trigger action to the pre-set button in the 3rd preset duration, then described the is hidden
Three locking screen interfaces, and recover to the holding state or the screen lock state.
The method that the embodiment of the present disclosure provides, terminal is before password unlock interface is shown, by showing the 3rd screen locking circle
Face, it is desirable to user must carry out trigger action to pre-set button, and according to whether obtain user feedback, confirm user it is current whether
In using terminal, and then according to user's service condition, take suitable processing mode, avoid unnecessary resource consumption and
The problem of terminal locking is caused due to maloperation.
In the 12nd kind of implementation of first aspect, it is described recover to the holding state or the screen lock state it
Afterwards, methods described also includes:
When detecting the trigger action to specified button, then main locking screen interface is shown, the specified button is used to light
The screen of the terminal, the main locking screen interface input the locking screen interface of fingerprint foregoing description terminal for first time.
The method that the embodiment of the present disclosure provides, when detecting the trigger action to specified button, it is believed that Yong Hu
Using terminal, thus show main locking screen interface so that user can reenter password unlock interface by the main locking screen interface,
Provide a kind of mode into password unlock interface.
In the 13rd kind of implementation of first aspect, methods described also includes:
While the password unlock interface is shown, the Password Input region in the password unlock interface is contracted
Small display.
The method that the embodiment of the present disclosure provides, by way of reducing and showing so that barrier is not easy to touch this close
Code input area, reduces false touch probability of the peripheral obstacle to the password unlock interface to a certain extent.
In the 14th kind of implementation of first aspect, the password unlock interface includes the first function button, described
First function button be used for confirm complete password input, it is described display password unlock interface after, methods described also includes:
When detecting Password Input operation, but being not detected by the trigger action to first function button, then do not hold
The row Password Input operation.
The method that the embodiment of the present disclosure provides, when detecting the trigger action to the first function button, ability response cryptogram
Input operation, though maloperation input error password, but terminal can not also perform Password Input operation, reduce to a certain extent
False touch probability of the peripheral obstacle to the password unlock interface, is avoided because code error number excessively causes terminal lock machine
The problem of.
In the 15th kind of implementation of first aspect, the password unlock interface includes the second function button, described
Second function button is used to re-enter password, and after the display password unlock interface, methods described also includes:
When the Password Input errors number is equal to three preset times, the password in the password unlock interface is locked
Input area;
When detecting the trigger action to second function button, then the Password Input region is unlocked.
The embodiment of the present disclosure provide method, by limit user must to the second function button carry out trigger action after,
Password Input operation could be carried out again, and it is general to reduce false touch of the peripheral obstacle to the password unlock interface to a certain extent
Rate.
In the 16th kind of implementation of first aspect, after the display password unlock interface, methods described is also wrapped
Include:
Detect that Password Input operates;
When it is determined that Password Input operation is maloperation, then the password that the Password Input operation has inputted is emptied,
Or, Password Input operation is not performed, and the display password unlock interface is hidden, recover to the holding state or the lock
Screen state.
The method that the embodiment of the present disclosure provides, by the way that when it is determined that current password input operation is maloperation, it is close to empty this
The password that code input operation has inputted, or, Password Input operation is not performed, reduce peripheral obstacle to a certain extent to this
The false touch probability of password unlock interface, avoid due to the problem of code error number excessively causes terminal lock machine.
In the 17th kind of implementation of first aspect, methods described also includes:
Before the Password Input operation is detected, when repeated detection to the operation for inputting same password or similar cipher
When, it is determined that the Password Input operation is maloperation;Or,
During the Password Input operation is carried out, the Password Input region is touched with exterior domain when detecting
During hair operation, it is determined that the Password Input operation is maloperation;Or,
Before Password Input operation is detected, when repeated detection is to the clicking operation of the terminal screen,
Then determine that the Password Input operation is maloperation;Or,
During the Password Input operation is carried out, when repeated detection is to during fingerprint input operation, it is determined that described
Password Input operation is maloperation.
The method that the embodiment of the present disclosure provides, by considering a variety of situations of the most probable appearance when maloperation occurs, and
Determine whether current Password Input operation is maloperation according to these situations, there is provided a variety of modes for determining maloperation.
In the 18th kind of implementation of first aspect, it is described recover to the holding state or the screen lock state it
Afterwards, methods described also includes:
When detecting the trigger action to specified button, then continue to show the password unlock interface, described specify is pressed
Key is used for the screen for lighting the terminal.
The method that the embodiment of the present disclosure provides, when detecting the trigger action to specified button, it is believed that Yong Hu
Using terminal, thus continue to show password unlock interface, there is provided a kind of mode into password unlock interface.
In the 19th kind of implementation of first aspect, it is described do not perform unlocked by fingerprint operation after, the side
Method also includes:
When the fingerprint errors number is more than the second preset times, password unlock interface is shown, described second is default secondary
Number is more than first preset times, and the password unlock interface is used to prompt user to input password unblock;
When being not detected by the Password Input operation in the password unlock interface in the 4th preset duration, then institute is hidden
Password unlock interface is stated, is recovered to the holding state or the screen lock state;
When detecting the trigger action to specified button, then the second locking screen interface or the 3rd locking screen interface are shown, it is described
Specified button is used to lighting the screen of the terminal, second locking screen interface be used to prompting user specify slide with
Unlocked using password, the 3rd locking screen interface is used to prompt user to carry out pre-set button trigger action to use password solution
Lock.
The method that the embodiment of the present disclosure provides, when fingerprint errors number is excessive, directly display password unlock interface, but
Time-out is gone out after screen, if lighting screen again, first shows a locking screen interface, it is desirable to which user carries out corresponding operating according to prompting
Afterwards, it is further continued for showing password unlock interface.Because the display that continues of the password unlock interface operates triggering by user, effectively avoid
Multiple maloperation causes the code error number excessive so that the problem of terminal directly locks.
In the 20th kind of implementation of first aspect, after the second locking screen interface of the display, methods described is also wrapped
Include:
When detecting the specified slide in the second preset duration, then continue to show the password unblock circle
Face.
The method that the embodiment of the present disclosure provides, if user carries out specifying slide according to prompting, terminal can recognize
It is currently needed for unlocking terminal for user, thus continues to show password unlock interface so that user can be in the password unlock interface
It is middle to input password to unlock terminal.Because the display that continues of the password unlock interface operates triggering by user, effectively prevent more
Secondary maloperation causes code error number excessive so that the problem of terminal directly locks.
In a kind of the 20th implementation of first aspect, after the 3rd locking screen interface of the display, methods described is also
Including:
When detecting the trigger action to the pre-set button in the 3rd preset duration, then continue to show the password
Unlock interface.
The method that the embodiment of the present disclosure provides, if user carries out trigger action, terminal according to prompting to pre-set button
It is considered that user is currently needed for unlocking terminal, thus continue to show password unlock interface so that user can be in the password solution
Password is inputted to unlock terminal in lock interface.Because the display that continues of the password unlock interface operates triggering by user, effectively keep away
Having exempted from multiple maloperation causes code error number excessive so that the problem of terminal directly locks.
According to the second aspect of the embodiment of the present disclosure, there is provided one kind unblock operation processing unit, including:
Acquisition module, under holding state or screen lock state, when detecting unlocked by fingerprint operation, then obtaining the finger
Fingerprint corresponding to line unblock operation;
Increase module, for when the fingerprint mismatches with the fingerprint prestored, then increasing fingerprint errors number
Once;
Acquisition module, for when the fingerprint errors number is more than the first preset times, then obtaining the environment letter of terminal
Breath;
Execution module, for when the environmental information meets preparatory condition, then not performing the unlocked by fingerprint operation, institute
Preparatory condition is stated to be used to indicate that the terminal surrounding has barrier.
In the first implementation of second aspect, the acquisition module, described in being obtained by range sensor
The distance between terminal and peripheral obstacle, using the distance as the environmental information;And/or
The acquisition module, for obtaining the light intensity of the terminal surrounding by light sensor, by the light
Intensity is as the environmental information.
In second of implementation of second aspect, the execution module, for showing the first locking screen interface, described
One locking screen interface could input fingerprint again for prompting user to carry out assigned operation;When not detected in the first preset duration
To the assigned operation, then first locking screen interface is hidden, and recover to the holding state or the screen lock state.
In the third implementation of second aspect, the execution module, for keeping the holding state or described
Screen lock state.
In the 4th kind of implementation of second aspect, the increase module, it is additionally operable to that unlocked by fingerprint ought be detected again
Operation, and when fingerprint corresponding to the unlocked by fingerprint operation detected again mismatches with the fingerprint that prestores, then
Continue to keep the holding state or the screen lock state, and by the fingerprint errors number increase once.
In the 5th kind of implementation of second aspect, described device also includes:
Display module, for when detecting the trigger action to specified button, then showing fingerprint miscue message, institute
The screen that specified button is used to light the terminal is stated, the fingerprint miscue message is used to prompt user fingerprints input wrong
By mistake.
In the 6th kind of implementation of second aspect, described device also includes:
The acquisition module, it is additionally operable to obtain the environmental information of the terminal again;
Module is kept, for when the environmental information obtained again meets the preparatory condition, then continuing to keep institute
State holding state or the screen lock state.
In the 7th kind of implementation of second aspect, the display module, it is additionally operable to when the environment obtained again
When information does not meet the preparatory condition, then fingerprint miscue message is shown, the fingerprint miscue message is used to prompt
User fingerprints input error.
In the 8th kind of implementation of second aspect, the display module, it is additionally operable to when the fingerprint errors number is big
When the second preset times, the second locking screen interface is shown, second locking screen interface is used to prompt user to carry out specifying slip behaviour
Make to be unlocked using password, second preset times are more than first preset times;
The display module, it is additionally operable to when detecting the specified slide in the second preset duration, then show
Password unlock interface, the password unlock interface are used to prompt user to input password unblock.
In the 9th kind of implementation of second aspect, described device also includes:
Hidden module, for when being not detected by the specified slide in second preset duration, then hiding
Second locking screen interface, and recover to the holding state or the screen lock state.
In the tenth kind of implementation of second aspect, the display module, it is additionally operable to when the fingerprint errors number is big
When the second preset times, the 3rd locking screen interface is shown, second preset times are more than first preset times, and described the
Three locking screen interfaces are used to prompt user to carry out trigger action to pre-set button to unlock using password;
The display module, it is additionally operable to work as the trigger action detected in the 3rd preset duration to the pre-set button
When, then password unlock interface is shown, the password unlock interface is used to prompt user to input password unblock.
In a kind of the tenth implementation of second aspect, the hidden module, it is additionally operable to when when the described 3rd is default
When the trigger action to the pre-set button is not detected by length, then the 3rd locking screen interface is hidden, and recover to treat to described
Machine state or the screen lock state.
In the 12nd kind of implementation of second aspect, the display module, it is additionally operable to detect to specified button
Trigger action when, then show main locking screen interface, the specified button is used for the screen for lighting the terminal, main screen locking circle
Face inputs the locking screen interface of fingerprint foregoing description terminal for first time.
In the 13rd kind of implementation of second aspect, the display module, it is additionally operable to showing the password unblock
While interface, diminution is carried out to the Password Input region in the password unlock interface and shown.
In the 14th kind of implementation of second aspect, the password unlock interface includes the first function button, described
First function button be used for confirm complete password input, the execution module, be additionally operable to when detect Password Input operate, but
When being not detected by the trigger action to first function button, then the Password Input operation is not performed.
In the 15th kind of implementation of second aspect, the password unlock interface includes the second function button, described
Second function button is used to re-enter password, and described device also includes:
Locking module, for when the Password Input errors number is equal to three preset times, locking the password solution
Lock the Password Input region in interface;
Unlocked state, for when detecting the trigger action to second function button, then it is defeated to unlock the password
Enter region.
In the 16th kind of implementation of second aspect, described device also includes:
Detection module, for detecting that Password Input operates;
Module is emptied, for when it is determined that Password Input operation is maloperation, then emptying the Password Input operation
The password inputted;Or,
The execution module, it is additionally operable to not perform the Password Input operation, hides the display password unlock interface, it is extensive
The multiple extremely holding state or the screen lock state.
In the 17th kind of implementation of second aspect, described device also includes:
Determining module, for before Password Input operation is detected, when repeated detection to the same password of input or
During the operation of similar cipher, it is determined that the Password Input operation is maloperation;Or,
The determining module, it is defeated to the password when detecting for during the Password Input operation is carried out
When entering region with the trigger action of exterior domain, it is determined that the Password Input operation is maloperation;Or,
The determining module, for before Password Input operation is detected, when repeated detection is to the terminal
During the clicking operation of screen, it is determined that the Password Input operation is maloperation;Or,
The determining module, for during the Password Input operation is carried out, when repeated detection to fingerprint input
During operation, it is determined that the Password Input operation is maloperation.
In the 18th kind of implementation of second aspect, the display module, it is additionally operable to detect to specified button
Trigger action when, then continue to show the password unlock interface, the specified button is used for the screen for lighting the terminal.
In the 19th kind of implementation of second aspect, the display module, it is additionally operable to work as the fingerprint errors number
During more than the second preset times, password unlock interface is shown, second preset times are more than first preset times, described
Password unlock interface is used to prompt user to input password unblock;
The hidden module, it is additionally operable to work as the password being not detected by the 4th preset duration in the password unlock interface
During input operation, then the password unlock interface is hidden, is recovered to the holding state or the screen lock state;
The display module, it is additionally operable to when detecting the trigger action to specified button, then show the second locking screen interface
Or the 3rd locking screen interface, the specified button are used for the screen for lighting the terminal, second locking screen interface is used to prompt to use
Family specify slide, and to be unlocked using password, the 3rd locking screen interface is used to prompt user to touch pre-set button
Hair is operated to be unlocked using password.
In the 20th kind of implementation of second aspect, the display module, it is additionally operable to when in the second preset duration
When detecting the specified slide, then continue to show the password unlock interface.
In a kind of the 20th implementation of second aspect, the display module, it is additionally operable to when in the 3rd preset duration
When inside detecting the trigger action to the pre-set button, then continue to show the password unlock interface.
According to the third aspect of the embodiment of the present disclosure, there is provided one kind unblock operation processing unit, including:
Processor;
For storing the memory of the executable instruction of processor;
Wherein, the processor is configured as:
Under holding state or screen lock state, when detecting unlocked by fingerprint operation, then the unlocked by fingerprint operation is obtained
Corresponding fingerprint;
When the fingerprint and the fingerprint prestored mismatch, then by the increase of fingerprint errors number once;
When the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained;
When the environmental information meets preparatory condition, then the unlocked by fingerprint operation is not performed, the preparatory condition is used
There is barrier in the instruction terminal surrounding.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, it is described computer-readable
Storage medium internal memory contains computer program, and the computer program realizes the method described in first aspect when being executed by processor
Step.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of unblock operation processing method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of unblock operation processing method according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of first locking screen interface according to an exemplary embodiment.
Fig. 4 is a kind of schematic diagram of second locking screen interface according to an exemplary embodiment.
Fig. 5 is a kind of schematic diagram of password unlock interface according to an exemplary embodiment.
Fig. 6 is a kind of schematic diagram of password unlock interface according to an exemplary embodiment.
Fig. 7 is a kind of schematic diagram of main locking screen interface according to an exemplary embodiment.
Fig. 8 is a kind of schematic diagram of password unlock interface according to an exemplary embodiment.
Fig. 9 is a kind of schematic diagram of password unlock interface according to an exemplary embodiment.
Figure 10 is a kind of schematic diagram of 3rd locking screen interface according to an exemplary embodiment.
Figure 11 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 12 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 13 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 14 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 15 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 16 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 17 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.
Figure 18 is a kind of block diagram of unblock operation processing unit 1800 according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party
Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure is to be directed to terminal under holding state or screen lock state, if detecting that unlocked by fingerprint operates,
How the process handled is operated to the unlocked by fingerprint.Wherein, screen lock state refers to terminal bright screen but the state not unlocked, treats
Machine state can refer to black state, i.e. terminal screen locking and the state extinguished.When in holding state, user can pass through
Unlocked by fingerprint is operated to unlock terminal, and when terminal is put into bag or in pocket by user, peripheral obstacle probably touches
Terminal, trigger unlocked by fingerprint operation, now, unlocked by fingerprint operation is that maloperation rather than user operate, therefore the unlocked by fingerprint
The fingerprint of typing and storage mismatches in terminal in advance with user for operation, wherein, maloperation refers to that user is not desired to carry out, but by
In the operation that unconscious touch is triggered, user's operation refers to that user wants the operation realized certain function and actively carried out.
Terminal detects that unlocked by fingerprint operates in the prior art, and the finger that fingerprint corresponding to unlocked by fingerprint operation prestores with terminal
When line mismatches, terminal can show miscue message, and the fingerprint miscue message is used to prompt user fingerprints input error.
When so easily there is multiple maloperation, terminal needs repeatedly display miscue message, resource consumption big.The embodiment of the present disclosure
In order to solve problem of the prior art, there is provided when one kind detects unlocked by fingerprint operation, if corresponding to unlocked by fingerprint operation
Fingerprint and the fingerprint that prestores mismatch, and when current finger print errors number reaches certain number, terminal can be according to current
Whether environmental information has barrier around determining, namely whether terminal currently meets the condition in bag or in pocket, if symbol
Close, then it is assumed that the unlocked by fingerprint operation detected is maloperation, thus does not perform unlocked by fingerprint operation, and no longer bright screen prompting refers to
The processing mode of line mistake, and embodiment of the detailed process shown in referring to following Fig. 1 or Fig. 2.Wherein, this does not perform unlocked by fingerprint
Operation can include two kinds of situations:One kind is to abandon unlocked by fingerprint operation, i.e., directly ignores the operation of this unlocked by fingerprint;It is another
Kind is to block unlocked by fingerprint operation, i.e., the operation of this unlocked by fingerprint is temporarily not responding to, unless reaching some condition.
Fig. 1 is a kind of flow chart of unblock operation processing method according to an exemplary embodiment, as shown in figure 1,
Unlock operation processing method to be used in terminal, comprise the following steps:
In a step 101, under holding state or screen lock state, when detecting unlocked by fingerprint operation, then the fingerprint is obtained
Fingerprint corresponding to unblock operation.
In a step 102, when the fingerprint and the fingerprint prestored mismatch, then fingerprint errors number is increased by one
It is secondary.
In step 103, when the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained.
At step 104, when the environmental information meets preparatory condition, then unlocked by fingerprint operation is not performed, this is default
Condition is used to indicate that the terminal surrounding has barrier.
In the embodiment of the present disclosure, after fingerprint errors number reaches certain threshold value, terminal can obtain current environment letter
Breath, because environmental information can reflect circumstance of occlusion of the peripheral obstacle to terminal, thus can be determined according to the environmental information
Whether terminal currently meets the condition in bag, if met, can determine currently detected unlocked by fingerprint operation to miss
Operation, then terminal can not perform unlocked by fingerprint operation, i.e., without fingerprint miscue, avoid in correlation technique no matter
How many times fingerprint mistake, the resource consumption problem that terminal all can always be prompted and brought.
In a kind of possible implementation, the environmental information of the acquisition terminal includes:
The distance between the terminal and peripheral obstacle are obtained by range sensor, believed the distance as the environment
Breath;And/or
The light intensity of the terminal surrounding is obtained by light sensor, using the light intensity as the environmental information.
In a kind of possible implementation, this, which does not perform unlocked by fingerprint operation, includes:
The first locking screen interface is shown, first locking screen interface could input again for prompting user to carry out assigned operation
Fingerprint;
When being not detected by the assigned operation in the first preset duration, then first locking screen interface is hidden, and recover extremely
The holding state or the screen lock state.
In a kind of possible implementation, this, which does not perform unlocked by fingerprint operation, includes:
Keep the holding state or the screen lock state.
In a kind of possible implementation, after the holding holding state or the screen lock state, this method also includes:
When detect again unlocked by fingerprint operate, and this detect again unlocked by fingerprint operation corresponding to fingerprint it is pre- with this
When the fingerprint first stored mismatches, then continue to keep the holding state or the screen lock state, and the fingerprint errors number is increased
Once.
In a kind of possible implementation, this continues after keeping the holding state or the screen lock state, and this method is also wrapped
Include:
When detecting the trigger action to specified button, then fingerprint miscue message is shown, the specified button is used for
The screen of the terminal is lighted, the fingerprint miscue message is used to prompt user fingerprints input error.
In a kind of possible implementation, before this continues to keep the holding state or the screen lock state, this method is also wrapped
Include:
The environmental information of the terminal is obtained again;
When the environmental information that this is obtained again meets the preparatory condition, then continue to keep the holding state or the screen locking shape
State.
In a kind of possible implementation, after this obtains the environmental information of the terminal again, this method also includes:
When the environmental information that this is obtained again does not meet the preparatory condition, then fingerprint miscue message is shown, this refers to
Line miscue message is used to prompt user fingerprints input error.
In a kind of possible implementation, after this does not perform unlocked by fingerprint operation, this method also includes:
When the fingerprint errors number is more than the second preset times, the second locking screen interface is shown, second locking screen interface is used
Specified slide is carried out to be unlocked using password in prompting user, and second preset times are more than first preset times;
When detecting that this specifies slide in the second preset duration, then password unlock interface is shown, the password solution
Lock interface is used to prompt user to input password unblock.
In a kind of possible implementation, after the locking screen interface of display second, this method also includes:
When being not detected by the specified slide in second preset duration, then second locking screen interface is hidden, and
Recover to the holding state or the screen lock state.
In a kind of possible implementation, after this does not perform unlocked by fingerprint operation, this method also includes:
When the fingerprint errors number is more than the second preset times, the 3rd locking screen interface is shown, second preset times are big
In first preset times, the 3rd locking screen interface is used to prompt user to carry out pre-set button trigger action to use password solution
Lock;
When detecting the trigger action to the pre-set button in the 3rd preset duration, then password unlock interface is shown,
The password unlock interface is used to prompt user to input password unblock.
In a kind of possible implementation, after the locking screen interface of display the 3rd, this method also includes:
When being not detected by the trigger action to the pre-set button in the 3rd preset duration, then the 3rd screen locking is hidden
Interface, and recover to the holding state or the screen lock state.
In a kind of possible implementation, after the recovery to the holding state or the screen lock state, this method also includes:
When detecting the trigger action to specified button, then main locking screen interface is shown, the specified button is used to light this
The screen of terminal, the main locking screen interface input the locking screen interface of the terminal before fingerprint for first time.
In a kind of possible implementation, this method also includes:
While the password unlock interface is shown, it is aobvious that diminution is carried out to the Password Input region in the password unlock interface
Show.
In a kind of possible implementation, the password unlock interface includes the first function button, and first function button is used
After the input for confirming completion password, the display password unlock interface, this method also includes:
When detecting Password Input operation, but being not detected by the trigger action to first function button, then do not perform
The Password Input operates.
In a kind of possible implementation, the password unlock interface includes the second function button, and second function button is used
In re-entering password, after the display password unlock interface, this method also includes:
When the Password Input errors number is equal to three preset times, the Password Input in the password unlock interface is locked
Region;
When detecting the trigger action to second function button, then the Password Input region is unlocked.
In a kind of possible implementation, after the display password unlock interface, this method also includes:
Detect that Password Input operates;
When it is determined that Password Input operation is maloperation, then the password that Password Input operation has inputted is emptied, or, not
Password Input operation is performed, the display password unlock interface is hidden, recovers to the holding state or the screen lock state.
In a kind of possible implementation, this method also includes:
Before Password Input operation is detected, when repeated detection to the operation for inputting same password or similar cipher
When, it is determined that Password Input operation is maloperation;Or,
During the Password Input operation is carried out, the Password Input region is grasped with the triggering of exterior domain when detecting
When making, it is determined that Password Input operation is maloperation;Or,
Before Password Input operation is detected, when repeated detection is to the clicking operation of the terminal screen, then really
Fixed Password Input operation is maloperation;Or,
During the Password Input operation is carried out, when repeated detection is to during fingerprint input operation, it is determined that the password
Input operation is maloperation.
In a kind of possible implementation, after the recovery to the holding state or the screen lock state, this method also includes:
When detecting the trigger action to specified button, then continue to show the password unlock interface, the specified button is used
In the screen for lighting the terminal.
In a kind of possible implementation, after this does not perform unlocked by fingerprint operation, this method also includes:
When the fingerprint errors number is more than the second preset times, password unlock interface is shown, second preset times are big
In first preset times, the password unlock interface is used to prompt user to input password unblock;
When being not detected by the Password Input operation in the password unlock interface in the 4th preset duration, then it is close to hide this
Code unlock interface, recovers to the holding state or the screen lock state;
When detecting the trigger action to specified button, then the second locking screen interface or the 3rd locking screen interface are shown, this refers to
Determine the screen that button is used to light the terminal, second locking screen interface is used to prompt user specify slide with using close
Code unblock, the 3rd locking screen interface are used to prompt user to carry out trigger action to pre-set button to unlock using password.
In a kind of possible implementation, after the locking screen interface of display second, this method also includes:
When detecting that this specifies slide in the second preset duration, then continue to show the password unlock interface.
In a kind of possible implementation, after the locking screen interface of display the 3rd, this method also includes:
When detecting the trigger action to the pre-set button in the 3rd preset duration, then continue to show that the password unlocks
Interface.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer
Repeat one by one.
Fig. 2 is a kind of flow chart of unblock operation processing method according to an exemplary embodiment, as shown in Fig. 2
Unlock operation processing method to be used in terminal, comprise the following steps:
In step 201, under holding state or screen lock state, when detecting unlocked by fingerprint operation, then obtain this and refer to
Fingerprint corresponding to line unblock operation.
In the embodiment of the present disclosure, terminal can provide unlocked by fingerprint function, and based on the function, user can be enterprising in terminal
Row unlocked by fingerprint operates, and such as inputs fingerprint in the fingerprint recognition region of terminal, and the fingerprint recognition region has finger print collecting function,
Gather fingerprint corresponding to unlocked by fingerprint operation.Terminal can be based on the fingerprint identification area when detecting unlocked by fingerprint operation
The finger print collecting function in domain, get fingerprint corresponding to unlocked by fingerprint operation.If the finger that the fingerprint prestores with terminal
Line matches, i.e., fingerprint is correct, then terminal can unlock and show normal operation interface, if the fingerprint prestores with terminal
Fingerprint mismatch, i.e. fingerprint mistake, then terminal can perform subsequent step 202.
Wherein, the fingerprint that terminal prestores can be the fingerprint that user shifts to an earlier date the typing in terminal, for example, user is the
Before once carrying out unlocked by fingerprint operation, the fingerprint typing that can be provided according to terminal guides, in the fingerprint recognition region of terminal
Upper input fingerprint, terminal can be stored the fingerprint, so as to complete the typing of fingerprint.
In step 202, when the fingerprint and the fingerprint prestored mismatch, then fingerprint errors number is increased by one
It is secondary.
In the embodiment of the present disclosure, terminal can be according to fingerprint matching algorithm, it is determined that the fingerprint currently obtained is with prestoring
Fingerprint whether match, if it does not match, terminal can be by the fingerprint errors number increase recorded once.For example, terminal
A newly-built temporary file or existing file can be emptied after each screen locking, it is wrong for the fingerprint during recording this screen locking
Number by mistake, terminal can obtain the fingerprint recorded before the operation of this unlocked by fingerprint from the temporary file or the glue file
Errors number, then by the fingerprint errors number increase once.
Certainly, terminal can also first obtain historical operation information, then before obtaining from historical operation information this operation
Fingerprint errors number, and by the increase of fingerprint errors number once.For example, terminal can safeguard a historical operating data storehouse,
The historical operating data storehouse is used to store the historical operation information that terminal detects, the historical operation information can use data item
Form record, each data item can include once-through operation information, and terminal can sieve from historical operation information in the case of this
The unlocked by fingerprint operation before the operation of this unlocked by fingerprint is selected, and counts and obtains fingerprint errors number.Certainly, a data item
The statistical information of same type operation can also be included, such as operate the unlocked by fingerprint operation of fingerprint mistake as same type,
The statistical information of the data item is fingerprint errors number, and terminal, which can read the data item and obtain this unlocked by fingerprint, operates it
Preceding fingerprint errors number, the fingerprint errors number is then added 1, obtain the fingerprint errors number for including this faulty operation.
Above-mentioned steps 201 to step 202 is that terminal often detects a unlocked by fingerprint operation, and determines that the unlocked by fingerprint is grasped
When fingerprint corresponding to work and the fingerprint prestored mismatch, by the process of fingerprint errors number increase once, increase every time refers to
After line errors number, terminal can all judge whether current fingerprint errors number is more than the first preset times, when fingerprint mistake time
When number is more than the first preset times, then subsequent step 203 is performed.
In step 203, when the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained,
When the environmental information meets preparatory condition, the preparatory condition is used to indicate that the terminal surrounding has barrier, then performs step 204
Or step 205.
Wherein, the environmental information of terminal can include the light of the distance between terminal and peripheral obstacle and terminal surrounding
At least one of in intensity, the environmental information of the terminal can serve to indicate that the circumstance of occlusion of terminal.
In the embodiment of the present disclosure, it is contemplated that if user actively carries out unlocked by fingerprint operation to unlock terminal, user one
As carry out the operation of unlocked by fingerprint and can unlock, even if it is possible that the situation of misoperation, as user has used and record
The different finger of finger when entering fingerprint carries out unlocked by fingerprint operation, and causes fingerprint mistake, but user is after unblock fails, meeting
Correct finger is exchanged immediately and carries out unlocked by fingerprint operation again, and therefore, in the case of user actively unlocks terminal, fingerprint is wrong
Number typically will not be too many by mistake, therefore, terminal can set the first preset times, when fingerprint errors number, to be more than this first default
During number, terminal can consider that the unlocked by fingerprint currently carried out operation is not probably user's operation, but maloperation, this
When, terminal can obtain environmental information, according to the environmental information further confirm that the unlocked by fingerprint operation be user operation or
Maloperation, and different steps is performed according to different operating.
In a kind of possible implementation, terminal can be detected by sensor to terminal surrounding environment, is somebody's turn to do
Environmental information.Specifically, terminal can be configured with range sensor or light sensor, and the environmental information that terminal obtains terminal can
With including:The distance between the terminal and peripheral obstacle are obtained by range sensor, using the distance as the environmental information;
And/or the light intensity of the terminal surrounding is obtained by light sensor, using the light intensity as the environmental information.Pass through
Range sensor and/or light sensor detect to terminal surrounding environment, obtain the environmental information of terminal, there is provided a kind of
Obtain the possibility implementation of environmental information.
In the embodiment of the present disclosure, after terminal obtains environmental information, whether preparatory condition can be met according to environmental information, sentenced
Unlocked by fingerprint operation of breaking is user's operation or maloperation.During in view of terminal in bag, terminal and peripheral obstacle away from
From compared with it is near, light intensity is relatively low, be the distance between terminal and peripheral obstacle for environmental information therefore, the preparatory condition
Can be that the distance between terminal and peripheral obstacle are less than pre-determined distance;It is strong for the light of terminal surrounding for environmental information
Degree, the preparatory condition can be that the light intensity of terminal surrounding is less than default light intensity;It is terminal and week for environmental information
The distance between barrier and the light intensity of terminal surrounding are enclosed, the preparatory condition can be between terminal and peripheral obstacle
Distance be less than the light intensity of pre-determined distance and terminal surrounding and be less than default light intensity.
If the environmental information does not meet preparatory condition, i.e. terminal does not meet the condition in bag, then terminal can confirm that
Unlocked by fingerprint operation is user's operation, and now, terminal can show fingerprint miscue message, to prompt user fingerprints to input
Mistake.And if the environmental information meets preparatory condition, i.e. terminal meets the condition in bag, and terminal can confirm that the fingerprint solution
It is maloperation to lock operation, and now, terminal can not perform unlocked by fingerprint operation.When the unlocked by fingerprint operation corresponding to fingerprint with
When the fingerprint prestored mismatches, terminal operates not for the unlocked by fingerprint, fingerprint error prompting is carried out, so as to avoid
Unnecessary resource consumption.
Provided in the embodiment of the present disclosure terminal do not perform the unlocked by fingerprint operation two ways, first way referring to
Subsequent step 204, the second way is referring to subsequent step 206.
In step 204, when the environmental information meets preparatory condition, then the first locking screen interface is shown, first screen locking
Interface could input fingerprint again for prompting user to carry out assigned operation, and the preparatory condition is used to indicate that the terminal surrounding has
Barrier.
In the step 204, if environmental information meets preparatory condition, terminal can determine the fingerprint solution in step 201
Lock operation is maloperation, then terminal can not perform unlocked by fingerprint operation by the way of the first locking screen interface is shown.Aobvious
During showing first locking screen interface, unlocked by fingerprint function that terminal can close a terminal so that user can not pass through fingerprint
Unblock operation unblock terminal, for example, terminal can close the finger print collecting function in fingerprint recognition region so that terminal can not obtain
To fingerprint, certainly, terminal can not also close the finger print collecting function, and after fingerprint is collected, and not performing to collect
The step of fingerprint is matched with the fingerprint prestored.So, user must be referred to according to the prompting of the first locking screen interface
After fixed operation, fingerprint could be inputted again to unlock terminal, reduces the probability of happening of maloperation to a certain extent.
In addition, in order to ensure that the assigned operation is that user is carried out, the assigned operation can be arranged to multinomial behaviour by terminal
The combination of work, such as pin specified icons upward sliding so that user is needed according to prompting, after carrying out the multi-mode operation manually,
Fingerprint can be inputted again to unlock terminal.Referring to Fig. 3, there is provided a kind of first locking screen interface, first locking screen interface can be with
Specified icons are provided, and prompt user's " detecting that screen blocks, unlock by cunning is lived in ".
In step 205, when being not detected by the assigned operation in the first preset duration, then first screen locking circle is hidden
Face, and recover to the holding state or the screen lock state.
In the embodiment of the present disclosure, if being not detected by the assigned operation in the first preset duration, terminal can hide this
First locking screen interface, and recover to the holding state or screen lock state.Specifically, if terminal is showing the first locking screen interface
In first preset duration, the assigned operation of first locking screen interface prompting is not detected by, then terminal can consider that user does not see
To first locking screen interface, now terminal is probably in pocket or bag, so as to further confirm that the fingerprint solution in step 201
Lock operation is maloperation, therefore terminal can hide first locking screen interface, such as set the dispaly state of first locking screen interface
Be hiding, and recover to detect unlocked by fingerprint operation before holding state or screen lock state, certainly, terminal is being not detected by
During assigned operation, can also directly go out screen, to save electricity.Afterwards, each fingerprint mistake and environmental information meets preparatory condition
When, terminal can not count to the fingerprint mistake, i.e., do not increase fingerprint errors number, and be carried by step 205 bright screen
Show that user carries out assigned operation to input fingerprint again, can so avoiding fingerprint errors number, excessively caused terminal locking is asked
Topic.Certainly, terminal can also count to the fingerprint mistake, but the fingerprint errors number that triggering terminal is locked is arranged to one
Individual larger threshold value, such as 10 times, when fingerprint errors number reaches 10 times, terminal can just lock, and reduce terminal lock to a certain extent
Fixed probability.
Above-mentioned steps 204 to step 205 is that terminal does not perform the fingerprint solution by way of showing the first locking screen interface
Lock operation, it is desirable to after user is operated manually according to the prompting of the first locking screen interface, fingerprint could be inputted again to unlock end
End, the probability of happening of maloperation is reduced to a certain extent, avoid maloperation and trigger fingerprint errors number excessive and cause end
The problem of end locking.
It should be noted that above-mentioned steps 204 are only terminal to step 205 do not perform one kind of unlocked by fingerprint operation can
Energy implementation, the embodiment of the present disclosure additionally provide another possibility implementation for not performing unlocked by fingerprint operation, ginseng
See subsequent step 206.
In step 206, when the environmental information meets preparatory condition, then the holding state or screen lock state are kept.
In the step 206, if environmental information meets preparatory condition, for terminal probably in bag, terminal can be true
Determine in step 201 unlocked by fingerprint operation be maloperation, now if terminal display fingerprint miscue message, due to user without
Method is seen, therefore the display of the fingerprint miscue message is not played a part of not only carrying out fingerprint miscue to user, together
When also due to unnecessary display brings the unnecessary wasting of resources.Therefore, terminal can use and keep holding state or lock
The mode of screen state, unlocked by fingerprint operation is not performed, so as to avoid the money come due to display fingerprint miscue information band
Source consumption problem.
In addition, during the holding state or screen lock state is kept, when detecting that unlocked by fingerprint operates again, and should
When the fingerprint that fingerprint corresponding to the unlocked by fingerprint operation detected again prestores with this mismatches, then terminal can continue to protect
Hold the holding state or or screen lock state, and by the fingerprint errors number increase once, certainly, if fingerprint matching success,
Terminal can be unlocked directly.By way of being maintained at holding state or screen lock state, even if detecting wrong fingerprint again,
No longer bright screen shows fingerprint miscue information, so as to avoid unnecessary resource consumption.
Certainly, terminal can also show the miscue information on specific opportunity, and the specific opportunity can be that user uses
During terminal, it is contemplated that under screen state of going out, user then typically can carry out triggering behaviour if it is intended to using terminal to specified button
Make, the specified button is used for the screen for lighting the terminal, as user can click on power key manually.In a kind of possible implementation
In, when terminal detects the trigger action to specified button, then fingerprint miscue message can be shown, the fingerprint mistake carries
Show that message is used to prompt user fingerprints input error.When detecting the trigger action to specified button, it is believed that Yong Hu
Using terminal, thus show miscue message, this side that miscue message is just shown when confirming user's using terminal
Formula, improve the accuracy that terminal-pair user carries out fingerprint miscue.
In a kind of possible implementation, before continuing to keep the holding state or screen lock state, terminal can also be again
The secondary environmental information for obtaining the terminal;When the environmental information that this is obtained again meets the preparatory condition, then continue to keep this to treat
Machine state or screen lock state.When the environmental information that this is obtained again does not meet the preparatory condition, then terminal can be shown with bright screen
Fingerprint miscue message.By being maintained at holding state or screen lock state, and when detecting wrong fingerprint again, reacquire
The environmental information of terminal, and redefine whether fingerprint miscue is carried out to user according to environmental information, due to considering end
The real-time condition at end, while unnecessary resource consumption is avoided, improve the reliability of implementing result.
Above-mentioned steps 201 to step 206 is that terminal detects that unlocked by fingerprint operates under holding state or screen lock state, and
When fingerprint errors number including unlocked by fingerprint operation is more than the first preset times, terminal is entered by sensor to surrounding environment
Row detection obtains environmental information, and then the process handled according to environmental information unlocked by fingerprint operation.
In view of terminal in use, unlocked by fingerprint functional failure may be caused for some reason so that use
No matter family carries out how many times unlocked by fingerprint operation, also only results in the increase of fingerprint errors number, and can not unlock terminal.Cause
This, in order to ensure the normal use of user, terminal can also be on the basis of unlocked by fingerprint function be provided, it is further provided password
Unlocking function, for example, when fingerprint errors number is excessive, terminal can provide the user the password unlocking function so that user
In the case where fingerprint can not unlock, the terminal can be unlocked by password.Terminal is performing above-mentioned steps 204 to step
After 205, or after execution above-mentioned steps 206, terminal may detect that unlocked by fingerprint operates again, often detect a fingerprint solution
Lock operation, terminal can determine whether fingerprint corresponding to unlocked by fingerprint operation matches with the fingerprint prestored, if mismatched,
Then by the increase of fingerprint errors number once, every time after increase fingerprint errors number, terminal can all judge current fingerprint mistake time
Whether number is more than the second preset times, and when fingerprint errors number is more than the second preset times, terminal can provide three kinds of processing
Mode, first way is referring to subsequent step 207 to step 209, and the second way is referring to subsequent step 210 to step 212, and
Three kinds of modes are referring to subsequent step 213 to step 215.
In step 207, when the fingerprint errors number is more than the second preset times, the second locking screen interface is shown, this
Two locking screen interfaces be used for prompt user carry out specify slide to be unlocked using password, second preset times be more than this first
Preset times.
In the embodiment of the present disclosure, when fingerprint errors number is more than the second preset times, terminal can be in display password solution
Before locking interface, the second locking screen interface is shown, it is desirable to which user must be carried out after specifying slide, can use password unblock eventually
End.Referring to Fig. 4, there is provided a kind of second locking screen interface, second locking screen interface can prompt user that " fingerprint authentication unsuccessfully reaches most
Big number, upward sliding are unlocked using password ".
A length of second preset duration when terminal can set the display of second locking screen interface, and according to user whether at this
Carry out specifying slide in second preset duration, take different treatment measures.For example, if user is in the second preset duration
Inside having carried out specified slide, then terminal can perform subsequent step 208 when detecting that this specifies slide, if
User does not carry out specifying slide, and terminal can perform subsequent step 209.
It should be noted that the step 207 is to prompt user to carry out specifying slip behaviour by the second locking screen interface with terminal
Illustrated as example, in fact, terminal can also prompt user to carry out other operations, detailed process by other locking screen interfaces
Referring to subsequent step 208.
In a step 208, when detecting that this specifies slide in the second preset duration, then show that password unlocks boundary
Face, the password unlock interface are used to prompt user to input password unblock.
In the embodiment of the present disclosure, in the second preset duration (such as 5 seconds) of the terminal after the second locking screen interface is shown, if inspection
Measuring the specified slide of second locking screen interface prompting, then terminal can consider that user sees second locking screen interface,
Now user may need to unlock terminal, therefore terminal can show password unlock interface, and user can be in the password unlock interface
Upper input password can also wait certain time length to unlock terminal, and such as wait terminal is gone out after screen, re-starts unlocked by fingerprint behaviour
Make.Referring to Fig. 5, there is provided a kind of password unlock interface, the password unlock interface can prompt user that " fingerprint authentication unsuccessfully reaches most
Big number, it please try again later or be unlocked using password ".
In view of terminal during the password unlock interface is shown, the terminal may be in bag, around reducing
False touch probability of the barrier to the password unlock interface, terminal can use following several possible implementations:
The first possible implementation, terminal can unlock boundary while the password unlock interface is shown to the password
Password Input region in face carries out diminution and shown.
Wherein, the Password Input region can be numeral input region or pattern input area.Referring to Fig. 6, carry
A kind of schematic diagram of password unlock interface is supplied, the numeral input region in the password unlock interface is less than digital defeated in Fig. 5
Enter region, the numeral input region include " 1 ", " 2 " ..., " 9 ", the numeral such as " 0 ".By way of reducing and showing so that barrier
Hinder thing to be not easy to touch the Password Input region, reduce mistake of the peripheral obstacle to the password unlock interface to a certain extent
Touch probability.
Under which, during the password unlock interface is shown, if detecting that numeral or pattern etc. are any close
The input of code, and the password of the input is identical with the password prestored, then terminal can be unlocked, and otherwise, terminal can be shown
Code error prompting message, to prompt user cipher input error.Wherein, the password prestored (numeral or pattern) can be with
Set in advance in terminal by user.For example, in step 201 after the typing of completion fingerprint, terminal can continue to guide user
The setting of password is carried out, terminal can be stored the password that user is set.Certainly, terminal can also be provided separately password and set
Function is put, for example, terminal can provide password settings button, after user carries out trigger action to the password settings button, eventually
End can show that password sets interface, and set the password inputted in interface to be stored in the password user.
Certainly, in certain time length (such as 3 seconds), if being not detected by the Password Input operation in the password unlock interface,
Terminal can consider the current not using terminal of user, and terminal is probably in bag, and now, in order to save electricity, terminal can
With the screen that goes out, fingerprint input or screen taps operation are no longer responded.When detecting the trigger action to specified button (such as power key)
When, main locking screen interface is shown, the main locking screen interface inputs the locking screen interface of the terminal before fingerprint for first time.Referring to Fig. 7, carry
A kind of main locking screen interface has been supplied, the main locking screen interface can include upper sliding unblock button and two prompt operation instruction buttons, when
Upward sliding is detected on this during the operation of sliding unblock button, terminal can show password unlock interface, when detecting to appointing
Can be control into corresponding function, such as button on the left side where one prompt operation instruction button during the slide in direction
Center instruction button, control centre is slid into for an instruction user left side, the button on the right can be camera instruction button, for referring to
Show that the user right side slides into camera.
Under the main locking screen interface, user can both carry out upper sliding operation to upper sliding unblock button, in display password unblock
Behind interface, continue password unblock operation, upper sliding unblock button can not also be operated, and directly carry out unlocked by fingerprint
Operate to unlock terminal.
Second of possible implementation, the password unlock interface include the first function button, and first function button is used for
Confirm to complete the input of password, terminal, when detecting Password Input operation, but is not detected by after password unlock interface show
During to the trigger action of first function button, then Password Input operation is not performed.
Referring to Fig. 8, there is provided a kind of password unlock interface, " OK " button in the password unlock interface is the first function
A kind of form of button.
Under which, during password unlock interface is shown, if detecting the input operation of password and to
The trigger action of one function button, and password is identical with the password prestored corresponding to the input operation, then terminal can solve
Lock, if the password of the input is different from the password prestored, terminal can show code error prompting message, with prompting
User cipher input error.But if only detecting the input operation of password, for example, after user carries out input password, do not click on
" OK " button confirmed, then terminal can not perform the Password Input operation of user, will not judge the password of input with advance
Whether the password of storage is identical, namely is not responsive to Password Input operation.Detecting the behaviour of the triggering to the first function button
When making, ability response cryptogram input operation, even if maloperation input error password, but terminal can not also perform Password Input behaviour
Make, reduce false touch probability of the peripheral obstacle to the password unlock interface to a certain extent, avoid due to code error
The problem of number excessively causes terminal lock machine.
Certainly, in certain time length (such as 20 seconds), if being not detected by the trigger action to first function button, terminal
It is considered that user does not attempt unblock terminal currently, terminal is probably in bag, now, in order to save electricity, terminal
Can be gone out screen, no longer respond fingerprint input or screen taps operation.With the first which similarly, when detecting to specified button
During the trigger action of (such as power key), the main locking screen interface shown in Fig. 7 is shown.
The third possible implementation, the password unlock interface include the second function button, and second function button is used for
Password is re-entered, terminal is after password unlock interface is shown, when the Password Input errors number is equal to the 3rd preset times
When, lock the Password Input region in the password unlock interface.
Referring to Fig. 9, there is provided a kind of password unlock interface, " re-entering " button in the password unlock interface is
A kind of form of two function buttons, the password unlock interface can prompt user's " code error, click are re-entered ".
Under which, during password unlock interface is shown, if user's continuous several times (such as 3 times) input error is close
Code, terminal can lock the Password Input region in the password unlock interface, such as the numeral input region in Fig. 9 so that user
The Password Input region can not be operated again, thus password can not be inputted.Afterwards, if detected to the second function button
Trigger action, for example, user click on " re-entering " button, then terminal can unlock the Password Input region so that user
Password Input operation can be re-started on the Password Input region.The second function button must be carried out by limiting user
After trigger action, Password Input operation could be carried out again, reduce peripheral obstacle to a certain extent and circle is unlocked to the password
The false touch probability in face.
4th kind of possible implementation, terminal detect that Password Input operates, when true after password unlock interface is shown
When fixed Password Input operation is maloperation, then the password that Password Input operation has inputted is emptied.
Wherein, terminal determines that Password Input operation can include following several situations for maloperation:
Situation 1, before Password Input operation is detected, when repeated detection to the same password of input or similar cipher
During operation, it is determined that Password Input operation is maloperation.
The situation is to be directed to identical input or similar input, such as repeatedly inputs same password (such as 8888) or same gesture
(such as the gesture in lasting some direction of picture), and or, continuous input " 8888 ", " 8080 ", " 0000 ", " 0808 " etc. exist it is identical
Numeral and the similar cipher for meeting certain repetition rule.
Situation 2, during the Password Input operation is carried out, when detecting to the Password Input region with exterior domain
During trigger action, it is determined that Password Input operation is maloperation.
The situation is interrupted for input, for example, password is 4 bit digitals, after clicking on input " 88 " in Password Input region,
If clicking screen other positions, or slide (sliding distance is more than 30px) is carried out, then terminal can consider this
The input of " 88 " is maloperation.
Situation 3, before Password Input operation is detected, when repeated detection to the clicking operation to the terminal screen
When, it is determined that Password Input operation is maloperation.
The situation is to be directed to meaningless operation, and the meaningless operation refers to be not configured to the behaviour for realizing objective function and carrying out
Make, for example, during the screen locking before detecting Password Input operation, adopting consecutive click chemical reaction screen (such as more than 5 times).
Situation 4, during the Password Input operation is carried out, when repeated detection is to during fingerprint input operation, it is determined that
Password Input operation is maloperation.
The situation is also to be directed to meaningless operation, for example, the continuous input fingerprint during numeral is inputted (such as more than 3 times).
Determine that current Password Input is grasped by considering a variety of situations of the most probable appearance when maloperation occurs, and according to these situations
Whether it is maloperation, there is provided a variety of modes for determining maloperation.
Under which, during current password input operation, if terminal check occurs any of the above-described kind or a variety of
Situation, then terminal can determine that Password Input operation be maloperation, thus terminal can empty the Password Input operate it is defeated
The password entered.Such as when it is determined that occurring any of the above-described kind, " 00 " is have input, then terminal can empty the input of " 00 ".It is logical
Cross and when it is determined that current password input operation is maloperation, empty the password that Password Input operation has inputted, to a certain extent
Reduce false touch probability of the peripheral obstacle to the password unlock interface, avoid because code error number excessively causes terminal
The problem of lock machine.
5th kind of possible implementation, terminal detect that Password Input operates, when true after password unlock interface is shown
When fixed Password Input operation is maloperation, then Password Input operation is not performed, hides the display password unlock interface, is recovered
To the holding state or screen lock state.
Under which, during current password input operation, if terminal check occurs in above-mentioned 4th kind of mode
Any one or more situations, then terminal can determine that Password Input operation is maloperation, thus terminal can not perform this
Password Input operates, and cancels the display to the password unlock interface, will the dispaly state of the password unlock interface be arranged to hidden
Hide, and recover to terminal original holding state or screen lock state, certainly, terminal is it is determined that Password Input operation is maloperation
When, can also directly go out screen, to save electricity.By the way that when it is determined that current password input operation is maloperation, it is close not perform this
Code input operation, reduces false touch probability of the peripheral obstacle to the password unlock interface, avoids due to close to a certain extent
The problem of code errors number excessively causes terminal lock machine.Terminal is gone out after screen, if detected again to specified button (such as power supply
Key) trigger action, then it is considered that user in using terminal, terminal can continue to show the password unlock interface, there is provided
A kind of mode into password unlock interface.
Above-mentioned steps 207 to step 208 be when fingerprint errors number is excessive, terminal first show the second locking screen interface to
Family is prompted, if user carries out specifying slide according to prompting, terminal can consider that user is currently needed for unlocking terminal,
Thus display password unlock interface so that user can input password to unlock terminal in the password unlock interface.Due to this
The display of password unlock interface operates triggering by user, thus general is not in the excessive situation of code error number, effectively
Avoid and directly display password unlock interface in the prior art, easily because multiple maloperation causes code error number excessive,
So that the problem of terminal directly locks.
In step 209, when be not detected by second preset duration this specify slide when, then hide this second
Locking screen interface, and recover to the holding state or screen lock state.
In the embodiment of the present disclosure, in the second preset duration for showing the second locking screen interface, if terminal is not detected by this
Second locking screen interface prompting specified slide, then terminal can consider that user does not see second locking screen interface, now
For terminal probably in pocket or bag, user simultaneously need not unlock terminal, therefore terminal need not show password unlock interface, and can
To hide second locking screen interface, and recover to holding state or screen lock state, certainly, terminal is being not detected by specified slip behaviour
When making, can also directly go out screen, no longer respond fingerprint input operation or screen taps operation.In a kind of possible implementation,
Terminal is gone out after screen, and when detecting the trigger action to specified button (such as power key), terminal can show the main lock shown in Fig. 7
Shield interface.When detecting the trigger action to specified button, it is believed that user shows main screen locking circle in using terminal
Face so that user can reenter password unlock interface by the main locking screen interface, there is provided one kind enters password unblock circle
The mode in face.
Above-mentioned steps 207 to step 209 be terminal before password unlock interface is shown, pass through show the second screen locking circle
Face, it is desirable to which user must carry out specifying slide, according to whether obtaining user feedback, confirm that user is current whether using eventually
End, and then according to user's service condition, take suitable processing mode, avoid unnecessary resource consumption and due to grasping by mistake
The problem of work causes terminal locking.The step 207 to step 209 is when fingerprint errors number is more than the second preset times, eventually
A kind of possible processing mode used is held, in fact, terminal can not also perform the step 207 to step 209, and is performed follow-up
Step 210 is to step 212 or step 213 to step 215.
In step 210, when the fingerprint errors number is more than the second preset times, the 3rd locking screen interface is shown, this
Two preset times are more than first preset times, and the 3rd locking screen interface is used to prompt user to carry out trigger action to pre-set button
To be unlocked using password.
In the embodiment of the present disclosure, when fingerprint errors number is more than the second preset times, terminal can be in display password solution
Before locking interface, the 3rd locking screen interface is shown, it is desirable to after user must carry out trigger action to pre-set button, can use password
Unlock terminal.Referring to Figure 10, there is provided a kind of 3rd locking screen interface, the 3rd locking screen interface can prompt user's " fingerprint authentication
Failure reaches maximum times, password please be used to unlock ".
A length of 3rd preset duration when terminal can set the display of the 3rd locking screen interface, and according to user whether at this
Trigger action is carried out to pre-set button in 3rd preset duration, takes different treatment measures.For example, if user is pre- the 3rd
If having carried out the trigger action in duration, then terminal can perform subsequent step 211 when detecting the trigger action, if
User does not carry out the trigger action, and terminal can perform subsequent step 212.
In step 211, when detecting the trigger action to the pre-set button in the 3rd preset duration, then show close
Code unlock interface, the password unlock interface are used to prompt user to input password unblock.
In the embodiment of the present disclosure, in the 3rd preset duration (such as 5 seconds) of the terminal after the 3rd locking screen interface is shown, if inspection
The trigger action of the 3rd locking screen interface prompting is measured, then terminal can consider that user sees the 3rd locking screen interface, now
User may need to unlock terminal, therefore terminal can show the password unlock interface shown in Fig. 5, and user can unlock in the password
Password is inputted on interface to unlock terminal.
With step 208 similarly, it is close to this can to reduce peripheral obstacle by any of step 208 mode for terminal
The false touch probability of code unlock interface, will not be repeated here.
Above-mentioned steps 210 to step 211 be when fingerprint errors number is excessive, terminal first show the 3rd locking screen interface to
Family is prompted, if user carries out trigger action according to prompting to pre-set button, terminal can consider that user is currently needed for solving
Terminal is locked, thus shows password unlock interface so that user can input password to unlock terminal in the password unlock interface.
Because the display of the password unlock interface operates triggering by user, thus general is not in the excessive feelings of code error number
Condition, it effectively prevent and directly display password unlock interface in the prior art, easily because multiple maloperation causes code error
Number is excessive so that the problem of terminal directly locks.
In the step 212, it is when being not detected by the trigger action to the pre-set button in the 3rd preset duration, then hidden
The 3rd locking screen interface is hidden, and is recovered to the holding state or screen lock state.
In the embodiment of the present disclosure, in the 3rd preset duration for showing the 3rd locking screen interface, if terminal is not detected by this
3rd locking screen interface prompting the trigger action to pre-set button, then terminal can consider that user does not see the 3rd screen locking circle
Face, now for terminal probably in pocket or bag, user simultaneously need not unlock terminal, therefore terminal need not show that password unlocks boundary
Face, and the 3rd locking screen interface can be hidden, and recover to holding state or screen lock state, certainly, terminal is being not detected by this
During trigger action, can also directly go out screen, to save electricity.In a kind of possible implementation, terminal is gone out after screen, if detection
To the trigger action to specified button (such as power key), terminal can show the main locking screen interface shown in Fig. 7.Detecting to referring to
When determining the trigger action of button, it is believed that user shows main locking screen interface in using terminal so that user can pass through
The main locking screen interface reenters password unlock interface, there is provided a kind of mode into password unlock interface.
Above-mentioned steps 210 to step 212 be terminal before password unlock interface is shown, pass through show the 3rd screen locking circle
Face, it is desirable to user must carry out trigger action to pre-set button, and according to whether obtain user feedback, confirm user it is current whether
In using terminal, and then according to user's service condition, take suitable processing mode, avoid unnecessary resource consumption and
The problem of terminal locking is caused due to maloperation.The step 210 to step 212 is when fingerprint errors number is more than second default time
During number, a kind of possible processing mode of terminal use, in fact, terminal can not also perform the step 210 to step 212, and
Subsequent step 213 is performed to step 215.
In step 213, when the fingerprint errors number is more than the second preset times, password unlock interface is shown, this
Two preset times are more than first preset times, and the password unlock interface is used to prompt user to input password unblock.
In the embodiment of the present disclosure, when fingerprint errors number is more than the second preset times, terminal can directly display Fig. 5 institutes
The password unlock interface shown.A length of 4th preset duration when terminal can set the display of the password unlock interface, and according to
Whether family carries out Password Input operation in the 4th preset duration, takes different treatment measures.For example, if user is
Password Input operation is carried out in four preset durations, then terminal can be when detecting Password Input operation, by the input
Password, if identical, unlocks terminal compared with the password prestored.If user does not carry out Password Input behaviour
Make, terminal can perform subsequent step 214.
When fingerprint errors number is excessive, terminal can show password unlock interface in time, so really be needed in user
When unlocking terminal, terminal can provide the user the password unlock interface quickly and be unlocked, and user can be avoided to wait
For a long time.
In step 214, when be not detected by the 4th preset duration the password unlock interface Password Input operation
When, then recover to the holding state or screen lock state.
In the embodiment of the present disclosure, in the 4th preset duration of display password unlock interface, if terminal is not detected by
The Password Input operation of 4th locking screen interface, then terminal can consider that user does not see the cryptographic interface, and now terminal is very
It is possible in pocket or bag, user simultaneously need not unlock terminal, therefore terminal need not show password unlock interface, and can hide
The password unlock interface, and recover to holding state or screen lock state, certainly, terminal is being not detected by Password Input operation
When, can also directly go out screen, to save electricity.
In step 215, when detecting the trigger action to specified button, then the second locking screen interface or the 3rd lock are shown
Shield interface, the specified button is used for the screen for lighting the terminal, and second locking screen interface is used to prompt user to carry out specifying slip
To be unlocked using password, the 3rd locking screen interface is used to prompt user to carry out pre-set button trigger action with using password for operation
Unblock.
In the embodiment of the present disclosure, when terminal recover to holding state or or after screen lock state, user can be by referring to
Determine button (such as power key) and carry out trigger action, to light terminal screen, terminal can be shown shown in Fig. 4 while bright screen
The second locking screen interface or Figure 10 shown in the 3rd locking screen interface so that user need be operated manually according to prompting after, eventually
End can just show password unlock interface, and terminal is unlocked with password for users to use.
The situation of the second locking screen interface is shown for terminal, with step 208 similarly, terminal show the second locking screen interface it
Afterwards, when detecting specified slide in the second preset duration, then continue to show the password unlock interface.
The situation of the 3rd locking screen interface is shown for terminal, with step 210 similarly, terminal show the 3rd locking screen interface it
Afterwards, when detecting the trigger action to pre-set button in the 3rd preset duration, then continue to show the password unlock interface.
Under any of the above-described kind of locking screen interface, if user carries out trigger action, terminal according to prompting to pre-set button
It is considered that user is currently needed for unlocking terminal, thus continue to show password unlock interface so that user can be in the password solution
Password is inputted to unlock terminal in lock interface.Because the display that continues of the password unlock interface operates triggering by user, effectively keep away
Having exempted from multiple maloperation causes code error number excessive so that the problem of terminal directly locks.
Above-mentioned steps 213 to step 215 is when fingerprint errors number is excessive, directly displays password unlock interface, but
Time-out is gone out after screen, if lighting screen again, first shows a locking screen interface, it is desirable to which user carries out corresponding operating according to prompting
Afterwards, it is further continued for showing password unlock interface.Because the display that continues of the password unlock interface operates triggering by user, effectively avoid
Multiple maloperation causes the code error number excessive so that the problem of terminal directly locks.
Above-mentioned steps 207 to step 209, step 210 to step 212 and step 213 to step 215 is when the fingerprint is wrong
When number is more than the second preset times by mistake, three kinds of processing modes of terminal.Wherein, step 207 is to step 209 and step 210
To step 212 be terminal before password unlock interface is shown, first show a locking screen interface, when the operation for detecting user
When, then show the password unlock interface;Step 213 to step 215 is that terminal directly displays password unlock interface, is gone out screen in time-out
Afterwards, if lighting screen again, a locking screen interface is first shown, when detecting user's operation, is further continued for showing password solution
Lock interface.
In the embodiment of the present disclosure, after fingerprint errors number reaches certain threshold value, terminal can obtain current environment letter
Breath, because environmental information can reflect circumstance of occlusion of the peripheral obstacle to terminal, thus can be determined according to the environmental information
Whether terminal currently meets the condition in bag, if met, can determine currently detected unlocked by fingerprint operation to miss
Operation, then terminal can not perform unlocked by fingerprint operation, i.e., without fingerprint miscue, avoid in correlation technique no matter
How many times fingerprint mistake, the resource consumption problem that terminal all can always be prompted and brought.
In addition, terminal can not perform unlocked by fingerprint operation by the way of the first locking screen interface is shown, it is desirable to use
After family is operated manually according to the prompting of the first locking screen interface, fingerprint could be inputted again to unlock terminal, to a certain extent
The probability of happening of maloperation is reduced, avoids the problem of maloperation triggers fingerprint errors number excessive and causes terminal locking.
In addition, when fingerprint errors number reaches more high threshold, terminal can first show before password unlock interface is shown
Show a locking screen interface for needing user to be operated manually, to further confirm that whether user currently needs to unlock terminal, such as
After fruit user is operated according to the prompting of locking screen interface, terminal can just show password unlock interface, because the password unlocks boundary
The display in face operates triggering by user, thus general is not in the excessive situation of code error number, be effectively prevent existing
Password unlock interface is directly displayed in technology, easily because multiple maloperation causes code error number excessive so that terminal exists
The problem of directly being locked in the case of user is unwitting.
Figure 11 is a kind of block diagram of unblock operation processing unit according to an exemplary embodiment.Reference picture 11, should
Device includes acquisition module 1101, increase module 1102 and execution module 1103.
Acquisition module 1101, it is configured as under holding state or screen lock state, when detecting unlocked by fingerprint operation, then
Obtain fingerprint corresponding to unlocked by fingerprint operation;
Increase module 1102, when the fingerprint for being configured as the fingerprint and prestoring mismatches, then by fingerprint mistake time
Number increase is once;
The acquisition module 1101, it is additionally configured to when the fingerprint errors number is more than the first preset times, then obtains eventually
The environmental information at end;
Execution module 1103, when being configured as the environmental information and meeting preparatory condition, then unlocked by fingerprint behaviour is not performed
Make, the preparatory condition is configured as indicating that the terminal surrounding has barrier.
In a kind of possible implementation, the acquisition module 1101, it is configured as obtaining the terminal by range sensor
The distance between peripheral obstacle, using the distance as the environmental information;And/or
The acquisition module, it is configured as obtaining the light intensity of the terminal surrounding by light sensor, the light is strong
Degree is used as the environmental information.
In a kind of possible implementation, the execution module 1103, it is configured as showing the first locking screen interface, first lock
Screen interface is configured as prompting user to carry out assigned operation and could input fingerprint again;When not detected in the first preset duration
During to the assigned operation, then first locking screen interface is hidden, and recover to the holding state or the screen lock state.
In a kind of possible implementation, the execution module 1103, it is configured as keeping the holding state or screen lock state.
In a kind of possible implementation, the increase module 1102, it is additionally configured to detect that unlocked by fingerprint is grasped again
When making, and the fingerprint mismatch that fingerprint corresponding to unlocked by fingerprint operation for detecting again is prestored with this, then continue to protect
The holding state or screen lock state are held, and by the fingerprint errors number increase once.
In a kind of possible implementation, referring to Figure 12, the device also includes:
Display module 1104, when being configured as detecting the trigger action to specified button, then show that fingerprint mistake carries
Show message, the specified button is configured as lighting the screen of the terminal, and the fingerprint miscue message is configured as prompting user
Fingerprint input error.
In a kind of possible implementation, referring to Figure 13, the device also includes:
The acquisition module 1101, it is additionally configured to obtain the environmental information of the terminal again;
Module 1105 is kept, when being configured as the environmental information obtained again and meeting the preparatory condition, then continues to protect
Hold the holding state or screen lock state.
In a kind of possible implementation, the display module 1104, the environmental information obtained again when this is additionally configured to
When not meeting the preparatory condition, then fingerprint miscue message is shown, the fingerprint miscue message is configured as prompting user
Fingerprint input error.
In a kind of possible implementation, the display module 1104, it is additionally configured to when the fingerprint errors number is more than the
During two preset times, the second locking screen interface is shown, second locking screen interface is configured as prompting user to carry out specifying slide
To be unlocked using password, second preset times are more than first preset times;
The display module 1104, it is additionally configured to when detecting that this specifies slide in the second preset duration, then
Password unlock interface is shown, the password unlock interface is configured as prompting user to input password unblock.
In a kind of possible implementation, referring to Figure 14, the device also includes:
Hidden module 1106, when being configured as being not detected by the specified slide in second preset duration, then
Second locking screen interface is hidden, and is recovered to the holding state or screen lock state.
In a kind of possible implementation, the display module 1104, it is additionally configured to when the fingerprint errors number is more than the
During two preset times, the 3rd locking screen interface is shown, second preset times are more than first preset times, the 3rd locking screen interface
It is configured as prompting user to carry out trigger action to pre-set button to unlock using password;
The display module 1104, it is additionally configured to work as the triggering behaviour detected in the 3rd preset duration to the pre-set button
When making, then password unlock interface is shown, the password unlock interface is configured as prompting user to input password unblock.
In a kind of possible implementation, the hidden module 1106, it is additionally configured to work as in the 3rd preset duration not
When detecting the trigger action to the pre-set button, then the 3rd locking screen interface is hidden, and recover to the holding state or screen locking
State.
In a kind of possible implementation, the display module 1104, it is additionally configured to detect and specified button is touched
During hair operation, then main locking screen interface is shown, the specified button is configured as lighting the screen of the terminal, and the main locking screen interface is the
Once input fingerprint before the terminal locking screen interface.
In a kind of possible implementation, the display module 1104, it is additionally configured to showing the password unlock interface
Meanwhile diminution is carried out to the Password Input region in the password unlock interface and shown.
In a kind of possible implementation, the password unlock interface includes the first function button, the first function button quilt
It is configured to confirm the input for completing password,
The execution module 1103, it is additionally configured to detect that Password Input operates, but is not detected by first function
During the trigger action of button, then Password Input operation is not performed.
In a kind of possible implementation, the password unlock interface includes the second function button, the second function button quilt
It is configured to re-enter password, referring to Figure 15, the device also includes:
Locking module 1107, when being configured as the Password Input errors number and being equal to three preset times, it is close to lock this
Password Input region in code unlock interface;
Unlocked state 1108, when being configured as detecting the trigger action to second function button, then it is close to unlock this
Code input area.
In a kind of possible implementation, referring to Figure 16, the device also includes:
Detection module 1109, it is configured as detecting that Password Input operates;
Module 1110 is emptied, when to be configured as determining Password Input operation be maloperation, then empties the Password Input
Operate the password inputted;Or,
The execution module 1103, it is additionally configured to not perform Password Input operation, hides the display password unlock interface,
Recover to the holding state or screen lock state.
In a kind of possible implementation, referring to Figure 17, the device also includes:
Determining module 1111, it is configured as before Password Input operation is detected, when repeated detection is same to inputting
During the operation of password or similar cipher, it is determined that Password Input operation is maloperation;Or,
The determining module 1111, it is configured as during the Password Input operation is carried out, when detecting to the password
When input area is with the trigger action of exterior domain, it is determined that Password Input operation is maloperation;Or,
The determining module 1111, it is configured as before Password Input operation is detected, when repeated detection is to the end
When holding the clicking operation of screen, it is determined that Password Input operation is maloperation;Or,
The determining module 1111, it is configured as during the Password Input operation is carried out, when repeated detection to fingerprint
During input operation, it is determined that Password Input operation is maloperation.
In a kind of possible implementation, the display module 1104, it is additionally configured to detect and specified button is touched
During hair operation, then continue to show the password unlock interface, the specified button is configured as lighting the screen of the terminal.
In a kind of possible implementation, the display module 1104, it is additionally configured to when the fingerprint errors number is more than the
During two preset times, password unlock interface is shown, second preset times are more than first preset times, the password unlock interface
It is configured as prompting user to input password unblock;
The hidden module 1106, it is additionally configured to be not detected by the password unlock interface in the 4th preset duration
When Password Input operates, then the password unlock interface is hidden, is recovered to the holding state or screen lock state;
The display module 1104, it is additionally configured to when detecting the trigger action to specified button, then shows the second lock
Screen interface or the 3rd locking screen interface, the specified button are configured as lighting the screen of the terminal, and second locking screen interface is configured
Specify slide for prompting user to be unlocked using password, the 3rd locking screen interface is configured as prompting user to default
Button carries out trigger action to be unlocked using password.
In a kind of possible implementation, the display module 1104, it is additionally configured to work as and is detected in the second preset duration
When specifying slide to this, then continue to show the password unlock interface.
In a kind of possible implementation, the display module 1104, it is additionally configured to work as and is detected in the 3rd preset duration
During to the trigger action of the pre-set button, then continue to show the password unlock interface.
In the embodiment of the present disclosure, after fingerprint errors number reaches certain threshold value, terminal can obtain current environment letter
Breath, because environmental information can reflect circumstance of occlusion of the peripheral obstacle to terminal, thus can be determined according to the environmental information
Whether terminal currently meets the condition in bag, if met, can determine currently detected unlocked by fingerprint operation to miss
Operation, then terminal can not perform unlocked by fingerprint operation, i.e., without fingerprint miscue, avoid in correlation technique no matter
How many times fingerprint mistake, the resource consumption problem that terminal all can always be prompted and brought.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 18 is a kind of block diagram of unblock operation processing unit 1800 according to an exemplary embodiment.For example, dress
It can be mobile phone to put 1800, computer, digital broadcast terminal, messaging devices, game console, tablet device, cured
Treat equipment, body-building equipment, personal digital assistant etc..
Reference picture 18, device 1800 can include following one or more assemblies:Processing component 1802, memory 1804,
Power supply module 1806, multimedia groupware 1808, audio-frequency assembly 1810, input/output (I/O) interface 1812, sensor cluster
1814, and communication component 1816.
The integrated operation of the usual control device 1800 of processing component 1802, such as communicated with display, call, data,
The operation that camera operation and record operation are associated.Processing component 1802 can include one or more processors 1820 to perform
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1802 can include one or more moulds
Block, the interaction being easy between processing component 1802 and other assemblies.For example, processing component 1802 can include multi-media module,
To facilitate the interaction between multimedia groupware 1808 and processing component 1802.
Memory 1804 is configured as storing various types of data to support the operation in device 1800.These data
Example includes being used for the instruction of any application program or method operated on device 1800, contact data, telephone book data,
Message, picture, video etc..Memory 1804 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1806 provides electric power for the various assemblies of device 1800.Power supply module 1806 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1800.
Multimedia groupware 1808 is included in the screen of one output interface of offer between device 1800 and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Touch-screen is may be implemented as, to receive the input signal from user.Touch panel includes one or more touch sensors
With the gesture on sensing touch, slip and touch panel.Touch sensor can the not only border of sensing touch or sliding action,
But also the duration and pressure that detection is related to touch or slide.In certain embodiments, multimedia groupware 1808
Including a front camera and/or rear camera.When device 1800 is in operator scheme, such as screening-mode or video mode
When, front camera and/or rear camera can receive outside multi-medium data.Each front camera and rearmounted shooting
Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1810 is configured as output and/or input audio signal.For example, audio-frequency assembly 1810 includes a wheat
Gram wind (MIC), when device 1800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The audio signal received can be further stored in memory 1804 or via communication
Component 1816 is sent.In certain embodiments, audio-frequency assembly 1810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1812 provide interface, above-mentioned peripheral interface module between processing component 1802 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1814 includes one or more sensors, and the state for providing various aspects for device 1800 is commented
Estimate.For example, sensor cluster 1814 can detect opening/closed mode of device 1800, the relative positioning of component, such as group
Part is the display and keypad of device 400, and sensor cluster 1814 can be with 1,800 1 groups of detection means 1800 or device
The position of part changes, the existence or non-existence that user contacts with device 1800, the orientation of device 1800 or acceleration/deceleration and device
1800 temperature change.Sensor cluster 1814 can include proximity transducer, be configured to connect in no any physics
The presence of object nearby is detected when touching.Sensor cluster 1814 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1814 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1816 is configured to facilitate the communication of wired or wireless way between device 1800 and other equipment.Dress
The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1800.It is exemplary at one
In embodiment, communication component 1816 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, communication component 1816 also includes near-field communication (NFC) module, to promote junction service.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1800 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned unblock operation processing side
Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1820 of device 1800.Example
Such as, non-transitorycomputer readable storage medium can be read-only memory (ROM), random access memory (RAM), read-only optical disc
(CD-ROM), tape, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer-readable recording medium for being stored with computer program, example are additionally provided
The memory of computer program is such as stored with, above computer program is realized in above-described embodiment 1 or 2 when being executed by processor
Unlock operation processing method.For example, computer-readable recording medium can be read-only memory (ROM), random access memory
(RAM), read-only optical disc (CD-ROM), tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (46)
1. one kind unblock operation processing method, it is characterised in that methods described includes:
Under holding state or screen lock state, when detecting unlocked by fingerprint operation, then it is corresponding to obtain the unlocked by fingerprint operation
Fingerprint;
When the fingerprint and the fingerprint prestored mismatch, then by the increase of fingerprint errors number once;
When the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained;
When the environmental information meets preparatory condition, then the unlocked by fingerprint operation is not performed, the preparatory condition is used to refer to
Show that the terminal surrounding has barrier.
2. according to the method for claim 1, it is characterised in that the environmental information for obtaining terminal includes:
The distance between the terminal and peripheral obstacle are obtained by range sensor, the distance is believed as the environment
Breath;And/or
The light intensity of the terminal surrounding is obtained by light sensor, using the light intensity as the environmental information.
3. according to the method for claim 1, it is characterised in that described not perform unlocked by fingerprint operation and include:
Show the first locking screen interface, first locking screen interface is used to prompting user need to carry out assigned operation and could input again to refer to
Line;
When being not detected by the assigned operation in the first preset duration, then first locking screen interface is hidden, and recover extremely
The holding state or the screen lock state.
4. according to the method for claim 1, it is characterised in that described not perform unlocked by fingerprint operation and include:
Keep the holding state or the screen lock state.
5. according to the method for claim 4, it is characterised in that it is described holding the holding state or the screen lock state it
Afterwards, methods described also includes:
When detect again unlocked by fingerprint operate, and it is described detect again unlocked by fingerprint operation corresponding to fingerprint with it is described pre-
When the fingerprint first stored mismatches, then continue to keep the holding state or the screen lock state, and the fingerprint mistake is secondary
Number increase is once.
6. according to the method for claim 5, it is characterised in that described to continue to keep the holding state or the screen locking shape
After state, methods described also includes:
When detecting the trigger action to specified button, then fingerprint miscue message is shown, the specified button is used for point
The screen of the bright terminal, the fingerprint miscue message are used to prompt user fingerprints input error.
7. according to the method for claim 5, it is characterised in that described to continue to keep the holding state or the screen locking shape
Before state, methods described also includes:
The environmental information of the terminal is obtained again;
When the environmental information obtained again meets the preparatory condition, then continue to keep the holding state or the lock
Screen state.
8. according to the method for claim 7, it is characterised in that after the environmental information for obtaining the terminal again,
Methods described also includes:
When the environmental information obtained again does not meet the preparatory condition, then fingerprint miscue message is shown, it is described
Fingerprint miscue message is used to prompt user fingerprints input error.
9. according to the method for claim 1, it is characterised in that it is described do not perform unlocked by fingerprint operation after, it is described
Method also includes:
When the fingerprint errors number is more than the second preset times, the second locking screen interface is shown, second locking screen interface is used
Specify slide in prompting user to be unlocked using password, second preset times are more than described first default time
Number;
When detecting the specified slide in the second preset duration, then password unlock interface, the password solution are shown
Lock interface is used to prompt user to input password unblock.
10. according to the method for claim 9, it is characterised in that after the second locking screen interface of the display, methods described is also
Including:
When being not detected by the specified slide in second preset duration, then second locking screen interface is hidden,
And recover to the holding state or the screen lock state.
11. according to the method for claim 1, it is characterised in that it is described do not perform unlocked by fingerprint operation after, it is described
Method also includes:
When the fingerprint errors number is more than the second preset times, the 3rd locking screen interface is shown, second preset times are big
In first preset times, the 3rd locking screen interface is used to prompt user to carry out pre-set button trigger action with using close
Code unblock;
When detecting the trigger action to the pre-set button in the 3rd preset duration, then password unlock interface, institute are shown
Password unlock interface is stated to be used to prompt user to input password unblock.
12. according to the method for claim 11, it is characterised in that after the 3rd locking screen interface of the display, methods described
Also include:
When being not detected by the trigger action to the pre-set button in the 3rd preset duration, then the 3rd lock is hidden
Shield interface, and recover to the holding state or the screen lock state.
13. the method according to claim 10 or 12, it is characterised in that described to recover to the holding state or the lock
After screen state, methods described also includes:
When detecting the trigger action to specified button, then main locking screen interface is shown, the specified button is used to lighting described
The screen of terminal, the main locking screen interface input the locking screen interface of fingerprint foregoing description terminal for first time.
14. the method according to claim 9 or 11, it is characterised in that methods described also includes:
While the password unlock interface is shown, it is aobvious that diminution is carried out to the Password Input region in the password unlock interface
Show.
15. the method according to claim 9 or 11, it is characterised in that the password unlock interface is pressed including the first function
Key, first function button be used for confirm complete password input, it is described display password unlock interface after, methods described is also
Including:
When detecting Password Input operation, but being not detected by the trigger action to first function button, then institute is not performed
State Password Input operation.
16. the method according to claim 9 or 11, it is characterised in that the password unlock interface is pressed including the second function
Key, second function button are used to re-enter password, and after the display password unlock interface, methods described also includes:
When the Password Input errors number is equal to three preset times, the Password Input in the password unlock interface is locked
Region;
When detecting the trigger action to second function button, then the Password Input region is unlocked.
17. the method according to claim 9 or 11, it is characterised in that after the display password unlock interface, the side
Method also includes:
Detect that Password Input operates;
When it is determined that Password Input operation is maloperation, then the password that the Password Input operation has inputted is emptied, or, not
The Password Input operation is performed, the display password unlock interface is hidden, recovers to the holding state or the screen locking shape
State.
18. according to the method for claim 17, it is characterised in that methods described also includes:
Before the Password Input operation is detected, when operation of the repeated detection to the same password of input or similar cipher,
Then determine that the Password Input operation is maloperation;Or,
During the Password Input operation is carried out, the Password Input region is grasped with the triggering of exterior domain when detecting
When making, it is determined that the Password Input operation is maloperation;Or,
Before Password Input operation is detected, when repeated detection is to the clicking operation of the terminal screen, then really
The fixed Password Input operation is maloperation;Or,
During the Password Input operation is carried out, when repeated detection is to during fingerprint input operation, it is determined that the password
Input operation is maloperation.
19. according to the method for claim 17, it is characterised in that described to recover to the holding state or the screen locking shape
After state, methods described also includes:
When detecting the trigger action to specified button, then continue to show the password unlock interface, the specified button is used
In the screen for lighting the terminal.
20. according to the method for claim 1, it is characterised in that it is described do not perform unlocked by fingerprint operation after, it is described
Method also includes:
When the fingerprint errors number is more than the second preset times, password unlock interface is shown, second preset times are big
In first preset times, the password unlock interface is used to prompt user to input password unblock;
When being not detected by the Password Input operation in the password unlock interface in the 4th preset duration, then hide described close
Code unlock interface, recovers to the holding state or the screen lock state;
When detecting the trigger action to specified button, then the second locking screen interface or the 3rd locking screen interface are shown, it is described to specify
Button is used for the screen for lighting the terminal, and second locking screen interface is used to prompt user to carry out specifying slide to use
Password unlocks, and the 3rd locking screen interface is used to prompt user to carry out trigger action to pre-set button to unlock using password.
21. according to the method for claim 20, it is characterised in that after the second locking screen interface of the display, methods described
Also include:
When detecting the specified slide in the second preset duration, then continue to show the password unlock interface.
22. according to the method for claim 20, it is characterised in that after the 3rd locking screen interface of the display, methods described
Also include:
When detecting the trigger action to the pre-set button in the 3rd preset duration, then continue to show the password unblock
Interface.
23. one kind unblock operation processing unit, it is characterised in that described device includes:
Acquisition module, under holding state or screen lock state, when detecting unlocked by fingerprint operation, then obtaining the fingerprint
Fingerprint corresponding to unblock operation;
Increase module, for when the fingerprint and the fingerprint that prestores mismatch, then by the increase of fingerprint errors number once;
The acquisition module, it is additionally operable to when the fingerprint errors number is more than the first preset times, then obtains the environment of terminal
Information;
Execution module, it is described pre- for when the environmental information meets preparatory condition, then not performing the unlocked by fingerprint operation
If condition is used to indicate that the terminal surrounding has barrier.
24. device according to claim 23, it is characterised in that the acquisition module, for being obtained by range sensor
The distance between the terminal and peripheral obstacle are taken, using the distance as the environmental information;And/or
The acquisition module, for obtaining the light intensity of the terminal surrounding by light sensor, by the light intensity
As the environmental information.
25. device according to claim 23, it is characterised in that the execution module, for showing the first locking screen interface,
First locking screen interface could input fingerprint again for prompting user to carry out assigned operation;When in the first preset duration
When being not detected by the assigned operation, then first locking screen interface is hidden, and recover to the holding state or the screen locking
State.
26. device according to claim 23, it is characterised in that the execution module, for keeping the holding state
Or the screen lock state.
27. device according to claim 26, it is characterised in that the increase module, be additionally operable to that finger ought be detected again
Line unblock operation, and fingerprint corresponding to the unlocked by fingerprint operation detected again mismatches with the fingerprint prestored
When, then continue to keep the holding state or the screen lock state, and by the fingerprint errors number increase once.
28. device according to claim 27, it is characterised in that described device also includes:
Display module, for when detecting the trigger action to specified button, then showing fingerprint miscue message, the finger
Determine the screen that button is used to light the terminal, the fingerprint miscue message is used to prompt user fingerprints input error.
29. device according to claim 27, it is characterised in that described device also includes:
The acquisition module, it is additionally operable to obtain the environmental information of the terminal again;
Module is kept, for when the environmental information obtained again meets the preparatory condition, then continuing to treat described in holding
Machine state or the screen lock state.
30. device according to claim 29, it is characterised in that the display module, be additionally operable to obtain again when described
Environmental information when not meeting the preparatory condition, then show fingerprint miscue message, the fingerprint miscue message is used
In prompting user fingerprints input error.
31. device according to claim 23, it is characterised in that
The display module, it is additionally operable to when the fingerprint errors number is more than the second preset times, shows the second locking screen interface,
Second locking screen interface is used to prompt user to carry out specified slide to unlock using password, and second preset times are big
In first preset times;
The display module, it is additionally operable to when detecting the specified slide in the second preset duration, then show password
Unlock interface, the password unlock interface are used to prompt user to input password unblock.
32. device according to claim 31, it is characterised in that described device also includes:
Hidden module, for when being not detected by the specified slide in second preset duration, then hiding described
Second locking screen interface, and recover to the holding state or the screen lock state.
33. device according to claim 23, it is characterised in that
The display module, it is additionally operable to when the fingerprint errors number is more than the second preset times, shows the 3rd locking screen interface,
Second preset times are more than first preset times, and the 3rd locking screen interface is used to prompt user to enter pre-set button
Row trigger action using password to be unlocked;
The display module, it is additionally operable to when detecting the trigger action to the pre-set button in the 3rd preset duration, then
Password unlock interface is shown, the password unlock interface is used to prompt user to input password unblock.
34. device according to claim 33, it is characterised in that the hidden module, be additionally operable to when pre- the described 3rd
If the trigger action to the pre-set button is not detected by duration, then the 3rd locking screen interface is hidden, and recover to institute
State holding state or the screen lock state.
35. the device according to claim 32 or 34, it is characterised in that the display module, be additionally operable to when detecting pair
During the trigger action of specified button, then main locking screen interface is shown, the specified button is used for the screen for lighting the terminal, described
Main locking screen interface inputs the locking screen interface of fingerprint foregoing description terminal for first time.
36. the device according to claim 31 or 33, it is characterised in that the display module, be additionally operable to described in display
While password unlock interface, diminution is carried out to the Password Input region in the password unlock interface and shown.
37. the device according to claim 31 or 33, it is characterised in that the password unlock interface is pressed including the first function
Key, first function button are used to confirm the input for completing password, the execution module, are additionally operable to that Password Input ought be detected
When operating, but being not detected by the trigger action to first function button, then the Password Input operation is not performed.
38. the device according to claim 31 or 33, it is characterised in that the password unlock interface is pressed including the second function
Key, second function button are used to re-enter password, and described device also includes:
Locking module, for when the Password Input errors number is equal to three preset times, locking the password unblock circle
Password Input region in face;
Unlocked state, for when detecting the trigger action to second function button, then unlocking the Password Input area
Domain.
39. the device according to claim 31 or 33, it is characterised in that described device also includes:
Detection module, for detecting that Password Input operates;
Module is emptied, for when it is determined that Password Input operation is maloperation, then it is defeated to empty the Password Input operation
The password entered;Or,
The execution module, it is additionally operable to not perform the Password Input operation, hides the display password unlock interface, recover extremely
The holding state or the screen lock state.
40. the device according to claim 39, it is characterised in that described device also includes:
Determining module, for before Password Input operation is detected, when repeated detection to the same password or similar of input
During the operation of password, it is determined that the Password Input operation is maloperation;Or,
The determining module, for during the Password Input operation is carried out, when detecting to the Password Input area
When domain is with the trigger action of exterior domain, it is determined that the Password Input operation is maloperation;Or,
The determining module, for before Password Input operation is detected, when repeated detection is to the terminal screen
Clicking operation when, it is determined that Password Input operation is maloperation;Or,
The determining module, for during the Password Input operation is carried out, when repeated detection to fingerprint input operation
When, it is determined that the Password Input operation is maloperation.
41. the device according to claim 39, it is characterised in that the display module, be additionally operable to detect to specifying
During the trigger action of button, then continue to show the password unlock interface, the specified button is used for the screen for lighting the terminal
Curtain.
42. device according to claim 23, it is characterised in that
The display module, it is additionally operable to when the fingerprint errors number is more than the second preset times, shows password unlock interface,
Second preset times are more than first preset times, and the password unlock interface is used to prompt user to input password solution
Lock;
The hidden module, it is additionally operable to work as the Password Input being not detected by the 4th preset duration in the password unlock interface
During operation, then the password unlock interface is hidden, is recovered to the holding state or the screen lock state;
The display module, it is additionally operable to when detecting the trigger action to specified button, then shows the second locking screen interface or
Three locking screen interfaces, the specified button are used for the screen for lighting the terminal, and second locking screen interface is used to prompt user to enter
To be unlocked using password, the 3rd locking screen interface is used to prompt user to carry out triggering behaviour to pre-set button the specified slide of row
Make to be unlocked using password.
43. device according to claim 42, it is characterised in that the display module, be additionally operable to when when second is default
When detecting the specified slide in length, then continue to show the password unlock interface.
44. device according to claim 42, it is characterised in that the display module, be additionally operable to when when the 3rd is default
When detecting the trigger action to the pre-set button in length, then continue to show the password unlock interface.
45. one kind unblock operation processing unit, it is characterised in that described device includes:
Processor;
For storing the memory of the executable instruction of processor;
Wherein, the processor is configured as:
Under holding state or screen lock state, when detecting unlocked by fingerprint operation, then it is corresponding to obtain the unlocked by fingerprint operation
Fingerprint;
When the fingerprint and the fingerprint prestored mismatch, then by the increase of fingerprint errors number once;
When the fingerprint errors number is more than the first preset times, then the environmental information of terminal is obtained;
When the environmental information meets preparatory condition, then the unlocked by fingerprint operation is not performed, the preparatory condition is used to refer to
Show that the terminal surrounding has barrier.
46. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium internal memory contains computer
Program, the computer program realize the method and step described in claim any one of 1-22 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710643936.XA CN107391995B (en) | 2017-07-31 | 2017-07-31 | Unlocking operation processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710643936.XA CN107391995B (en) | 2017-07-31 | 2017-07-31 | Unlocking operation processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107391995A true CN107391995A (en) | 2017-11-24 |
CN107391995B CN107391995B (en) | 2020-06-19 |
Family
ID=60343597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710643936.XA Active CN107391995B (en) | 2017-07-31 | 2017-07-31 | Unlocking operation processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391995B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038366A (en) * | 2018-01-31 | 2018-05-15 | 维沃移动通信有限公司 | A kind of processing method of unlocked by fingerprint operation, mobile terminal |
CN109144221A (en) * | 2018-07-17 | 2019-01-04 | Oppo广东移动通信有限公司 | Information cuing method, storage medium and electronic equipment |
CN109145565A (en) * | 2018-09-06 | 2019-01-04 | 河北地质大学 | Computer authorization start-up control method based on Internet of Things |
CN109194814A (en) * | 2018-07-17 | 2019-01-11 | 奇酷互联网络科技(深圳)有限公司 | The method and device of mobile terminal and unlocking screen |
CN109711135A (en) * | 2018-12-28 | 2019-05-03 | 努比亚技术有限公司 | A kind of method, terminal and the computer readable storage medium of the control of breath screen |
CN110472520A (en) * | 2019-07-24 | 2019-11-19 | 维沃移动通信有限公司 | A kind of personal identification method and mobile terminal |
CN112002036A (en) * | 2019-05-08 | 2020-11-27 | 杭州萤石软件有限公司 | Method and system for managing room based on linkage of sensor and intelligent lock |
CN112799497A (en) * | 2021-01-18 | 2021-05-14 | 北京小米移动软件有限公司 | Working mode control method and device of fingerprint module and storage medium |
CN112887487A (en) * | 2021-02-04 | 2021-06-01 | 维沃移动通信有限公司 | Electronic device, control method and control device for electronic device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201004271A (en) * | 2008-07-04 | 2010-01-16 | Hon Hai Prec Ind Co Ltd | Electronic device having anti-misoperation function of touch screen and anti-misoperation method thereof |
CN102970418A (en) * | 2012-11-05 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method for preventing mobile terminal from misoperation and mobile intelligent terminal |
CN103513917A (en) * | 2013-04-23 | 2014-01-15 | 展讯通信(上海)有限公司 | Touch control device, touch control device unlocking detection method and device, and touch control device unlocking method and device |
CN105843358A (en) * | 2016-03-18 | 2016-08-10 | 广东欧珀移动通信有限公司 | Information processing method and terminal |
CN106200879A (en) * | 2016-07-25 | 2016-12-07 | 深圳市万普拉斯科技有限公司 | A kind of fingerprint authentication method and electronic equipment |
CN106874744A (en) * | 2017-01-19 | 2017-06-20 | 深圳市金立通信设备有限公司 | A kind of method and terminal for preventing from missing locking terminal |
CN106911863A (en) * | 2017-04-24 | 2017-06-30 | 珠海市魅族科技有限公司 | A kind of false-touch prevention method and device of terminal |
-
2017
- 2017-07-31 CN CN201710643936.XA patent/CN107391995B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201004271A (en) * | 2008-07-04 | 2010-01-16 | Hon Hai Prec Ind Co Ltd | Electronic device having anti-misoperation function of touch screen and anti-misoperation method thereof |
CN102970418A (en) * | 2012-11-05 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method for preventing mobile terminal from misoperation and mobile intelligent terminal |
CN103513917A (en) * | 2013-04-23 | 2014-01-15 | 展讯通信(上海)有限公司 | Touch control device, touch control device unlocking detection method and device, and touch control device unlocking method and device |
CN105843358A (en) * | 2016-03-18 | 2016-08-10 | 广东欧珀移动通信有限公司 | Information processing method and terminal |
CN106200879A (en) * | 2016-07-25 | 2016-12-07 | 深圳市万普拉斯科技有限公司 | A kind of fingerprint authentication method and electronic equipment |
CN106874744A (en) * | 2017-01-19 | 2017-06-20 | 深圳市金立通信设备有限公司 | A kind of method and terminal for preventing from missing locking terminal |
CN106911863A (en) * | 2017-04-24 | 2017-06-30 | 珠海市魅族科技有限公司 | A kind of false-touch prevention method and device of terminal |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038366A (en) * | 2018-01-31 | 2018-05-15 | 维沃移动通信有限公司 | A kind of processing method of unlocked by fingerprint operation, mobile terminal |
CN109144221A (en) * | 2018-07-17 | 2019-01-04 | Oppo广东移动通信有限公司 | Information cuing method, storage medium and electronic equipment |
CN109194814A (en) * | 2018-07-17 | 2019-01-11 | 奇酷互联网络科技(深圳)有限公司 | The method and device of mobile terminal and unlocking screen |
CN109145565A (en) * | 2018-09-06 | 2019-01-04 | 河北地质大学 | Computer authorization start-up control method based on Internet of Things |
CN109711135A (en) * | 2018-12-28 | 2019-05-03 | 努比亚技术有限公司 | A kind of method, terminal and the computer readable storage medium of the control of breath screen |
CN112002036A (en) * | 2019-05-08 | 2020-11-27 | 杭州萤石软件有限公司 | Method and system for managing room based on linkage of sensor and intelligent lock |
CN112002036B (en) * | 2019-05-08 | 2022-12-02 | 杭州萤石软件有限公司 | Method and system for managing room based on linkage of sensor and intelligent lock |
CN110472520A (en) * | 2019-07-24 | 2019-11-19 | 维沃移动通信有限公司 | A kind of personal identification method and mobile terminal |
CN110472520B (en) * | 2019-07-24 | 2022-07-19 | 维沃移动通信有限公司 | Identity recognition method and mobile terminal |
CN112799497A (en) * | 2021-01-18 | 2021-05-14 | 北京小米移动软件有限公司 | Working mode control method and device of fingerprint module and storage medium |
CN112799497B (en) * | 2021-01-18 | 2024-06-07 | 北京小米移动软件有限公司 | Fingerprint module working mode control method, fingerprint module working mode control device and storage medium |
CN112887487A (en) * | 2021-02-04 | 2021-06-01 | 维沃移动通信有限公司 | Electronic device, control method and control device for electronic device, and storage medium |
CN112887487B (en) * | 2021-02-04 | 2021-11-02 | 维沃移动通信有限公司 | Electronic device, control method and control device for electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107391995B (en) | 2020-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391995A (en) | Unlock operation processing method and device | |
EP3012766B1 (en) | Method and apparatus for processing terminal anomaly | |
CN106778222A (en) | Unlocking method and device | |
CN104156071B (en) | Screen password is set, the method and device of lock screen is solved | |
CN104216742B (en) | Brush machine control method and device based on password | |
CN106407952A (en) | Fingerprint entry method and device | |
US20180157817A1 (en) | Unlocking method and apparatus, and storage medium | |
CN104376248B (en) | A kind of method and device that user's checking is carried out in interface for password input | |
CN106709306A (en) | Message reading method and apparatus | |
CN104063654B (en) | The monitoring method and device of application program | |
CN103092484A (en) | Method and device and terminal for unlocking screen | |
CN105956432A (en) | Unlocking method and device for mobile terminal, and mobile terminal | |
CN108319832A (en) | Unlocking method and device | |
CN107329862A (en) | Detection method, device and the terminal of keyboard | |
CN109325336A (en) | Unlocking method, device and computer readable storage medium | |
CN104331228A (en) | Screen locking method and device | |
CN104036165B (en) | Cipher processing method and device | |
CN108537096A (en) | Reminding method, device and the electronic equipment of fingerprint collecting position | |
CN106503628A (en) | method and device for fingerprint matching | |
CN106503516A (en) | Terminal, unlocked by fingerprint method and device | |
CN108022349A (en) | Information input method, equipment, smart lock and storage medium | |
CN107734178A (en) | Presentation of information processing method, device, equipment and storage medium | |
CN108133180A (en) | Fingerprint identification method, device and terminal | |
CN106529253A (en) | Unlocking method and apparatus, and terminal device | |
CN106066763A (en) | Terminal unlocking method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |