Fingerprint unlocking method of mobile terminal and mobile terminal
Technical Field
The invention belongs to the technical field of fingerprint identification of mobile terminals, and particularly relates to a fingerprint unlocking method of a mobile terminal and the mobile terminal.
Background
Most present comprehensive screen cell-phones all use back semiconductor fingerprint sensor, but this kind of design, because fingerprint sampler is very little to place the cell-phone back, so it is not very convenient when the unblock, need special going to look for fingerprint sensor, and very easy mistake is touched, regards the camera as fingerprint sensor's the condition, and the operation is inconvenient, and is inefficient.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a fingerprint unlocking method of a mobile terminal and the mobile terminal, aiming at overcoming the defects that the technical scheme of mobile phone fingerprint unlocking in the prior art is inconvenient to operate and easy to touch by mistake.
The invention solves the technical problems through the following technical scheme:
a fingerprint unlocking method of a mobile terminal comprises a fingerprint sensor, and comprises the following steps:
sending a starting instruction to the fingerprint sensor;
the fingerprint sensor collects fingerprints after receiving a starting instruction;
if the fingerprint sensor collects the fingerprint within the preset time after receiving the starting instruction, the fingerprint sensor verifies the collected fingerprint; otherwise, the fingerprint sensor enters a dormant state;
if the fingerprint sensor successfully verifies the fingerprint, the fingerprint sensor sends an unlocking instruction; if the verification fails, the fingerprint sensor enters a sleep state.
Optionally, a pressure sensor is arranged on a side surface of the mobile terminal;
the step of issuing an activation instruction to the fingerprint sensor includes:
when the pressure detected by the pressure sensor is greater than a preset pressure threshold value, the pressure sensor sends a starting instruction to the fingerprint sensor;
or the like, or, alternatively,
the mobile terminal comprises a power key;
the step of issuing an activation instruction to the fingerprint sensor includes:
the power key joint receives and presses the operation back and send the start instruction to fingerprint sensor.
Optionally, after the step of sending the unlocking instruction by the fingerprint sensor, the fingerprint unlocking method of the mobile terminal further includes the following steps:
lightening a touch screen of the mobile terminal;
or the like, or, alternatively,
a touch screen of the mobile terminal is lightened after receiving touch operation;
and/or, the fingerprint unlocking method of the mobile terminal further comprises the following steps:
after the touch screen is lighted, the fingerprint sensor enters a dormant state.
Optionally, the area of the fingerprint sensor is not smaller than the area of the fingerprint areas of the two finger tips.
Optionally, the step of acquiring a fingerprint after the fingerprint sensor receives the start instruction includes:
the fingerprint sensor collects at least one fingerprint;
if the fingerprint sensor successfully verifies the fingerprint, the step that the fingerprint sensor sends out the unlocking instruction comprises the following steps:
if the fingerprint sensor successfully verifies any one of the acquired fingerprints, the fingerprint sensor sends an unlocking instruction; otherwise, the fingerprint sensor enters a sleep state.
Optionally, the fingerprint sensor covers an area above 1/3 the back of the mobile terminal.
The invention also provides a mobile terminal, which comprises a fingerprint sensor and a starting device;
the starting device is used for generating a starting instruction;
the fingerprint sensor is used for collecting fingerprints after receiving the starting instruction;
the fingerprint sensor is also used for verifying the acquired fingerprint when the preset condition is met, or the fingerprint sensor is also used for entering a dormant state when the preset condition is not met, wherein the preset condition is that the fingerprint sensor acquires the fingerprint within the preset time after receiving the starting instruction;
the fingerprint sensor is also used for sending an unlocking instruction after the fingerprint is successfully verified; or, the fingerprint sensor is also used for entering a dormant state after the fingerprint is failed to be verified.
Optionally, the starting device includes a pressure sensor disposed at a side of the mobile terminal; the pressure sensor is used for sending a starting instruction to the fingerprint sensor when the detected pressure is greater than a preset pressure threshold value;
or the like, or, alternatively,
the mobile terminal further comprises a power key arranged on the mobile terminal, and the power key is used for sending a starting instruction to the fingerprint sensor after receiving the pressing operation.
Optionally, after the fingerprint sensor sends an unlocking instruction, a touch screen of the mobile terminal is lightened; or, the touch screen of the mobile terminal is lightened after receiving touch operation;
and/or the fingerprint sensor is also used for entering a dormant state after the touch screen is lightened.
Optionally, a fingerprint sensor is used to capture at least one fingerprint;
the fingerprint sensor is also used for sending an unlocking instruction after any one of the collected fingerprints is successfully verified; or, the fingerprint sensor is also used for entering a dormant state after the verification of all the collected fingerprints fails.
The positive progress effects of the invention are as follows: the invention provides an efficient and convenient fingerprint unlocking scheme for a user, effectively avoids mistaken touch, and effectively reduces power consumption by controlling the on or off of the fingerprint sensor.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal according to embodiment 1 of the present invention.
Fig. 2 is a schematic structural diagram of a mobile terminal according to embodiment 2 of the present invention.
Fig. 3 is a schematic back structure diagram of a mobile terminal according to embodiment 2 of the present invention.
Fig. 4 is a schematic side structure diagram of a mobile terminal according to embodiment 2 of the present invention.
Fig. 5 is a flowchart of a fingerprint unlocking method of a mobile terminal according to embodiment 3 of the present invention.
Fig. 6 is a flowchart of a fingerprint unlocking method of a mobile terminal according to embodiment 4 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The present embodiment provides a mobile terminal, and referring to fig. 1, the mobile terminal includes a fingerprint sensor 101 and an activation device 102. The starting device 102 is used for generating a starting instruction. The fingerprint sensor 101 is used for collecting fingerprints after receiving a start instruction. The fingerprint sensor 101 is further configured to verify the acquired fingerprint when a preset condition is met, or the fingerprint sensor 101 is further configured to enter a sleep state when the preset condition is not met, where the preset condition is that the fingerprint sensor 101 acquires the fingerprint within a preset time after receiving the start instruction. The fingerprint sensor 101 is further configured to issue an unlocking instruction after the fingerprint is successfully verified; alternatively, the fingerprint sensor 101 is also used to enter a sleep state after a fingerprint authentication failure.
Under the lock screen state, fingerprint sensor 101 is in the dormancy state, does not respond to the operation of pressing, does not carry out fingerprint identification, even appear pressing the operation to fingerprint sensor 101, fingerprint sensor 101 also does not work to reduce the power consumption. After the starting device 102 sends a starting instruction (the starting instruction is a pulse signal) to the fingerprint sensor 101, the fingerprint sensor 101 enters a working state, and fingerprint collection and fingerprint verification can be performed. If the user presses the fingerprint sensor 101 by using a fingertip within the preset time after receiving the starting instruction, the fingerprint sensor 101 collects a fingerprint, the fingerprint sensor 101 verifies the collected fingerprint, and if the verification is successful, the fingerprint sensor 101 sends an unlocking instruction. If the user does not use the fingertip to press the fingerprint sensor 101 within the preset time after receiving the starting instruction, the fingerprint sensor 101 does not acquire the fingerprint, which means that the user does not have the requirement of unlocking at the moment, and the fingerprint sensor 101 enters the dormant state to wait for the next starting. If the fingerprint authentication fails, the fingerprint sensor 101 enters a sleep state, no longer responds to the pressing operation, and waits for the next start.
Example 2
On the basis of embodiment 1, the present embodiment provides a mobile terminal, which includes, referring to fig. 2, a fingerprint sensor 101, a pressure sensor 103 (as a starting device), a touch screen 104, a display screen 105, and a timing unit 106. As shown in fig. 3, the fingerprint sensor 101 is disposed on the back of the mobile terminal, and the area of the fingerprint sensor 101 is not smaller than the area of the fingerprint areas of two finger tips. Referring to fig. 3, in the fingerprint recognition, the fingertip F1 of the first finger and the fingertip F2 of the second finger are pressed side by side on the area of the area a covered on a plane, that is, the area of the fingerprint area of the two fingertips, which can be obtained by those skilled in the art according to the statistical results. In this embodiment, referring to fig. 3, the fingerprint sensor 101 covers the area above 1/3 on the back of the mobile terminal, and the circular hole in the figure is an opening reserved for the camera on the fingerprint sensor 101. The fingerprint sensor 101 covers the area, facilitating the user to unlock. When holding the mobile terminal, a user can touch the fingerprint sensor 101 as long as the finger naturally extends, and the user does not need to search the fingerprint identification area intentionally, so that the unlocking is convenient and quick. Moreover, because the area of the fingerprint sensor 101 is large, the fingerprint sensor 101 can also collect a plurality of fingerprints at the same time.
Referring to fig. 4, a pressure sensor 103 is provided at a lower portion of a side of the mobile terminal, which is a portion that a user most frequently touches when holding the mobile terminal.
In a default state, the mobile terminal is in a screen locking state, and the touch screen 104 of the mobile terminal does not sense touch operation; the fingerprint sensor 101 is in a dormant state, fingerprint identification is not performed, and even if the fingerprint sensor 101 is pressed, the fingerprint sensor 101 does not work, so that power consumption is reduced; the timer unit 106 is in a reset state and has a timer value of 0. When a user holds the mobile terminal, and the pressure detected by the pressure sensor 103 is greater than a preset pressure threshold, the mobile terminal is considered to be in a user holding state, and the pressure sensor 103 sends a starting instruction to the fingerprint sensor 101. In order to improve the sensitivity, two pressure sensors 103 are respectively arranged on two sides of the mobile terminal, and the starting signal is generated as long as the pressure detected by one pressure sensor 103 is greater than a preset pressure threshold value. The start command is a pulse signal, i.e. only one start command is generated at a time. If it is desired to generate the start-up command again, it is necessary to stop holding, release the pressure sensor 103 (e.g., put the mobile terminal down), and then hold the mobile terminal again. After receiving the start instruction, the fingerprint sensor 101 enters a working state, and can perform fingerprint recognition. In other alternative embodiments of the fingerprint unlocking method of the mobile terminal of the present invention, the user presses a power key of the mobile terminal, and the start instruction may also be generated.
The mobile terminal further comprises a timing unit 106, and the timing unit 106 also receives the start instruction. The timing unit 106 starts timing when receiving the start instruction. If the timing unit 106 counts time and reaches a preset time, the fingerprint sensor 101 does not acquire a fingerprint, for example, the user does not perform a fingerprint unlocking operation, the timing unit 106 sends a sleep command (the sleep command is a pulse signal) to the fingerprint sensor 101, and the timing unit 106 resets until the start command is received again. After receiving the sleep command, the fingerprint sensor 101 enters a sleep state until receiving the start command again. That is, after the pressure sensor 103 detects the pressure, if the user does not perform the fingerprint unlocking operation for a limited time, the fingerprint sensor 101 enters the sleep state again to reduce power consumption.
If the user performs the fingerprint unlocking operation within the preset time and the fingerprint sensor 101 acquires the fingerprint, the fingerprint sensor 101 sends a first notification signal (which is a pulse signal) to the timing unit 106 to represent that the fingerprint is acquired. In this embodiment, the fingerprint sensor 101 may capture a plurality of fingerprints simultaneously, and as long as at least one fingerprint is captured by the fingerprint sensor 101, that is, the fingerprint is captured, the fingerprint sensor 101 sends a first notification signal to the timing unit 106. The timing unit 106 resets after receiving the first notification signal until receiving the start instruction again.
After the fingerprint sensor 101 collects the fingerprint, the collected fingerprint is verified, and if the verification is successful, the fingerprint is unlocked. In this embodiment, if the fingerprint sensor 101 collects more than 2 fingerprints, the fingerprint sensor 101 compares each collected fingerprint pattern with a plurality of standard patterns in a fingerprint database, and if the fingerprint pattern is successfully compared with any one of the standard patterns, it is determined that the fingerprint verification is successful; if the fingerprint pattern does not match all of the standard patterns in the fingerprint library, the fingerprint verification fails. As long as any fingerprint in the collected more than 2 fingerprints is successfully verified, namely the verification is successful, the fingerprint sensor 101 sends an unlocking instruction; if all fingerprints fail to be verified in more than 2 collected fingerprints, the fingerprint sensor 101 enters a sleep state.
In this embodiment, after the unlocking, the display 105 of the mobile terminal is still in the off state, and the timing unit 106 starts timing. If the timing unit 106 times to reach a preset lighting time (namely, the time for the user to perform the lighting operation), and the user does not click the touch screen 104 of the mobile terminal, the mobile terminal enters a screen locking state; the fingerprint sensor 101 enters a sleep state and the timing unit 106 is reset. If the user clicks the touch screen 104 of the mobile terminal within the preset lighting time, the display screen 105 is lighted, and the user can perform application operation. The mobile terminal is in an unlocked state, and after the display screen 105 is lighted, the mobile terminal is in a working state, and at this time, the fingerprint sensor 101 enters a dormant state again to reduce power consumption without unlocking operation. In another optional implementation of the fingerprint unlocking method of the mobile terminal of the present invention, after the unlocking, the display screen of the mobile terminal is immediately lit.
If the fingerprint verification fails, the fingerprint sensor 101 enters a sleep state. In other optional embodiments of the mobile terminal of the present invention, after receiving the start instruction each time, the fingerprint sensor provides 3 authentication opportunities (the number of the authentication opportunities may be set according to requirements), and if the authentication fails for 3 consecutive times, the fingerprint sensor enters the sleep state.
Example 3
The embodiment provides a fingerprint unlocking method for a mobile terminal, which is implemented by using the mobile terminal of embodiment 1, and with reference to fig. 5, the fingerprint unlocking method for the mobile terminal includes the following steps:
and S301, sending a starting instruction to the fingerprint sensor.
And S302, collecting the fingerprint after the fingerprint sensor receives the starting instruction.
If the fingerprint sensor collects the fingerprint within the preset time after receiving the starting instruction, executing the step S303, and verifying the collected fingerprint by the fingerprint sensor; otherwise, step S304 is executed, and the fingerprint sensor enters a sleep state.
If the fingerprint sensor successfully verifies the fingerprint, executing the step S305, and sending an unlocking instruction by the fingerprint sensor; if the verification fails, step S304 is executed, and the fingerprint sensor enters a sleep state.
Under the lock screen state, fingerprint sensor is in the dormancy state, does not respond to the operation of pressing, does not carry out fingerprint identification, even appear pressing the operation to fingerprint sensor, fingerprint sensor also does not work to reduce the consumption. After the starting device sends a starting instruction (the starting instruction is a pulse signal) to the fingerprint sensor, the fingerprint sensor enters a working state, and fingerprint collection and fingerprint verification can be carried out. If in the preset time after receiving the starting instruction, the user uses the fingertip to press the fingerprint sensor, the fingerprint sensor collects the fingerprint, the fingerprint sensor verifies the collected fingerprint, and if the fingerprint sensor verifies the collected fingerprint successfully, the fingerprint sensor sends an unlocking instruction. If the user does not use the fingertip to press the fingerprint sensor within the preset time after receiving the starting instruction, the fingerprint sensor does not acquire the fingerprint, the user does not have the unlocking requirement at the moment, and the fingerprint sensor enters a dormant state to wait for the next starting. If the fingerprint verification fails, the fingerprint sensor enters a dormant state, no response is made to the pressing operation, and the next starting is waited.
Example 4
On the basis of embodiment 3, this embodiment provides a fingerprint unlocking method for a mobile terminal, where the fingerprint unlocking method is implemented by using the mobile terminal of embodiment 2, and with reference to fig. 6, the fingerprint unlocking method includes the following steps:
in a default state, the mobile terminal is in a screen locking state, and a touch screen of the mobile terminal does not sense touch operation; the fingerprint sensor is in a dormant state, fingerprint identification is not carried out, and the fingerprint sensor does not work even if the fingerprint sensor is pressed, so that the power consumption is reduced; the timing unit is in a reset state, and the timing value is 0.
If the pressure detected by the pressure sensor is greater than a preset pressure threshold value, executing the following steps:
step S401, the fingerprint sensor collects fingerprints, and the timing unit times.
When a user holds the mobile terminal, and the pressure detected by the pressure sensor is greater than a preset pressure threshold value, the mobile terminal is considered to be in a user holding state, and the pressure sensor sends a starting instruction to the fingerprint sensor. In order to improve the sensitivity, two sides of the mobile terminal are respectively provided with a pressure sensor, and the starting signal is generated as long as the pressure detected by one pressure sensor is greater than a preset pressure threshold value. The start command is a pulse signal, i.e. only one start command is generated at a time. If it is desired to generate the start-up command again, the holding, release of the pressure sensor (e.g., putting the mobile terminal down), and then holding the mobile terminal again is required. After receiving the starting instruction, the fingerprint sensor enters a working state and can perform fingerprint identification. In other alternative embodiments of the fingerprint unlocking method of the mobile terminal of the present invention, the user presses a power key of the mobile terminal, and the start instruction may also be generated.
The mobile terminal also comprises a timing unit, and the timing unit also receives the starting instruction. The timing unit starts timing after receiving the starting instruction. After the step S401 is entered, if the timing unit counts the time to reach the preset time and the fingerprint sensor does not acquire the fingerprint, the default state is returned, that is, the fingerprint sensor is in the sleep state and the timing unit is in the reset state. For example, after step S401 is entered, if the user does not perform the fingerprint unlocking operation, the timing unit sends a sleep command (the sleep command is a pulse signal) to the fingerprint sensor, and the timing unit resets until the start command is received again. And after receiving the sleep instruction, the fingerprint sensor enters a sleep state until receiving the starting instruction again. That is, after the pressure sensor detects the pressure, if the user does not perform the fingerprint unlocking operation for a limited time, the fingerprint sensor enters the sleep state again to reduce power consumption.
After the step S401 is entered, if the user performs the fingerprint unlocking operation within the preset time and the fingerprint sensor collects the fingerprint, then:
and S402, resetting the timing unit, and verifying the acquired fingerprint by the fingerprint sensor.
Specifically, after step S401 is entered, if the user performs the fingerprint unlocking operation within the preset time and the fingerprint sensor collects the fingerprint, the fingerprint sensor sends a first notification signal (a pulse signal) to the timing unit to characterize the collected fingerprint. In this embodiment, the fingerprint sensor may collect a plurality of fingerprints at the same time, and as long as the fingerprint sensor collects at least one fingerprint, that is, collects a fingerprint, the fingerprint sensor sends a first notification signal to the timing unit. The timing unit resets after receiving the first notification signal until receiving the starting instruction again.
In step S402, the fingerprint sensor verifies the captured fingerprint. If more than 2 fingerprints are collected by the fingerprint sensor, the fingerprint sensor compares each collected fingerprint pattern with a plurality of standard patterns in a fingerprint library respectively, and the fingerprint verification is judged to be successful as long as the fingerprint pattern is successfully compared with any one of the standard patterns; if the fingerprint pattern does not match all of the standard patterns in the fingerprint library, the fingerprint verification fails. As long as any fingerprint in the collected more than 2 fingerprints is successfully verified, that is, the fingerprint is successfully verified, the fingerprint sensor sends an unlocking instruction, and then:
and S403, unlocking and timing by a timing unit.
In step S402, if all fingerprints in the collected 2 or more fingerprints fail to be verified, the fingerprint sensor returns to the default state, that is, the fingerprint sensor is in the sleep state, and the timing unit is in the reset state.
After the process proceeds to step S403, after the lock is unlocked, the timer unit starts to count time, but the display of the mobile terminal is still in a turned-off state. If the timing unit reaches the preset lighting time (namely the time for the user to perform lighting operation), and the user does not click the touch screen of the mobile terminal, executing the following steps:
and step S404, locking the screen. And after unlocking, the mobile terminal enters a screen locking state. And then returns to the default state, namely, the fingerprint sensor is in the dormant state, and the timing unit is in the reset state.
After the step S403 is entered, if the user clicks the touch screen of the mobile terminal within the preset lighting time, that is, the touch screen senses a click operation, then:
step S405, the display screen is lit. After the display screen is lighted, the user can perform application operation. The mobile terminal is in an unlocking state, and after the display screen is lightened, the mobile terminal is in a working state, the unlocking operation is not needed at the moment, and the fingerprint sensor enters a dormant state again to reduce power consumption. In another optional implementation of the fingerprint unlocking method of the mobile terminal of the present invention, after the unlocking, the display screen of the mobile terminal is immediately lit.
In this embodiment, if the fingerprint authentication fails, the fingerprint sensor directly enters the sleep state. In other optional embodiments of the fingerprint unlocking method of the mobile terminal of the present invention, after receiving the start instruction each time, the fingerprint sensor provides 3 times of verification opportunities (the number of verification opportunities may be set as required), and if the 3 consecutive times of verification fail, the fingerprint sensor enters the sleep state.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.