Fingerprint unlocking method and device, electronic equipment and storage medium

By introducing training fingerprints into traditional fingerprint unlocking solutions for comparison, the problem of reduced fingerprint unlocking accuracy under interference from external factors is solved, and higher fingerprint unlocking accuracy and reliability are achieved.

CN119740216AActive Publication Date: 2025-04-01VIVO MOBILE COMM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411825967.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-01
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

External factors such as water wrinkle reactions lead to a decrease in the accuracy of fingerprint unlocking, and electronic devices cannot be successfully unlocked.

Method used

Based on the traditional fingerprint unlocking solution, training fingerprints are introduced for comparison. When the similarity between the first fingerprint information of the user and the pre-stored fingerprint information is less than a threshold, the first fingerprint information is compared with the training fingerprint, and if the similarity is greater than the second threshold, the electronic device is unlocked.

Benefits of technology

Improve the accuracy of fingerprint unlocking, especially in the case of interference from external factors, such as water wrinkle reactions, ensuring reliable unlocking of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119740216A_ABST
    Figure CN119740216A_ABST
Patent Text Reader

Abstract

The invention discloses a fingerprint unlocking method and device, electronic equipment and a storage medium, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring first fingerprint information of a user; determining the similarity between the first fingerprint information and second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information; under the condition that the similarity between the first fingerprint information and pre-stored second fingerprint information of the user is smaller than a first threshold value, the first fingerprint information is compared with training fingerprints, and the training fingerprints are determined based on multiple pieces of fingerprint information, meeting preset conditions, of the user and obtained before the first fingerprint information; and when it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, unlocking the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic devices, and specifically relates to a fingerprint unlocking method, device, electronic device and storage medium. Background Art

[0002] With the development of biometric technology, fingerprint recognition technology has been widely used in mobile phones and other electronic devices. Users have an increasing demand for fast and accurate fingerprint recognition technology, especially accurate fingerprint unlocking in various harsh environments.

[0003] Interference from external factors may affect the effect of fingerprint unlocking of electronic devices, resulting in failure to successfully use fingerprints to unlock electronic devices, which in turn affects the accuracy of fingerprint unlocking. For example, when fingers are immersed in water for a long time, obvious wrinkles often form on the surface of the fingers. This phenomenon is called "water wrinkle reaction", which will seriously affect the accuracy of fingerprint unlocking. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a fingerprint unlocking method, device, electronic device and storage medium to improve the accuracy of fingerprint unlocking.

[0005] In a first aspect, an embodiment of the present application provides a fingerprint unlocking method, the method comprising:

[0006] Obtain the user's first fingerprint information;

[0007] Determine the similarity between the first fingerprint information and the second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information;

[0008] When the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, comparing the first fingerprint information with a training fingerprint, where the training fingerprint is determined based on multiple fingerprint information of the user that meets a preset condition and is obtained before the first fingerprint information;

[0009] When it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, the electronic device is unlocked.

[0010] In a second aspect, an embodiment of the present application provides a fingerprint unlocking device, which includes:

[0011] A first acquisition module, used to acquire the first fingerprint information of the user;

[0012] A first determination module, configured to determine a similarity between the first fingerprint information and second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information;

[0013] a first comparison module, configured to compare the first fingerprint information with a training fingerprint when the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, the training fingerprint being determined based on a plurality of fingerprint information of the user that meets a preset condition and is obtained before the first fingerprint information;

[0014] The first determination module is used to unlock the electronic device when it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold.

[0015] In a third aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0018] In an embodiment of the present application, when using fingerprint unlocking, when it is determined that the similarity between the user's first fingerprint information and the pre-stored second fingerprint information of the user is less than a first threshold, that is, when the traditional solution cannot be used to unlock the phone using fingerprints, the first fingerprint information can be compared with the training fingerprint. Since the training fingerprint is determined based on multiple fingerprint information of the user that meet preset conditions that were previously obtained, the solution of the embodiment of the present application introduces the training fingerprint to perform fingerprint verification on the first fingerprint information on the basis of the traditional fingerprint unlocking solution, thereby improving the accuracy of fingerprint unlocking. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a flowchart of a fingerprint unlocking method provided by some embodiments of the present application;

[0020] Figure 2 is a schematic diagram of fingerprint information provided by some embodiments of the present application;

[0021] Figure 3 It is a flowchart of a fingerprint unlocking method provided by some embodiments of the present application;

[0022] Figure 4 is a schematic diagram of generating training fingerprints provided in some embodiments of the present application;

[0023] Figure 5is a schematic diagram of a training fingerprint generation process provided by some embodiments of the present application;

[0024] Figure 6 is a schematic diagram of the structure of a fingerprint unlocking device shown in some embodiments of the present application;

[0025] Figure 7 is a schematic diagram of the structure of an electronic device shown in some embodiments of the present application;

[0026] Figure 8 It is a schematic diagram of the hardware structure of an electronic device shown in some embodiments of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or N. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0029] Before introducing the technical solution of the embodiment of the present application, the background technology of the embodiment of the present application is first introduced:

[0030] The traditional fingerprint unlocking method is: when the user's finger touches the touch sensor, the sensor will emit a trace radio frequency signal or use other technologies (such as optical, capacitive) to penetrate the epidermis of the finger and detect the inner texture to obtain the user's fingerprint information. The electronic device will then compare the acquired fingerprint information with the unlocking fingerprint template pre-stored in the electronic device. If the two match, the verification is successful and the electronic device is successfully unlocked. Otherwise, the verification fails and the electronic device remains locked.

