Method, device and non-transitory computer-readable storage medium for fingerprint authentication

By adopting two modes of fingerprint image collection and comparison methods in fingerprint recognition technology, and combining static and dynamic features to identify real and fake fingers, the problem of identity authentication accuracy and security caused by fake finger imitation is solved, and the authentication efficiency is improved. Security and accuracy.

CN113127836BActive Publication Date: 2024-09-20EGIS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110535281.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-12-28
Filing Date
2021-05-17
Publication Date
2024-09-20
Estimated Expiration
2041-05-17

AI Technical Summary

Technical Problem

Existing fingerprint recognition technology is easily imitated by fake fingers, resulting in insufficient accuracy and security of identity authentication.

Method used

Two modes of fingerprint image collection and comparison methods are adopted: in the first mode, the fingerprint image generated by the pressing operation of the target finger is collected and compared; in the second mode, the fingerprint image sequence generated by the sliding operation of the target finger is collected and compared. And identify real and fake fingers based on static and dynamic features.

Benefits of technology

It improves the security and accuracy of fingerprint authentication, provides selective security modes to meet different authentication needs, and reduces the misjudgment rate of fake fingers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113127836B_ABST
    Figure CN113127836B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device and non-transitory computer-readable storage medium for fingerprint authentication, wherein the method comprises: in response to receiving an authentication request, performing fingerprint image acquisition and comparison in a first mode, and selectively performing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area is acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of a target finger in a fingerprint acquisition area is acquired; and authentication is performed based at least on the comparison result of the first mode. The method according to the present disclosure can provide a selective fingerprint authentication security mode as needed to meet a variety of authentication requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of fingerprint recognition technology. More specifically, the present disclosure relates to a method, a device and a non-transitory computer-readable storage medium for fingerprint authentication. Background Art

[0002] With the continuous development of information technology, information security has become increasingly important. Whether it is for portable electronic devices or access control devices, user identity authentication has become a trend, and fingerprint recognition technology has emerged as a result. However, the fingerprint imitation technology that has emerged today can deceive the fingerprint recognition system by copying fingerprint information on fake fingers to achieve the purpose of illegal intrusion. Therefore, how to improve the accuracy and security of fingerprint authentication has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] In view of the above-mentioned technical problems, the technical solutions of the present disclosure provide a method, a device and a non-transitory computer-readable storage medium for fingerprint authentication in multiple aspects.

[0004] In a first aspect of the present disclosure, a method for fingerprint authentication is provided, comprising: in response to receiving an authentication request, executing fingerprint image acquisition and comparison in a first mode, and selectively executing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area is acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of the target finger in the fingerprint acquisition area is acquired; and authentication is performed based at least on the comparison result of the first mode.

[0005] In one embodiment of the present disclosure, the method further includes: in response to the level of the authentication request being a normal level, performing authentication based on the comparison result of the first mode.

[0006] In another embodiment of the present disclosure, the method further includes: in response to the level of the authentication request being a strict level, performing authentication based on a comparison result between the first mode and the second mode.

[0007] In another embodiment of the present disclosure, the method further includes: in the first mode, comparing the fingerprint image with the registered fingerprint information to perform fingerprint recognition; and / or in the second mode, performing true and false finger recognition based on the fingerprint image sequence.

[0008] In one embodiment of the present disclosure, before executing the fingerprint image acquisition and comparison in the first mode, the method further includes: presenting prompt information for indicating that the target finger at least performs a pressing operation.

[0009] In another embodiment of the present disclosure, after responding that the level of the authentication request is a strict level, the method further includes: presenting prompt information for instructing the target finger to perform a sliding operation; or presenting prompt information for instructing the target finger to press first and then slide.

[0010] In another embodiment of the present disclosure, it also includes: in response to the comparison result of the first mode being passed, determining the level of the authentication request; and in response to the level being a strict level, presenting prompt information for instructing the target finger to perform a sliding operation.

[0011] In one embodiment of the present disclosure, it also includes: when an authentication request is received, determining the level of the authentication request; in response to the level being a strict level, presenting prompt information for instructing the target finger to perform a pressing operation; and in response to the comparison result of the first mode being passed, presenting prompt information for instructing the target finger to perform a sliding operation.

[0012] In another embodiment of the present disclosure, it also includes: when receiving an authentication request, determining the level of the authentication request; and in response to the level being a strict level, presenting prompt information for instructing the target finger to perform a press-first-then-slide operation.

[0013] In another embodiment of the present disclosure, executing the second mode of fingerprint image acquisition and comparison includes: in response to a sliding operation of a target finger in a fingerprint acquisition area, acquiring a fingerprint image sequence generated by the target finger during the sliding process; extracting static features of each fingerprint image in the fingerprint image sequence and / or dynamic features of the fingerprint image sequence; and determining whether the target finger is a fake finger based on the static features and / or the dynamic features.

[0014] In one embodiment of the present disclosure, extracting the static feature includes at least one of the following: generating a global grayscale distribution of the fingerprint image; generating a local grayscale distribution of the fingerprint image; and extracting burr features of ridges in the fingerprint image.

[0015] In another embodiment of the present disclosure, extracting the dynamic features includes at least one of the following: counting the number of fingerprint images that include partial non-fingerprint areas in the fingerprint image sequence; counting the number of fingerprint images without fingerprint information in the fingerprint image sequence; counting the difference in signal strength between previous and next fingerprint images in the fingerprint image sequence; and determining the continuous matching hit status of the fingerprint image sequence.

[0016] In another embodiment of the present disclosure, counting the signal strength difference of the previous and next fingerprint images in the fingerprint image sequence includes: calculating the standard deviation or the mean of the standard deviation of the signal strength distribution of the fingerprint images in different time periods before and after the fingerprint image sequence; and comparing the difference between the standard deviation or the mean of the standard deviation to obtain the signal strength difference.

[0017] In one embodiment of the present disclosure, determining the continuous matching hit state of the fingerprint image sequence includes: matching each fingerprint image in the fingerprint image sequence with the registered fingerprint information to generate a matching result; in response to the matching result being consistent with a first pattern, determining that the fingerprint image sequence is in a continuous matching hit state; and in response to the matching result being consistent with a second pattern, determining that the fingerprint image sequence is in a non-continuous matching hit state.

[0018] In another embodiment of the present disclosure, determining whether the target finger is a fake finger based on the static features and / or the dynamic features includes: based on the static features and / or the dynamic features, using a pre-trained machine model or according to predetermined logic to determine whether the target finger is a fake finger.

[0019] In another embodiment of the present disclosure, the predetermined logic includes determining a fake finger when at least one of the following is met: the proportion of fingerprint images in the fingerprint image sequence that are confirmed to belong to fake fingers based on the static features exceeds a first threshold; the number of fingerprint images in the fingerprint image sequence that include partial non-fingerprint areas is less than a second threshold; the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold; the difference in signal strength between previous and next fingerprint images in the fingerprint image sequence is less than a fourth threshold; and the fingerprint image sequence is in a non-continuous matching hit state.

[0020] In one embodiment of the present disclosure, confirming that it is a fake finger based on the static features includes: detecting whether each fingerprint image has a fake finger feature based on the static features of each fingerprint image; and confirming that the fingerprint image belongs to a fake finger in response to detecting the fake finger feature.

[0021] In another embodiment of the present disclosure, the fake finger feature includes at least one of the following: the distribution range of the global grayscale distribution of the fingerprint image is less than a fifth threshold; the distribution range of the local grayscale distribution of the fingerprint image is less than a sixth threshold; and the ridges in the fingerprint image have burr features.

[0022] In a second aspect of the present disclosure, a device for fingerprint authentication is provided, comprising a fingerprint acquisition device and a processor, wherein: the processor is configured to: in response to receiving an authentication request, control the fingerprint acquisition device to perform fingerprint image acquisition in a first mode, and perform comparison in the first mode based on the acquired fingerprint image, and selectively control the fingerprint acquisition device to perform fingerprint image acquisition in a second mode, and perform comparison in the second mode based on a sequence of acquired fingerprint images; and perform authentication based at least on the comparison result of the first mode; and the fingerprint acquisition device is configured to: in the first mode, acquire a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area; or in the second mode, acquire a fingerprint image sequence generated by a sliding operation of a target finger in the fingerprint acquisition area.

[0023] In one embodiment of the present disclosure, the processor is further configured to: in response to the level of the authentication request being a normal level, perform authentication based on the comparison result of the first mode.

[0024] In another embodiment of the present disclosure, the processor is further configured to: in response to the level of the authentication request being a strict level, perform authentication based on a comparison result between the first mode and the second mode.

[0025] In another embodiment of the present disclosure, the processor is further configured to: in the first mode, compare the fingerprint image with the registered fingerprint information to perform fingerprint identification; and / or in the second mode, perform true and false finger identification based on the fingerprint image sequence.

[0026] In one embodiment of the present disclosure, the device further includes: a human-machine interface configured to present prompt information for instructing the target finger to at least perform a pressing operation before executing the fingerprint image acquisition in the first mode under the control of the processor.

[0027] In another embodiment of the present disclosure, the device also includes: a human-machine interface, which is configured to, under the control of the processor, after responding to the level of the authentication request being a strict level, present prompt information for instructing the target finger to perform a sliding operation; or present prompt information for instructing the target finger to press first and then slide.

