Fingerprint recognition method and device

By encrypting and transmitting key areas of fingerprint images, the problem of difficulty in switching quickly with encryption algorithm vulnerabilities in the prior art is solved, and the security and efficiency of fingerprint recognition are improved.

CN112733684BActive Publication Date: 2025-05-16INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011638032.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2025-05-16
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

In the process of fingerprint recognition, the prior art relies on network layer protocols such as SSL/TLS for encryption transmission, which poses a security risk that encryption algorithm vulnerabilities are difficult to switch quickly.

Method used

By identifying and segmenting the key areas of the fingerprint image, encrypting the key areas of the image using a password strategy, generating fingerprint encryption information, and sending the encrypted information, position coordinates and divided fingerprint images for fingerprint recognition.

Benefits of technology

It improves the security of fingerprint image transmission process, reduces the time-consuming of encryption and decryption, improves the efficiency of fingerprint recognition, and can flexibly and quickly switch the password policies used when there are loopholes in password algorithms or key leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112733684B_ABST
    Figure CN112733684B_ABST
Patent Text Reader

Abstract

The present invention provides a fingerprint recognition method and device, which relate to the field of information security technology. The method includes: collecting a user's fingerprint to obtain a fingerprint image of the user; performing key area recognition on the fingerprint image to obtain a key area image and the position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image; encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the coordinate position and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image. The device is used to execute the above method. The fingerprint recognition method and device provided by the embodiments of the present invention can improve the security of the fingerprint image transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a fingerprint recognition method and device. Background Art

[0002] Human fingerprints are the result of the combined effects of genetics and the environment, and have an extremely low repetition rate. As fingerprint recognition technology becomes more popular, the requirements for its security are becoming increasingly higher.

[0003] In the prior art, for the scenario of fingerprint recognition using the server background, the fingerprint collection device on the user side collects the fingerprint image, and then transmits the fingerprint image to the server background through the network for fingerprint recognition. In order to avoid the leakage of fingerprint images during transmission, an encrypted transmission channel is usually established based on network layer protocols such as SSL / TLS to protect the fingerprint image, and the fingerprint image is not additionally encrypted at the application layer to avoid the extra time-consuming application layer encryption and decryption of images with large data volumes. Even if the fingerprint image is encrypted at the application layer, a fixed encryption algorithm is usually used. When a vulnerability occurs in the encryption algorithm, it is difficult to switch quickly, which poses a security risk. Summary of the invention

[0004] In view of the problems in the prior art, the embodiments of the present invention provide a fingerprint recognition method and device, which can at least partially solve the problems in the prior art.

[0005] In a first aspect, the present invention provides a fingerprint recognition method, comprising:

[0006] Collecting user fingerprints and obtaining fingerprint images of the user;

[0007] Performing key area recognition on the fingerprint image to obtain a key area image and position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image;

[0008] The key area image is encrypted using a password strategy to obtain fingerprint encryption information, and the fingerprint encryption information, the coordinate position and the segmented fingerprint image are sent to perform fingerprint recognition on the fingerprint image.

[0009] In a second aspect, the present invention further provides a fingerprint recognition method, comprising:

[0010] Receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0011] Decrypting the fingerprint encryption information through the password strategy to obtain the key area image;

[0012] Restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image;

[0013] The restored fingerprint image is identified to obtain the fingerprint identification result.

[0014] In a third aspect, the present invention provides a fingerprint recognition device, comprising:

[0015] A collection unit, used to collect a user's fingerprint and obtain a fingerprint image of the user;

[0016] a segmentation unit, configured to identify a key area of ​​the fingerprint image, obtain a key area image and position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain a segmented fingerprint image;

[0017] The encryption unit is used to encrypt the key area image using a password strategy, obtain fingerprint encryption information, and send the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image.

[0018] In a fourth aspect, the present invention further provides a fingerprint recognition device, comprising:

[0019] A receiving unit, used to receive fingerprint encryption information, position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0020] A decryption unit, used to decrypt the fingerprint encryption information according to the password policy to obtain the key area image;

[0021] A restoration unit, used to restore the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0022] The identification unit is used to identify the restored fingerprint image and obtain the fingerprint identification result.

[0023] In a fifth aspect, the present invention provides an electronic device, comprising a first memory, a first processor, and a first computer program stored in the first memory and executable on the first processor, wherein the first processor implements the following fingerprint recognition method when executing the first computer program:

[0024] Collecting user fingerprints and obtaining fingerprint images of the user;

[0025] Performing key area recognition on the fingerprint image to obtain a key area image and position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image;

[0026] The key area image is encrypted using a password strategy to obtain fingerprint encryption information, and the fingerprint encryption information, the coordinate position and the segmented fingerprint image are sent to perform fingerprint recognition on the fingerprint image.

[0027] In a sixth aspect, the present invention provides a computer-readable storage medium having a first computer program stored thereon, wherein the first computer program implements the following fingerprint recognition method when executed by a first processor:

[0028] Collecting user fingerprints and obtaining fingerprint images of the user;

[0029] Performing key area recognition on the fingerprint image to obtain a key area image and position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image;

[0030] The key area image is encrypted using a password strategy to obtain fingerprint encryption information, and the fingerprint encryption information, the coordinate position and the segmented fingerprint image are sent to perform fingerprint recognition on the fingerprint image.

[0031] In a seventh aspect, the present invention further provides an electronic device, comprising a second memory, a second processor, and a second computer program stored in the second memory and executable on the second processor, wherein the second processor implements the following fingerprint recognition method when executing the second computer program:

[0032] Receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0033] Decrypting the fingerprint encryption information through the password strategy to obtain the key area image;