[0031] At present, interference from external factors may affect the effect of fingerprint unlocking of electronic devices, resulting in failure to successfully use fingerprints to unlock electronic devices, which in turn affects the accuracy of fingerprint unlocking. For example, when fingers are immersed in water for a long time, obvious wrinkles often form on the surface of the fingers. This phenomenon is called "water wrinkle reaction", which will seriously affect the accuracy of fingerprint unlocking.

[0032] In order to solve the above problems, the embodiments of the present application provide a fingerprint unlocking method, device, electronic device and storage medium. When using fingerprint unlocking, when it is determined that the similarity between the user's first fingerprint information and the pre-stored user's second fingerprint information is less than a first threshold, that is, when the traditional solution cannot be used for fingerprint unlocking, the first fingerprint information can be compared with the training fingerprint. Since the training fingerprint is determined based on multiple fingerprint information of the user that meet preset conditions previously obtained, the solution of the embodiments of the present application introduces the training fingerprint to perform fingerprint verification on the first fingerprint information on the basis of the traditional fingerprint unlocking solution, thereby improving the accuracy of fingerprint unlocking.

[0033] The technical solution of the embodiments of the present application can be applied to scenarios where fingerprints are wrinkled due to external environmental factors, which in turn leads to fingerprint unlocking failure. For example, it can be applied to scenarios where fingers are immersed in water for a long time, causing a "water wrinkle reaction", resulting in fingerprint unlocking failure.

[0034] The fingerprint unlocking method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0035] Figure 1 It is a flow chart of a fingerprint unlocking method provided in an embodiment of the present application. The executor of the fingerprint unlocking method may be an electronic device, which may be but is not limited to a personal computer (PC), a smart phone, a tablet computer or a personal digital assistant (PDA).

[0036] like Figure 1 As shown, the fingerprint unlocking method provided in the embodiment of the present application may include steps 110 to 140.

[0037] Step 110: Obtain the user's first fingerprint information.

[0038] The first fingerprint information may be the fingerprint information of the user obtained when the user wants to unlock the electronic device with a fingerprint.

[0039] In some embodiments of the present application, the first fingerprint information may be obtained based on a fingerprint collection device in an electronic device. The first fingerprint information may be fingerprint information under a phenomenon such as a wrinkle on the fingerprint caused by external factors, such as a "water wrinkle reaction".

[0040] Step 120: Determine the similarity between the first fingerprint information and the second fingerprint information.

[0041] The second fingerprint information may be pre-stored user fingerprint information, which may be fingerprint information used to successfully unlock the electronic device, and may be used to verify the first fingerprint information to verify whether the first fingerprint information can successfully unlock the electronic device.

[0042] In some embodiments of the present application, reference Figure 2 ,The fingerprint information can be composed of multiple feature pixels, such as Figure 2 Feature pixel point 21, feature pixel point 22 and feature pixel point 23 in .

[0043] It should be noted that Figure 2 This is only an example, and does not limit the fingerprint information to consist of only three feature pixels.

[0044] In order to accurately determine the similarity between the first fingerprint information and the second fingerprint information, step 120 may specifically include:

[0045] Comparing a fifth characteristic pixel point set corresponding to the first fingerprint information with a second characteristic pixel point set corresponding to the second fingerprint information;

[0046] The similarity between the first fingerprint information and the second fingerprint information is determined according to the number of identical characteristic pixel points between the fifth characteristic pixel point set and the second characteristic pixel point set.

[0047] The fifth characteristic pixel point set may be a set of characteristic pixel points corresponding to the first fingerprint information.

[0048] The second feature pixel point set may be a set consisting of feature pixel points corresponding to the second fingerprint information.

[0049] In some embodiments of the present application, when comparing the first fingerprint information and the second fingerprint information, the fifth feature pixel point set corresponding to the first fingerprint information and the second feature pixel point set corresponding to the second fingerprint information may be compared, and the similarity between the first fingerprint information and the second fingerprint information may be determined based on the number of identical feature pixel points between the fifth feature pixel point set and the second feature pixel point set.

[0050] In an example, taking the fifth feature pixel point set corresponding to the first fingerprint information as feature pixel point set c and the second feature pixel point set corresponding to the second fingerprint information as feature pixel point set a, the number of identical feature pixel points in feature pixel point set c and feature pixel point set a can be compared, and the similarity between the first fingerprint information and the second fingerprint information can be determined based on the number.

[0051] In an embodiment of the present application, by comparing the fifth feature pixel point set corresponding to the first fingerprint information with the second feature pixel point set corresponding to the second fingerprint information, the similarity between the first fingerprint information and the second fingerprint information of the pre-stored user can be accurately determined based on the number of identical feature pixel points between the fifth feature pixel point set and the second feature pixel point set, thereby improving the accuracy of determining the similarity between the first fingerprint information and the second fingerprint information of the pre-stored user.

[0052] Step 130: When the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, compare the first fingerprint information with the training fingerprint.

[0053] The first threshold may be a pre-set threshold of the similarity between the first fingerprint information and the second fingerprint information. Specifically, the first threshold may be a threshold indicating that the electronic device can be successfully unlocked by comparing the first fingerprint information with the second fingerprint information. The specific value of the first threshold may be set according to user needs and is not limited in the embodiments of the present application.

[0054] The training fingerprint may be fingerprint information other than the second fingerprint information that is set for verifying the first fingerprint information when the first fingerprint information is used to verify the first fingerprint information and the electronic device is not successfully unlocked by the first fingerprint information.

[0055] The training fingerprint may be determined based on multiple fingerprint information of the user that meets the preset conditions obtained before the first fingerprint information is obtained, that is, the training fingerprint is determined based on multiple fingerprint information of the user that meets the preset conditions obtained before the first fingerprint information is obtained. The preset condition here may be a pre-set condition that can be used as a training fingerprint, and the preset condition will be described in detail in subsequent embodiments.

[0056] In some embodiments of the present application, when it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, that is, when the electronic device is unlocked unsuccessfully using the first fingerprint information, the first fingerprint information may be compared with the training fingerprint.

[0057] The above-mentioned determining that the similarity between the first fingerprint information and the second fingerprint information is less than the first threshold may specifically include:

[0058] When the number of identical characteristic pixel points between the fifth characteristic pixel point set and the second characteristic pixel point set is less than the first threshold, it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than the first threshold.

[0059] In some embodiments of the present application, whether the similarity between the first fingerprint information and the second fingerprint information is less than the first threshold can be determined based on the relationship between the number of identical feature pixels between the fifth feature pixel set and the second feature pixel set and the first threshold.

[0060] It should be noted that when the first fingerprint information is compared with the training fingerprint, the feature pixel point set corresponding to the first fingerprint information is also compared with the feature pixel point set corresponding to the training fingerprint.

[0061] In some embodiments of the present application, when it is determined that the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is greater than or equal to a first threshold, it means that the similarity between the first fingerprint information and the second fingerprint information is very large, that is, the electronic device can be successfully unlocked using the first fingerprint information.

[0062] Step 140: When it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, unlock the electronic device.

[0063] The second threshold may be a pre-set threshold of similarity between the first fingerprint information and the training fingerprint, and the second threshold is used to characterize the threshold at which the electronic device can be successfully unlocked by comparing the first fingerprint information with the training fingerprint. The second threshold may be the same as the first threshold, or may be different from the first threshold. The specific value of the second threshold may be set according to user needs and is not limited in the embodiments of the present application.

[0064] In some embodiments of the present application, if the similarity between the first fingerprint information and the training fingerprint is greater than the second threshold, it means that the first fingerprint information and the training fingerprint are very similar, and the first fingerprint information can be used to successfully unlock the electronic device.

[0065] In some embodiments of the present application, in order to increase the diversity of unlocking methods, after step 120, the above method may further include:

[0066] When it is determined that the similarity between the first fingerprint information and the training fingerprint is less than or equal to the second threshold, prompt information is output.

[0067] Among them, the prompt information can be information output to prompt the user whether to use other methods to unlock the electronic device when it is determined that the similarity between the first fingerprint information and the training fingerprint is less than or equal to the second threshold. That is, the prompt information is used to prompt the user whether to use other methods to unlock the electronic device.

[0068] In some embodiments of the present application, when it is determined that the similarity between the first fingerprint information and the training fingerprint is less than or equal to the second threshold, it means that the electronic device cannot be unlocked using the first fingerprint information, so the electronic device can output a prompt message, asking the user whether to use other biometric recognition methods to unlock the electronic device, such as but not limited to facial recognition, pupil recognition, pattern recognition, password recognition, etc. If the user confirms to use other biometric recognition methods to unlock the electronic device, the electronic device can control the designated recognition device to identify and unlock. If the user still uses the fingerprint unlocking method to unlock, the above steps 110-140 are repeated until the fingerprint unlocking is successful.

[0069] In an embodiment of the present application, when it is determined that the similarity between the first fingerprint information and the training fingerprint is less than or equal to the second threshold, a prompt message can be output to prompt the user whether to use other methods to unlock the electronic device. In this way, the user can use other unlocking methods when fingerprint unlocking fails, thereby improving the diversity of unlocking methods.

[0070] The above describes the workflow of unlocking an electronic device using fingerprint information. To better understand the above fingerprint unlocking workflow, the following describes the workflow of the fingerprint unlocking method using a specific scenario.

[0071] Figure 3 is a flow chart of a fingerprint unlocking method provided in an embodiment of the present application, such as Figure 3 As shown, the fingerprint unlocking method provided in the embodiment of the present application may include steps 301 to 306.

[0072] Step 301: Obtain the user's first fingerprint information.

[0073] Step 302 , determine whether the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is greater than or equal to a first threshold, if so, execute step 306 , if not, execute step 303 .

[0074] Step 303 , determining whether the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, if so, executing step 306 , if not, executing step 304 .

[0075] Step 304: Whether to use other methods to unlock the electronic device, if so, execute step 305, if not, return to execute step 301.

[0076] Step 305: Unlock the electronic device using other methods.

[0077] Step 306: Successfully unlock the electronic device.

[0078] The following describes the process of determining the training fingerprint:

[0079] In some embodiments of the present application, in order to improve the accuracy of fingerprint unlocking, before step 110, the above method may further include:

[0080] Obtaining multiple third fingerprint information of the user;

[0081] Comparing each third fingerprint information with the second fingerprint information respectively;

[0082] When the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than the third threshold, the third fingerprint information is used as a pre-trained fingerprint;

[0083] If the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period, determining the third fingerprint information as the fingerprint to be trained;

[0084] A training fingerprint is determined according to multiple fingerprints to be trained.