[0028] In another embodiment of the present disclosure, the processor is further configured to: determine the level of the authentication request in response to the comparison result of the first mode being passed; and the device also includes: a human-computer interface, which is configured to, under the control of the processor, present prompt information for instructing the target finger to perform a sliding operation in response to the level being a strict level.

[0029] In one embodiment of the present disclosure, the processor is also configured to: determine the level of the authentication request when receiving the authentication request; and the device also includes: a human-computer interface, which is configured to, under the control of the processor, present prompt information for instructing the target finger to perform a pressing operation in response to the level being a strict level; and present prompt information for instructing the target finger to perform a sliding operation in response to the comparison result of the first mode being passed.

[0030] In another embodiment of the present disclosure, the processor is further configured to: determine the level of the authentication request when receiving the authentication request; and the device also includes: a human-computer interface, which is configured to, under the control of the processor, in response to the level being a strict level, present prompt information for instructing the target finger to perform a press-first-then-slide operation.

[0031] In a third aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which stores program instructions for fingerprint authentication. When the program instructions are executed by at least one processor, the following are executed: in response to receiving an authentication request, controlling the execution of fingerprint image acquisition and comparison in a first mode, and selectively executing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area is acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of the target finger in the fingerprint acquisition area is acquired; and authentication is performed based at least on the comparison result of the first mode.

[0032] Through the above description of the technical solution of the present invention and its multiple embodiments, those skilled in the art can understand that the method for fingerprint authentication of the present invention can be authenticated at least based on the comparison result of the fingerprint image collected in the first mode, and can also selectively perform the comparison operation of the fingerprint image sequence collected in the second mode to achieve the purpose of fingerprint authentication. Since the fingerprint image sequence generated by the sliding operation of the target finger is collected in the second mode, the action requirements for the target finger and the complexity of authentication are improved, so when the second mode is selected, it can help to improve the security and reliability of the fingerprint authentication method. Furthermore, by selectively executing the collection and comparison of the fingerprint image of the second mode, a selective fingerprint authentication security mode can be provided according to information security needs to meet a variety of authentication needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0034] Figure 1 A flowchart of a method for fingerprint authentication according to an embodiment of the present disclosure is schematically shown;

[0035] Figure 2 A flowchart of a method for authenticating based on a comparison result of a first mode according to an embodiment of the present disclosure is schematically shown;

[0036] Figure 3 A flowchart of a method for fingerprint authentication with hierarchical responses according to an embodiment of the present disclosure is schematically shown;

[0037] Figure 4 A flowchart schematically showing a method for fingerprint authentication with hierarchical responses according to another embodiment of the present disclosure;

[0038] Figure 5 A flowchart schematically showing a method for fingerprint authentication with hierarchical responses according to yet another embodiment of the present disclosure;

[0039] Figure 6 A flowchart schematically shows a method for performing fingerprint image acquisition and comparison in the second mode according to an embodiment of the present disclosure;

[0040] Figure 7 A schematic diagram schematically illustrates a process of extracting static features and dynamic features according to an embodiment of the present disclosure;

[0041] Figure 8 A schematic diagram schematically showing the global grayscale distribution of a real finger fingerprint image according to an embodiment of the present disclosure;

[0042] Fig. 9 A schematic diagram schematically showing the global grayscale distribution of a fake finger fingerprint image according to an embodiment of the present disclosure;

[0043] Fig.10 A schematic diagram schematically showing a local grayscale distribution of a real finger fingerprint image according to an embodiment of the present disclosure;

[0044] Fig.11 A schematic diagram schematically showing a local grayscale distribution of a fake finger fingerprint image according to an embodiment of the present disclosure;

[0045] Fig.12 A schematic diagram schematically illustrates a fingerprint image including a portion of non-fingerprint areas in a fingerprint image sequence according to an embodiment of the present disclosure;

[0046] Fig.13 A schematic diagram schematically illustrates a fingerprint image without fingerprint information in a fingerprint image sequence according to an embodiment of the present disclosure;

[0047] Fig.14a and Fig.14bA plurality of schematic diagrams schematically showing fingerprint images and their grayscale distributions in an earlier time period in a fingerprint image sequence of a real finger;

[0048] Fig.15a and Fig.15b A plurality of schematic diagrams schematically showing fingerprint images and their grayscale distributions in a later time period in a fingerprint image sequence of a real finger;

[0049] Fig.16a and Fig.16b A plurality of schematic diagrams schematically showing fingerprint images and their grayscale distributions in an earlier time period in a fingerprint image sequence of a fake finger;

[0050] Fig.17a and Fig.17b A plurality of schematic diagrams schematically showing fingerprint images and their grayscale distributions in a later time period in a fingerprint image sequence of a fake finger;

[0051] Fig.18 A schematic diagram schematically illustrates a sequence of fingerprint images in a continuous matching hit state according to an embodiment of the present disclosure;

[0052] Fig.19 A schematic diagram schematically illustrating a fingerprint image sequence in a non-continuous matching hit state according to an embodiment of the present disclosure; and

[0053] Fig. 20 A block diagram schematically shows a device for fingerprint authentication according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0055] The present disclosure provides a new and feasible solution to the deficiencies of the prior art. In particular, the fingerprint authentication method disclosed in the present disclosure can perform authentication based on at least the comparison result of the fingerprint image collected in the first mode, and can also selectively perform fingerprint image collection and comparison in the second mode, so as to increase the action requirements for the target finger as needed, thereby providing a fingerprint authentication method with an optional degree of security.

[0056] Through the following description, those skilled in the art can understand that the present disclosure also provides in multiple embodiments a variety of authentication operations performed according to the level of the authentication request, such as presenting prompt information for indicating the target finger operation, etc., to meet the needs of different application scenarios. In other embodiments, by extracting static features and / or dynamic features from the fingerprint image sequence collected in the second mode, it is possible to effectively identify whether the target finger is a fake finger, thereby facilitating the improvement of the accuracy and security of fingerprint authentication in the second mode. The specific implementation methods of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0057] Figure 1 The flowchart of the method for fingerprint authentication according to the embodiment of the present disclosure is schematically shown. Figure 1 As shown in , a method 100 for fingerprint authentication is provided, which may include: in step 102, in response to receiving an authentication request, performing fingerprint image acquisition and comparison in a first mode, and selectively performing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area may be acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of a target finger in the fingerprint acquisition area may be acquired.

[0058] The fingerprint image described above may be an image containing a fingerprint object, for example, an image containing the fingerprint of a target finger. The target finger may be a real finger to which the registered fingerprint information belongs, or may be a fake finger imitated to deceive the authentication system. In some application scenarios, the fingerprint collection area may be carried on a touch screen, so that in step 102, a fingerprint image generated by a pressing operation of the target finger on the touch screen may be collected, and a fingerprint image sequence generated by a sliding operation of the target finger on the touch screen may be selectively collected. In some embodiments, the fingerprint images collected in the first mode may include one or more images, and the comparison of the fingerprint images in the first mode may include a comparison of the one or more collected fingerprint images.

[0059] The selective execution mentioned above means that it can be executed or not executed as needed. In some embodiments, the fingerprint image acquisition and comparison of the first mode can be performed, and the fingerprint image acquisition and comparison of the second mode can be performed. In other embodiments, only the fingerprint image acquisition and comparison of the first mode can be performed. The fingerprint image sequence mentioned above may include multiple images. In some other embodiments, the fingerprint image sequence can be obtained by performing a continuous image acquisition operation during the above-mentioned sliding operation.

[0060] Next, in step 104, authentication may be performed based at least on the comparison result of the first mode. In some embodiments, authentication may be performed based only on the comparison result of the first mode. In other embodiments, authentication may be performed based on the comparison result of the first mode and the comparison result of the second mode. For example, in one embodiment of the present disclosure, method 100 may further include: in response to the level of the authentication request being a normal level, authentication is performed based on the comparison result of the first mode. In another embodiment of the present disclosure, method 100 may further include: in response to the level of the authentication request being a strict level, authentication is performed based on the comparison result of the first mode and the second mode.

[0061] In another embodiment of the present disclosure, the method 100 may further include: in the first mode, comparing the fingerprint image with the registered fingerprint information to perform fingerprint identification; and / or in the second mode, performing real and fake finger identification based on the fingerprint image sequence. In some application scenarios, the registered fingerprint information may include fingerprint information of users with login authority, and may be pre-entered and stored in, for example, a fingerprint authentication system or database to facilitate authentication operations. The inventors have found that due to the softness and non-planarity of real fingers, the force used in the sliding process may be different, and it is impossible to ensure that the contact surface with the fingerprint collection area is always the same. Therefore, there will be differences or change trends between multiple fingerprint images in the fingerprint image sequence generated by real fingers, and it is difficult for fake fingers to be made with the same texture and curvature as real fingers. Therefore, it is difficult to obtain the same difference or change trend as real fingers in the fingerprint image sequence generated by fake fingers. Based on such a discovery, the method of the embodiment of the present disclosure can identify real and fake fingers based on the fingerprint image sequence in the second mode.