[0034] Restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image;

[0035] The restored fingerprint image is identified to obtain the fingerprint identification result.

[0036] In an eighth aspect, the present invention further provides a computer-readable storage medium having a second computer program stored thereon, wherein the second computer program, when executed by a second processor, implements the following processing method for pattern recognition:

[0037] Receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0038] Decrypting the fingerprint encryption information through the password strategy to obtain the key area image;

[0039] Restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image;

[0040] The restored fingerprint image is identified to obtain the fingerprint identification result.

[0041] The fingerprint recognition method and device provided by the embodiments of the present invention can collect user fingerprints, obtain the fingerprint image of the user, perform key area recognition on the fingerprint image, obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image, use a password strategy to encrypt the key area image and the position coordinates, obtain fingerprint encryption information, and send the fingerprint encryption information and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image. By encrypting the key area of ​​the fingerprint image, the security of the fingerprint image transmission process can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0043] Figure 1 It is a structural diagram of a fingerprint recognition processing system provided by the first embodiment of the present invention.

[0044] Figure 2 It is a structural diagram of a fingerprint recognition processing system provided by the second embodiment of the present invention.

[0045] Figure 3 It is a flowchart of a fingerprint recognition method provided by the third embodiment of the present invention.

[0046] Figure 4 It is a flowchart of a fingerprint recognition method provided by the fourth embodiment of the present invention.

[0047] Figure 5 It is a flowchart of a fingerprint recognition method provided by the fifth embodiment of the present invention.

[0048] Figure 6It is a flowchart of password policy synchronization provided by the sixth embodiment of the present invention.

[0049] Figure 7 It is a flowchart of a fingerprint recognition method provided by the seventh embodiment of the present invention.

[0050] Figure 8 It is a schematic diagram of the structure of a fingerprint recognition device provided by the eighth embodiment of the present invention.

[0051] Fig. 9 It is a schematic diagram of the structure of a fingerprint recognition device provided by the ninth embodiment of the present invention.

[0052] Fig.10 It is a schematic diagram of the physical structure of an electronic device provided by the tenth embodiment of the present invention.

[0053] Fig.11 It is a schematic diagram of the physical structure of an electronic device provided by the eleventh embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.

[0055] Figure 1 FIG. 1 is a schematic diagram of the structure of a fingerprint recognition processing system provided by the first embodiment of the present invention. Figure 1 As shown, the fingerprint recognition processing system provided by the embodiment of the present invention includes a fingerprint collection device 1, a service server 2 and a fingerprint recognition server 3, wherein:

[0056] The fingerprint collection device 1 is connected to the business server 2 in communication, and the business server 2 is connected to the fingerprint recognition server 3 in communication.

[0057] The fingerprint collection device 1 is used to collect user fingerprints, obtain the user's fingerprint image, and perform key area identification on the fingerprint image to obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image, and then encrypt the key area image to obtain fingerprint encryption information, and send the fingerprint encryption information, the position coordinates and the segmented fingerprint image to the business server 2.

[0058] The business server 2 is used to send the fingerprint encryption information and the segmented fingerprint image to the fingerprint recognition server 3 to perform fingerprint recognition on the fingerprint image. The business server 2 is also used to provide other business data required for fingerprint recognition and complete related business functions according to the fingerprint recognition result, that is, if the fingerprint recognition result is authentication passed, then the related business operation is performed, and if the fingerprint recognition result is authentication failed, then the related business operation is rejected. Among them, the other business data includes but is not limited to the user identification.

[0059] The fingerprint recognition server 3 is used to decrypt the fingerprint encryption information, obtain the key area image, restore the fingerprint image according to the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image, and recognize the restored fingerprint image to obtain the fingerprint recognition result. The fingerprint recognition server 3 will return the fingerprint recognition result to the business server 2.

[0060] There may be multiple fingerprint collection devices 1 and service servers 2. The fingerprint collection devices 1 and service servers 2 may correspond one to one, or a service server 2 may correspond to multiple fingerprint collection devices 1. The fingerprint recognition server 3 may provide fingerprint recognition services for multiple service servers 2.

[0061] Figure 2 FIG. 1 is a schematic diagram of the structure of a fingerprint recognition processing system provided by a second embodiment of the present invention. Figure 2 The fingerprint recognition processing system provided in the embodiment of the present invention includes a fingerprint collection device 201 and a fingerprint recognition server 202, wherein:

[0062] The fingerprint collection device 201 is communicatively connected to the fingerprint identification server 202 .

[0063] The fingerprint collection device 1 is used to collect user fingerprints, obtain the user's fingerprint image, and perform key area identification on the fingerprint image to obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image, and then encrypt the key area image to obtain fingerprint encryption information, and send the fingerprint encryption information, the position coordinates and the segmented fingerprint image to the fingerprint recognition server 202.

[0064] The fingerprint recognition server 203 is used to decrypt the fingerprint encryption information to obtain the key area image, restore the fingerprint image according to the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; identify the restored fingerprint image to obtain a fingerprint recognition result.

[0065] Figure 3 FIG. 1 is a flow chart of a fingerprint recognition method provided by a third embodiment of the present invention. Figure 3 As shown, the fingerprint recognition method provided by the embodiment of the present invention includes:

[0066] S301, collecting a user's fingerprint and obtaining a fingerprint image of the user;

[0067] Specifically, the fingerprint collection device collects the user's fingerprint and can obtain the user's fingerprint image. In order to reduce the failure of fingerprint image recognition due to unclear images, the collected user fingerprint image can be pre-processed by image quality judgment and image enhancement. The execution subject of the fingerprint recognition method provided in the embodiment of the present invention includes but is not limited to the fingerprint collection device.