[0085] Among them, the third fingerprint information can be the fingerprint information of the user collected before using the first fingerprint information to unlock the electronic device. The third fingerprint information can be the fingerprint information of the user collected under any circumstances, such as the fingerprint information of "water wrinkle reaction", and can also be fingerprint information under other circumstances, such as the fingerprint information collected when the finger has been soaked but has not yet reached a very obvious "water wrinkle reaction".

[0086] The third threshold value may be a pre-set threshold value of the similarity between the third fingerprint information and the second fingerprint information. The third threshold value may be a threshold for determining whether the first fingerprint information is similar to the pre-stored fingerprint (the second fingerprint information and the training fingerprint) in the electronic device. If it is greater than the third threshold value, it is considered that the first fingerprint information is similar to the pre-stored fingerprint but there are some differences. Although it cannot be successfully unlocked, it can be used as a potential training sample to generate a training fingerprint. The value of the third threshold value can be set according to user needs and is not limited in the embodiments of the present application.

[0087] The pre-trained fingerprint may be a preliminary fingerprint of the training fingerprint. Specifically, when it is determined that the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than the third threshold, the third fingerprint information may be used as the pre-trained fingerprint.

[0088] The preset time period may be a preset time period used to unlock the electronic device using the pre-trained fingerprint, which may be used as the time period for the fingerprint to be trained.

[0089] It should be noted that the above-mentioned preset time period can be determined by the time required to unlock the electronic device based on prior experience or user needs. For example, when using a fingerprint to unlock an electronic device under normal circumstances, if the unlocking fails at the beginning, more attempts will be made, generally for a period of time (for example, 30 seconds). If it is still not unlocked within the time period, it is considered that the fingerprint will not successfully unlock the electronic device. If the electronic device can be unlocked within the time period, it is considered that the fingerprint can successfully unlock the electronic device, but the fingerprint may not be fully obtained at the beginning or other factors may cause the fingerprint to fail to unlock. In this case, the preset time period can be 30 seconds.

[0090] The fingerprint to be trained may be a fingerprint to be used as a training fingerprint.

[0091] In some embodiments of the present application, multiple third fingerprint information of the user can be obtained, and then for each third fingerprint information, the third fingerprint information is compared with the second fingerprint information. When it is determined that the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than the third threshold, the third fingerprint information is used as a pre-trained fingerprint. If the electronic device is successfully unlocked within a preset time period using the pre-trained fingerprint, the third fingerprint information is determined to be the fingerprint to be trained, and then a training fingerprint is determined based on the multiple fingerprints to be trained.

[0092] It should be noted that when the third fingerprint information is compared with the second fingerprint information, the feature pixel point set corresponding to the third fingerprint information is also compared with the feature pixel point set corresponding to the second fingerprint information to determine whether the number of identical feature pixel points in the feature pixel point set corresponding to the third fingerprint information and the feature pixel point set corresponding to the second fingerprint information is greater than a third threshold. If greater than the third threshold, it is determined that the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than the third threshold.

[0093] In an embodiment of the present application, multiple third fingerprint information are pre-acquired. Although these third fingerprint information cannot successfully unlock the electronic device, they can be used as potential training samples to generate training fingerprints. In this way, when the randomness of wrinkles produced by the "water wrinkle reaction" causes the fingerprint unlocking to fail, the first fingerprint information can be verified based on the training fingerprint to improve the accuracy of fingerprint unlocking.

[0094] In some embodiments of the present application, when it is determined that the similarity between the third fingerprint information and the second fingerprint information is less than or equal to a third threshold, it is considered that the third fingerprint information cannot successfully unlock the electronic device, that is, the third fingerprint information is not the holder of the electronic device, so the third fingerprint information can be erased.

[0095] If it is determined that the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than the third threshold, but the electronic device is still not successfully unlocked using the pre-trained fingerprint within a preset time period, it is considered that the collection of the third fingerprint information is not comprehensive enough, and the third fingerprint information can be erased.

[0096] In some embodiments of the present application, in order to improve the accuracy of determining the training fingerprint, determining the training fingerprint according to the plurality of fingerprints to be trained may include:

[0097] Obtaining a first feature pixel point set corresponding to each fingerprint to be trained, and a second feature pixel point set corresponding to the second fingerprint information;

[0098] The training fingerprint is determined according to the first characteristic pixel point set and the second characteristic pixel point set corresponding to each fingerprint to be trained.

[0099] For each fingerprint to be trained, the corresponding first feature pixel point set may be a set of feature pixel points corresponding to the fingerprint to be trained.

[0100] In some embodiments of the present application, since fingerprint information is composed of multiple feature pixels, the training fingerprint can be determined based on the first feature pixel set corresponding to each fingerprint to be trained and the second feature pixel set corresponding to the second fingerprint information.

[0101] In the embodiment of the present application, the training fingerprint is determined according to the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set corresponding to the second fingerprint information, thereby improving the accuracy of determining the training fingerprint.

[0102] In some embodiments of the present application, in order to accurately obtain a training fingerprint, determining the training fingerprint according to the first feature pixel point set and the second feature pixel point set corresponding to each fingerprint to be trained may include:

[0103] Acquire the first feature pixel point set corresponding to each fingerprint to be trained and the feature pixel points existing in the second feature pixel point set to obtain a third feature pixel point set;

[0104] Acquire feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to a fourth threshold, to obtain a fourth feature pixel point set;

[0105] A training fingerprint is obtained based on the third feature pixel point set and the fourth feature pixel point set.

