CN107423593A - Unlocked by fingerprint control method and device - Google Patents

Unlocked by fingerprint control method and device Download PDF

Info

Publication number
CN107423593A
CN107423593A CN201710129011.3A CN201710129011A CN107423593A CN 107423593 A CN107423593 A CN 107423593A CN 201710129011 A CN201710129011 A CN 201710129011A CN 107423593 A CN107423593 A CN 107423593A
Authority
CN
China
Prior art keywords
power key
state
timer
pressed
detect
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
Application number
CN201710129011.3A
Other languages
Chinese (zh)
Other versions
CN107423593B (en
Inventor
胡雁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710129011.3A priority Critical patent/CN107423593B/en
Publication of CN107423593A publication Critical patent/CN107423593A/en
Application granted granted Critical
Publication of CN107423593B publication Critical patent/CN107423593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Abstract

The present invention provides a kind of unlocked by fingerprint control method and device, wherein, this method includes:Judge whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and unlock, and start first timer;If detecting, whether the state of power key to be pressed, judges first timer in running status;If first timer in running status, preserves the state that power key is pressed;If before first timer expires, detect that the state of power key to lift, then removes the state that the power key preserved is pressed, do not perform operation corresponding with the state that power key is pressed.When the finger of user is placed on fingerprint sensor, and when pressing power key simultaneously, in fingerprint comparison success, it is determined that before first timer expires, and when detecting that power key lifts, remove the power key that detects and lift interrupt signal, and then the situation for the screen that avoids closing a terminal immediately when terminal screen is lighted in fingerprint comparison success.

Description

Unlocked by fingerprint control method and device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of unlocked by fingerprint control method and device.
Background technology
With the development of terminal technology, fingerprint technique has been widely applied in terminal.It can be set in terminal Fingerprint sensor, from the unblock that terminal is carried out by the way of fingerprint comparison.
In the prior art,, can be by fingerprint sensor and electricity from the point of view of space and function definition is saved in terminal Source key fitting, so as to which fingerprint sensor overlaps setting with power key.Fingerprint sensor in the finger down terminal of user, so as to Fingerprint sensor can gather the fingerprint of user, carry out fingerprint comparison;If fingerprint comparison success, lights terminal screen and solves Lock;If fingerprint comparison fail, holding go out screen state and it is short vibrations with represent unblock failure.
But in the prior art, because fingerprint sensor overlaps setting with power key, the finger of user is placed into fingerprint biography When on sensor, easily there is the situation for pressing power key simultaneously, so as to now light terminal in fingerprint comparison success When screen, can close a terminal screen immediately, and then produce maloperation.
The content of the invention
The invention provides unlocked by fingerprint control method and device, can solve the problem that the finger of user in the prior art is placed into When on fingerprint sensor, easily there is the situation for pressing power key simultaneously, the point so as to now successful in fingerprint comparison When bright terminal screen, can close a terminal screen immediately, and then the problem of generation maloperation.
It is an aspect of the present invention to provide a kind of unlocked by fingerprint control method, including:
Judge whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and unlock, and start the first timing Device;
The state of power key is detected, the state of the power key includes being pressed or lifting;
If detecting, whether the state of power key to be pressed, judges the first timer in running status;
If the first timer in running status, preserves the state that the power key is pressed;
Before the first timer expires, continue to detect the state of the power key,
If before the first timer expires, detect that the state of the power key to lift, is then removed and preserved The state that is pressed of the power key, do not perform operation corresponding with the state that the power key is pressed.
Another aspect of the present invention there is provided a kind of unlocked by fingerprint control device, applied to fingerprint sensor and power key The terminal of fitting, including:
First judge module, for judging whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and solve Lock, and start first timer;
First detection module, for detecting the state of power key, the state of the power key includes being pressed or lifting;
Second judge module, if for detecting the state of power key to be pressed, judge that the first timer is It is no in running status;
Preserving module, if for the first timer in running status, preserve the shape that the power key is pressed State;
Second detection module, for before the first timer expires, continuing to detect the state of the power key;
First removes module, if for before the first timer expires, the state for detecting the power key is Lift, then remove the state that the power key preserved is pressed, do not perform corresponding with the state that the power key is pressed Operation.
The aspect again of the present invention there is provided a kind of terminal, and unlocked by fingerprint control as described above is provided with the terminal Device.
The technique effect of the present invention comprises at least following several aspects:Fingerprint ratio of the present embodiment by user in terminal During to success, one first timer of deactivation, detecting the state of power key to be pressed and first timer Shang Yun When in row state, if before first timer expires, the state for detecting power key is to lift, it is possible to for first The state that power key is pressed is detected when beginning, does not go to perform and the corresponding operation of the state.So as in the finger of user When being placed on fingerprint sensor, and when pressing power key simultaneously, in fingerprint comparison success, it is determined that in the first timing Before device expires, and when detecting that power key lifts, remove the power key detected and lift interrupt signal, and then avoid in fingerprint ratio Can close a terminal when lighting terminal screen the situation of screen immediately to success, and then avoid the phenomenon of this maloperation.So as to When the finger of user is placed on fingerprint sensor, and when pressing power key simultaneously, in fingerprint comparison success, really When being scheduled on before first timer expires, and detecting that power key lifts, remove the power key detected and lift interrupt signal, and then The situation in fingerprint comparison success and the screen that can close a terminal immediately when lighting terminal screen is avoided, and then avoids this maloperation Phenomenon.
Brief description of the drawings
Fig. 1 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention two provides;
Fig. 3 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention three provides;
Fig. 4 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention four provides;
Fig. 5 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention five provides;
Fig. 6 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention six provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention one provides, as shown in figure 1, the present embodiment Method, including:
Step 101, judge whether fingerprint comparison succeeds.
In the present embodiment, specifically, the method that the present embodiment provides is applied in terminal, and the terminal is fingerprint sensing The terminal that device is bonded with power key, this Terminal Type for example have mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (Mobile Internet Device, abbreviation MID), wearable device etc..
Fingerprint sensor and power key are subjected to fitting setting in terminal, terminal allows fingerprint sensor to go to wake up terminal System.The finger of user is put on fingerprint sensor, terminal triggering fingerprint comparison flow, go to judge fingerprint comparison whether into Work(.
If step 108, fingerprint comparison fail, terminal is kept to go out screen state and short vibrations, to prompt user fingerprints to compare Failure.
In the present embodiment, if specifically, fingerprint comparison fails, the state for the screen that goes out for keeping terminal current is needed, Terminal carries out vibrations in short-term simultaneously, and the time of vibrations and frequency are set according to different terminals or different environment scenes, It is not specifically limited, and then it is failure to go to prompt the result of a user now fingerprint comparison.Now it is not carried out step 103- Step 107.
If the success of step 102, fingerprint comparison, lights screen and unlocks, and start first timer.
In the present embodiment, if specifically, fingerprint comparison success, terminal determine to light terminal screen and unlock, together When terminal start a disposable first timer timer1.Wherein, first timer timer1 setting time A determines Justice can be set according to actual conditions, and the present embodiment is not any limitation as.For example, first timer timer1 can be 2 seconds Timer.Then after step 102, q8u performs step 103- steps 107.
Step 103, the state for detecting power key, the state of power key include being pressed or lifting.
In the present embodiment, specifically, during the fingerprint comparison of step 101, because user may go simultaneously The power key of terminal is pressed, terminal needs to detect the state of power key.Wherein, the state of power key includes being pressed or lifting, When the state of power key is is pressed, terminal can detect that power key presses interrupt signal, when the state of power key is When lifting, terminal can detect that power key lifts interrupt signal.
If whether step 104, the state for detecting power key judge first timer in running status to be pressed In.
In the present embodiment, if specifically, terminal detects that power key presses interrupt signal, illustrate that terminal detects electricity The state of source key is is pressed, and now whether terminal just needs to judge lower first timer timer1 in running status.
If step 105, first timer in running status, preserve the state that power key is pressed.
In the present embodiment, if specifically, terminal detects first timer timer1 in running status, so that it is determined that Finger contact fingerprint sensor physically triggers the time interval of interrupt signal to power key, more than or equal to fingerprint collecting with comparing Time sum, but the setting time A less than first timer timer1, that is, determine that power key is pressed with slower speed.So Terminal just needs first to preserve the state that the power key detected in step 104 is pressed.Such as terminal is established one and faced When memory block, the state that the power key detected in step 104 is pressed is preserved.
Step 106, before first timer expires, continue detect power key state.
In the present embodiment, specifically, now because first timer timer1 not yet expires, then in first timer Before timer1 expires, terminal still needs the lasting state for going to detect power key to be pressed or lift.
If step 107, before first timer expires, detect that the state of power key to lift, is then removed and preserved The state that is pressed of power key, do not perform operation corresponding with the state that power key is pressed.
In the present embodiment, if specifically, terminal before first timer timer1 expires, detects power key lift Play interrupt signal, then illustrate user no longer according to power key, now to lift, terminal needs not perform the state of power key Operation corresponding with the state that the power key detected in step 103 is pressed, while remove the power key preserved in step 105 The information for the state being pressed.Now because terminal does not perform the state pair being pressed with the power key detected in step 103 The operation answered, in this manner it is possible to avoid the feelings in fingerprint comparison success and the screen that can close a terminal immediately when lighting terminal screen Condition.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is still in running status, if expiring it in first timer Before, detect the state of power key to lift, it is possible to for it is initial when detect state that power key is pressed, no Go to perform and the corresponding operation of the state.So that when the finger of user is placed on fingerprint sensor, and press simultaneously During power key, in fingerprint comparison success, it is determined that before first timer expires, and when detecting that power key lifts, remove The power key detected lifts interrupt signal, and then avoids to close immediately end when terminal screen is lighted in fingerprint comparison success The situation of screen is held, and then avoids the phenomenon of this maloperation.
Fig. 2 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention two provides, on the basis of embodiment one, As shown in Fig. 2 the method for the present embodiment, in addition to:
If step 201, before first timer expires, detect the state of power key still to press, then it is fixed first When device when expiring, detect the state of power key.
In the present embodiment, specifically, after the step 106 of embodiment one, terminal arrives in first timer timer1 Before phase, continue to detect the state of power key, if detecting power key presses interrupt signal, illustrate to detect power key State is still to press.Now, step 107 is not performed.As first timer timer1 operation is, it is necessary in first timer When timer1 expires, the state that terminal goes to detect power key is to be lifted or press.
If step 202, when first timer expires, detect that the state of power key to lift, then removes what is preserved The state that power key is pressed, operation corresponding with the state that power key is pressed is not performed.
In the present embodiment, specifically, after step 201, terminal is when first timer timer1 expires, if detection Power key is arrived and has lifted interrupt signal, the state for illustrating to detect power key is lifts, and now user is not according to terminal Power key.Then, terminal needs not perform operation corresponding with the state that the power key in step 103 is pressed, and needs simultaneously Remove the information for the state that the power key preserved in step 105 is pressed.So, likewise, because terminal does not perform Operation corresponding with the state that the power key detected in step 103 is pressed, it is possible to avoid succeeding and point in fingerprint comparison Can close a terminal the situation of screen immediately during bright terminal screen.
If step 203, when first timer expires, detect that the state of power key to press, then starts the second timing Device.
In the present embodiment, specifically, after step 201, terminal is when first timer timer1 expires, if detection Arrived power key and pressed interrupt signal, illustrated that the state for detecting power key is still and be pressed, now user still according to The power key of terminal.Then, terminal can start first second timer timer2, second timer timer2 setting Time B definition can be set according to actual conditions, and the present embodiment is not any limitation as.For example, second timer Timer1 can be the timer of 2 seconds.
Step 202 is now not carried out, then needs to perform step 204.
Step 204, before second timer expires, continue detect power key state.
In the present embodiment, specifically, after step 203, within the time of second timer timer2 operations, terminal Need before second timer timer2 expires, continue to detect the status signal of power key, and then determine the state of power key.
If step 205, before second timer expires, detect that the state of power key to lift, then removes what is preserved The state that power key is pressed, operation corresponding with the state that power key is pressed is not performed.
In the present embodiment, specifically, after step 204, if terminal before second timer expires, detects electricity Source key lifts interrupt signal, then explanation detects power key and is no longer pressed, and now, the state of power key is to lift.Then, Terminal avoids the need for performing operation corresponding with the state that the power key in step 103 is pressed, while needs to remove in step The information for the state that the power key preserved in rapid 105 is pressed.That is, likewise, as step 107, step 202, do not go Perform operation corresponding with the state that the power key in step 103 is pressed.
If step 206, before second timer expires, detect the state of power key still to be pressed, then it is fixed second When device when expiring, detect the state of power key.
In the present embodiment, specifically, after step 204, if terminal before second timer timer expires, according to So lasting detect is that power key presses interrupt signal, then illustrates power key still by user according to the then shape of power key State is still to be pressed.So, terminal still needs when second timer timer2 expires, to remove the state letter for detecting power key Number, that is, detect power key state.Step 205 is now not carried out, after step 206, it is necessary to perform step 207 or step 208。
If step 207, when second timer expires, detect that the state of power key to lift, then removes what is preserved The state that power key is pressed, operation corresponding with the state that power key is pressed is not performed.
In the present embodiment, specifically, after step 206, if terminal when second timer timer2 expires, detection Arrive power key and pressed interrupt signal, illustrate user no longer according to the power key of terminal, now the state of power key is to lift. Then, terminal also without go to perform it is corresponding with the state that the power key in step 103 is pressed operate, while need to remove The information for the state that the power key preserved in step 105 is pressed.
If step 208, when second timer expires, the state for detecting power key is still the state being pressed, then touches Energy source bond distance presses action response.
In the present embodiment, specifically, after step 206, terminal is still held when second timer timer2 expires Continuous detect is that power key presses interrupt signal, then illustrates power key still by user according to the state of power key is still The state being pressed.Then, terminal can triggering power key long-press action response.Wherein, power key long-press action response can Including:If terminal screen is screen state of going out, terminal screen is lighted;If terminal screen is bright screen state, display shutdown, restart Operation interface.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is still in running status, if expiring it in first timer Before, detect the state of power key to lift, it is possible to for it is initial when detect state that power key is pressed, no Go to perform and the corresponding operation of the state.Now, due to when first timer expires, being lifted if detecting power key , then remove the power key detected and lift interrupt signal, and then avoid the meeting when terminal screen is lighted in fingerprint comparison success Close a terminal immediately the situation of screen.Then, if first timer expires, detect that the state of power key to press, then opens A second timer is moved, likewise, before second timer expires, if the state for detecting power key is not held to lift Row operation corresponding with the state that power key is pressed;When second timer expires, if the state for detecting power key is lift Rise, then do not perform operation corresponding with the state that power key is pressed;If when second timer expires, power key is detected State is still the state being pressed, then triggers power key long-press action response.By setting second timer and first timer The mode of cooperation, can recognize that power key and be pressed during timer1 with slower speed and lifted during timer2 or Person keeps the situation of down state in timer1 and timer2, so as in the case of pressing and lifting more slowly, do not perform with Operated corresponding to the state that power key is pressed, guarantee avoids to close immediately when terminal screen is lighted in fingerprint comparison success The situation of terminal screen, in the case of keeping pressing during timer1 and timer2, the long-press response of triggering terminal, pass through The cooperation of two timers, the different power supply key operations of user in the case of false triggering is avoided, can be made corresponding Logical response.
Fig. 3 is the flow chart for the unlocked by fingerprint control method that the embodiment of the present invention three provides, on the basis of embodiment one, As shown in figure 3, the method for the present embodiment, in addition to:
If step 301, first timer not in running status, start the 3rd timer.
In the present embodiment, specifically, after the step 104 of embodiment one, if terminal detects first timer Timer1 is not among running status, and now, first timer can be the state do not opened or the shape having already passed through State, it may be determined that currently meet the one of which in several states, the first state is to contact fingerprint sensor to electricity from finger Source key physically triggers the time interval of interrupt signal, less than fingerprint collecting and comparison time sum, wherein, fingerprint collecting with than To time sum typically within 500ms, in this case, show that power key is pressed rapidly;Second of state is from hand Abutment sensor physically triggers the time interval of interrupt signal to power key, more than or equal to setting for first timer timer1 Fix time A, in this case, shows that power key is slowly pressed;The third state is fingerprint comparison failure, now first Timer timer1 does not start;4th kind of state is first timer timer1 end of runs.Determine first timer Timer1 determines that first timer timer1 is in state not actuated or out of date, shows power supply not in running status Key press rapidly slowly press very much or fingerprint comparison failure, then, it is necessary to start a 3rd timer timer3.This When be not carried out step 105-107.
Step 302, before the 3rd timer expires, continue detect power key state.
In the present embodiment, specifically, after step 301, terminal can be in the 3rd timer timer3 running In, the status signal of lasting detection power key, and then before the 3rd timer timer3 expires, the lasting detection electricity of terminal The state of source key is pressed or lifted.After step 302, step 303 or step 304 can be performed.
If step 303, before the 3rd timer expires, detect that the state of power key to lift, then it is short to trigger power key By action response.
In the present embodiment, specifically, after step 302, terminal is before the 3rd timer timer3 expires, if inspection Measure power key and lifted interrupt signal, then illustrate user no longer according to power key, now the state of power key is to lift.So Afterwards, terminal can triggering power key short-press action response.Wherein, power key short-press action response may include:If end panel Curtain is screen state of going out, then lights terminal screen;If terminal screen is bright screen state, fingerprint comparison success, then close before showing Terminal screen.
If step 304, before the 3rd timer expires, detect the state of power key still to be pressed, then it is fixed the 3rd When device when expiring, detect the state of power key.
In the present embodiment, specifically, after step 302, if terminal before the 3rd timer timer3 expires, according to What is be so continuously detected is that power key presses interrupt signal, then illustrates that power key is constantly in the state being pressed, now, power supply The state of key is still to be pressed.So terminal still needs when the 3rd timer timer3 expires, to remove the shape for detecting power key State signal, that is, the state for going to detect power key is to be lifted or press.Then, it is necessary to perform step 305 or step 306.
If step 305, when the 3rd timer expires, detect that the state of power key to lift, then it is short to trigger power key By action response.
In the present embodiment, specifically, after the step 304, if terminal when the 3rd timer timer3 expires, detection Arrive power key and lifted interrupt signal, then illustrate user no longer according to power key, now the state of power key is to lift.So Afterwards, terminal can triggering power key short-press action response.
If step 306, when the 3rd timer expires, detect that the state of power key still to be pressed, then triggers power supply Bond distance presses action response.
In the present embodiment, specifically, after the step 304, if terminal when the 3rd timer timer3 expires, still What is be continuously detected is that power key presses interrupt signal, then illustrates user still according to power key, and now the state of power key is still To be pressed.Then, terminal can triggering power key long-press action response.Wherein, power key long-press action response can wrap Include:If terminal screen is screen state of going out, terminal screen is lighted;If terminal screen is bright screen state, fingerprint comparison before showing Success, then show shutdown, reboot operation interface, so as to prompt user to perform shutdown, restart action.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is not in running status, one the 3rd timer of deactivation; Before the 3rd timer expires, detect that the state of power key to lift, then triggers power key short-press action response;It is fixed the 3rd When device expire before, detect the state of power key still to be pressed, then when being expired in the 3rd timer, detect power key Then state triggers power key short-press action response to lift, relatively previous short-press response is slow;Expired in the 3rd timer When, detect that the state of power key still to be pressed, then triggers power key long-press action response, very slowly pressed.Pass through The cooperation of the 3rd timer and first timer of setting, the terminal being bonded for power key and fingerprint sensor, identifies user The push (for example, press rapidly, slowly press, slowly pressing very much) of different types of power key, optimization power key and The processing logic to terminal light on and off screen of fingerprint sensor, correct response is operated for different type, and then ensure power key not Touched by the false touch of user and produce some unnecessary operations.
Further, on the basis of above-described embodiment, if fingerprint comparison success in a step 101, lights screen And unlock, and before starting first timer, in addition to:
Judge the 3rd timer whether in running status;
If it is determined that the 3rd timer not in running status, if then performing the fingerprint comparison success in step 101, is lighted Screen simultaneously unlocks, and the step of start first timer;
If it is determined that the 3rd timer in running status, if not performing the fingerprint comparison success in step 101 then, is lighted Screen simultaneously unlocks, and the step of start first timer, is directly unlocked.
Specifically, due to before first timer timer1 is started, it is also possible to had been started up the 3rd timer Timer3, then in a step 101 fingerprint comparison success after, it is also necessary to first go whether to judge the 3rd timer timer3 Whether whether end of run not yet starts, and then judge the 3rd timer timer3 in running status.If terminal is true The 3rd timer timer3 is made not in running status, now the 3rd timer timer3 not yet may start or transport Row finishes, then can is gone to perform it is determined that fingerprint comparison success, goes to light the screen of terminal and unblock, while starts the One timer timer1 process, and then go to perform each step after step 103.Terminal is if it is determined that the 3rd timer Timer3 is still in running status, then terminal avoids the need for performing it is determined that fingerprint comparison success, goes to light the screen of terminal And unlock, while start first timer timer1 process, now, terminal can perform each step in embodiment three.
Fig. 4 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention four provides, as shown in figure 4, this reality The device for applying example is applied to the terminal that fingerprint sensor is bonded with power key, and the device of the present embodiment includes:
First judge module 41, for judging whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and solve Lock, and start first timer;
First detection module 42, for detecting the state of power key, the state of power key includes being pressed or lifting;
Second judge module 43, if for detecting the state of power key to be pressed, whether judge first timer In running status;
Preserving module 44, if for first timer in running status, preserve the state that power key is pressed;
Second detection module 45, for before first timer expires, continuing the state of detection power key;
First removes module 46, if for before first timer expires, detecting the state of power key to lift, then The state that the power key preserved is pressed is removed, does not perform operation corresponding with the state that power key is pressed.
The unlocked by fingerprint control device of the present embodiment can perform the unlocked by fingerprint control method that the embodiment of the present invention one provides, Its realization principle is similar, and here is omitted.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is still in running status, if expiring it in first timer Before, detect the state of power key to lift, it is possible to for it is initial when detect state that power key is pressed, no Go to perform and the corresponding operation of the state.So that when the finger of user is placed on fingerprint sensor, and press simultaneously During power key, in fingerprint comparison success, it is determined that before first timer expires, and when detecting that power key lifts, remove The power key detected lifts interrupt signal, and then avoids to close immediately end when terminal screen is lighted in fingerprint comparison success The situation of screen is held, and then avoids the phenomenon of this maloperation.
Fig. 5 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention five provides, in the base of example IV On plinth, as shown in figure 5, the device of the present embodiment, in addition to:
3rd detection module 51, for being connected with the second detection module 45, if before first timer expires, detect The state of power key still to press, then when first timer expires, detects the state of power key;
Second removes module 52, for being connected with the 3rd detection module 51, if when first timer expires, detects electricity The state of source key then removes the state that the power key preserved is pressed, does not perform the state being pressed with power key to lift Corresponding operation.
First starting module 53, for being connected with the 3rd detection module 51, if when first timer expires, detect electricity The state of source key then starts second timer to press;
4th detection module 54, for being connected with the first starting module 53, before second timer expires, continue detection electricity The state of source key;
3rd removes module 55, for being connected with the 4th detection module 54, if before second timer expires, detects electricity The state of source key then removes the state that the power key preserved is pressed, does not perform the state being pressed with power key to lift Corresponding operation;
5th detection module 56, for being connected with the 4th detection module 54, if before second timer expires, detect electricity The state of source key still to be pressed, then when second timer expires, detects the state of power key;
6th detection module 57, for being connected with the 5th detection module 56, if when second timer expires, detect electricity The state of source key then removes the state that the power key preserved is pressed, does not perform the state being pressed with power key to lift Corresponding operation;
First trigger module 58, for being connected with the 5th detection module 56, if when second timer expires, detect electricity The state of source key is still the state being pressed, then triggers power key long-press action response.
The unlocked by fingerprint control device of the present embodiment can perform the unlocked by fingerprint control method that the embodiment of the present invention two provides, Its realization principle is similar, and here is omitted.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is still in running status, if expiring it in first timer Before, detect the state of power key to lift, it is possible to for it is initial when detect state that power key is pressed, no Go to perform and the corresponding operation of the state.Now, due to when first timer expires, being lifted if detecting power key , then remove the power key detected and lift interrupt signal, and then avoid the meeting when terminal screen is lighted in fingerprint comparison success Close a terminal immediately the situation of screen.Then, if first timer expires, detect that the state of power key to press, then opens A second timer is moved, likewise, before second timer expires, if the state for detecting power key is not held to lift Row operation corresponding with the state that power key is pressed;When second timer expires, if the state for detecting power key is lift Rise, then do not perform operation corresponding with the state that power key is pressed;If when second timer expires, power key is detected State is still the state being pressed, then triggers power key long-press action response.By setting second timer and first timer The mode of cooperation, can recognize that power key and be pressed during timer1 with slower speed and lifted during timer2 or Person keeps the situation of down state in timer1 and timer2, so as in the case of pressing and lifting more slowly, do not perform with Operated corresponding to the state that power key is pressed, guarantee avoids to close immediately when terminal screen is lighted in fingerprint comparison success The situation of terminal screen, in the case of keeping pressing during timer1 and timer2, the long-press response of triggering terminal, pass through The cooperation of two timers, the different power supply key operations of user in the case of false triggering is avoided, can be made corresponding Logical response.
Fig. 6 is the structural representation for the unlocked by fingerprint control device that the embodiment of the present invention six provides, in example IV and reality On the basis of applying example five, as shown in fig. 6, the device of the present embodiment, in addition to:
Second starting module 61, for being connected with the second judge module 43, if first timer not in running status, Start the 3rd timer;
7th detection module 62, for being connected with the second starting module 61, before the 3rd timer expires, continue to detect The state of power key;
Second trigger module 63, for being connected with the 7th detection module 62, if before the 3rd timer expires, detect electricity The state of source key then triggers power key short-press action response to lift.
8th detection module 64, for being connected with the 7th detection module 62, if before the 3rd timer expires, detect electricity The state of source key still to be pressed, then when the 3rd timer expires, detects the state of power key;
3rd trigger module 65, for being connected with the 8th detection module 64, if when the 3rd timer expires, detect electricity The state of source key then triggers power key short-press action response to lift;
4th trigger module 66, for being connected with the 8th detection module 64, if when the 3rd timer expires, detect electricity The state of source key then triggers power key long-press action response still to be pressed.
Wherein, the first judge module 41, is additionally operable to:
If in fingerprint comparison success, light screen and unlock, and before starting first timer, judge that the 3rd determines When device whether in running status;
If it is determined that the 3rd timer not in running status, if then performing fingerprint comparison success, is lighted screen and unlocked, And the step of starting first timer;
If it is determined that the 3rd timer in running status, if not performing fingerprint comparison success then, is lighted screen and unlocked, And the step of starting first timer, directly it is unlocked.
The unlocked by fingerprint control device of the present embodiment can perform the unlocked by fingerprint control method that the embodiment of the present invention three provides, Its realization principle is similar, and here is omitted.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is not in running status, one the 3rd timer of deactivation; Before the 3rd timer expires, detect that the state of power key to lift, then triggers power key short-press action response;It is fixed the 3rd When device expire before, detect the state of power key still to be pressed, then when being expired in the 3rd timer, detect power key Then state triggers power key short-press action response to lift, relatively previous short-press response is slow;Expired in the 3rd timer When, detect that the state of power key still to be pressed, then triggers power key long-press action response, very slowly pressed.Pass through The cooperation of the 3rd timer and first timer of setting, the terminal being bonded for power key and fingerprint sensor, identifies user The push (for example, press rapidly, slowly press, slowly pressing very much) of different types of power key, optimization power key and The processing logic to terminal light on and off screen of fingerprint sensor, correct response is operated for different type, and then ensure power key not Touched by the false touch of user and produce some unnecessary operations.
The embodiment of the present invention seven provides a kind of terminal, and the unlocked by fingerprint control for being performed as described above and being provided in example is provided with terminal Device processed.
In the present embodiment, specifically, being provided with what is provided in example IV, embodiment five, embodiment six in terminal Unlocked by fingerprint control device.
The unlocked by fingerprint control device of the present embodiment can perform the embodiment of the present invention four, embodiment five, embodiment six and provide Unlocked by fingerprint control device, its realization principle is similar, and here is omitted.
The present embodiment, in the fingerprint comparison success in terminal, one first timer of deactivation, is being detected by user To power key state to be pressed and when first timer is still in running status, if expiring it in first timer Before, detect the state of power key to lift, it is possible to for it is initial when detect state that power key is pressed, no Go to perform and the corresponding operation of the state.So that when the finger of user is placed on fingerprint sensor, and press simultaneously During power key, in fingerprint comparison success, it is determined that before first timer expires, and when detecting that power key lifts, remove The power key detected lifts interrupt signal, and then avoids to close immediately end when terminal screen is lighted in fingerprint comparison success The situation of screen is held, and then avoids the phenomenon of this maloperation.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. a kind of unlocked by fingerprint control method, it is characterised in that the terminal being bonded applied to fingerprint sensor with power key, bag Include:
Judge whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and unlock, and start first timer;
The state of power key is detected, the state of the power key includes being pressed or lifting;
If detecting, whether the state of power key to be pressed, judges the first timer in running status;
If the first timer in running status, preserves the state that the power key is pressed;
Before the first timer expires, continue to detect the state of the power key;
If before the first timer expires, detect that the state of the power key to lift, then removes the institute preserved The state that power key is pressed is stated, does not perform operation corresponding with the state that the power key is pressed.
2. according to the method for claim 1, it is characterised in that methods described also includes:
If before the first timer expires, detect the state of the power key still to press, then it is fixed described first When device when expiring, detect the state of the power key;
If when the first timer expires, detect the state of the power key to lift, then remove preserved it is described The state that power key is pressed, operation corresponding with the state that the power key is pressed is not performed.
3. according to the method for claim 2, it is characterised in that methods described also includes:
If when the first timer expires, detect that the state of the power key to press, then starts second timer;
Before the second timer expires, continue to detect the state of the power key;
If before the second timer expires, detect the state of the power key to lift, then remove preserved it is described The state that power key is pressed, operation corresponding with the state that the power key is pressed is not performed;
If before the second timer expires, detect the state of the power key still to be pressed, then it is fixed described second When device when expiring, detect the state of the power key;
If when the second timer expires, detect the state of the power key to lift, then remove preserved it is described The state that power key is pressed, operation corresponding with the state that the power key is pressed is not performed;
If when the second timer expires, the state for detecting the power key is still the state being pressed, then triggering electricity Source bond distance presses action response.
4. according to the method described in claim any one of 1-3, it is characterised in that also include:
If the first timer not in running status, starts the 3rd timer;
Before the 3rd timer expires, continue to detect the state of the power key;
If before the 3rd timer expires, the state of the power key is detected to lift, then triggers power key short-press and move Respond.
5. according to the method for claim 4, it is characterised in that also include:
If before the 3rd timer expires, detect the state of the power key still to be pressed, then it is fixed the described 3rd When device when expiring, detect the state of the power key;
If when the 3rd timer expires, the state of the power key is detected to lift, then triggers power key short-press and move Respond;
If when the 3rd timer expires, detect that the state of the power key still to be pressed, then triggers power supply bond distance By action response.
6. according to the method for claim 4, it is characterised in that if in fingerprint comparison success, light screen and solve Lock, and before starting first timer, in addition to:
Judge the 3rd timer whether in running status;
If it is determined that the 3rd timer not in running status, if then performing the fingerprint comparison success, lights screen simultaneously The step of unlocking, and starting first timer;
If it is determined that the 3rd timer in running status, if not performing the fingerprint comparison success then, lights screen simultaneously The step of unlocking, and starting first timer, is unlocked.
7. a kind of unlocked by fingerprint control device, it is characterised in that the terminal being bonded applied to fingerprint sensor with power key, bag Include:
First judge module, for judging whether fingerprint comparison succeeds, if fingerprint comparison success, lights screen and unlocks, and Start first timer;
First detection module, for detecting the state of power key, the state of the power key includes being pressed or lifting;
Second judge module, if for detecting the state of power key to be pressed, judge the first timer whether In running status;
Preserving module, if for the first timer in running status, preserve the state that the power key is pressed;
Second detection module, for before the first timer expires, continuing to detect the state of the power key;
First removes module, if for before the first timer expires, detecting the state of the power key to lift, The state that the power key preserved is pressed then is removed, does not perform behaviour corresponding with the state that the power key is pressed Make.
8. device according to claim 7, it is characterised in that described device also includes:
3rd detection module, for being connected with second detection module, if before the first timer expires, detect The state of the power key still to press, then when the first timer expires, detects the state of the power key;
Second removes module, for being connected with the 3rd detection module, if when the first timer expires, detects institute The state of power key is stated to lift, then removes the state that the power key preserved is pressed, does not perform and the power key Operated corresponding to the state being pressed.
9. device according to claim 8, it is characterised in that described device also includes:
First starting module, for being connected with the 3rd detection module, if when the first timer expires, detect institute The state of power key is stated to press, then starts second timer;
4th detection module, for being connected with first starting module, before the second timer expires, continue to detect institute State the state of power key;
3rd removes module, for being connected with the 4th detection module, if before the second timer expires, detects institute The state of power key is stated to lift, then removes the state that the power key preserved is pressed, does not perform and the power key Operated corresponding to the state being pressed;
5th detection module, for being connected with the 4th detection module, if before the second timer expires, detect institute The state of power key is stated still to be pressed, then when the second timer expires, detects the state of the power key;
6th detection module, for being connected with the 5th detection module, if when the second timer expires, detect institute The state of power key is stated to lift, then removes the state that the power key preserved is pressed, does not perform and the power key Operated corresponding to the state being pressed;
First trigger module, for being connected with the 5th detection module, if when the second timer expires, detect institute The state for stating power key is still the state being pressed, then triggers power key long-press action response.
10. according to the device described in claim any one of 7-9, it is characterised in that described device also includes:
Second starting module, for being connected with second judge module, if the first timer not in running status, Start the 3rd timer;
7th detection module, for being connected with second starting module, before the 3rd timer expires, continue to detect The state of the power key;
Second trigger module, for being connected with the 7th detection module, if before the 3rd timer expires, detect institute The state of power key is stated to lift, then triggers power key short-press action response.
11. device according to claim 10, it is characterised in that described device also includes:
8th detection module, for being connected with the 7th detection module, if before the 3rd timer expires, detect institute The state of power key is stated still to be pressed, then when the 3rd timer expires, detects the state of the power key;
3rd trigger module, for being connected with the 8th detection module, if when the 3rd timer expires, detect institute The state of power key is stated to lift, then triggers power key short-press action response;
4th trigger module, for being connected with the 8th detection module, if when the 3rd timer expires, detect institute The state of power key is stated still to be pressed, then triggers power key long-press action response.
12. device according to claim 10, it is characterised in that the first judge module, be additionally operable to:If in the fingerprint ratio To success, then light screen and unlock, and before starting first timer,
Judge the 3rd timer whether in running status;
If it is determined that the 3rd timer not in running status, if then performing the fingerprint comparison success, lights screen simultaneously The step of unlocking, and starting first timer;
If it is determined that the 3rd timer in running status, if not performing the fingerprint comparison success then, lights screen simultaneously The step of unlocking, and starting first timer, is unlocked.
CN201710129011.3A 2017-03-06 2017-03-06 Fingerprint unlocking control method and device Active CN107423593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710129011.3A CN107423593B (en) 2017-03-06 2017-03-06 Fingerprint unlocking control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710129011.3A CN107423593B (en) 2017-03-06 2017-03-06 Fingerprint unlocking control method and device

Publications (2)

Publication Number Publication Date
CN107423593A true CN107423593A (en) 2017-12-01
CN107423593B CN107423593B (en) 2020-07-10

Family

ID=60423432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710129011.3A Active CN107423593B (en) 2017-03-06 2017-03-06 Fingerprint unlocking control method and device

Country Status (1)

Country Link
CN (1) CN107423593B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951759A (en) * 2017-03-07 2017-07-14 青岛海信移动通信技术股份有限公司 Unlocked by fingerprint control method and device
WO2019237577A1 (en) * 2018-06-12 2019-12-19 平安科技(深圳)有限公司 Screen locking method and device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325230A1 (en) * 2011-07-08 2014-10-30 Research Foundation Of The City University Of New York Method of comparing private data without revealing the data
CN104793878A (en) * 2014-01-22 2015-07-22 南京步步高通信科技有限公司 Method for achieving quick screen blacking and locking of mobile terminal by long press of touch screen
CN105487631A (en) * 2014-09-19 2016-04-13 联想(北京)有限公司 Information processing method and electronic device
CN106056012A (en) * 2016-06-15 2016-10-26 惠州Tcl移动通信有限公司 Terminal power key control method and system
CN106200879A (en) * 2016-07-25 2016-12-07 深圳市万普拉斯科技有限公司 A kind of fingerprint authentication method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325230A1 (en) * 2011-07-08 2014-10-30 Research Foundation Of The City University Of New York Method of comparing private data without revealing the data
CN104793878A (en) * 2014-01-22 2015-07-22 南京步步高通信科技有限公司 Method for achieving quick screen blacking and locking of mobile terminal by long press of touch screen
CN105487631A (en) * 2014-09-19 2016-04-13 联想(北京)有限公司 Information processing method and electronic device
CN106056012A (en) * 2016-06-15 2016-10-26 惠州Tcl移动通信有限公司 Terminal power key control method and system
CN106200879A (en) * 2016-07-25 2016-12-07 深圳市万普拉斯科技有限公司 A kind of fingerprint authentication method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951759A (en) * 2017-03-07 2017-07-14 青岛海信移动通信技术股份有限公司 Unlocked by fingerprint control method and device
WO2019237577A1 (en) * 2018-06-12 2019-12-19 平安科技(深圳)有限公司 Screen locking method and device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN107423593B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
JP4357935B2 (en) Information processing apparatus and signature data input program
US20140189604A1 (en) Method and system for unlocking a touchscreen of an electronic device
EP2541452A1 (en) Authentication method of user of electronic device
CN106485124A (en) A kind of method of controlling operation thereof of mobile terminal and mobile terminal
CN106716297A (en) Method of fingerprint recognition, device and touch screen terminal
CN105335686B (en) Electronic device with fingerprint sensing function and calling method of application program thereof
WO2015120727A1 (en) Touch screen communication terminal and touch response method and system in call state thereof
CN105843358A (en) Information processing method and terminal
WO2018227472A1 (en) Screen wake-up method and apparatus, and terminal device
TWI778395B (en) Computing device, method of controlling computing device, and computer program product thereof
CN107423593A (en) Unlocked by fingerprint control method and device
CN106919824A (en) A kind of control method of unlocked by fingerprint, device and computer equipment
CN105893130A (en) Mobile terminal application program processing method and mobile terminal
CN106951759A (en) Unlocked by fingerprint control method and device
CN107370874A (en) Startup method, mobile terminal and the storage medium of application
CN107346169B (en) OLED display panel and control method thereof
CN108984089A (en) touch operation method, device, storage medium and electronic equipment
CN104808933B (en) The solution lock control method and device of intelligent terminal
CN107608521A (en) Processing method, storage medium and the mobile terminal of touch-screen failure
CN106909380A (en) A kind of touch-screen drive load method and system based on mobile terminal
CN106873836A (en) The control method and device of terminal
CN104699395B (en) Mobile device and enabling method thereof
CN107958146A (en) Method, apparatus, storage medium and the electronic equipment of fingerprint authentication
CN104407797B (en) A kind of information processing method and electronic equipment
CN107015741A (en) User equipment and its operating method with finger print identifying function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder