WO2021217476A1 - Fingerprint identification method, apparatus, and electronic device - Google Patents

Fingerprint identification method, apparatus, and electronic device Download PDF

Info

Publication number
WO2021217476A1
WO2021217476A1 PCT/CN2020/087710 CN2020087710W WO2021217476A1 WO 2021217476 A1 WO2021217476 A1 WO 2021217476A1 CN 2020087710 W CN2020087710 W CN 2020087710W WO 2021217476 A1 WO2021217476 A1 WO 2021217476A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
fingerprint
template
afterimage
fingerprint identification
Prior art date
Application number
PCT/CN2020/087710
Other languages
French (fr)
Chinese (zh)
Inventor
徐波
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2020/087710 priority Critical patent/WO2021217476A1/en
Publication of WO2021217476A1 publication Critical patent/WO2021217476A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • This application relates to the field of fingerprint identification technology, and more specifically, to a fingerprint identification method, device, and electronic equipment.
  • biometric technology has been widely used.
  • fingerprints are different, they are easy to use for user identification. Therefore, fingerprint recognition technology has been widely used in mobile terminals and smart phones. Home furnishing and other fields provide security for user information.
  • part of the fingerprint residual image may be left in the fingerprint recognition area, which will affect the subsequent fingerprint recognition effect and cause fingerprint identification errors. , which increases the false acceptance rate (FAR) of fingerprint recognition.
  • FAR false acceptance rate
  • the embodiments of the present application provide a fingerprint identification method, device, and electronic equipment, which can reduce the false identification rate of fingerprint identification and improve the performance of fingerprint identification.
  • a fingerprint identification method which includes: acquiring a target image, acquiring a first residual image template image based on the target image; acquiring an image to be identified; and judging based on the first residual image template image and the image to be identified Whether the image to be recognized is a fingerprint afterimage; fingerprint recognition is performed based on the judgment result.
  • the first residual image template image is first acquired, and the residual image determination is performed based on the first residual image template image. If it is determined that the image to be recognized is a fingerprint residual image, then Directly determine that the fingerprint recognition fails. In the previous fingerprint identification process, the lack of this judgment step will result in successful fingerprint identification due to the presence of fingerprint residual images, which will cause misunderstandings. Therefore, with the solution of the embodiment of the present application, it is possible to avoid using fingerprint residuals to make fingerprint recognition successful, reduce the misrecognition rate, and improve the security performance and user experience of the fingerprint device.
  • the capturing of the target image includes: receiving the first indication information and capturing the target image during one press and lifting; the capturing the image to be recognized includes: receiving the second image during the next press Instruct information to collect the image to be recognized.
  • the first indication information and/or the second indication information are indication information sent by the touch display screen.
  • the acquiring the first residual image template image according to the target image includes: performing fingerprint recognition on the target image, and if the fingerprint recognition is successful, using the target image as the first residual image template image ; If the fingerprint recognition fails, the target image is not used as the first residual image template image.
  • the acquiring the first residual image template image according to the target image includes: before the one-time pressing and lifting, collecting the image for fingerprint recognition; if the fingerprint recognition is successful, performing the fingerprint recognition after the first pressing and lifting When the target image is used as the first residual image template image; if the fingerprint recognition fails, the target image is not used as the first residual image template image when the one-time pressing is lifted.
  • the acquiring the first residual image template image according to the target image includes: comparing the target image with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, then the target image As the first residual image template image; if the similarity is less than the preset threshold, the target image is not used as the first residual image template image.
  • the fingerprint identification method further includes: storing the first residual image template image.
  • the judging whether the image to be recognized is a fingerprint afterimage based on the first residual image template image and the image to be recognized includes: comparing the image to be recognized with the residual image template image If the similarity is greater than or equal to the preset threshold, it is determined that the image to be identified is fingerprint afterimage; if the similarity is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
  • the fingerprint identification method further includes: acquiring at least one second afterimage template image; determining whether the image to be identified is a fingerprint based on the first afterimage template image and the image to be identified
  • the afterimage includes: comparing the image to be recognized with a plurality of afterimage template images, the plurality of afterimage template images including: the first afterimage template image and the at least one second afterimage template image; The similarity between the recognition image and at least one residual image template image of the plurality of residual image template images is greater than or equal to a preset threshold, and it is determined that the image to be recognized is a fingerprint residual image; if the image to be recognized and the multiple residual image template images The similarity of is less than the preset threshold, and it is determined that the image to be recognized is not fingerprint afterimage.
  • the fingerprint recognition based on the judgment result includes: if it is judged that the image to be identified is a fingerprint afterimage, determining that the fingerprint recognition fails; if it is judged that the image to be identified is not a fingerprint afterimage, then Identify the image for fingerprint recognition.
  • performing fingerprint recognition on the image to be recognized includes: comparing the image to be recognized with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determining that the fingerprint recognition is successful; If the degree is less than the preset threshold, it is determined that the fingerprint recognition has failed.
  • the first residual image template image and the image to be recognized are optical fingerprint images.
  • a fingerprint identification device including: a fingerprint sensor and a processor; the fingerprint sensor is configured to: collect a target image and collect the image to be recognized; the processor is configured to: The target image is processed to obtain a first residual image template image; the image to be recognized is acquired, and based on the first residual image template image and the image to be recognized, it is judged whether the image to be recognized is a fingerprint residual image, and fingerprinting is performed based on the judgment result Recognition.
  • the fingerprint sensor is configured to receive the first indication information and collect the target image during one press to lift; during the next press, receive the second indication information and collect the image to be recognized .
  • the first indication information and/or the second indication information are indication information sent by a touch display screen in an electronic device where the fingerprint identification device is located.
  • the processor is configured to: perform fingerprint recognition on the target image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine the target The image is not the first residual image template image.
  • the fingerprint sensor is further configured to collect an image for fingerprint recognition before the one-time press to lift; the processor is also configured to obtain the image and perform fingerprint recognition on the image If the fingerprint recognition is successful, the target image is determined to be the first residual image template image; if the fingerprint recognition fails, it is determined that the target image is not the first residual image template image.
  • the processor is configured to: compare the target image with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the target image is the first residual image template image; If the similarity is less than the preset threshold, it is determined that the target image is not the first residual image template image.
  • the fingerprint identification device further includes: a memory configured to store the first residual image template image.
  • the processor is configured to: compare the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image ; If the similarity is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
  • the processor is further configured to: obtain at least one second afterimage template image from the memory; compare the to-be-identified image with multiple afterimage template images, and the multiple afterimage template images
  • the template image includes: the first residual image template image and the at least one second residual image template image;
  • a threshold is set to determine that the image to be identified is a fingerprint afterimage; if the similarity between the image to be identified and the multiple afterimage template images is less than a preset threshold, it is determined that the image to be identified is not a fingerprint afterimage.
  • the processor is configured to: if it is determined that the image to be recognized is a fingerprint afterimage, determine that the fingerprint recognition has failed; if it is determined that the image to be identified is not a fingerprint afterimage, perform a process on the image to be recognized Fingerprint recognition.
  • the processor is configured to: compare the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the fingerprint identification is successful; if the similarity is less than the preset threshold To confirm that the fingerprint recognition failed.
  • the fingerprint sensor is an optical fingerprint sensor.
  • the optical fingerprint sensor is arranged under the display screen of the electronic device where the fingerprint identification device is located, and is used to receive the fingerprint light signal returned after being reflected or scattered from the finger above the display screen to perform Fingerprint recognition.
  • an electronic device including: a display screen, and the fingerprint identification device in the second aspect or any one of its possible implementation manners.
  • the fingerprint identification device is arranged below the display screen, and the fingerprint identification device receives the fingerprint light signal reflected or scattered from the finger above the display screen to perform fingerprint identification.
  • the display screen is a touch display screen.
  • FIG. 1 is a schematic diagram of the structure of an electronic device to which an embodiment of the present application is applied.
  • Fig. 2 is a schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
  • Fig. 4 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
  • Fig. 5 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
  • Fig. 6 is a schematic block diagram of a fingerprint identification device according to an embodiment of the present application.
  • Fig. 7 is a schematic block diagram of an electronic device according to an embodiment of the present application.
  • the embodiments of this application can be applied to fingerprint identification systems, including but not limited to optical fingerprint identification systems, capacitive fingerprint identification systems or other fingerprint identification products based on fingerprint imaging.
  • the embodiments of this application only take optical fingerprint systems as an example for illustration.
  • the embodiments of the present application should not constitute any limitation, and the embodiments of the present application are also applicable to other systems using optical imaging technology.
  • the fingerprint system provided by the embodiments of this application can be applied to smart phones, tablet computers and other mobile terminals with display screens, or other electronic devices such as smart door locks, fingerprint attendance machines, smart car-mounted devices, etc. .
  • the fingerprint identification device may be specifically an optical fingerprint device, an electrical fingerprint device, or an ultrasonic fingerprint device. In some cases, it may be arranged in a partial area or an entire area under the display screen. So as to form an under-display fingerprint system. Alternatively, the fingerprint identification device can also be partially or fully integrated into the display screen of the electronic device to form an in-display optical fingerprint system.
  • FIG. 1 is a schematic structural diagram of an electronic device to which the embodiments of this application can be applied.
  • the electronic device 1 includes an optical fingerprint device 130.
  • the electronic device 1 may also include a display screen 120, wherein the optical fingerprint device 130 Set in a partial area below the display screen 120.
  • the optical fingerprint device 130 includes an optical fingerprint sensor, and the optical fingerprint sensor includes a sensing array 133 having a plurality of optical sensing units 131, and the area where the sensing array 133 is located or its sensing area is the fingerprint detection area 103 of the optical fingerprint device 130. As shown in FIG. 1, the fingerprint detection area 103 is located in the display area of the display screen 120.
  • the optical fingerprint device 130 can also be arranged in other positions, such as the side of the display screen 120 or the non-transmissive area at the edge of the electronic device 1, and at least part of the display area of the display screen 120 is designed through the optical path.
  • the optical signal of is guided to the optical fingerprint device 130, so that the fingerprint detection area 103 is actually located in the display area of the display screen 120.
  • the area of the fingerprint detection area 103 may be different from the area of the sensing array of the optical fingerprint device 130.
  • the optical path design such as lens imaging, reflective folding optical path design, or other optical path design such as light convergence or reflection
  • the optical fingerprint can be made
  • the area of the fingerprint detection area 103 of the device 130 is larger than the area of the sensing array of the optical fingerprint device 130.
  • the fingerprint detection area 103 of the optical fingerprint device 130 can also be designed to be substantially the same as the area of the sensing array of the optical fingerprint device 130.
  • the electronic device 1 with the above structure does not need to reserve space on the front side for the fingerprint button (such as the Home button), so a full-screen solution can be adopted, that is, the display area of the display screen 120 can be basically Extend to the front of the entire electronic device 1.
  • the optical fingerprint device 130 includes a light detecting portion 134 and an optical component 132.
  • the light detecting portion 134 includes a sensing array and a reading circuit electrically connected to the sensing array.
  • Other auxiliary circuits which can be fabricated on a chip (Die) through a semiconductor process, such as an optical imaging chip or an optical fingerprint sensor.
  • the sensing array is specifically a photodetector array, which includes a plurality of arrays distributed
  • the photodetector can be used as the above-mentioned optical sensing unit; the optical component 132 can be arranged above the sensing array of the light detecting part 134, and it can specifically include a light guide layer or a light path guide structure and other optical elements.
  • the light guide layer or light path guide structure is mainly used to guide the reflected light reflected from the surface of the finger to the sensing array for optical detection.
  • the optical component 132 and the light detecting part 134 may be packaged in the same optical fingerprint component.
  • the optical component 132 and the optical detection part 134 can be packaged in the same optical fingerprint chip, or the optical component 132 can be arranged outside the chip where the optical detection part 134 is located, for example, the optical component 132 can be attached to the Above the chip, or part of the components of the optical assembly 132 are integrated into the above-mentioned chip.
  • the light guide layer or light path guiding structure of the optical component 132 has multiple implementation schemes.
  • the light guide layer may be specifically a collimator layer made on a semiconductor silicon wafer, which has multiple collimators.
  • the collimating unit can be specifically a small hole, the reflected light reflected from the finger, the light that is perpendicularly incident on the collimating unit can pass through and be received by the optical sensor unit below it, and the incident angle Excessive light is attenuated by multiple reflections inside the collimating unit, so each optical sensor unit can basically only receive the reflected light reflected by the fingerprint pattern directly above it, so the sensor array can detect the finger Fingerprint image.
  • the light guide layer or the light path guide structure may also be an optical lens (Lens) layer, which has one or more lens units, such as a lens group composed of one or more aspheric lenses, which is used for The reflected light reflected from the finger is condensed to the sensing array of the light detection part 134 below it, so that the sensing array can perform imaging based on the reflected light, thereby obtaining a fingerprint image of the finger.
  • the optical lens layer may further have a pinhole formed in the optical path of the lens unit, and the pinhole may cooperate with the optical lens layer to expand the field of view of the optical fingerprint device, so as to improve the fingerprint imaging effect of the optical fingerprint device 130.
  • the light guide layer or the light path guide structure may also specifically adopt a micro-lens (Micro-Lens) layer.
  • the micro-lens layer has a micro-lens array formed by a plurality of micro-lenses. The process is formed above the sensing array of the light detecting part 134, and each microlens may correspond to at least one sensing unit in the sensing array, respectively.
  • other optical film layers may be formed between the micro lens layer and the sensing unit, such as a dielectric layer or a passivation layer. More specifically, a light blocking layer with micro holes may also be formed between the micro lens layer and the sensing unit. The micro-hole is formed between the corresponding micro-lens and the sensing unit.
  • the light blocking layer can block the optical interference between the adjacent micro-lens and the sensing unit, and make the light corresponding to the sensing unit converge into the micro-hole through the micro-lens And it is transmitted to the sensing unit through the micro-hole for optical fingerprint imaging.
  • a microlens layer can be further provided under the collimator layer or the optical lens layer.
  • the collimator layer or the optical lens layer is used in combination with the micro lens layer, its specific laminated structure or optical path may need to be adjusted according to actual needs.
  • the display screen 120 may adopt a display screen with a self-luminous display unit, such as an organic light-emitting diode (OLED) display screen or a micro-LED (Micro-LED) display screen.
  • a self-luminous display unit such as an organic light-emitting diode (OLED) display screen or a micro-LED (Micro-LED) display screen.
  • the optical fingerprint device 130 may use the display unit (ie, OLED light source) of the OLED display screen 120 located in the fingerprint detection area 103 as the excitation light source for optical fingerprint detection.
  • OLED light source the display unit of the OLED display screen 120 located in the fingerprint detection area 103.
  • the display screen 120 emits a beam of light 111 to the target finger 140 above the fingerprint detection area 103.
  • the light 111 is reflected on the surface of the finger 140 to form reflected light or scattered inside the finger 140.
  • the above-mentioned reflected light and scattered light are collectively referred to as reflected light. Because fingerprint ridges and valleys have different light reflection capabilities, the reflected light 151 from the fingerprint ridge and the reflected light 152 from the fingerprint valley have different light intensities. After the reflected light passes through the optical component 132, It is received by the sensing array 134 in the optical fingerprint device 130 and converted into a corresponding electrical signal, that is, a fingerprint detection signal; based on the fingerprint detection signal, fingerprint image data can be obtained, and fingerprint matching verification can be further performed, so that the electronic device 1 Realize the optical fingerprint recognition function.
  • the optical fingerprint device 130 may also use a built-in light source or an external light source to provide an optical signal for fingerprint detection.
  • the optical fingerprint device 130 can be applied to a non-self-luminous display screen, such as a liquid crystal display screen or other passively-luminous display screens.
  • a non-self-luminous display screen such as a liquid crystal display screen or other passively-luminous display screens.
  • the optical fingerprint system of the electronic device 1 may also include an excitation light source for optical fingerprint detection.
  • the optical fingerprint device 130 can be specifically an infrared light source or a light source of invisible light of a specific wavelength, which can be arranged under the backlight module of the liquid crystal display or in the edge area under the protective cover of the electronic device 1, and the optical fingerprint device 130 can be provided with a liquid crystal panel or Under the edge area of the protective cover and guided by the light path so that the fingerprint detection light can reach the optical fingerprint device 130; or, the optical fingerprint device 130 can also be arranged under the backlight module, and the backlight module passes through the diffusion sheet, the brightness enhancement sheet,
  • the film layer such as the reflective sheet has holes or other optical designs to allow the fingerprint detection light to pass through the liquid crystal panel and the backlight module and reach the optical fingerprint device 130.
  • the optical fingerprint device 130 adopts a built-in light source or an external light source to provide an optical signal for fingerprint detection, the detection principle is the same as that described above.
  • the electronic device 1 further includes a transparent protective cover plate, which may be a glass cover plate or a sapphire cover plate, which is located above the display screen 120 and covers the front surface of the electronic device 1.
  • a transparent protective cover plate which may be a glass cover plate or a sapphire cover plate, which is located above the display screen 120 and covers the front surface of the electronic device 1.
  • the electronic device 1 may further include a circuit board 150 which is arranged under the optical fingerprint device 130.
  • the optical fingerprint device 130 can be adhered to the circuit board 150 through adhesive, and is electrically connected to the circuit board 150 through soldering pads and metal wires.
  • the optical fingerprint device 130 can realize electrical interconnection and signal transmission with other peripheral circuits or other components of the electronic device 1 through the circuit board 150.
  • the optical fingerprint device 130 may receive the control signal of the processing unit of the electronic device 1 through the circuit board 150, and may also output the fingerprint detection signal from the optical fingerprint device 130 to the processing unit or the control unit of the electronic device 1 through the circuit board 150 Wait.
  • the optical fingerprint device 130 may include only one optical fingerprint sensor.
  • the fingerprint detection area 103 of the optical fingerprint device 130 has a small area and a fixed position. Therefore, the user needs to perform fingerprint input Press the finger to a specific position of the fingerprint detection area 103, otherwise the optical fingerprint device 130 may not be able to collect fingerprint images, resulting in poor user experience.
  • the optical fingerprint device 130 may specifically include a plurality of optical fingerprint sensors; the plurality of optical fingerprint sensors may be arranged side by side under the display screen 120 in a splicing manner, and the sensing areas of the plurality of optical fingerprint sensors are common The fingerprint detection area 103 of the optical fingerprint device 130 is constituted.
  • the fingerprint detection area 103 of the optical fingerprint device 130 may include multiple sub-areas, and each sub-area corresponds to the sensing area of one of the optical fingerprint sensors, so that the fingerprint collection area 103 of the optical fingerprint device 130 can be extended to display
  • the main area of the lower half of the screen is extended to the area where the finger is habitually pressed, so as to realize the blind fingerprint input operation.
  • the fingerprint detection area 103 can also be extended to half of the display area or even the entire display area, thereby realizing half-screen or full-screen fingerprint detection.
  • the sensing array in the optical fingerprint device may also be referred to as a pixel array
  • the optical sensing unit or sensing unit in the sensing array may also be referred to as a pixel unit.
  • optical fingerprint device in the embodiments of the present application may also be referred to as an optical fingerprint recognition module, a fingerprint recognition device, a fingerprint recognition module, a fingerprint module, a fingerprint acquisition device, etc., and the above terms can be replaced with each other.
  • the above-mentioned optical fingerprint device transmits the fingerprint detection signal generated by it, such as the fingerprint image, to the processing unit in the electronic device.
  • the processing unit compares the fingerprint image with a pre-stored user fingerprint image template, based on the comparison The result is fingerprint recognition.
  • fingerprint recognition if the similarity between the fingerprint image and the fingerprint image template is greater than a certain preset threshold, it means that the fingerprint image belongs to the user and the fingerprint recognition is successful.
  • the similarity between the fingerprint image and the fingerprint recognition template is less than a certain The preset threshold of, it means that the fingerprint image does not belong to the user, and the fingerprint recognition fails.
  • fingerprint afterimages will be left In the fingerprint recognition area, at this time, if the fingerprint recognition process is triggered, for example, if a small area touches the fingerprint recognition area without destroying the residual image, the optical fingerprint device will image the fingerprint residual image in the fingerprint recognition area Collection, thereby obtaining the wrong recognition result of successful fingerprint recognition, reduces the security performance of the fingerprint device, and is not conducive to improving the user experience.
  • this application proposes a fingerprint identification method. Before fingerprint identification, fingerprint afterimage is judged. If it is judged that it is not fingerprint afterimage, then the fingerprint identification process is carried out, so as to prevent fingerprint afterimage from causing fingerprint identification results. Impact and improve the security performance and user experience of fingerprint devices.
  • FIG. 2 is a schematic flowchart of a fingerprint identification method 100 provided by an embodiment of the present application.
  • the execution subject of the fingerprint identification method 100 may be a fingerprint identification device for collecting images in its fingerprint detection area for fingerprint identification.
  • the fingerprint identification device may be the optical fingerprint device in FIG. 1.
  • the fingerprint identification device may also be a capacitive fingerprint device or an ultrasonic fingerprint device.
  • the embodiment of the present application does not specifically limit the type of a specific fingerprint identification device.
  • the execution subject of the fingerprint identification method 100 may also be an electronic device including the aforementioned fingerprint identification device, for example, it may be an electronic device where the optical fingerprint device in FIG. 1 is located.
  • the fingerprint identification method 100 may include the following steps.
  • S110 Acquire a target image, and obtain a first residual image template image according to the target image.
  • fingerprint residual images remain in the fingerprint detection area, after image acquisition and image processing, it can be used to characterize fingerprint residual images based on the acquired target image.
  • the image template of the shadow that is, the above-mentioned first afterimage template image.
  • any fingerprint image acquisition method in the prior art can be used in this step.
  • the images acquired in this step include but are not limited to optical images, electrical images, or ultrasound images, which are not specifically described in the embodiment of this application. limited.
  • the first fingerprint residual image template image is collected, it can be stored in the memory for subsequent fingerprint identification processes.
  • the pressing area of the finger can be in the display area of the display screen, or in the non-display area, for example, located at the "HOME" key below the mobile phone display, or it can also be located behind the mobile phone.
  • the fingerprint detection area of the fingerprint detection device may be located in the display area of the display screen, the non-display area or the back cover of the mobile phone, which is not specifically limited in the embodiment of the present application.
  • S120 Collect an image to be recognized.
  • step S110 is executed to collect the target image
  • step S120 is executed again to collect the image to be recognized.
  • the above step S110 is the process of collecting the target image when one press is lifted, and this step S120 is the process of collecting the image to be recognized during the next press.
  • step S110 may also be a process of collecting one or more target images when any one or more times of pressing and lifting before collecting the image to be recognized.
  • the embodiment of the present application does not limit the specific time when step S110 occurs.
  • the fingerprint identification device collects the image to be identified in its fingerprint detection area.
  • the current to-be-recognized image collected in the fingerprint detection area is the user's fingerprint image.
  • the fingerprint detection area is empty, and the collected image to be recognized may be the fingerprint residual image left in the fingerprint detection area after the last press.
  • any fingerprint image collection method in the prior art can be used in this step.
  • the images collected in this step include, but are not limited to, optical images, electrical images, or ultrasound images, which are not specifically limited in the embodiments of this application. .
  • S130 According to the first residual image template image and the image to be recognized, determine whether the image to be recognized is a fingerprint residual image.
  • S140 Perform fingerprint recognition based on the judgment result.
  • the similarity of the first residual image template image obtained in step S110 and the image to be recognized acquired in step S120 may be compared. If the similarity of the first residual image template image and the image to be recognized is relatively high, the acquisition in step S120 will be described.
  • the image to be identified is not the actual fingerprint image of the finger, but the fingerprint residual image, which further illustrates that in step S120, the user's finger is not or is not effectively pressed during the fingerprint detection, and it cannot be determined that the fingerprint identification is successful this time.
  • the similarity between the first residual image template image and the image to be recognized is low, it can be determined that the image to be recognized is not a fingerprint residual image, that is, it is effectively pressed on the fingerprint recognition area at this time, so that the The image to be identified is subjected to the subsequent identification and detection process.
  • the first residual image template image is first obtained, and the residual image determination is performed based on the first residual image template image. If the image to be recognized is determined to be fingerprint residual image, it is OK It is understood that triggering the fingerprint recognition process is to touch the fingerprint recognition area in a small area without destroying the residual image. In other words, the trigger at this time is not the actual fingerprint image of the finger, so that the fingerprint recognition failure can be directly determined. In the previous fingerprint identification process, the lack of this judgment step will result in successful fingerprint identification due to the presence of fingerprint residual images, which will cause misidentification. Therefore, with the solution of the embodiment of the present application, it is possible to avoid using fingerprint residuals to make fingerprint recognition successful, reduce the misrecognition rate, and improve the security performance and user experience of the fingerprint device.
  • FIG. 3 shows a schematic flowchart of another method 100 for fingerprint identification.
  • step S110 may include the following steps.
  • S111 When pressing and lifting once, receive the first instruction information, and collect the target image.
  • the fingerprint identification device may receive first instruction information sent by other devices, and then collect the target image, where the first instruction information is used to indicate a pressing and lifting process.
  • the first instruction information is the instruction information sent by the display screen to the fingerprint identification device.
  • the display screen is a touch panel (TP) with a touch function, or may also be referred to as a touch display screen.
  • the touch screen can detect the information of the object pressing.
  • the touch screen is a capacitive touch screen.
  • the capacitance value of the area occurs The change causes the electrical signal corresponding to the area to change, and the touch screen detects the information of the object pressing through the change of the electrical signal.
  • the touch screen can also detect the information that the object is lifted after the pressing according to the change of the electrical signal.
  • the touch screen can directly send the instruction information (for example, the first instruction information mentioned above) to the fingerprint identification device.
  • the touch screen can also indirectly send the instruction information to the fingerprint identification device.
  • the instruction information is sent to the fingerprint identification device.
  • the touch screen can send the instruction information to the processing unit of the electronic device where it is located, and the processing unit then sends the corresponding instruction information to the fingerprint identification device.
  • the processor of the electronic device where the fingerprint recognition device is located After completing a certain target task according to the pressing action, the corresponding information is sent to the fingerprint identification device.
  • the embodiment of the present application does not limit the specific detection method.
  • the fingerprint recognition device can judge by itself whether the object is pressed and whether the process of changing from pressing to lifting, for example , The fingerprint recognition device can judge whether the object is pressed or changed from pressing to lifting based on the received light signal strength, electrical signal strength or sound wave signal strength. If the fingerprint recognition device is an optical fingerprint device, the light collected by the object is pressed The overall signal strength is weak, and after the object is lifted, the collected optical signal strength is overall higher than the optical signal strength when the object is pressed. Therefore, the movement change of the object from pressing to lifting can be judged according to the change of the light signal intensity.
  • the method for determining the lifting and pressing in the embodiment of the present application includes but is not limited to the above method, and the specific method is not limited in the embodiment of the present application.
  • the fingerprint identification device After judging that the object is pressed to lifted, the fingerprint identification device collects the target image in the fingerprint detection area.
  • the image may be an afterimage of fingerprints.
  • the captured target image is the user's fingerprint afterimage image
  • the captured target image is the non-user fingerprint afterimage image
  • the target image collected in case 1 needs to be used as the first fingerprint template image for fingerprint recognition, and the target image collected in cases 2 and 3 In the normal fingerprint identification process, it can be determined that the fingerprint identification fails, and it does not need to be used for subsequent fingerprint identification.
  • step S112 the target image in case 1 is deleted and selected as the first fingerprint template image for subsequent fingerprint recognition.
  • S112 Perform fingerprint recognition on the target image, and judge whether it is successful.
  • the fingerprint recognition process is performed on the captured target image, that is, it is determined whether the captured target image is a user's finger.
  • the target image can be compared with the user fingerprint template image to determine whether the target image is If the similarity of the user fingerprint image is high, it is determined that the target image is a user fingerprint image and the fingerprint recognition is successful; if the similarity is low, it is determined that the target image is not a user fingerprint image and the fingerprint recognition fails.
  • the user fingerprint template image is a fingerprint image collected by the user during fingerprint registration, or a user fingerprint image obtained by processing in other cases, and the user fingerprint template image can be used as a standard user fingerprint image to compare other images. Determine whether it is a user's fingerprint image.
  • the target image is a fingerprint residual image of the user
  • the target image may be used as the user's first residual image template image through a fingerprint recognition process.
  • the fingerprint identification process at the next pressing is the same as the fingerprint identification process in the prior art.
  • the fingerprint image collected during pressing can be directly compared with the user fingerprint template image to obtain the fingerprint identification result.
  • the above step S120 may include:
  • the fingerprint identification device may receive second instruction information sent by other devices, and then collect the image to be identified, where the second instruction information is used to indicate the next pressing process.
  • the fingerprint identification device may receive the second instruction information sent by the touch screen.
  • the process of detecting the pressing of the object on the touch screen and sending the instruction information to the fingerprint identification device can refer to the relevant description in the above step S111, which will not be repeated here.
  • the fingerprint identification device After judging the next pressing of the object, the fingerprint identification device collects the image to be identified in the fingerprint detection area.
  • the fingerprint recognition device needs to perform fingerprint recognition on the collected image to be recognized, so as to perform the corresponding operation.
  • this press is a normal press by a user’s finger or a non-user’s finger, even if there is a fingerprint residual image in the fingerprint detection area, the finger press will destroy the residual image.
  • the collected image to be recognized is a complete fingerprint image. It is not a fingerprint image.
  • the recognition image is a fingerprint image.
  • the above step S130 may include the following steps.
  • S131 Compare the image to be recognized with the first residual image template image, and determine whether the image to be recognized is a fingerprint residual image.
  • the first afterimage template image is a fingerprint afterimage image generated by the user after the last press.
  • the collected image to be recognized is a complete fingerprint image.
  • the complete fingerprint image is compared with the first residual image template image, and the comparison cannot be detected, so that it can be determined that the image to be recognized is not a fingerprint residual image. film.
  • the collected image to be recognized is still the last fingerprint afterimage image.
  • the fingerprint afterimage image is compared with the first afterimage template image, and the image to be identified can be determined by comparison detection. It is fingerprint afterimage.
  • the similarity between the image to be recognized and the first residual image template image can be compared to determine whether the image to be recognized is a fingerprint residual image.
  • the phase difference between the image to be recognized and the first residual template image can be calculated. If the phase difference is greater than a certain preset threshold, it means that the similarity between the image to be recognized and the first residual template image is low, and the image to be recognized can be determined
  • the recognition image is fingerprint afterimage; on the contrary, if the phase difference is less than or equal to a certain preset threshold, it means that the image to be recognized has a high similarity with the first afterimage template image, and it is determined that the image to be recognized is not fingerprint afterimage.
  • the method performs similarity comparison.
  • the similarity comparison method in this application can adopt any comparison method in the prior art, which is not specifically limited in the embodiments of this application.
  • the foregoing step S140 may include:
  • the similarity of the image to be identified and the user fingerprint template image are compared to determine whether the image to be identified is a user fingerprint, and the fingerprint identification result is determined.
  • the target image in the fingerprint detection area can be continuously collected, that is, the above steps S111 to S1122 are performed.
  • the newly acquired target image may be stored as a new afterimage template image, or the target image may replace the previous first afterimage template image and be stored in the memory.
  • the afterimage determination speed is faster, which can help save the storage space of the system.
  • FIG. 4 shows a schematic flowchart of another fingerprint identification method 100.
  • step S110 may include the following steps.
  • S101 During one pressing, receive a second instruction message, and collect a first image.
  • step S121 is the same as the execution process of step S121, which can be understood as the last pressing process of step S121, and step S111 is the method action executed when the object is lifted after this pressing.
  • the first image collected in this step may be the image to be recognized collected during this pressing.
  • reference may be made to the relevant description of the above step S121, which will not be repeated here.
  • S113 Perform fingerprint recognition on the first image, and judge whether it is successful.
  • collecting the above-mentioned first image and performing fingerprint recognition on the first image is a conventional fingerprint recognition process, and the result of the recognition process is used to determine whether to use the target image as the first residual image template image.
  • the first residual image template image in this application needs to be characterized as the fingerprint residual image of the user, after fingerprint recognition of the first image, if the fingerprint recognition is successful, it can be determined that the current pressing is a user's finger pressing. Therefore, The template image collected by lifting the user's finger can be stored as the first residual image template image after processing.
  • the collected target image is not used as the first afterimage template image.
  • the fingerprint recognition fails after the fingerprint recognition of the first image, it can be determined that the current pressing is not the user's finger pressing, and the target image is directly not used as the first residual image template image.
  • step S110 in the process of obtaining the first residual image template image according to the target image, in addition to the implementation methods in Figures 3 and 4, the target image can also be compared with the user fingerprint template image. If the similarity is greater than or equal to the preset Threshold, the target image is used as the first residual image template image; if the similarity is less than the preset threshold, the target image is not used as the first residual image template image.
  • the embodiment of the present application does not specifically limit the method and process of obtaining the first residual image template image according to the target image, and aims to obtain an image template used to characterize the user's fingerprint residual image.
  • FIG. 5 shows a schematic flowchart of another method 100 for fingerprint identification.
  • step S130 may include the following steps.
  • S132 According to the first residual image template image and the image to be recognized, determine whether the image to be recognized is a finger residual image.
  • the multiple afterimage template images may include the above-mentioned first afterimage template image and the second afterimage template image processed in other ways, for example, before the image to be recognized is recognized
  • the process in step S111 to step S1122 described above can be used for processing to obtain multiple afterimage template images.
  • multiple afterimage template images may be compared with the image to be recognized for similarity, if the similarity between the image to be recognized and at least one of the afterimage template images is greater than or equal to a preset threshold , To determine that the image to be recognized is fingerprint afterimage;
  • the similarity between the image to be identified and the multiple afterimage template images is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
  • FIG. 6 is a schematic block diagram of a fingerprint identification device 10 according to an embodiment of the present application.
  • the fingerprint identification device 10 includes: a fingerprint sensor 11 and a processor 12;
  • the fingerprint sensor 11 may include the optical component 132 and the light detecting part 134 in FIG. 1 described above.
  • the processor 12 may be located on the circuit board 150 of FIG. 1 and packaged together with the fingerprint sensor 11 to form a fingerprint identification device 10.
  • the processor 12 may not be located in the circuit board 150 in FIG. 1, and in addition to processing fingerprint images, the processor 12 may also perform other operation processing.
  • the fingerprint sensor 11 is used to collect the target image when it is pressed and lifted once, and to collect the image to be recognized when it is pressed the next time;
  • the processor 12 is configured to: obtain a target image, and process the target image to obtain a first residual image template image; obtain the image to be recognized, and determine whether the image to be recognized is a fingerprint residual image based on the first residual image template image and the image to be recognized , And perform fingerprint recognition based on the judgment result.
  • the fingerprint sensor 11 is specifically used to receive the first indication information and collect the target image when it is pressed and lifted once; at the next pressing, it receives the second indication information and collect the image to be recognized.
  • the first indication information and/or the second indication information are indication information sent by the touch display screen in the electronic device where the fingerprint identification device is located.
  • the processor 12 is specifically configured to: perform fingerprint recognition on the target image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine that the target image is not the first image. An afterimage template image.
  • the fingerprint sensor 11 is also used to collect an image for fingerprint recognition before pressing and lifting once.
  • the processor 12 is further configured to: obtain an image and perform fingerprint recognition on the image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine that the target image is not the first residual image template image.
  • the processor 12 is specifically configured to: compare the target image with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the target image is the first residual image template image; If it is less than the preset threshold, it is determined that the target image is not the first residual image template image.
  • the fingerprint identification device 10 further includes: a memory 13 configured to store the first residual image template image.
  • the processor 12 is specifically configured to: compare the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image; If the degree is less than the preset threshold, it is determined that the image to be recognized is not fingerprint afterimage.
  • the processor 12 is further configured to: obtain at least one second afterimage template image from the memory; compare the to-be-identified image with multiple afterimage template images, and the multiple afterimage template images include : The first afterimage template image and at least one second afterimage template image;
  • the similarity between the image to be identified and at least one of the afterimage template images of the plurality of afterimage template images is greater than or equal to the preset threshold, it is determined that the image to be identified is fingerprint afterimage
  • the similarity between the image to be identified and the multiple afterimage template images is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
  • the processor 12 is specifically configured to: if it is determined that the image to be identified is a fingerprint afterimage, determine that the fingerprint recognition has failed; if it is determined that the image to be identified is not a fingerprint afterimage, perform fingerprint identification on the image to be identified.
  • the processor 12 is specifically configured to: compare the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the fingerprint identification is successful;
  • the fingerprint sensor 11 is an optical fingerprint sensor.
  • the above-mentioned optical fingerprint sensor is disposed under the display screen of the electronic device where the fingerprint identification device 10 is located, and is used to receive the fingerprint light signal returned after being reflected or scattered from the finger above the display screen for fingerprint identification. Recognition.
  • Fig. 7 is a schematic block diagram of an electronic device according to an embodiment of the present application.
  • the electronic device 2 includes: a display screen 20 and the aforementioned fingerprint identification device 10.
  • the fingerprint identification device 10 is disposed under the display screen 20, and the fingerprint identification device 10 receives the fingerprint light signal reflected or scattered from the finger above the display screen 20 to perform fingerprint identification.
  • the display screen 20 is a touch display screen.
  • the display screen 20 may be an OLED screen or a liquid crystal display screen, which may be the display screen 120 in FIG. 1.
  • the size of the sequence number of each process does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory of the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • DDR SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • Enhanced SDRAM, ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • Synchronous Link Dynamic Random Access Memory Synchronous Link Dynamic Random Access Memory
  • DR RAM Direct Rambus RAM
  • the embodiment of the present application also proposes a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions.
  • the instructions are included in a portable electronic device that includes multiple application programs When executed, the portable electronic device can be made to execute the method of the foregoing embodiment.
  • the embodiment of the present application also proposes a computer program, which includes instructions, when the computer program is executed by a computer, the computer can execute the method of the above-mentioned embodiment.
  • An embodiment of the present application also provides a chip, which includes an input/output interface, at least one processor, at least one memory, and a bus.
  • the at least one memory is used to store instructions
  • the at least one processor is used to call the at least one memory. Instructions to execute the method of the above-mentioned embodiment.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A fingerprint identification method (100), an apparatus (10), and an electronic device (1), capable of reducing the false acceptance rate of fingerprint identification and improving the performance of fingerprint identification. The fingerprint identification method (100) comprises: acquiring a target image, and obtaining a first ghost template image according to the target image (S110); acquiring an image to be identified (S120); determining, according to the first ghost template image and the image to be identified, whether the image to be identified is a fingerprint ghost (S130); and performing fingerprint identification on the basis of the determination result (S140). By means of the fingerprint identification method (100), the first ghost template image is obtained before the image to be identified is acquired, ghost determination is performed according to the first ghost template image, and upon determination that the image to be identified is the fingerprint ghost, it can be directly determined that fingerprint identification fails (S141). Therefore, success of fingerprint identification caused by the fingerprint ghost can be avoided, the false acceptance rate is reduced, and the security performance and the user experience of the fingerprint apparatus (10) are improved.

Description

指纹识别方法、装置和电子设备Fingerprint identification method, device and electronic equipment 技术领域Technical field
本申请涉及指纹识别技术领域,并且更具体地,涉及一种指纹识别方法、装置和电子设备。This application relates to the field of fingerprint identification technology, and more specifically, to a fingerprint identification method, device, and electronic equipment.
背景技术Background technique
随着信息行业的高速发展,生物识别技术受到了越来越广泛的应用,特别地,由于不同用户的指纹不同,便于用于用户身份确认,因此,指纹识别技术已经广泛应用在移动终端、智能家居等多个领域,为用户信息提供安全保障。With the rapid development of the information industry, biometric technology has been widely used. In particular, because different users’ fingerprints are different, they are easy to use for user identification. Therefore, fingerprint recognition technology has been widely used in mobile terminals and smart phones. Home furnishing and other fields provide security for user information.
在一些场景中,例如当用户手指沾有脏污或者是在指纹识别区域中停留的时间较长,部分指纹残影可能会遗留在指纹识别区域中,影响后续的指纹识别效果,造成指纹误识别,增大了指纹识别的误识率(False Acceptance Rate,FAR)。In some scenarios, such as when the user’s finger is dirty or stays in the fingerprint recognition area for a long time, part of the fingerprint residual image may be left in the fingerprint recognition area, which will affect the subsequent fingerprint recognition effect and cause fingerprint identification errors. , Which increases the false acceptance rate (FAR) of fingerprint recognition.
因此,如何降低指纹识别的误识率,提高指纹识别的性能,是一项亟待解决的技术问题。Therefore, how to reduce the false recognition rate of fingerprint recognition and improve the performance of fingerprint recognition is a technical problem to be solved urgently.
发明内容Summary of the invention
本申请实施例提供了一种指纹识别方法、装置和电子设备,能够降低指纹识别的误识率,提高指纹识别的性能。The embodiments of the present application provide a fingerprint identification method, device, and electronic equipment, which can reduce the false identification rate of fingerprint identification and improve the performance of fingerprint identification.
第一方面,提供了一种指纹识别方法,包括:采集目标图像,根据该目标图像获取第一残影模板图像;采集待识别图像;根据该第一残影模板图像与该待识别图像,判断该待识别图像是否为指纹残影;基于判断结果进行指纹识别。In a first aspect, a fingerprint identification method is provided, which includes: acquiring a target image, acquiring a first residual image template image based on the target image; acquiring an image to be identified; and judging based on the first residual image template image and the image to be identified Whether the image to be recognized is a fingerprint afterimage; fingerprint recognition is performed based on the judgment result.
通过本申请实施例的方案,在采集待识别图像之前,首先获取第一残影模板图像,并根据该第一残影模板图像进行残影判断,若判断待识别图像为指纹残影,则可以直接判定指纹识别失败。而之前的指纹识别过程中,缺乏该判断步骤,则会因为指纹残影的存在导致指纹识别成功,从而引起误识。因此,采用本申请实施例的方案,能够避免利用指纹残影使得指纹识别成功,降低误识率,提高指纹装置的安全性能以及用户体验。Through the solution of the embodiment of this application, before the image to be recognized is collected, the first residual image template image is first acquired, and the residual image determination is performed based on the first residual image template image. If it is determined that the image to be recognized is a fingerprint residual image, then Directly determine that the fingerprint recognition fails. In the previous fingerprint identification process, the lack of this judgment step will result in successful fingerprint identification due to the presence of fingerprint residual images, which will cause misunderstandings. Therefore, with the solution of the embodiment of the present application, it is possible to avoid using fingerprint residuals to make fingerprint recognition successful, reduce the misrecognition rate, and improve the security performance and user experience of the fingerprint device.
在一种可能的实现方式中,该采集目标图像,包括:在一次按压抬起时,接收第一指示信息,采集该目标图像;该采集待识别图像,包括:在下一次按压时,接收第二指示信息,采集该待识别图像。In a possible implementation manner, the capturing of the target image includes: receiving the first indication information and capturing the target image during one press and lifting; the capturing the image to be recognized includes: receiving the second image during the next press Instruct information to collect the image to be recognized.
在一种可能的实现方式中,该第一指示信息和/或该第二指示信息为触摸显示屏发送的指示信息。In a possible implementation manner, the first indication information and/or the second indication information are indication information sent by the touch display screen.
在一种可能的实现方式中,该根据该目标图像获取该第一残影模板图像,包括:对该目标图像进行指纹识别,若指纹识别成功,将该目标图像作为该第一残影模板图像;若指纹识别失败,不将该目标图像作为该第一残影模板图像。In a possible implementation manner, the acquiring the first residual image template image according to the target image includes: performing fingerprint recognition on the target image, and if the fingerprint recognition is successful, using the target image as the first residual image template image ; If the fingerprint recognition fails, the target image is not used as the first residual image template image.
在一种可能的实现方式中,该根据该目标图像获取该第一残影模板图像,包括:在该一次按压抬起之前,采集图像进行指纹识别;若指纹识别成功,在该一次按压抬起时,将该目标图像作为该第一残影模板图像;若指纹识别失败,在该一次按压抬起时,则不将该目标图像作为该第一残影模板图像。In a possible implementation manner, the acquiring the first residual image template image according to the target image includes: before the one-time pressing and lifting, collecting the image for fingerprint recognition; if the fingerprint recognition is successful, performing the fingerprint recognition after the first pressing and lifting When the target image is used as the first residual image template image; if the fingerprint recognition fails, the target image is not used as the first residual image template image when the one-time pressing is lifted.
在一种可能的实现方式中,该根据该目标图像获取该第一残影模板图像,包括:将该目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则将该目标图像作为该第一残影模板图像;若相似度小于预设阈值,则不将该目标图像作为该第一残影模板图像。In a possible implementation manner, the acquiring the first residual image template image according to the target image includes: comparing the target image with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, then the target image As the first residual image template image; if the similarity is less than the preset threshold, the target image is not used as the first residual image template image.
在一种可能的实现方式中,该指纹识别方法还包括:存储该第一残影模板图像。In a possible implementation manner, the fingerprint identification method further includes: storing the first residual image template image.
在一种可能的实现方式中,该根据该第一残影模板图像与该待识别图像,判断该待识别图像是否为指纹残影,包括:将该待识别图像与该残影模板图像进行对比,若相似度大于等于预设阈值,判断该待识别图像为指纹残影;若相似度小于预设阈值,判断该待识别图像不为指纹残影。In a possible implementation manner, the judging whether the image to be recognized is a fingerprint afterimage based on the first residual image template image and the image to be recognized includes: comparing the image to be recognized with the residual image template image If the similarity is greater than or equal to the preset threshold, it is determined that the image to be identified is fingerprint afterimage; if the similarity is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
在一种可能的实现方式中,该指纹识别方法还包括:获取至少一张第二残影模板图像;该根据该第一残影模板图像与该待识别图像,判断该待识别图像是否为指纹残影,包括:将该待识别图像与多张残影模板图像对比,该多张残影模板图像包括:该第一残影模板图像与该至少一张第二残影模板图像;若该待识别图像与该多张残影模板图像中的至少一张残影模板图像相似度大于等于预设阈值,判断该待识别图像为指纹残影;若该待识别图像与该多张残影模板图像的相似度均小于预设阈值,判断该待识别图像不为指纹残 影。In a possible implementation, the fingerprint identification method further includes: acquiring at least one second afterimage template image; determining whether the image to be identified is a fingerprint based on the first afterimage template image and the image to be identified The afterimage includes: comparing the image to be recognized with a plurality of afterimage template images, the plurality of afterimage template images including: the first afterimage template image and the at least one second afterimage template image; The similarity between the recognition image and at least one residual image template image of the plurality of residual image template images is greater than or equal to a preset threshold, and it is determined that the image to be recognized is a fingerprint residual image; if the image to be recognized and the multiple residual image template images The similarity of is less than the preset threshold, and it is determined that the image to be recognized is not fingerprint afterimage.
在一种可能的实现方式中,该基于判断结果进行指纹识别,包括:若判断该待识别图像为指纹残影,确定指纹识别失败;若判断该待识别图像不为指纹残影,对该待识别图像进行指纹识别。In a possible implementation, the fingerprint recognition based on the judgment result includes: if it is judged that the image to be identified is a fingerprint afterimage, determining that the fingerprint recognition fails; if it is judged that the image to be identified is not a fingerprint afterimage, then Identify the image for fingerprint recognition.
在一种可能的实现方式中,该对该待识别图像进行指纹识别,包括:将该待识别图像与用户指纹模板图像进行对比,若相似度大于等于预设阈值,确定指纹识别成功;若相似度小于预设阈值,确定指纹识别失败。In a possible implementation manner, performing fingerprint recognition on the image to be recognized includes: comparing the image to be recognized with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determining that the fingerprint recognition is successful; If the degree is less than the preset threshold, it is determined that the fingerprint recognition has failed.
在一种可能的实现方式中,该第一残影模板图像与该待识别图像为光学指纹图像。In a possible implementation manner, the first residual image template image and the image to be recognized are optical fingerprint images.
第二方面,提供一种指纹识别装置,包括:指纹传感器和处理器;该指纹传感器被配置为:采集目标图像,并采集待识别图像;该处理器被配置为:获取该目标图像,并根据该目标图像处理得到第一残影模板图像;获取该待识别图像,并根据该第一残影模板图像与该待识别图像,判断该待识别图像是否为指纹残影,并基于判断结果进行指纹识别。In a second aspect, a fingerprint identification device is provided, including: a fingerprint sensor and a processor; the fingerprint sensor is configured to: collect a target image and collect the image to be recognized; the processor is configured to: The target image is processed to obtain a first residual image template image; the image to be recognized is acquired, and based on the first residual image template image and the image to be recognized, it is judged whether the image to be recognized is a fingerprint residual image, and fingerprinting is performed based on the judgment result Recognition.
在一种可能的实现方式中,该指纹传感器被配置为:在一次按压抬起时,接收第一指示信息,采集该目标图像;在下一次按压时,接收第二指示信息,采集该待识别图像。In a possible implementation manner, the fingerprint sensor is configured to receive the first indication information and collect the target image during one press to lift; during the next press, receive the second indication information and collect the image to be recognized .
在一种可能的实现方式中,该第一指示信息和/或该第二指示信息为该指纹识别装置所在的电子设备中的触摸显示屏发送的指示信息。In a possible implementation manner, the first indication information and/or the second indication information are indication information sent by a touch display screen in an electronic device where the fingerprint identification device is located.
在一种可能的实现方式中,该处理器被配置为:对该目标图像进行指纹识别;若指纹识别成功,确定该目标图像为该第一残影模板图像;若指纹识别失败,确定该目标图像不为该第一残影模板图像。In a possible implementation manner, the processor is configured to: perform fingerprint recognition on the target image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine the target The image is not the first residual image template image.
在一种可能的实现方式中,该指纹传感器还被配置为:在该一次按压抬起之前,采集图像进行指纹识别;该处理器还被配置为:获取该图像,并对该图像进行指纹识别;若指纹识别成功,确定该目标图像为该第一残影模板图像;若指纹识别失败,确定该目标图像不为该第一残影模板图像。In a possible implementation manner, the fingerprint sensor is further configured to collect an image for fingerprint recognition before the one-time press to lift; the processor is also configured to obtain the image and perform fingerprint recognition on the image If the fingerprint recognition is successful, the target image is determined to be the first residual image template image; if the fingerprint recognition fails, it is determined that the target image is not the first residual image template image.
在一种可能的实现方式中,该处理器被配置为:将该目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则确定该目标图像为该第一残影模板图像;若相似度小于预设阈值,则确定该目标图像不为该第一残影模板图像。In a possible implementation manner, the processor is configured to: compare the target image with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the target image is the first residual image template image; If the similarity is less than the preset threshold, it is determined that the target image is not the first residual image template image.
在一种可能的实现方式中,该指纹识别装置还包括:存储器,该存储器 被配置为存储该第一残影模板图像。In a possible implementation manner, the fingerprint identification device further includes: a memory configured to store the first residual image template image.
在一种可能的实现方式中,该处理器被配置为:将该待识别图像与该第一残影模板图像进行对比,若相似度大于等于预设阈值,判断该待识别图像为指纹残影;若相似度小于预设阈值,判断该待识别图像不为指纹残影。In a possible implementation manner, the processor is configured to: compare the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image ; If the similarity is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
在一种可能的实现方式中,该处理器还被配置为:从存储器中获取至少一张第二残影模板图像;将该待识别图像与多张残影模板图像对比,该多张残影模板图像包括:该第一残影模板图像与该至少一张第二残影模板图像;若该待识别图像与该多张残影模板图像中的至少一张残影模板图像相似度大于等于预设阈值,判断该待识别图像为指纹残影;若该待识别图像与该多张残影模板图像的相似度均小于预设阈值,判断该待识别图像不为指纹残影。In a possible implementation manner, the processor is further configured to: obtain at least one second afterimage template image from the memory; compare the to-be-identified image with multiple afterimage template images, and the multiple afterimage template images The template image includes: the first residual image template image and the at least one second residual image template image; A threshold is set to determine that the image to be identified is a fingerprint afterimage; if the similarity between the image to be identified and the multiple afterimage template images is less than a preset threshold, it is determined that the image to be identified is not a fingerprint afterimage.
在一种可能的实现方式中,该处理器被配置为:若判断该待识别图像为指纹残影,确定指纹识别失败;若判断该待识别图像不为指纹残影,对该待识别图像进行指纹识别。In a possible implementation, the processor is configured to: if it is determined that the image to be recognized is a fingerprint afterimage, determine that the fingerprint recognition has failed; if it is determined that the image to be identified is not a fingerprint afterimage, perform a process on the image to be recognized Fingerprint recognition.
在一种可能的实现方式中,该处理器被配置为:将该待识别图像与用户指纹模板图像进行对比,若相似度大于等于预设阈值,确定指纹识别成功;若相似度小于预设阈值,确定指纹识别失败。In a possible implementation manner, the processor is configured to: compare the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the fingerprint identification is successful; if the similarity is less than the preset threshold To confirm that the fingerprint recognition failed.
在一种可能的实现方式中,该指纹传感器为光学指纹传感器。In a possible implementation, the fingerprint sensor is an optical fingerprint sensor.
在一种可能的实现方式中,该光学指纹传感器设置在该指纹识别装置所在的电子设备的显示屏下方,用于接收从该显示屏上方的手指反射或散射后返回的指纹光信号,以进行指纹识别。In a possible implementation, the optical fingerprint sensor is arranged under the display screen of the electronic device where the fingerprint identification device is located, and is used to receive the fingerprint light signal returned after being reflected or scattered from the finger above the display screen to perform Fingerprint recognition.
第三方面,提供一种电子设备,包括:显示屏,以及第二方面或其中任一种可能的实现方式中的指纹识别装置。In a third aspect, an electronic device is provided, including: a display screen, and the fingerprint identification device in the second aspect or any one of its possible implementation manners.
在一种可能的实现方式中,该指纹识别装置设置于该显示屏下方,该指纹识别装置接收从该显示屏上方的手指反射或散射后返回的指纹光信号,以进行指纹识别。In a possible implementation manner, the fingerprint identification device is arranged below the display screen, and the fingerprint identification device receives the fingerprint light signal reflected or scattered from the finger above the display screen to perform fingerprint identification.
在一种可能的实现方式中,该显示屏为触摸显示屏。In one possible implementation, the display screen is a touch display screen.
附图说明Description of the drawings
图1是本申请实施例所适用的电子设备的结构示意图。FIG. 1 is a schematic diagram of the structure of an electronic device to which an embodiment of the present application is applied.
图2是根据本申请实施例的一种指纹识别方法的示意性流程图。Fig. 2 is a schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
图3是根据本申请实施例的另一指纹识别方法的示意性流程图。Fig. 3 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
图4是根据本申请实施例的另一指纹识别方法的示意性流程图。Fig. 4 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
图5是根据本申请实施例的另一指纹识别方法的示意性流程图。Fig. 5 is a schematic flowchart of another fingerprint identification method according to an embodiment of the present application.
图6是根据本申请实施例的指纹识别装置的示意性框图。Fig. 6 is a schematic block diagram of a fingerprint identification device according to an embodiment of the present application.
图7是根据本申请实施例的电子设备的示意性框图。Fig. 7 is a schematic block diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
应理解,本申请实施例可以应用于指纹识别系统,包括但不限于光学指纹识别系统、电容指纹识别系统或者其它基于指纹成像的指纹识别产品,本申请实施例仅以光学指纹系统为例进行说明,但不应对本申请实施例构成任何限定,本申请实施例同样适用于其他采用光学成像技术的系统等。It should be understood that the embodiments of this application can be applied to fingerprint identification systems, including but not limited to optical fingerprint identification systems, capacitive fingerprint identification systems or other fingerprint identification products based on fingerprint imaging. The embodiments of this application only take optical fingerprint systems as an example for illustration. However, the embodiments of the present application should not constitute any limitation, and the embodiments of the present application are also applicable to other systems using optical imaging technology.
作为一种常见的应用场景,本申请实施例提供的指纹系统可以应用在智能手机、平板电脑以及其他具有显示屏的移动终端,或者智能门锁、指纹考勤机、智能车载装置等其他电子设备中。As a common application scenario, the fingerprint system provided by the embodiments of this application can be applied to smart phones, tablet computers and other mobile terminals with display screens, or other electronic devices such as smart door locks, fingerprint attendance machines, smart car-mounted devices, etc. .
更具体地,在上述电子设备中,指纹识别装置可以具体为光学指纹装置、电学指纹装置或者还可以是超声波指纹装置,在一些情况下,其可以设置在显示屏下方的局部区域或者全部区域,从而形成屏下(Under-display)指纹系统。或者,该指纹识别装置也可以部分或者全部集成至电子设备的显示屏内部,从而形成屏内(In-display)光学指纹系统。More specifically, in the above electronic equipment, the fingerprint identification device may be specifically an optical fingerprint device, an electrical fingerprint device, or an ultrasonic fingerprint device. In some cases, it may be arranged in a partial area or an entire area under the display screen. So as to form an under-display fingerprint system. Alternatively, the fingerprint identification device can also be partially or fully integrated into the display screen of the electronic device to form an in-display optical fingerprint system.
如图1所示为本申请实施例可以适用的电子设备的结构示意图,该电子设备1包括光学指纹装置130,可选地,该电子设备1还可以包括显示屏120,其中,光学指纹装置130设置在显示屏120下方的局部区域。该光学指纹装置130包括光学指纹传感器,该光学指纹传感器包括具有多个光学感应单元131的感应阵列133,该感应阵列133所在区域或者其感应区域为光学指纹装置130的指纹检测区域103。如图1所示,指纹检测区域103位于显示屏120的显示区域之中。在一种替代实施例中,光学指纹装置130还可以设置在其他位置,比如显示屏120的侧面或者电子设备1的边缘非透光区域,并通过光路设计来将显示屏120的至少部分显示区域的光信号导引到光学指纹装置130,从而使得指纹检测区域103实际上位于显示屏120的显示区域。FIG. 1 is a schematic structural diagram of an electronic device to which the embodiments of this application can be applied. The electronic device 1 includes an optical fingerprint device 130. Optionally, the electronic device 1 may also include a display screen 120, wherein the optical fingerprint device 130 Set in a partial area below the display screen 120. The optical fingerprint device 130 includes an optical fingerprint sensor, and the optical fingerprint sensor includes a sensing array 133 having a plurality of optical sensing units 131, and the area where the sensing array 133 is located or its sensing area is the fingerprint detection area 103 of the optical fingerprint device 130. As shown in FIG. 1, the fingerprint detection area 103 is located in the display area of the display screen 120. In an alternative embodiment, the optical fingerprint device 130 can also be arranged in other positions, such as the side of the display screen 120 or the non-transmissive area at the edge of the electronic device 1, and at least part of the display area of the display screen 120 is designed through the optical path. The optical signal of is guided to the optical fingerprint device 130, so that the fingerprint detection area 103 is actually located in the display area of the display screen 120.
应当理解,指纹检测区域103的面积可以与光学指纹装置130的感应阵 列的面积不同,例如通过例如透镜成像的光路设计、反射式折叠光路设计或者其他光线汇聚或者反射等光路设计,可以使得光学指纹装置130的指纹检测区域103的面积大于光学指纹装置130感应阵列的面积。在其他替代实现方式中,如果采用例如光线准直方式进行光路引导,光学指纹装置130的指纹检测区域103也可以设计成与该光学指纹装置130的感应阵列的面积基本一致。It should be understood that the area of the fingerprint detection area 103 may be different from the area of the sensing array of the optical fingerprint device 130. For example, through the optical path design such as lens imaging, reflective folding optical path design, or other optical path design such as light convergence or reflection, the optical fingerprint can be made The area of the fingerprint detection area 103 of the device 130 is larger than the area of the sensing array of the optical fingerprint device 130. In other alternative implementations, if for example, light collimation is used for light path guidance, the fingerprint detection area 103 of the optical fingerprint device 130 can also be designed to be substantially the same as the area of the sensing array of the optical fingerprint device 130.
因此,使用者在需要对电子设备进行解锁或者其他指纹验证的时候,只需要将手指按压在位于显示屏120的指纹检测区域103,便可以实现指纹输入。由于指纹检测可以在屏内实现,因此采用上述结构的电子设备1无需其正面专门预留空间来设置指纹按键(比如Home键),从而可以采用全面屏方案,即显示屏120的显示区域可以基本扩展到整个电子设备1的正面。Therefore, when the user needs to unlock the electronic device or perform other fingerprint verification, he only needs to press his finger on the fingerprint detection area 103 located on the display screen 120 to realize fingerprint input. Since fingerprint detection can be implemented in the screen, the electronic device 1 with the above structure does not need to reserve space on the front side for the fingerprint button (such as the Home button), so a full-screen solution can be adopted, that is, the display area of the display screen 120 can be basically Extend to the front of the entire electronic device 1.
作为一种可选的实现方式,如图1所示,光学指纹装置130包括光检测部分134和光学组件132,该光检测部分134包括感应阵列以及与该感应阵列电性连接的读取电路及其他辅助电路,其可以在通过半导体工艺制作在一个芯片(Die),比如光学成像芯片或者光学指纹传感器,该感应阵列具体为光探测器(Photo detector)阵列,其包括多个呈阵列式分布的光探测器,该光探测器可以作为上述的光学感应单元;该光学组件132可以设置在光检测部分134的感应阵列的上方,其可以具体包括导光层或光路引导结构以及其他光学元件,该导光层或光路引导结构主要用于从手指表面反射回来的反射光导引至感应阵列进行光学检测。As an optional implementation, as shown in FIG. 1, the optical fingerprint device 130 includes a light detecting portion 134 and an optical component 132. The light detecting portion 134 includes a sensing array and a reading circuit electrically connected to the sensing array. Other auxiliary circuits, which can be fabricated on a chip (Die) through a semiconductor process, such as an optical imaging chip or an optical fingerprint sensor. The sensing array is specifically a photodetector array, which includes a plurality of arrays distributed The photodetector can be used as the above-mentioned optical sensing unit; the optical component 132 can be arranged above the sensing array of the light detecting part 134, and it can specifically include a light guide layer or a light path guide structure and other optical elements. The light guide layer or light path guide structure is mainly used to guide the reflected light reflected from the surface of the finger to the sensing array for optical detection.
在具体实现上,光学组件132可以与光检测部分134封装在同一个光学指纹部件。比如,该光学组件132可以与该光学检测部分134封装在同一个光学指纹芯片,也可以将该光学组件132设置在该光检测部分134所在的芯片外部,比如将该光学组件132贴合在该芯片上方,或者将该光学组件132的部分元件集成在上述芯片之中。In terms of specific implementation, the optical component 132 and the light detecting part 134 may be packaged in the same optical fingerprint component. For example, the optical component 132 and the optical detection part 134 can be packaged in the same optical fingerprint chip, or the optical component 132 can be arranged outside the chip where the optical detection part 134 is located, for example, the optical component 132 can be attached to the Above the chip, or part of the components of the optical assembly 132 are integrated into the above-mentioned chip.
其中,光学组件132的导光层或者光路引导结构有多种实现方案,比如,该导光层可以具体为在半导体硅片制作而成的准直器(Collimator)层,其具有多个准直单元或者微孔阵列,该准直单元可以具体为小孔,从手指反射回来的反射光中,垂直入射到该准直单元的光线可以穿过并被其下方的光学感应单元接收,而入射角度过大的光线在该准直单元内部经过多次反射被衰减掉,因此每一个光学感应单元基本只能接收到其正上方的指纹纹路反射回 来的反射光,从而感应阵列便可以检测出手指的指纹图像。Among them, the light guide layer or light path guiding structure of the optical component 132 has multiple implementation schemes. For example, the light guide layer may be specifically a collimator layer made on a semiconductor silicon wafer, which has multiple collimators. Unit or micro-hole array, the collimating unit can be specifically a small hole, the reflected light reflected from the finger, the light that is perpendicularly incident on the collimating unit can pass through and be received by the optical sensor unit below it, and the incident angle Excessive light is attenuated by multiple reflections inside the collimating unit, so each optical sensor unit can basically only receive the reflected light reflected by the fingerprint pattern directly above it, so the sensor array can detect the finger Fingerprint image.
在另一种实施例中,导光层或者光路引导结构也可以为光学透镜(Lens)层,其具有一个或多个透镜单元,比如一个或多个非球面透镜组成的透镜组,其用于将从手指反射回来的反射光汇聚到其下方的光检测部分134的感应阵列,以使得该感应阵列可以基于该反射光进行成像,从而得到该手指的指纹图像。可选地,该光学透镜层在该透镜单元的光路中还可以形成有针孔,该针孔可以配合该光学透镜层扩大光学指纹装置的视场,以提高光学指纹装置130的指纹成像效果。In another embodiment, the light guide layer or the light path guide structure may also be an optical lens (Lens) layer, which has one or more lens units, such as a lens group composed of one or more aspheric lenses, which is used for The reflected light reflected from the finger is condensed to the sensing array of the light detection part 134 below it, so that the sensing array can perform imaging based on the reflected light, thereby obtaining a fingerprint image of the finger. Optionally, the optical lens layer may further have a pinhole formed in the optical path of the lens unit, and the pinhole may cooperate with the optical lens layer to expand the field of view of the optical fingerprint device, so as to improve the fingerprint imaging effect of the optical fingerprint device 130.
在其他实施例中,导光层或者光路引导结构也可以具体采用微透镜(Micro-Lens)层,该微透镜层具有由多个微透镜形成的微透镜阵列,其可以通过半导体生长工艺或者其他工艺形成在光检测部分134的感应阵列上方,并且每一个微透镜可以分别对应于感应阵列中的至少一个感应单元。并且,微透镜层和感应单元之间还可以形成其他光学膜层,比如介质层或者钝化层,更具体地,微透镜层和感应单元之间还可以包括具有微孔的挡光层,其中该微孔形成在其对应的微透镜和感应单元之间,挡光层可以阻挡相邻微透镜和感应单元之间的光学干扰,并使得感应单元所对应的光线通过微透镜汇聚到微孔内部并经由该微孔传输到该感应单元以进行光学指纹成像。应当理解,上述光路引导结构的几种实现方案可以单独使用也可以结合使用,比如,可以在准直器层或者光学透镜层下方进一步设置微透镜层。当然,在准直器层或者光学透镜层与微透镜层结合使用时,其具体叠层结构或者光路可能需要按照实际需要进行调整。In other embodiments, the light guide layer or the light path guide structure may also specifically adopt a micro-lens (Micro-Lens) layer. The micro-lens layer has a micro-lens array formed by a plurality of micro-lenses. The process is formed above the sensing array of the light detecting part 134, and each microlens may correspond to at least one sensing unit in the sensing array, respectively. In addition, other optical film layers may be formed between the micro lens layer and the sensing unit, such as a dielectric layer or a passivation layer. More specifically, a light blocking layer with micro holes may also be formed between the micro lens layer and the sensing unit. The micro-hole is formed between the corresponding micro-lens and the sensing unit. The light blocking layer can block the optical interference between the adjacent micro-lens and the sensing unit, and make the light corresponding to the sensing unit converge into the micro-hole through the micro-lens And it is transmitted to the sensing unit through the micro-hole for optical fingerprint imaging. It should be understood that several implementation solutions of the above-mentioned light path guiding structure can be used alone or in combination. For example, a microlens layer can be further provided under the collimator layer or the optical lens layer. Of course, when the collimator layer or the optical lens layer is used in combination with the micro lens layer, its specific laminated structure or optical path may need to be adjusted according to actual needs.
作为一种可选的实施例,显示屏120可以采用具有自发光显示单元的显示屏,比如有机发光二极管(Organic Light-Emitting Diode,OLED)显示屏或者微型发光二极管(Micro-LED)显示屏。以采用OLED显示屏为例,光学指纹装置130可以利用OLED显示屏120位于指纹检测区域103的显示单元(即OLED光源)来作为光学指纹检测的激励光源。当手指140按压在指纹检测区域103时,显示屏120向指纹检测区域103上方的目标手指140发出一束光111,该光111在手指140的表面发生反射形成反射光或者经过手指140内部散射而形成散射光,在相关专利申请中,为便于描述,上述反射光和散射光统称为反射光。由于指纹的脊(ridge)与谷(valley)对于光的反射能力不同,因此,来自指纹脊的反射光151和来自指纹谷的反射光152 具有不同的光强,反射光经过光学组件132后,被光学指纹装置130中的感应阵列134所接收并转换为相应的电信号,即指纹检测信号;基于该指纹检测信号便可以获得指纹图像数据,并且可以进一步进行指纹匹配验证,从而在电子设备1实现光学指纹识别功能。As an optional embodiment, the display screen 120 may adopt a display screen with a self-luminous display unit, such as an organic light-emitting diode (OLED) display screen or a micro-LED (Micro-LED) display screen. Taking the OLED display screen as an example, the optical fingerprint device 130 may use the display unit (ie, OLED light source) of the OLED display screen 120 located in the fingerprint detection area 103 as the excitation light source for optical fingerprint detection. When the finger 140 is pressed on the fingerprint detection area 103, the display screen 120 emits a beam of light 111 to the target finger 140 above the fingerprint detection area 103. The light 111 is reflected on the surface of the finger 140 to form reflected light or scattered inside the finger 140. To form scattered light, in related patent applications, for ease of description, the above-mentioned reflected light and scattered light are collectively referred to as reflected light. Because fingerprint ridges and valleys have different light reflection capabilities, the reflected light 151 from the fingerprint ridge and the reflected light 152 from the fingerprint valley have different light intensities. After the reflected light passes through the optical component 132, It is received by the sensing array 134 in the optical fingerprint device 130 and converted into a corresponding electrical signal, that is, a fingerprint detection signal; based on the fingerprint detection signal, fingerprint image data can be obtained, and fingerprint matching verification can be further performed, so that the electronic device 1 Realize the optical fingerprint recognition function.
在其他实施例中,光学指纹装置130也可以采用内置光源或者外置光源来提供用于进行指纹检测的光信号。在这种情况下,该光学指纹装置130可以适用于非自发光显示屏,比如液晶显示屏或者其他的被动发光显示屏。以应用在具有背光模组和液晶面板的液晶显示屏为例,为支持液晶显示屏的屏下指纹检测,电子设备1的光学指纹系统还可以包括用于光学指纹检测的激励光源,该激励光源可以具体为红外光源或者特定波长非可见光的光源,其可以设置在液晶显示屏的背光模组下方或者设置在电子设备1的保护盖板下方的边缘区域,而光学指纹装置130可以设置液晶面板或者保护盖板的边缘区域下方并通过光路引导以使得指纹检测光可以到达光学指纹装置130;或者,光学指纹装置130也可以设置在背光模组下方,且背光模组通过对扩散片、增亮片、反射片等膜层进行开孔或者其他光学设计以允许指纹检测光穿过液晶面板和背光模组并到达光学指纹装置130。当采用光学指纹装置130采用内置光源或者外置光源来提供用于进行指纹检测的光信号时,其检测原理与上面描述内容是一致的。In other embodiments, the optical fingerprint device 130 may also use a built-in light source or an external light source to provide an optical signal for fingerprint detection. In this case, the optical fingerprint device 130 can be applied to a non-self-luminous display screen, such as a liquid crystal display screen or other passively-luminous display screens. Taking a liquid crystal display with a backlight module and a liquid crystal panel as an example, in order to support the under-screen fingerprint detection of the liquid crystal display, the optical fingerprint system of the electronic device 1 may also include an excitation light source for optical fingerprint detection. It can be specifically an infrared light source or a light source of invisible light of a specific wavelength, which can be arranged under the backlight module of the liquid crystal display or in the edge area under the protective cover of the electronic device 1, and the optical fingerprint device 130 can be provided with a liquid crystal panel or Under the edge area of the protective cover and guided by the light path so that the fingerprint detection light can reach the optical fingerprint device 130; or, the optical fingerprint device 130 can also be arranged under the backlight module, and the backlight module passes through the diffusion sheet, the brightness enhancement sheet, The film layer such as the reflective sheet has holes or other optical designs to allow the fingerprint detection light to pass through the liquid crystal panel and the backlight module and reach the optical fingerprint device 130. When the optical fingerprint device 130 adopts a built-in light source or an external light source to provide an optical signal for fingerprint detection, the detection principle is the same as that described above.
应当理解的是,在具体实现上,电子设备1还包括透明保护盖板,该盖板可以为玻璃盖板或者蓝宝石盖板,其位于显示屏120的上方并覆盖电子设备1的正面。因为,本申请实施例中,所谓的手指按压在显示屏120实际上是指按压在显示屏120上方的盖板或者覆盖该盖板的保护层表面。It should be understood that, in specific implementation, the electronic device 1 further includes a transparent protective cover plate, which may be a glass cover plate or a sapphire cover plate, which is located above the display screen 120 and covers the front surface of the electronic device 1. Because, in the embodiment of the present application, the so-called finger pressing on the display screen 120 actually refers to pressing on the cover plate above the display screen 120 or covering the surface of the protective layer of the cover plate.
还应当理解,电子设备1还可以包括电路板150,该电路板设置在光学指纹装置130的下方。光学指纹装置130可以通过背胶粘接在电路板150上,并通过焊盘及金属线焊接与电路板150实现电性连接。光学指纹装置130可以通过电路板150实现与其他外围电路或者电子设备1的其他元件的电性互连和信号传输。比如,光学指纹装置130可以通过电路板150接收电子设备1的处理单元的控制信号,并且还可以通过电路板150将来自光学指纹装置130的指纹检测信号输出给电子设备1的处理单元或者控制单元等。It should also be understood that the electronic device 1 may further include a circuit board 150 which is arranged under the optical fingerprint device 130. The optical fingerprint device 130 can be adhered to the circuit board 150 through adhesive, and is electrically connected to the circuit board 150 through soldering pads and metal wires. The optical fingerprint device 130 can realize electrical interconnection and signal transmission with other peripheral circuits or other components of the electronic device 1 through the circuit board 150. For example, the optical fingerprint device 130 may receive the control signal of the processing unit of the electronic device 1 through the circuit board 150, and may also output the fingerprint detection signal from the optical fingerprint device 130 to the processing unit or the control unit of the electronic device 1 through the circuit board 150 Wait.
另一方面,在某些实施例中,光学指纹装置130可以仅包括一个光学指纹传感器,此时光学指纹装置130的指纹检测区域103的面积较小且位置固 定,因此用户在进行指纹输入时需要将手指按压到指纹检测区域103的特定位置,否则光学指纹装置130可能无法采集到指纹图像而造成用户体验不佳。在其他替代实施例中,光学指纹装置130可以具体包括多个光学指纹传感器;该多个光学指纹传感器可以通过拼接方式并排设置在显示屏120的下方,且该多个光学指纹传感器的感应区域共同构成光学指纹装置130的指纹检测区域103。也即是说,光学指纹装置130的指纹检测区域103可以包括多个子区域,每个子区域分别对应于其中一个光学指纹传感器的感应区域,从而将光学指纹装置130的指纹采集区域103可以扩展到显示屏的下半部分的主要区域,即扩展到手指惯常按压区域,从而实现盲按式指纹输入操作。可替代地,当光学指纹传感器数量足够时,指纹检测区域103还可以扩展到半个显示区域甚至整个显示区域,从而实现半屏或者全屏指纹检测。On the other hand, in some embodiments, the optical fingerprint device 130 may include only one optical fingerprint sensor. At this time, the fingerprint detection area 103 of the optical fingerprint device 130 has a small area and a fixed position. Therefore, the user needs to perform fingerprint input Press the finger to a specific position of the fingerprint detection area 103, otherwise the optical fingerprint device 130 may not be able to collect fingerprint images, resulting in poor user experience. In other alternative embodiments, the optical fingerprint device 130 may specifically include a plurality of optical fingerprint sensors; the plurality of optical fingerprint sensors may be arranged side by side under the display screen 120 in a splicing manner, and the sensing areas of the plurality of optical fingerprint sensors are common The fingerprint detection area 103 of the optical fingerprint device 130 is constituted. In other words, the fingerprint detection area 103 of the optical fingerprint device 130 may include multiple sub-areas, and each sub-area corresponds to the sensing area of one of the optical fingerprint sensors, so that the fingerprint collection area 103 of the optical fingerprint device 130 can be extended to display The main area of the lower half of the screen is extended to the area where the finger is habitually pressed, so as to realize the blind fingerprint input operation. Alternatively, when the number of optical fingerprint sensors is sufficient, the fingerprint detection area 103 can also be extended to half of the display area or even the entire display area, thereby realizing half-screen or full-screen fingerprint detection.
还应理解,在本申请实施例中,光学指纹装置中的感应阵列也可以称为像素阵列,感应阵列中的光学感应单元或感应单元也可称为像素单元。It should also be understood that, in the embodiments of the present application, the sensing array in the optical fingerprint device may also be referred to as a pixel array, and the optical sensing unit or sensing unit in the sensing array may also be referred to as a pixel unit.
需要说明的是,本申请实施例中的光学指纹装置也可以称为光学指纹识别模组、指纹识别装置、指纹识别模组、指纹模组、指纹采集装置等,上述术语可相互替换。It should be noted that the optical fingerprint device in the embodiments of the present application may also be referred to as an optical fingerprint recognition module, a fingerprint recognition device, a fingerprint recognition module, a fingerprint module, a fingerprint acquisition device, etc., and the above terms can be replaced with each other.
在目前的指纹识别过程中,上述光学指纹装置将其产生的指纹检测信号,例如指纹图像传输至电子设备中的处理单元,该处理单元将指纹图像与预存的用户指纹图像模板进行对比,基于对比结果进行指纹识别。在一些实施方式中,若指纹图像与指纹图像模板的相似度大于一定的预设阈值,则说明该指纹图像属于用户,指纹识别成功,相反的,若指纹图像与指纹识别模板的相似度小于一定的预设阈值,则说明该指纹图像不属于用户,指纹识别失败。In the current fingerprint identification process, the above-mentioned optical fingerprint device transmits the fingerprint detection signal generated by it, such as the fingerprint image, to the processing unit in the electronic device. The processing unit compares the fingerprint image with a pre-stored user fingerprint image template, based on the comparison The result is fingerprint recognition. In some embodiments, if the similarity between the fingerprint image and the fingerprint image template is greater than a certain preset threshold, it means that the fingerprint image belongs to the user and the fingerprint recognition is successful. On the contrary, if the similarity between the fingerprint image and the fingerprint recognition template is less than a certain The preset threshold of, it means that the fingerprint image does not belong to the user, and the fingerprint recognition fails.
特别地,在一些特殊情况下,例如,若用户手指上带有脏污,或者是用户手指按压时间较长,又或者是其它情况下,在用户手指按压指纹识别区域后,会遗留指纹残影在指纹识别区域中,此时,若触发指纹识别过程,例如,在不破坏残影的情况下,小面积的触碰指纹识别区域,光学指纹装置会对指纹识别区域中的指纹残影进行图像采集,从而得到指纹识别成功的错误识别结果,降低了指纹装置的安全性能,不利于提高用户体验。In particular, in some special cases, for example, if the user's finger is dirty, or the user's finger is pressed for a long time, or in other cases, after the user's finger presses the fingerprint recognition area, fingerprint afterimages will be left In the fingerprint recognition area, at this time, if the fingerprint recognition process is triggered, for example, if a small area touches the fingerprint recognition area without destroying the residual image, the optical fingerprint device will image the fingerprint residual image in the fingerprint recognition area Collection, thereby obtaining the wrong recognition result of successful fingerprint recognition, reduces the security performance of the fingerprint device, and is not conducive to improving the user experience.
基于上述问题,本申请提出一种指纹识别的方法,在指纹识别之前,先进行指纹残影判断,若判断不是指纹残影,再进行指纹识别过程,从而能够 避免指纹残影对指纹识别结果造成影响,提高指纹装置的安全性能以及用户体验。Based on the above problems, this application proposes a fingerprint identification method. Before fingerprint identification, fingerprint afterimage is judged. If it is judged that it is not fingerprint afterimage, then the fingerprint identification process is carried out, so as to prevent fingerprint afterimage from causing fingerprint identification results. Impact and improve the security performance and user experience of fingerprint devices.
以下,结合图2至图5,详细介绍本申请实施例的指纹识别方法。Hereinafter, the fingerprint identification method of the embodiment of the present application will be described in detail with reference to FIGS. 2 to 5.
图2是本申请实施例提供的一种指纹识别方法100的示意性流程图。FIG. 2 is a schematic flowchart of a fingerprint identification method 100 provided by an embodiment of the present application.
可选地,该指纹识别方法100的执行主体可以为一种指纹识别装置,用于采集其指纹检测区域中的图像以进行指纹识别。例如,该指纹识别装置可以为图1中的光学指纹装置。可选地,该指纹识别装置还可以为电容指纹装置或者超声波指纹装置,本申请实施例对具体的指纹识别装置的类型不做具体限定。Optionally, the execution subject of the fingerprint identification method 100 may be a fingerprint identification device for collecting images in its fingerprint detection area for fingerprint identification. For example, the fingerprint identification device may be the optical fingerprint device in FIG. 1. Optionally, the fingerprint identification device may also be a capacitive fingerprint device or an ultrasonic fingerprint device. The embodiment of the present application does not specifically limit the type of a specific fingerprint identification device.
可选地,除了上述该指纹识别装置以外,该指纹识别方法100的执行主体还可以为包括上述指纹识别装置的电子设备,例如,可以为图1中的光学指纹装置所在的电子设备。Optionally, in addition to the aforementioned fingerprint identification device, the execution subject of the fingerprint identification method 100 may also be an electronic device including the aforementioned fingerprint identification device, for example, it may be an electronic device where the optical fingerprint device in FIG. 1 is located.
如图2所示,该指纹识别方法100可以包括以下步骤。As shown in FIG. 2, the fingerprint identification method 100 may include the following steps.
S110:采集目标图像,根据该目标图像获取第一残影模板图像。S110: Acquire a target image, and obtain a first residual image template image according to the target image.
具体地,在用户手指的一次按压抬起之后,由于各种环境原因,若在指纹检测区域残留有指纹残影,经过图像采集以及图像处理之后,可以基于采集的目标图像形成用于表征指纹残影的图像模板,即上述第一残影模板图像。Specifically, after the user’s finger is pressed and lifted once, due to various environmental reasons, if fingerprint residual images remain in the fingerprint detection area, after image acquisition and image processing, it can be used to characterize fingerprint residual images based on the acquired target image. The image template of the shadow, that is, the above-mentioned first afterimage template image.
可选地,本步骤可以采用现有技术中任意一种指纹图像采集的方法,本步骤采集得到的图像包括但不限于是光学图像,电学图像或者超声波图像,本申请实施例对此不做具体限定。Optionally, any fingerprint image acquisition method in the prior art can be used in this step. The images acquired in this step include but are not limited to optical images, electrical images, or ultrasound images, which are not specifically described in the embodiment of this application. limited.
可选地,采集第一指纹残影模板图像后,可以将其存储于存储器中,用于后续的指纹识别过程。Optionally, after the first fingerprint residual image template image is collected, it can be stored in the memory for subsequent fingerprint identification processes.
可选地,在本步骤中,手指的按压区域可以为显示屏的显示区域中,也可以位于非显示屏区域中,例如位于手机显示屏下方的“HOME”键处,或者也可以位于手机后盖中,对应的,指纹检测装置的指纹检测区域可以位于显示屏的显示区域、非显示屏区域或者手机后盖中,本申请实施例对此不做具体限定。Optionally, in this step, the pressing area of the finger can be in the display area of the display screen, or in the non-display area, for example, located at the "HOME" key below the mobile phone display, or it can also be located behind the mobile phone. In the cover, correspondingly, the fingerprint detection area of the fingerprint detection device may be located in the display area of the display screen, the non-display area or the back cover of the mobile phone, which is not specifically limited in the embodiment of the present application.
S120:采集待识别图像。S120: Collect an image to be recognized.
在执行上述步骤S110,采集目标图像之后,再执行本步骤S120,采集待识别图像。After the above step S110 is executed to collect the target image, this step S120 is executed again to collect the image to be recognized.
在一些实施例中,上述步骤S110为一次按压抬起时,采集目标图像的过程,而本步骤S120为下一次按压时,采集待识别图像的过程。In some embodiments, the above step S110 is the process of collecting the target image when one press is lifted, and this step S120 is the process of collecting the image to be recognized during the next press.
在另一些实施方式中,上述步骤S110还可以为采集待识别图像之前,任意一次或多次按压抬起时,采集一张或者多张目标图像的过程。本申请实施例对步骤S110发生的具体时刻不做限定。In other embodiments, the above step S110 may also be a process of collecting one or more target images when any one or more times of pressing and lifting before collecting the image to be recognized. The embodiment of the present application does not limit the specific time when step S110 occurs.
可选地,指纹识别装置接收到下一次手指按压的指示信息后,采集其指纹检测区域中的待识别图像。Optionally, after receiving the instruction information of the next finger press, the fingerprint identification device collects the image to be identified in its fingerprint detection area.
在一些情况下,若用户手指进行正常按压,对指纹检测区域采集到的当前待识别图像为用户指纹图像。In some cases, if the user's finger presses normally, the current to-be-recognized image collected in the fingerprint detection area is the user's fingerprint image.
在另一些情况下,若用户手指或者其他物体误触,则对指纹检测区域进行空采,采集到的待识别图像则可能是上一次按压之后留在指纹检测区域中的指纹残影图像。In other cases, if the user's finger or other object touches by mistake, the fingerprint detection area is empty, and the collected image to be recognized may be the fingerprint residual image left in the fingerprint detection area after the last press.
同样的,本步骤可以采用现有技术中任意一种指纹图像采集的方法,本步骤采集得到的图像包括但不限于是光学图像,电学图像或者超声波图像,本申请实施例对此不做具体限定。Similarly, any fingerprint image collection method in the prior art can be used in this step. The images collected in this step include, but are not limited to, optical images, electrical images, or ultrasound images, which are not specifically limited in the embodiments of this application. .
S130:根据第一残影模板图像与待识别图像,判断待识别图像是否为指纹残影。S130: According to the first residual image template image and the image to be recognized, determine whether the image to be recognized is a fingerprint residual image.
S140:基于判断结果进行指纹识别。S140: Perform fingerprint recognition based on the judgment result.
具体地,可以将步骤S110获取的第一残影模板图像与步骤S120采集的待识别图像进行相似度对比,若第一残影模板图像与待识别图像的相似度较高,则说明步骤S120采集的待识别图像不是实际的手指指纹图像,而是指纹残影图像,进而说明步骤S120中,用户手指没有或者未有效按压在指纹检测中,不能判定此次指纹识别成功。Specifically, the similarity of the first residual image template image obtained in step S110 and the image to be recognized acquired in step S120 may be compared. If the similarity of the first residual image template image and the image to be recognized is relatively high, the acquisition in step S120 will be described. The image to be identified is not the actual fingerprint image of the finger, but the fingerprint residual image, which further illustrates that in step S120, the user's finger is not or is not effectively pressed during the fingerprint detection, and it cannot be determined that the fingerprint identification is successful this time.
对应的,若第一残影模板图像与待识别图像的相似度较低,则可以判断该待识别图像不是指纹残影图像,即此时有有效按压在指纹识别区域,从而可以进一步的对该待识别图像进行后续的识别检测过程。Correspondingly, if the similarity between the first residual image template image and the image to be recognized is low, it can be determined that the image to be recognized is not a fingerprint residual image, that is, it is effectively pressed on the fingerprint recognition area at this time, so that the The image to be identified is subjected to the subsequent identification and detection process.
通过本申请实施例的方案,在采集待识别图像之前,首先获取第一残影模板图像,并根据该第一残影模板图像进行残影判断,若判断待识别图像为指纹残影,即可以理解为触发指纹识别过程是在不破坏残影的情况下,小面积的触碰指纹识别区域,换而言之,此时的触发不是有实际的手指指纹图像,从而可以直接判定指纹识别失败。而之前的指纹识别过程中,缺乏该判断步 骤,则会因为指纹残影的存在导致指纹识别成功,从而引起误识。因此,采用本申请实施例的方案,能够避免利用指纹残影使得指纹识别成功,降低误识率,提高指纹装置的安全性能以及用户体验。Through the solution of the embodiment of this application, before the image to be recognized is collected, the first residual image template image is first obtained, and the residual image determination is performed based on the first residual image template image. If the image to be recognized is determined to be fingerprint residual image, it is OK It is understood that triggering the fingerprint recognition process is to touch the fingerprint recognition area in a small area without destroying the residual image. In other words, the trigger at this time is not the actual fingerprint image of the finger, so that the fingerprint recognition failure can be directly determined. In the previous fingerprint identification process, the lack of this judgment step will result in successful fingerprint identification due to the presence of fingerprint residual images, which will cause misidentification. Therefore, with the solution of the embodiment of the present application, it is possible to avoid using fingerprint residuals to make fingerprint recognition successful, reduce the misrecognition rate, and improve the security performance and user experience of the fingerprint device.
图3示出了另一种指纹识别方法100的示意性流程图。FIG. 3 shows a schematic flowchart of another method 100 for fingerprint identification.
如图3所示,上述步骤S110可以包括以下步骤。As shown in FIG. 3, the above step S110 may include the following steps.
S111:在一次按压抬起时,接收第一指示信息,采集目标图像。S111: When pressing and lifting once, receive the first instruction information, and collect the target image.
可选地,指纹识别装置可以接收其它装置发送的第一指示信息,然后采集目标图像,该第一指示信息用于指示一次按压抬起过程。Optionally, the fingerprint identification device may receive first instruction information sent by other devices, and then collect the target image, where the first instruction information is used to indicate a pressing and lifting process.
例如,若物体按压在显示屏中,该第一指示信息为显示屏发送给指纹识别装置的指示信息。具体地,该该显示屏为具有触控功能的触摸屏(Touch Panel,TP),或者也可以称之为触摸显示屏。For example, if the object is pressed on the display screen, the first instruction information is the instruction information sent by the display screen to the fingerprint identification device. Specifically, the display screen is a touch panel (TP) with a touch function, or may also be referred to as a touch display screen.
当物体(例如手指,或者其它按压物)按压在触摸屏上时,触摸屏可以探测到物体按压的信息,例如,触摸屏为电容式触摸屏,当物体与触摸屏上某区域接触时,该区域的电容值发生变化从而造成该区域对应的电信号发生变化,触摸屏通过电信号的变化检测到物体按压的信息。When an object (such as a finger or other pressing object) is pressed on the touch screen, the touch screen can detect the information of the object pressing. For example, the touch screen is a capacitive touch screen. When the object contacts an area on the touch screen, the capacitance value of the area occurs The change causes the electrical signal corresponding to the area to change, and the touch screen detects the information of the object pressing through the change of the electrical signal.
类似地,检测到物体按压之后,触摸屏同样可以根据电信号的变化探测物体在按压之后抬起的信息。Similarly, after detecting the pressing of the object, the touch screen can also detect the information that the object is lifted after the pressing according to the change of the electrical signal.
在检测到物体由按压变换到抬起之后,在一些示例中,触摸屏可以直接将指示信息(例如,上述第一指示信息)发送给指纹识别装置,在另一些示例中,触摸屏也可以间接将该指示信息发送给指纹识别装置,例如触摸屏可以将该指示信息发送给其所在电子设备的处理单元,该处理单元再发送相应的指示信息给指纹识别装置。After detecting that the object changes from pressing to lifting, in some examples, the touch screen can directly send the instruction information (for example, the first instruction information mentioned above) to the fingerprint identification device. In other examples, the touch screen can also indirectly send the instruction information to the fingerprint identification device. The instruction information is sent to the fingerprint identification device. For example, the touch screen can send the instruction information to the processing unit of the electronic device where it is located, and the processing unit then sends the corresponding instruction information to the fingerprint identification device.
可以理解的是,除了可以通过触摸屏探测到物体由按压变换到抬起的动作外,还可以通过其它方式检测物体由按压变化到抬起的动作,例如,指纹识别装置所在的电子设备的处理器根据按压动作完成某目标任务后,发送给相应的信息给指纹识别装置,本申请实施例对具体的检测方法不做限定。It is understandable that, in addition to detecting the movement of an object from pressing to lifting through the touch screen, it can also detect the movement of an object from pressing to lifting by other means, for example, the processor of the electronic device where the fingerprint recognition device is located. After completing a certain target task according to the pressing action, the corresponding information is sent to the fingerprint identification device. The embodiment of the present application does not limit the specific detection method.
可选地,除了上述接收第一指示信息,采集目标图像的方式以外,还可以不依赖于外界发送的信息,指纹识别装置可以自己判断物体按压,以及是否由按压变换到抬起的过程,例如,指纹识别装置可以通过其接收的光信号强度、电信号强度或者声波信号强度判断物体是否按压或者是否由按压变化到抬起,若指纹识别装置为光学指纹装置,物体按压时,其采集的光信号强 度整体较弱,而物体抬起后,其采集的光信号强度整体高于物体按压时的光信号强度,因而,可以根据光信号强度的变化判断物体从按压到抬起的动作变化。Optionally, in addition to the above-mentioned method of receiving the first instruction information and collecting the target image, it does not depend on the information sent by the outside world. The fingerprint recognition device can judge by itself whether the object is pressed and whether the process of changing from pressing to lifting, for example , The fingerprint recognition device can judge whether the object is pressed or changed from pressing to lifting based on the received light signal strength, electrical signal strength or sound wave signal strength. If the fingerprint recognition device is an optical fingerprint device, the light collected by the object is pressed The overall signal strength is weak, and after the object is lifted, the collected optical signal strength is overall higher than the optical signal strength when the object is pressed. Therefore, the movement change of the object from pressing to lifting can be judged according to the change of the light signal intensity.
应理解,本申请实施例中判断抬起按压的方法包括但不限于是以上方法,具体的方法本申请实施例不做限定。It should be understood that the method for determining the lifting and pressing in the embodiment of the present application includes but is not limited to the above method, and the specific method is not limited in the embodiment of the present application.
判断物体由按压到抬起之后,指纹识别装置采集指纹检测区域中的目标图像。After judging that the object is pressed to lifted, the fingerprint identification device collects the target image in the fingerprint detection area.
由于该采集动作发生在按压抬起后的短暂时间内,若当前是手指按压,且按压较重,或者手指上具有脏污,容易在指纹检测区域中采集到指纹残影图像,采集到的目标图像可能为指纹残影图像。在情况1中,手指为用户手指,则采集到的目标图像为用户的指纹残影图像,而在情况2中,手指为非用户手指,则采集到的目标图像为非用户的指纹残影图像。Since this collection action occurs within a short period of time after pressing and lifting, if the current finger is pressing and the pressing is heavy, or the finger is dirty, it is easy to collect fingerprint residual images in the fingerprint detection area, and the collected target The image may be an afterimage of fingerprints. In case 1, if the finger is a user's finger, then the captured target image is the user's fingerprint afterimage image, while in case 2, if the finger is a non-user finger, then the captured target image is the non-user fingerprint afterimage image .
在情况3下,若当前不是手指按压或者是手指误触、按压较轻等情况,没有在指纹检测区域中留下指纹残影,则采集的图像不为指纹残影图像。In case 3, if the current situation is not a finger press or a finger accidental touch, a light press, etc., and no fingerprint afterimage is left in the fingerprint detection area, the collected image is not a fingerprint image.
而在本申请实施例中,为了避免残影使得指纹识别成功,仅需要将情况1下采集到的目标图像作为第一指纹模板图像用于指纹识别,情况2和情况3下采集到的目标图像在正常指纹识别过程中,即可判定指纹识别失败,不需要将其用于后续的指纹识别。In the embodiment of the present application, in order to avoid residual image and make fingerprint recognition successful, only the target image collected in case 1 needs to be used as the first fingerprint template image for fingerprint recognition, and the target image collected in cases 2 and 3 In the normal fingerprint identification process, it can be determined that the fingerprint identification fails, and it does not need to be used for subsequent fingerprint identification.
因此,在下面的步骤S112中,删选出情况1中的目标图像作为第一指纹模板图像,用于后续的指纹识别。Therefore, in the following step S112, the target image in case 1 is deleted and selected as the first fingerprint template image for subsequent fingerprint recognition.
S112:对目标图像进行指纹识别,判断是否成功。S112: Perform fingerprint recognition on the target image, and judge whether it is successful.
具体地,对采集到的目标图像进行指纹识别过程,即判断采集到的目标图像是否为用户手指,具体地,可以将该目标图像与用户指纹模板图像进行相似度对比,判断该目标图像是否为用户指纹图像,若相似度较高,则判断该目标图像为用户指纹图像,指纹识别成功,若相似度较低,则判断该目标图像不为用户指纹图像,指纹识别失败。Specifically, the fingerprint recognition process is performed on the captured target image, that is, it is determined whether the captured target image is a user's finger. Specifically, the target image can be compared with the user fingerprint template image to determine whether the target image is If the similarity of the user fingerprint image is high, it is determined that the target image is a user fingerprint image and the fingerprint recognition is successful; if the similarity is low, it is determined that the target image is not a user fingerprint image and the fingerprint recognition fails.
可选地,该用户指纹模板图像为用户在指纹注册时采集的指纹图像,或者在其它情况下处理得到的用户指纹图像,该用户指纹模板图像可以作为标准的用户指纹图像,用于对其它图像进行判定是否为用户指纹图像。Optionally, the user fingerprint template image is a fingerprint image collected by the user during fingerprint registration, or a user fingerprint image obtained by processing in other cases, and the user fingerprint template image can be used as a standard user fingerprint image to compare other images. Determine whether it is a user's fingerprint image.
S1121:若该目标图像为用户的指纹残影图像,则可以通过指纹识别过程,将该目标图像作为用户的第一残影模板图像。S1121: If the target image is a fingerprint residual image of the user, the target image may be used as the user's first residual image template image through a fingerprint recognition process.
S1122:若该目标图像不为用户的指纹残影图像,则不可以通过指纹识别过程,将不将该目标图像作为用户的第一残影模板图像。S1122: If the target image is not the user's fingerprint residual image, the fingerprint identification process cannot be passed, and the target image will not be used as the user's first residual image template image.
在此情况下,下一次按压时的指纹识别过程与现有技术中的指纹识别过程相同,作为示例,可以直接将按压时采集的指纹图像与用户指纹模板图像对比,得到指纹识别结果。In this case, the fingerprint identification process at the next pressing is the same as the fingerprint identification process in the prior art. As an example, the fingerprint image collected during pressing can be directly compared with the user fingerprint template image to obtain the fingerprint identification result.
上述步骤S120可以包括:The above step S120 may include:
S121:在下一次按压时,接收第二指示信息,采集待识别图像。S121: In the next pressing, receive the second instruction information, and collect the image to be recognized.
可选地,指纹识别装置可以接收其它装置发送的第二指示信息,然后采集待识别图像,该第二指示信息用于指示下一次按压过程。Optionally, the fingerprint identification device may receive second instruction information sent by other devices, and then collect the image to be identified, where the second instruction information is used to indicate the next pressing process.
在一些示例中,指纹识别装置可以接收触摸屏发送的第二指示信息。In some examples, the fingerprint identification device may receive the second instruction information sent by the touch screen.
具体地,触摸屏检测物体按压以及发送指示信息给指纹识别装置的过程可以参见上述步骤S111中的相关描述,此处不再赘述。Specifically, the process of detecting the pressing of the object on the touch screen and sending the instruction information to the fingerprint identification device can refer to the relevant description in the above step S111, which will not be repeated here.
判断物体的下一次按压之后,指纹识别装置采集指纹检测区域中的待识别图像。After judging the next pressing of the object, the fingerprint identification device collects the image to be identified in the fingerprint detection area.
在当前按压情况下,指纹识别装置对采集的待识别图像需要进行指纹识别,从而执行对应的操作。In the current pressing situation, the fingerprint recognition device needs to perform fingerprint recognition on the collected image to be recognized, so as to perform the corresponding operation.
在情况1中,若此次按压为用户手指或者非用户手指正常按压,即使指纹检测区域中有指纹残影,手指按压也会破坏残影,此时采集到的待识别图像为完整指纹图像,不是指纹残影图像。In case 1, if this press is a normal press by a user’s finger or a non-user’s finger, even if there is a fingerprint residual image in the fingerprint detection area, the finger press will destroy the residual image. At this time, the collected image to be recognized is a complete fingerprint image. It is not a fingerprint image.
在情况2中,若此次按压不是手指按压,而是异物按压或者是手指误触,若指纹检测区域中留有指纹残影,则不会对指纹残影造成破坏,此时采集到的待识别图像为指纹残影图像。In case 2, if the pressing is not a finger press, but a foreign body press or a finger accidentally touched, if there is fingerprint residual image in the fingerprint detection area, it will not cause damage to the fingerprint residual image. The recognition image is a fingerprint image.
上述步骤S130可以包括以下步骤。The above step S130 may include the following steps.
S131:将待识别图像与第一残影模板图像进行对比,判断该待识别图像是否为指纹残影。S131: Compare the image to be recognized with the first residual image template image, and determine whether the image to be recognized is a fingerprint residual image.
具体地,在本步骤中,第一残影模板图像为用户在上一次按压之后产生的指纹残影图像。Specifically, in this step, the first afterimage template image is a fingerprint afterimage image generated by the user after the last press.
对于上述步骤S121中的情况1,采集到的待识别图像为完整指纹图像,此时将完整指纹图像与第一残影模板图像进行对比,不能通过对比检测,从而判断该待识别图像不是指纹残影。For case 1 in step S121, the collected image to be recognized is a complete fingerprint image. At this time, the complete fingerprint image is compared with the first residual image template image, and the comparison cannot be detected, so that it can be determined that the image to be recognized is not a fingerprint residual image. film.
对于上述步骤S121中的情况2,采集到的待识别图像还是上一次指纹 残影图像,此时将指纹残影图像与第一残影模板图像进行对比,能够通过对比检测,从而判断待识别图像是指纹残影。For case 2 in step S121, the collected image to be recognized is still the last fingerprint afterimage image. At this time, the fingerprint afterimage image is compared with the first afterimage template image, and the image to be identified can be determined by comparison detection. It is fingerprint afterimage.
具体地,在本申请实施例中,可以对待识别图像与第一残影模板图像的相似度进行对比,从而判断该待识别图像是否为指纹残影。Specifically, in the embodiment of the present application, the similarity between the image to be recognized and the first residual image template image can be compared to determine whether the image to be recognized is a fingerprint residual image.
作为示例,可以计算待识别图像与第一残影模板图像的相位差,若相位差大于一定的预设阈值,则说明待识别图像与第一残影模板图像的相似度较低,可以确定待识别图像为指纹残影;反之,若相位差小于等于一定的预设阈值,则说明待识别图像与第一残影模板图像的相似度较高,确定待识别图像不为指纹残影。As an example, the phase difference between the image to be recognized and the first residual template image can be calculated. If the phase difference is greater than a certain preset threshold, it means that the similarity between the image to be recognized and the first residual template image is low, and the image to be recognized can be determined The recognition image is fingerprint afterimage; on the contrary, if the phase difference is less than or equal to a certain preset threshold, it means that the image to be recognized has a high similarity with the first afterimage template image, and it is determined that the image to be recognized is not fingerprint afterimage.
此外,还可以采用直方图方法,图像模板匹配,结构相似性(Structural Similarity Index,SSIM),峰值信噪比(Peak Signal to Noise Ratio,PSNR),或者感知哈希算法(Perceptual hash algorithm)等等方法进行相似度的对比,本申请中相似度的对比方法可以采用现有技术中任意一种对比方法,本申请实施例对此不作具体限定。In addition, you can also use the histogram method, image template matching, structural similarity (Structural Similarity Index, SSIM), peak signal to noise ratio (Peak Signal to Noise Ratio, PSNR), or perceptual hash algorithm (Perceptual hash algorithm), etc. The method performs similarity comparison. The similarity comparison method in this application can adopt any comparison method in the prior art, which is not specifically limited in the embodiments of this application.
上述步骤S140可以包括:The foregoing step S140 may include:
S141:若待识别图像为指纹残影,确定指纹识别失败。S141: If the image to be recognized is fingerprint afterimage, it is determined that the fingerprint recognition fails.
S142:若待识别图像不为指纹残影,对待识别图像继续进行指纹识别,确定指纹识别结果。S142: If the image to be recognized is not a fingerprint residual image, continue fingerprint recognition on the image to be recognized, and determine the fingerprint recognition result.
具体地,在确定待识别图像不为指纹残影的基础上,将待识别图像与用户指纹模板图像进行相似度对比,判断待识别图像是否为用户指纹,从而确定指纹识别结果。Specifically, on the basis of determining that the image to be identified is not a fingerprint afterimage, the similarity of the image to be identified and the user fingerprint template image are compared to determine whether the image to be identified is a user fingerprint, and the fingerprint identification result is determined.
可选地,若指纹识别结果为识别成功,在手指抬起后,可以继续采集指纹检测区域中的目标图像,即执行上述步骤S111至步骤S1122。Optionally, if the fingerprint recognition result is that the recognition is successful, after the finger is lifted, the target image in the fingerprint detection area can be continuously collected, that is, the above steps S111 to S1122 are performed.
可选地,可以将该新采集的目标图像作为一张新的残影模板图像进行存储,也可以将该目标图像替代之前的第一残影模板图像存储在存储器中。Optionally, the newly acquired target image may be stored as a new afterimage template image, or the target image may replace the previous first afterimage template image and be stored in the memory.
若存储器中动态存储一张残影模板图像,则残影判断的速度更快,可以有利于节约系统的存储空间。If an afterimage template image is dynamically stored in the memory, the afterimage determination speed is faster, which can help save the storage space of the system.
图4示出了另一种指纹识别方法100的示意性流程图。FIG. 4 shows a schematic flowchart of another fingerprint identification method 100.
如图4所示,上述步骤S110可以包括以下步骤。As shown in FIG. 4, the above step S110 may include the following steps.
S101:在一次按压时,接收第二指示消息,采集第一图像。S101: During one pressing, receive a second instruction message, and collect a first image.
具体地,该步骤与上述步骤S121的执行过程相同,其可以理解为是步 骤S121的上一次按压过程,步骤S111为该次按压后,物体抬起时执行的方法动作。Specifically, this step is the same as the execution process of step S121, which can be understood as the last pressing process of step S121, and step S111 is the method action executed when the object is lifted after this pressing.
本步骤采集的第一图像可以为该次按压时采集得到的待识别图像。该步骤具体的实施方法可以参见上述步骤S121的相关描述,此处不再赘述。The first image collected in this step may be the image to be recognized collected during this pressing. For the specific implementation method of this step, reference may be made to the relevant description of the above step S121, which will not be repeated here.
S111:在该次按压后的抬起时,接收第一指示信息,采集目标图像。S111: When lifting after this pressing, receive the first instruction information, and collect the target image.
S113:对第一图像进行指纹识别,判断是否成功。S113: Perform fingerprint recognition on the first image, and judge whether it is successful.
S1131:若指纹识别成功,若将目标图像作为第一残影模板图像。S1131: If the fingerprint recognition is successful, if the target image is used as the first residual image template image.
S1132:若指纹识别失败,不将目标图像作为第一残影模板图像。S1132: If the fingerprint recognition fails, the target image is not used as the first residual image template image.
具体地,在本申请实施例中,采集上述第一图像并对第一图像进行指纹识别为常规的指纹识别过程,利用该识别过程的结果,判断是否将目标图像作为第一残影模板图像。Specifically, in the embodiment of the present application, collecting the above-mentioned first image and performing fingerprint recognition on the first image is a conventional fingerprint recognition process, and the result of the recognition process is used to determine whether to use the target image as the first residual image template image.
由于本申请中的第一残影模板图像需要表征为用户的指纹残影图像,因此,经过对第一图像的指纹识别之后,若指纹识别成功,则可以判断当前按压为用户手指按压,因此,用户手指抬起采集到的模板图像经过处理后可以存储为第一残影模板图像。Since the first residual image template image in this application needs to be characterized as the fingerprint residual image of the user, after fingerprint recognition of the first image, if the fingerprint recognition is successful, it can be determined that the current pressing is a user's finger pressing. Therefore, The template image collected by lifting the user's finger can be stored as the first residual image template image after processing.
此处需要说明的是,若用户手指抬起后,未在指纹检测区域留下指纹残影,或者残影图像质量不佳,则也不将采集到目标图像作为第一残影模板图像。It should be noted here that if the user does not leave fingerprint afterimages in the fingerprint detection area after the user's finger is lifted, or the quality of the afterimage image is not good, the collected target image is not used as the first afterimage template image.
但若经过对第一图像的指纹识别之后,指纹识别失败,则可以判断当前按压不为用户手指按压,则直接不将目标图像作为第一残影模板图像。However, if the fingerprint recognition fails after the fingerprint recognition of the first image, it can be determined that the current pressing is not the user's finger pressing, and the target image is directly not used as the first residual image template image.
步骤S110中,根据目标图像获取第一残影模板图像的过程,除了可以采用图3和图4中的实施方法外,还可以将目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则将目标图像作为第一残影模板图像;若相似度小于预设阈值,则不将目标图像作为第一残影模板图像。In step S110, in the process of obtaining the first residual image template image according to the target image, in addition to the implementation methods in Figures 3 and 4, the target image can also be compared with the user fingerprint template image. If the similarity is greater than or equal to the preset Threshold, the target image is used as the first residual image template image; if the similarity is less than the preset threshold, the target image is not used as the first residual image template image.
本申请实施例对具体根据目标图像获取第一残影模板图像的方法过程不做具体限定,旨在能够获得用于表征用户指纹残影的图像模板。The embodiment of the present application does not specifically limit the method and process of obtaining the first residual image template image according to the target image, and aims to obtain an image template used to characterize the user's fingerprint residual image.
图5示出了另一种指纹识别方法100的示意性流程图。FIG. 5 shows a schematic flowchart of another method 100 for fingerprint identification.
如图5所示,上述步骤S130可以包括以下步骤。As shown in FIG. 5, the above step S130 may include the following steps.
S132:根据第一残影模板图像与待识别图像,判断待识别图像是否为手指残影。S132: According to the first residual image template image and the image to be recognized, determine whether the image to be recognized is a finger residual image.
具体地,在本申请实施例中,该多张残影模板图像可以包括上述第一残 影模板图像,以及其它方式下处理得到的第二残影模板图像,例如,在对待识别图像进行识别之前的多次按压过程中,均可以采用上述步骤S111至步骤S1122中的过程进行处理得到多张残影模板图像。Specifically, in the embodiment of the present application, the multiple afterimage template images may include the above-mentioned first afterimage template image and the second afterimage template image processed in other ways, for example, before the image to be recognized is recognized In the multiple pressing process of, the process in step S111 to step S1122 described above can be used for processing to obtain multiple afterimage template images.
在一些实施方式中,可以将多张残影模板图像与待识别图像进行相似度对比,若待识别图像与多张残影模板图像中的至少一张残影模板图像相似度大于等于预设阈值,判断待识别图像为指纹残影;In some embodiments, multiple afterimage template images may be compared with the image to be recognized for similarity, if the similarity between the image to be recognized and at least one of the afterimage template images is greater than or equal to a preset threshold , To determine that the image to be recognized is fingerprint afterimage;
若待识别图像与多张残影模板图像的相似度均小于预设阈值,判断待识别图像不为指纹残影。If the similarity between the image to be identified and the multiple afterimage template images is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
通过本申请实施例的方案,用多张残影模板图像与待识别图像进行对比,提高残影判断的准确性,从而提高整个指纹识别装置识别的准确率。Through the solution of the embodiment of the present application, multiple afterimage template images are compared with the image to be recognized, which improves the accuracy of the afterimage determination, thereby improving the accuracy of the entire fingerprint recognition device.
上文结合图2至图5,详细描述了本申请的指纹识别方法实施例,下文结合图6,详细描述本申请的指纹识别装置实施例,应理解,装置实施例与方法实施例相互对应,类似的描述可以参照方法实施例。The fingerprint identification method embodiments of the present application are described in detail above with reference to FIGS. 2 to 5, and the fingerprint identification device embodiments of the present application are described in detail below with reference to FIG. 6. It should be understood that the device embodiments and the method embodiments correspond to each other. Similar description can refer to the method embodiment.
图6是根据本申请实施例的指纹识别装置10的示意性框图。FIG. 6 is a schematic block diagram of a fingerprint identification device 10 according to an embodiment of the present application.
如图6所示,该指纹识别装置10包括:指纹传感器11和处理器12;As shown in FIG. 6, the fingerprint identification device 10 includes: a fingerprint sensor 11 and a processor 12;
该指纹传感器11可以包括上述图1中的光学组件132与光检测部分134。该处理器12可以位于图1的电路板150上,与指纹传感器11共同封装为一个指纹识别装置10。该处理器12也可以不位于图1中的电路板150中,且该处理器12除了可以处理指纹图像以外,还可以进行其他操作处理。The fingerprint sensor 11 may include the optical component 132 and the light detecting part 134 in FIG. 1 described above. The processor 12 may be located on the circuit board 150 of FIG. 1 and packaged together with the fingerprint sensor 11 to form a fingerprint identification device 10. The processor 12 may not be located in the circuit board 150 in FIG. 1, and in addition to processing fingerprint images, the processor 12 may also perform other operation processing.
具体地,指纹传感器11用于:在一次按压抬起时,采集目标图像,并在下一次按压时,采集待识别图像;Specifically, the fingerprint sensor 11 is used to collect the target image when it is pressed and lifted once, and to collect the image to be recognized when it is pressed the next time;
处理器12用于:获取目标图像,并根据目标图像处理得到第一残影模板图像;获取待识别图像,并根据第一残影模板图像与待识别图像,判断待识别图像是否为指纹残影,并基于判断结果进行指纹识别。The processor 12 is configured to: obtain a target image, and process the target image to obtain a first residual image template image; obtain the image to be recognized, and determine whether the image to be recognized is a fingerprint residual image based on the first residual image template image and the image to be recognized , And perform fingerprint recognition based on the judgment result.
在一种可能的实施方式中,指纹传感器11具体用于:在一次按压抬起时,接收第一指示信息,采集目标图像;在下一次按压时,接收第二指示信息,采集待识别图像。In a possible implementation manner, the fingerprint sensor 11 is specifically used to receive the first indication information and collect the target image when it is pressed and lifted once; at the next pressing, it receives the second indication information and collect the image to be recognized.
在一种可能的实施方式中,第一指示信息和/或第二指示信息为指纹识别装置所在的电子设备中的触摸显示屏发送的指示信息。In a possible implementation manner, the first indication information and/or the second indication information are indication information sent by the touch display screen in the electronic device where the fingerprint identification device is located.
在一种可能的实施方式中,处理器12具体用于:对目标图像进行指纹识别;若指纹识别成功,确定目标图像为第一残影模板图像;若指纹识别失 败,确定目标图像不为第一残影模板图像。In a possible implementation, the processor 12 is specifically configured to: perform fingerprint recognition on the target image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine that the target image is not the first image. An afterimage template image.
在一种可能的实施方式中,指纹传感器11还用于:在一次按压抬起之前,采集图像进行指纹识别。In a possible implementation manner, the fingerprint sensor 11 is also used to collect an image for fingerprint recognition before pressing and lifting once.
处理器12进一步用于:获取图像,并对图像进行指纹识别;若指纹识别成功,确定目标图像为第一残影模板图像;若指纹识别失败,确定目标图像不为第一残影模板图像。The processor 12 is further configured to: obtain an image and perform fingerprint recognition on the image; if the fingerprint recognition is successful, determine that the target image is the first residual image template image; if the fingerprint recognition fails, determine that the target image is not the first residual image template image.
在一种可能的实施方式中,处理器12具体用于:将目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则确定目标图像为第一残影模板图像;若相似度小于预设阈值,则确定目标图像不为第一残影模板图像。In a possible implementation manner, the processor 12 is specifically configured to: compare the target image with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the target image is the first residual image template image; If it is less than the preset threshold, it is determined that the target image is not the first residual image template image.
在一种可能的实施方式中,如图6所示,指纹识别装置10还包括:存储器13,用于存储第一残影模板图像。In a possible implementation, as shown in FIG. 6, the fingerprint identification device 10 further includes: a memory 13 configured to store the first residual image template image.
在一种可能的实施方式中,处理器12具体用于:将待识别图像与第一残影模板图像进行对比,若相似度大于等于预设阈值,判断待识别图像为指纹残影;若相似度小于预设阈值,判断待识别图像不为指纹残影。In a possible implementation manner, the processor 12 is specifically configured to: compare the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image; If the degree is less than the preset threshold, it is determined that the image to be recognized is not fingerprint afterimage.
在一种可能的实施方式中,处理器12还用于:从存储器中获取至少一张第二残影模板图像;将待识别图像与多张残影模板图像对比,多张残影模板图像包括:第一残影模板图像与至少一张第二残影模板图像;In a possible implementation manner, the processor 12 is further configured to: obtain at least one second afterimage template image from the memory; compare the to-be-identified image with multiple afterimage template images, and the multiple afterimage template images include : The first afterimage template image and at least one second afterimage template image;
若待识别图像与多张残影模板图像中的至少一张残影模板图像相似度大于等于预设阈值,判断待识别图像为指纹残影;If the similarity between the image to be identified and at least one of the afterimage template images of the plurality of afterimage template images is greater than or equal to the preset threshold, it is determined that the image to be identified is fingerprint afterimage;
若待识别图像与多张残影模板图像的相似度均小于预设阈值,判断待识别图像不为指纹残影。If the similarity between the image to be identified and the multiple afterimage template images is less than the preset threshold, it is determined that the image to be identified is not fingerprint afterimage.
在一种可能的实施方式中,处理器12具体用于:若判断待识别图像为指纹残影,确定指纹识别失败;若判断待识别图像不为指纹残影,对待识别图像进行指纹识别。In a possible implementation manner, the processor 12 is specifically configured to: if it is determined that the image to be identified is a fingerprint afterimage, determine that the fingerprint recognition has failed; if it is determined that the image to be identified is not a fingerprint afterimage, perform fingerprint identification on the image to be identified.
在一种可能的实施方式中,处理器12具体用于:将待识别图像与用户指纹模板图像进行对比,若相似度大于等于预设阈值,确定指纹识别成功;In a possible implementation manner, the processor 12 is specifically configured to: compare the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determine that the fingerprint identification is successful;
若相似度小于预设阈值,确定指纹识别失败。If the similarity is less than the preset threshold, it is determined that the fingerprint recognition fails.
在一种可能的实施方式中,指纹传感器11为光学指纹传感器。In a possible implementation, the fingerprint sensor 11 is an optical fingerprint sensor.
在一种可能的实施方式中,上述光学指纹传感器设置在指纹识别装置10所在的电子设备的显示屏下方,用于接收从显示屏上方的手指反射或散射后返回的指纹光信号,以进行指纹识别。In a possible implementation, the above-mentioned optical fingerprint sensor is disposed under the display screen of the electronic device where the fingerprint identification device 10 is located, and is used to receive the fingerprint light signal returned after being reflected or scattered from the finger above the display screen for fingerprint identification. Recognition.
图7是根据本申请实施例的电子设备的示意性框图。Fig. 7 is a schematic block diagram of an electronic device according to an embodiment of the present application.
如图7所示,该电子设备2包括:显示屏20,以及上述指纹识别装置10。As shown in FIG. 7, the electronic device 2 includes: a display screen 20 and the aforementioned fingerprint identification device 10.
在一种可能的实施方式中,指纹识别装置10设置于显示屏20下方,指纹识别装置10接收从显示屏20上方的手指反射或散射后返回的指纹光信号,以进行指纹识别。In a possible implementation manner, the fingerprint identification device 10 is disposed under the display screen 20, and the fingerprint identification device 10 receives the fingerprint light signal reflected or scattered from the finger above the display screen 20 to perform fingerprint identification.
可选地,显示屏20为触摸显示屏。Optionally, the display screen 20 is a touch display screen.
可选地,该显示屏20可以为OLED屏或者液晶显示屏,其可以为图1中的显示屏120。Optionally, the display screen 20 may be an OLED screen or a liquid crystal display screen, which may be the display screen 120 in FIG. 1.
需要说明的是,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。It should be noted that, under the premise of no conflict, the various embodiments described in this application and/or the technical features in each embodiment can be combined with each other arbitrarily, and the technical solutions obtained after the combination should also fall within the protection scope of this application. .
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围。It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than limiting the scope of the embodiments of the present application.
还应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should also be understood that, in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
还应理解,在本申请实施例和所附权利要求书中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请实施例。例如,在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“上述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It should also be understood that the terms used in the embodiments of the present application and the appended claims are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. For example, the singular forms of "a", "above" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
应理解,本申请实施例的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合 执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory of the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, DDR SDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), Synchronous Link Dynamic Random Access Memory (Synchlink DRAM, SLDRAM) ) And Direct Rambus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行上述实施例的方法。The embodiment of the present application also proposes a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions. When the instructions are included in a portable electronic device that includes multiple application programs When executed, the portable electronic device can be made to execute the method of the foregoing embodiment.
本申请实施例还提出了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述实施例的方法。The embodiment of the present application also proposes a computer program, which includes instructions, when the computer program is executed by a computer, the computer can execute the method of the above-mentioned embodiment.
本申请实施例还提供了一种芯片,该芯片包括输入输出接口、至少一个处理器、至少一个存储器和总线,该至少一个存储器用于存储指令,该至少一个处理器用于调用该至少一个存储器中的指令,以执行上述实施例的方法。An embodiment of the present application also provides a chip, which includes an input/output interface, at least one processor, at least one memory, and a bus. The at least one memory is used to store instructions, and the at least one processor is used to call the at least one memory. Instructions to execute the method of the above-mentioned embodiment.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结 合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应所述理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者所述技术方案的部分可以以软件产品的形式体现出来,所述计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易 想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (28)

  1. 一种指纹识别方法,其特征在于,包括:A fingerprint identification method, characterized in that it comprises:
    采集目标图像,根据所述目标图像获取第一残影模板图像;Acquiring a target image, and acquiring a first residual image template image according to the target image;
    采集待识别图像;Collect the image to be recognized;
    根据所述第一残影模板图像与所述待识别图像,判断所述待识别图像是否为指纹残影;Judging whether the image to be recognized is fingerprint afterimage according to the first afterimage template image and the image to be recognized;
    基于判断结果进行指纹识别。Fingerprint recognition is performed based on the judgment result.
  2. 根据权利要求1所述的指纹识别方法,其特征在于,采集目标图像,包括:The fingerprint identification method according to claim 1, wherein collecting the target image comprises:
    在一次按压抬起时,接收第一指示信息,采集所述目标图像;When pressing and lifting once, receiving the first instruction information, and collecting the target image;
    所述采集待识别图像,包括:The collecting the image to be recognized includes:
    在下一次按压时,接收第二指示信息,采集所述待识别图像。At the next pressing, the second instruction information is received, and the image to be recognized is collected.
  3. 根据权利要求2所述的指纹识别方法,其特征在于,所述第一指示信息和/或所述第二指示信息为触摸显示屏发送的指示信息。The fingerprint identification method according to claim 2, wherein the first indication information and/or the second indication information are indication information sent by a touch display screen.
  4. 根据权利要求1至3中任一项所述的指纹识别方法,其特征在于,所述根据所述目标图像获取第一残影模板图像,包括:The fingerprint identification method according to any one of claims 1 to 3, wherein the acquiring a first residual image template image according to the target image comprises:
    对所述目标图像进行指纹识别,若指纹识别成功,将所述目标图像作为所述第一残影模板图像;若指纹识别失败,不将所述目标图像作为所述第一残影模板图像。Perform fingerprint recognition on the target image, and if the fingerprint recognition is successful, use the target image as the first residual image template image; if the fingerprint recognition fails, the target image is not used as the first residual image template image.
  5. 根据权利要求2或3所述的指纹识别方法,其特征在于,所述根据所述目标图像获取第一残影模板图像,包括:The fingerprint identification method according to claim 2 or 3, wherein the acquiring a first residual image template image according to the target image comprises:
    在所述一次按压抬起之前,采集图像进行指纹识别;Before the one-time pressing and lifting, an image is collected for fingerprint recognition;
    若指纹识别成功,在所述一次按压抬起时,将所述目标图像作为所述第一残影模板图像;If the fingerprint recognition is successful, when the one-time press is lifted, the target image is used as the first residual image template image;
    若指纹识别失败,在所述一次按压抬起时,则不将所述目标图像作为所述第一残影模板图像。If the fingerprint recognition fails, the target image is not used as the first residual image template image when the one-time pressing is lifted.
  6. 根据权利要求1至3中任一项所述的指纹识别方法,其特征在于,所述根据所述目标图像获取第一残影模板图像,包括:The fingerprint identification method according to any one of claims 1 to 3, wherein the acquiring a first residual image template image according to the target image comprises:
    将所述目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则将所述目标图像作为所述第一残影模板图像;Comparing the target image with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, using the target image as the first residual image template image;
    若相似度小于预设阈值,则不将所述目标图像作为所述第一残影模板图 像。If the similarity is less than the preset threshold, the target image is not used as the first residual image template image.
  7. 根据权利要求1至6中任一项所述的指纹识别方法,其特征在于,所述指纹识别方法还包括:The fingerprint identification method according to any one of claims 1 to 6, wherein the fingerprint identification method further comprises:
    存储所述第一残影模板图像。Storing the first afterimage template image.
  8. 根据权利要求1至7中任一项所述的指纹识别方法,其特征在于,所述根据所述第一残影模板图像与所述待识别图像,判断所述待识别图像是否为指纹残影,包括:The fingerprint identification method according to any one of claims 1 to 7, characterized in that, according to the first residual image template image and the image to be recognized, it is determined whether the image to be recognized is a fingerprint residual image ,include:
    将所述待识别图像与所述第一残影模板图像进行对比,若相似度大于等于预设阈值,判断所述待识别图像为指纹残影;Comparing the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image;
    若相似度小于预设阈值,判断所述待识别图像不为指纹残影。If the similarity is less than the preset threshold, it is determined that the image to be recognized is not a fingerprint afterimage.
  9. 根据权利要求1至7中任一项所述的指纹识别方法,其特征在于,所述指纹识别方法还包括:The fingerprint identification method according to any one of claims 1 to 7, wherein the fingerprint identification method further comprises:
    获取至少一张第二残影模板图像;Acquiring at least one second afterimage template image;
    所述根据所述第一残影模板图像与所述待识别图像,判断所述待识别图像是否为指纹残影,包括:The judging whether the image to be recognized is a fingerprint afterimage based on the first residual image template image and the image to be recognized includes:
    将所述待识别图像与多张残影模板图像对比,所述多张残影模板图像包括:所述第一残影模板图像与所述至少一张第二残影模板图像;Comparing the to-be-recognized image with multiple afterimage template images, where the multiple afterimage template images include: the first afterimage template image and the at least one second afterimage template image;
    若所述待识别图像与所述多张残影模板图像中的至少一张残影模板图像的相似度大于等于预设阈值,判断所述待识别图像为指纹残影;If the similarity between the image to be recognized and at least one of the afterimage template images of the plurality of afterimage template images is greater than or equal to a preset threshold, determining that the image to be recognized is a fingerprint afterimage;
    若所述待识别图像与所述多张残影模板图像的相似度均小于预设阈值,判断所述待识别图像不为指纹残影。If the similarity between the image to be recognized and the multiple afterimage template images is less than a preset threshold, it is determined that the image to be identified is not a fingerprint afterimage.
  10. 根据权利要求1至9中任一项所述的指纹识别方法,其特征在于,所述基于判断结果进行指纹识别,包括:The fingerprint identification method according to any one of claims 1 to 9, wherein the fingerprint identification based on the judgment result comprises:
    若判断所述待识别图像为指纹残影,确定指纹识别失败;If it is determined that the image to be recognized is a fingerprint afterimage, it is determined that the fingerprint recognition has failed;
    若判断所述待识别图像不为指纹残影,对所述待识别图像进行指纹识别。If it is determined that the image to be identified is not a fingerprint afterimage, fingerprint identification is performed on the image to be identified.
  11. 根据权利要求10所述的指纹识别方法,其特征在于,所述对所述待识别图像进行指纹识别,包括:The fingerprint identification method according to claim 10, wherein the fingerprint identification of the image to be identified comprises:
    将所述待识别图像与用户指纹模板图像进行对比,若相似度大于等于预设阈值,确定指纹识别成功;Comparing the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, it is determined that the fingerprint identification is successful;
    若相似度小于预设阈值,确定指纹识别失败。If the similarity is less than the preset threshold, it is determined that the fingerprint recognition fails.
  12. 根据权利要求1至11中任一项所述的指纹识别方法,其特征在于,所述第一残影模板图像与所述待识别图像为光学指纹图像。The fingerprint identification method according to any one of claims 1 to 11, wherein the first residual image template image and the image to be identified are optical fingerprint images.
  13. 一种指纹识别装置,其特征在于,包括:指纹传感器和处理器;A fingerprint identification device, characterized by comprising: a fingerprint sensor and a processor;
    所述指纹传感器被配置为:采集目标图像以及采集待识别图像;The fingerprint sensor is configured to collect a target image and collect an image to be recognized;
    所述处理器被配置为:获取所述目标图像,并根据所述目标图像处理得到第一残影模板图像;获取所述待识别图像,并根据所述第一残影模板图像与所述待识别图像,判断所述待识别图像是否为指纹残影,并基于判断结果进行指纹识别。The processor is configured to: obtain the target image, and obtain a first residual image template image according to the target image processing; obtain the to-be-recognized image, and obtain the image according to the first residual image Recognizing the image, judging whether the image to be recognized is a fingerprint afterimage, and performing fingerprint recognition based on the judgment result.
  14. 根据权利要求13所述的指纹识别装置,其特征在于,所述指纹传感器被配置为:The fingerprint identification device according to claim 13, wherein the fingerprint sensor is configured to:
    在一次按压抬起时,接收第一指示信息,采集所述目标图像;When pressing and lifting once, receiving the first instruction information, and collecting the target image;
    在下一次按压时,接收第二指示信息,采集所述待识别图像。At the next pressing, the second instruction information is received, and the image to be recognized is collected.
  15. 根据权利要求14所述的指纹识别装置,其特征在于,所述第一指示信息和/或所述第二指示信息为所述指纹识别装置所在的电子设备中的触摸显示屏发送的指示信息。The fingerprint identification device according to claim 14, wherein the first instruction information and/or the second instruction information is instruction information sent by a touch display screen in an electronic device where the fingerprint identification device is located.
  16. 根据权利要求13至15中任一项所述的指纹识别装置,所述处理器被配置为:对所述目标图像进行指纹识别;The fingerprint identification device according to any one of claims 13 to 15, wherein the processor is configured to perform fingerprint identification on the target image;
    若指纹识别成功,确定所述目标图像为所述第一残影模板图像;若指纹识别失败,确定所述目标图像不为所述第一残影模板图像。If the fingerprint recognition is successful, it is determined that the target image is the first residual image template image; if the fingerprint recognition fails, it is determined that the target image is not the first residual image template image.
  17. 根据权利要求14或15所述的指纹识别装置,所述指纹传感器还被配置为:The fingerprint identification device according to claim 14 or 15, the fingerprint sensor is further configured to:
    在所述一次按压抬起之前,采集图像进行指纹识别;Before the one-time pressing and lifting, an image is collected for fingerprint recognition;
    所述处理器还被配置为:获取所述图像,并对所述图像进行指纹识别;The processor is also configured to: acquire the image, and perform fingerprint recognition on the image;
    若指纹识别成功,确定所述目标图像为所述第一残影模板图像;If the fingerprint recognition is successful, determining that the target image is the first residual image template image;
    若指纹识别失败,确定所述目标图像不为所述第一残影模板图像。If the fingerprint recognition fails, it is determined that the target image is not the first residual image template image.
  18. 根据权利要求13至15中任一项所述的指纹识别装置,其特征在于,所述处理器被配置为:The fingerprint identification device according to any one of claims 13 to 15, wherein the processor is configured to:
    将所述目标图像与用户指纹模板图像对比,若相似度大于等于预设阈值,则确定所述目标图像为所述第一残影模板图像;Comparing the target image with a user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, determining that the target image is the first residual image template image;
    若相似度小于预设阈值,则确定所述目标图像不为所述第一残影模板图像。If the similarity is less than the preset threshold, it is determined that the target image is not the first residual image template image.
  19. 根据权利要求13至18中任一项所述的指纹识别装置,其特征在于,所述指纹识别装置还包括:存储器,所述存储器被配置为存储所述第一残影模板图像。The fingerprint identification device according to any one of claims 13 to 18, wherein the fingerprint identification device further comprises: a memory configured to store the first residual image template image.
  20. 根据权利要求13至19中任一项所述的指纹识别装置,其特征在于,所述处理器被配置为:The fingerprint identification device according to any one of claims 13 to 19, wherein the processor is configured to:
    将所述待识别图像与所述第一残影模板图像进行对比,若相似度大于等于预设阈值,判断所述待识别图像为指纹残影;Comparing the image to be recognized with the first residual image template image, and if the similarity is greater than or equal to a preset threshold, determine that the image to be recognized is a fingerprint residual image;
    若相似度小于预设阈值,判断所述待识别图像不为指纹残影。If the similarity is less than the preset threshold, it is determined that the image to be recognized is not a fingerprint afterimage.
  21. 根据权利要求13至19中任一项所述的指纹识别装置,其特征在于,所述处理器还被配置为:获取至少一张第二残影模板图像;The fingerprint identification device according to any one of claims 13 to 19, wherein the processor is further configured to: acquire at least one second residual image template image;
    将所述待识别图像与多张残影模板图像对比,所述多张残影模板图像包括:所述第一残影模板图像与所述至少一张第二残影模板图像;Comparing the to-be-recognized image with multiple afterimage template images, where the multiple afterimage template images include: the first afterimage template image and the at least one second afterimage template image;
    若所述待识别图像与所述多张残影模板图像中的至少一张残影模板图像的相似度大于等于预设阈值,判断所述待识别图像为指纹残影;If the similarity between the image to be recognized and at least one of the afterimage template images of the plurality of afterimage template images is greater than or equal to a preset threshold, determining that the image to be recognized is a fingerprint afterimage;
    若所述待识别图像与所述多张残影模板图像的相似度均小于预设阈值,判断所述待识别图像不为指纹残影。If the similarity between the image to be recognized and the multiple afterimage template images is less than a preset threshold, it is determined that the image to be identified is not a fingerprint afterimage.
  22. 根据权利要求13至21中任一项所述的指纹识别装置,其特征在于,所述处理器被配置为:The fingerprint identification device according to any one of claims 13 to 21, wherein the processor is configured to:
    若判断所述待识别图像为指纹残影,确定指纹识别失败;If it is determined that the image to be recognized is a fingerprint afterimage, it is determined that the fingerprint recognition has failed;
    若判断所述待识别图像不为指纹残影,对所述待识别图像进行指纹识别。If it is determined that the image to be identified is not a fingerprint afterimage, fingerprint identification is performed on the image to be identified.
  23. 根据权利要求22所述的指纹识别装置,其特征在于,所述处理器被配置为:The fingerprint identification device of claim 22, wherein the processor is configured to:
    将所述待识别图像与用户指纹模板图像进行对比,若相似度大于等于预设阈值,确定指纹识别成功;Comparing the image to be identified with the user fingerprint template image, and if the similarity is greater than or equal to a preset threshold, it is determined that the fingerprint identification is successful;
    若相似度小于预设阈值,确定指纹识别失败。If the similarity is less than the preset threshold, it is determined that the fingerprint recognition fails.
  24. 根据权利要求13至23中任一项所述的指纹识别装置,其特征在于,所述指纹传感器为光学指纹传感器。The fingerprint identification device according to any one of claims 13 to 23, wherein the fingerprint sensor is an optical fingerprint sensor.
  25. 根据权利要求24所述的指纹识别装置,其特征在于,所述光学指纹传感器设置在所述指纹识别装置所在的电子设备的显示屏下方,用于接收从所述显示屏上方的手指反射或散射后返回的指纹光信号,以进行指纹识 别。The fingerprint identification device according to claim 24, wherein the optical fingerprint sensor is arranged below the display screen of the electronic device where the fingerprint identification device is located, and is used to receive reflections or scattering from a finger above the display screen. Then return the fingerprint light signal for fingerprint identification.
  26. 一种电子设备,其特征在于,包括:显示屏,以及An electronic device, characterized by comprising: a display screen, and
    如权利要求13至25中任一项所述的指纹识别装置。The fingerprint identification device according to any one of claims 13 to 25.
  27. 根据权利要求26所述的电子设备,其特征在于,所述指纹识别装置设置于所述显示屏下方,所述指纹识别装置接收从所述显示屏上方的手指反射或散射后返回的指纹光信号,以进行指纹识别。The electronic equipment according to claim 26, wherein the fingerprint identification device is arranged below the display screen, and the fingerprint identification device receives the fingerprint light signal returned after being reflected or scattered from the finger above the display screen To perform fingerprint recognition.
  28. 根据权利要求26或27所述的电子设备,其特征在于,所述显示屏为触摸显示屏。The electronic device according to claim 26 or 27, wherein the display screen is a touch display screen.
PCT/CN2020/087710 2020-04-29 2020-04-29 Fingerprint identification method, apparatus, and electronic device WO2021217476A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087710 WO2021217476A1 (en) 2020-04-29 2020-04-29 Fingerprint identification method, apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087710 WO2021217476A1 (en) 2020-04-29 2020-04-29 Fingerprint identification method, apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2021217476A1 true WO2021217476A1 (en) 2021-11-04

Family

ID=78373274

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087710 WO2021217476A1 (en) 2020-04-29 2020-04-29 Fingerprint identification method, apparatus, and electronic device

Country Status (1)

Country Link
WO (1) WO2021217476A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117311545A (en) * 2023-11-28 2023-12-29 深茂智联(深圳)科技有限公司 Intelligent touch panel control method and device and intelligent touch panel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030202687A1 (en) * 2002-04-29 2003-10-30 Laurence Hamid Method for preventing false acceptance of latent fingerprint images
CN101794386A (en) * 2010-03-24 2010-08-04 成都方程式电子有限公司 Fingerprint identification system and method for resisting remaining fingerprint
CN105956541A (en) * 2016-04-27 2016-09-21 广东欧珀移动通信有限公司 Fingerprint identification method, device and mobile terminal
CN106485125A (en) * 2016-10-21 2017-03-08 上海与德信息技术有限公司 A kind of fingerprint identification method and device
CN109726673A (en) * 2018-12-28 2019-05-07 北京金博星指纹识别科技有限公司 Real time fingerprint recognition methods, system and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030202687A1 (en) * 2002-04-29 2003-10-30 Laurence Hamid Method for preventing false acceptance of latent fingerprint images
CN101794386A (en) * 2010-03-24 2010-08-04 成都方程式电子有限公司 Fingerprint identification system and method for resisting remaining fingerprint
CN105956541A (en) * 2016-04-27 2016-09-21 广东欧珀移动通信有限公司 Fingerprint identification method, device and mobile terminal
CN106485125A (en) * 2016-10-21 2017-03-08 上海与德信息技术有限公司 A kind of fingerprint identification method and device
CN109726673A (en) * 2018-12-28 2019-05-07 北京金博星指纹识别科技有限公司 Real time fingerprint recognition methods, system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117311545A (en) * 2023-11-28 2023-12-29 深茂智联(深圳)科技有限公司 Intelligent touch panel control method and device and intelligent touch panel
CN117311545B (en) * 2023-11-28 2024-03-15 深茂智联(深圳)科技有限公司 Intelligent touch panel control method and device and intelligent touch panel

Similar Documents

Publication Publication Date Title
US10747984B2 (en) Method and apparatus of fingerprint identification and terminal device
CN109496314B (en) Fingerprint recognition device and electronic equipment under screen
EP3657381B1 (en) Fingerprint recognition apparatus and method, and terminal device
US11475706B2 (en) Fingerprint identification device, method and electronic device
CN109313522B (en) Multi-sensor-based method and system for acquiring fingerprint under screen and electronic equipment
CN110062931B (en) Fingerprint identification device, fingerprint identification method and electronic equipment
US11157716B2 (en) Multi-sensor-based under-screen fingerprint capturing method and system and electronic device
WO2020093251A1 (en) Double sensing area-based fingerprint identification method, fingerprint identification system, and electronic device
WO2021203337A1 (en) Fingerprint identification method and apparatus, and electronic device
WO2020186415A1 (en) Device and method for fingerprint recognition, and electronic apparatus
CN111095275B (en) Fingerprint identification device, fingerprint identification method and electronic equipment
WO2020227986A1 (en) Image collection apparatus and method, and electronic device
CN110214328B (en) Fingerprint identification method and device and electronic equipment
WO2021217476A1 (en) Fingerprint identification method, apparatus, and electronic device
CN111242111B (en) Fingerprint identification method and device and electronic equipment
EP3770737B1 (en) Fingerprint recognition method and apparatus, and electronic device
WO2020061734A1 (en) Fingerprint registration method, fingerprint registration device and electronic device
WO2020061754A1 (en) Multi-sensor-based in-screen fingerprint verification method and system, and electronic device
WO2020210954A1 (en) Image calibration method and apparatus, and electronic device
CN110785770A (en) Fingerprint identification method and device and electronic equipment
CN109564624B (en) Method and device for identifying fingerprint Logo and electronic equipment
WO2020146984A1 (en) Multiple security environments-based fingerprint recognition method and system, and electronic device
WO2020172773A1 (en) Fingerprint recognition method, apparatus, and electronic device
CN111950446A (en) Fingerprint identification method and device and terminal equipment
WO2022134079A1 (en) Fingerprint recognition apparatus, electronic device, and fingerprint recognition method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20933671

Country of ref document: EP

Kind code of ref document: A1