[0106] The third feature pixel point set may be a first feature pixel point set corresponding to each fingerprint to be trained, and a set of feature pixel points existing in the second feature pixel point set.

[0107] The fourth feature pixel point set may be a set of feature pixel points that exist in the second feature pixel point set and whose number of appearances in the first feature pixel point set corresponding to each fingerprint to be trained is greater than a fourth threshold.

[0108] The fourth threshold value may be a pre-set feature pixel point existing in the second feature pixel point set, which is a threshold value of the number of occurrences of the feature pixel point in the first feature pixel point set corresponding to each fingerprint to be trained. The fourth threshold value may be determined based on the number of fingerprints to be trained and the second fingerprint information. Specifically, it may be half of the number of fingerprints to be trained and the second fingerprint information. For example, if there are 10 fingerprints to be trained and 1 second fingerprint information, the fourth threshold value may be 6.

[0109] In some embodiments of the present application, a first feature pixel point set corresponding to each fingerprint to be trained and feature pixel points existing in the second feature pixel point set can be obtained to obtain a third feature pixel point set, and then feature pixel points existing in the second feature pixel point set and having an appearance number greater than or equal to a fourth threshold in the first feature pixel point set corresponding to each fingerprint to be trained are obtained to obtain a fourth feature pixel point set, and the sum of the third feature pixel point set and the fourth feature pixel point set is used as the pixel feature point set of the training fingerprint.

[0110] Continuing with the above example, refer to Figure 4, the fingerprint to be trained includes training fingerprint 41 and training fingerprint 42, the feature pixel point set corresponding to training fingerprint 41 includes: feature pixel points 1, 2, 4, 5, 6, 8, 9, 10, 11, 13, 14, the feature pixel point set corresponding to training fingerprint 42 includes: feature pixel points 1, 2, 3, 4, 5, 6, 10, 14, 15, 16, the feature pixel point set a corresponding to the second fingerprint information includes: feature pixel points 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and the fourth threshold is 1. For example, the feature pixel points included in training fingerprint 41, training fingerprint 42 and the second fingerprint information are 1, 2, 4, 5, 6, 10, and the feature pixel points that exist in the second fingerprint information and appear more than or equal to 1 time in training fingerprint 41 and training fingerprint 42 are 3, 8, 9, 14, then the feature pixel points 1, 2, 4, 5, 6, 10, 3, 8, 9, 14 can be used as the feature pixel point set b corresponding to the training fingerprint.

[0111] It should be noted that the above Figure 4 The feature pixel set corresponding to the fingerprint to be trained and the feature pixel set corresponding to the second fingerprint information are only for illustration, and the number and position of the feature pixel set corresponding to the fingerprint to be trained and the feature pixel set corresponding to the second fingerprint information are not limited to Figure 4 Quantity and location shown.

[0112] It should be noted that the third feature pixel point set can be used as the basic feature pixel point set, and the fourth feature pixel point set can be used as the trusted feature pixel point set. The feature pixel point set of the training fingerprint = the basic feature pixel point set + the trusted feature pixel point set.

[0113] The above-mentioned basic feature pixel set and trust feature pixel set can be understood as follows: when the finger is immersed for a long time and the "water wrinkle reaction" occurs, most of the fingerprint features will still be retained, that is, the feature pixels contained in all samples (the fingerprint to be trained and the second fingerprint information), and this part constitutes the basic feature pixels; a part of the fingerprint features will disappear or change, and each change is random. The feature pixels that appear more times in all samples can be identified as the "new features" generated by the fingerprint after the "water wrinkle reaction", and this part of the pixels constitutes the trust feature pixels.

[0114] In an embodiment of the present application, a third feature pixel point set is obtained by acquiring feature pixel points that exist in both the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set; and a fourth feature pixel point set is obtained by acquiring feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to a fourth threshold; then, based on the third feature pixel point set and the fourth feature pixel point set, the training fingerprint can be accurately obtained.

[0115] In some embodiments of the present application, when the number of training fingerprint samples is insufficient, the fingerprint recognition may fail due to the randomness of wrinkles produced by the water wrinkle reaction. However, as more and more training samples are collected for training fingerprints, the unlocking accuracy and speed can be further improved. Therefore, after each acquisition of fingerprint information, the above method can be used to increase the feature pixel point set of the training fingerprint to enrich the feature pixel point set of the training fingerprint and improve the fingerprint unlocking accuracy and speed.

[0116] Therefore, after obtaining the first fingerprint information, when it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than the first threshold, the characteristic pixel points in the first fingerprint information can also be used as the rows and columns of characteristic pixel points of the training fingerprint. Specifically, when it is determined that the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is less than the first threshold, the above method can also include:

[0117] When it is determined that the similarity between the first fingerprint information and the second fingerprint information is greater than a third threshold and the electronic device is successfully unlocked using the first fingerprint information within a preset time period, the training fingerprint is updated based on the first fingerprint information.

[0118] In some embodiments of the present application, when the similarity between the first fingerprint information and the second fingerprint information of the user stored in advance is less than a first threshold, that is, when the first fingerprint information is used to compare it with the second fingerprint information, the electronic device is not successfully unlocked, if the similarity between the first fingerprint information and the second fingerprint information is greater than a third threshold, and the electronic device is successfully unlocked using the first fingerprint information within a preset time period, the first fingerprint information can be used as the fingerprint to be trained, and the training fingerprint can be updated using the first fingerprint information to increase the sample size of the training fingerprint.