[0068] For example, when a customer conducts business at a bank counter, they can use fingerprint authentication by placing their finger on the fingerprint collection device on the counter. The fingerprint collection device will collect the user's fingerprint and obtain the user's fingerprint image.

[0069] S302, performing key area recognition on the fingerprint image, obtaining a key area image and position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image;

[0070] Specifically, after obtaining the user's fingerprint image, the fingerprint acquisition device will perform key area recognition on the fingerprint image, that is, identify the key area from the fingerprint image, obtain the key area image and the position coordinates of the key area image in the fingerprint image. The fingerprint acquisition device will also segment the key area image from the fingerprint image to obtain a segmented fingerprint image. Compared with the fingerprint image, the segmented fingerprint image lacks the key area image. Among them, the key area is the area in the fingerprint image that can affect fingerprint recognition. If the key area is missing, the fingerprint corresponding to the fingerprint image cannot be recognized. The position coordinates of the key area image in the fingerprint image are used to subsequently put the key area image into the segmented fingerprint image to restore the fingerprint image. The position of the original key area image in the segmented fingerprint image can be filled with specific pixels. The specific pixels are set according to actual needs and are not limited in the embodiments of the present invention.

[0071] S303, encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform the fingerprint image recognition.

[0072] Specifically, after obtaining the key area image and the position coordinates, the fingerprint collection device uses a cryptographic strategy to encrypt the key area image, obtains fingerprint encryption information, and then sends the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform the fingerprint image recognition. The cryptographic strategy used to encrypt the key area image can be a single cryptographic algorithm such as AES, RSA, SM2, SM4, or a combination of multiple cryptographic algorithms; the key can be a negotiated fixed key, or a key randomly generated by the fingerprint collection device.

[0073] For example, the key is randomly generated by the fingerprint collection device and the segmented key area image and the location coordinates are encrypted, and then the randomly generated key is encrypted using the public key of the asymmetric encryption algorithm. The fingerprint recognition server uses the corresponding private key to decrypt to obtain the random key, and then uses the random key to decrypt the segmented fingerprint area data.

[0074] For example, the fingerprint collection device can send a fingerprint recognition request carrying the fingerprint encryption information, the location coordinates and the segmented fingerprint image to the business server, and then the business server sends the fingerprint recognition request to the fingerprint recognition server. The fingerprint recognition server can decrypt the fingerprint encryption information to obtain the key area image, and then restore the fingerprint image based on the key area image, the location coordinates of the key area image in the fingerprint image and the segmented fingerprint image. Then, fingerprint recognition is performed based on the restored fingerprint image to obtain a fingerprint recognition result.

[0075] For example, the fingerprint acquisition device can directly send a fingerprint recognition request carrying the fingerprint encryption information, the location coordinates and the segmented fingerprint image to a fingerprint recognition server, and the fingerprint recognition server performs fingerprint recognition based on the fingerprint encryption information, the location coordinates and the segmented fingerprint image. The fingerprint recognition method provided by the embodiment of the present invention can collect user fingerprints, obtain the user's fingerprint image, perform key area recognition on the fingerprint image, obtain the key area image and the location coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image, encrypt the key area image using a password strategy, obtain the fingerprint encryption information, and send the fingerprint encryption information, location coordinates and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image. By encrypting the key area of ​​the fingerprint image, the security of the fingerprint image transmission process can be improved. In addition, since there is no need to encrypt the entire fingerprint image, while improving security, the time consumption of encryption and decryption is reduced, thereby improving the efficiency of fingerprint recognition.

[0076] Figure 4FIG. 4 is a flow chart of a fingerprint recognition method provided by a fourth embodiment of the present invention. Figure 4 As shown, based on the above embodiments, further, the key area identification is performed on the fingerprint image to obtain the key area image and the position coordinates of the key area image in the fingerprint image include:

[0077] S3021, determining the center position of the key area according to the fingerprint image and the key area center determination rule;

[0078] Specifically, in order to determine the key area of ​​the fingerprint image, the fingerprint collection device may determine the center position of the key area according to the fingerprint image and a key area center determination rule, wherein the key area center determination rule is preset.

[0079] For example, the center of the fingerprint image is taken as the center of the key area, and the pixel coordinates of the center of the fingerprint image are taken as the center position of the key area. Alternatively, the fingerprint core point is determined by a fingerprint core point recognition algorithm, and the pixel coordinates of the fingerprint core point are taken as the center position of the key area.

[0080] S3022: Based on the key area center position and the key area determination rule, obtain the key area image and the position coordinates of the key area image in the fingerprint image.

[0081] Specifically, after obtaining the center position of the key area, the fingerprint acquisition device can obtain the key area image and the position coordinates of the key area image in the fingerprint image based on the center position of the key area and the key area determination rule. That is, with the center position of the key area as the center, based on the key area determination rule, part of the fingerprint image is delineated in the fingerprint image as the key area image, and the pixel coordinates of the key area image in the fingerprint image are recorded as the position coordinates of the key area image in the fingerprint image. The above position coordinates are used for restoring the fingerprint image during subsequent fingerprint image recognition.

[0082] On the basis of the above embodiments, further, the key area center determination rule includes:

[0083] The center of the fingerprint image is the center of the key area; or

[0084] The fingerprint core point is determined according to the fingerprint core point recognition algorithm, and the fingerprint core point is used as the center of the key area.

[0085] Specifically, the center of the fingerprint image can be used as the center of the key area, or the fingerprint core point can be determined by a fingerprint core point recognition algorithm, and the fingerprint core point can be used as the center of the key area. The fingerprint core point recognition algorithm is set according to actual needs. For example, the fingerprint core point recognition algorithm can use the Poincare index method or other detection algorithms based on fingerprint line direction, change gradient and other dimensions, which are not limited in the embodiments of the present invention.

[0086] For example, if the fingerprint image is a rectangular image, the center of the rectangular image is used as the center of the key area of ​​the fingerprint image.

[0087] On the basis of the above embodiments, further, the key area determination rule includes:

[0088] The ratio of the number of feature points in the key area centered at the center position of the key area to the number of feature points in the fingerprint image is greater than or equal to a preset value.

[0089] Specifically, the lack of the key area image of the fingerprint image will cause the fingerprint image to be unable to perform fingerprint recognition. Since sufficient feature points are required for fingerprint recognition during the fingerprint recognition process, a certain number of feature points can be covered when demarcating the key area. The fingerprint acquisition device can identify the feature points in the area centered on the center position of the key area through the fingerprint core point recognition algorithm, and count the number of feature points a in the area. It can also identify the feature points of the fingerprint image through the fingerprint core point recognition algorithm and count the number of feature points b of the fingerprint image, and then calculate the ratio c of a to b. If c is greater than or equal to the preset value, it means that the feature points in the above area are sufficient to affect the recognition of the fingerprint, then the above area centered on the center position of the key area can be used as the key area, so that the key area image can be obtained. If c is less than the preset value, the area centered on the center position of the key area can be expanded, and the above judgment process can be repeated until a ratio greater than or equal to the preset value is obtained, and the area corresponding to the ratio greater than or equal to the preset value is used as the key area. Among them, the preset value is set according to actual needs, and the embodiment of the present invention is not limited.

[0090] For example, the fingerprint acquisition device can be centered on the center position of the key area, and on the fingerprint image, a square area can be demarcated with L as the side length, and the feature points in the square area can be identified by the fingerprint core point recognition algorithm and the number of feature points in the square area can be counted t. The fingerprint acquisition device identifies and counts the number of feature points of the fingerprint image as p through the fingerprint core point recognition algorithm, and then the value x of t / p is calculated. If x is less than the preset value, the side length L is increased, the square area is expanded, the number of feature points in the new square area is identified and counted, the ratio x is recalculated, and the judgment of whether it is greater than the preset value is re-performed until the recalculated ratio x is greater than or equal to the preset value. The amount of each increase in the side length L can be set to a fixed value.

[0091] It is understandable that in order to reduce the time consumption of encrypting the key area image and the position coordinates, the smaller the key area image is, the better. For the sake of security, the more feature points the key area image includes, the better. Therefore, under the premise of meeting security requirements, the key area image is as small as possible. When the ratio of the number of feature points in the key area to the number of feature points in the fingerprint image is equal to the preset value, the time consumption required for encryption should be the minimum. In practical applications, after obtaining the first ratio greater than the preset value, the binary method can also be used for the area added this time to reduce the key area.

[0092] On the basis of the above embodiments, further, the key area is a polygonal area.

[0093] Specifically, when defining the key area, a rectangle, a rhombus, a regular hexagon, a square or the like may be used as the key area.

[0094] It is understandable that when the key area is a polygonal area, the pixel coordinates of each vertex of the polygon in the fingerprint image can be used as the position coordinates of the key area image in the fingerprint image. For example, when the key area is a rectangular area, the position coordinates of the key area image in the fingerprint image can be the pixel coordinates of the four vertices of the rectangle.

[0095] On the basis of the above embodiments, the fingerprint recognition method provided by the embodiment of the present invention further includes:

[0096] A password policy synchronization indication is received to update the password policy.

[0097] Specifically, the fingerprint recognition server can periodically change or replace the password policy. After changing or replacing the password policy, the fingerprint recognition server can send a password policy synchronization indication to the fingerprint collection device through the business server or directly. The fingerprint collection device will receive the password policy synchronization indication and then update the password policy used locally. It is understandable that if multiple password policies are already stored locally, when updating the password policy used locally, the password policy used can be replaced according to the password policy synchronization indication. If the password policy synchronization indication includes a new password policy, the fingerprint collection device will use the new password policy included in the password policy synchronization indication. The password policy is used to encrypt the key area image and the location coordinates.

[0098] Among them, multiple password policies can be pre-configured. When the password algorithm included in the password policy used has a security vulnerability or key leakage, other password algorithms or other keys can be quickly used, and the new password policy can be automatically distributed to the corresponding fingerprint collection device to update the password policy used. Since the password policy number corresponding to the password policy will be sent to the fingerprint recognition server from the fingerprint recognition device along with the fingerprint encryption information and the segmented fingerprint image, the fingerprint recognition server can use the corresponding password policy to decrypt the data. The entire password policy switch can be completed automatically without additionally adjusting the encryption and decryption algorithm or manually changing the key by modifying the code, and there is no need to stop the fingerprint recognition service.

[0099] The fingerprint recognition method provided by the embodiment of the present invention can flexibly and quickly switch the password strategy to be used when there are loopholes in the password algorithm, key leakage, etc., thereby ensuring the security of fingerprint image data transmission.

[0100] Figure 5 FIG. 5 is a flow chart of a fingerprint recognition method provided by a fifth embodiment of the present invention. Figure 5 As shown, the fingerprint recognition method provided by the embodiment of the present invention includes:

[0101] S501, receiving fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image;

[0102] Specifically, the fingerprint recognition server can receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image, and the fingerprint encryption information includes the encrypted key area image. The fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image can be uploaded by the fingerprint acquisition device to the business server, and then forwarded to the fingerprint recognition server by the business server, or can be directly sent to the fingerprint recognition server by the fingerprint acquisition device. The execution subject of the fingerprint recognition method provided in the embodiment of the present invention includes but is not limited to the fingerprint recognition server.

[0103] S502, decrypting the fingerprint encryption information through the password policy to obtain the key area image;

[0104] Specifically, after receiving the fingerprint encryption information, the fingerprint recognition server can decrypt the fingerprint encryption information through the password policy to obtain the key area image. The decryption policy used to decrypt the fingerprint encryption information corresponds to the password policy used by the fingerprint collection device to encrypt the key area image.

[0105] S503, restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image;

[0106] Specifically, after obtaining the key area image, the fingerprint recognition server determines the position of the key area image in the segmented fingerprint image according to the position coordinates, and synthesizes the key area image and the segmented fingerprint image into the fingerprint image to restore the fingerprint image.

[0107] S504: Identify the restored fingerprint image to obtain a fingerprint identification result.

[0108] Specifically, after obtaining the restored fingerprint image, the fingerprint recognition server uses a fingerprint recognition algorithm to extract feature values ​​from the restored fingerprint image, and then compares the feature values ​​of the restored fingerprint image with the pre-stored fingerprint feature values ​​to obtain a fingerprint recognition result. The fingerprint recognition algorithm is selected according to actual needs and is not limited in the embodiments of the present invention. For example, for a 1:1 recognition scenario, the feature value of the restored fingerprint image can be compared with a pre-stored fingerprint feature value. If the feature value of the restored fingerprint image matches the above-mentioned fingerprint feature value, then the fingerprint recognition result can be obtained as a match; if the feature value of the restored fingerprint image does not match the above-mentioned fingerprint feature value, then the fingerprint recognition result can be obtained as a mismatch.

[0109] For example, for a 1:N recognition scenario, the feature value of the restored fingerprint image can be compared with the N pre-stored fingerprint feature values ​​one by one. If the feature value of the restored fingerprint image matches one of the N fingerprint feature values, the fingerprint recognition result can be obtained as a match; if the feature value of the restored fingerprint image does not match any of the N fingerprint feature values, the fingerprint recognition result can be obtained as a mismatch. Wherein, N is a positive integer greater than or equal to 2.

[0110] The fingerprint recognition method provided by the embodiment of the present invention receives fingerprint encryption information and a segmented fingerprint image, decrypts the fingerprint encryption information through a password strategy, obtains a key area image and the position coordinates of the key area image in the fingerprint image, restores the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image, recognizes the restored fingerprint image, obtains a fingerprint recognition result, can reduce the decryption time caused by the encrypted transmission of the fingerprint image application layer, and improves the fingerprint recognition efficiency.

[0111] On the basis of the above embodiments, the fingerprint recognition method provided by the embodiment of the present invention further includes:

[0112] A password policy synchronization indication is periodically sent to synchronize the password policy, where the password policy is preconfigured.

[0113] Specifically, the password policy can be regularly changed or replaced by the fingerprint recognition server. After changing or replacing the password policy, the fingerprint recognition server can regularly send a password policy synchronization indication to the fingerprint collection device through the business server or directly. The fingerprint collection device will receive the password policy synchronization indication and then update the password policy used locally to achieve synchronization of the password policy between the fingerprint recognition server and the fingerprint collection device. The password policy is pre-configured and configured according to actual needs, which is not limited in the embodiment of the present invention.

[0114] The fingerprint recognition method provided by the embodiment of the present invention first identifies and segments the key areas of the fingerprint image on the fingerprint acquisition device side, and flexibly encrypts the key area image and the corresponding position coordinates through the password policy. Then, the password policy is configured, distributed and recorded on the fingerprint recognition server side, the key area image and its position coordinates are decrypted, and the fingerprint image is restored. Finally, the feature value of the restored fingerprint image is extracted and compared with the previously registered fingerprint feature value to obtain the fingerprint recognition result. Since the key area of ​​the fingerprint image is encrypted at the application layer, the time consumption of encryption and decryption is reduced while protecting the fingerprint image during the transmission process. On the other hand, in the case of loopholes in the password algorithm in the password policy, the password algorithm or key can be flexibly and quickly switched to ensure the security of fingerprint image data transmission.

[0115] Figure 6 : is a flowchart of password policy synchronization provided by the sixth embodiment of the present invention, such as Figure 6 As shown in the figure, the process of password policy synchronization is as follows:

[0116] The first step is to initiate a password policy synchronization request. The fingerprint collection device may initiate a password policy synchronization request at startup and / or periodically after startup; wherein the password policy synchronization request may include an identifier of the fingerprint collection device.

[0117] Step 2: Receive a password policy synchronization request. The business server may receive the password policy synchronization request and then forward the password policy synchronization request to the fingerprint recognition server.

[0118] Step 3: Query the corresponding password policy. After receiving the password policy synchronization request, the fingerprint recognition server can query the password policy corresponding to the fingerprint collection device from the pre-configured password policies according to the fingerprint collection device's identification.

[0119] Step 4: Return the password policy. The fingerprint recognition server can return the password policy corresponding to the queried fingerprint collection device to the fingerprint collection device through the business server. The password policy may include information such as the password algorithm number and the key policy number.

[0120] Step 5: Update the password policy. After the fingerprint collection device receives the password policy, it can update the local password policy according to the received password policy.

[0121] Figure 7 FIG. 7 is a flow chart of a fingerprint recognition method provided by a seventh embodiment of the present invention. Figure 7 As shown, the fingerprint recognition method provided by the embodiment of the present invention includes:

[0122] The first step is to obtain a fingerprint image. The fingerprint collection device collects the fingerprint image of the user's pressed finger, and performs pre-processing such as image quality judgment and image enhancement on the collected fingerprint image.

[0123] Step 2: Identify and segment key areas. The fingerprint acquisition device identifies key areas of the fingerprint image, obtains the key area image and its position coordinates in the fingerprint image, and segments the key area from the fingerprint image to obtain the segmented fingerprint image.

[0124] Step 3: Encrypt the key area. The fingerprint collection device uses the password strategy to encrypt the key area image at the application layer to obtain the fingerprint encryption information. Among them, the password strategy is preset.

[0125] Step 4: Send a fingerprint recognition request. The fingerprint collection device sends the fingerprint encryption information, location coordinates and segmented fingerprint image in the fingerprint recognition request to the service server.

[0126] Step 5: Forwarding the fingerprint recognition request. The business server forwards the fingerprint recognition request to the fingerprint recognition server. When forwarding the fingerprint recognition request, other business data required for fingerprint recognition, such as user identification, may be added to the fingerprint recognition request.

[0127] Step 6: Receive fingerprint recognition request. The fingerprint recognition server receives the fingerprint recognition request forwarded by the business server, and obtains the fingerprint encryption information, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image.

[0128] Step 7: Decrypt the fingerprint encryption information. The fingerprint recognition server will decrypt the fingerprint encryption information according to the password policy to obtain the key area image.

[0129] Step 8: Restore the fingerprint image. The fingerprint recognition server synthesizes the key area image with the segmented fingerprint image according to the coordinate information of the key area image on the fingerprint image to form a complete fingerprint image.

[0130] Step 9: Identify the fingerprint image. The fingerprint recognition server extracts the feature value from the restored fingerprint image and compares it with the previously registered feature value to obtain the fingerprint recognition result. After completing the fingerprint image recognition, the fingerprint recognition result can be returned to the business server.

[0131] Figure 8 FIG. 8 is a schematic diagram of the structure of a fingerprint recognition device provided by an eighth embodiment of the present invention. Figure 8 As shown, the fingerprint recognition device provided by the embodiment of the present invention includes a collection unit 801, a segmentation unit 802 and an encryption unit 803, wherein:

[0132] The collection unit 801 is used to collect user fingerprints and obtain the user's fingerprint image; the segmentation unit 802 is used to identify the key area of ​​the fingerprint image, obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image; the encryption unit 803 is used to encrypt the key area image using a password strategy to obtain fingerprint encryption information, and send the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform fingerprint identification on the fingerprint image.

[0133] Specifically, the collection unit 801 collects the user's fingerprint and obtains the user's fingerprint image. In order to reduce the fingerprint image recognition failure caused by unclear images, the collected user fingerprint image can be pre-processed by image quality judgment and image enhancement.

[0134] After obtaining the user's fingerprint image, the segmentation unit 802 will perform key area recognition on the fingerprint image, that is, identify the key area from the fingerprint image, obtain the key area image and the position coordinates of the key area image in the fingerprint image. The segmentation unit 802 will also segment the key area image from the fingerprint image to obtain a segmented fingerprint image. Compared with the fingerprint image, the segmented fingerprint image lacks the key area image. Among them, the key area is the area in the fingerprint image that can affect fingerprint recognition. If the key area is missing, the fingerprint corresponding to the fingerprint image cannot be recognized. The position coordinates of the key area image in the fingerprint image are used to subsequently put the key area image into the segmented fingerprint image to restore the fingerprint image. The position of the original key area image in the segmented fingerprint image can be filled with specific pixels. The specific pixels are set according to actual needs and are not limited in the embodiments of the present invention.

[0135] After obtaining the key area image and the position coordinates, the encryption unit 803 encrypts the key area image using a cryptographic strategy to obtain fingerprint encryption information, and then sends the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform the fingerprint image recognition. The cryptographic strategy used to encrypt the key area image can be a single cryptographic algorithm such as AES, RSA, SM2, SM4, or a combination of multiple cryptographic algorithms; the key can be a negotiated fixed key or a key randomly generated by a fingerprint acquisition device.

[0136] The fingerprint recognition device provided by the embodiment of the present invention can collect user fingerprints, obtain the fingerprint image of the user, perform key area recognition on the fingerprint image, obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain the segmented fingerprint image, encrypt the key area image using a password strategy, obtain fingerprint encryption information, and send the fingerprint encryption information, position coordinates and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image. By encrypting the key area of ​​the fingerprint image, the security of the fingerprint image transmission process can be improved. In addition, since there is no need to encrypt the entire fingerprint image, while improving security, the time consumption of encryption and decryption is reduced, thereby improving the efficiency of fingerprint recognition.

[0137] Fig. 9 is a schematic diagram of the structure of a fingerprint recognition device provided by a ninth embodiment of the present invention. Fig. 9 As shown, the fingerprint recognition device provided by the embodiment of the present invention includes a receiving unit 901, a decryption unit 902, a restoration unit 903 and a recognition unit 904, wherein:

[0138] The receiving unit 901 is used to receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; the decryption unit 902 is used to decrypt the fingerprint encryption information through the password policy to obtain the key area image; the restoration unit 903 is used to restore the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; the identification unit 904 is used to identify the restored fingerprint image to obtain a fingerprint identification result.

[0139] Specifically, the receiving unit 901 can receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image, wherein the fingerprint encryption information includes the encrypted key area image. The fingerprint encryption information and the segmented fingerprint image can be uploaded by the fingerprint collection device to the service server and then forwarded to the receiving unit 901 by the service server, or can be directly sent to the receiving unit 901 by the fingerprint collection device.

[0140] After receiving the fingerprint encryption information, the decryption unit 902 can decrypt the fingerprint encryption information through the password strategy to obtain the key area image. The decryption strategy used to decrypt the fingerprint encryption information corresponds to the password strategy used by the fingerprint collection device to encrypt the key area image.

[0141] After obtaining the key area image, the restoration unit 903 determines the position of the key area image in the segmented fingerprint image according to the position coordinates, and synthesizes the key area image and the segmented fingerprint image into the fingerprint image to restore the fingerprint image.

[0142] After obtaining the restored fingerprint image, the identification unit 904 extracts feature values ​​from the restored fingerprint image using a fingerprint identification algorithm, and then compares the feature values ​​of the restored fingerprint image with pre-stored fingerprint feature values ​​to obtain a fingerprint identification result. The fingerprint identification algorithm is selected according to actual needs and is not limited in the embodiment of the present invention.

[0143] The fingerprint recognition device provided by the embodiment of the present invention receives fingerprint encryption information and a segmented fingerprint image, decrypts the fingerprint encryption information through a password strategy, obtains a key area image and the position coordinates of the key area image in the fingerprint image, restores the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image, identifies the restored fingerprint image, and obtains a fingerprint recognition result, which can reduce the encryption and decryption time caused by the encrypted transmission of the fingerprint image application layer and improve the fingerprint recognition efficiency.

[0144] Fig.10 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Fig.10 As shown, the electronic device may include: a first processor (Processor) 1001, a first communication interface (Communications Interface) 1002, a first memory (Memory) 1003 and a first communication bus 1004, wherein the first processor 1001, the first communication interface 1002, and the first memory 1003 complete mutual communication through the first communication bus 1004. The first processor 1001 may call the logic instructions in the first memory 1003 to execute the following method, for example, including: collecting user fingerprints to obtain the user's fingerprint image; performing key area recognition on the fingerprint image to obtain the key area image and the position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain the segmented fingerprint image; encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the coordinate position and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image.

[0145] The present embodiment discloses a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the following method, for example, including: collecting a user's fingerprint to obtain a fingerprint image of the user; performing key area identification on the fingerprint image to obtain a key area image and the position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image; encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the coordinate position and the segmented fingerprint image to perform fingerprint identification on the fingerprint image.

[0146] The present embodiment provides a computer-readable storage medium, which stores a first computer program. The first computer program enables the computer to execute the following method, for example, including: collecting a user's fingerprint to obtain a fingerprint image of the user; performing key area identification on the fingerprint image to obtain a key area image and the position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image; encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the coordinate position and the segmented fingerprint image to perform fingerprint identification on the fingerprint image.

[0147] Fig.11 is a schematic diagram of the physical structure of an electronic device provided by another embodiment of the present invention, such as Fig.11 As shown, the electronic device may include: a second processor (Processor) 1101, a second communication interface (CommunicationsInterface) 1102, a second memory (Memory) 1103 and a second communication bus 1104, wherein the second processor 1101, the second communication interface 1102 and the second memory 1103 communicate with each other through the second communication bus 1104. The second processor 1101 may call the logic instructions in the second memory 1103 to execute the following method, for example, including: receiving fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; decrypting the fingerprint encryption information through the password strategy to obtain the key area image; restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; identifying the restored fingerprint image to obtain a fingerprint identification result.

[0148] The present embodiment discloses a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the following method, for example, including: receiving fingerprint encryption information, the position coordinates of a key area image in a fingerprint image, and a segmented fingerprint image; decrypting the fingerprint encryption information through a password policy to obtain the key area image; restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image; identifying the restored fingerprint image to obtain a fingerprint identification result.

[0149] The present embodiment provides a computer-readable storage medium, which stores a second computer program, and the second computer program enables the computer to execute the following method, for example, including: receiving fingerprint encryption information, the position coordinates of a key area image in a fingerprint image, and a segmented fingerprint image; decrypting the fingerprint encryption information through a password policy to obtain the key area image; restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image; identifying the restored fingerprint image to obtain a fingerprint identification result.

[0150] In addition, the logic instructions in the first memory 1003 and the second memory 1103 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when they are sold or used as independent products. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, device, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0151] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0152] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0154] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A fingerprint recognition method, characterized in that: include: Collecting user fingerprints and obtaining fingerprint images of the user; Performing key area recognition on the fingerprint image to obtain a key area image and position coordinates of the key area image in the fingerprint image, and segmenting the key area image from the fingerprint image to obtain a segmented fingerprint image; Encrypting the key area image using a password strategy to obtain fingerprint encryption information, and sending the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image; The step of performing key area identification on the fingerprint image to obtain the key area image includes: The fingerprint core point recognition algorithm is used to identify the feature points in the area centered on the center position of the key area, and the number of feature points in the area centered on the center position of the key area is counted; Identify the feature points of the fingerprint image through a fingerprint core point recognition algorithm and count the number of feature points of the fingerprint image; Calculate the ratio of the number of feature points in the area centered at the center position of the key area to the number of feature points in the fingerprint image; If the ratio is greater than or equal to a preset value, the area centered on the center position of the key area is taken as the key area; if the ratio is less than the preset value, the area centered on the center position of the key area is expanded, and the above judgment process is repeated until a ratio greater than or equal to the preset value is obtained, and the area corresponding to the ratio greater than or equal to the preset value is taken as the key area.