[0062] Combination of the above Figure 1 An exemplary description of the method for fingerprint authentication according to the embodiment of the present disclosure is provided. It will be appreciated by those skilled in the art that the above description is exemplary rather than restrictive. For example, in some embodiments, multiple fingerprint images captured in the first mode can be compared with the registered fingerprint information, and whether the authentication is passed can be determined based on the proportion of images that pass the comparison in the comparison results. In other embodiments, multiple fingerprint images captured in the first mode can be compared with the registered fingerprint information in sequence; in response to the current fingerprint image passing the comparison, the comparison of subsequent fingerprint images can be stopped. For ease of understanding, the following will be combined with Figure 2 An exemplary description is given.

[0063] Figure 2 The flowchart of the method for authenticating based on the comparison result of the first mode according to the embodiment of the present disclosure is schematically shown. Figure 2As shown in , method 200 may include: in step 201, in response to receiving an authentication request, a fingerprint authentication process may be started; then, in step 202, a fingerprint image acquisition (or image capture) operation of a first mode may be performed, and one or more fingerprint images may be captured as needed, for example, a fingerprint image (pointed by a dotted arrow) as shown in FIG. 203 may be captured. In some embodiments, a single image capture time may be controlled to obtain an instantaneous and clear fingerprint image. For example, in other embodiments, a single image capture time may be 8 milliseconds (ms) to 20 ms.

[0064] Then, the process can proceed to step 204, and feature extraction can be performed on the fingerprint image collected in step 202, for example, by extracting fingerprint feature points in the fingerprint image (such as those shown in FIG. 205 pointed by the dotted arrow) to achieve the purpose of feature extraction. Feature extraction can include, for example, extracting fingerprint ridge features and fingerprint valley features (i.e., areas between adjacent ridges) in the fingerprint image.

[0065] like Figure 2 As shown in , after executing step 204, step 206 can be continued to be executed, and the fingerprint image can be compared with the registered fingerprint information to perform fingerprint identification. Comparing the fingerprint image with the registered fingerprint information can compare the fingerprint features extracted from the fingerprint image with the fingerprint information at the corresponding position in the registered fingerprint information. For example, as shown in Figure 207 (pointed by the dotted arrow), Figure 205 is the feature extraction diagram obtained in step 204, and Figure 2071 can be the registered fingerprint information diagram. In step 206, the feature extraction diagram 205 of the fingerprint image can be compared with the registered fingerprint information diagram 2071 for corresponding feature points, and by counting the number of feature points in the comparison or the proportion of feature points in the comparison is greater than a preset threshold, it is determined whether the fingerprint image and the registered fingerprint information are successfully compared. In some embodiments, the time for single image acquisition and single comparison can be controlled between 55ms and 125ms, which is conducive to improving the comparison efficiency of a single fingerprint image.

[0066] Next, in response to the comparison being passed in step 206, the unlocking or authentication operation in step 208 may be performed. In some application scenarios, the unlocking or authentication operation may include an unlocking operation on a touch screen or an operation of passing user identity authentication.

[0067] like Figure 2As further shown in, in response to the comparison failure in step 206, step 209 can be executed, and it can be determined whether the current number of comparisons exceeds the number of single comparisons. The number of single comparisons can be the number of fingerprint images allowed to be compared in a single task (i.e., a single authentication request), and the number of single comparisons can be set as needed. Increasing the number of single comparisons is conducive to improving the probability of a hit, but too many single comparisons may affect the overall comparison speed and authentication efficiency in the first mode. In some embodiments, the number of single comparisons can be set to 1 to 5 times, which can improve the probability of a hit to reduce the misjudgment rate while ensuring the overall comparison speed and authentication efficiency in the first mode.

[0068] In some application scenarios, the number of single comparisons is set to 5. When the first fingerprint image collected in step 202 fails to be compared in step 206, it can be determined in step 209 whether the number of single comparisons is exceeded. Since the number of fingerprint images compared in step 206 has not reached 5, it can be determined in step 209 that the number of single comparisons has not been exceeded, and the image acquisition operation of step 202 can be continued; when it is determined in step 209 that the number of fingerprint images compared in a single task has reached 5, step 210 can be executed, that is, the unlocking failure or authentication failure operation.

[0069] Combination of the above Figure 2 An exemplary description has been given of the authentication method based on the first mode according to the embodiment of the present disclosure. It will be appreciated by those skilled in the art that the above description and the figures are exemplary and non-restrictive. For example, the number of single comparisons may not be limited to 5 images, and may be set to more as needed. For example, when the comparison time required for a single fingerprint image is less, the number of single comparisons may be increased without affecting the authentication efficiency. For example, in some other embodiments, before executing the fingerprint image acquisition and comparison of the first mode, method 200 may further include presenting prompt information for indicating that the target finger is at least performing a pressing operation. The prompt information for at least performing a pressing operation may include prompt information for performing only a pressing operation, or may include prompt information for performing a pressing operation and other operations. For example, in some other embodiments, the prompt information for at least performing a pressing operation may include prompt information for performing a pressing operation and a sliding operation. The following will be combined with Figure 3-Figure 5 An exemplary description is given.

[0070] Figure 3 The flowchart of the method for fingerprint authentication with hierarchical response according to the embodiment of the present disclosure is schematically shown. Through the following description, those skilled in the art can understand that: Figure 3 The method 300 shown is a combination of the above Figure 1 The method 100 is a specific embodiment of the method 100 shown in the preceding text. Figure 1 The description also applies to the following Figure 3 in the description.

[0071] like Figure 3 As shown in , method 300 may include: in step 301, in response to receiving an authentication request, presenting prompt information for indicating that the target finger performs a pressing operation. The prompt information for performing a pressing operation may be presented in a visual or audible form, for example, may include one or more forms of animation, picture, text, voice, video, indicator light, vibration, etc.

[0072] Next, in step 302, the fingerprint image acquisition and comparison of the first mode may be performed. The fingerprint image acquisition and comparison of the first mode has been described in the previous text. Figure 1 and Figure 2 In some embodiments, in response to the comparison result of the first mode failing, the process may return to step 301 to wait for receiving the next authentication request. In other embodiments, in response to the comparison result of the first mode failing, the subsequent steps may be stopped, and a prompt message indicating authentication failure or unlocking failure may be issued.

[0073] In some other embodiments, the process may proceed to step 303, and in response to the comparison result of the first mode being passed, the level of the authentication request may be determined. In some embodiments, the level of the authentication request may be obtained from the received authentication request. In other embodiments, in response to the authentication request not containing information related to the level, the level may be determined according to a preset default level. Then, according to the determined level, step 304 or step 305 may be selected for execution. Figure 3 As shown in FIG. 3 , in step 304, the level of the authentication request may be a normal level, and step 307 may be directly executed to perform an unlocking or passing authentication operation. In some application scenarios, the normal level may be applicable to authentication requirements such as screen unlocking. Step 307 is combined with the above Figure 2 The described step 208 is the same or similar and will not be described again here.

[0074] like Figure 3 As further shown in FIG. 3 , in step 305, in response to the level being a strict level, prompt information for instructing the target finger to perform a sliding operation may be presented. The prompt information for performing the sliding operation may be presented in a visual or audible form, for example, may include one or more forms of animation, picture, text, voice, video, indicator light, vibration, etc. In some application scenarios, the strict level may be applicable to scenarios with higher security requirements, such as financial operations and mobile payments.

[0075] Then, the process can proceed to step 306, and the second mode of fingerprint image acquisition and comparison can be performed. In the second mode, a fingerprint image sequence generated by the sliding operation of the target finger in the fingerprint acquisition area can be collected, and the real and fake fingers can be identified based on the fingerprint image sequence. According to such a setting, it is necessary to perform both the first mode of fingerprint recognition and the second mode of real and fake hand recognition, which is conducive to improving the accuracy of fingerprint authentication and can effectively improve the security and reliability of fingerprint authentication under the strict level.

[0076] In some embodiments, in response to the failure of the comparison of the fingerprint image of the second mode executed in step 306, the process may return to step 301 to wait for the next authentication request. In other embodiments, in response to the failure of the comparison result of the second mode executed in step 306, a prompt message for prompting authentication failure or unlocking failure may be issued. In still other embodiments, in response to the passing of the comparison of the fingerprint image of the second mode executed in step 306, the unlocking or passing of the authentication operation in step 307 may be performed.

[0077] Combination of the above Figure 3 The method for fingerprint authentication with hierarchical response according to the embodiment of the present disclosure is described exemplarily. It can be understood that: Figure 3 The illustrated implementation can determine that authentication fails when the comparison in the first mode fails, and there is no need to perform subsequent steps such as determining the level, which is conducive to quickly eliminating fingerprint images that obviously do not match the registered fingerprint information in the initial stage of fingerprint authentication, thereby helping to improve authentication speed and efficiency in some application scenarios. Those skilled in the art can also understand that the above combined Figure 3 The description is exemplary and not restrictive. For example, determining the authentication request level in step 303 may not be limited to being performed after step 302. In other embodiments, the step of determining the authentication request level may also be performed before step 302. Figure 4 and Figure 5 Describe in detail.

[0078] Figure 4 The flowchart of the method for fingerprint authentication with hierarchical response according to another embodiment of the present disclosure is schematically shown. Figure 4 As shown in , method 400 may include: in step 401, upon receiving an authentication request, determining the level of the authentication request. The implementation method of determining the level of the authentication request may be combined with the above Figure 3 The steps described in step 303 are the same or similar and will not be described again. Next, step 402 or step 404 may be selectively performed according to the determined level.