[0119] In an embodiment of the present application, when it is determined that the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is less than a first threshold and greater than a third threshold, and the electronic device is successfully unlocked using the first fingerprint information within a preset time period, the training fingerprint can be updated based on the first fingerprint information, thereby increasing the sample size of the training fingerprint to improve the accuracy and speed of fingerprint unlocking.

[0120] The generation process of the training fingerprint is introduced above. In order to better understand the generation process of the training fingerprint, the generation process of the training fingerprint is introduced below by taking the third fingerprint information including fingerprint information 31, fingerprint information 32, ..., fingerprint information 3n as an example.

[0121] Figure 5 is a flow chart of a training fingerprint generation process provided by an embodiment of the present application, such as Figure 5 As shown, the training fingerprint generation process provided in the embodiment of the present application may include steps 511 to 517.

[0122] Step 511, determine whether the similarity between the feature pixel point set corresponding to the fingerprint information 31 and the second feature pixel point set corresponding to the second fingerprint information is greater than a third threshold, if so, execute step 512, if not, execute step 513.

[0123] Step 512: Erase fingerprint information 31.

[0124] Step 513: Use the fingerprint information 31 as a pre-trained fingerprint.

[0125] Step 514: determine whether the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period. If not, execute step 515; if so, execute step 516.

[0126] Step 515: Erase the pre-trained fingerprint.

[0127] Step 516: Use the pre-trained fingerprint as the fingerprint to be trained.

[0128] In this process, the fingerprint information 32, ..., fingerprint information 3n are respectively subjected to the above steps 511 to 516 according to the above fingerprint information 31 to obtain a plurality of fingerprints to be trained.

[0129] Step 517: Determine a training fingerprint according to the multiple fingerprints to be trained.

[0130] The specific implementation process of step 517 can refer to the above embodiment and will not be described again here.

[0131] The fingerprint unlocking method provided in the embodiment of the present application can be executed by a fingerprint unlocking device. In the embodiment of the present application, the fingerprint unlocking device provided in the embodiment of the present application is described by taking the fingerprint unlocking device executing the information processing method as an example.

[0132] Figure 6 FIG. 1 is a schematic diagram showing a structure of a fingerprint unlocking device according to an exemplary embodiment. Figure 6 As shown, the fingerprint unlocking device 600 may include:

[0133] A first acquisition module 610, used to acquire first fingerprint information of a user;

[0134] A first determination module 620, configured to determine a similarity between the first fingerprint information and second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information;

[0135] A first comparison module 630, configured to compare the first fingerprint information with a training fingerprint when it is determined that the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is less than a first threshold, the training fingerprint being determined based on multiple fingerprint information of the user that meets a preset condition obtained before the first fingerprint information;

[0136] The unlocking module 640 is configured to unlock the electronic device if it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold.

[0137] In an embodiment of the present application, when using fingerprint unlocking, when it is determined that the similarity between the user's first fingerprint information and the pre-stored second fingerprint information of the user is less than a first threshold, that is, when the traditional solution cannot be used to unlock the phone using fingerprints, the first fingerprint information can be compared with the training fingerprint. Since the training fingerprint is determined based on multiple fingerprint information of the user that meet preset conditions that were previously obtained, the solution of the embodiment of the present application introduces the training fingerprint to perform fingerprint verification on the first fingerprint information on the basis of the traditional fingerprint unlocking solution, thereby improving the accuracy of fingerprint unlocking.

[0138] In some embodiments of the present application, the above-mentioned device may further include:

[0139] A second acquisition module, used for acquiring a plurality of third fingerprint information of the user before acquiring the first fingerprint information of the user;

[0140] A second comparison module, used to compare each of the third fingerprint information with the second fingerprint information respectively;

[0141] a second determining module, configured to use the third fingerprint information as a pre-trained fingerprint when the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than a third threshold;

[0142] A third determination module, configured to determine that the third fingerprint information is a fingerprint to be trained if the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period;

[0143] The fourth determining module is used to determine the training fingerprint according to a plurality of fingerprints to be trained.

[0144] In some embodiments of the present application, the fourth determination module includes:

[0145] A first acquisition unit, used to acquire a first feature pixel point set corresponding to each fingerprint to be trained, and a second feature pixel point set corresponding to the second fingerprint information;

[0146] The first determining unit is used to determine the training fingerprint according to the first characteristic pixel point set corresponding to each fingerprint to be trained and the second characteristic pixel point set.

[0147] In some embodiments of the present application, the first determining unit is specifically configured to:

[0148] Acquire the first feature pixel point set corresponding to each fingerprint to be trained, and the feature pixel points existing in the second feature pixel point set, to obtain a third feature pixel point set;

[0149] Acquire feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to a fourth threshold, to obtain a fourth feature pixel point set;

[0150] The training fingerprint is obtained based on the third feature pixel point set and the fourth feature pixel point set.

[0151] In some embodiments of the present application, when it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, the above-mentioned apparatus may further include:

[0152] An updating module is used to update the training fingerprint based on the first fingerprint information when it is determined that the similarity between the first fingerprint information and the second fingerprint information is greater than the third threshold and the electronic device is successfully unlocked using the first fingerprint information within the preset time period.

[0153] In some embodiments of the present application, the first determining module 620 is specifically used to:

[0154] Comparing a fifth feature pixel point set corresponding to the first fingerprint information with a second feature pixel point set corresponding to the second fingerprint information;

