Method, device, mobile device, and computer readable medium for verifying a fingerprint
By collecting multiple reference fingerprint areas by sliding the finger in an arc on the fingerprint reader, and using their correlation for verification, the problem of low fingerprint enrollment efficiency in existing technologies is solved, and fast and accurate fingerprint verification is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, fingerprint recognition with a small sensing area requires multiple presses when registering fingerprints, resulting in low fingerprint enrollment efficiency.
Multiple reference fingerprint regions are collected by sliding the finger in an arc on the fingerprint reader, and the features of these regions are stored in the fingerprint database. The correlation between the reference fingerprint regions is used for verification, reducing the number of comparisons between the target fingerprint region and each reference fingerprint region.
It improves the efficiency and speed of fingerprint enrollment and verification while ensuring the accuracy of verification results.
Smart Images

Figure CN115329304B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates generally to the field of fingerprint identification. More specifically, the present disclosure relates to a method for verifying a fingerprint, a device for verifying a fingerprint, a mobile device for verifying a fingerprint, and a non-transitory computer readable medium. BACKGROUND
[0002] With the wide use of various electronic devices (including smart terminals) in daily life, the security of access by users thereof has become an important factor to be concerned about. In order to ensure the security of use of the devices, various schemes for verifying users have been proposed, some of which use biological features of the users. Fingerprint, as one of the biological features, has become an effective means of security verification due to its uniqueness. Through accurate identification of the fingerprint, the secure access of the device can be effectively protected, thereby preventing the use by an illegal or unauthorized user.
[0003] Currently, when registering a fingerprint by using a fingerprint identifier with a small sensing area, multiple presses are often required to obtain a sufficient number of fingerprints, which is time-consuming and thus reduces the efficiency of fingerprint registration. SUMMARY
[0004] At least in view of the deficiencies in the background art, the present disclosure provides a scheme for verifying a fingerprint.
[0005] In a first aspect, the present disclosure provides a method for verifying a fingerprint, comprising: obtaining a target fingerprint area to be verified, wherein the target fingerprint area comprises at least one first set of fingerprint features; determining whether a main reference fingerprint area related to the target fingerprint area is included in a fingerprint library according to at least one first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint areas in the fingerprint library, wherein the plurality of reference fingerprint areas are formed when a finger is arched and slid on a fingerprint identifier to collect a fingerprint and are stored in the fingerprint library, and each reference fingerprint area has its own set of fingerprint features; and determining whether the target fingerprint area passes the verification based on the determination result.
[0006] In one embodiment, the target fingerprint area further comprises a second set of fingerprint features, and determining whether the target fingerprint area passes the verification based on the determination result comprises: in response to the determination result being that the fingerprint library includes a main reference fingerprint area related to the target fingerprint area, selecting at least one reference fingerprint area corresponding to the main reference fingerprint area from the fingerprint library as a secondary reference fingerprint area; and determining whether the target fingerprint area passes the verification based on a comparison between the secondary reference fingerprint area and the second set of fingerprint features.
[0007] In an embodiment, the fingerprint library further comprises relative positional relationships between different reference fingerprint regions in the plurality of reference fingerprint regions, and selecting, from the fingerprint library, a corresponding at least one reference fingerprint region as a secondary reference fingerprint region according to the primary reference fingerprint region comprises: selecting, from the fingerprint library, at least one reference fingerprint region that satisfies a first preset condition on the relative positional relationship with the primary reference fingerprint region, and taking it as a secondary reference fingerprint region.
[0008] In an embodiment, the relative positional relationships between different reference fingerprint regions comprise distances and / or rotation angles between different reference fingerprint regions.
[0009] In an embodiment, determining whether the target fingerprint region passes the verification comprises: judging whether a comparison result obtained by comparing the secondary reference fingerprint region with the second set of fingerprint features satisfies a second preset condition; and in response to the comparison result satisfying the second preset condition, determining that the target fingerprint region passes the verification.
[0010] In an embodiment, the comparison result is a similarity score, and determining that the target fingerprint region passes the verification comprises: in response to the similarity score corresponding to the comparison result being greater than or equal to a score threshold or being within a score threshold range, determining that the target fingerprint region passes the verification.
[0011] In an embodiment, determining whether the target fingerprint region passes the verification comprises: in response to the judgment result being that the fingerprint library comprises one primary reference fingerprint region related to the target fingerprint region, judging, according to the at least one first set of fingerprint features and the sets of fingerprint features included in the plurality of reference fingerprint regions of the fingerprint library, whether a reference fingerprint region related to the target fingerprint region is included in an irrelevant fingerprint region of the fingerprint library, wherein the irrelevant fingerprint region is a reference fingerprint region in the fingerprint library that satisfies a third preset condition on the relative positional relationship with the primary reference fingerprint region; and determining whether the target fingerprint region passes the verification according to the judgment result.
[0012] In an embodiment, determining whether the target fingerprint region passes the verification according to the judgment result comprises: in response to the judgment result being that the reference fingerprint region related to the target fingerprint region is included in the irrelevant fingerprint region, determining that the target fingerprint region fails the verification.
[0013] In an embodiment, each of the reference fingerprint regions in the fingerprint library corresponds to one collected reference fingerprint image or the reference fingerprint region comprises one or more collected fingerprint features.
[0014] In one embodiment, the plurality of reference fingerprint patterns or the plurality of fingerprint features in the fingerprint library are collected by collecting a plurality of reference fingerprint patterns or a plurality of fingerprint features in an arc-shaped sliding process of the finger sliding from a first position to a second position of the fingerprint identifier, wherein the first position and the second position are respectively located on two sides of a preset center line of the fingerprint identifier, and an included angle between the first position and the second position is greater than or equal to a preset angle.
[0015] In a second aspect, the present disclosure also provides a device for verifying a fingerprint, comprising: a processor; a memory storing program instructions executable by the processor, when the program instructions are executed by the processor, causing the device to perform: obtaining a target fingerprint area to be verified, wherein the target fingerprint area comprises at least one first set of fingerprint features; determining whether a main reference fingerprint area related to the target fingerprint area is included in a fingerprint library according to at least one first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint areas in the fingerprint library, wherein the plurality of reference fingerprint areas are formed when a finger is arc-shaped sliding on a fingerprint identifier and stored in the fingerprint library, and each reference fingerprint area has its own set of fingerprint features; and determining whether the target fingerprint area passes the verification based on the determination result.
[0016] In one embodiment, the target fingerprint area further comprises a second set of fingerprint features, and when the program instructions are executed by the processor, causing the device to perform: in response to the determination result that the fingerprint library includes a main reference fingerprint area related to the target fingerprint area, selecting at least one reference fingerprint area corresponding to the main reference fingerprint area from the fingerprint library as a secondary reference fingerprint area; and determining whether the target fingerprint area passes the verification based on the comparison between the secondary reference fingerprint area and the second set of fingerprint features.
[0017] In one embodiment, the fingerprint library further comprises a relative positional relationship between different reference fingerprint areas in the plurality of reference fingerprint areas, and when the program instructions are executed by the processor, causing the device to perform: selecting at least one reference fingerprint area whose relative positional relationship with the main reference fingerprint area satisfies a first preset condition from the fingerprint library as a secondary reference fingerprint area.
[0018] In one embodiment, the relative positional relationship between different reference fingerprint areas comprises a distance and / or a rotation angle between different reference fingerprint areas.
[0019] In one embodiment, when the program instructions are executed by the processor, the device is caused to perform: determining whether the matching result of the auxiliary reference fingerprint area and the second set of fingerprint features satisfies a second preset condition; and in response to the matching result satisfying the second preset condition, determining that the target fingerprint area passes the verification.
[0020] In one embodiment, the matching result is a similarity score, and when the program instructions are executed by the processor, the device is caused to perform: in response to the similarity score corresponding to the matching result being greater than or equal to a score threshold or being within a score threshold range, determining that the target fingerprint area passes the verification.
[0021] In one embodiment, when the program instructions are executed by the processor, the device is caused to perform: in response to the determination result being that the fingerprint library includes a primary reference fingerprint area related to the target fingerprint area, determining, according to at least one of the first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint areas of the fingerprint library, whether a reference fingerprint area related to the target fingerprint area is included in an irrelevant reference fingerprint area of the fingerprint library, wherein the irrelevant reference fingerprint area is a reference fingerprint area in the fingerprint library that satisfies a third preset condition with the primary reference fingerprint area in terms of relative positional relationship; and determining, according to the determination result, whether the target fingerprint area passes the verification.
[0022] In one embodiment, when the program instructions are executed by the processor, the device is caused to perform: in response to the determination result being that the irrelevant reference fingerprint area includes a reference fingerprint area related to the target fingerprint area, determining that the target fingerprint area fails the verification.
[0023] In one embodiment, each of the reference fingerprint areas in the fingerprint library corresponds to a collected reference fingerprint image or includes one or more collected fingerprint features.
[0024] In one embodiment, when the program instructions are executed by the processor, the device is caused to perform: collecting a plurality of reference fingerprint images or a plurality of fingerprint features in an arc-shaped sliding process of the finger sliding from a first position to a second position of the fingerprint identifier, wherein the first position and the second position are respectively located on two sides of a preset center line of the fingerprint identifier, and an included angle between the first position and the second position is greater than or equal to a preset angle.
[0025] In a third aspect, the present disclosure also provides a mobile device for verifying a fingerprint, comprising: a fingerprint recognizer arranged at a side of the mobile device for receiving a target fingerprint area; a memory for storing a fingerprint library, wherein the fingerprint library stores a plurality of reference fingerprint areas formed when a finger is archedly slid on the fingerprint recognizer to collect a fingerprint, and each reference fingerprint area has respective fingerprint features; and a processor connected with the memory and configured to perform: obtaining a target fingerprint area to be verified, wherein the target fingerprint area comprises at least one first set of fingerprint features; determining whether a main reference fingerprint area related to the target fingerprint area is included in the fingerprint library according to at least one first set of fingerprint features and sets of fingerprint features included in the plurality of reference fingerprint areas of the fingerprint library; and determining whether the target fingerprint area passes the verification based on the determination result.
[0026] In a fourth aspect, the present disclosure also provides a non-transitory computer readable medium storing program instructions for verifying a fingerprint, which when executed by at least one processor, cause the following operations to be performed: obtaining a target fingerprint area to be verified, wherein the target fingerprint area comprises at least one first set of fingerprint features; determining whether a main reference fingerprint area related to the target fingerprint area is included in the fingerprint library according to at least one first set of fingerprint features and sets of fingerprint features included in the plurality of reference fingerprint areas of the fingerprint library, wherein the plurality of reference fingerprint areas are formed when a finger is archedly slid on the fingerprint recognizer to collect a fingerprint and are stored in the fingerprint library, and each reference fingerprint area has respective fingerprint features; and determining whether the target fingerprint area passes the verification based on the determination result.
[0027] Based on the above description of the present disclosure, those skilled in the art can understand that the scheme described in the above embodiments can collect a plurality of reference fingerprint areas by means of a swipe (arched sliding of a finger), which is faster than the way of entering and registering a fingerprint by multiple presses in the prior art, thereby improving the efficiency of fingerprint entry. Based on this, the present scheme can verify a target fingerprint area by using the correlation between reference fingerprint areas, thereby simplifying the verification process under the premise of ensuring the accuracy of the verification result, thereby improving the speed of fingerprint verification. BRIEF DESCRIPTION OF DRAWINGS
[0028] The above and other objects, features and advantages of the present disclosure exemplary embodiments will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0029] Figure 1 is a schematic flowchart of a method for verifying a fingerprint according to an embodiment of the present disclosure;
[0030] Figure 2 is a schematic flowchart of another method for verifying a fingerprint according to an embodiment of the present disclosure;
[0031] Figure 3 is a schematic flowchart of a method for establishing a fingerprint library according to an embodiment of the present disclosure;
[0032] Figure 4 is a schematic flowchart of another method for establishing a fingerprint library according to an embodiment of the present disclosure;
[0033] Figure 5 is a perspective view of a plurality of reference fingerprint patterns in a fingerprint library according to an embodiment of the present disclosure;
[0034] Figure 6a is a schematic flowchart of a method for determining a secondary reference fingerprint area according to an embodiment of the present disclosure;
[0035] Figure 6b is a schematic flowchart of another method for determining a secondary reference fingerprint area according to an embodiment of the present disclosure;
[0036] Figure 7 is a schematic flowchart of a method for determining whether a target fingerprint area passes verification according to an embodiment of the present disclosure;
[0037] Figure 8 is a schematic flowchart of another method for determining whether a target fingerprint area passes verification according to an embodiment of the present disclosure;
[0038] Figure 9 is a structural block diagram of an apparatus for verifying a fingerprint according to an embodiment of the present disclosure;
[0039] Figure 10 is a structural block diagram of a mobile apparatus for verifying a fingerprint according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
[0041] Figure 1 is a schematic flowchart of a method 100 for verifying a fingerprint according to an embodiment of the present disclosure.
[0042] AsFigure 1 As shown in FIG. 1, the method 100 includes, at step S101, acquiring a target fingerprint region to be verified. In one implementation scenario, the target fingerprint region to be verified can be acquired by a fingerprint recognizer installed on an electronic device (e.g., a mobile device) and transmitted to the electronic device for verification. The target fingerprint region can be a fingerprint region acquired by the fingerprint recognizer when a finger is pressed or swiped on the fingerprint recognizer. The acquired fingerprint region can be different for fingerprint recognizers with different sensing areas. For example, for a fingerprint recognizer with a smaller sensing area, the target fingerprint region can be a part of a complete fingerprint of a verifier (e.g., a part of a thumbprint), and for a fingerprint recognizer with a larger sensing area, the target fingerprint region can be a complete fingerprint of a verifier (e.g., a complete thumbprint). Specifically, the target fingerprint region can be a fingerprint image.
[0043] To facilitate comparison and verification with reference fingerprint regions in the fingerprint library, the target fingerprint region has a plurality of fingerprint feature sets, e.g., it can include at least one first fingerprint feature set. The number of the first fingerprint feature set can be set to one, two, or three, etc. according to requirements. The first fingerprint feature set can include one or more (e.g., two or three, etc.) fingerprint features (feature points of a fingerprint), and the specific number of the included fingerprint features can be set according to requirements.
[0044] After the target fingerprint is acquired, at step S102, the method 100 determines whether a main reference fingerprint region (one of the plurality of reference fingerprint regions) related to the target fingerprint region is included in the fingerprint library according to the at least one first fingerprint feature set and the fingerprint feature sets included in the plurality of reference fingerprint regions in the fingerprint library. Based on different application scenarios, part or all of the first fingerprint feature set can be used to determine whether a main reference fingerprint region related to the target fingerprint region is included in the fingerprint library. Further, to facilitate fingerprint verification, the plurality of reference fingerprint regions are formed when a finger is swiped on a fingerprint recognizer in an arc shape and stored in the fingerprint library, and each reference fingerprint region has its own fingerprint features.
[0045] It can be understood that image acquisition can be performed when a finger is swiped on a fingerprint recognizer in an arc shape, so that a plurality of reference fingerprint images can be acquired. The acquisition manner of the reference fingerprint images can be the same as or similar to the acquisition manner of the fingerprint image corresponding to the target fingerprint region, e.g., it can also be acquired by pressing or swiping a finger on a fingerprint recognizer, and it can also be based on the size difference of the sensing area of the fingerprint recognizer, i.e., a part of a complete fingerprint or a complete fingerprint.
[0046] In one implementation, the acquired reference fingerprint images can be used as reference fingerprint regions, i.e., each reference fingerprint region can correspond to an acquired reference fingerprint image.
[0047] In another implementation, the fingerprint features in the collected reference fingerprint maps can also be divided into a plurality of reference fingerprint regions, i.e., each reference fingerprint region can include one or more sets of fingerprint features collected. In this case, the number of fingerprint features in each set of fingerprint features is not fixed, which can include, for example, 1, 2 or more fingerprint features, etc.
[0048] In one embodiment, each collected reference fingerprint map can be pre-processed to extract the fingerprint features therein to obtain all the fingerprint features. When extracting the fingerprint features, the position (e.g., coordinates), angle and feature (e.g., shape, direction or texture) of the fingerprint features can be obtained. Then, all the fingerprint features can be divided into a plurality of reference fingerprint regions according to a pre-set rule. The pre-set rule can include, for example, the number of fingerprint features included in each reference fingerprint region and the selection manner of the fingerprint features, etc. Further, the selection manner of the fingerprint features can be determined according to the distance (the difference in position between the fingerprint features) and / or the rotation angle (the difference in angle between the fingerprint features) between the fingerprint features, e.g., a pre-set number of fingerprint features with close distance and / or small rotation angle can be grouped into one reference fingerprint region.
[0049] In one embodiment, the main reference fingerprint region related to the target fingerprint region can be understood as the reference fingerprint region having common fingerprint features with the first set of fingerprint features. Here, having common fingerprint features means that the comparison of the set of fingerprint features in the reference fingerprint region with the similar fingerprint features in the first set of fingerprint features meets a certain condition, which can be determined according to the following method: the plurality of reference fingerprint regions stored in the fingerprint library are respectively compared with the first set of fingerprint features according to a pre-set order (i.e., the set of fingerprint features in the plurality of reference fingerprint regions are respectively compared with the first set of fingerprint features), to obtain the comparison results, and the pre-set order can be the collection order of the reference fingerprint maps. When the comparison results meet the pre-set condition, it is confirmed that the fingerprint library includes the main reference fingerprint region related to the target fingerprint region. Correspondingly, when the comparison results do not meet the pre-set condition, it is confirmed that the fingerprint library does not include the main reference fingerprint region related to the target fingerprint region.
[0050] The feature comparison in the present embodiment can be a similarity comparison, and the comparison result can be a similarity score. At this time, whether the comparison result meets the pre-set condition can be determined by comparing with a score threshold or a threshold range. For example, it can be set that the similarity score greater than or equal to the score threshold or within the score threshold range meets the pre-set condition. Correspondingly, it can be set that the similarity score less than the score threshold or not within the score threshold range does not meet the pre-set condition.
[0051] Then, the method 100 can enter step S103 to determine whether the target fingerprint region passes the verification based on the determination result. It can be understood that when it is confirmed that the master reference fingerprint region related to the target fingerprint region is included in the fingerprint library, it can be determined that the target fingerprint region has the possibility of passing the verification, so that the target fingerprint region can be further verified by using the correlation between the reference fingerprint regions, and when it is confirmed that the master reference fingerprint region related to the target fingerprint region is not included in the fingerprint library, it can be directly determined that the target fingerprint region cannot pass the verification, i.e. the verification fails.
[0052] Therefore, the present scheme can collect multiple reference fingerprint regions in the way of sliding brush (finger arc sliding), which is faster than the way of entering and registering fingerprint by multiple pressing in the prior art, so as to improve the efficiency of fingerprint entering. Based on this, the present scheme can also verify the target fingerprint region by using the correlation between the reference fingerprint regions, so that the target fingerprint region does not need to be compared with each reference fingerprint region, and thus the verification process can be simplified under the premise of ensuring the accuracy of the verification result, so as to improve the speed of fingerprint verification.
[0053] It can be understood that the multiple reference fingerprint regions obtained by the above-mentioned collection method of reference fingerprint map all have certain correlation, which can be manifested as that the relative position relationship between some reference fingerprint regions satisfies a preset condition, and the relative position relationship between other reference fingerprint regions does not satisfy the preset condition. The relative position relationship here can be, for example, distance and / or rotation angle.
[0054] It can be understood that the multiple reference fingerprint regions with closer distance and / or smaller rotation angle are more likely to have related fingerprint features, and the closer the distance and / or the smaller the rotation angle, the greater the possibility of having related fingerprint features in the reference fingerprint regions, and the more the number of related fingerprint features. Based on this, the fingerprint can be more accurately verified by using these related reference fingerprint regions, and the accuracy of the fingerprint verification result can be determined by using these non-related reference fingerprint regions (to be described later).
[0055] In addition, the above-mentioned target fingerprint region can also include a second fingerprint feature set. The number of second fingerprint feature sets can be set to one, two or three, etc. according to needs, and each second fingerprint feature set can also include one or more (such as 3 or 4, etc.) fingerprint features according to needs.
[0056] Based on the above characteristics, Figure 2Another schematic flowchart of a method for verifying a fingerprint according to an embodiment of the present disclosure is shown in FIG. 2. Steps S201 and S202 can refer to the descriptions of the previous embodiments and will not be described in detail here. After the above determination result is that the fingerprint database includes a main reference fingerprint region related to the target fingerprint region, the method 200 can determine whether the target fingerprint region passes the verification through steps S203 and S204.
[0057] As shown in FIG. 2, at step S203, in response to the above determination result that the fingerprint database includes a main reference fingerprint region related to the target fingerprint region, at least one reference fingerprint region corresponding to the main reference fingerprint region is selected from the fingerprint database as a secondary reference fingerprint region. In one implementation scenario, a reference fingerprint region that satisfies a preset condition in the relative positional relationship with the main reference fingerprint region can be selected as the secondary reference fingerprint region, thereby facilitating accurate fingerprint verification. For example, a reference fingerprint region whose distance from the main reference fingerprint region is within a preset distance range and / or whose rotation angle from the main reference fingerprint region is within a preset angle range can be selected as the secondary reference fingerprint region. The detailed selection method will be described later. Figure 2
[0058] Then, at step S204, the method 200 determines whether the target fingerprint region passes the verification based on the comparison of the secondary reference fingerprint region and the second set of fingerprint features. The comparison here can also be a similarity comparison.
[0059] As can be seen, the present scheme can select the associated reference fingerprint regions (the main reference fingerprint region and the secondary reference fingerprint region) based on the association between the reference fingerprint regions to verify the target fingerprint region, so that the target fingerprint region does not need to be compared with each reference fingerprint region, thereby simplifying the verification process under the premise of ensuring the accuracy of the verification result, thereby improving the speed of fingerprint verification. In order to facilitate a full understanding of the fingerprint database in the present disclosure, the establishment process thereof will be further described below in conjunction with FIG. 3. Figure 3 Figure 3 The establishment method of the fingerprint database when each reference fingerprint region corresponds to a collected reference fingerprint image is shown in FIG. 3.
[0060] As shown in FIG. 3, at step S301, a plurality of reference fingerprint images are collected, and each reference fingerprint image corresponds to a reference fingerprint region. The reference fingerprint images can be collected by a fingerprint scanner or a camera, and the reference fingerprint regions can be determined by a fingerprint recognition algorithm. Figure 3 As shown in the above method 200, before acquiring the target fingerprint area to be verified, the method 300 further comprises, at step S301, acquiring a plurality of reference fingerprint images collected when the finger performs an arc-shaped sliding on the fingerprint recognizer. The acquisition of the plurality of reference fingerprint images can comprise acquiring a plurality of reference fingerprint images in the arc-shaped sliding process of the finger (e.g. the thumb) from a first position to a second position of the fingerprint recognizer, wherein the first position and the second position can be located on two sides of a preset middle line of the fingerprint recognizer respectively. Specifically, the first position and the second position can be symmetric with respect to the preset middle line of the fingerprint recognizer as the symmetric axis. Such symmetric sliding manner is more in line with the sliding habit of the finger, thereby facilitating the fingerprint acquisition. In addition, the first position and the second position can also be asymmetric.
[0061] In order to acquire a sufficient number of reference fingerprint images for accurate fingerprint verification, the included angle between the first position and the second position can be greater than or equal to a preset angle, which can be, for example, between 8° and 20°. In an implementation, the preset displacement amount can be determined according to the number of fingerprint acquisitions, the speed of the user's finger sliding, and the size of the finger action, and the size of the included angle can be determined according to the preset displacement amount. Generally, the included angle is between 8° and 20°. Taking the number of fingerprint acquisitions as a setting basis, when a larger number of reference fingerprint images need to be acquired, the included angle can be set to be larger, for example, 15°, 17°, or 19°, etc. Correspondingly, when a smaller number of reference fingerprint images need to be acquired, the included angle can be set to be relatively smaller, for example, 8°, 10°, or 13°.
[0062] The number of reference fingerprint images acquired in the present scheme can be specifically set according to, for example, different requirements for the accuracy of the fingerprint verification result, and the number thereof is generally between 8 and 30. For example, when the accuracy requirement for the fingerprint verification result is higher, a larger number of reference fingerprint images can be acquired, for example, 24, 27, or 29, etc. Correspondingly, when the accuracy requirement for the fingerprint verification result is lower, a relatively smaller number of reference fingerprint images can be acquired, for example, 8, 10, or 17, etc.
[0063] In addition, the number of reference fingerprint images acquired can also be different according to different electronic devices. For example, when the electronic device is a mobile phone, 8 to 16 reference fingerprint images can be acquired, and when the electronic device is a portable computer or an electronic lock, for example, 20 to 30 reference fingerprint images can be acquired (which can be specifically set according to market demand or user demand).
[0064] Based on the different number of the reference fingerprint patterns, the present solution can select fingerprint recognizers with different recognition speeds to collect fingerprints at different frequencies. For example, when a large number of reference fingerprint patterns need to be collected, a fingerprint recognizer with a relatively fast recognition speed can be selected to collect fingerprints at a frequency of, for example, 8-9 milliseconds. Correspondingly, when a small number of reference fingerprint patterns need to be collected, a fingerprint recognizer with a relatively slow recognition speed can be selected to collect fingerprints at a frequency of, for example, 25-30 milliseconds.
[0065] To facilitate installation on electronic devices with small volumes, the present solution can use a rectangular fingerprint recognizer, which can be installed on the side of the electronic device. When the fingerprint recognizer is installed on the side of the electronic device, the long side of the fingerprint recognizer can correspond to the long side direction of the side of the electronic device, and the wide side of the fingerprint recognizer can correspond to the wide side direction of the side of the electronic device. Further, to meet the installation requirement, the width of the fingerprint recognizer can be set to be small, for example, less than or equal to 1.8 mm, and can be 1.5 mm, etc. Based on this installation mode of the fingerprint recognizer, to facilitate fingerprint collection, the above-mentioned preset center line can be the center line of the short side of the fingerprint recognizer. Installing the fingerprint recognizer on the side of the electronic device not only can adapt to the small volume requirement of the electronic device, but also can collect fingerprints using the fingers of the hand holding the electronic device, thereby freeing the other hand of the user, and further improving the user experience.
[0066] After obtaining the plurality of reference fingerprint patterns, the flow returns to the method 300. At step S302, the method 300 stores the plurality of reference fingerprint patterns as a plurality of corresponding reference fingerprint regions to establish a fingerprint library.
[0067] The above describes the establishment method of the fingerprint library when each reference fingerprint region corresponds to one collected reference fingerprint pattern. It can be understood that the above-mentioned method is only exemplary and not limiting, and a person skilled in the art can also make other settings or changes as needed, for example, the angle between the first position and the second position can also be selected to be other angles, for example, 70°, 90° or 150°, etc., and the number of collected reference fingerprint patterns can also be other numbers, for example, 6, 16, 20 or 30, etc.
[0068] For the case that each reference fingerprint region includes one or more collected fingerprint features, the method of establishing the fingerprint library can first collect a plurality of fingerprint features collected when the finger performs arc-shaped sliding on the fingerprint recognizer according to the method described in the foregoing embodiments, store the plurality of fingerprint features as a plurality of corresponding reference fingerprint regions to establish a fingerprint library, and the collection method of the plurality of fingerprint features can also be the same as or similar to the method described in the above-mentioned embodiments, which will not be described in detail here.
[0069] According to the foregoing embodiment, the auxiliary reference fingerprint area can be determined by the relative position relationship between different reference fingerprint areas in the fingerprint library. In order to facilitate the use of the relative position relationship, the relative position relationship between different reference fingerprint areas in the fingerprint library can also be stored. Specifically, as shown in Figure 4 After obtaining the plurality of reference fingerprint areas, the method 400 further includes, at step S401, obtaining the relative position relationship between different reference fingerprint areas in the plurality of reference fingerprint areas. The relative position relationship can include the distance and / or the rotation angle between different reference fingerprint areas.
[0070] It can be understood that after the reference fingerprint map is collected, its position and / or angle can be recorded, and the positions and / or angles of the fingerprint features therein can also be recorded. In the embodiment, the position of the reference fingerprint map can be obtained by the coordinates (such as x and y coordinates in a two-dimensional coordinate system) of the fingerprint features therein using a preset method, or can be directly obtained when collected (such as directly obtaining the coordinates of the reference fingerprint map). Similarly, when each reference fingerprint area includes one or more collected fingerprint features, the position of the reference fingerprint area can also be obtained by the coordinates (such as x and y coordinates in a two-dimensional coordinate system) of the fingerprint features included therein using a preset method.
[0071] Similarly to the above-mentioned obtaining of the position, the angle of the reference fingerprint map can also be obtained by the angle of the fingerprint features therein using a preset method or directly obtained when collected, and when each reference fingerprint area includes one or more collected fingerprint features, the angle thereof can also be obtained by the angle of the fingerprint features included therein using a preset method.
[0072] The preset method for obtaining the position and angle described above can be set and selected as needed, which will not be described in detail here.
[0073] In one implementation scenario, the angle of the fingerprint feature can be obtained by the position of the fingerprint feature. Specifically, the gradient dx of the x-axis and the gradient dy of the y-axis of each fingerprint feature can be calculated according to the coordinates of each fingerprint feature. Then, the angle of each fingerprint feature can be calculated by formula (1) according to the gradient of each fingerprint feature
[0074]
[0075] wherein Kpm_alg is the angle of the fingerprint feature.
[0076] After the position and angle of each reference fingerprint region is obtained, the distance and rotation angle between each reference fingerprint region and other reference fingerprint regions can be determined according to the position and angle of each reference fingerprint region. The following scheme will illustrate the calculation method of the distance and rotation angle between reference fingerprint regions by taking m reference fingerprint maps (reference fingerprint Figure 1 , reference fingerprint Figure 2 , reference fingerprint Figure 3 , reference fingerprint Figure 4 …reference fingerprint map N and base station fingerprint map M) as an example. Figure 4
[0077] Take reference fingerprint Figure 3 and reference fingerprint Figure 4 as an example. The reference fingerprint Figure 3 and reference fingerprint Figure 4 can be compared for features, and similar fingerprint features (such as the diamond-shaped fingerprint features in the overlapping area of reference fingerprint Figure 3 and reference fingerprint Figure 4 ) in reference fingerprint Figure 3 and reference fingerprint Figure 4 are determined by comparison, and dissimilar fingerprint features are also found in reference fingerprint Figure 4 and reference fingerprint Figure 3 , such as the triangular fingerprint feature in the upper left corner of reference fingerprint Figure 3 and the five-pointed star-shaped fingerprint feature in the upper right corner of reference fingerprint Figure 4 .
[0078] Then, the distance between the triangular fingerprint feature and the five-pointed star-shaped fingerprint feature is calculated using the positions of the diamond-shaped fingerprint features, the triangular fingerprint feature, and the five-pointed star-shaped fingerprint feature. For example, the distance between the triangular fingerprint feature and the diamond-shaped fingerprint feature and the distance between the five-pointed star-shaped fingerprint feature and the diamond-shaped fingerprint feature can be calculated respectively, and then the distance between the triangular fingerprint feature and the five-pointed star-shaped fingerprint feature is calculated according to the two distances, and the distance between reference fingerprint Figure 4 and reference fingerprint Figure 3 is determined according to the distance.
[0079] According to the above method, the distance between any two reference fingerprint maps can be calculated, such as the distance between reference fingerprint Figure 1 and reference fingerprint Figure 2 , the distance between reference fingerprint Figure 2 and reference fingerprint Figure 3 , … the distance between reference fingerprint map N and reference fingerprint map M, etc. which will not be described one by one here.
[0080] In calculating the rotation angle, a similar method as calculating the distance between two reference fingerprint patterns can be used. Still taking the reference fingerprint pattern Figure 4 and the reference fingerprint pattern Figure 3 as an example, the angle difference between the triangular fingerprint feature and the five-point star-shaped fingerprint feature can be calculated by using the angle of the diamond-shaped fingerprint feature, the angle of the triangular fingerprint feature and the angle of the five-point star-shaped fingerprint feature, and then the angle difference is used to determine the angle difference between the reference fingerprint pattern Figure 4 and the reference fingerprint pattern Figure 3 , and the angle difference is taken as the rotation angle between the two reference fingerprint patterns.
[0081] According to the method, the rotation angle between any two reference fingerprint patterns can be calculated, such as the rotation angle between the reference fingerprint pattern Figure 1 and the reference fingerprint pattern Figure 2 , the rotation angle between the reference fingerprint pattern Figure 2 and the reference fingerprint pattern Figure 3 , and the rotation angle between the reference fingerprint pattern N and the reference fingerprint pattern M, etc., which will not be described one by one.
[0082] As can be understood from the above description, the present scheme determines the overlapping area of different reference fingerprint patterns by using similar fingerprint features, and then determines the distance and rotation angle between the different reference fingerprint patterns by using the dissimilar fingerprint features on the different reference fingerprint patterns.
[0083] The above describes the method for calculating the distance and rotation angle between the reference fingerprint patterns. Similarly, when one or more fingerprint features are included in each reference fingerprint area, the distance and rotation angle between the different reference fingerprint areas can be calculated by using similar methods, such as the distance between the different reference fingerprint areas can be calculated by using the position of the reference fingerprint area, and the rotation angle between the different reference fingerprint areas can be calculated by using the angle of the reference fingerprint area, which will not be described in detail.
[0084] The above describes the method for obtaining the relative position relationship between the reference fingerprint areas in combination with the embodiments. It can be understood that the above method is only exemplary and not limited, and those skilled in the art can also deform and modify it according to the needs. For example, the position and angle of the reference fingerprint pattern and the reference fingerprint area can also be obtained by other methods, and the distance and rotation angle between the different reference fingerprint areas can also be calculated by other methods.
[0085] After obtaining the relative position relationship between the different reference fingerprint areas, at step S402, the method 400 stores the relative position relationship between the different reference fingerprint areas in the fingerprint library.
[0086] Since the relative positional relationship between different reference fingerprint areas is stored in the fingerprint library, the relative positional relationship can be utilized when selecting the auxiliary reference fingerprint area, thereby improving the efficiency of fingerprint verification.
[0087] In one embodiment, at least one reference fingerprint area that meets a first preset condition in terms of the relative positional relationship with the main reference fingerprint area can be selected from the fingerprint library as the auxiliary reference fingerprint area. For example, other reference fingerprint areas that are within a preset distance range and / or within a preset angle range from the main reference fingerprint area can be selected as the auxiliary reference fingerprint area. The preset distance range and the preset angle range can be set according to different requirements, for example, the preset distance range can be set as a range greater than 140 μm, in one example, for example, 140 μm to 300 um, and the preset angle range can be set as 8° to 20°.
[0088] The number of auxiliary reference fingerprint areas can be determined according to requirements, for example, only one reference fingerprint area that is closest to the main reference fingerprint area within the preset distance range and / or has the smallest rotation angle with the main reference fingerprint area within the preset angle range can be selected as the auxiliary reference fingerprint area, thereby improving the matching speed while ensuring the accuracy of fingerprint verification. In addition, multiple reference fingerprint areas within the preset distance range and / or within the preset angle range can be collectively selected as the auxiliary reference fingerprint area, thereby improving the accuracy of fingerprint verification.
[0089] To fully illustrate the selection of the auxiliary reference fingerprint area, the present scheme will be described in detail below in combination with Figure 6a and Figure 6b . Figure 6a The selection of the auxiliary reference fingerprint area is shown in FIG. 1, where each reference fingerprint area corresponds to one reference fingerprint image, while Figure 6b The selection of the auxiliary reference fingerprint area is shown in FIG. 2, where each reference fingerprint area includes the collected fingerprint features.
[0090] In Figure 6a , the fingerprint image E1 is the target fingerprint area, and the reference fingerprint Figure 3 is the main reference fingerprint area, where the A1 area (i.e., the overlapping area of the fingerprint image E1 and the reference fingerprint Figure 3 has the common fingerprint features with the first feature set.
[0091] As shown in the figure, each second feature set of the fingerprint image E1 is located to the right and below (the area marked with the diagonal crosshatch in the figure) of the first feature set (the fingerprint set of the overlapping part of the fingerprint image E1 and the A1 area), and thus the reference fingerprint area that is located to the right and below of the main reference fingerprint area and has the common fingerprint features with the first feature set can be selected as the auxiliary reference fingerprint area. Figure 3 As shown in the figure, each second feature set of the fingerprint image E1 is located to the right and below (the area marked with the diagonal crosshatch in the figure) of the first feature set (the fingerprint set of the overlapping part of the fingerprint image E1 and the A1 area), and thus the reference fingerprint area that is located to the right and below of the main reference fingerprint area and has the common fingerprint features with the first feature set can be selected as the auxiliary reference fingerprint area.Figure 3 the relative positional relationship between the reference fingerprint region and the target fingerprint region satisfies the aforementioned condition Figure 4 as the auxiliary reference fingerprint region. By Figure 6a It can be seen that in the present embodiment, only the reference fingerprint region Figure 4 has an overlapping area (B1 area) with the second fingerprint feature set on the right side. In the subsequent comparison, the B1 area in the reference fingerprint region Figure 4 and the second fingerprint feature set overlapping therewith are subjected to feature comparison, and the verification result of the target fingerprint region is obtained.
[0092] For the above embodiment, if the fingerprint map E1 further comprises a third fingerprint feature set (not shown in the figure, which can be understood as another second fingerprint feature set), and the third fingerprint feature set is located on the right side of the above-mentioned second fingerprint feature set, the reference fingerprint region Figure 4 and the reference fingerprint region Figure 5 (not shown in the figure) can be jointly used as the auxiliary reference fingerprint region. According to the foregoing description, in order to improve the verification efficiency, at this time, the reference fingerprint region Figure 4 can also be used as the auxiliary reference fingerprint region.
[0093] It can be understood that, by virtue of the design of the main reference fingerprint region and the auxiliary reference fingerprint region, the present application can reduce invalid repeated comparison, thereby improving the efficiency of fingerprint verification.
[0094] Figure 6b only one arrangement of the reference fingerprint region is shown in the figure, and more or fewer reference fingerprint regions can be set according to the needs of those skilled in the art, and the positions of the reference fingerprint regions can also be set according to the needs.
[0095] In Figure 6b , the fingerprint map E2 is the target fingerprint region, the reference fingerprint region comprises the reference fingerprint region R1, the reference fingerprint region R2, the reference fingerprint region R3, …, the reference fingerprint region Rm, and the multiple rectangular dashed lines in the figure can represent the reference fingerprint map used to extract the fingerprint features, at this time, only the multiple fingerprint features need to be saved without saving the entire reference fingerprint map. The reference fingerprint region R2 is set as the main reference fingerprint region, and the A2 area (i.e., the overlapping area of the fingerprint map E2 and the reference fingerprint region R2) therein is compared with the target fingerprint region.
[0096] As can be seen from the figure, each second fingerprint feature set of the fingerprint map E2 is located on the right side and the lower side of the first fingerprint feature set (the fingerprint set overlapping with the A2 area in the fingerprint map E2) (the area with the oblique cross-hatching in the figure), and thus the reference fingerprint region R3 located on the right side and the lower side of the reference fingerprint region R2 and satisfying the aforementioned condition of the relative positional relationship between the reference fingerprint region and the target fingerprint region can be selected as the auxiliary reference fingerprint region. By Figure 6bAs can be seen, in the present embodiment, only the reference fingerprint region R3 has an overlapping region (B2 region) with the reference fingerprint region R2, and thus the reference fingerprint region R3 is taken as the auxiliary reference fingerprint region.
[0097] In subsequent comparison, the B2 region in the reference fingerprint region R3 and the second set of fingerprint features overlapping therewith are subjected to feature comparison, and thus the verification result of the target fingerprint region is obtained.
[0098] For the above embodiment, if the fingerprint image E2 further includes a third set of fingerprint features (not shown in the figure, which can be understood as another second set of fingerprint features), and the third set of fingerprint features is located at the right side of the above-mentioned second set of fingerprint features, the reference fingerprint region R3 and the reference fingerprint region R4 (not shown in the figure) can be taken as the auxiliary reference fingerprint region together. In addition, at this time, the reference fingerprint region R3 can also be taken as the auxiliary reference fingerprint region. Similarly to the foregoing embodiment, when selecting the auxiliary reference region, only the reference fingerprint region that has not been compared with the target fingerprint region can be selected as the auxiliary reference fingerprint region.
[0099] The selection method of the auxiliary reference fingerprint region is described above in combination with the embodiments, and the present scheme will continue to describe Figure 7 and Figure 8 two verification methods of the target fingerprint region.
[0100] In Figure 7 the embodiment shown in the figure, the method 700 includes, at step S701, judging whether the comparison result obtained by comparing the auxiliary reference fingerprint region with the second set of fingerprint features satisfies a second preset condition. The comparison result here can be a similarity score, and the second preset condition can be whether the similarity score is greater than or equal to a score threshold value or within a score threshold range. Based on this, it can be set that the similarity score greater than or equal to the score threshold value or within the score threshold range satisfies the second preset condition. Correspondingly, it is determined that the second preset condition is not satisfied when the similarity score is less than the score threshold value or not within the score threshold range.
[0101] Then, at step S702, the method 700 determines that the target fingerprint region passes the verification in response to the comparison result satisfying the second preset condition. For the case that the comparison result is a similarity score and the second preset condition is whether the similarity score is greater than or equal to a score threshold value or within a score threshold range, the target fingerprint region is determined to pass the verification in response to the similarity score corresponding to the comparison result being greater than or equal to the score threshold value or within the score threshold range. Correspondingly, the target fingerprint region is determined to not pass the verification in response to the similarity score corresponding to the comparison result being less than the score threshold value or not within the score threshold range.
[0102] For the foregoing Figure 6aIn the illustrated embodiment, when the similarity score of the B1 region and the second set of fingerprint features overlapping therewith is greater than or equal to the score threshold or within the score threshold range, it is determined that the target fingerprint region passes the verification; correspondingly, when the similarity score of the B1 region and the second set of fingerprint features overlapping therewith is less than the score threshold or not within the score threshold range, it is determined that the target fingerprint region fails the verification.
[0103] It can be seen that, by the feature comparison manner, the present scheme determines whether the second set of fingerprint features of the auxiliary reference fingerprint region and the target fingerprint region match, which is accurate and reliable, thereby ensuring the accuracy of the verification result.
[0104] It can be understood that, in some scenarios (for example, electronic device failure), there may be some non-relevant fingerprint regions with poor relevance to the main reference fingerprint region that also pass the comparison with the target fingerprint region. In order to prevent such misjudgment and further ensure the accuracy of the verification result, the present scheme can perform fingerprint verification by the method illustrated in Figure 8
[0105] As illustrated in Figure 8 , the method 800 can include, at step S801, obtaining a target fingerprint region to be verified. Then, at step S802, according to the at least one first set of fingerprint features and the sets of fingerprint features included in the plurality of reference fingerprint regions of the fingerprint library, it is determined whether the fingerprint library includes a main reference fingerprint region related to the target fingerprint region. Steps S801 and S802 are the same as the aforementioned steps S101 and S102, and the related description can refer to the foregoing embodiments, which will not be described in detail here.
[0106] Further, at step S803, in response to the determination result that the fingerprint library includes a main reference fingerprint region related to the target fingerprint region, according to the at least one first set of fingerprint features and the sets of fingerprint features included in the plurality of reference fingerprint regions of the fingerprint library, it is determined whether a reference fingerprint region related to the target fingerprint region is included in the non-relevant fingerprint region of the fingerprint library.
[0107] The non-relevant fingerprint region can be a reference fingerprint region in the fingerprint library that satisfies a third preset condition with the main reference fingerprint region in terms of relative positional relationship, and the third preset condition can be that the distance is greater than the maximum distance value in the preset distance range and / or the rotation angle is greater than the maximum angle value in the preset angle range. For the embodiment illustrated in Figure 6a , the reference fingerprint region N and the reference fingerprint region M with a relatively large distance and / or a relatively large rotation angle between the reference fingerprint Figure 3 region and the reference fingerprint region can be regarded as a non-relevant fingerprint region, and for the embodiment illustrated in Figure 6b In the illustrated embodiment, the reference fingerprint area Rn (not shown in the figure) and the reference fingerprint area Rm, which are farther away from the reference fingerprint area R2 and / or have a larger rotation angle, can be determined as the non-relevant fingerprint areas.
[0108] The method for determining whether the reference fingerprint area related to the target fingerprint area is included can refer to the description of the foregoing embodiments, and will not be described in detail here.
[0109] Then, at step S803, the method 800 can determine whether the target fingerprint area passes the verification according to the determination result. In one embodiment, in response to the determination result being that the reference fingerprint area related to the target fingerprint area is included in the non-relevant fingerprint area, it can be determined that the target fingerprint area fails the verification. Still taking the foregoing example, when the reference fingerprint area Rn or the reference fingerprint area Rm is related to the target fingerprint area, it can be determined that the target fingerprint area fails the verification. Figure 6a For example, when the reference fingerprint area Rn or the reference fingerprint area Rm is related to the target fingerprint area, it can be determined that the target fingerprint area fails the verification. Thus, the present solution can avoid misjudgment due to electronic device failure and the like, thereby further ensuring the accuracy of the fingerprint verification result.
[0110] To further ensure the accuracy of the foregoing verification result, the present solution further provides another embodiment for determining whether the target fingerprint area passes the verification. Specifically, the embodiment can include: in response to the determination result being that the reference fingerprint area related to the target fingerprint area is included in the non-relevant fingerprint area, determining the reference fingerprint area as a verification reference fingerprint area (which can be understood as a main reference fingerprint area in the non-relevant fingerprint area), and selecting at least one reference fingerprint area corresponding to the verification reference fingerprint area from the non-relevant fingerprint area as a secondary reference fingerprint area according to the verification reference fingerprint area. The determination method of the main reference fingerprint area and the selection method of the secondary reference fingerprint area can refer to the description of the foregoing embodiments, and will not be described in detail here. Still taking the foregoing example, when the reference fingerprint area Rn is the main reference fingerprint area, the reference fingerprint area M can be determined as the secondary reference fingerprint area. Figure 6a
[0111] Then, the embodiment can determine whether the target fingerprint area passes the verification based on the comparison between the secondary reference fingerprint area and the second set of fingerprint features. The method for determining whether the target fingerprint area passes the verification can also refer to the description of the foregoing embodiments, and specifically can be: first determining whether a comparison result obtained by comparing the secondary reference fingerprint area with the second set of fingerprint features satisfies a fourth preset condition, and in response to the comparison result satisfying the fourth preset condition, determining that the target fingerprint area fails the verification.
[0112] The comparison result here can also be a similarity score, and in response to the similarity score corresponding to the comparison result being greater than or equal to a score threshold or within a score threshold range, it is determined that the target fingerprint region fails to pass the verification. Correspondingly, in response to the similarity score corresponding to the comparison result being less than the score threshold or not within the score threshold range, it is determined that the target fingerprint region passes the verification. It can be understood that the fourth preset condition and the second preset condition can be the same or different.
[0113] In the above Figure 6a , in response to the similarity score corresponding to the comparison result of the reference fingerprint map M (the auxiliary reference fingerprint region in the irrelevant fingerprint region) and the second set of fingerprint features overlapping therewith being greater than or equal to a score threshold or within a score threshold range, it can be determined that the target fingerprint region (fingerprint map E1) fails to pass the verification. Correspondingly, in response to the similarity score corresponding to the comparison result of the reference fingerprint map M and the second set of fingerprint features overlapping therewith being less than the score threshold or not within the score threshold range, it can be determined that the target fingerprint region (fingerprint map E1) passes the verification.
[0114] Figure 9 is a structural block diagram of a device 900 for verifying a fingerprint according to an embodiment of the present disclosure.
[0115] As shown in Figure 9 , the device 900 of the present disclosure can include a processor 901 and a memory 902, and the processor 901 and the memory 902 communicate with each other through a bus 903. The memory 902 stores program instructions executable by the processor 901, and when the program instructions are executed by the processor 901, the device performs the method steps described in the foregoing with reference to the accompanying drawings.
[0116] The device 900 of the present disclosure can collect a plurality of reference fingerprint regions in the manner of a swipe (finger arc-shaped swipe), which is faster than the manner of entering and registering a fingerprint by pressing multiple times in the prior art, thereby improving the efficiency of fingerprint entry. Based on this, the present scheme can also use the correlation between the reference fingerprint regions to verify the target fingerprint region, so that it is not necessary to compare the target fingerprint region with each reference fingerprint region, and thus the verification process can be simplified under the premise of ensuring the verification result, thereby improving the speed of fingerprint verification.
[0117] Figure 10 is a structural block diagram of a mobile device 1000 for verifying a fingerprint according to an embodiment of the present disclosure.
[0118] As shown in Figure 10As shown in the figure, the mobile device 1000 of the present disclosure can include a fingerprint recognizer 1001, a memory 1002 and a processor 1003, wherein the fingerprint recognizer 1001 can be arranged at the side of the mobile device 1000 for receiving a target fingerprint area. The memory 1002 can be used for storing a fingerprint library, wherein the fingerprint library can store a plurality of reference fingerprint areas formed when a finger is arcuately slid on the fingerprint recognizer and each reference fingerprint area has a respective fingerprint feature. The processor 1003 can be connected with the memory 1002 and configured to perform the method steps described above in combination with the figure.
[0119] The mobile device 1000 of the present disclosure can collect a plurality of reference fingerprint areas by sliding (arcuately sliding a finger), which is faster than the prior art way of entering a registered fingerprint by pressing multiple times, thereby improving the efficiency of fingerprint entry. Based on this, the present scheme can also verify the target fingerprint area based on the correlation between the reference fingerprint areas, thereby making it unnecessary to compare the target fingerprint area with each reference fingerprint area, and thereby simplifying the verification process under the premise of ensuring the accuracy of the verification result, thereby improving the speed of fingerprint verification.
[0120] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a non-transitory computer readable medium, and the program performs the steps of the above-mentioned method embodiments when executed.
[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software and necessary general hardware platforms, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions essentially or in other words the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0122] It should be understood that the terms "first", "second", "third", and "fourth" in the claims, specification, and drawings of the present disclosure are used to distinguish different objects, and are not used to describe a particular order. The terms "include" and "contain" used in the specification and claims of the present disclosure indicate the presence of the described features, whole, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, whole, steps, operations, elements, components and / or sets thereof.
[0123] It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in this specification and the claims, the singular forms "a," "an" and "the" include plural referents unless the context clearly dictates otherwise. It should also be further understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items, as well as the lack of combinations when interpreted in the alternative ("or").
[0124] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present disclosure, but not limit the present disclosure; even if the embodiments of the present disclosure have been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions recorded in the foregoing embodiments, or equivalent replacements can be made to some or all of the technical features; and the modifications or replacements do not cause the nature of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.
Claims
1.A method for verifying a fingerprint, comprising: obtaining a target fingerprint area to be verified, wherein the target fingerprint area comprises at least one first set of fingerprint features; determining whether a main reference fingerprint area related to the target fingerprint area is included in a fingerprint library according to at least one first set of fingerprint features and sets of fingerprint features included in a plurality of reference fingerprint areas in the fingerprint library, wherein the plurality of reference fingerprint areas are formed when a finger is swiped on a fingerprint identifier in an arc shape and are stored in the fingerprint library, and each reference fingerprint area has a respective set of fingerprint features; and determining whether the target fingerprint area passes the verification based on the determination result, wherein the target fingerprint area further comprises a second set of fingerprint features, the fingerprint library further comprises relative positional relationships between different reference fingerprint areas in the plurality of reference fingerprint areas, and the determining whether the target fingerprint area passes the verification based on the determination result comprises: in response to the determination result that the main reference fingerprint area related to the target fingerprint area is included in the fingerprint library, selecting at least one reference fingerprint area from the fingerprint library that has a relative positional relationship with the main reference fingerprint area satisfying a first preset condition and taking the at least one reference fingerprint area as a secondary reference fingerprint area, wherein the relative positional relationships between different reference fingerprint areas include distances and / or rotation angles between different reference fingerprint areas; and determining whether the target fingerprint area passes the verification based on a comparison between the secondary reference fingerprint area and the second set of fingerprint features. 2.The method of claim 1, wherein the determining whether the target fingerprint area passes the verification comprises: determining whether a comparison result obtained by comparing the secondary reference fingerprint area and the second set of fingerprint features satisfies a second preset condition; and in response to the comparison result satisfying the second preset condition, determining that the target fingerprint area passes the verification. 3.The method of claim 2, wherein the comparison result is a similarity score, and the determining that the target fingerprint area passes the verification comprises: in response to the similarity score corresponding to the comparison result being greater than or equal to a score threshold or being within a range of the score threshold, determining that the target fingerprint area passes the verification. 4.The method of claim 1, wherein the determining whether the target fingerprint area passes the verification comprises: in response to the determination result that the main reference fingerprint area related to the target fingerprint area is included in the fingerprint library, determining whether a reference fingerprint area related to the target fingerprint area is included in an irrelevant fingerprint area of the fingerprint library according to at least one first set of fingerprint features and sets of fingerprint features included in a plurality of reference fingerprint areas in the fingerprint library, wherein the irrelevant fingerprint area is a reference fingerprint area in the fingerprint library that has a relative positional relationship with the main reference fingerprint area satisfying a third preset condition; and determining whether the target fingerprint area passes the verification based on the determination result. 5.The method of claim 4, wherein the determining whether the target fingerprint area passes the verification based on the determination result comprises: in response to the result of the judging being that the non-relevant fingerprint region includes a reference fingerprint region relevant to the target fingerprint region, determining that the target fingerprint region fails the verification. 6.The method of any one of claims 1-5, wherein each of the reference fingerprint regions in the fingerprint library corresponds to a collected reference fingerprint pattern or includes one or more collected fingerprint features. 7.The method of claim 6, wherein the plurality of reference fingerprint patterns or the plurality of fingerprint features in the fingerprint library are collected by: collecting the plurality of reference fingerprint patterns or the plurality of fingerprint features in an arc-shaped sliding process of the finger sliding from a first position to a second position of the fingerprint recognizer, wherein the first position and the second position are located on two sides of a preset center line of the fingerprint recognizer respectively, and an included angle between the first position and the second position is greater than or equal to a preset angle. 8.An apparatus for verifying a fingerprint, comprising: a processor; a memory storing processor-executable program instructions that, when executed by the processor, cause the apparatus to perform: obtaining a target fingerprint region to be verified, wherein the target fingerprint region includes at least one first set of fingerprint features and at least one second set of fingerprint features; judging whether a main reference fingerprint region relevant to the target fingerprint region is included in a fingerprint library according to at least one first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint regions in the fingerprint library, wherein the plurality of reference fingerprint regions are formed when a finger is arc-shaped slid on a fingerprint recognizer and stored in the fingerprint library, and each reference fingerprint region has a respective set of fingerprint features; and determining whether the target fingerprint region passes the verification based on a result of the judging, wherein the target fingerprint region further includes the second set of fingerprint features, the fingerprint library further includes relative positional relationships between different reference fingerprint regions in the plurality of reference fingerprint regions, in response to the result of the judging being that the main reference fingerprint region relevant to the target fingerprint region is included in the fingerprint library, selecting at least one reference fingerprint region from the fingerprint library as an auxiliary reference fingerprint region, wherein a relative positional relationship between the main reference fingerprint region and the auxiliary reference fingerprint region satisfies a first preset condition, and determining whether the target fingerprint region passes the verification based on a comparison between the auxiliary reference fingerprint region and the second set of fingerprint features. 9.The apparatus of claim 8, wherein the program instructions, when executed by the processor, cause the apparatus to further perform: judging whether a comparison result obtained by comparing the auxiliary reference fingerprint region and the second set of fingerprint features satisfies a second preset condition; and in response to the comparison result satisfying the second preset condition, determining that the target fingerprint region passes the verification. 10.The apparatus of claim 9, wherein the comparison result is a similarity score, and the program instructions, when executed by the processor, cause the apparatus to further perform: determining that the target fingerprint region passes the verification, in response to the similarity score corresponding to the comparison result being greater than or equal to a score threshold or within a score threshold range. 11.The device of claim 8, wherein the program instructions, when executed by the processor, cause the device to perform: determining that the target fingerprint region passes the verification, in response to the similarity score corresponding to the comparison result being greater than or equal to a score threshold or within a score threshold range. determining whether a reference fingerprint region related to the target fingerprint region is included in an irrelevant reference fingerprint region of the fingerprint library, according to at least one of the first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint regions of the fingerprint library, in response to the determination result being that the fingerprint library includes the main reference fingerprint region related to the target fingerprint region, wherein the irrelevant reference fingerprint region is a reference fingerprint region in the fingerprint library that satisfies a third preset condition in terms of relative positional relationship with the main reference fingerprint region; and determining whether the target fingerprint region passes the verification according to the determination result. 12.The device of claim 11, wherein the program instructions, when executed by the processor, cause the device to perform: determining that the target fingerprint region fails the verification, in response to the determination result being that the reference fingerprint region related to the target fingerprint region is included in the irrelevant reference fingerprint region. 13.The device of any one of claims 8-12, wherein each of the reference fingerprint regions in the fingerprint library corresponds to a collected reference fingerprint image or includes one or more collected fingerprint features. 14.The device of claim 13, wherein the program instructions, when executed by the processor, cause the device to perform: collecting a plurality of reference fingerprint images or a plurality of fingerprint features in an arc-shaped sliding process of the finger sliding from a first position to a second position of the fingerprint identifier, wherein the first position and the second position are respectively located on two sides of a preset center line of the fingerprint identifier, and an included angle between the first position and the second position is greater than or equal to a preset angle. 15.A mobile device for verifying a fingerprint, comprising: a fingerprint identifier arranged on a side of the mobile device for receiving a target fingerprint region to be verified; a memory for storing a fingerprint library, wherein the fingerprint library stores a plurality of reference fingerprint regions formed when a finger is arc-shaped sliding on the fingerprint identifier to collect a fingerprint, and each reference fingerprint region has respective fingerprint features; and a processor connected to the memory and configured to perform: obtaining a target fingerprint region to be verified, wherein the target fingerprint region includes at least one first set of fingerprint features; determining whether a main reference fingerprint region related to the target fingerprint region is included in the fingerprint library, according to at least one of the first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint regions of the fingerprint library; and determining whether a reference fingerprint region related to the target fingerprint region is included in an irrelevant reference fingerprint region of the fingerprint library, according to at least one of the first set of fingerprint features and a set of fingerprint features included in a plurality of reference fingerprint regions of the fingerprint library, in response to the determination result being that the fingerprint library includes the main reference fingerprint region related to the target fingerprint region. determining whether the target fingerprint region passes verification based on the judgment result, wherein the target fingerprint region further includes a second set of fingerprint features, the fingerprint library further includes relative positional relationships between different reference fingerprint regions in the plurality of reference fingerprint regions, in response to the judgment result being that the fingerprint library includes one main reference fingerprint region related to the target fingerprint region, selecting at least one reference fingerprint region from the fingerprint library that has a relative positional relationship with the main reference fingerprint region satisfying a first preset condition, and taking the at least one reference fingerprint region as an auxiliary reference fingerprint region, wherein the relative positional relationships between the different reference fingerprint regions include distances and / or rotation angles between the different reference fingerprint regions; and determining whether the target fingerprint region passes verification based on comparison of the auxiliary reference fingerprint region and the second set of fingerprint features. 16.A non-transitory computer readable medium storing program instructions for verifying a fingerprint, which when executed by at least one processor, cause the following operations to be performed: obtaining a target fingerprint region to be verified, wherein the target fingerprint region includes at least one first set of fingerprint features; judging whether the fingerprint library includes one main reference fingerprint region related to the target fingerprint region according to the at least one first set of fingerprint features and sets of fingerprint features included in a plurality of reference fingerprint regions in a fingerprint library, wherein the plurality of reference fingerprint regions are formed when a finger is swiped on a fingerprint identifier in an arc shape and are stored in the fingerprint library, and each reference fingerprint region has respective fingerprint features; and determining whether the target fingerprint region passes verification based on the judgment result, wherein the target fingerprint region further includes a second set of fingerprint features, the fingerprint library further includes relative positional relationships between different reference fingerprint regions in the plurality of reference fingerprint regions, in response to the judgment result being that the fingerprint library includes one main reference fingerprint region related to the target fingerprint region, selecting at least one reference fingerprint region from the fingerprint library that has a relative positional relationship with the main reference fingerprint region satisfying a first preset condition, and taking the at least one reference fingerprint region as an auxiliary reference fingerprint region, wherein the relative positional relationships between the different reference fingerprint regions include distances and / or rotation angles between the different reference fingerprint regions; and determining whether the target fingerprint region passes verification based on comparison of the auxiliary reference fingerprint region and the second set of fingerprint features.
Citation Information
Patent Citations
Fingerprint verification method and device
CN107133551A