[0079] like Figure 4As shown in , in step 402, in response to the level being a normal level, a prompt message for instructing the target finger to perform a pressing operation may be presented. Next, in response to the target finger pressing the fingerprint collection area, step 403 may be executed, i.e., the fingerprint image collection and comparison of the first mode may be performed. In some embodiments, in response to the failure of the comparison of the fingerprint image of the first mode performed in step 403, the operation of returning to step 401 may be performed to wait for the next authentication request to be received. In other embodiments, in response to the failure of the comparison result of the first mode performed in step 403, a prompt message for prompting authentication failure or unlocking failure may be issued. In yet other embodiments, in response to the passing of the comparison of the fingerprint image of the first mode performed in step 403, step 408 may be executed to perform the unlocking or authentication operation.

[0080] like Figure 4 As further shown in, in step 404, in response to the level being a strict level, a prompt message for instructing the target finger to perform a pressing operation may be presented. Next, in response to the target finger pressing the fingerprint collection area, step 405 may be executed, that is, fingerprint image collection and comparison of the first mode may be performed. In some embodiments, in response to the failure of the comparison of the fingerprint image of the first mode performed in step 405, an operation of returning to step 401 may be performed to wait for receiving the next authentication request. In other embodiments, in response to the failure of the comparison result of the first mode performed in step 405, a prompt message for indicating authentication failure or unlocking failure may be issued.

[0081] In some other embodiments, in step 406, in response to the comparison result of the first mode being passed, a prompt message for instructing the target finger to perform a sliding operation may be presented. Then, in response to the sliding operation of the target finger in the fingerprint collection area, step 407 may be performed, i.e., fingerprint image collection and comparison of the second mode may be performed. In some embodiments, a fingerprint image sequence generated by the sliding operation of the target finger may be collected, and true and false finger identification may be performed based on the collected fingerprint image sequence.

[0082] Next, in response to the fingerprint image comparison result of the second mode in step 407 being passed, step 408 may be executed to perform an unlocking or authentication operation. In other embodiments, in response to the fingerprint image comparison result of the second mode in step 407 being failed, the operation of returning to step 401 may be executed to wait for receiving the next authentication request. In still other embodiments, in response to the fingerprint image comparison result of the second mode in step 407 being failed, a prompt message for prompting authentication failure or unlocking failure may be issued.

[0083] Combination of the above Figure 4The method for fingerprint authentication according to another embodiment of the present disclosure is described exemplarily. It can be understood that the above description and Figure 4 The above is exemplary and non-restrictive, and those skilled in the art may adjust it as needed. For example, in step 404, after the level of the authentication request is a strict level, it is not limited to presenting prompt information for instructing the target finger to perform a pressing operation. In other embodiments, prompt information for instructing the target finger to press first and then slide may be presented. Figure 5 An exemplary description is given.

[0084] Figure 5 The flowchart of the method for fingerprint authentication with hierarchical response according to another embodiment of the present disclosure is schematically shown. Figure 5 As shown in , method 500 may include, in step 501, determining the level of the authentication request when receiving the authentication request. Then, step 502 or step 504 may be selectively performed according to the determined level. In step 502, in response to the level being a normal level, prompt information for indicating that the target finger performs a pressing operation may be presented. Then, the process may proceed to step 503, and fingerprint image acquisition and comparison of the first mode may be performed. In some embodiments, in response to the comparison result of the first mode in step 503 being passed, the unlocking or authentication operation in step 507 may be performed. Figure 5 Steps 501, 502, 503 and 507 shown in FIG. 5 are respectively combined with the above Figure 4 Step 401, step 402, step 403 and step 407 are the same or similar and will not be described in detail. The operations performed in response to the level being the strict level will be described in detail below.

[0085] like Figure 5 As further shown in, in step 504, in response to the level being a strict level, a prompt message for instructing the target finger to perform a press-first-then-slide operation may be presented. The prompt message for the press-first-then-slide operation may be presented in a visual or audible form, for example, it may include one or more forms of animation, picture, text, voice, video, indicator light, etc. Next, in response to the press-first-then-slide operation of the target finger in the fingerprint collection area, step 505 may be executed, that is, the fingerprint image collection and comparison of the first mode may be performed. In some embodiments, in response to the comparison result of the fingerprint image of the first mode in step 505 being a failure, the operation of returning to step 501 may be performed to wait for the next authentication request to be received. In other embodiments, in response to the comparison result of the first mode in step 505 being a failure, a prompt message for prompting authentication failure or unlocking failure may be issued.

[0086] Furthermore, if Figure 5 As shown in , in step 506, in response to the result of the comparison of the first mode performed in step 505 being passed, the fingerprint image acquisition and comparison of the second mode can be performed. In response to the result of the comparison of the fingerprint image of the second mode in step 506 being passed, the operation of unlocking or passing the authentication in step 507 can be performed. In some embodiments, in response to the result of the comparison of the fingerprint image of the second mode in step 506 being failed, the operation of returning to step 501 can be performed to wait for receiving the next authentication request. In other embodiments, in response to the result of the comparison of the second mode in step 506 being failed, a prompt message for prompting authentication failure or unlocking failure can be issued.

[0087] Combination of the above Figure 5 A method for fingerprint authentication with graded response according to another embodiment of the present disclosure is described in detail. It should be understood that according to step 504 in this embodiment, after responding to the level being a strict level, a prompt message for instructing the target finger to perform a first press and then slide operation is presented, which can enable the target finger to complete all actions at one time and then lift up, which is conducive to reducing the number of user operations under the strict level, thereby facilitating improving the user experience. Those skilled in the art can also understand that the above description is exemplary and not restrictive. For example, the fingerprint image acquisition of the second mode in step 506 may not be limited to being performed after step 505 as shown in the figure. In other embodiments, the acquisition of the fingerprint image sequence of the second mode may be performed before the comparison of the fingerprint image of the first mode is performed, that is, the fingerprint image acquisition of the first mode and the fingerprint image sequence of the second mode can be realized during the pressing and sliding process of the target finger without waiting for the comparison result of the first mode. For example, in some other embodiments, in response to the level being a strict level, a prompt message for instructing the target finger to perform a first slide and then press operation may be presented.

[0088] Combination of the above Figure 3-Figure 5 The fingerprint authentication method according to the multiple embodiments of the present disclosure is described in detail, and those skilled in the art can select different implementation methods according to application requirements. Figure 6 A detailed implementation of executing the second mode of fingerprint image acquisition and comparison is described.

[0089] Figure 6 The flowchart of the method for performing fingerprint image acquisition and comparison in the second mode according to the embodiment of the present disclosure is schematically shown. Figure 6As shown in , method 600 may include: in step 601, in response to the sliding operation of the target finger in the fingerprint collection area, a fingerprint image sequence generated by the target finger during the sliding process may be obtained. In some application scenarios, in response to the target finger performing an operation of first pressing and then sliding in the fingerprint collection area, the fingerprint image generated by the target finger during the pressing process may be obtained for comparison in the first mode, and the fingerprint image sequence generated by the target finger during the sliding process may be obtained for comparison in the second mode.

[0090] In some embodiments, the number of fingerprint images in the obtained fingerprint image sequence can be controlled by controlling the acquisition time of the fingerprint image sequence. The longer the image acquisition time is, the more fingerprint images will be obtained, which is beneficial to improve the comparison accuracy in the second mode. However, the more fingerprint images are obtained, the larger the amount of data that needs to be processed will be, which may affect the comparison speed and efficiency in the second mode. In other embodiments, during the sliding process of the target finger, the image acquisition time (or image acquisition time) can be controlled to be 0.5 seconds (s) to 1.5s, and 4 to 28 fingerprint images can be continuously acquired, for example. Such an image acquisition time and number of images can meet the comparison accuracy requirements of the second mode, and can also ensure the comparison rate and efficiency.

[0091] Next, in step 602, the static features of each fingerprint image in the fingerprint image sequence and / or the dynamic features of the fingerprint image sequence can be extracted. In order to facilitate understanding of the extraction process of static features and / or dynamic features, the following will refer to Figure 7 An exemplary description is given.

[0092] Figure 7 The schematic diagram schematically shows the process of extracting static features and dynamic features according to an embodiment of the present disclosure. Figure 7 As shown in , static features can be directly extracted from each image, and dynamic features can be extracted from two adjacent images to obtain dynamic change features between the two adjacent images. In some embodiments, dynamic features can be obtained from static features extracted from two adjacent images. In addition, it should be noted that Figure 7 The Figure 1 ~ Take n images to form a fingerprint image sequence, where Figure 1 It can represent the first fingerprint image collected during the sliding process of the target finger. Figure 2 It can represent the second fingerprint image collected during the sliding process of the target finger. Similarly, image n can represent the nth fingerprint image collected during the sliding process of the target finger, where n represents a positive integer.

[0093] By combining the above Figure 7It can be understood that static features can be directly obtained from each fingerprint image in the fingerprint image sequence, and dynamic features can be obtained from multiple fingerprint images in the fingerprint image sequence. Figure 7 The extraction process shown in is exemplary and non-restrictive. For example, the extraction of dynamic features may not be limited to extraction between two adjacent fingerprint images, but may be extracted from a larger number of fingerprint images to obtain a dynamic change trend between multiple fingerprint images. For example, in some application scenarios, it is not limited to extracting both static features and dynamic features, and only static features or dynamic features of a fingerprint image sequence may be extracted as needed.