2. The method according to claim 1, characterized in that The performing key area identification on the fingerprint image to obtain the key area image and the position coordinates of the key area image in the fingerprint image comprises: Determine the center position of the key area according to the fingerprint image and the key area center determination rule; Based on the key area center position and the key area determination rule, the key area image and the position coordinates of the key area image in the fingerprint image are obtained.

3. The method according to claim 2, characterized in that The key regional center determination rules include: The center point of the fingerprint image is taken as the center of the key area; or The fingerprint core point is determined according to the fingerprint core point recognition algorithm, and the fingerprint core point is used as the center of the key area.

4. The method according to claim 2, characterized in that: The key area determination rules include: The ratio of the number of feature points in the key area centered at the center position of the key area to the number of feature points in the fingerprint image is greater than or equal to a preset value.

5. The method according to claim 4, characterized in that The key area is a polygonal area.

6. The method according to any one of claims 1 to 5, characterized in that: Also includes: A password policy synchronization indication is received to update the password policy.

7. A fingerprint recognition method, characterized in that: include: Receive fingerprint encryption information, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; The fingerprint encryption information is decrypted by the password policy to obtain the key area image; wherein the key area image is obtained as follows: the feature points in the area centered on the center position of the key area are identified by the fingerprint core point recognition algorithm, and the number of feature points in the area centered on the center position of the key area is counted; the feature points of the fingerprint image are identified by the fingerprint core point recognition algorithm and the number of feature points of the fingerprint image is counted; the ratio of the number of feature points in the area centered on the center position of the key area to the number of feature points of the fingerprint image is calculated; if the ratio is greater than or equal to a preset value, the area centered on the center position of the key area is taken as the key area; if the ratio is less than the preset value, the area centered on the center position of the key area is expanded, and the above judgment process is repeated until a ratio greater than or equal to the preset value is obtained, and the area corresponding to the ratio greater than or equal to the preset value is taken as the key area; Restoring the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image, and the segmented fingerprint image; The restored fingerprint image is identified to obtain the fingerprint identification result.

8. The method according to claim 7, characterized in that Also includes: A password policy synchronization indication is sent periodically to synchronize the password policy, where the password policy is preconfigured.

9. A fingerprint recognition device, characterized in that: include: A collection unit, used to collect a user's fingerprint and obtain a fingerprint image of the user; a segmentation unit, configured to identify a key area of ​​the fingerprint image, obtain a key area image and position coordinates of the key area image in the fingerprint image, and segment the key area image from the fingerprint image to obtain a segmented fingerprint image; An encryption unit, used to encrypt the key area image using a password strategy, obtain fingerprint encryption information, and send the fingerprint encryption information, the position coordinates and the segmented fingerprint image to perform fingerprint recognition on the fingerprint image; Among them, the segmentation unit is specifically used to identify the feature points in the area centered on the center position of the key area through the fingerprint core point recognition algorithm, and count the number of feature points in the area centered on the center position of the key area; identify the feature points of the fingerprint image through the fingerprint core point recognition algorithm and count the number of feature points of the fingerprint image; calculate the ratio of the number of feature points in the area centered on the center position of the key area to the number of feature points of the fingerprint image; if the ratio is greater than or equal to a preset value, the area centered on the center position of the key area is used as the key area; if the ratio is less than the preset value, the area centered on the center position of the key area is expanded, and the above judgment process is repeated until a ratio greater than or equal to the preset value is obtained, and the area corresponding to the ratio greater than or equal to the preset value is used as the key area.

10. A fingerprint recognition device, characterized in that: include: A receiving unit, used to receive fingerprint encryption information, position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; A decryption unit is used to decrypt the fingerprint encryption information through a password policy to obtain the key area image; wherein the key area image is obtained as follows: the characteristic points in the area centered on the center position of the key area are identified through a fingerprint core point recognition algorithm, and the number of characteristic points in the area centered on the center position of the key area is counted; the characteristic points of the fingerprint image are identified through a fingerprint core point recognition algorithm and the number of characteristic points in the fingerprint image is counted; the ratio of the number of characteristic points in the area centered on the center position of the key area to the number of characteristic points in the fingerprint image is calculated; if the ratio is greater than or equal to a preset value, the area centered on the center position of the key area is used as the key area; if the ratio is less than the preset value, the area centered on the center position of the key area is expanded, and the above judgment process is repeated until a ratio greater than or equal to the preset value is obtained, and the area corresponding to the ratio greater than or equal to the preset value is used as the key area; A restoration unit, used to restore the fingerprint image according to the key area image, the position coordinates of the key area image in the fingerprint image and the segmented fingerprint image; The identification unit is used to identify the restored fingerprint image and obtain the fingerprint identification result.

11. An electronic device comprising a first memory, a first processor, and a first computer program stored in the first memory and executable on the first processor, characterized in that: When the first processor executes the first computer program, the method according to any one of claims 1 to 6 is implemented.

12. A computer-readable storage medium having a first computer program stored thereon, characterized in that: When the first computer program is executed by the first processor, the method according to any one of claims 1 to 6 is implemented.

13. An electronic device comprising a second memory, a second processor, and a second computer program stored in the second memory and executable on the second processor, characterized in that: When the second processor executes the second computer program, the method according to claim 7 or 8 is implemented.

14. A computer-readable storage medium having a second computer program stored thereon, characterized in that: When the second computer program is executed by the second processor, the method according to claim 7 or 8 is implemented.

Citation Information

Patent Citations

  • Encryption method, encryption device, equipment, and storage medium

    CN109327452A

  • Apparatus for transferring information on fingerprintand method thereof

    KR1020060039994A

  • Security feature for digital imaging

    US20160050341A1