[0155] The similarity between the first fingerprint information and the second fingerprint information is determined according to the number of identical characteristic pixel points between the fifth characteristic pixel point set and the second characteristic pixel point set.

[0156] The fingerprint unlocking device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0157] The fingerprint unlocking device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0158] The fingerprint unlocking device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0159] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702, wherein the memory 702 stores programs or instructions that can be executed on the processor 701, and when the program or instructions are executed by the processor 701, the various steps of the above-mentioned fingerprint unlocking method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0160] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0161] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0162] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.

[0163] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0164] Among them, the processor 810 is used to obtain the first fingerprint information of the user; determine the similarity between the first fingerprint information and the second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information; when the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, compare the first fingerprint information with a training fingerprint, wherein the training fingerprint is determined based on multiple fingerprint information of the user that meets preset conditions obtained before the first fingerprint information; when it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, unlock the electronic device.

[0165] In this way, when using fingerprint unlocking, when it is determined that the similarity between the user's first fingerprint information and the pre-stored second fingerprint information of the user is less than a first threshold, that is, when the traditional solution cannot be used to unlock the phone using fingerprints, the first fingerprint information can be compared with the training fingerprint. Since the training fingerprint is determined based on multiple fingerprint information of the user that meet preset conditions that were previously obtained, the solution of the embodiment of the present application introduces the training fingerprint to perform fingerprint verification on the first fingerprint information on the basis of the traditional fingerprint unlocking solution, thereby improving the accuracy of fingerprint unlocking.

[0166] Optionally, the processor 810 is used to obtain multiple third fingerprint information of the user before obtaining the first fingerprint information of the user; compare each of the third fingerprint information with the second fingerprint information respectively; when the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than a third threshold, use the third fingerprint information as a pre-trained fingerprint; when the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period, determine that the third fingerprint information is a fingerprint to be trained; and determine the training fingerprint based on multiple fingerprints to be trained.

[0167] In this way, through the pre-acquired multiple third fingerprint information, although these third fingerprint information cannot successfully unlock the electronic device, they can be used as potential training samples to generate training fingerprints. In this way, when the randomness of the wrinkles produced by the "water wrinkle reaction" causes the fingerprint unlocking to fail, the first fingerprint information can be verified based on the training fingerprint to improve the accuracy of fingerprint unlocking.

[0168] Optionally, the processor 810 is used to obtain a first feature pixel point set corresponding to each fingerprint to be trained, and a second feature pixel point set corresponding to the second fingerprint information; and determine the training fingerprint according to the first feature pixel point set corresponding to each fingerprint to be trained, and the second feature pixel point set.

[0169] In this way, the training fingerprint is determined according to the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set corresponding to the second fingerprint information, thereby improving the accuracy of determining the training fingerprint.

[0170] Optionally, the processor 810 is used to obtain a first feature pixel point set corresponding to each fingerprint to be trained, and feature pixel points existing in the second feature pixel point set, to obtain a third feature pixel point set; obtain feature pixel points existing in the second feature pixel point set and having an appearance number greater than or equal to a fourth threshold in the first feature pixel point set corresponding to each fingerprint to be trained, to obtain a fourth feature pixel point set; and obtain the training fingerprint based on the third feature pixel point set and the fourth feature pixel point set.

[0171] In this way, the third feature pixel point set is obtained by acquiring the feature pixel points that exist in the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set; and the fourth feature pixel point set is obtained by acquiring the feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to the fourth threshold; then based on the third feature pixel point set and the fourth feature pixel point set, the training fingerprint can be accurately obtained.

[0172] Optionally, the processor 810 is used to update the trained fingerprint based on the first fingerprint information when it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, when it is determined that the similarity between the first fingerprint information and the second fingerprint information is greater than a third threshold, and when the electronic device is successfully unlocked using the first fingerprint information within the preset time period.

[0173] In this way, when it is determined that the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user is less than the first threshold and greater than the third threshold, and the electronic device is successfully unlocked using the first fingerprint information within a preset time period, the training fingerprint can be updated based on the first fingerprint information, thereby increasing the sample size of the training fingerprint to improve the accuracy and speed of fingerprint unlocking.

[0174] Optionally, the processor 810 is used to compare the fifth feature pixel point set corresponding to the first fingerprint information with the second feature pixel point set corresponding to the second fingerprint information; and determine the similarity between the first fingerprint information and the second fingerprint information based on the number of identical feature pixel points between the fifth feature pixel point set and the second feature pixel point set.

[0175] In this way, by comparing the fifth feature pixel point set corresponding to the first fingerprint information with the second feature pixel point set corresponding to the second fingerprint information, and then based on the number of identical feature pixel points between the fifth feature pixel point set and the second feature pixel point set, the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user can be accurately determined, thereby improving the accuracy of determining the similarity between the first fingerprint information and the pre-stored second fingerprint information of the user.

[0176] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a color camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0177] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0178] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.

[0179] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned fingerprint unlocking method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0180] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0181] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned fingerprint unlocking method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0182] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0183] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned fingerprint unlocking method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0184] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0186] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A fingerprint unlocking method, characterized in that: The method comprises: Obtain the user's first fingerprint information; Determine the similarity between the first fingerprint information and the second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information; When the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, comparing the first fingerprint information with a training fingerprint, where the training fingerprint is determined based on multiple fingerprint information of the user that meets a preset condition and is obtained before the first fingerprint information; When it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold, the electronic device is unlocked.