[0094] In combination Figure 7 Having described the process of extracting static and / or dynamic features, we will now return to Figure 6 Continue to describe. Figure 6 As shown in , in step 602, static features and / or dynamic features in the fingerprint image sequence can be extracted. In one embodiment of the present disclosure, extracting static features may include at least one of the following: generating a global grayscale distribution of the fingerprint image; generating a local grayscale distribution of the fingerprint image; and extracting the burr features of the ridges in the fingerprint image. The grayscale distribution may be the distribution of grayscale values ​​of the grayscale image, and the grayscale value may generally include a numerical range of 0 to 255, where a grayscale value of 255 represents white and a grayscale value of 0 represents black. Generating a global grayscale distribution of the fingerprint image may include generating an overall (or all) grayscale distribution of each fingerprint image. The local grayscale distribution may include the grayscale distribution of a partial area in each fingerprint image. The burr features of the ridges may include a situation where the ridge boundaries are blurred. The ridges of the fingerprint may be line patterns formed by raised skin on the finger pulp.

[0095] In another embodiment of the present disclosure, extracting dynamic features may include at least one of the following: counting the number of fingerprint images including part of the non-fingerprint area in the fingerprint image sequence; counting the number of fingerprint images without fingerprint information in the fingerprint image sequence; counting the signal strength difference between the previous and next fingerprint images in the fingerprint image sequence; and determining the continuous matching hit state of the fingerprint image sequence. The fingerprint image including part of the non-fingerprint area may refer to the fingerprint image including part of the fingerprint area and part of the non-fingerprint area. In some embodiments, the fingerprint image without fingerprint information may include an image without any information related to the fingerprint, such as a blank image.

[0096] In another embodiment of the present disclosure, counting the signal strength difference of the front and back fingerprint images in the fingerprint image sequence may include: calculating the standard deviation or the mean of the standard deviation of the signal strength distribution of the fingerprint images in the front and back different time periods in the fingerprint image sequence; and comparing the difference between the standard deviation or the mean of the standard deviation to obtain the signal strength difference. The fingerprint images in the front and back different time periods may include one or more fingerprint images. The number of fingerprint images in the front and back different time periods may be the same or different. For example, in some embodiments, the front time period of the front and back different time periods may include one fingerprint image, and the back time period may include multiple fingerprint images. In other embodiments, the front time period of the front and back different time periods may include multiple fingerprint images, and the back time period may include one fingerprint image. In still other embodiments, the front time period of the fingerprint image sequence may include one fingerprint image, and the back time period may include one fingerprint image. In still other embodiments, the front time period of the fingerprint image sequence may include multiple fingerprint images, and the back time period may include multiple fingerprint images.

[0097] According to one embodiment of the present disclosure, the signal intensity distribution of the fingerprint image can be obtained from, for example, the grayscale distribution of the fingerprint image. According to another embodiment of the present disclosure, the signal intensity difference of the fingerprint image can be obtained from the difference in the fingerprint spectrum. Usually, the saturation of the fingerprint of a real finger will be relatively clear, and the high-frequency effect in its fingerprint spectrum will be stronger; while the fingerprint of a fake finger will be slightly turbid, and the high-frequency effect in its fingerprint spectrum will be lower. In some embodiments, the effect of spectrum analysis can be achieved by disassembling some spectrum tools (such as Fourier transform, wavelet transform, etc.). In another embodiment of the present disclosure, the signal intensity difference of the fingerprint image can be obtained from the intensity difference of the fingerprint edge. The intensity of the fingerprint edge can be obtained by performing high-pass filtering (Highpass filer) such as the sobel operator, the schar operator, etc. Since the fingerprint edge of a real finger is sharper than the fingerprint edge of a fake finger, it is reliable to judge the authenticity of the fingerprint by the intensity of the fingerprint edge.

[0098] In another embodiment of the present disclosure, determining the continuous matching hit state of the fingerprint image sequence may include: matching each fingerprint image in the fingerprint image sequence with the registered fingerprint information to generate a matching result; in response to the matching result being consistent with the first pattern, determining that the fingerprint image sequence is in a continuous matching hit state; and in response to the matching result being consistent with the second pattern, determining that the fingerprint image sequence is in a non-continuous matching hit state. In some embodiments, the first pattern may include the following situation: after any fingerprint image in the fingerprint image sequence is matched and hit, subsequent fingerprint images continue to match and hit until a fingerprint image that does not match and hit appears or the target finger is detected to leave the fingerprint collection area, and the subsequent fingerprint images of the fingerprint image that does not match and hit do not match and hit. In other embodiments, the second pattern may include, for example, a situation in which there is a match and hit first, then a match and hit, and then a match and hit again in the fingerprint image sequence. For ease of understanding, the first pattern and the second pattern will be illustrated below.

[0099] In some other embodiments, a hit of a fingerprint image matching the registered fingerprint information may be set to 1, and a fail of a fingerprint image matching the registered fingerprint information may be set to 0, and the first pattern may include, for example, at least one of 0011111111100, 011111111111, 111111111111000, 11111111111, etc.; the second pattern may include, for example, at least one of 0011100111000, 1111110011111, 100111111000, 00011111011111, etc. It should be noted that the numbers of 1 and 0 in this embodiment are exemplary and may be changed according to actual application conditions, and the sum of the numbers of 1 and 0 may correspond to the number of fingerprint images included in the fingerprint image sequence.

[0100] like Figure 6 As further shown in , the process can proceed to step 603, and it can be determined whether the target finger is a fake finger based on static features and / or dynamic features. In some embodiments, it can be determined whether the target finger is a fake finger based only on static features. In other embodiments, it can be determined whether the target finger is a fake finger based only on dynamic features. In some other embodiments, it can be determined whether the target finger is a fake finger based on static features and dynamic features. In some other embodiments, in response to determining that the target finger is a fake finger, it can be determined that the comparison in the second mode has failed.

[0101] In another embodiment of the present disclosure, determining whether a target finger is a fake finger based on static features and / or dynamic features may include: judging whether the target finger is a fake finger based on static features and / or dynamic features using a pre-trained machine model or according to a predetermined logic. In some embodiments, the machine model may include a model based on a deep neural network, and the purpose of judging a fake finger may be achieved by pre-training the machine model for judging static features and dynamic features and utilizing the self-learning ability of the machine model.

[0102] In another embodiment of the present disclosure, the predetermined logic may include determining a finger as a fake finger when at least one of the following is met: the proportion of fingerprint images in the fingerprint image sequence that are confirmed to belong to fake fingers based on static features exceeds a first threshold; the number of fingerprint images in the fingerprint image sequence that include partial non-fingerprint areas is less than a second threshold; the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold; the difference in signal strength between previous and next fingerprint images in the fingerprint image sequence is less than a fourth threshold; and the fingerprint image sequence is in a non-continuous match hit state.

[0103] In some embodiments, determining that a finger is a fake finger when at least one of the conditions is met may include: determining that a finger is a fake finger when all of the above five conditions are met. According to such a setting, the conditions that need to be met to determine that a finger is a fake finger are more stringent, so that the operation of determining that a finger is a fake finger is more cautious, which is conducive to greatly reducing the misjudgment rate of confirming a fake finger.

[0104] In some other embodiments, the predetermined logic may further include selecting one or more of the above five conditions to perform the judgment. In some other embodiments, the predetermined logic may include selecting at least two of the above five conditions to perform the judgment of the fake finger.

[0105] In some embodiments, the predetermined logic may include executing the judgment of the above five conditions in a preset judgment order. For example, in other embodiments, when the above five conditions are judged in sequence in a preset judgment order, in response to satisfying the current condition, the judgment operation of other conditions ranked after the current condition may be stopped, and the target finger may be directly determined to be a fake finger.

[0106] In one embodiment of the present disclosure, confirming a fake finger based on static features may include: detecting whether each fingerprint image has fake finger features according to the static features of each fingerprint image; and in response to detecting the fake finger features, confirming that the fingerprint image belongs to a fake finger. That is, in response to detecting the fake finger features, it may be confirmed that the fingerprint image in which the fake finger features are detected belongs to a fake finger. In another embodiment of the present disclosure, the fake finger features may include at least one of the following: the distribution range of the global grayscale distribution of the fingerprint image is less than the fifth threshold; the distribution range of the local grayscale distribution of the fingerprint image is less than the sixth threshold; and the ridges in the fingerprint image have burr features. The burr features may be reflected in the phenomenon that the black and white boundaries of the fingerprint lines shown in the fingerprint image are not clear, and the boundaries between the fingerprint ridges and valleys are blurred. The burr features may be judged by, for example, image analysis, grayscale distribution analysis, and the like.

[0107] By confirming whether each fingerprint image in the fingerprint image sequence belongs to a fake finger, the number of fingerprint images confirmed as belonging to fake fingers in the fingerprint image sequence can be counted, and the proportion of the number of fingerprint images confirmed as belonging to fake fingers based on static features in the fingerprint image sequence can be obtained by calculating the proportion of the number of fingerprint images to the total number of fingerprint images in the fingerprint image sequence. In some embodiments, the first threshold value can be 70%.

[0108] Combination of the above Figure 6 and Figure 7 The method of fingerprint image acquisition and comparison according to the second mode of the embodiment of the present disclosure is described in detail. Those skilled in the art will appreciate that the above description is exemplary and not restrictive. For example, the fingerprint image acquisition and comparison of the second mode may not be limited to the steps in the figure, and may be adjusted as needed. In other embodiments, method 600 may also include: detecting whether the target finger leaves the fingerprint acquisition area; in response to detecting that the target finger leaves the fingerprint acquisition area, the fingerprint image may be stopped from being acquired, and a fake finger judgment may be performed based on at least one of the static features and dynamic features of the fingerprint image sequence; in response to detecting that the target finger does not leave the fingerprint acquisition area, the fingerprint image may continue to be acquired, and static features and / or dynamic features may continue to be extracted. Furthermore, in order to more easily understand the difference between the static features and / or dynamic features of real fingers and fake fingers, and to further verify the accuracy and reliability of the fingerprint image comparison method under the second mode of the embodiment of the present disclosure, the following will be combined with Figure 8-Figure 19 Exemplary showing and description.

[0109] Figure 8 The following is a schematic diagram schematically showing the global grayscale distribution of a real finger fingerprint image according to an embodiment of the present disclosure. Figure 8As shown in , the fingerprint pattern presented in the real finger fingerprint image 801 is deep, and the boundary between the ridge line and the valley line is clear. As shown in the figure, the grayscale distribution diagram 802 is a schematic diagram of the global grayscale distribution of the fingerprint image 801. It can be seen from the global grayscale distribution diagram 802 that the global grayscale of the real finger fingerprint image 801 has a minimum value of 71 and a maximum value of 255, and a wide distribution range.

[0110] Fig. 9 A schematic diagram schematically shows the global grayscale distribution of a fake finger fingerprint image according to an embodiment of the present disclosure. Figure 8 Compared with the fingerprint image 801 of the real finger shown in Fig. 9 The fingerprint pattern presented in the fingerprint image 901 of the fake finger shown in FIG. 9 is obviously shallow, and the boundary between the ridge line and the valley line is obviously blurred. Fig. 9 As further shown in FIG. 9 , the grayscale distribution diagram 902 is a schematic diagram of the global grayscale distribution of the fingerprint image 901. From the global grayscale distribution diagram 902, it can be seen that the global grayscale minimum value of the fingerprint image 901 of the fake finger is 163 and the maximum value is 255. Figure 8 Compared with the global grayscale distribution diagram 802 shown in FIG. Fig. 9 The global grayscale distribution range shown in is obviously narrow. Therefore, in some embodiments, it is possible to determine whether the target finger is a fake finger by determining the global grayscale distribution range of the fingerprint image. For example, in other embodiments, when it is detected that the distribution range of the global grayscale distribution of the fingerprint image (i.e., the proportion of the area involved in the grayscale distribution to all grayscale values ​​0 to 255) is less than the fifth threshold, it can be confirmed that the target finger is a fake finger. In some other embodiments, the fifth threshold can be, for example, 50%.

[0111] Combination of the above Figure 8 and Fig. 9 The global grayscale distribution of fingerprint images from real fingers and fake fingers is compared and analyzed. Through the above description, those skilled in the art can understand that the global grayscale distribution range of fingerprint images from real fingers and fake fingers has significant differences, so it is accurate and reliable to use the global grayscale distribution range as a feature of fake fingers. In other embodiments, fake fingers can also be identified based on the local grayscale distribution of fingerprint images. Fig.10 and Fig.11 Give a description.

[0112] Fig.10 The following is a schematic diagram schematically showing the local grayscale distribution of a real finger fingerprint image according to an embodiment of the present disclosure. Fig.10As shown in , a local fingerprint area 1002 (shown as a circle in the figure) in the fingerprint image 1001 from a real finger can be selected for grayscale distribution analysis, and a local grayscale distribution diagram 1003 can be obtained. It can be seen from the local grayscale distribution diagram 1003 that the local grayscale of the fingerprint image 1001 of the real finger has a minimum value of 11 and a maximum value of 244, and the distribution range is relatively wide.

[0113] Fig.11 The following is a schematic diagram schematically showing the local grayscale distribution of a fake finger fingerprint image according to an embodiment of the present disclosure. Fig.11 As shown in , a local fingerprint area 1102 (shown as a circle in the figure) in the fingerprint image 1101 from the fake finger can be selected for grayscale distribution analysis, and a local grayscale distribution diagram 1103 can be obtained. As can be seen from the fingerprint image 1101, the fingerprint lines presented in the local fingerprint area 1102 of the fingerprint image of the fake finger are blurred, and the boundaries between the ridges and valleys are blurred. This feature can also be called the ridge edge feature. It can be seen from the local grayscale distribution diagram 1103 that the minimum grayscale value of the local fingerprint area 1102 of the fake finger is 80 and the maximum grayscale value is 210. Fig.10 Compared with the local grayscale distribution diagram 1003 shown in FIG. Fig.11 The local grayscale distribution range shown in is obviously narrow. Therefore, in some embodiments, it is possible to determine whether the target finger is a fake finger by determining the local grayscale distribution range of the fingerprint image. For example, in other embodiments, when it is detected that the distribution range of the local grayscale distribution of the fingerprint image is less than the sixth threshold, it can be determined that the target finger is a fake finger. In some other embodiments, the sixth threshold can be, for example, 50%.

[0114] Combination of the above Fig.10 and Fig.11 The local grayscale distribution of fingerprint images from real fingers and fake fingers is compared and explained. Through the above description, those skilled in the art can understand that there are significant differences in the local grayscale distribution ranges of fingerprint images from real fingers and fake fingers, so it is accurate and reliable to use the local grayscale distribution range as a fake finger feature. In some embodiments, it is possible to confirm whether each fingerprint image has a fake finger feature based on the static features of each fingerprint image in the fingerprint image sequence, and determine whether the target finger is a fake finger based on the proportion of fingerprint images with fake finger features in the fingerprint image sequence. Those skilled in the art should also understand that the above description is exemplary and not restrictive. For example, the burr feature of the ridge line may not be limited to detection through grayscale distribution, but may also be achieved through other detection methods, such as using image recognition technology.

[0115] The above exemplary description is given of the implementation method of determining whether a target finger is a fake finger based on static features. The following will specifically describe the implementation method of determining whether a target finger is a fake finger based on dynamic features in conjunction with a plurality of schematic diagrams.

[0116] Fig.12 The following is a schematic diagram showing a fingerprint image including a portion of a non-fingerprint area in a fingerprint image sequence according to an embodiment of the present disclosure. Fig.12 As shown in , the fingerprint image sequence of this embodiment may include ten fingerprint images, of which four fingerprint images include partial non-fingerprint areas (e.g., non-fingerprint areas 1201, 1202, 1203, and 1204 shown by dotted circles in the figure), that is, the number of fingerprint images including partial non-fingerprint areas in the fingerprint image sequence is four. The inventors found that since the contact surface of a real finger is not a plane, it is easy for a part of the finger pulp to not contact the fingerprint collection area during the sliding process of the real finger in the fingerprint collection area, so that it is easy to collect a fingerprint image including a part of the non-fingerprint area. Since it is difficult for a fake finger to simulate the curvature of a real finger, it is difficult for a fake finger to contact the fingerprint collection area to generate a fingerprint image including a part of the non-fingerprint area. Based on the findings of this embodiment, in some embodiments, it can be determined whether the target finger is a fake finger by judging the number of fingerprint images including partial non-fingerprint areas in the fingerprint image sequence. For example, in other embodiments, when it is detected that the number of fingerprint images including partial non-fingerprint areas in the fingerprint image sequence is less than the second threshold, it can be determined that the target finger is a fake finger. In some other embodiments, the second threshold can be set to, for example, 3 or 4 or 6 or 8.

[0117] Fig.13 The following is a schematic diagram showing a fingerprint image without fingerprint information in a fingerprint image sequence according to an embodiment of the present disclosure. Fig.13 As shown in , there is a fingerprint image 1301 without fingerprint information in the fingerprint image sequence of this embodiment. The inventors have also found that since it is difficult to make a fake finger into a contact surface like a real finger, it is not easy to collect a fingerprint image containing part of the non-fingerprint area during the sliding process of the fake finger, but a fake finger in a plane or a plane-like state can easily collect a fingerprint image with full fingerprint information or a fingerprint image without fingerprint information during the dragging process. For example, in some application scenarios, when the real finger is lifted off the fingerprint collection area, a fingerprint image including part of the non-fingerprint area may be collected; and when the fake finger is lifted off the fingerprint collection area, a fingerprint image without fingerprint information may be collected. In some embodiments, when the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold, it can be confirmed that the target finger is a fake finger, and the third threshold can be 0.

[0118] Combination of the above Fig.12 and Fig.13The dynamic characteristics of the fingerprint image of the real finger containing part of the non-fingerprint area and the dynamic characteristics of the fingerprint image of the fake finger containing no fingerprint information are described exemplarily. Figure 14a-Figure 17b The difference in signal intensity between the previous and next fingerprint images in the fingerprint image sequences of the real finger and the fake finger is explained.

[0119] Fig.14a and Fig.14b Schematically showing multiple schematic diagrams of fingerprint images and their grayscale distribution in the earlier time period in the fingerprint image sequence of a real finger. Fig.14a As shown in , grayscale analysis of the fingerprint image 1401 can obtain a grayscale distribution diagram 1402, whose standard deviation is 39.967. Fig.14b As shown in , grayscale analysis of the fingerprint image 1403 can obtain a grayscale distribution diagram 1404, whose standard deviation is 39.942. The mean of the standard deviations of the grayscale distribution diagram 1402 and the grayscale distribution diagram 1404 is 39.9545.

