CN107958146B - Fingerprint verification method and device, storage medium and electronic equipment - Google Patents

Fingerprint verification method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107958146B
CN107958146B CN201711322260.0A CN201711322260A CN107958146B CN 107958146 B CN107958146 B CN 107958146B CN 201711322260 A CN201711322260 A CN 201711322260A CN 107958146 B CN107958146 B CN 107958146B
Authority
CN
China
Prior art keywords
preset
time
fingerprint
terminal
user
Prior art date
Application number
CN201711322260.0A
Other languages
Chinese (zh)
Other versions
CN107958146A (en
Inventor
龙俊卫
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201711322260.0A priority Critical patent/CN107958146B/en
Publication of CN107958146A publication Critical patent/CN107958146A/en
Application granted granted Critical
Publication of CN107958146B publication Critical patent/CN107958146B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K9/00Methods or arrangements for reading or recognising printed or written characters or for recognising patterns, e.g. fingerprints
    • G06K9/00006Acquiring or recognising fingerprints or palmprints
    • G06K9/00013Image acquisition
    • G06K9/0002Image acquisition by non-optical methods, e.g. by ultrasonic or capacitive sensing

Abstract

The application discloses a fingerprint verification method and device, a storage medium and electronic equipment. The fingerprint verification method comprises the following steps: when fingerprint verification is required, monitoring a preset induction area on a terminal screen; if the electric signal of the preset induction area is detected to change, recording a first moment when the electric signal of the preset induction area changes; collecting fingerprint information of a current user, and recording a second moment when the fingerprint information is collected; and if the first moment and the second moment are detected to meet the preset conditions, fingerprint verification is carried out according to the collected fingerprint information. The application can improve the security of fingerprint verification.

Description

Fingerprint verification method and device, storage medium and electronic equipment

Technical Field

The application belongs to the technical field of terminal security, and particularly relates to a fingerprint verification method, a fingerprint verification device, a fingerprint verification storage medium and electronic equipment.

Background

The terminal stores a lot of important data of the user, such as photos, files, bank account information, payment passwords and the like. Generally, a user can perform security protection on a terminal in a certain manner to prevent important data from leaking. For example, a user may enter fingerprint information in advance on a terminal, and when important data needs to be operated, the terminal may request the user to perform fingerprint verification. Only when the fingerprint verification is passed will the terminal allow the user to operate on the important data.

Disclosure of Invention

The embodiment of the application provides a fingerprint verification method and device, a storage medium and electronic equipment, which can improve the security of fingerprint verification.

The embodiment of the application provides a fingerprint verification method, which comprises the following steps:

when fingerprint verification is required, monitoring a preset induction area on a terminal screen;

if the electric signal of the preset induction area is detected to change, recording a first moment when the electric signal of the preset induction area changes;

collecting fingerprint information of a current user, and recording a second moment when the fingerprint information is collected;

and if the first moment and the second moment are detected to meet preset conditions, fingerprint verification is carried out according to the collected fingerprint information.

The embodiment of the application provides a fingerprint verification's device, includes:

the monitoring module is used for monitoring a preset sensing area on a terminal screen when fingerprint verification is required;

the recording module is used for recording a first moment when the electric signal of the preset induction area changes if the electric signal of the preset induction area is detected to change;

the acquisition module is used for acquiring the fingerprint information of the current user and recording the second moment when the fingerprint information is acquired;

and the verification module is used for performing fingerprint verification according to the acquired fingerprint information if the first moment and the second moment are detected to meet preset conditions.

Embodiments of the present application provide a storage medium having a computer program stored thereon, which, when executed on a computer, causes the computer to perform the steps in the method for fingerprint verification provided by embodiments of the present application.

The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps in the fingerprint verification method provided in the embodiment of the present application by calling the computer program stored in the memory.

The fingerprint verification method, the fingerprint verification device, the storage medium and the electronic equipment provided by the embodiment of the application set an execution condition for fingerprint verification operation, wherein the execution condition is that a first time and a second time meet a certain preset condition. The first moment is the moment when the electric signal of the preset induction area of the terminal screen changes, and the second moment is the moment when the fingerprint identification sensor acquires the fingerprint information of the current user. Only if the execution condition is satisfied, the terminal allows the fingerprint authentication operation. Therefore, the fingerprint verification method and device can enhance the security of fingerprint verification.

Drawings

The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.

Fig. 1 is a flowchart illustrating a method for fingerprint verification according to an embodiment of the present application.

Fig. 2 is another schematic flowchart of a method for fingerprint verification according to an embodiment of the present disclosure.

Fig. 3 is a schematic layout diagram of a terminal screen provided in an embodiment of the present application.

Fig. 4 to 8 are schematic scene diagrams of a method for fingerprint verification according to an embodiment of the present application.

Fig. 9 is a schematic structural diagram of an apparatus for fingerprint verification according to an embodiment of the present application.

Fig. 10 is another schematic structural diagram of an apparatus for fingerprint verification according to an embodiment of the present application.

Fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.

Fig. 12 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.

Detailed Description

Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.

It can be understood that the execution subject of the embodiment of the present application may be a terminal device such as a smart phone or a tablet computer.

Referring to fig. 1, fig. 1 is a schematic flowchart of a fingerprint verification method according to an embodiment of the present application, where the flowchart may include:

in step S101, when fingerprint verification is required, a preset sensing area on a terminal screen is monitored.

The terminal stores a lot of important data of the user, such as photos, files, bank account information, payment passwords and the like. Generally, a user can perform security protection on a terminal in a certain manner to prevent important data from leaking. For example, a user may enter fingerprint information in advance on a terminal, and when important data needs to be operated, the terminal may request the user to perform fingerprint verification. Only when the fingerprint verification is passed will the terminal allow the user to operate on the important data.

However, in life, there is also a possibility that the user's fingerprint is misappropriated. For example, the user's hand may contact various things, which may cause the user's fingerprint to remain on the contacted things. This leaves a good opportunity for illegal persons such as hackers to steal the user's fingerprint information by making a reverse copy of the fingerprint with the plaster. That is, in the related art, there is still a vulnerability in security in fingerprint recognition.

In step S101 of the embodiment of the present application, when fingerprint verification is required, for example, when an unlocking operation needs to be performed on a screen of a terminal by using fingerprint verification, the terminal may first monitor a preset sensing area on the screen to detect whether an electrical signal of the preset sensing area changes.

If the electric signal of the preset induction area is not detected to be changed, the terminal can pause the fingerprint verification operation until the electric signal of the preset induction area is changed, and then corresponding fingerprint verification is carried out.

If the change of the electrical signal of the preset sensing area is detected, the process proceeds to step S102.

In step S102, if it is detected that the electrical signal of the preset sensing area changes, a first time when the electrical signal of the preset sensing area changes is recorded.

For example, the terminal detects that the electrical signal of the preset sensing area changes due to the fact that the preset sensing area is pressed by a finger of a user, and at this time, the terminal can record the first moment when the electrical signal of the preset sensing area changes.

For example, when a user presses a screen of a preset sensing area with a finger, a capacitive sensor built in a backlight layer of the screen of the preset sensing area detects that a value of current and/or voltage changes, that is, an electrical signal of the preset sensing area changes, at this time, the terminal may record a time when the value of current and/or voltage of the capacitive sensor built in the backlight layer of the screen of the preset sensing area changes, that is, a first time.

In step S103, fingerprint information of the current user is collected, and a second time when the fingerprint information is collected is recorded.

For example, after the first time is recorded, the terminal may collect fingerprint information of a current user through the fingerprint identification sensor, and record a time when the fingerprint information of the current user is collected, that is, a second time.

In step S104, if it is detected that the first time and the second time satisfy a preset condition, performing fingerprint verification according to the collected fingerprint information.

For example, after recording the first time and the second time, the terminal may detect whether the first time and the second time satisfy a preset condition.

If the first moment and the second moment are detected to meet the preset conditions, the terminal can perform fingerprint verification according to the fingerprint information of the current user acquired through the fingerprint identification sensor. For example, when it is detected that the first time and the second time satisfy the preset condition, the terminal may compare the collected fingerprint information of the current user with target fingerprint information pre-stored in the terminal. If the current user is determined to be a legal user through fingerprint comparison, the terminal can unlock the screen, so that the current user can normally use the terminal. And if the current user is determined not to be the legal user through the fingerprint comparison, the terminal does not unlock the screen, and the like.

If the first time and the second time are detected not to meet the preset condition, the terminal does not perform subsequent fingerprint verification operation.

It can be understood that, in the embodiment of the present application, an execution condition is set for the fingerprint verification operation, where the execution condition is that the first time and the second time satisfy a certain preset condition. The first moment is the moment when the electric signal of the preset induction area of the terminal screen changes, and the second moment is the moment when the fingerprint identification sensor acquires the fingerprint information of the current user. Only if the execution condition is satisfied, the terminal allows the fingerprint authentication operation. Therefore, the security of fingerprint verification can be enhanced, even if the fingerprint is stolen, as long as the embezzler does not know the execution condition of the fingerprint verification operation, the embezzler still cannot steal the information stored in the terminal through the fingerprint verification.

Referring to fig. 2, fig. 2 is another schematic flow chart of a fingerprint verification method according to an embodiment of the present application, where the flow chart may include:

in step S201, the terminal obtains a plurality of sample values of a time period taken by a user from a process of touching a preset sensing area on a screen of the terminal to a process of touching a fingerprint recognition sensor.

In step S202, the terminal calculates an average value of the plurality of sample values, and determines a preset time period according to the average value.

For example, steps S201 and S202 may include:

the terminal can select an area on the screen as a preset sensing area in advance. Referring to fig. 3, taking an example that the terminal screen includes a display area 10 and a non-display area 20, the display area 10 is an area for displaying pictures such as characters and images, and the non-display area 20 is an area for placing a front camera, an earphone, an ambient light sensor, a proximity sensor, and a fingerprint sensor. The terminal may set a region, which is located at the bottom of the display region 10 on the screen and occupies a quarter of the area of the display region, as the preset sensing region 30 in advance. The fingerprint recognition sensor is disposed in a non-display area 20 at the bottom of the terminal screen.

In one embodiment, in the initialization phase of setting, the user may enter a "setting" interface of the terminal, and first click or lightly press or heavily press a preset sensing area on the screen according to a prompt of the terminal, and then press the fingerprint identification sensor, and the terminal may record a time point when the user touches the preset sensing area and a time point when the user presses the fingerprint identification sensor. Then, the terminal may calculate a time interval of the above two time points, which is one sample value of a time taken for the user to touch the fingerprint recognition sensor from the touch of the preset sensing area. It can be understood that the user may repeat the above operations for multiple times, so that the terminal may obtain multiple sample values.

After obtaining the plurality of sample values, the terminal may calculate an average value of the plurality of sample values. Then, the terminal may determine a preset duration according to the average value. The preset time period may represent a time period that a user normally takes from touching the preset sensing area to touching the fingerprint recognition sensor.

For example, the terminal may obtain 5 sample values, calculate an average value of the 5 sample values, and then determine the preset time duration according to the average value. For example, the terminal may determine the average value as the preset duration, or the terminal may increase or decrease a certain duration on the basis of the average value to obtain a target duration, and determine the target duration as the preset duration.

It is understood that steps S201 and S202 are steps of determining a preset time period in advance.

In step S203, when fingerprint verification is required, the terminal monitors a preset sensing area on the screen.

For example, the user presets to unlock the screen in the screen locking state by using fingerprint verification. When the terminal screen needs to be unlocked, namely fingerprint verification needs to be carried out, the terminal can monitor a preset induction area on the screen so as to detect whether an electric signal of the preset induction area changes.

For example, the terminal screen is a screen with pressure sensing. A capacitive sensor is arranged in the backlight layer below the screen, and can detect slight changes of pressure between the surface glass of the screen and the backlight layer, namely when a finger of a user presses on the screen with pressure sensing, the capacitive sensor can detect changes of current and voltage values. When the user finger presses the screen, the terminal system layer can respond to the pressing operation of the user finger according to the change of the current and voltage values detected by the capacitive sensors.

Therefore, when the screen in the screen locking state needs to be unlocked by using fingerprint verification, the terminal can detect whether the capacitance sensor built in the screen backlight layer of the preset sensing area detects that the value of the current and/or the voltage changes.

If the capacitive sensor does not detect that the current and/or voltage value of the capacitive sensor changes, namely the electric signal of the preset induction area does not change, the terminal can pause the fingerprint verification operation until the electric signal of the preset induction area changes, and corresponding fingerprint verification is performed.

If the capacitive sensor detects that the value of the current and/or voltage of the capacitive sensor changes, that is, the electrical signal of the preset sensing area changes, the process proceeds to step S204.

In step S204, if it is detected that the electrical signal of the preset sensing area changes, the terminal records a first time when the electrical signal of the preset sensing area changes.

For example, when a user presses a screen of a preset sensing area with a finger, a capacitive sensor built in a backlight layer of the screen of the preset sensing area detects that a value of current and/or voltage of the capacitive sensor changes, that is, an electrical signal of the preset sensing area changes, and at this time, the terminal may record a time when the value of current and/or voltage of the capacitive sensor built in the backlight layer of the screen of the preset sensing area changes, that is, a first time.

In step S205, the terminal collects fingerprint information of the current user, and records a second time when the fingerprint information is collected.

For example, after the first time is recorded, the terminal may collect fingerprint information of a current user through the fingerprint identification sensor, and record a time when the fingerprint information of the current user is collected, that is, a second time.

In step S206, the terminal calculates a time interval between the first time and the second time.

For example, after acquiring the first time and the second time, the terminal may calculate a time interval between the first time and the second time.

Then, the terminal may detect whether a time interval between the first time and the second time is less than or equal to a preset time.

If the time interval between the first time and the second time is greater than the preset time, the first time and the second time can be considered not to meet the preset condition, and the terminal does not perform subsequent fingerprint verification operation at the moment.

If the time interval between the first time and the second time is less than or equal to the preset time, the process proceeds to step S207.

In step S207, if it is detected that the time interval is less than or equal to a preset duration, the terminal determines that the first time and the second time meet a preset condition, and performs fingerprint verification according to the collected fingerprint information.

For example, the preset time period is 1 second. And if the terminal detects that the time interval between the first time and the second time is less than 1 second, the terminal can determine that the first time and the second time meet the preset condition. In this case, the terminal may perform corresponding fingerprint verification according to the previously collected fingerprint information of the current user.

For example, the terminal may compare the collected fingerprint information of the current user with fingerprint information of the owner, which is stored in the terminal in advance. If the current user is determined to be the owner through fingerprint comparison, the terminal can unlock the screen, and therefore the current user can normally use the terminal. If the current user is determined not to be the owner through fingerprint comparison, the terminal does not unlock the screen, and the like.

In an embodiment, the step of recording, by the terminal, a first time when the electrical signal of the preset sensing area changes if the electrical signal of the preset sensing area changes is detected in S204 may include:

if the electric signal of the preset induction area is detected to change, the terminal acquires a pressure value of the user finger pressing the preset induction area;

if the pressure value is detected to be within the preset range, the terminal records the first moment when the electric signal of the preset induction area changes.

For example, the screen of the terminal is a screen with pressure sensing, and the difference of the user's finger tapping, tapping and tapping on the screen can be sensed. In this case, when a user finger presses a preset sensing area on the screen, which causes a capacitive sensor built in a backlight layer of the screen in the preset sensing area to detect that current and voltage values change, the terminal may simultaneously obtain a pressure value of the user finger pressing the preset sensing area.

Then, the terminal may detect whether the pressure value is within a preset range. If so, the terminal can record the first moment when the electric signal of the preset induction area changes. If not, the terminal does not perform fingerprint verification.

For example, the preset range corresponds to a pressure value range when the user's finger lightly presses the screen. That is, the execution condition of fingerprint verification is to require the user to first tap the screen of the preset sensing area. That is, only when the terminal detects that the user taps the screen of the preset sensing area, the terminal records the first moment when the electrical signal of the preset sensing area changes. If the terminal detects that the user lightly touches or presses the screen of the preset induction area again, the terminal can not record the first moment when the electric signal of the preset induction area changes, namely, the terminal does not carry out fingerprint verification.

In another embodiment, the terminal may further determine a preset duration for determining whether the first time and the second time meet the preset condition by:

the terminal acquires a face image of a user;

the terminal determines the age value of the user according to the face image;

and the terminal acquires the target duration according to the age value and determines the target duration as preset duration.

For example, the terminal does not obtain a sufficient number of sample values of the time duration spent in the process from the touch of the preset sensing area to the touch of the fingerprint identification sensor by the user, and if the terminal only obtains 1 sample value, the terminal cannot determine the preset time duration according to the average value of the sample values. In this case, the terminal may also acquire a face image of the user and predict an age value of the user from the face image. Then, the terminal can obtain a target duration according to the predicted age value, and determine the target duration as a preset duration.

For example, the terminal may set corresponding durations for different age values in advance, and generate a correspondence table regarding the age values and the durations. Then, after the age value of the user is determined according to the face image of the user, the terminal may query the corresponding relationship table, obtain a target duration corresponding to the age value of the user from the corresponding relationship table, and determine the target duration as a preset duration.

For example, the age value is 1.5 seconds for 1 to 10, 1 second for 11 to 40, 1.3 seconds for 40 or more, and so on.

Referring to fig. 4 to 8, fig. 4 to 8 are schematic views of a scene of a fingerprint verification method according to an embodiment of the present application.

For example, as shown in fig. 4, the terminal is in a lock screen state. The terminal is characterized in that a region which is located at the bottom of a display region on a screen and occupies a quarter of the area of the display region is set as a preset sensing region in advance. The fingerprint identification sensor is arranged in a non-display area at the bottom end of the terminal screen. The terminal screen is a screen with pressure sensing. A capacitive sensor is arranged in the backlight layer below the screen, and can detect slight changes of pressure between the surface glass of the screen and the backlight layer, namely when a finger of a user presses on the screen with pressure sensing, the capacitive sensor can detect changes of current and voltage values. The user presets that the screen in the screen locking state is unlocked by using fingerprint verification.

When the terminal screen needs to be unlocked, namely fingerprint verification needs to be carried out, the terminal can monitor a preset induction area on the screen so as to detect whether an electric signal of the preset induction area changes.

For example, as shown in fig. 5, when the terminal detects that a finger of a user presses a screen of a preset sensing area, which causes a capacitive sensor built in a backlight layer of the screen of the preset sensing area to detect that a value of current and/or voltage changes, that is, an electrical signal of the preset sensing area changes, the terminal may record a first time when the value of current and/or voltage of the capacitive sensor built in the backlight layer of the screen of the preset sensing area changes.

Then, as shown by the arrow direction in fig. 5, the user's finger is quickly slid onto the fingerprint recognition sensor from the pressed position. As shown in fig. 6, the terminal collects the fingerprint information of the current user through the fingerprint identification sensor, and records the second moment when the fingerprint information is collected.

After acquiring the first time and the second time, the terminal may calculate a time interval between the first time and the second time. Then, the terminal may detect whether a time interval between the first time and the second time is less than or equal to a preset time.

For example, the preset time period is 1 second. And the terminal detects that the time interval between the first time and the second time is less than 1 second, the terminal can determine that the first time and the second time meet the preset condition. In this case, the terminal may compare the collected fingerprint information of the current user with the fingerprint information of the owner stored in the terminal in advance. For example, if the current user is determined to be the owner through fingerprint comparison, the terminal can unlock the screen, so that the current user can normally use the terminal. As shown in fig. 7, after the terminal screen is unlocked, an application interface is entered, which includes application a to application L.

In some embodiments, if the time interval between the first time and the second time is greater than the preset time, or it is determined through fingerprint comparison that the current user is not the owner, the terminal may not unlock the screen, and so on. For example, the terminal may pop up a dialog box to prompt that unlocking fails, or return to an unlocking interface to prompt the user to input a password to unlock. In addition, the terminal can also record the number of unlocking failures. When the unlocking failure times reach the preset times, the terminal can send out alarm sound to improve the safety of the terminal.

In other embodiments, the user's finger may operate as follows: the screen is lightly pressed, then the screen slides, and finally the fingerprint identification sensor is pressed, so that the terminal can acquire fingerprint information. As shown in fig. 8, for example, the motion trajectory direction of the user's finger may be as shown by an arrow a, that is, the user's finger first presses a certain position at the upper left corner of the preset sensing area, and then slides to the fingerprint recognition sensor from the lower right corner. Or, as shown by the arrow b, the user's finger first presses a certain position in the middle of the preset sensing area and then slides down to the fingerprint recognition sensor. Or, as shown by an arrow c, the user's finger first presses a certain position at the upper right corner of the preset sensing area, and then slides to the fingerprint identification sensor from the lower left corner.

In addition, the user can also combine the operation mode and the time period. For example, the user may preset that when the current time is before 12:00, the fingerprint authentication is performed by using a manner shown by an arrow a in fig. 8, that is, the terminal needs to detect that the sliding track direction of the user finger slides from the screen pressing position to the fingerprint recognition sensor in the lower right corner direction, and the time interval between the first time when the user finger presses the screen and the second time when the fingerprint recognition sensor acquires the user fingerprint is less than or equal to the preset time length. When the current time is 12:00 to 18:00, fingerprint verification is performed by using a mode shown by an arrow b in fig. 8, that is, when the terminal detects that the sliding track direction of the user finger slides downwards from the position of pressing the screen to the fingerprint identification sensor, and the time interval between the first moment when the user finger presses the screen and the second moment when the fingerprint identification sensor acquires the user fingerprint is less than or equal to the preset time length, fingerprint verification is performed. When the current time is 18:00 to 24:00, fingerprint verification is performed by using a mode shown by an arrow c in fig. 8, that is, the terminal performs fingerprint verification only when it detects that the sliding track direction of the user finger slides to the fingerprint identification sensor from the position of pressing the screen to the lower left corner, and the time interval between the first moment when the user finger presses the screen and the second moment when the fingerprint identification sensor acquires the user fingerprint is less than or equal to the preset time length.

It can be understood that, the embodiment can not only enhance the security of the fingerprint verification, but also the executing condition of the fingerprint verification is better in concealment and not easy to be known by illegal users, and the security of the terminal can be improved.

Referring to fig. 9, fig. 9 is a schematic structural diagram of a fingerprint verification apparatus according to an embodiment of the present application. The apparatus 300 for fingerprint verification may include: a monitoring module 301, a recording module 302, an acquisition module 303, and a verification module 304.

The monitoring module 301 is configured to monitor a preset sensing area on a terminal screen when fingerprint verification is required.

For example, when the terminal screen needs to be unlocked by fingerprint verification, the monitoring module 301 may first monitor a preset sensing area on the screen to detect whether an electrical signal of the preset sensing area changes.

If the electric signal of the preset induction area is not detected to be changed, the terminal can pause the fingerprint verification operation until the electric signal of the preset induction area is changed, and then corresponding fingerprint verification is carried out.

The recording module 302 is configured to record a first time when the electrical signal of the preset sensing area changes if the electrical signal of the preset sensing area is detected to change.

For example, the monitoring module 301 detects that the electrical signal of the preset sensing area changes due to the preset sensing area being pressed by a finger of a user, and the recording module 302 may record a first time when the electrical signal of the preset sensing area changes.

For example, when a user's finger presses a screen of a preset sensing area, the capacitive sensor built in the backlight layer of the screen of the preset sensing area detects that a value of current and/or voltage changes, that is, an electrical signal of the preset sensing area changes, and at this time, the recording module 302 may record a time when the value of current and/or voltage of the capacitive sensor built in the backlight layer of the screen of the preset sensing area changes, that is, a first time.

The collecting module 303 is configured to collect fingerprint information of a current user, and record a second time when the fingerprint information is collected.

For example, after the recording module 302 records the first time, the collecting module 303 may collect the fingerprint information of the current user through the fingerprint sensor, and record the time when the fingerprint information of the current user is collected, that is, the second time.

The verification module 304 is configured to perform fingerprint verification according to the acquired fingerprint information if it is detected that the first time and the second time meet a preset condition.

For example, after recording the first time and the second time, the verification module 304 may detect whether the first time and the second time satisfy the preset condition.

If it is detected that the first time and the second time satisfy the preset condition, the verification module 304 may perform fingerprint verification according to the fingerprint information of the current user previously collected by the fingerprint identification sensor. For example, in the case that it is detected that the first time and the second time meet the preset condition, the verification module 304 may compare the collected fingerprint information of the current user with target fingerprint information pre-stored in the terminal. If the current user is determined to be a legal user through fingerprint comparison, the verification module 304 may perform an unlocking operation on the screen, so that the current user can normally use the terminal. If the current user is determined not to be a valid user by the fingerprint comparison, the verification module 304 may not unlock the screen, and so on.

If the first time and the second time are detected not to meet the preset condition, the terminal does not perform subsequent fingerprint verification operation.

In one embodiment, the verification module 304 may be configured to:

calculating the time interval between the first time and the second time;

and if the time interval is detected to be less than or equal to the preset time, determining that the first moment and the second moment meet the preset condition, and performing fingerprint verification according to the acquired fingerprint information.

For example, after obtaining the first time and the second time, the verification module 304 may calculate a time interval between the first time and the second time.

The verification module 304 may then detect whether the time interval between the first time and the second time is less than or equal to a predetermined time.

If the time interval between the first time and the second time is greater than the preset time, the first time and the second time can be considered not to meet the preset condition, and the terminal does not perform subsequent fingerprint verification operation at the moment.

For example, the preset time period is 1 second. The terminal detects that the time interval between the first time and the second time is less than 1 second, and the verification module 304 may determine that the first time and the second time satisfy the preset condition. In this case, the verification module 304 may perform corresponding fingerprint verification according to the previously collected fingerprint information of the current user.

For example, the verification module 304 may compare the collected fingerprint information of the current user with the fingerprint information of the owner stored in the terminal in advance. If the current user is determined to be the owner through fingerprint comparison, the verification module 304 may perform an unlocking operation on the screen, so that the current user may normally use the terminal. If the current user is determined not to be the owner by the fingerprint comparison, the verification module 304 may not unlock the screen, and so on.

In one embodiment, the recording module 302 may be configured to:

if the electric signal of the preset induction area is detected to be changed, acquiring a pressure value of the user finger pressing the preset induction area;

and if the pressure value is detected to be within a preset range, recording the first moment when the electric signal of the preset induction area changes.

For example, the screen of the terminal is a screen with pressure sensing, and the difference of the user's finger tapping, tapping and tapping on the screen can be sensed. In this case, when the user's finger presses the preset sensing area on the screen, which causes the capacitive sensor built in the backlight layer of the screen in the preset sensing area to detect that the current and voltage values change, the recording module 302 may simultaneously obtain the pressure value of the user's finger pressing the preset sensing area.

The recording module 302 may then detect whether the pressure value is within a preset range. If so, the recording module 302 may record a first time when the electrical signal of the preset sensing area changes. If not, the recording module 302 may not perform fingerprint verification.

For example, the preset range corresponds to a pressure value range when the user's finger lightly presses the screen. That is, the execution condition of fingerprint verification is to require the user to first tap the screen of the preset sensing area. That is, only when the terminal detects that the user taps the screen of the preset sensing area, the recording module 302 records the first time when the electrical signal of the preset sensing area changes. If the terminal detects that the user lightly touches or presses the screen of the preset induction area again, the terminal can not record the first moment when the electric signal of the preset induction area changes, namely, the terminal does not carry out fingerprint verification.

Referring to fig. 10, fig. 10 is another schematic structural diagram of a fingerprint verification apparatus according to an embodiment of the present disclosure. In an embodiment, the apparatus 300 for fingerprint verification may further include: a module 305 is determined.

A determining module 305, configured to obtain a plurality of sample values of a duration taken by a user from a preset sensing area on a screen of the touch terminal to a process of touching the fingerprint identification sensor; and calculating the average value of the plurality of sample values, and determining the preset time length according to the average value.

For example, the terminal may select an area on the screen as a preset sensing area in advance. Referring to fig. 3, taking an example that the terminal screen includes a display area 10 and a non-display area 20, the display area 10 is an area for displaying pictures such as characters and images, and the non-display area 20 is an area for placing a front camera, an earphone, an ambient light sensor, a proximity sensor, and a fingerprint sensor. The terminal may set a region, which is located at the bottom of the display region 10 on the screen and occupies a quarter of the area of the display region, as a preset sensing region in advance. The fingerprint recognition sensor is disposed in a non-display area 20 at the bottom of the terminal screen.

In one embodiment, in the initialization phase of setting, the user may enter a "setting" interface of the terminal, and first click or lightly press or heavily press a preset sensing area on the screen according to a prompt of the terminal, and then press the fingerprint identification sensor, and the terminal may record a time point when the user touches the preset sensing area and a time point when the user presses the fingerprint identification sensor. Then, the terminal may calculate a time interval of the above two time points, which is one sample value of a time taken for the user to touch the fingerprint recognition sensor from the touch of the preset sensing area. It is understood that the user may repeat the above operations a plurality of times, so that the determination module 305 may obtain a plurality of sample values.

After acquiring the plurality of sample values, the determination module 305 may calculate an average of the plurality of sample values. The determination module 305 may then determine a preset duration based on the average. The preset time period may represent a time period that a user normally takes from touching the preset sensing area to touching the fingerprint recognition sensor.

For example, the determining module 305 may obtain 5 sample values, calculate an average value of the 5 sample values, and then determine the preset time duration according to the average value. For example, the determining module 305 may determine the average value as the preset time length, or the determining module 305 may increase or decrease a certain time length based on the average value to obtain a target time length, and determine the target time length as the preset time length.

In another embodiment, the determining module 305 may be further configured to: acquiring a face image of a user; determining the age value of the user according to the face image; and acquiring a target duration according to the age value, and determining the target duration as a preset duration.

For example, if the determination module 305 does not obtain a sufficient number of sample values of the time period taken for the user to touch the fingerprint identification sensor from the preset sensing area, if the determination module 305 obtains only 1 sample value, the terminal cannot determine the preset time period according to the average value of the sample values. In this case, the determination module 305 may also acquire a face image of the user and predict an age value of the user from the face image. Then, the determining module 305 may obtain a target duration according to the predicted age value, and determine the target duration as a preset duration.

For example, the terminal may set corresponding durations for different age values in advance, and generate a correspondence table regarding the age values and the durations. Then, after determining the age value of the user according to the face image of the user, the determining module 305 may query the corresponding relationship table, obtain a target duration corresponding to the age value of the user from the corresponding relationship table, and determine the target duration as a preset duration.

For example, the age value is 1.5 seconds for 1 to 10, 1 second for 11 to 40, 1.3 seconds for 40 or more, and so on.

Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed on a computer, causes the computer to perform the steps in the method for fingerprint verification as provided in this embodiment.

The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps in the fingerprint verification method provided in this embodiment by calling a computer program stored in the memory.

For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 11, fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.

The mobile terminal 400 may include components such as a display screen 401, memory 402, a processor 403, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 11 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

The display screen 401 may be used to display pictures such as text, images, and the like. In some embodiments, the display screen 401 may be a screen with pressure sensing.

The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.

The processor 403 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the mobile terminal.

In this embodiment, the processor 403 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, thereby implementing the steps:

when fingerprint verification is required, monitoring a preset induction area on a terminal screen; if the electric signal of the preset induction area is detected to change, recording a first moment when the electric signal of the preset induction area changes; collecting fingerprint information of a current user, and recording a second moment when the fingerprint information is collected; and if the first moment and the second moment are detected to meet preset conditions, fingerprint verification is carried out according to the collected fingerprint information.

Referring to fig. 12, the mobile terminal 500 may include a display screen 501, a memory 502, a processor 503, an input unit 504, an output unit 505, and the like.

The display screen 501 may be used to display text, images, and the like. In some embodiments, the display screen 401 may be a screen with pressure sensing.

The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.

The processor 503 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the mobile terminal.

The input unit 504 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

The output unit 505 may be used to display information input by or provided to a user and various graphic user interfaces of the mobile terminal, which may be configured by graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.

In this embodiment, the processor 503 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, thereby implementing the steps:

when fingerprint verification is required, monitoring a preset induction area on a terminal screen; if the electric signal of the preset induction area is detected to change, recording a first moment when the electric signal of the preset induction area changes; collecting fingerprint information of a current user, and recording a second moment when the fingerprint information is collected; and if the first moment and the second moment are detected to meet preset conditions, fingerprint verification is carried out according to the collected fingerprint information.

In an embodiment, when the processor 503 executes the step of performing fingerprint verification according to the collected fingerprint information if it is detected that the first time and the second time satisfy the preset condition, it may execute: calculating the time interval between the first time and the second time; and if the time interval is detected to be less than or equal to the preset time, determining that the first moment and the second moment meet the preset condition, and performing fingerprint verification according to the acquired fingerprint information.

In one embodiment, when the processor 503 executes the step of recording a first time when the electrical signal of the preset sensing area changes when the electrical signal of the preset sensing area is detected to change, the following steps may be executed: if the electric signal of the preset induction area is detected to be changed, acquiring a pressure value of the user finger pressing the preset induction area; and if the pressure value is detected to be within a preset range, recording the first moment when the electric signal of the preset induction area changes.

In one embodiment, before performing the step requiring fingerprint verification, the processor 503 may further perform: acquiring a plurality of sample values of the time length spent by a user in the process of touching a fingerprint identification sensor from a preset sensing area on a screen of a touch terminal; and calculating the average value of the plurality of sample values, and determining the preset time length according to the average value.

In one embodiment, before performing the step requiring fingerprint verification, the processor 503 may further perform: acquiring a face image of a user; determining the age value of the user according to the face image; and acquiring a target duration according to the age value, and determining the target duration as a preset duration.

In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the fingerprint verification method, and are not described herein again.

The fingerprint verification device provided in the embodiment of the present application and the fingerprint verification method in the above embodiments belong to the same concept, and any method provided in the embodiment of the fingerprint verification method can be run on the fingerprint verification device, and a specific implementation process thereof is described in detail in the embodiment of the fingerprint verification method, and is not described herein again.

It should be noted that, for the method for fingerprint verification described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the method for fingerprint verification described in the embodiment of the present application may be implemented by controlling the relevant hardware through a computer program, where the computer program may be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution, the process of implementing the embodiment of the method for fingerprint verification described above may be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.

For the fingerprint verification device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.

The method, the apparatus, the storage medium, and the electronic device for fingerprint verification provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A method of fingerprint authentication, comprising:
acquiring a plurality of sample values of the time length spent by a user in the process of touching a fingerprint identification sensor from a preset sensing area on a screen of a touch terminal;
calculating an average value of the plurality of sample values, and determining a preset time length according to the average value;
when fingerprint verification is required, monitoring a preset induction area on a terminal screen;
if the electric signal of the preset induction area is detected to change, recording a first moment when the electric signal of the preset induction area changes;
collecting fingerprint information of a current user, and recording a second moment when the fingerprint information is collected;
calculating the time interval between the first time and the second time;
and if the time interval is detected to be less than or equal to the preset time, determining that the first moment and the second moment meet the preset condition, and performing fingerprint verification according to the acquired fingerprint information.
2. The method of claim 1, wherein if the change of the electrical signal of the predetermined sensing area is detected, the recording a first time when the change of the electrical signal of the predetermined sensing area occurs comprises:
if the electric signal of the preset induction area is detected to be changed, acquiring a pressure value of the user finger pressing the preset induction area;
and if the pressure value is detected to be within a preset range, recording the first moment when the electric signal of the preset induction area changes.
3. The method of fingerprint authentication according to claim 2, further comprising, before said step of requiring fingerprint authentication:
acquiring a face image of a user;
determining the age value of the user according to the face image;
and acquiring a target duration according to the age value, and determining the target duration as a preset duration.
4. An apparatus for fingerprint authentication, comprising:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for acquiring a plurality of sample values of the time spent by a user in the process of touching a fingerprint identification sensor from a preset sensing area on a touch terminal screen;
calculating an average value of the plurality of sample values, and determining a preset time length according to the average value;
the monitoring module is used for monitoring a preset sensing area on a terminal screen when fingerprint verification is required;
the recording module is used for recording a first moment when the electric signal of the preset induction area changes if the electric signal of the preset induction area is detected to change;
the acquisition module is used for acquiring the fingerprint information of the current user and recording the second moment when the fingerprint information is acquired;
the verification module calculates the time interval between the first time and the second time;
and if the time interval is detected to be less than or equal to the preset time, determining that the first moment and the second moment meet the preset condition, and performing fingerprint verification according to the acquired fingerprint information.
5. A storage medium having stored thereon a computer program, characterized in that the computer program, when executed on a computer, causes the computer to execute the method according to any of claims 1 to 3.
6. An electronic device comprising a memory, a processor, wherein the processor is configured to perform the method of any of claims 1 to 3 by invoking a computer program stored in the memory.
CN201711322260.0A 2017-12-12 2017-12-12 Fingerprint verification method and device, storage medium and electronic equipment CN107958146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711322260.0A CN107958146B (en) 2017-12-12 2017-12-12 Fingerprint verification method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711322260.0A CN107958146B (en) 2017-12-12 2017-12-12 Fingerprint verification method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107958146A CN107958146A (en) 2018-04-24
CN107958146B true CN107958146B (en) 2020-01-14

Family

ID=61958600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711322260.0A CN107958146B (en) 2017-12-12 2017-12-12 Fingerprint verification method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107958146B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217151A (en) * 2014-09-11 2014-12-17 三星电子(中国)研发中心 Locking method for application of intelligent terminal and intelligent terminal
CN104951684A (en) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 Fingerprint encryption and decryption method and terminal
CN106126987A (en) * 2016-06-16 2016-11-16 青岛海信移动通信技术股份有限公司 A kind of unlocking method and a device of mobile device
CN107132946A (en) * 2017-04-26 2017-09-05 深圳市万普拉斯科技有限公司 Fingerprint recognition based reminding method, device, storage medium and computer equipment
CN107193363A (en) * 2017-05-27 2017-09-22 宇龙计算机通信科技(深圳)有限公司 A kind of terminal and terminal screen unlocking method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101160681B1 (en) * 2011-10-19 2012-06-28 배경덕 Method, mobile communication terminal and computer-readable recording medium for operating specific function when activaing of mobile communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217151A (en) * 2014-09-11 2014-12-17 三星电子(中国)研发中心 Locking method for application of intelligent terminal and intelligent terminal
CN104951684A (en) * 2015-06-18 2015-09-30 广东欧珀移动通信有限公司 Fingerprint encryption and decryption method and terminal
CN106126987A (en) * 2016-06-16 2016-11-16 青岛海信移动通信技术股份有限公司 A kind of unlocking method and a device of mobile device
CN107132946A (en) * 2017-04-26 2017-09-05 深圳市万普拉斯科技有限公司 Fingerprint recognition based reminding method, device, storage medium and computer equipment
CN107193363A (en) * 2017-05-27 2017-09-22 宇龙计算机通信科技(深圳)有限公司 A kind of terminal and terminal screen unlocking method

Also Published As

Publication number Publication date
CN107958146A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
US9465930B2 (en) Fingerprint gestures
CN103823632B (en) A kind of unlocking screen method and its terminal
RU2607271C2 (en) Method for preventing misoperation of touchscreen, touchscreen and mobile terminal
US20170270289A1 (en) User-authentication gestures
US20170076079A1 (en) Terminal device based on fingerprint identification, and method and system for logging into terminal device in standby state
RU2643460C2 (en) Touch keys and method for implementing fingerprint recognition, apparatus and terminal device
WO2017024748A1 (en) Fingerprint recognition system and method, and display apparatus
US10346699B2 (en) Methods and systems for enrolling biometric data
KR20170072904A (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
US9477873B2 (en) Portable device including a fingerprint scanner and method of controlling therefor
KR101280050B1 (en) Location-based security system for portable electronic device
US8810367B2 (en) Electronic device with multimode fingerprint reader
US10481793B2 (en) Sensor managed apparatus, method and computer program product
WO2018119566A1 (en) Method and device for guiding fingerprint recognition
US10002244B2 (en) Utilization of biometric data
KR101773030B1 (en) Method of controlling an electronic device
CN104321778B (en) The auto-associating of Service Ticket and biometric information
US9710630B2 (en) Electronic device and method of providing security using complex biometric information
TWI522835B (en) Electronic device switchable to a user-interface unlocked mode based upon a pattern of input motions and related methods
KR101682158B1 (en) Adaptive sensing component resolution based on touch location authentication
TWI557649B (en) Electronic device and control method for fingerprint recognition apparatus
EP3100194B1 (en) Dynamic keyboard and touchscreen biometrics
JP2013239184A (en) Method and system for graphical passcode security
US20170315651A1 (en) Biometric Initiated Communication
US20140009413A1 (en) Pressure-sensing touch method and touch display device thereof

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant