Fingerprint processing method, electronic equipment and storage medium
By automatically initiating multiple fingerprint image authentication attempts during continuous contact with the fingerprint sensor, the problem of multiple contacts required for fingerprint template registration and verification in existing technologies is solved, achieving a more efficient fingerprint processing flow.
Patent Information
- Application Number
- CN202511868209.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-10
- Publication Date
- 2026-02-17
AI Technical Summary
In existing technologies, the fingerprint template registration and verification process requires multiple finger touches and finger lifts, resulting in a cumbersome user experience.
During continuous contact between the finger and the fingerprint sensor, it automatically initiates continuous authentication attempts based on multiple fingerprint images, including immediately generating and processing the next fingerprint image when authentication fails, avoiding repeated contact and lifting of the hand.
It improves the efficiency of fingerprint template registration and verification, enhances the flexibility of user input, reduces repetitive operations, and improves the user experience.
Smart Images

Figure CN121545017A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of fingerprint recognition technology, specifically to a fingerprint processing method, electronic device, and storage medium. Background Technology
[0002] In related technologies, during fingerprint template registration and fingerprint verification, after detecting contact between a finger and the fingerprint sensor, fingerprint information is collected to generate a fingerprint image. Based on this fingerprint image, one fingerprint template registration and verification process is performed. After outputting the result, the system waits for the finger to leave the fingerprint sensor. Only after the finger leaves and re-enters contact with the sensor can fingerprint information be collected again to generate a new fingerprint image, and the next fingerprint template registration and verification process is performed based on this new image. If the finger does not leave the fingerprint sensor, the next fingerprint information collection, fingerprint template registration, and fingerprint verification process is not performed. In this case, if fingerprint template registration and fingerprint verification fail, multiple contact and release operations are required, making the fingerprint template registration and fingerprint verification process cumbersome. Summary of the Invention
[0003] In view of the above problems, this disclosure provides a fingerprint processing method, an electronic device, and a storage medium to at least partially solve the above technical problems.
[0004] In a first aspect, embodiments of this disclosure provide a fingerprint processing method, comprising: performing an authentication attempt based on a first fingerprint image while a finger is in continuous contact with a fingerprint sensor; and automatically initiating a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, wherein the second fingerprint image is generated after the first fingerprint image.
[0005] Optionally, performing an authentication attempt based on the first fingerprint image includes: generating a first fingerprint image and performing an authentication attempt based on the first fingerprint image when a finger is detected to be in contact with the fingerprint sensor; and automatically initiating a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, including: confirming whether the finger is still in contact with the fingerprint sensor when the authentication attempt fails; and generating a second fingerprint image and performing an authentication attempt based on the second fingerprint image when it is confirmed that the finger is still in contact.
[0006] Optionally, it further includes: detecting contact between a finger and the fingerprint sensor in a contact detection mode; when contact between a finger and the fingerprint sensor is detected, the fingerprint sensor switches from the contact detection mode to a fingerprint image acquisition mode; and when performing an authentication attempt based on the first fingerprint image, the fingerprint sensor re-enters the contact detection mode.
[0007] Optionally, it also includes: if the fingerprint authentication attempt fails, and it is confirmed that the finger is not in contact, generating a fingerprint authentication failure message.
[0008] Optionally, performing an authentication attempt based on the first fingerprint image includes: generating a first fingerprint image and performing an authentication attempt based on the first fingerprint image when a finger is detected to be in contact with the fingerprint sensor; while performing the authentication attempt, if the finger remains in contact, generating and caching at least one subsequent fingerprint image; and automatically initiating a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, including: performing a subsequent authentication attempt based on at least one cached subsequent fingerprint image when the authentication attempt fails.
[0009] Optionally, it also includes generating a fingerprint authentication failure message when the authentication attempt fails if the finger is not kept in contact.
[0010] Optionally, the contact includes at least one of pressing, sliding, and rotating.
[0011] Optionally, the authentication attempt may include fingerprint verification or fingerprint template registration.
[0012] Optionally, when attempting to register a fingerprint template for authentication, the method further includes: if the fingerprint template registration attempt is successful, and the finger remains in contact and the number of registered fingerprint templates has not reached a preset number, automatically initiating a subsequent fingerprint template registration attempt based on a third fingerprint image.
[0013] In a second aspect, embodiments of this disclosure provide an electronic device, including: a fingerprint sensor for collecting fingerprint information and generating a fingerprint image; a fingerprint processing device for performing an authentication attempt based on a first fingerprint image while a finger is in continuous contact with the fingerprint sensor; and automatically initiating a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, wherein the second fingerprint image is generated after the first fingerprint image.
[0014] Optionally, the fingerprint processing device is specifically configured to: when a finger is detected to be in contact with a fingerprint sensor, generate a first fingerprint image and perform an authentication attempt based on the first fingerprint image; when the authentication attempt fails, confirm whether the finger is still in contact with the fingerprint sensor; and when it is confirmed that the finger is still in contact, generate a second fingerprint image and perform an authentication attempt based on the second fingerprint image.
[0015] Optionally, the fingerprint sensor is used to detect contact between a finger and the fingerprint sensor in a contact detection mode, switch from the contact detection mode to a fingerprint image acquisition mode when contact between the finger and the fingerprint sensor is detected, and re-enter the contact detection mode to detect contact between the finger and the fingerprint sensor when performing an authentication attempt based on a first fingerprint image.
[0016] Optionally, the fingerprint processing device is specifically configured to: generate a first fingerprint image and perform an authentication attempt based on the first fingerprint image when a finger is detected to be in contact with a fingerprint sensor; while performing the authentication attempt, if the finger remains in contact, generate and cache at least one subsequent fingerprint image; and automatically initiate a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, including: performing a subsequent authentication attempt based on at least one cached subsequent fingerprint image when the authentication attempt fails.
[0017] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor; and a memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to perform the fingerprint processing method of embodiments of this disclosure.
[0018] Fourthly, embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods described above in embodiments of this disclosure.
[0019] The fingerprint processing method, electronic device, and storage medium provided in this disclosure perform an authentication attempt based on a first fingerprint image while the finger is in continuous contact with the fingerprint sensor. If the authentication attempt fails, a subsequent authentication attempt based on a second fingerprint image is automatically initiated. This allows for continuous authentication processing such as fingerprint template registration or fingerprint verification without repeated contact or finger-lifting operations. Based on this, during continuous contact between the finger and the fingerprint sensor, operations such as sliding and scrolling can be performed to adjust the contact position between the finger and the fingerprint sensor, improving the efficiency of fingerprint template registration and recognition processing, and enhancing the flexibility of user input.
[0020] These or other aspects of this disclosure will become more apparent in the following description of embodiments. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1A A schematic diagram of an electronic device applicable according to exemplary embodiments of the present disclosure is shown.
[0023] Figure 1B A schematic diagram of another electronic device that may be applied according to exemplary embodiments of the present disclosure is shown.
[0024] Figure 1CA system block diagram of an electronic device to which exemplary embodiments of the present disclosure may be applied is shown.
[0025] Figure 2 A flowchart of a fingerprint processing method according to an exemplary embodiment of the present disclosure is shown.
[0026] Figure 3 A flowchart is shown for a fingerprint processing method that generates a fingerprint image when an authentication attempt fails.
[0027] Figure 4 A flowchart is shown for a fingerprint processing method that generates a fingerprint image while attempting authentication.
[0028] Figure 5A A flowchart of a fingerprint template registration method according to an exemplary embodiment of the present disclosure is shown.
[0029] Figure 5B A flowchart of a fingerprint verification method according to an exemplary embodiment of the present disclosure is shown.
[0030] Figure 6 A structural block diagram of a finger electronic device according to an exemplary embodiment of the present disclosure is shown.
[0031] Figure 7 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation
[0032] Embodiments of this disclosure are described in detail below, with examples of embodiments shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this disclosure, and should not be construed as limiting this disclosure.
[0033] To enable those skilled in the art to better understand the solutions disclosed herein, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0034] In this disclosure, it should be noted that relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0035] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0036] In the description of embodiments in this disclosure, terms such as "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in this disclosure is not to be construed as being more preferred or having more advantages than another embodiment or design. The use of terms such as "example" or "for example" is intended to present relative concepts in a clear manner.
[0037] Furthermore, in this disclosure, "multiple" refers to two or more. Therefore, in this disclosure, "multiple" can also be understood as "at least two." "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For instance, including at least one of A, B, and C could mean including A, B, C, A and B, A and C, B and C, or A and B and C.
[0038] It should be noted that in this embodiment of the disclosure, "and / or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after it are in an "or" relationship.
[0039] Figure 1A and Figure 1B The illustration shows schematic diagrams of electronic devices in which various schemes described herein may be implemented according to exemplary embodiments of the present disclosure, such as... Figure 1A and Figure 1B As shown, the electronic device 100 may include a device body 101 and a fingerprint sensor 102. The fingerprint sensor 102 can acquire fingerprint images for fingerprint recognition. The fingerprint sensor 102 may include, but is not limited to, capacitive fingerprint sensors, optical fingerprint sensors, ultrasonic fingerprint sensors, etc., and the specific location of the fingerprint sensor 102 in the electronic device 100 may be set on the side, back, front, or below the display screen of the device body 101, depending on the actual product design requirements.
[0040] In some embodiments, the electronic device 100 may be a portable electronic device, such as a smartphone, tablet computer, laptop computer, personal digital assistant, etc. In other embodiments, the electronic device 100 may also be a smart wearable device. This disclosure does not limit the type of electronic device 100.
[0041] In some embodiments, the fingerprint sensor 102 may be specifically disposed on the side of the device body 101 of the electronic device 100; as smartphones or other portable electronic devices develop towards thinner or foldable designs, the thickness of the electronic device 100 becomes smaller and smaller, resulting in the fingerprint sensor 102 disposed on the side of the device body 101 becoming narrower and narrower.
[0042] Please see Figure 1A In a typical embodiment, the device body 101 includes a display screen 10 and a mid-frame 20. The display screen 10 is located on the front of the device body 101, used to display images and provide a human-computer interaction interface for the user. The mid-frame 20 is generally located between the display screen 10 and the rear shell of the electronic device, used to support the display screen 10 and to house various functional components inside the device body 101, such as the motherboard, battery, camera, speaker, microphone, and various sensing units. In a specific embodiment, the mid-frame 20 includes a border surrounding the device body 101. The border may include multiple sides and carry a power button, volume buttons, or other function buttons. A fingerprint sensor 102 may be disposed on one side of the border and has a sensing area 108. In a specific embodiment, the fingerprint sensor 102 may be a fingerprint recognition chip or a fingerprint module with a fingerprint recognition chip. It may be integrated above the power button or volume buttons on the side of the border, embedded in a predetermined area on the side of the border, or attached to the inner surface of the side of the border, to allow the user to input their fingerprint to realize the side fingerprint function of the electronic device 100.
[0043] In some embodiments, the fingerprint sensor 102 may be specifically disposed below the display screen of the electronic device 100, with the display screen located on the front of the device body 101, for displaying images and providing a human-computer interaction interface for the user. Compared to the fingerprint sensor 102 being disposed in an area outside the display screen on the front of the device body, the fingerprint sensor 102 being disposed below the display screen of the electronic device 100 can improve the screen-to-body ratio of the electronic device. The fingerprint sensor 102 utilizes ultrasonic, optical, or other penetrating technologies inside the screen, which can penetrate various materials to emit ultrasonic or optical signals to the outer surface of the display screen, and receive the reflected signals reflected by the finger, thereby realizing fingerprint image acquisition for fingerprint recognition.
[0044] Please see Figure 1B As another typical embodiment, with Figure 1AThe difference in this embodiment is that the fingerprint sensor 102 is located below the display screen 10, i.e., inside the display screen 10. The display screen 10 consists of a cover glass 11, a touchpad 12, and a display panel 13, arranged from top to bottom. The fingerprint sensor 102 can be located below the display panel 13. The fingerprint sensor 102 has a sensing area 108, and the area on the display screen 10 corresponding to the sensing area 108 is the fingerprint collection area. A visual prompt can typically be displayed on the screen 10 to inform the user of the location of the fingerprint collection area. The fingerprint sensor 102 can emit signals using ultrasonic, optical, or other penetrating technologies, allowing the signals to penetrate the cover glass 11, touchpad 12, and display panel 13. This signal can be reflected by a finger located on the outer surface of the cover glass 11, forming a reflected signal. The reflected signal penetrates the cover glass 11, touchpad 12, and display panel 13 to reach the sensing area 108 of the fingerprint sensor 102, whereby the fingerprint sensor 102 generates a fingerprint image based on the reflected signal.
[0045] Please refer to the following: Figure 1C The fingerprint sensor 102 includes a sensing array 103, an output module 104, an interface module 105, and a driving module 106. The sensing array 103 is used to couple with the user's finger when the user presses the fingerprint sensor 102 to input a fingerprint, thereby acquiring the user's fingerprint information. Specifically, it includes multiple arrayed sensing electrodes. The area where the sensing array 103 is located, or its effective fingerprint acquisition area, is the sensing area 108 of the fingerprint sensor 102. The driving module 106 and the output module 104 are connected to the sensing array 103 and the interface module 105, respectively. The driving module 106 drives the sensing array 103 to perform fingerprint scanning to acquire the user's fingerprint information. The output module 104 generates corresponding fingerprint data based on the fingerprint information acquired by the sensing array 103 and outputs the fingerprint data to the control system 120 through the interface module 105. The interface module 105 can specifically be a Serial Peripheral Interface (SPI).
[0046] Continue reading Figure 1C The control system 120 may include one or more general-purpose single-chip or multi-chip processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic components, discrete hardware components, or combinations thereof. According to some examples, the control system 120 may include dedicated components for controlling the fingerprint sensor 102. In some implementations, the functionality of the control system 120 may be partitioned among one or more controllers or processors, such as between a dedicated sensor controller and an application processor for the electronic device. Reference Figure 1CThe control system 120 may include an application processor 121 of the electronic device. The application processor 121 may be a central processing unit (CPU) or other processing unit or control unit with processing capabilities inside the electronic device 100, such as a microcontroller (MCU). It is connected to the interface module 105 and includes a fingerprint processing device. It is mainly used to control the working state of the fingerprint sensor 102, process the fingerprint data output by the fingerprint sensor 102, and perform fingerprint template registration and fingerprint matching verification to determine whether the currently acquired fingerprint image is a legitimate fingerprint. Based on the determination result, it unlocks the electronic device 100 or performs other functions related to fingerprint recognition.
[0047] Fingerprint recognition typically includes a fingerprint template registration phase and a fingerprint verification phase. In the fingerprint template registration phase, a fingerprint template is created by collecting the user's input fingerprint. In the fingerprint verification phase, a query fingerprint image is obtained by collecting the user's input fingerprint and matching it against the registered fingerprint templates to verify whether the query fingerprint image is a valid fingerprint. Please refer to [link to relevant documentation]. Figure 1A The narrowness of the fingerprint sensor 102 results in a small fingerprint area that it can capture; that is, a single fingerprint image represents a small portion of the fingerprint on the finger. Since the user's fingerprint position on the fingerprint sensor 102 varies, multiple fingerprint images need to be captured and multiple fingerprint templates registered to obtain multiple templates, in order to reduce the false rejection rate of fingerprint recognition. Please refer to [link to relevant documentation]. Figure 1B The under-display fingerprint sensor 102 can have a large sensing area. Due to factors such as user pressing habits, the position of the fingerprint applied to the fingerprint sensor 102 varies considerably. Therefore, multiple fingerprint images need to be captured and multiple fingerprint templates registered to obtain multiple templates, in order to reduce the false rejection rate of fingerprint recognition. Multiple fingerprint templates can be stitched together to form one or more fingerprint templates with a larger area.
[0048] Fingerprint verification and template registration methods can include pressing, swiping (also known as swiping), and rotating (also known as rolling). Pressing involves the user pressing their finger statically onto a designated area by the sensor, which then captures a fingerprint image. Verification and template registration are based on this single image. Pressing is sensitive to finger placement and pressure, easily leading to incomplete or distorted images. Furthermore, with smaller fingerprint sensors, it cannot capture large areas of fingerprint data at once, and recognition rates may decrease in humid, oily, or dry environments. Swiping involves the user sliding their finger at a constant speed across a narrow strip of the sensor. The sensor stitches together continuously read fingerprint fragments into a complete fingerprint image, which is then used for verification and template registration. While swiping can capture a larger area of fingerprint information, it requires precise sliding speed and direction from the user, resulting in inconsistent performance in practice. Rotating, building upon pressing, guides the user to slightly rotate their finger along the center of the finger to capture more information from the sides of the fingerprint, forming a fingerprint image with high feature coverage. Verification and template registration are then based on this image. Rotation can improve feature coverage to some extent, but excessive rotation angles can affect recognition efficiency and user experience.
[0049] In related technologies, during fingerprint template registration and verification, pressing, sliding, and rotating fingerprint sensors all acquire a fingerprint image and perform one fingerprint template registration and verification process after detecting contact between the finger and the fingerprint sensor. After outputting the result, they wait for the finger to leave the fingerprint sensor. Only after the finger leaves the fingerprint sensor and re-enters contact can another fingerprint image be acquired and the next fingerprint template registration and verification process begin. If the finger does not leave the fingerprint sensor, the next fingerprint image acquisition and fingerprint template registration / verification process is not performed. In this situation, if fingerprint template registration and verification fail, multiple contact and release operations are required, making the fingerprint template registration and verification process cumbersome.
[0050] This disclosure provides a fingerprint processing method that can be applied to, for example... Figure 1A , Figure 1B The electronic device 100 shown is designed to improve the fingerprint template registration experience.
[0051] Figure 2 A flowchart of a fingerprint processing method according to an exemplary embodiment of the present disclosure is shown, such as... Figure 2As shown, the fingerprint processing method of this disclosure can be applied to fingerprint template registration and fingerprint verification. It continuously performs authentication processes such as fingerprint template registration or fingerprint verification while the finger remains in contact with the fingerprint sensor, eliminating the need for repeated contact or finger-lifting operations. During the continuous contact between the finger and the fingerprint sensor, operations such as sliding and scrolling can be performed to adjust the contact position between the finger and the fingerprint sensor, improving the efficiency of fingerprint template registration and fingerprint verification processing and the flexibility of user input. Specifically, it may include the following steps.
[0052] Step S201: During the continuous contact between the finger and the fingerprint sensor, an authentication attempt based on the first fingerprint image is performed. The authentication attempt may include, but is not limited to, fingerprint template registration and fingerprint verification.
[0053] In the embodiments of this disclosure, in the electronic device 100, the fingerprint sensor 102 can activate the fingerprint acquisition function when it detects the user's finger contact or according to the instruction of the application processor 121 of the electronic device 100, and acquire the fingerprint information input by the user by pressing the fingerprint sensor 102 through its sensing array 103, and generate a fingerprint image based on the fingerprint information input by the user.
[0054] For example, when the fingerprint sensor 102 is a capacitive fingerprint sensor, the multiple sensing electrodes of the sensing array 103 will form different coupling capacitances with the ridges and valleys of the user's finger. By driving the sensing array 103 to detect the capacitance signals formed by the ridges and valleys with the sensing electrodes, the fingerprint sensor 102 can collect the fingerprint information of the part of the finger pressed by the user in the sensing area 108, and generate a fingerprint image based on the fingerprint information. Specifically, the fingerprint image is a digital image formed by integrating the fingerprint information of the corresponding position of the finger collected by all the sensing electrodes of the sensing array 103. The fingerprint sensor 102 can also perform some processing on the fingerprint image it generates and temporarily store the fingerprint image internally, waiting for the application processor 121 of the electronic device 100 to acquire it.
[0055] For example, when the fingerprint sensor 102 is an ultrasonic fingerprint sensor, the ultrasonic transmitter of the fingerprint sensor 102 emits ultrasonic signals. The ultrasonic signals pass through the skin surface and are reflected by the ridges and valleys of the fingerprint. The ultrasonic energy reflected by the ridges is greater, while the energy reflected by the valleys is less. The ultrasonic receiver of the fingerprint sensor 102 receives the echo signals and converts them into electrical signals indicating the reflected ultrasonic energy. This allows the fingerprint information of the part of the finger pressed by the user in the sensing area 108 to be collected, and a fingerprint image can be generated based on this fingerprint information. In some implementations, the ultrasonic transmitter of the fingerprint sensor 102 may include a piezoelectric transmitter layer. Ultrasonic waves can be generated by applying a voltage to the piezoelectric transmitter layer to cause it to expand or contract, depending on the applied signal. Referring to 1B, the ultrasonic waves generated by the piezoelectric transmitter layer penetrate the display panel 13, touchpad 12, and cover glass 11, etc., and are reflected by the ridges and valleys of the fingerprint. The ultrasonic receiver of the fingerprint sensor 102 may include a piezoelectric receiver layer and a pixel circuit array, each pixel circuit being configured to convert charge generated in the piezoelectric receiver layer adjacent to the pixel circuit into an electrical signal. Each pixel circuit may include a pixel input electrode that couples the piezoelectric receiver layer to the pixel circuit.
[0056] In embodiments of this disclosure, in the electronic device 100, the application processor 121 can respond to a user operation to enter a fingerprint template registration process to obtain multiple fingerprint templates. When entering the fingerprint template registration process, the application processor 121 can connect to the interface module 105 and send instructions to the fingerprint sensor 102 through the interface module 105 to cause the fingerprint sensor to collect fingerprint data for fingerprint template registration. Each frame of fingerprint data can be transmitted to the application processor 121 through the interface module 105.
[0057] In embodiments of this disclosure, in the electronic device 100, during continuous contact between a finger and a fingerprint sensor, the fingerprint sensor can continuously acquire fingerprint information and generate fingerprint images. After generating a fingerprint image, the application processor 121 can perform an authentication attempt based on the fingerprint image. For example, the fingerprint sensor generates a first fingerprint image at t1 and a second fingerprint image at t2. During the generation of the first and second fingerprint images, operations such as finger sliding and rotation can be performed, so that the first and second fingerprint images can contain fingerprints from different areas of the finger. In addition, during the generation of the first and second fingerprint images, the pressure of the finger on the fingerprint sensor can be adjusted, so that the first and second fingerprint images can have different qualities. In embodiments of this disclosure, multiple rounds of authentication attempts can be automatically performed during continuous contact between the finger and the fingerprint sensor.
[0058] In embodiments of this disclosure, in electronic device 100, application processor 121 may perform an authentication attempt based on the first fingerprint image after generating the first fingerprint image. Specifically, performing an authentication attempt based on the first fingerprint image may include the following steps.
[0059] After generating the first fingerprint image, the application processor 121 can preprocess the first fingerprint image. This preprocessing includes, but is not limited to, image enhancement, filtering and denoising, and binarization. Image enhancement can improve contrast and make ridges and valleys more distinct. Algorithms such as Gabor filters can be used for filtering and denoising, smoothing noise while preserving the direction of the ridges. Binarization converts the grayscale image into a binary image (either black or white), facilitating subsequent processing.
[0060] After image preprocessing, the application processor 121 can perform image quality evaluation. Specifically, it can evaluate image quality indicators such as sharpness, contrast, coverage, and noise level of the first fingerprint image. Sharpness characterizes whether the contours of the fingerprint's ridges (raised lines) and valleys (recessed areas) are clearly distinguishable. Blurred images cannot extract accurate features. Contrast characterizes whether the difference in brightness between the ridges and valleys is sufficiently obvious. If the contrast is too low, features are difficult to distinguish. Coverage characterizes whether the image contains a sufficiently large fingerprint area. Noise level characterizes whether the image contains excessive scratches, stains, sensor noise, or other interfering information. If the image quality does not meet the authentication standards, the authentication attempt fails. If the image quality meets the authentication standards, subsequent processing of the authentication attempt can proceed.
[0061] When attempting to register a fingerprint template, the application processor 121 can calculate the repetition rate between the first fingerprint image and the registered template. If the repetition rate is high, it indicates that the first fingerprint image and the template information are basically identical, and there is no added feature value. In this case, the sampling result is determined to be invalid registration, and the authentication attempt fails. If the repetition rate is low, the first fingerprint image can be registered as a fingerprint template, meaning the authentication attempt succeeds. When attempting fingerprint verification, the application processor 121 can match the first fingerprint image with the registered template. If the match is successful, the recognition attempt succeeds. If the match fails, the recognition attempt fails.
[0062] Step S202: When the authentication attempt fails, a subsequent authentication attempt based on the second fingerprint image is automatically initiated, wherein the second fingerprint image is generated after the first fingerprint image.
[0063] In embodiments of this disclosure, in the electronic device 100, the application processor 121 can automatically initiate a subsequent authentication attempt based on the second fingerprint image. In specific implementations, the subsequent authentication attempt based on the second fingerprint image can be the same as the authentication attempt based on the second fingerprint image. Specifically, the application processor 121 can preprocess the second fingerprint image. After image preprocessing, the application processor 121 can perform image quality evaluation. When the image quality meets the authentication criteria, subsequent processing of the authentication attempt can be performed. Specifically, when the authentication attempt is for fingerprint template registration, the application processor 121 can calculate the repetition rate between the second fingerprint image and the registered template. If the repetition rate is high, it indicates that the second fingerprint image and the template information are basically identical, and there is no added feature value; therefore, the sampling result is determined to be invalid registration, and the authentication attempt fails. If the repetition rate is low, the second fingerprint image can be registered as a fingerprint template, i.e., the authentication attempt succeeds. When the authentication attempt is for fingerprint verification, the application processor 121 can match the second fingerprint image with the registered template. If the match is successful, the recognition attempt succeeds. If the match fails, the recognition attempt fails.
[0064] In embodiments of this disclosure, in the electronic device 100, when an authentication attempt based on a second fingerprint image fails, the application processor 121 can automatically initiate a subsequent authentication attempt based on a third fingerprint image, wherein the third fingerprint image is generated after the second fingerprint image. In a specific implementation, a maximum number of consecutive authentication attempts can be set. As an example, this maximum number is set to 3. In this case, during continuous contact between the finger and the fingerprint sensor, an authentication attempt based on the first fingerprint image is performed; if that attempt fails, an authentication attempt based on the second fingerprint image is performed; and if that attempt fails, an authentication attempt based on the third fingerprint image is performed. When the authentication attempt fails, and the number of authentication attempts reaches 3, the authentication attempt can be stopped.
[0065] In some implementations, a fingerprint image for the next authentication attempt can be generated if the authentication attempt fails. Specifically, a first fingerprint image is generated and an authentication attempt based on the first fingerprint image is performed. If this authentication attempt fails, a second fingerprint image is generated and an authentication attempt based on the second fingerprint image is performed. Subsequent authentication attempts follow the same process and are not listed here. Please refer to [link to relevant documentation]. Figure 3 As shown, this implementation may include the following steps.
[0066] Step S301: When a finger is detected to be in contact with the fingerprint sensor, a first fingerprint image is generated and an authentication attempt based on the first fingerprint image is performed.
[0067] Step S302: When the authentication attempt fails, confirm whether the finger is still in contact with the fingerprint sensor.
[0068] Step S303: While confirming that the finger is still in contact, generate a second fingerprint image and perform an authentication attempt based on the second fingerprint image.
[0069] In some embodiments, in the electronic device 100, the fingerprint sensor 102 detects contact between a finger and the fingerprint sensor 102 in a contact detection mode. When contact is detected, the fingerprint sensor 102 switches from the contact detection mode to a fingerprint image acquisition mode. In the fingerprint image acquisition mode, the fingerprint sensor 102 acquires fingerprint information and generates a first fingerprint image, which is transmitted to the application processor 121 via the interface module 105. The application processor 121 performs an authentication attempt based on the first fingerprint image. While performing the authentication attempt based on the first fingerprint image, the fingerprint sensor 102 re-enters the contact detection mode to detect contact between the finger and the fingerprint sensor 102. If the authentication attempt based on the first fingerprint image fails, the fingerprint sensor 102 generates a second fingerprint image upon confirming that the finger is still in contact, and the second fingerprint image is transmitted to the application processor 121 via the interface module 105. The application processor 121 performs an authentication attempt based on the second fingerprint image. If the fingerprint sensor 102 confirms that the finger is not in contact when the authentication attempt fails, the application processor 121 generates a fingerprint authentication failure message.
[0070] In some implementations, when an authentication attempt is made to register a fingerprint template, if the fingerprint template registration attempt is successful and the fingerprint sensor 102 confirms that the finger is still in contact and the number of registered fingerprint templates has not reached a preset number, the fingerprint sensor 102 can acquire a new fingerprint image and perform a subsequent fingerprint template registration attempt based on the new fingerprint image. When the authentication method is fingerprint verification, if the fingerprint verification is successful, the operations following successful verification can be performed, such as unlocking the electronic device or logging into an account.
[0071] In some implementations, a fingerprint image for the next authentication attempt can be generated upon the failure of the authentication attempt. Specifically, upon detecting contact between a finger and the fingerprint sensor, a first fingerprint image is generated and an authentication attempt based on the first fingerprint image is performed. While performing the authentication attempt, if the finger remains in contact, at least one subsequent fingerprint image is acquired and cached. If the authentication attempt fails, a subsequent authentication attempt is performed based on the cached at least one subsequent fingerprint image. Subsequent authentication attempts follow the same process and are not listed here. For further details on this implementation, please refer to [link to relevant documentation]. Figure 4 As shown, this implementation may include the following steps.
[0072] Step S401: When a finger is detected to be in contact with the fingerprint sensor, a first fingerprint image is generated and an authentication attempt based on the first fingerprint image is performed.
[0073] In step S402, while performing the authentication attempt, if the finger remains in contact, at least one subsequent fingerprint image is acquired and cached.
[0074] In step S403, if the authentication attempt fails, an authentication attempt is performed based on at least one subsequent fingerprint image from the cache. If the authentication attempt succeeds, the cached fingerprint image can be discarded.
[0075] In some implementations, if the finger is not kept in contact, a fingerprint authentication failure message is generated when the authentication attempt fails.
[0076] In some embodiments, in the electronic device 100, the fingerprint sensor 102 detects contact between a finger and the fingerprint sensor 102 in a contact detection mode. When contact is detected, the fingerprint sensor 102 switches from the contact detection mode to a fingerprint image acquisition mode. In the fingerprint image acquisition mode, the fingerprint sensor 102 acquires fingerprint information and generates a first fingerprint image, which is transmitted to the application processor 121 via the interface module 105. The application processor 121 performs an authentication attempt based on the first fingerprint image. While performing the authentication attempt based on the first fingerprint image, the fingerprint sensor 102 checks whether the finger remains in contact. If the finger remains in contact, the fingerprint sensor 102 generates at least one subsequent fingerprint image, which is transmitted to the application processor 121 via the interface module 105. If the application processor 121 confirms that the authentication attempt based on the first fingerprint image has failed, it performs an authentication attempt based on at least one subsequent fingerprint image. While performing an authentication attempt based on at least one subsequent fingerprint image, the fingerprint sensor 102 confirms whether the finger remains in contact. If the finger remains in contact, the fingerprint sensor 102 generates at least one subsequent fingerprint image, which is transmitted to the application processor 121 via the interface module 105. If it is determined that the authentication attempt based on the first fingerprint image has failed, and if it is confirmed that the finger is not in contact, the application processor 121 generates a fingerprint authentication failure message.
[0077] In some implementations, when attempting to register a fingerprint template, if the fingerprint template registration attempt is successful and it is confirmed that the number of registered fingerprint templates has not reached a preset number, the application processor 121 may continue to execute an authentication attempt based on at least one subsequent fingerprint image. When the authentication method is fingerprint verification, if the fingerprint verification is successful, operations following successful verification can be performed, such as unlocking the electronic device or logging into an account.
[0078] pass Figure 3The illustrated implementation generates a fingerprint image only when a second authentication attempt is required, reducing unnecessary processing and eliminating the need to cache fingerprint images, thus lowering hardware requirements and making it suitable for products with limited memory and computing power. Furthermore, an authentication attempt can be performed as long as the finger remains in contact with the fingerprint sensor when the attempt fails, without requiring the finger to be in constant contact with the fingerprint sensor. Figure 4 The illustrated implementation pre-caches fingerprint images, allowing for immediate authentication attempts based on the cached images when an authentication attempt fails, thus improving processing speed. Furthermore, with cached fingerprint images, authentication attempts can be retried even after the finger has left the fingerprint sensor, resulting in shorter perceived authentication times for the user.
[0079] The following describes typical implementation methods for fingerprint template registration and fingerprint verification.
[0080] Please see Figure 5A As shown, in the fingerprint template registration scenario, the fingerprint sensor is first configured to contact detection mode (FDT) to detect whether the user's finger is in contact with the fingerprint sensor. Once finger contact is detected, the fingerprint sensor is configured to fingerprint image acquisition mode to acquire fingerprint information and generate a fingerprint image. After acquiring and generating a complete fingerprint image, the fingerprint image is preprocessed. After preprocessing, it is determined whether the image quality and area meet the registration requirements. If the image quality and area meet the registration requirements, the repetition rate between the current fingerprint image and the registered template is calculated. If the repetition rate is high, it indicates that the currently acquired fingerprint image basically overlaps with the template information and has no value for adding new features. Therefore, this sampling result is determined to be invalid registration, and the current registration process is exited, re-entering the next round of detection. If the image quality, area, and repetition rate do not meet the registration requirements, and if the user's finger is detected to have been lifted, a registration failure result is reported to notify the upper-level system to prompt the user to move their finger. If the user's finger is not lifted, for example, if the user is changing the fingerprint contact angle or area through sliding, rotating, or other operations, it is determined that the user is still continuously registering, and this failure result is not reported. Instead, the process loops to the next acquisition and registration process. Furthermore, the registration process can be repeated until the maximum number of registered templates is reached, at which point the registration process exits.
[0081] pass Figure 5A The fingerprint template registration mechanism shown can automatically complete multiple sampling and template construction when the user's finger is in continuous contact. It can achieve a comprehensive fingerprint registration process without the user repeatedly pressing or lifting their hand, which can significantly shorten the registration time and improve the template quality and the stability of subsequent recognition.
[0082] Please see Figure 5BAs shown, in a fingerprint verification scenario, the fingerprint sensor is first configured in contact detection mode to detect whether the user's finger is in contact with the sensor. Once contact is detected, the sensor is configured in fingerprint image acquisition mode to acquire fingerprint information and generate a fingerprint image. After acquiring and generating a complete fingerprint image, it undergoes preprocessing. Following preprocessing, the image quality and area are assessed to ensure they meet fingerprint verification requirements. If these requirements are met, fingerprint verification begins. If successful, the result is reported to the system, completing the verification process. If verification fails and the user's finger remains attached, the system is not reported for this failure; instead, fingerprint image acquisition continues for the next verification attempt. The continuous recognition process automatically exits when the user's finger is detected to have left the sensor.
[0083] pass Figure 5B The fingerprint verification mechanism shown implements a recognition mechanism that eliminates the need to raise the hand, allowing multiple recognition attempts to be completed automatically with the user's natural sliding and rotating finger movements. Compared to traditional press-based solutions, this significantly reduces the unlocking failure rate due to a single unsuccessful match, thus significantly improving the device's user experience. In short, through continuous data collection and iterative verification, efficient matching is achieved without the user's awareness, maintaining security requirements while significantly improving the convenience and response speed of unlocking and other verification processes.
[0084] The embodiments disclosed herein can achieve compatibility with multiple registration and recognition modes without increasing hardware complexity. Users can complete a registration or recognition action by pressing, swiping, or rotating, effectively improving the user's registration and recognition experience. By implementing the collaborative processing of pressing, swiping, and rotating recognition modes on the same hardware platform, multi-angle and multi-directional feature information can be utilized simultaneously, improving the completeness and feature richness of the fingerprint template. The system can effectively reduce distortion and information loss caused by a single acquisition method, significantly improving the accuracy and robustness of recognition. Users can complete composite registration or recognition simply by naturally touching the sensor, without needing to deliberately switch modes; the operation is intuitive and convenient. It is compatible with existing pressing or swiping fingerprint sensors, and multi-mode collaboration can be achieved through software upgrades without increasing hardware costs.
[0085] Embodiments of this disclosure also provide an electronic device, which can be a portable electronic device, such as a smartphone, tablet, laptop, personal digital assistant, etc. Alternatively, the electronic device can also be a smart wearable device; embodiments of this disclosure do not limit this to that. Figure 6As shown, an embodiment of this disclosure provides an electronic device 600 that may include a fingerprint sensor 601 and a fingerprint processing device 602. The fingerprint sensor 601 is used to acquire fingerprint information and generate a fingerprint image. The fingerprint processing device 602 is used to perform an authentication attempt based on a first fingerprint image while the finger is in continuous contact with the fingerprint sensor 601; if the authentication attempt fails, it automatically initiates a subsequent authentication attempt based on a second fingerprint image. The second fingerprint image is generated after the first fingerprint image. Contact may include at least one of pressing, sliding, and rotating. The authentication attempt may include fingerprint verification or fingerprint template registration.
[0086] In some embodiments, the fingerprint processing device 602 is specifically configured to: generate a first fingerprint image and perform an authentication attempt based on the first fingerprint image when a finger is detected to be in contact with the fingerprint sensor; if the authentication attempt fails, confirm whether the finger is still in contact with the fingerprint sensor; and if it is confirmed that the finger is still in contact, generate a second fingerprint image and perform an authentication attempt based on the second fingerprint image. In some embodiments, the fingerprint processing device 602 is also configured to generate a fingerprint authentication failure prompt if it is confirmed that the finger is not in contact when the authentication attempt fails.
[0087] In some implementations, the fingerprint sensor 601 is used to detect contact between a finger and the fingerprint sensor in a contact detection mode, switch from the contact detection mode to a fingerprint image acquisition mode when contact between a finger and the fingerprint sensor is detected, and re-enter the contact detection mode to detect contact between the finger and the fingerprint sensor when performing an authentication attempt based on a first fingerprint image.
[0088] In some embodiments, the fingerprint processing device 602 is specifically configured to: generate a first fingerprint image and perform an authentication attempt based on the first fingerprint image when a finger is detected to be in contact with the fingerprint sensor; while performing the authentication attempt, if the finger remains in contact, generate and cache at least one subsequent fingerprint image; and automatically initiate a subsequent authentication attempt based on a second fingerprint image when the authentication attempt fails, including: performing a subsequent authentication attempt based on the cached at least one subsequent fingerprint image when the authentication attempt fails. Optionally, the fingerprint processing device 602 is further configured to: generate a fingerprint authentication failure prompt when the authentication attempt fails if the finger is not in contact.
[0089] In some embodiments, the fingerprint processing device 602 is also used to: when a fingerprint template registration attempt is successful, if the finger remains in contact and the number of registered fingerprint templates has not reached a preset number, automatically initiate a subsequent fingerprint template registration attempt based on a third fingerprint image.
[0090] In some embodiments, the fingerprint processing device can be with Figure 1A , Figure 1B and Figure 1CThe fingerprint sensor 102 shown forms a fingerprint recognition system within the electronic device 100, wherein the fingerprint processing device may specifically be... Figure 1B and 1C The fingerprint processing device shown can be configured in the application processor 121 (e.g., a central processing unit CPU) of the electronic device 100 to execute the main steps of the fingerprint processing methods described in the above embodiments. In other alternative embodiments, the fingerprint processing device can also be implemented using other processing units or control units with image processing capabilities (e.g., microcontrollers MCUs).
[0091] Embodiments of this disclosure also provide an electronic device 100, including a device body 101 and the aforementioned fingerprint sensor 102 disposed on the device body 101. In some embodiments, the electronic device 100 may be a portable electronic device, such as a smartphone, tablet computer, laptop computer, personal digital assistant, etc. Alternatively, the electronic device 100 may also be a smart wearable device, and embodiments of this disclosure do not limit this to that.
[0092] The electronic device 100 provided in the embodiments of this disclosure may further include: an application processor 121; and a memory storing a program, wherein the program includes instructions that, when executed by the application processor 121, cause the application processor 121 to perform the methods of the above embodiments, for example... Figures 2 to 5A The method shown in 5B.
[0093] Embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the application processor 121 of the electronic device 100 to execute the methods of the above embodiments, for example... Figures 2 to 5A The method shown in 5B.
[0094] refer to Figure 7 This is a structural block diagram of an electronic device 700 provided in an embodiment of the present disclosure, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device 700 may include a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. The RAM 703 may also store various programs and data required for the operation of the electronic device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0095] Multiple components in electronic device 700 are connected to I / O interface 705, including: input unit 706, output unit 707, storage unit 708, and communication unit 709. Input unit 706 can be any type of device capable of inputting information to electronic device 700. Input unit 706 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 707 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 708 may include, but is not limited to, disk and optical disk. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.
[0096] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described in this disclosure. For example, in some embodiments, the fingerprint processing method of the embodiments of this disclosure can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 700 via ROM 702 and / or communication unit 709. In some embodiments, the computing unit 701 can be configured as the method of this embodiment by any other suitable means (e.g., by means of firmware).
[0097] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0098] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0099] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0100] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user; and a keyboard and pointing device through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including voice input, speech input, or tactile input).
[0101] The above are merely preferred embodiments of this disclosure and are not intended to limit this disclosure in any way. Although this disclosure has been disclosed above with reference to preferred embodiments, it is not intended to limit this disclosure. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this disclosure. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this disclosure without departing from the content of the technical solution of this disclosure shall still fall within the scope of the technical solution of this disclosure.
Claims
1. A method of fingerprint processing, characterized by, Comprise: during the finger keeps contacting with the fingerprint sensor, performing an authentication attempt based on a first fingerprint image; when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on a second fingerprint image, wherein the second fingerprint image is generated after the first fingerprint image.
2. The method of claim 1, wherein, the performing an authentication attempt based on a first fingerprint image comprises: when detecting that a finger contacts with the fingerprint sensor, generating a first fingerprint image and performing an authentication attempt based on the first fingerprint image; when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on a second fingerprint image comprises: when the authentication attempt fails, confirming whether the finger keeps contacting with the fingerprint sensor; when confirming that the finger keeps contacting, generating a second fingerprint image and performing an authentication attempt based on the second fingerprint image.
3. The method of claim 2, wherein, Further comprise: when the contact detection mode detects that a finger contacts with the fingerprint sensor, the fingerprint sensor enters a fingerprint image collection mode from the contact detection mode when detecting that the finger contacts with the fingerprint sensor; when performing an authentication attempt based on a first fingerprint image, the fingerprint sensor re-enters the contact detection mode.
4. The method of claim 2, wherein, Further comprise: when the authentication attempt fails, if confirming that the finger does not keep contacting, generating a fingerprint authentication failure prompt.
5. The method of claim 1, wherein, the performing an authentication attempt based on a first fingerprint image comprises: when detecting that a finger contacts with the fingerprint sensor, generating a first fingerprint image and performing an authentication attempt based on the first fingerprint image; while performing the authentication attempt, if the finger keeps contacting, generating and caching at least one subsequent fingerprint image; when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on a second fingerprint image comprises: when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on the cached at least one subsequent fingerprint image.
6. The method of claim 5, wherein, Further comprise: if the finger does not keep contacting, when the authentication attempt fails, generating a fingerprint authentication failure prompt.
7. The method of claim 1, wherein, The contact comprises at least one of pressing, sliding and rotating.
8. The method according to any one of claims 1 to 7, characterized in that, The authentication attempt comprises fingerprint verification or fingerprint template registration.
9. The method of claim 8, wherein, When the authentication attempt is fingerprint template registration, the method further comprises: when the fingerprint template registration attempt succeeds, if the finger still keeps contacting and the registered fingerprint templates do not reach a preset number, automatically initiating a subsequent fingerprint template registration attempt based on a third fingerprint image.
10. An electronic device, comprising: Comprise: a fingerprint sensor for collecting fingerprint information and generating a fingerprint image; a fingerprint processing device for, during the finger keeps contacting with the fingerprint sensor, performing an authentication attempt based on a first fingerprint image; when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on a second fingerprint image, wherein the second fingerprint image is generated after the first fingerprint image.
11. The electronic device of claim 10, wherein, The fingerprint processing device is specifically used for: when detecting that a finger contacts with the fingerprint sensor, generating a first fingerprint image and performing an authentication attempt based on the first fingerprint image; when the authentication attempt fails, automatically initiating a subsequent authentication attempt based on a second fingerprint image comprises: when the authentication attempt fails, confirming whether the finger keeps contacting with the fingerprint sensor; when confirming that the finger keeps contacting, generating a second fingerprint image and performing an authentication attempt based on the second fingerprint image. Upon a failure of the authentication attempt, it is determined whether the finger still maintains contact with the fingerprint sensor; upon a determination that the finger still maintains contact, a second fingerprint image is generated and an authentication attempt based on the second fingerprint image is performed.
12. The electronic device of claim 11, wherein, The fingerprint sensor is configured to detect contact of a finger with the fingerprint sensor in a contact detection mode, to enter a fingerprint image acquisition mode from the contact detection mode upon detecting contact of a finger with the fingerprint sensor, and to re-enter the contact detection mode to detect contact of a finger with the fingerprint sensor upon performing an authentication attempt based on a first fingerprint image.
13. The electronic device of claim 10, wherein, The fingerprint processing device is particularly configured to: detect contact of a finger with the fingerprint sensor in a contact detection mode, to enter a fingerprint image acquisition mode from the contact detection mode upon detecting contact of a finger with the fingerprint sensor, and to re-enter the contact detection mode to detect contact of a finger with the fingerprint sensor upon performing an authentication attempt based on a first fingerprint image. The fingerprint processing device is particularly configured to:
14. An electronic device, comprising: detect contact of a finger with the fingerprint sensor in a contact detection mode, to enter a fingerprint image acquisition mode from the contact detection mode upon detecting contact of a finger with the fingerprint sensor, and to re-enter the contact detection mode to detect contact of a finger with the fingerprint sensor upon performing an authentication attempt based on a first fingerprint image. comprise: a processor; and 15. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, a memory storing a program, wherein the program comprises instructions that, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 9. The computer instructions are configured to cause a computer to perform the method according to any one of claims 1 to 9.