[0120] Fig.15a and Fig.15b Schematic diagrams showing fingerprint images and their grayscale distribution in a later period of time in a fingerprint image sequence of a real finger. Fig.15a As shown in , grayscale analysis of the fingerprint image 1501 can obtain a grayscale distribution diagram 1502, whose standard deviation is 32.764. Fig.15b As shown in , grayscale analysis of the fingerprint image 1503 can obtain a grayscale distribution diagram 1504, whose standard deviation is 28.403. The mean of the standard deviations of the grayscale distribution diagram 1502 and the grayscale distribution diagram 1504 is 30.5835.

[0121] Taking the grayscale distribution as an example of signal strength distribution, by comparing the standard deviation of the signal strength distribution of the fingerprint images in different time periods before and after in the fingerprint image sequence of the real finger (for example, the standard deviation 39.967 of the grayscale distribution diagram 1402 is compared with the standard deviation 32.764 of the grayscale distribution diagram 1502) or the mean of the standard deviation (for example, the mean of the standard deviation 39.9545 in the earlier time period is compared with the mean of the standard deviation 30.5835 in the later time period), it can be seen that the signal strength of the fingerprint images in different time periods before and after in the fingerprint image sequence of the real finger is quite different.

[0122] Fig.16a and Fig.16b Schematically showing multiple schematic diagrams of fingerprint images and their grayscale distribution in the earlier time period in the fingerprint image sequence of a fake finger. Fig.16a As shown in , grayscale analysis of the fingerprint image 1601 can obtain a grayscale distribution diagram 1602, whose standard deviation is 18.600. Fig.16bAs shown in , grayscale analysis of the fingerprint image 1603 can obtain a grayscale distribution diagram 1604, whose standard deviation is 15.041. The mean of the standard deviations of the grayscale distribution diagram 1602 and the grayscale distribution diagram 1604 is 16.8205.

[0123] Fig.17a and Fig.17b Schematic diagrams of fingerprint images and their grayscale distribution in the later period of the fingerprint image sequence of a fake finger are shown. Fig.17a As shown in , grayscale analysis of the fingerprint image 1701 can obtain a grayscale distribution diagram 1702, whose standard deviation is 16.625. Fig.17b As shown in , grayscale analysis of the fingerprint image 1703 can obtain a grayscale distribution diagram 1704, whose standard deviation is 16.619. The mean of the standard deviations of the grayscale distribution diagram 1702 and the grayscale distribution diagram 1704 is 16.622.

[0124] Taking grayscale distribution as an example to reflect signal strength distribution, by comparing the standard deviation of the signal strength distribution of the fingerprint images in different time periods in the fingerprint image sequence of the fake finger (for example, the standard deviation 18.600 of the grayscale distribution diagram 1602 is compared with the standard deviation 16.625 of the grayscale distribution diagram 1702) or the mean of the standard deviation (for example Fig.16a and Fig.16b The standard deviation of the mean is 16.8205 and Fig.17a and Fig.17b Compared with the standard deviation mean of 16.622), it can be seen that the signal strength of the fingerprint images in different time periods before and after the fingerprint image sequence of the fake finger is relatively close.

[0125] By comparing the signal intensity distribution standard deviation or standard deviation mean of the fingerprint images in different time periods in the fingerprint image sequence of the real finger and the fake finger, it can be found that the signal intensity difference between the front and back fingerprint images in the fingerprint image sequence of the fake finger is small. This may be due to the soft texture of the real finger and the non-planar texture, which makes the real finger have different front and back forces when contacting the fingerprint collection area and sliding, thus generating different signal intensities; while the texture of the fake finger is usually harder, especially the fake finger in the planar state, the front and back force difference when contacting the fingerprint collection area and sliding is small, thus generating a closer signal intensity. Therefore, based on the logic that the signal intensity difference of the fingerprint image in different time periods in the fingerprint image sequence is less than the fourth threshold, it is accurate and reliable to determine that the target finger is a fake finger.

[0126] Fig.18 A schematic diagram schematically shows a sequence of fingerprint images in a continuous matching hit state according to an embodiment of the present disclosure. Fig.18As shown in , all fingerprint images in the fingerprint image sequence in this embodiment can be matched with the registered fingerprint information, that is, the fingerprint image sequence is in a continuous matching hit state.

[0127] Fig.19 A schematic diagram schematically illustrates a fingerprint image sequence in a non-continuous matching hit state according to an embodiment of the present disclosure. Fig.19 As shown in , in the fingerprint image sequence of this embodiment, there is a situation where the fingerprint image first matches with the registered fingerprint information, then fails to match, and finally matches again, that is, the fingerprint image sequence is in a non-continuous matching hit state.

[0128] Practice has proved that when a real finger contacts the fingerprint collection area (such as a fingerprint sensor) and performs pressing and sliding operations, the quality of the collected fingerprint image is relatively stable. Therefore, once a fingerprint image in a fingerprint image sequence is hit, it is easy to be in a continuous hit state before the target finger leaves the fingerprint collection area. However, when a fake finger contacts the fingerprint collection area, the quality of the collected fingerprint image is unstable, so a non-continuous matching hit state is easy to appear in the fingerprint image sequence. Therefore, based on the logic that the fingerprint image sequence is in a non-continuous matching hit state, it is accurate and reliable to determine that the target finger is a fake finger.

[0129] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Fig. 20 A device for fingerprint authentication according to an exemplary embodiment of the present disclosure is described.

[0130] Fig. 20 Schematically shows a block diagram of a device for fingerprint authentication according to an embodiment of the present disclosure. In a second aspect of the present disclosure, a device 2000 for fingerprint authentication is provided, such as Fig. 20 As shown in , the device 2000 may include a fingerprint acquisition device 2001 and a processor 2002, wherein: the processor 2002 is configured to: in response to receiving an authentication request, control the fingerprint acquisition device 2001 to perform fingerprint image acquisition in a first mode, and perform a comparison in the first mode based on the acquired fingerprint image, and selectively control the fingerprint acquisition device 2001 to perform fingerprint image acquisition in a second mode, and perform a comparison in the second mode based on a sequence of acquired fingerprint images; and perform authentication based at least on the comparison result of the first mode; and the fingerprint acquisition device 2001 is configured to: in the first mode, acquire a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area; or in the second mode, acquire a fingerprint image sequence generated by a sliding operation of a target finger in a fingerprint acquisition area.

[0131] The device of the embodiment of the present disclosure has been described and explained in detail above in combination with the method, and will not be repeated here. It should be noted that the human-machine interface described above can be presented in visual, auditory, etc., for example, it can include but is not limited to a display, a speaker, etc.

[0132] Through the description of the above implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, or by hardware. Figure 1-Figure 19 All or part of the steps of the described method embodiment may be completed by hardware associated with program instructions. The aforementioned program instructions may be stored in a non-volatile computer-readable medium. When the program instructions are executed, the steps of the aforementioned method embodiment are executed.

[0133] Computer readable media can be, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), a static random access memory (SRAM), a digital versatile disk (DVD), an optical storage device, a magnetic storage device, or any suitable combination thereof. Any such computer storage medium can be part of a device or accessible or connectable to a device. Any application or module described in the present disclosure can be implemented using computer readable / executable instructions stored or otherwise maintained by such a computer readable medium.

[0134] Through the above description of the technical solutions such as the method and device for fingerprint authentication and multiple embodiments of the present invention, those skilled in the art can understand that the method for fingerprint authentication of the present invention can provide an authentication method with a selectable security level, and when selecting to execute the second mode of fingerprint image acquisition and comparison, it can effectively improve the accuracy and security of fingerprint authentication. Therefore, the method according to the embodiment of the present invention can meet the needs of fast authentication in some application scenarios, and can also meet the needs of high security level authentication in other application scenarios.

[0135] In some embodiments, the method of the disclosed embodiment can perform fingerprint recognition in the first mode and perform identification of real and fake fingers in the second mode, so as to more comprehensively and accurately judge the fingerprint characteristics and fingerprint source of the target finger, which is conducive to reducing the misjudgment rate of the authentication result and improving the accuracy of the authentication result. In other embodiments, the method of the disclosed embodiment can also determine whether the target finger is a fake finger based on at least one of the static features and dynamic features in the fingerprint image sequence in the second mode, so as to achieve more precise and accurate identification of real and fake fingers.

[0136] Although the embodiments of the present disclosure are described above, the contents are only embodiments used to facilitate understanding of the present disclosure, and are not intended to limit the scope and application scenarios of the present disclosure. Any technician in the technical field described in the present disclosure may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present disclosure, but the scope of patent protection of the present disclosure shall still be based on the scope defined in the attached claims.

Claims