2. The method according to claim 1, characterized in that Before obtaining the first fingerprint information of the user, the method further includes: Obtaining multiple third fingerprint information of the user; Comparing each of the third fingerprint information with the second fingerprint information respectively; When the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than a third threshold, using the third fingerprint information as a pre-trained fingerprint; If the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period, determining the third fingerprint information as a fingerprint to be trained; The training fingerprint is determined according to a plurality of fingerprints to be trained.

3. The method according to claim 2, characterized in that The step of determining the training fingerprint according to the plurality of fingerprints to be trained includes: Acquire a first feature pixel point set corresponding to each fingerprint to be trained, and a second feature pixel point set corresponding to the second fingerprint information; The training fingerprint is determined according to the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set.

4. The method according to claim 3, characterized in that The step of determining the training fingerprint according to the first feature pixel point set corresponding to each fingerprint to be trained and the second feature pixel point set comprises: Acquire the first feature pixel point set corresponding to each fingerprint to be trained, and the feature pixel points existing in the second feature pixel point set, to obtain a third feature pixel point set; Acquire feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to a fourth threshold, to obtain a fourth feature pixel point set; The training fingerprint is obtained based on the third feature pixel point set and the fourth feature pixel point set.

5. The method according to claim 2, characterized in that: In the case where it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, the method further includes: When it is determined that the similarity between the first fingerprint information and the second fingerprint information is greater than the third threshold and the electronic device is successfully unlocked using the first fingerprint information within the preset time period, the training fingerprint is updated based on the first fingerprint information.

6. The method according to claim 1, characterized in that The determining the similarity between the first fingerprint information and the second fingerprint information includes: Comparing a fifth feature pixel point set corresponding to the first fingerprint information with a second feature pixel point set corresponding to the second fingerprint information; The similarity between the first fingerprint information and the second fingerprint information is determined according to the number of identical characteristic pixel points between the fifth characteristic pixel point set and the second characteristic pixel point set.

7. A fingerprint unlocking device, characterized in that: The device comprises: A first acquisition module, used to acquire the first fingerprint information of the user; A first determination module, configured to determine a similarity between the first fingerprint information and second fingerprint information, wherein the second fingerprint information is pre-stored user fingerprint information; a first comparison module, configured to compare the first fingerprint information with a training fingerprint when the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, the training fingerprint being determined based on a plurality of fingerprint information of the user that meets a preset condition and is obtained before the first fingerprint information; The unlocking module is used to unlock the electronic device when it is determined that the similarity between the first fingerprint information and the training fingerprint is greater than a second threshold.

8. The device according to claim 7, characterized in that The device also includes: A second acquisition module, used for acquiring a plurality of third fingerprint information of the user before acquiring the first fingerprint information of the user; A second comparison module, used to compare each of the third fingerprint information with the second fingerprint information respectively; a second determining module, configured to use the third fingerprint information as a pre-trained fingerprint when the similarity between the third fingerprint information and the second fingerprint information is less than the first threshold and greater than a third threshold; A third determination module, configured to determine that the third fingerprint information is a fingerprint to be trained if the electronic device is successfully unlocked using the pre-trained fingerprint within a preset time period; The fourth determining module is used to determine the training fingerprint according to a plurality of fingerprints to be trained.

9. The device according to claim 8, characterized in that The fourth determination module comprises: A first acquisition unit, used to acquire a first feature pixel point set corresponding to each fingerprint to be trained, and a second feature pixel point set corresponding to the second fingerprint information; The first determining unit is used to determine the training fingerprint according to the first characteristic pixel point set corresponding to each fingerprint to be trained and the second characteristic pixel point set.

10. The device according to claim 9, characterized in that The first determining unit is specifically configured to: Acquire the first feature pixel point set corresponding to each fingerprint to be trained, and the feature pixel points existing in the second feature pixel point set, to obtain a third feature pixel point set; Acquire feature pixel points that exist in the second feature pixel point set and whose number of occurrences in the first feature pixel point set corresponding to each fingerprint to be trained is greater than or equal to a fourth threshold, to obtain a fourth feature pixel point set; The training fingerprint is obtained based on the third feature pixel point set and the fourth feature pixel point set.

11. The device according to claim 8, characterized in that In a case where it is determined that the similarity between the first fingerprint information and the second fingerprint information is less than a first threshold, the apparatus further includes: An updating module is used to update the training fingerprint based on the first fingerprint information when it is determined that the similarity between the first fingerprint information and the second fingerprint information is greater than the third threshold and the electronic device is successfully unlocked using the first fingerprint information within the preset time period.

12. The device according to claim 7, characterized in that The first determining module is specifically used for: Comparing a fifth feature pixel point set corresponding to the first fingerprint information with a second feature pixel point set corresponding to the second fingerprint information; The similarity between the first fingerprint information and the second fingerprint information is determined according to the number of identical characteristic pixel points between the fifth characteristic pixel point set and the second characteristic pixel point set.

13. An electronic device, characterized in that: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the fingerprint unlocking method as described in any one of claims 1 to 6 are implemented.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the fingerprint unlocking method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Fingerprint identification method and apparatus thereof

    CN105654027A

  • Unlocking method and device and mobile terminal

    CN109002701A

  • Fingerprint verification login method and device, electronic device and storage medium

    CN111709002A

  • Fingerprint identification method and device, electronic equipment and storage medium

    CN114463791A

  • Fingerprint unlocking method and device, equipment and storage medium

    CN115311694A