1. A method for fingerprint authentication, comprising: In response to receiving an authentication request, performing fingerprint image acquisition and comparison in a first mode, and selectively performing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area is acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of a target finger in the fingerprint acquisition area is acquired, and based on the static features of each fingerprint image in the fingerprint image sequence and / or the dynamic features of the fingerprint image sequence, true and false finger identification is performed according to a predetermined logic; as well as Performing authentication based at least on the comparison result of the first mode; The predetermined logic includes determining a fake finger when at least one of the following is met: the proportion of the number of fingerprint images in the fingerprint image sequence that are confirmed to belong to fake fingers based on the static features exceeds a first threshold; the number of fingerprint images in the fingerprint image sequence that include some non-fingerprint areas is less than a second threshold; the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold; the signal strength difference between the previous and next fingerprint images in the fingerprint image sequence is less than a fourth threshold; and the fingerprint image sequence is in a non-continuous match hit state; The signal strength difference includes at least one of a difference in signal strength distribution, a difference in fingerprint spectrum, and a difference in strength of a fingerprint edge.

2. The method according to claim 1, further comprising: In response to the level of the authentication request being a common level, authentication is performed based on the comparison result of the first mode.

3. The method according to claim 1, further comprising: In response to the level of the authentication request being a strict level, authentication is performed based on a comparison result between the first mode and the second mode.

4. The method according to claim 1, wherein: In the first mode, the fingerprint image is compared with the registered fingerprint information to perform fingerprint recognition.

5. The method according to claim 1, wherein before performing the fingerprint image acquisition and comparison of the first mode, the method further comprises: Prompt information for indicating that the target finger at least performs a pressing operation is presented.

6. The method according to claim 3, wherein after responding that the level of the authentication request is a strict level, the method further comprises: Presenting prompt information for instructing the target finger to perform a sliding operation; or Presents a prompt message for indicating that the target finger should press first and then slide.

7. The method according to claim 1, further comprising: In response to a comparison result of the first mode being passed, determining a level of the authentication request; as well as In response to the level being a strict level, prompt information for instructing the target finger to perform a sliding operation is presented.

8. The method according to claim 1, further comprising: Upon receiving an authentication request, determining a level of the authentication request; In response to the level being a strict level, presenting prompt information for instructing the target finger to perform a pressing operation; as well as In response to a passing comparison result of the first mode, prompt information for instructing the target finger to perform a sliding operation is presented.

9. The method according to claim 1, further comprising: Upon receiving an authentication request, determining a level of the authentication request; as well as In response to the level being a strict level, prompt information is presented for instructing the target finger to perform a press-first-then-slide operation.

10. The method according to claim 1, wherein performing fingerprint image acquisition and comparison in the second mode further comprises: In response to a sliding operation of a target finger in a fingerprint collection area, acquiring a fingerprint image sequence generated by the target finger during the sliding process; Extracting static features of each fingerprint image in the fingerprint image sequence and / or dynamic features of the fingerprint image sequence; as well as Based on the static feature and / or the dynamic feature, it is determined whether the target finger is a fake finger.

11. The method according to claim 10, wherein extracting the static features comprises at least one of the following: Generating a global grayscale distribution of the fingerprint image; generating a local grayscale distribution of the fingerprint image; and Extract the burr features of the ridges in the fingerprint image.

12. The method according to claim 10, wherein extracting the dynamic feature comprises at least one of the following: Counting the number of fingerprint images including some non-fingerprint areas in the fingerprint image sequence; Counting the number of fingerprint images without fingerprint information in the fingerprint image sequence; Counting the signal strength differences of the previous and next fingerprint images in the fingerprint image sequence; as well as Determining a continuous matching hit state of the fingerprint image sequence; Determining the continuous matching hit state of the fingerprint image sequence includes: Matching each fingerprint image in the fingerprint image sequence with the registered fingerprint information to generate a matching result; In response to the matching result being consistent with the first pattern, determining that the fingerprint image sequence is in a continuous matching hit state; and In response to the matching result being consistent with the second pattern, the fingerprint image sequence is determined to be in a non-continuous matching hit state.

13. The method according to claim 12, wherein counting the signal strength difference between the previous and next fingerprint images in the fingerprint image sequence comprises: Calculate the standard deviation or the mean of the standard deviation of the signal intensity distribution of the fingerprint images in different time periods before and after the fingerprint image sequence; as well as The standard deviations or the differences between the mean values ​​of the standard deviations are compared to obtain the signal intensity differences.

14. The method according to claim 1, wherein determining that the finger is a fake finger based on the static feature comprises: According to the static features of each fingerprint image, detecting whether each fingerprint image has a fake finger feature; as well as In response to detecting the fake finger feature, confirming that the fingerprint image belongs to a fake finger.

15. The method of claim 14, wherein the fake finger feature comprises at least one of the following: The distribution range of the global grayscale distribution of the fingerprint image is smaller than a fifth threshold; The distribution range of the local grayscale distribution of the fingerprint image is smaller than a sixth threshold; and The ridges in the fingerprint image have burr features.

16. A device for fingerprint authentication, comprising a fingerprint collection device and a processor, wherein: The processor is configured to: In response to receiving the authentication request, controlling the fingerprint collection device to perform fingerprint image collection in the first mode, and performing comparison in the first mode based on the collected fingerprint image, and selectively controlling the fingerprint collection device to perform fingerprint image collection in a second mode, and performing comparison in the second mode based on the collected fingerprint image sequence; as well as Authentication is performed based at least on the comparison result of the first mode; and The fingerprint collection device is configured to: In the first mode, a fingerprint image generated by a pressing operation of a target finger on a fingerprint collection area is collected; or In the second mode, a fingerprint image sequence generated by a sliding operation of a target finger in a fingerprint collection area is collected; The processor is further configured to: In the second mode, based on the static features of each fingerprint image in the fingerprint image sequence and / or the dynamic features of the fingerprint image sequence, the real and fake finger identification is performed according to a predetermined logic; The predetermined logic includes determining a fake finger when at least one of the following is met: the proportion of the number of fingerprint images in the fingerprint image sequence that are confirmed to belong to fake fingers based on the static features exceeds a first threshold; the number of fingerprint images in the fingerprint image sequence that include some non-fingerprint areas is less than a second threshold; the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold; the signal strength difference between the previous and next fingerprint images in the fingerprint image sequence is less than a fourth threshold; and the fingerprint image sequence is in a non-continuous match hit state; The signal strength difference includes at least one of a difference in signal strength distribution, a difference in fingerprint spectrum, and a difference in strength of a fingerprint edge.

17. The apparatus of claim 16, wherein the processor is further configured to: In response to the level of the authentication request being a common level, authentication is performed based on the comparison result of the first mode.

18. The apparatus of claim 16, wherein the processor is further configured to: In response to the level of the authentication request being a strict level, authentication is performed based on a comparison result between the first mode and the second mode.

19. The apparatus of claim 16, wherein the processor is further configured to: In the first mode, the fingerprint image is compared with the registered fingerprint information to perform fingerprint recognition.

20. The apparatus of claim 16, further comprising: The human-machine interface is configured to present prompt information for instructing the target finger to at least perform a pressing operation before executing the fingerprint image acquisition in the first mode under the control of the processor.

21. The apparatus of claim 18, further comprising: a human-machine interface configured to, under the control of the processor, present prompt information for instructing a target finger to perform a sliding operation in response to the authentication request level being a strict level; or Presents a prompt message for indicating that the target finger should first press and then slide.

22. The apparatus of claim 16, wherein the processor is further configured to: In response to the comparison result of the first mode being passed, determining the level of the authentication request; and The device also includes: A human-machine interface is configured to present prompt information for instructing a target finger to perform a sliding operation in response to the level being a strict level under the control of the processor.

23. The apparatus of claim 16, wherein the processor is further configured to: Upon receiving an authentication request, determining a level of the authentication request; as well as The device also includes: a human-machine interface configured to, under the control of the processor, present prompt information for instructing a target finger to perform a pressing operation in response to the level being a strict level; as well as In response to the comparison result of the first mode being passed, prompt information for instructing the target finger to perform a sliding operation is presented.

24. The apparatus of claim 16, wherein the processor is further configured to: Upon receiving an authentication request, determining a level of the authentication request; and The device also includes: A human-machine interface is configured to present prompt information for instructing a target finger to perform a press-first-and-slide operation in response to the level being a strict level under the control of the processor.

25. A non-transitory computer-readable storage medium storing program instructions for fingerprint authentication, which, when executed by at least one processor, causes execution of: In response to receiving an authentication request, controlling the execution of fingerprint image acquisition and comparison in a first mode, and selectively executing fingerprint image acquisition and comparison in a second mode, wherein in the first mode, a fingerprint image generated by a pressing operation of a target finger in a fingerprint acquisition area is acquired, and in the second mode, a fingerprint image sequence generated by a sliding operation of a target finger in the fingerprint acquisition area is acquired, and based on the static features of each fingerprint image in the fingerprint image sequence and / or the dynamic features of the fingerprint image sequence, true and false finger identification is performed according to a predetermined logic; and Performing authentication based at least on the comparison result of the first mode; The predetermined logic includes determining a fake finger when at least one of the following is met: the proportion of the number of fingerprint images in the fingerprint image sequence that are confirmed to belong to fake fingers based on the static features exceeds a first threshold; the number of fingerprint images in the fingerprint image sequence that include some non-fingerprint areas is less than a second threshold; the number of fingerprint images without fingerprint information in the fingerprint image sequence is greater than a third threshold; the signal strength difference between the previous and next fingerprint images in the fingerprint image sequence is less than a fourth threshold; and the fingerprint image sequence is in a non-continuous match hit state; The signal strength difference includes at least one of a difference in signal strength distribution, a difference in fingerprint spectrum, and a difference in strength of a fingerprint edge.