WO2020102945A1 - 指纹识别方法、装置和电子设备 - Google Patents

指纹识别方法、装置和电子设备

Info

Publication number
WO2020102945A1
WO2020102945A1 PCT/CN2018/116234 CN2018116234W WO2020102945A1 WO 2020102945 A1 WO2020102945 A1 WO 2020102945A1 CN 2018116234 W CN2018116234 W CN 2018116234W WO 2020102945 A1 WO2020102945 A1 WO 2020102945A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
image
area
predetermined pattern
target image
Prior art date
Application number
PCT/CN2018/116234
Other languages
English (en)
French (fr)
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 CN201880002304.8A priority Critical patent/CN109643379B/zh
Priority to PCT/CN2018/116234 priority patent/WO2020102945A1/zh
Publication of WO2020102945A1 publication Critical patent/WO2020102945A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1324Sensors therefor by using geometrical optics, e.g. using prisms
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user

Definitions

  • the present application relates to the field of fingerprint identification technology, and more specifically, to a fingerprint identification method, device, and electronic device.
  • optical fingerprint recognition devices brings users a safe and convenient user experience, but forged fingerprints such as fingerprint molds made of artificial materials (such as silicone, white glue, etc.) are a security risk in fingerprint applications.
  • forged fingerprints such as fingerprint molds made of artificial materials (such as silicone, white glue, etc.) are a security risk in fingerprint applications.
  • By forging fingerprints A fingerprint image with a high degree of similarity to a real fingerprint can be obtained. Therefore, how to identify the true and false fingerprints collected by the optical fingerprint recognition device to improve the security of fingerprint recognition is an urgent problem to be solved.
  • Embodiments of the present application provide a fingerprint identification method, device, and electronic equipment, which can effectively identify true and false fingerprints and improve the security of fingerprint identification.
  • a fingerprint recognition method which includes: when an object to be recognized presses at least one predetermined pattern sequentially displayed on a fingerprint detection area of a display screen, collecting at least one fingerprint image of the object to be recognized, wherein each Each fingerprint image corresponds to a predetermined pattern, and the intensity of the optical signal corresponding to the first area in the predetermined pattern is greater than the intensity of the optical signal corresponding to the second area in the predetermined pattern; based on the at least one fingerprint image, the A target image and / or a second target image, wherein the first target image includes an image formed by the optical signal reflected by the optical signal corresponding to the at least one predetermined pattern on the surface of the object to be identified, the second The target image is an image formed by the optical signal scattered by the optical signal corresponding to the at least one predetermined pattern inside the object to be identified; based on the first target image and / or the second target image, the target image is determined Identify whether the object is a real finger.
  • the at least one predetermined pattern includes a plurality of predetermined patterns
  • the At least one fingerprint image includes: sequentially displaying each of the plurality of predetermined patterns in the fingerprint detection area of the display screen; and collecting a corresponding one of the fingerprint images based on each predetermined pattern.
  • the multiple predetermined patterns are obtained by phase shifting the same pattern, and the superimposed pattern of the multiple predetermined patterns is a single color pattern.
  • the plurality of predetermined patterns include a first predetermined pattern and a second predetermined pattern
  • the fingerprint detection area of the display screen sequentially displays each of the plurality of predetermined patterns Including: controlling to turn on only the optical signal in the area where the fingerprint ridge pattern in the target fingerprint image is located to display the first predetermined pattern; or controlling to only turn on the optical signal in the area where the fingerprint valley pattern in the target fingerprint image is located To form the second predetermined pattern; wherein the target fingerprint image is a fingerprint image collected based on a predetermined pattern of a single color.
  • the plurality of predetermined patterns are a plurality of stripe patterns or a plurality of checkerboard patterns.
  • the determining the first target image and / or the second target image based on the at least one fingerprint image includes: multiple fingerprint images corresponding to the multiple fringe images, and the The phase relationship of multiple fringe images determines the first target image and / or the second target image.
  • the determining the first target image and / or the second target image based on the at least one fingerprint image includes:
  • the imaging area of the light signal reflected by the area, the dark light area of each fingerprint image is the imaging area of the light signal reflected by the second area of the predetermined pattern corresponding to each fingerprint image; according to the The fingerprint information of the bright light area and the fingerprint information of the dark light area determine the first target image and / or the second target image, wherein the fingerprint information of the bright light area of the fingerprint image includes a predetermined corresponding to the fingerprint image
  • the determining whether the object to be identified is a real finger according to the first target image and / or the second target image includes: according to the first target image and / or The second target image and the reference fingerprint image determine a first scale and / or a second scale, wherein the reference fingerprint image corresponds to a predetermined pattern of a single color; according to the first scale and / or the second scale Ratio to determine whether the object to be recognized is a real finger.
  • the determining the first ratio and / or the second ratio based on the first target image and / or the second target image and the reference fingerprint image includes: determining the reference fingerprint The first average value of the sample value of each pixel in the image; the ratio of the second average value of the sample value of all pixels in the first target image to the first average value is determined as the first A ratio; and / or determine the ratio of the third average value of the sampling values of all pixels in the second target image to the first average value as the second ratio.
  • the determining whether the object to be identified is a real finger according to the first ratio and / or the second ratio includes: if the first ratio is within a first preset range And / or the second ratio is within a second preset range, determining that the object to be recognized is a real finger.
  • the at least one predetermined pattern is formed by an optical signal emitted by a light source in the fingerprint detection area, where the light source includes at least one of a red light source, a green light source, and a blue light source.
  • the light source is a partial self-luminous display unit of the display screen in the fingerprint detection area
  • the red light source, the green light source, and the blue light source are the display, respectively The red display unit, green display unit and blue display unit of the screen.
  • the method further includes: controlling to turn on the self-luminous display unit in the first area of the fingerprint detection area, and turning off the self-luminous display unit in the second area to form a Each predetermined pattern of the at least one predetermined pattern.
  • the wavelength of the corresponding optical signal of the pattern in the first area is the center wavelength of the optical fingerprint sensor used for fingerprint collection.
  • a fingerprint recognition device comprising: an optical fingerprint sensor for collecting at least one object to be recognized when the object to be recognized presses at least one predetermined pattern sequentially displayed on the fingerprint detection area of the display screen Fingerprint images, each fingerprint image corresponding to a predetermined pattern, wherein the intensity of the optical signal corresponding to the first area in the predetermined pattern is greater than the intensity of the optical signal corresponding to the second area in the predetermined pattern; wherein, the At least one fingerprint image is used to determine a first target image and / or a second target image, the first target image and / or the second target image is used to determine whether the object to be recognized is a real finger, the first A target image includes an image of an optical signal reflected by the optical signal corresponding to the at least one predetermined pattern on the surface of the object to be recognized, and the second target image includes an optical signal corresponding to the at least one predetermined pattern at the An image formed by light signals scattered inside the object to be identified.
  • the at least one predetermined pattern includes a plurality of predetermined patterns
  • the optical fingerprint sensor is specifically configured to: sequentially display each of the plurality of predetermined patterns in a fingerprint detection area of the display screen When the pattern is predetermined, a corresponding fingerprint image is collected based on each predetermined pattern.
  • the multiple predetermined patterns are obtained by phase shifting the same pattern, and the superimposed pattern of the multiple predetermined patterns is a single color pattern.
  • the plurality of predetermined patterns include a first predetermined pattern and a second predetermined pattern
  • the first area in the first predetermined pattern is the area where the fingerprint ridge pattern in the target fingerprint image is located
  • the The second area in the first predetermined pattern is the area where the fingerprint valley pattern in the target fingerprint image is located
  • the first area in the second predetermined pattern is the area where the fingerprint valley pattern in the target fingerprint image is located
  • the The second area in the second predetermined pattern is an area where the fingerprint ridge pattern in the target fingerprint image is located
  • the target fingerprint image is a fingerprint image collected based on a predetermined pattern of a single color.
  • the plurality of predetermined patterns are a plurality of stripe patterns or a plurality of checkerboard patterns.
  • the fingerprint identification device further includes: a processor, configured to determine a fingerprint based on a plurality of fingerprint images corresponding to the plurality of stripe images and a phase relationship between the plurality of stripe images The first target image and / or the second target image.
  • the processor is further configured to: extract fingerprint information of a bright light area and fingerprint information of a dark light area of each fingerprint image in the plurality of fingerprint images, wherein each fingerprint The bright area of the image is the imaging area of the light signal reflected by the first area of the predetermined pattern corresponding to the fingerprint image, and the dark area of each fingerprint image is the second area of the predetermined pattern corresponding to each fingerprint image The imaging area of the reflected optical signal;
  • the fingerprint information of the bright area of the fingerprint image Including the fingerprint information carried by the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image on the surface of the object to be identified and the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image to be scattered inside the object to be identified The fingerprint information carried by the optical signal.
  • the processor is further configured to determine the first ratio and / or the second ratio based on the first target image and / or the second target image and the reference fingerprint image, wherein ,
  • the reference fingerprint image corresponds to a predetermined pattern of a single color; according to the first scale and / or the second scale, it is determined whether the object to be recognized is a real finger.
  • the processor is further configured to: determine a first average value of the sampled value of each pixel in the reference fingerprint image; compare all pixels in the first target image The ratio of the second average value of the sampled values to the first average value is determined as the first ratio; and / or the third average value of the sampled values of all pixels in the second target image and the The ratio of the first average value is determined as the second ratio.
  • the processor is further configured to: if the first ratio is within a first preset range, and / or the second ratio is within a second preset range, determine the pending Recognize objects as real fingers.
  • the wavelength of the corresponding optical signal of the pattern in the first area is the center wavelength of the optical fingerprint sensor used for fingerprint collection.
  • the at least one predetermined pattern is formed by an optical signal emitted by a light source in the fingerprint detection area, where the light source includes at least one of a red light source, a green light source, and a blue light source.
  • the light source is a partial self-luminous display unit of the display screen in the fingerprint detection area
  • the red light source, the green light source, and the blue light source are the display, respectively The red display unit, green display unit and blue display unit of the screen.
  • the device further includes: a light source driving module for controlling to turn on the self-luminous display unit in the first area of the fingerprint detection area and turn off the self-luminous light in the second area The display unit to form each predetermined pattern.
  • an electronic device including the fingerprint recognition device in the second aspect or any possible implementation manner of the second aspect.
  • the fingerprint recognition device may collect a corresponding fingerprint image according to a predetermined pattern with light and dark differences, and may further determine the light signal reflected from the surface of the object to be recognized and the light scattered from the object according to the fingerprint image
  • the image formed by the signal can determine whether the object to be recognized is a real finger according to the characteristics of the two parts of the optical signal, thereby improving the security of fingerprint recognition.
  • FIG. 1 is a schematic plan view of an electronic device to which this application can be applied.
  • Fig. 2 is a schematic partial cross-sectional view of the electronic device shown in Fig. 1 along A-A '.
  • FIG. 3 is a schematic diagram of a fingerprint identification device according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of several predetermined patterns according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a fingerprint image collected based on three sinusoidal stripe patterns.
  • FIG. 7 is a schematic block diagram of an electronic device according to an embodiment of the present application.
  • the optical fingerprint system provided by the embodiments of the present application can be applied to smartphones, tablet computers, and other mobile terminals or other terminal devices with display screens; more specifically, in the above terminal devices, fingerprint recognition
  • the device may specifically be an optical fingerprint recognition device, which may be disposed in a partial area or all areas below the display screen, thereby forming an under-display (Under-display or Under-screen) optical fingerprint system.
  • the technical solutions of the embodiments of the present application may also perform other fingerprint recognition based on the principle of optical imaging, for example, face recognition, etc. This embodiment of the present application is not limited thereto.
  • FIG. 1 and 2 show a schematic diagram of an electronic device 100 to which the fingerprint identification device according to an embodiment of the present application can be applied, wherein FIG. 1 is a schematic front view of the electronic device 100, and FIG. 2 is AA 'partial cross-sectional structure diagram.
  • the electronic device 100 includes a display screen 120 and an optical fingerprint recognition device (hereinafter also simply referred to as a fingerprint recognition device) 130, wherein the optical fingerprint recognition device 130 has one or more sensors An array, the sensing array is at least disposed in a partial area below the display screen 120, so that the fingerprint collection area (or sensing area) 103 of the optical fingerprint recognition device 130 is at least partially located in the display area 102 of the display screen 120 .
  • a fingerprint recognition device 130 hereinafter also simply referred to as a fingerprint recognition device 130
  • the optical fingerprint recognition device 130 has one or more sensors An array, the sensing array is at least disposed in a partial area below the display screen 120, so that the fingerprint collection area (or sensing area) 103 of the optical fingerprint recognition device 130 is at least partially located in the display area 102 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 recognition device 130, for example, through optical path design such as lens imaging, reflective folding optical path design, or other optical path design such as light gathering or reflection ,
  • the area of the fingerprint detection area 103 of the optical fingerprint identification device 130 can be larger than the area of the sensing array of the optical fingerprint identification device 130.
  • the fingerprint detection area 103 of the optical fingerprint identification device 130 may also be designed to be consistent with the area of the sensing array of the optical fingerprint identification device 130.
  • the fingerprint detection area 103 is located in the display area 102 of the display screen 120. Therefore, when the user needs to unlock the electronic device or other fingerprint verification, he only needs to press his finger Fingerprint input can be realized in the fingerprint detection area 103 located on the display screen 120. Since fingerprint detection can be implemented within the screen, the electronic device 100 adopting the above structure does not require a special reserved space on the front to set fingerprint keys (such as the Home key), so that a full screen solution can be adopted, that is, the display area of the display screen 120 102 can be basically extended to the front of the entire electronic device 100.
  • the display screen 120 may be a self-luminous display screen, which uses a self-luminous display unit as a display pixel, such as an organic light-emitting diode (Organic Light-Emitting Diode, OLED) display screen or a micro light-emitting diode (Micro- LED) display.
  • a self-luminous display unit such as an organic light-emitting diode (Organic Light-Emitting Diode, OLED) display screen or a micro light-emitting diode (Micro- LED) display.
  • OLED Organic Light-Emitting Diode
  • Micro- LED micro light-emitting diode
  • the optical fingerprint recognition device 130 may also use an internal light source or an external light source to provide an optical signal for fingerprint detection.
  • the optical fingerprint recognition device 130 may be applied to a non-self-luminous display, such as a liquid crystal display (Liquid Crystal Display, LCD) or other passive light-emitting display.
  • a non-self-luminous display such as a liquid crystal display (Liquid Crystal Display, LCD) or other passive light-emitting display.
  • LCD Liquid Crystal Display
  • the optical fingerprint system of the electronic device 100 may further include an excitation light source for optical fingerprint detection.
  • the excitation light source may specifically be an infrared light source or a light source of a non-visible light of a specific wavelength, which may be provided under the backlight module of the liquid crystal display screen or the edge area under the protective cover of the electronic device 100, and the The optical fingerprint recognition device 130 may be disposed under the edge area of the liquid crystal panel or the protective cover and guided by the optical path so that the fingerprint detection light can reach the optical fingerprint recognition device 130; or, the optical fingerprint recognition device 130 may also be disposed at the Under the backlight module, and the backlight module allows the fingerprint detection light to pass through the liquid crystal panel and the backlight module and reach the optics through openings or other optical design of the film layers such as the diffusion sheet, the brightness enhancement sheet, the reflection sheet, etc. Fingerprint recognition device 130.
  • the sensing array of the optical fingerprint recognition device 130 is specifically a photodetector (Photodetector) array, which includes a plurality of photodetectors distributed in an array, and the photodetectors can be used as the optical sensing unit as described above.
  • a finger touches, presses, or approaches for ease of description, this application is collectively referred to as touch
  • the light emitted by the display unit of the fingerprint recognition area 103 reflects on the fingerprint on the surface of the finger and forms reflected light The reflected light of the ridges and valleys of the finger fingerprint is different.
  • the reflected light is received from the display screen 120 and received by the photodetector array 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, thereby implementing an optical fingerprint recognition function in the electronic device 100.
  • the electronic device 100 further includes a transparent protective cover 110, and the cover 110 may be specifically a transparent cover, such as a glass cover or a sapphire cover, which is located on the display screen 120 above and covering the front of the electronic device 100. Therefore, in the embodiment of the present application, the so-called finger touch, pressing or approaching on the display screen 120 actually refers to the finger touching, pressing or approaching the cover plate 110 above the display screen 120 or covering the cover plate 110 Surface of the protective layer.
  • the electronic device 100 may further include a touch sensor, and the touch sensor may be specifically a touch panel, which may be provided on the surface of the display screen 120, or may be partially or wholly integrated into the display screen 120, namely The display screen 120 is specifically a touch display screen.
  • the touch sensor may be specifically a touch panel, which may be provided on the surface of the display screen 120, or may be partially or wholly integrated into the display screen 120, namely The display screen 120 is specifically a touch display screen.
  • the optical fingerprint recognition device 130 includes an optical detection unit 134 and an optical component 132, and the optical detection unit 134 includes the sensing array and the sensor array.
  • the reading circuit and other auxiliary circuits that are sexually connected can be fabricated on a chip (Die) through a semiconductor process; that is, the optical detection unit 134 can be fabricated on an optical imaging chip or an image sensor chip (hereinafter also referred to as an optical fingerprint) Sensor or optical fingerprint sensor chip).
  • the optical component 132 may be disposed above the sensing array of the optical detection unit 134, which may specifically include an optical filter (or filter, filter), an optical path guiding structure, and other optical elements.
  • the filter can be used to filter out the ambient light penetrating the finger, and the light path guiding structure is mainly used to guide the light path such as collimating, modulating or converging the downward propagating light to realize the reflection from the finger surface
  • the light is guided to the sensing array for optical detection.
  • the optical component 132 may be packaged with the optical detection unit 134 in the same optical fingerprint chip, or the optical component 132 may be disposed outside the chip where the optical detection unit 134 is located, such as The optical component 132 is attached to the chip, or a part of the components of the optical component 132 is integrated into the chip.
  • the optical path guiding structure of the optical component 132 has various implementation solutions, for example, it may be specifically an optical path modulator or an optical path collimator made of semiconductor silicon wafers or other substrates, which has multiple optical path modulation units or A collimating unit, the optical path modulation unit or the collimating unit may be specifically a micro-hole array.
  • the light guide layer 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 (hereinafter also referred to as a lens group).
  • the sensing array can detect the fingerprint image of the finger .
  • a circuit board 140 such as a flexible printed circuit (FPC) may also be provided under the optical fingerprint recognition device 130, and the optical fingerprint recognition device 130 may be soldered to the circuit board 140 through pads, for example.
  • the circuit board 140 realizes electrical interconnection and signal transmission with other peripheral circuits or other elements of the electronic device 100.
  • the optical fingerprint recognition device 130 may receive the control signal of the processing unit of the electronic device 100 through the circuit board 140, and may also output the fingerprint detection signal to the electronic device through the circuit board 140 100 processing unit or control unit.
  • the specific identification process of traditional fingerprint identification may be: using visible light of a certain wavelength as a light source for illuminating the fingerprint, specifically, the light source may illuminate the fingerprint detection area on the display screen, thereby forming a solid color spot, such as a green spot, in the fingerprint detection area That is, all display pixels in the fingerprint detection area are all lit.
  • the optical signal emitted by the light source is reflected by the finger in contact with the fingerprint detection area to form an optical signal containing fingerprint information.
  • the sensor receives the reflected light and uses the principle of light reflection imaging to perform fingerprint identification.
  • fingerprint molds made of artificial materials such as those made of milky white rubber, transparent rubber, black rubber or flesh-colored rubber
  • the fingerprint mold is usually made by the process of inverted mold, so the structure and material of the surface and the inside are all the same type and uniform, and the structure of the real finger is composed of different layers, including the epidermis layer, the dermis layer, and the flesh tissue And phalanx.
  • the optical signal is irradiated on the real and fake fingers, and further imaged on the optical fingerprint module.
  • the optical signal received by the optical fingerprint module mainly includes two parts. The first part is the light signal reflected from the surface of the finger, and the second part is from the inside of the finger.
  • an embodiment of the present application proposes a fingerprint recognition scheme, by forming a non-pure color spot, that is, a spot with a difference between light and dark, in the fingerprint detection area, based on the non-pure color spot, a fingerprint image is collected, and further a finger is obtained based on the fingerprint image
  • the light signal reflected from the surface and the light signal scattered from the inside of the finger can determine the true and fake fingerprints based on the difference between the two signals.
  • FIG. 3 shows a schematic diagram of a fingerprint identification device according to an embodiment of the present application.
  • the fingerprint recognition device 300 includes an optical fingerprint sensor 320 for collecting at least one object to be recognized when the object to be recognized presses at least one predetermined pattern sequentially displayed on the fingerprint detection area of the display screen A fingerprint image, wherein each fingerprint image corresponds to a predetermined pattern, and the intensity of the optical signal corresponding to the first area 312 in the predetermined pattern is greater than the intensity of the optical signal corresponding to the second area 313 in the predetermined pattern.
  • the first area 312 in the predetermined pattern is a bright light area
  • the second area 313 in the predetermined pattern is a dark light area, that is, the predetermined pattern is a pattern having a light-dark difference.
  • the at least one pattern includes a plurality of predetermined patterns
  • the bright light area and the dark light area of each predetermined pattern are different, assuming that the plurality of predetermined patterns include a first predetermined pattern and a second predetermined pattern, in one possibility
  • the bright area of the first predetermined pattern corresponds to the dark area of the second predetermined pattern.
  • the fingerprint identification device 300 may further include:
  • the optical component 330 is used for guiding or condensing the fingerprint detection signal to the optical fingerprint sensor 320, wherein the fingerprint detection signal is an optical signal corresponding to a predetermined pattern formed in the fingerprint detection area of the display screen on the surface of the object to be recognized Reflected and internally scattered light signals.
  • optical component 330 may correspond to the optical component 132 in the embodiment shown in FIG. 1.
  • the fingerprint identification device 300 may be a fingerprint identification module, corresponding to the optical fingerprint identification device 130 in FIG. 1, or the fingerprint identification device 300 may also be a fingerprint identification module Electronic equipment, which is not limited in the embodiments of the present application.
  • the at least one predetermined pattern is formed by an optical signal emitted by a light source in the fingerprint detection area, wherein the light source includes at least one of a red light source, a green light source, and a blue light source .
  • the light source is a partial self-luminous display unit 311 of the display screen in the fingerprint detection area, then the red light source, the green light source, and the blue light source are respectively The red display unit, green display unit and blue display unit of the display screen are described.
  • the light source may also be an internal light source or an external light source of the fingerprint identification module, which is not limited in the embodiments of the present application.
  • the intensity of the light signal emitted by the light source to the bright light area in the predetermined pattern may be controlled to be greater than the intensity of the light signal emitted to the dark light area to form each predetermined pattern.
  • the at least one predetermined pattern includes a first predetermined pattern, a first area of the first predetermined pattern is a bright light area and a second area of the first pattern is a dark light area, then the fingerprint detection area of the display screen displays the The first predetermined pattern may be to turn on the self-luminous display unit in the first area of the fingerprint detection area and turn off the self-luminous display unit in the second area of the fingerprint detection area, thereby forming the first predetermined pattern.
  • the at least one predetermined pattern may include a plurality of predetermined patterns, and the plurality of predetermined patterns may be light and dark complementary patterns, that is, the superimposed pattern of the plurality of patterns may be a single color Pattern, that is, a solid color spot, for example, a white spot, a cyan spot, or a green spot.
  • the plurality of predetermined patterns may be obtained by phase shifting of the same pattern, for example, the plurality of predetermined patterns include a first pattern and a second pattern, and the first pattern is a pattern with a difference in light and dark ,
  • the second pattern may be obtained by shifting the first pattern by ⁇ , or the plurality of patterns may also include more patterns, for example, the first pattern, the second pattern, and the third pattern, the second pattern and
  • the third pattern may be obtained by phase shifting the first pattern by 2 ⁇ / 3 and 4 ⁇ / 3 respectively, as long as the superimposed pattern of the plurality of predetermined patterns can be a solid color spot.
  • the phase interval is not specifically limited.
  • the plurality of predetermined patterns may be a plurality of stripe patterns with light and dark intervals, and the period of the light and dark intervals in the stripe pattern may be one or more pixels, for example, n pixels may be used as bright,
  • n pixels may be used as bright
  • multiple stripe patterns are obtained by phase shifting, for example, 3 stripe patterns, and the phase difference between each two stripe patterns is 2 ⁇ / 3.
  • the plurality of predetermined patterns may also be a checkerboard pattern with light and dark intervals.
  • the period of the light and dark intervals in the checkerboard pattern may be one or more pixels.
  • n pixels may be bright and m pixels may be dark
  • multiple checkerboard patterns are obtained by phase shifting, for example, 3 checkerboard patterns, and the phase difference between each two checkerboard patterns is 2 ⁇ / 3.
  • n and m may be the same or different, which is not limited in the embodiment of the present application, for example, n and m may be any integer from 5 to 10.
  • the plurality of predetermined patterns in the embodiment of the present application may also be other regular patterns, such as the ring pattern shown in FIG. 4, or may also be irregular patterns, and only the superimposed patterns of the plurality of predetermined patterns are solid colors
  • the light spot may be sufficient, which is not limited in the embodiments of the present application.
  • the optical fingerprint sensor 320 may sequentially collect data for the at least one At least one fingerprint image of the predetermined pattern, since the predetermined pattern is a light spot with light and dark differences, the collected fingerprint image is also an image with light and dark differences.
  • the bright light area of the fingerprint pattern it usually includes the image formed by the two parts of the optical signal described above, while for the dark light area of the fingerprint pattern, it usually includes only the image formed by the second part of the optical signal.
  • the images formed by the two parts of the optical signal can be determined and recorded as the first target image and the second target image. Further, according to the first The target image and the second target image determine the true and false fingerprints.
  • the first target image may be understood as an image formed by the optical signal reflected by the optical signal corresponding to the predetermined pattern on the surface of the object to be identified when the predetermined pattern is a solid color spot
  • the The second target image can be understood as an image formed by the light signal scattered inside the object to be identified when the predetermined pattern is a solid color spot.
  • the difference between the first target image and the second target image can be compared to determine the true and false fingerprints.
  • the difference between the first target image and the second target image can be less than It is determined to be a fake fingerprint when it is a specific threshold, and it is determined to be a real fingerprint when the difference between the first target image and the second target image is greater than a specific threshold.
  • a large number of fingerprint images of real fingers can be trained to obtain the first target image model and the second target image model corresponding to the real fingers, and then the subsequent fingerprint images of the object to be identified During false recognition, the first target image of the object to be recognized can be compared with the first target image model, and / or the second target image of the object to be recognized can be compared with the second target image model. When the image matches the first target image model, and / or the second target image matches the second target image model, it is determined to be a real fingerprint, otherwise it is determined to be a fake fingerprint.
  • the matching between the first target image and the first target image model may include that the difference between the values of corresponding pixels in the first target image and the first target image model is less than a certain threshold, or the first target image and the first target The proportion of the number of pixel points where the difference between the corresponding pixel points in the image model is less than a specific threshold is greater than a specific ratio, such as 95%.
  • a similar determination method can also be adopted for the second target image and the second target image model matching, which will not be repeated here.
  • the fingerprint identification device 300 may further include:
  • the processor is configured to determine the first target image and / or the second target image according to the plurality of fingerprint images corresponding to the plurality of predetermined patterns and the phase relationship between the plurality of predetermined patterns, further according to the The first target image and / or the second target image determine whether the object to be recognized is a real finger.
  • the plurality of predetermined patterns can be obtained by phase shifting the same pattern, then the plurality of fingerprint images obtained from the plurality of predetermined patterns also have corresponding phase relationships. Therefore, according to the The two parts of the optical signal also have corresponding phase relationships. Therefore, according to the multiple fingerprint images combined with the phase relationship, the image signals corresponding to the two parts of the optical signal can be obtained respectively.
  • the specific implementation process is combined with the specific embodiment in the method embodiment. Elaboration, no more details here.
  • the processor may be a processor of an electronic device, for example, the host module may also be a processor in a fingerprint identification module, for example, a micro control unit (Micro Control Unit, MCU), which is implemented in this application Examples are not limited to this.
  • MCU Micro Control Unit
  • the processor is specifically used to:
  • a first ratio and a second ratio are determined, and whether the object to be recognized is a real finger is determined according to the determined first ratio and the second ratio.
  • the reference fingerprint image is a fingerprint image collected based on a solid color spot.
  • a solid color spot may be displayed in a fingerprint detection area, and a fingerprint image is collected based on the solid color spot.
  • the fingerprint image may be used as the Reference fingerprint image; or, because the superimposed pattern of the plurality of predetermined patterns in the embodiment of the present application is a solid color spot, the reference fingerprint image may also be a superimposed image of multiple fingerprint images corresponding to the plurality of predetermined patterns.
  • the processor may determine the first average value of the sampling values of each pixel in the reference fingerprint image, and the second of the sampling values of all pixels in the first target image The ratio of the average value to the first average value is determined as the first ratio, and the ratio of the third average value of the sampling values of all the pixels in the second target to the first average value is determined as the second ratio. It is further determined whether the first ratio falls within the first preset range and whether the second ratio falls within the second preset range to determine whether the object to be recognized is a real finger. For example, the processor may determine that the object to be measured is a real finger when the first ratio is within the first preset range and the second ratio is within the second preset range, otherwise, determine that the object to be measured is a fake finger . Alternatively, the processor may determine that the object to be measured is a real finger when the first ratio is within the first preset range or the second ratio is within the second preset range.
  • Table 1 is a comparison of the first ratio L d _Nomal, the second ratio L g _Nomal and the ratio of the second ratio and the first ratio L g_Normal / L d_Normal determined by the fingerprint mold made of two artificial materials and the fingerprint image of the real finger table.
  • the artificial material since the artificial material has the characteristics of uniform and isotropic material, the difference between the light signal reflected from the surface of the fingerprint mold of the artificial material and the light signal scattered from the inside of the fingerprint mold is small, and the real finger includes multiple Different structures, so the difference between the light signal reflected from the surface of the finger and the light signal scattered from the inside of the finger is large.
  • the true and false fingerprints can be determined according to parameters such as the difference between the first ratio and the second ratio or the ratio between the first ratio and the second ratio.
  • the pixels or pixel units in the fingerprint detection area may refer to the self-luminous display unit or light-emitting pixels of the display screen, and the pixel points in the fingerprint image may correspond to the sensing unit in the optical fingerprint sensor.
  • the sampling value of the pixels in the image is the size of the light signal collected by the sensing unit in the optical fingerprint sensor.
  • the processor may also determine a first scale image based on the first target image and the reference fingerprint image, specifically, the first target image and the reference fingerprint image may be The ratio of the sample values of the corresponding pixels is determined as the sample values of the corresponding pixels in the first scale image, and then the average value of the sample values of all pixels in the first scale image can be determined as the first scale; similar Alternatively, the second scale image may be determined according to the second target image and the reference fingerprint image, and the average value of the sample values of corresponding pixels in the second scale image may be used as the second scale.
  • the processor may also directly determine whether the object to be recognized is a real finger based on the first scale image or the second scale image, for example, the processor may determine the first scale image and the first scale image model Whether it matches, or whether the second scale image and the second scale image model match, it is determined if the first scale image and the first scale image model match or the second scale image and the second scale image model match.
  • the processor may determine the first scale image and the first scale image model Whether it matches, or whether the second scale image and the second scale image model match, it is determined if the first scale image and the first scale image model match or the second scale image and the second scale image model match.
  • the first preset range may be determined according to the sampling values of all pixels of the first target image corresponding to the fingerprint image of a large number of real fingers and the reference fingerprint image, or may also be based on the foregoing
  • the first target image model and the reference fingerprint image determine the first preset range, for example, the range where the ratio of the values of the corresponding pixel points in the first target image model and the reference fingerprint image can be determined as the The first preset range, or the range in which the ratio between the average value of the sampling value of each pixel in the first target image model and the first average value may be determined as the first preset range.
  • the second preset range may be determined in a similar manner, and for the sake of brevity, details are not described here.
  • FIG. 5 shows a schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • the fingerprint identification method shown in FIG. 5 may be executed by the fingerprint identification device in the foregoing embodiment.
  • the fingerprint identification method 500 may include the following steps:
  • S520 Determine a first target image and / or a second target image according to the at least one fingerprint image, where the first target image includes the optical signal reflected by the optical signal corresponding to the at least one predetermined pattern on the surface of the object to be identified
  • the second target image includes an image formed by optical signals scattered by the optical signal corresponding to the at least one predetermined pattern inside the object to be identified.
  • S530 Determine whether the object to be recognized is a real finger according to the first target image and / or the second target image.
  • the at least one predetermined pattern includes a plurality of predetermined patterns, and when the object to be recognized presses at least one predetermined pattern on the fingerprint detection area of the display screen, at least one of the objects to be recognized is collected Fingerprint images, including:
  • Each predetermined pattern of the plurality of predetermined patterns is sequentially displayed in the fingerprint detection area of the display screen, and based on each predetermined pattern, a corresponding fingerprint image is collected.
  • the plurality of predetermined patterns are obtained by phase shifting the same pattern, and the superimposed pattern of the plurality of predetermined patterns is a single color pattern.
  • the plurality of predetermined patterns include a first predetermined pattern and a second predetermined pattern
  • the fingerprint detection area of the display screen sequentially displays each of the predetermined patterns Patterns, including:
  • the target fingerprint image is a fingerprint image collected based on a predetermined pattern of a single color.
  • the plurality of predetermined patterns are a plurality of striped patterns or a plurality of checkerboard patterns.
  • the determining the first target image and / or the second target image based on the at least one fingerprint image includes:
  • the first target image and / or the second target image are determined according to the multiple fingerprint images corresponding to the multiple fringe images and the phase relationship of the multiple fringe images.
  • the determining the first target image and / or the second target image based on the at least one fingerprint image includes:
  • An imaging area of the optical signal reflected by the area, the dark light area of each fingerprint image is an imaging area of the optical signal reflected by the second area of the predetermined pattern corresponding to each fingerprint image;
  • the fingerprint information of the bright area of the fingerprint image Including the fingerprint information carried by the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image on the surface of the object to be identified and the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image to be scattered inside the object to be identified The fingerprint information carried by the optical signal.
  • the determining whether the object to be recognized is a real finger based on the first target image and / or the second target image includes:
  • the first ratio and / or the second ratio it is determined whether the object to be recognized is a real finger.
  • the determining the first ratio and / or the second ratio based on the first target image and / or the second target image and the reference fingerprint image includes:
  • the determining whether the object to be recognized is a real finger according to the first ratio and / or the second ratio includes:
  • the first ratio is within the first preset range and / or the second ratio is within the second preset range, it is determined that the object to be recognized is a real finger.
  • the at least one predetermined pattern is formed by an optical signal emitted by a light source in the fingerprint detection area, where the light source includes at least one of a red light source, a green light source, and a blue light source.
  • the light source is a partial self-luminous display unit of the display screen in the fingerprint detection area
  • the red light source, the green light source and the blue light source are the red display unit, the green display unit and the blue light source of the display screen, respectively Color display unit.
  • the method 500 may further include:
  • the wavelength of the corresponding optical signal of the pattern in the first area is the center wavelength of the optical fingerprint sensor used for fingerprint collection.
  • the wavelength of the optical signal corresponding to the pattern in the first area may be the center wavelength most sensitive to imaging by the optical fingerprint sensor, such as green light, but the embodiment of the present application does not limit this.
  • Embodiment 1 The plurality of predetermined patterns are three sinusoidal stripe patterns with a phase interval of 2 ⁇ / 3.
  • the three sinusoidal stripe patterns respectively correspond to the first optical signal, the second optical signal and the third optical signal.
  • the sin (k 1 x + k 2 sin (y)) function can be used to generate three sinusoidal fringe patterns with light and dark intervals, where k 1 and k 2 can be used to control the The interval between light and dark areas in a sinusoidal stripe pattern.
  • the wavelength of the optical signal corresponding to the area lit by the stripes may be set to the center wavelength of the optical fingerprint sensor, for example, the wavelength of the green band, to improve the fingerprint recognition performance.
  • the three sinusoidal fringe patterns are sequentially displayed in the fingerprint detection area, and based on each sinusoidal fringe pattern, a fingerprint image is collected to obtain three fingerprint images L 1 , L 2, and L 3 , as shown in FIG. 6.
  • L 1 L d ⁇ (0.5 + 0.5 ⁇ sin ( ⁇ )) + L g / 2 (1)
  • L d is the first target image
  • L g is the second target image
  • the L d includes the sum of fingerprint information carried in the optical signal reflected from the surface of the object to be identified when the first optical signal, the second optical signal, and the third optical signal respectively illuminate the object to be identified, or, It can also be considered that L d is an image formed by the optical signal reflected from the surface of the object to be identified when the superimposed optical signal of the first optical signal, the second optical signal, and the third optical signal illuminates the object to be identified.
  • the L g includes the sum of fingerprint information carried in the optical signals reflected from the surface of the object to be recognized when the first optical signal, the second optical signal, and the third optical signal respectively illuminate the object to be identified, or, It can also be considered that the L g is an image formed by the optical signals scattered from the inside of the object to be recognized when the superimposed optical signals of the first optical signal, the second optical signal, and the third optical signal illuminate the object.
  • the fixed phase difference may correspond to the phase interval between the three sinusoidal fringe patterns.
  • the three fingerprint patterns are superimposed to obtain a single-color image.
  • the single-color fingerprint image can be used as the reference fingerprint image in the foregoing embodiments.
  • the coefficient of L g can be determined according to the number of pixels occupied by bright stripes and the number of pixels occupied by dark stripes, if the pixels of bright stripes and dark stripes cycle is 8 pixels, 8 pixels brighter i.e., 8 pixels off, in this case L g L g is 1/2 of the full brightness of all the pixels, or when, if the bright stripes cycle is 8 pixels pixels, dark stripe pixel period is four pixels, i.e., eight pixels lit, off four pixels, in this case L g L g is 2/3, and so on for all pixels at full brightness, the embodiment of the present application
  • the example only takes the same pixel period of the bright and dark stripes as an example for description. In other cases, it is only necessary to adjust the coefficients of L g in formula (1) -formula (3), and for the sake of brevity, they are not described here.
  • first target image L d and the second target image L g can be obtained according to formula (1) -formula (3), as shown in the following formula:
  • the object to be recognized is a fingerprint finger according to the determined first target image L d and second target image L g .
  • the object to be recognized is a fingerprint finger according to the determined first target image L d and second target image L g .
  • Embodiment 2 The plurality of predetermined patterns are three checkerboard patterns with a phase interval of 2 ⁇ / 3.
  • the checkerboard pattern may be a checkerboard pattern in which n pixels are bright and m pixels are dark.
  • the n and m may be the same or different.
  • the n may be 6 to 12, and the m may also be 6 ⁇ 12.
  • the fingerprint information of the bright light area and the fingerprint information of the dark light area in the fingerprint image collected based on each checkerboard pattern can be extracted.
  • the fingerprint information in the bright area of the fingerprint image includes fingerprint information carried by the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image on the surface of the object to be recognized and the optical signal corresponding to the predetermined pattern corresponding to the fingerprint image at Fingerprint information carried by the light signal scattered inside the object to be identified.
  • the extracted fingerprint information L max of the bright light area and the fingerprint information L min of the dark light area have the following relationship with the first target image L d and the second target image L g :
  • the coefficient of L g can be determined according to the number of pixels occupied by bright areas and the number of pixels occupied by dark areas.
  • the formula (6) and formula (7) are in bright light.
  • the pixel period of the area and the dark area is determined when the pixel period is 8, so the coefficient is 1/2. In other cases, the coefficient can be adjusted accordingly, which will not be repeated here.
  • first target image L d and the second target image L g may be solved according to formula (6) and formula (7), and then the to-be-recognized may be determined according to the first target image L d and the second target image L g Whether the object is a real finger can be referred to the related description in the foregoing embodiment for specific implementation.
  • one first target image and one second target image can be determined based on each fingerprint image, that is, multiple first target images and multiple second target images can be extracted.
  • the The extracted multiple first target images are superimposed to obtain a first target image for true and false fingerprint recognition, and the multiple second target images are superimposed to obtain a second target image for true and false fingerprint recognition.
  • each of the fingerprint images collected based on the checkerboard pattern in Embodiment 2 can extract the fingerprint information L max in the bright light region and the fingerprint information L min in the dark light region, so that the formula (6 ) And formula (7) to solve a first target image L d and a second target image L g , that is, the embodiment of the present application can also distinguish true and false fingerprints when the collected fingerprint image is a single bright and dark fingerprint image .
  • Embodiment 3 The plurality of predetermined patterns include a first predetermined pattern and a second predetermined pattern, the first predetermined pattern and the second predetermined pattern are complementary patterns, wherein the first predetermined pattern is a fingerprint ridge pattern bright, fingerprint valley In the pattern where the pattern is off, the second predetermined pattern is a pattern where the fingerprint ridge pattern is off and the fingerprint valley pattern is bright.
  • a fingerprint image based on a solid color spot specifically, control all pixels in the fingerprint detection area to display a solid color spot in the fingerprint detection area, and collect a fingerprint image of an object to be recognized based on the solid color spot; then, in the The fingerprint image is displayed in the fingerprint detection area, wherein the pixels in the area where the fingerprint ridge image in the fingerprint image is located are turned on, the pixels in the area where the fingerprint valley image in the fingerprint image is located are turned off, and the first predetermined pattern is displayed based on the The first predetermined pattern collects the first fingerprint image, and then the pixels in the area where the fingerprint ridge image in the fingerprint image is located are turned off, the pixels in the area of the fingerprint valley image in the fingerprint image are turned on, and the second predetermined pattern is displayed, The second fingerprint image is collected based on the second predetermined pattern, and the first target image and the second target image may be further determined according to the first fingerprint image and the second fingerprint image. Repeat again.
  • the sampling value of each pixel in the optical fingerprint sensor may also be calibrated to reduce the error of subsequent fingerprint collection.
  • a shielding member may be provided above the fingerprint identification device, for example, a shielding member made of black rubber, to prevent interference of fingerprint image collection with external ambient light.
  • the light source is controlled to emit light signals of different intensities to the fingerprint detection area, for example, 100%, 70%, and 40%.
  • the light source is controlled to emit light signals of different intensities to the fingerprint detection area, for example, 100%, 70%, and 40%.
  • multiple fingerprint images are collected, and further according to the multiple fingerprint images, the The sampling value of each photosensitive unit in the optical fingerprint sensor is calibrated (for example, KB calibration) to obtain the calibration value of each photosensitive unit (for example, K and B), and the calibration value can be used for Calibrate the sampled value of the photosensitive unit to reduce the measurement error caused by the hardware difference of the optical fingerprint sensor.
  • an embodiment of the present application also provides an electronic device 800.
  • the electronic device 800 may include a display screen 820 and the above-mentioned fingerprint recognition device 810.
  • the fingerprint recognition device 810 may be the fingerprint recognition in the foregoing embodiment
  • the device 300 is provided below the display screen 820.
  • the display screen 820 has a self-luminous display unit, and the self-luminous display unit can be used as an excitation light source for fingerprint detection by the fingerprint identification device 810.
  • the fingerprint identification device 810 may be used to execute the content in the method embodiment shown in FIG. 5.
  • the disclosed system and device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections through some interfaces, devices, or units, and may also be electrical, mechanical, or other forms of connection.
  • 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 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 of the present application.
  • the functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology, or all or part of the technical solution can be embodied in the form of a software product
  • the computer software product is stored in a storage medium
  • several instructions are included to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Optics & Photonics (AREA)
  • Computer Hardware Design (AREA)
  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

一种指纹识别方法、装置和电子设备,能够提升指纹识别的安全性。该方法包括:在待识别物体按压显示屏的指纹检测区域上的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,其中,每个指纹图像对应一个预定图案,所述预定图案中的第一区域对应的光信号的强度大于所述预定图案中的第二区域对应的光信号的强度(510);根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,其中,所述第一目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体表面反射的光信号所成的像,所述第二目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体内部散射的光信号所成的像(520);根据所述第一目标图像和/或所述第二目标图像,确定所述待识别物体是否是真实手指(530)。

Description

指纹识别方法、装置和电子设备 技术领域
本申请涉及指纹识别技术领域,并且更具体地,涉及一种指纹识别方法、装置和电子设备。
背景技术
光学指纹识别装置的应用给用户带来了安全和便捷的用户体验,但是伪造指纹例如通过人工材料(例如,硅胶、白胶等)制造的指纹模具,是指纹应用中一个安全隐患,通过伪造指纹能够获得与真实指纹相似度极高的指纹图像。因此,如何识别光学指纹识别装置采集的指纹的真假,以提升指纹识别的安全性是一个亟需解决的问题。
发明内容
本申请实施例提供了一种指纹识别方法、装置以及电子设备,能够有效识别真假指纹,提升指纹识别的安全性。
第一方面,提供了一种指纹识别方法,包括:在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,其中,每个指纹图像对应一个预定图案,所述预定图案中的第一区域对应的光信号的强度大于所述预定图案中的第二区域对应的光信号的强度;根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,其中,所述第一目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体表面反射的光信号所成的像,所述第二目标图像为所述至少一个预定图案对应的光信号在所述待识别物体内部散射的光信号所成的像;根据所述第一目标图像和/或所述第二目标图像,确定所述待识别物体是否是真实手指。
在一些可能的实现方式中,所述至少一个预定图案包括多个预定图案,所述在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,包括:在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案;基于所述每个预定图案,采集对应的一个指纹图像。
在一些可能的实现方式中,所述多个预定图案由同一图案移相得到,且所述多个预定图案的叠加图案为单一颜色的图案。
在一些可能的实现方式中,所述多个预定图案包括第一预定图案和第二预定图案,所述在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案,包括:控制只开启目标指纹图像中的指纹脊图案所在的区域的光信号,以显示所述第一预定图案;或控制只开启所述目标指纹图像中的指纹谷图案所在的区域的光信号,以形成所述第二预定图案;其中,所述目标指纹图像为基于单一颜色的预定图案采集的指纹图像。
在一些可能的实现方式中,所述多个预定图案为多个条纹图案或多个棋盘格图案。
在一些可能的实现方式中,所述根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:根据所述多个条纹图像对应的多个指纹图像,以及所述多个条纹图像的相位关系,确定所述第一目标图像和/或第二目标图像。
在一些可能的实现方式中,所述根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:
提取所述多个指纹图像中的每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,其中,所述每个指纹图像的亮光区域为所述指纹图像对应的预定图案的第一区域反射的光信号的成像区域,所述每个指纹图像的暗光区域为所述每个指纹图像对应的预定图案的第二区域反射的光信号的成像区域;根据所述每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,确定所述第一目标图像和/或所述第二目标图像,其中,所述指纹图像的亮光区域的指纹信息包括所述指纹图像对应的预定图案对应的光信号在所述待识别物体表面反射的光信号所携带的指纹信息和所述指纹图像对应的预定图案对应的光信号在所述待识别物体内部散射的光信号所携带的指纹信息。
在一些可能的实现方式中,所述根据所述第一目标图像和/或所述第二目标图像,确定所述待识别物体是否是真实手指,包括:根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,其中,所述参考指纹图像对应单一颜色的预定图案;根据所述第一比例和/或所述第二比例,确定所述待识别物体是否为真实手指。
在一些可能的实现方式中,所述根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,包括:确定所述参考指纹图像中的每个像素点的采样值的第一平均值;将所述第一目标图像中的所有像素点的采样值的第二平均值与所述第一平均值的比值确定为所述第一比例;和/或将所述第二目标图像中的所有像素点的采样值的第三平均值与所述第一平均值的比值确定为所述第二比例。
在一些可能的实现方式中,所述根据所述第一比例和/或所述第二比例,确定所述待识别物体是否为真实手指,包括:若所述第一比例在第一预设范围内和/或所述第二比例在第二预设范围内,确定所述待识别物体为真实手指。
在一些可能的实现方式中,所述至少一个预定图案由光源发射的光信号在所述指纹检测区域形成,其中,所述光源包括红色光源、绿色光源和蓝色光源中的至少一个。
在一些可能的实现方式中,所述光源为所述显示屏在所述指纹检测区域的部分自发光显示单元,且所述红色光源、所述绿色光源和所述蓝色光源分别为所述显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
在一些可能的实现方式中,所述方法还包括:控制开启所述指纹检测区域的所述第一区域中的自发光显示单元,关闭所述第二区域中的自发光显示单元,以形成所述至少一个预定图案中的每个预定图案。
在一些可能的实现方式中,所述第一区域中的图案的对应的光信号的波长为用于指纹采集的光学指纹传感器的中心波长。
第二方面,提供了一种指纹识别装置,包括:光学指纹传感器,用于在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,每个指纹图像对应一个预定图案,其中,所述预定图案中的第一区域对应的光信号的强度大于所述预定图案中的第二区域对应的光信号的强度;其中,所述至少一个指纹图像用于确定第一目标图像和/或第二目标图像,所述第一目标图像和/或所述第二目标图像用于确定所述待识别物体是否是真实手指,所述第一目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体表面反射的光信号所成的像,所述第二目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体内部散射的光信号所成的像。
在一些可能的实现方式中,所述至少一个预定图案包括多个预定图案,所述光学指纹传感器具体用于:在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案时,基于所述每个预定图案,采集对应的一个指纹图像。
在一些可能的实现方式中,所述多个预定图案由同一图案移相得到,且所述多个预定图案的叠加图案为单一颜色的图案。
在一些可能的实现方式中所述多个预定图案包括第一预定图案和第二预定图案,所述第一预定图案中的第一区域为目标指纹图像中的指纹脊图案所在的区域,所述第一预定图案中的第二区域为所述目标指纹图像中的指纹谷图案所在的区域,所述第二预定图案中的第一区域为目标指纹图像中的指纹谷图案所在的区域,所述第二预定图案中的第二区域为所述目标指纹图像中的指纹脊图案所在的区域,其中,所述目标指纹图像为基于单一颜色的预定图案采集的指纹图像。
在一些可能的实现方式中,所述多个预定图案为多个条纹图案或多个棋盘格图案。
在一些可能的实现方式中,所述指纹识别装置还包括:处理器,用于根据所述多个条纹图像对应的多个指纹图像,以及所述多个条纹图像之间的相位关系,确定所述第一目标图像和/或第二目标图像。
在一些可能的实现方式中,所述处理器还用于:提取所述多个指纹图像中的每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,其中,所述每个指纹图像的亮光区域为所述指纹图像对应的预定图案的第一区域反射的光信号的成像区域,所述每个指纹图像的暗光区域为所述每个指纹图像对应的预定图案的第二区域反射的光信号的成像区域;
根据所述每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,确定所述第一目标图像和/或所述第二目标图像,其中,所述指纹图像的亮光区域的指纹信息包括所述指纹图像对应的预定图案对应的光信号在所述待识别物体表面反射的光信号所携带的指纹信息和所述指纹图像对应的预定图案对应的光信号在所述待识别物体内部散射的光信号所携带的指纹信息。
在一些可能的实现方式中,所述处理器还用于:根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,其中,所述参考指纹图像对应单一颜色的预定图案;根据所述第一比例和/ 或所述第二比例,确定所述待识别物体是否为真实手指。
在一些可能的实现方式中,所述处理器还用于:确定所述参考指纹图像中的每个像素点的采样值的第一平均值;将所述第一目标图像中的所有像素点的采样值的第二平均值与所述第一平均值的比值确定为所述第一比例;和/或将所述第二目标图像中的所有像素点的采样值的第三平均值与所述第一平均值的比值确定为所述第二比例。
在一些可能的实现方式中,所述处理器还用于:若所述第一比例在第一预设范围内,和/或所述第二比例在第二预设范围内,确定所述待识别物体为真实手指。
在一些可能的实现方式中,所述第一区域中的图案的对应的光信号的波长为用于指纹采集的光学指纹传感器的中心波长。
在一些可能的实现方式中,所述至少一个预定图案由光源发射的光信号在所述指纹检测区域形成,其中,所述光源包括红色光源、绿色光源和蓝色光源中的至少一个。
在一些可能的实现方式中,所述光源为所述显示屏在所述指纹检测区域的部分自发光显示单元,且所述红色光源、所述绿色光源和所述蓝色光源分别为所述显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
在一些可能的实现方式中,所述装置还包括:光源驱动模块,用于控制开启所述指纹检测区域的所述第一区域中的自发光显示单元,关闭所述第二区域中的自发光显示单元,以形成每个预定图案。
第三方面,提供了一种电子设备,包括第二方面或第二方面的任意可能的实现方式中的指纹识别装置。
因此,在本申请实施例中,该指纹识别装置可以根据具有明暗差异的预定图案采集对应的指纹图像,进一步可以根据该指纹图像确定从待识别物体表面反射的光信号和从物体内部散射的光信号所成的像,从而可以根据这两部分光信号的特性,确定该待识别物体是否为真实手指,进而能够提升指纹识别的安全性。
附图说明
图1是本申请可以适用的电子设备的平面示意图。
图2是图1所示的电子设备沿A-A’的部分剖面示意图。
图3是本申请实施例的指纹识别装置的示意图。
图4是本申请实施例的几种预定图案的示意图。
图5是本申请实施例的指纹识别方法的示意性流程图。
图6是基于三幅正弦条纹图案所采集的指纹图像的示意图。
图7是本申请实施例的电子设备的示意性框图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
应理解,本申请实施例的技术方案可以应用于各种电子设备,例如智能手机、笔记本电脑、平板电脑、游戏设备等便携式或移动计算设备,以及电子数据库、汽车、银行自动柜员机(Automated Teller Machine,ATM)等其他电子设备,但本申请实施例对此并不限定。
作为一种常见的应用场景,本申请实施例提供的光学指纹***可以应用在智能手机、平板电脑以及其他具有显示屏的移动终端或者其他终端设备;更具体地,在上述终端设备中,指纹识别装置可以具体为光学指纹识别装置,其可以设置在显示屏下方的局部区域或者全部区域,从而形成屏下(Under-display或者Under-screen)光学指纹***。
还应理解,本申请实施例的技术方案除了可以进行指纹识别外,还可以进行其他基于光学成像原理的指纹识别,例如,人脸识别等,本申请实施例对此并不限定。
图1和图2示出了本申请实施例的指纹识别装置可以适用的一种电子设备100的示意图,其中图1为电子设备100的正面示意图,图2为图1所示的电子设备100沿A-A’的部分剖面结构示意图。
如图1所示和图2所示,该电子设备100包括显示屏120和光学指纹识别装置(后面也简称为指纹识别装置)130,其中,所述光学指纹识别装置130具有一个或多个感应阵列,所述感应阵列至少设置在所述显示屏120下方的局部区域,从而使得所述光学指纹识别装置130的指纹采集区域(或感应区域)103至少部分位于所述显示屏120的显示区域102。
应当理解,所述指纹检测区域103的面积可以与所述光学指纹识别装置130的感应阵列的面积不同,例如通过例如透镜成像的光路设计、反射式折叠光路设计或者其他光线汇聚或者反射等光路设计,可以使得所述光学指纹 识别装置130的指纹检测区域103的面积大于所述光学指纹识别装置130感应阵列的面积。在其他替代实现方式中,如果采用例如光线准直方式进行光路引导,所述光学指纹识别装置130的指纹检测区域103也可以设计成与所述光学指纹识别装置130的感应阵列的面积相一致。
如图1所示,所述指纹检测区域103位于所述显示屏120的显示区域102之中,因此,使用者在需要对所述电子设备进行解锁或者其他指纹验证的时候,只需要将手指按压在位于所述显示屏120的指纹检测区域103,便可以实现指纹输入。由于指纹检测可以在屏内实现,因此采用上述结构的电子设备100无需其正面专门预留空间来设置指纹按键(比如Home键),从而可以采用全面屏方案,即所述显示屏120的显示区域102可以基本扩展到整个电子设备100的正面。
作为一种实施例中,所述显示屏120可以为自发光显示屏,其采用自发光显示单元作为显示像素,比如有机发光二极管(Organic Light-EmittingDiode,OLED)显示屏或者微型发光二极管(Micro-LED)显示屏。以采用OLED显示屏为例,所述光学指纹识别装置130可以利用所述OLED显示屏120位于所述指纹识别区域103的OLED显示单元(即OLED光源)作为光学指纹检测的激励光源。
在其他实施例中,所述光学指纹识别装置130也可以采用内置光源或者外置光源来提供用于进行指纹检测的光信号。在这种情况下,所述光学指纹识别装置130可以适用于非自发光显示屏,比如液晶显示屏(Liquid CrystalDisplay,LCD)或者其他的被动发光显示屏。以应用在具有背光模组和液晶面板的液晶显示屏为例,为支持液晶显示屏的屏下指纹检测,所述电子设备100的光学指纹***还可以包括用于光学指纹检测的激励光源,所述激励光源可以具体为红外光源或者特定波长非可见光的光源,其可以设置在所述液晶显示屏的背光模组下方或者设置在所述电子设备100的保护盖板下方的边缘区域,而所述光学指纹识别装置130可以设置液晶面板或者保护盖板的边缘区域下方并通过光路引导以使得指纹检测光可以到达所述光学指纹识别装置130;或者,所述光学指纹识别装置130也可以设置在所述背光模组下方,且所述背光模组通过对扩散片、增亮片、反射片等膜层进行开孔或者其他光学设计以允许指纹检测光穿过液晶面板和背光模组并到达所述光学指纹识别装置130。
并且,所述光学指纹识别装置130的感应阵列具体为光探测器(Photodetector)阵列,其包括多个呈阵列式分布的光探测器,所述光探测器可以作为如上所述的光学感应单元。当手指触摸、按压或者接近(为便于描述,本申请统称为触摸)在所述指纹识别区域103时,所述指纹识别区域103的显示单元发出的光线在手指表面的指纹发生反射并形成反射光,其中所述手指指纹的纹脊和纹谷的反射光是不同的,反射光从所述显示屏120并被所述光探测器阵列所接收并转换为相应的电信号,即指纹检测信号。基于所述指纹检测信号便可以获得指纹图像数据,并且可以进一步进行指纹匹配验证,从而在所述电子设备100实现光学指纹识别功能。
应当理解的是,在具体实现上,所述电子设备100还包括透明保护盖板110,所述盖板110可以具体为透明盖板,比如玻璃盖板或者蓝宝石盖板,其位于所述显示屏120的上方并覆盖所述电子设备100的正面。因此,本申请实施例中,所谓的手指触摸、按压或者接近在所述显示屏120实际上是指手指触摸、按压或者接近在所述显示屏120上方的盖板110或者覆盖所述盖板110的保护层表面。另外,所述电子设备100还可以包括触摸传感器,所述触摸传感器可以具体为触控面板,其可以设置在所述显示屏120表面,也可以部分或者整体集成到所述显示屏120内部,即所述显示屏120具体为触控显示屏。
作为一种可选的实现方式,如图2所示,所述光学指纹识别装置130包括光学检测单元134和光学组件132,所述光学检测单元134包括所述感应阵列以及与所述感应阵列电性连接的读取电路及其他辅助电路,其可以在通过半导体工艺制作在一个芯片(Die);即所述光学检测单元134可以制作在光学成像芯片或者图像传感芯片(后面也称为光学指纹传感器或光学指纹传感器芯片)。所述光学组件132可以设置在所述光学检测单元134的感应阵列的上方,其可以具体包括光学滤波器(或者滤波片、滤光片(Filter))、光路引导结构以及其他光学元件,所述滤光片可以用于滤除穿透手指的环境光,而所述光路引导结构主要用于对向下传播的光线进行准直、调制或者汇聚等光路引导以实现将从手指表面反射回来的反射光导引至所述感应阵列进行光学检测。
在具体实现上,所述光学组件132可以与所述光学检测单元134封装在同一个光学指纹芯片,也可以将所述光学组件132设置在所述光学检测单元 134所在的芯片外部,比如将所述光学组件132贴合在所述芯片上方,或者将所述光学组件132的部分元件集成在上述芯片之中。其中,所述光学组件132的光路引导结构有多种实现方案,比如可以具体为在半导体硅片或者其他基材制作而成的光路调制器或者光路准直器,其具有多个光路调制单元或者准直单元,所述光路调制单元或者准直单元可以具体为微孔阵列。或者,所述导光层也可以为光学透镜(Lens)层,其具有一个或多个透镜单元,比如一个或多个非球面透镜组成的透镜组(下面也称为镜头组)。从手指反射回来的反射光经所述微孔阵列或者所述透镜单元进行光路准直或者汇聚之后,并被其下方的光学感应单元接收,据此,所述感应阵列可以检测出手指的指纹图像。
所述光学指纹识别装置130的下方还可以设置有电路板140,比如软性电路板(Flexible Printed Circuit,FPC),所述光学指纹识别装置130例如可以通过焊盘焊接到所述电路板140,并通过所述电路板140实现与其他***电路或者所述电子设备100的其他元件的电性互连和信号传输。比如,所述光学指纹识别装置130可以通过所述电路板140接收所述电子设备100的处理单元的控制信号,并且还可以通过所述电路板140将所述指纹检测信号输出给所述电子设备100的处理单元或者控制单元等。
传统指纹识别具体识别过程可以为:采用一定波长的可见光作为照射指纹的光源,具体地,该光源可以照射在显示屏上的指纹检测区域,从而在该指纹检测区域形成纯色光斑,例如绿色光斑,即指纹检测区域中的所有显示像素全部点亮。当手指触摸、按压或者接近(为便于描述,在本申请中统称为按压)指纹检测区域时,光源发射的光信号经过与指纹检测区域接触的手指的反射,形成包含指纹信息的光信号,光学传感器接收该反射光线,利用光的反射成像原理进行指纹识别。
通常来说,人工材料制作的指纹模具,例如乳白色橡胶、透明橡胶、黑色橡胶或者肉色橡胶等材料制备的指纹模具,与真实手指的结构和材质具有明显的差异。具体地,指纹模具通常采用倒模的工艺制作,因此其表面和内部的结构和材质都是各项同型和均匀的,而真实手指的结构有不同层组成,包括表皮层、真皮层、肉体组织和指骨等结构。光信号照射在真假手指上,进一步在光学指纹模组上成像,则光学指纹模组接收的光信号主要包括两部分,第一部分是从手指表面反射的光信号,第二部分是从手指内部即散射的 光信号,由于真假手指的结构和材质的差异,因此,这两部分光信号具有明显的差异。基于此,本申请实施例提出了一种指纹识别方案,通过在指纹检测区域形成非纯色光斑,即具有明暗差异的光斑,基于该非纯色光斑,采集指纹图像,进一步基于该指纹图像获取从手指表面反射的光信号和从手指内部散射的光信号,从而可以基于这两部分信号的差异,确定真假指纹。
下面将结合图3和图4,详细介绍本申请实施例的指纹识别装置。
图3示出了本申请实施例的指纹识别装置的示意图。如图3所示,该指纹识别装置300包括:光学指纹传感器320,用于在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,其中,每个指纹图像对应一个预定图案,所述预定图案中的第一区域312对应的光信号的强度大于所述预定图案中的第二区域313对应的光信号的强度。
也就是说,该预定图案中的第一区域312为亮光区域,该预定图案中的第二区域313为暗光区域,即该预定图案为具有明暗差异的图案。
需要说明的是,若该至少一个图案包括多个预定图案,每个预定图案的亮光区域和暗光区域不同,假设该多个预定图案包括第一预定图案和第二预定图案,在一种可能的情况下,该第一预定图案的亮光区域对应第二预定图案的暗光区域。
可选地,在本申请实施例中,该指纹识别装置300还可以包括:
光学组件330,用于将指纹检测信号导引或汇聚到所述光学指纹传感器320,其中,该指纹检测信号为在显示屏的指纹检测区域形成的预定图案所对应的光信号在待识别物体表面反射和内部散射的光信号。
应理解,该光学组件330可以对应于图1所示的实施例中的光学组件132,具体实现可以参考前述实施例的相关描述,这里不再赘述。
还应理解,本申请实施例中,该指纹识别装置300可以为指纹识别模组,对应于图1中的光学指纹识别装置130,或者,该指纹识别装置300也可以为包括指纹识别模组的电子设备,本申请实施例对此不作限定。
可选地,在本申请实施例中,所述至少一个预定图案由光源发射的光信号在所述指纹检测区域形成,其中,所述光源包括红色光源、绿色光源和蓝色光源中的至少一个。
可选地,作为一个实施例,所述光源为所述显示屏在所述指纹检测区域 的部分自发光显示单元311,则所述红色光源、所述绿色光源和所述蓝色光源分别为所述显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
可选地,在其他实施例中,该光源也可以为指纹识别模组的内置光源或者外置光源,本申请实施例对此不作限定。
在具体实现中,可以控制该光源向该预定图案中的亮光区域所发射的光信号的强度大于向暗光区域所发射的光信号的强度,以形成每个预定图案。
例如,该至少一个预定图案包括第一预定图案,该第一预定图案的第一区域为亮光区域和该第一图案的第二区域为暗光区域,则在该显示屏的指纹检测区域显示该第一预定图案可以为开启该指纹检测区域中的第一区域中的自发光显示单元,关闭该指纹检测区域中的第二区域中的自发光显示单元,从而形成该第一预定图案。
可选地,在本申请实施例中,该至少一个预定图案可以包括多个预定图案,该多个预定图案可以为明暗互补的图案,也就是说,该多个图案的叠加图案可以为单一颜色的图案,即纯色光斑,例如,白色光斑,青色光斑或绿色光斑等。
可选地,在本申请实施例中,该多个预定图案可以由同一图案移相得到,例如,该多个预定图案包括第一图案和第二图案,该第一图案为具有明暗差异的图案,该第二图案可以是将该第一图案移相π得到的,或者该多个图案也可以包括更多个图案,例如,第一图案、第二图案和第三图案,该第二图案和第三图案可以是由第一图案分别移相2π/3和4π/3得到的,只要能够使得该多个预定图案的叠加图案为纯色光斑即可,本申请实施例对于该多个预定图案的相位间隔不作具体限定。
以下,结合图4,说明预定图案的可能的实现方式。
例如,如图4所示,该多个预定图案可以为多个具有明暗间隔的条纹图案,该条纹图案中的明暗间隔的周期可以是一个或多个像素,例如,可以使用n个像素亮,m个像素暗的条纹图案,通过移相得到多个条纹图案,例如,3个条纹图案,每两个条纹图案之间的相位差为2π/3。
又例如,该多个预定图案也可以为明暗间隔的棋盘格图案,该棋盘格图案中的明暗间隔的周期可以是一个或多个像素,例如,可以使用n个像素亮,m个像素暗的棋盘格图案,通过移相得到多个棋盘格图案,例如,3个棋盘格图案,每两个棋盘格图案之间的相位差为2π/3。
可选地,该n和m可以相同也可以不同,本申请实施例对此不作限定,例如,n和m可以为5~10中的任一整数。
应理解,本申请实施例中的该多个预定图案也可以为其他规则图案,例如图4所示的圆环图案,或者也可以为不规则图案,只有该多个预定图案的叠加图案为纯色光斑即可,本申请实施例对此不作限定。
在本申请实施例中,在待识别物体按压该显示屏的指纹检测区域时,该显示屏的指纹检测区域可以依次显示该至少一个预定图案时,该光学指纹传感器320可以依次采集针对该至少一个预定图案的至少一个指纹图像,由于预定图案为具有明暗差异的光斑,则采集的指纹图像也为具有明暗差异的图像。对于指纹图案的亮光区域而言,通常包括前文所述的两部分光信号所成的像,而对于指纹图案的暗光区域而言,通常只包括第二部分光信号所成的像。因此,对采集的具有明暗差异的该至少一个指纹图像进行处理,可以确定这两部分光信号分别所成的像,记为第一目标图像和第二目标图像,进一步地,可以根据该第一目标图像和第二目标图像,确定真假指纹。
需要说明的是,在本申请实施例中,该第一目标图像可以理解为在预定图案为纯色光斑时,该预定图案对应的光信号在待识别物体表面反射的光信号所成的像,该第二目标图像可以理解为在预定图案为纯色光斑时,该预定图案对应的光信号在待识别物体内部散射的光信号所成的像。
由于对于不同的材料而言,该第一目标图像和第二目标图像具有明显的差异,例如,对于指纹模具而言,该第一目标图像和第二目标图像的差异相对于真实手指来说较小,因此,在一可选的实施例中,可以对比该第一目标图像和第二目标图像的差异,确定真假指纹,例如,可以在该第一目标图像和第二目标图像的差异小于特定阈值时,确定为假指纹,在该第一目标图像和第二目标图像的差异大于特定阈值时,确定为真实指纹。
在其他可选的实施例中,可以对大量的真实手指的指纹图像进行训练,得到真实手指对应的第一目标图像模型和第二目标图像模型,在对后续的待识别物体的指纹图像进行真假识别时,可以将待识别物体的第一目标图像和该第一目标图像模型进行对比,和/或将待识别物体的第二目标图像和该第二目标图像模型进行对比,在第一目标图像和该第一目标图像模型匹配,和/或第二目标图像和该第二目标图像模型匹配情况下,确定为真实指纹,否则确定为假指纹。
应理解,第一目标图像和第一目标图像模型匹配可以包括第一目标图像和第一目标图像模型中的对应像素点的取值之差小于特定阈值,或者该第一目标图像和第一目标图像模型中的对应像素点的取值之差小于特定阈值的像素点的个数的占比大于特定比例,例如95%等。对于第二目标图像和第二目标图像模型匹配亦可采用类似的判断方式,这里不再赘述。
可选地,在一些实施例中,该指纹识别装置300还可以包括:
处理器,用于根据所述多个预定图案对应的多个指纹图像,以及所述多个预定图案之间的相位关系,确定所述第一目标图像和/或第二目标图像,进一步根据该第一目标图像和/或第二目标图像确定该待识别物体是否为真实手指。
由上文描述可知,该多个预定图案可以是由同一图案移相得到,则由该多个预定图案得到的多个指纹图像也具有相应的相位关系,因此,根据每个指纹图像所包括的两部分光信号也具有相应的相位关系,因此,根据该多个指纹图像结合该相位关系,可以得到这两部分光信号分别对应的图像信号,具体实现过程在方法实施例中结合具体实施例详细阐述,这里不再赘述。
应理解,该处理器可以是电子设备的处理器,例如,主控(Host)模块也可以是指纹识别模组中的处理器,例如,微控制单元(Micro Control Unit,MCU),本申请实施例对此并不限定。
可选地,在一些具体的实施例中,该处理器具体用于:
根据该第一目标图像和该第二目标图像以及参考指纹图像,确定第一比例和第二比例,根据确定的第一比例和第二比例确定该待识别物体是否是真实手指。
可选地,在本申请实施例中,该参考指纹图像为基于纯色光斑采集的指纹图像,具体地,可以在指纹检测区域显示纯色光斑,基于该纯色光斑采集指纹图像,该指纹图像可以作为该参考指纹图像;或者,由于本申请实施例中的该多个预定图案的叠加图案为纯色光斑,该参考指纹图像也可以为该多个预定图案对应的多个指纹图像的叠加图像。可选地,作为一个实施例,该处理器可以确定该参考指纹图像中的每个像素点的采样值的第一平均值,将该第一目标图像中所有的像素点的采样值的第二平均值与该第一平均值的比值确定为该第一比例,将该第二目标中所有的像素点的采样值的第三平均值与该第一平均值的比值确定为该第二比例。进一步判断该第一比例是否落 入第一预设范围,该第二比例是否落入第二预设范围,以确定该待识别物体是否为真实手指。例如,该处理器可以在第一比例在第一预设范围内,且第二比例在第二预设范围内时,确定该待测物体为真实手指,否则,确定该待测物体为假手指。或者,该处理器可以在该第一比例在第一预设范围内,或第二比例在第二预设范围内时,确定该待测物体为真实手指。
表1为两种人工材料制作的指纹模具与真实手指的指纹图像所确定的第一比例L d_Nomal、第二比例L g_Nomal以及第二比例和第一比例的比值L g_Normal/L d_Normal的对比表。
表1
指纹图像 L d_Nomal L g_Nomal L g_Normal/L d_Normal
真实手指的指纹图像 0.551 -0.332 -0.602
乳白橡胶假指纹图像 0.462 -0.170 -0.369
透明橡胶假指纹图像 0.419 -0.092 -0.219
由上文描述可知,由于人工材料具有材料均匀各项同性的特性,所以从人工材料的指纹模具表面反射的光信号和从指纹模具内部散射的光信号的差异较小,而真实手指包括多层不同的结构,所以从手指表面反射的光信号和从手指内部散射的光信号的差异较大,这一点也从表1得到了论证,即,真实手指的L d_Nomal和L g_Nomal的差异大于人工材料制备的指纹模具的L d_Nomal和L g_Nomal的差异,因此,可以根据该第一比例和第二比例的差值或第一比例和第二比例的比值等参数,确定真假指纹。
应理解,在本申请实施例中,指纹检测区域中的像素或像素单元等可以指显示屏的自发光显示单元或发光像素,指纹图像中的像素点可以对应光学指纹传感器中的感应单元,指纹图像中的像素点的采样值为该光学指纹传感器中的感应单元所采集的光信号的大小。
可选地,在其他可选实施例中,该处理器也可以根据该第一目标图像与该参考指纹图像确定第一比例图像,具体地,可以将该第一目标图像和参考指纹图像中的对应像素点的采样值的比值确定为该第一比例图像中的对应像素点的采样值,然后可以将该第一比例图像中的所有像素点的采样值的平均值确定为第一比例;类似地,也可以根据该第二目标图像与该参考指纹图像确定第二比例图像,进一步可以将该第二比例图像中的对应像素点的采样值的平均值作为该第二比例。
以上,根据该第一目标图像和第二目标图像,以及参考指纹图像确定该 第一比例和第二比例的方式仅为示例,其他类似的等价变形同样落入本申请实施例的保护范围,本申请实施例对此不作限定。
可选地,该处理器也可以直接根据该第一比例图像或第二比例图像,确定该待识别物体是否为真实手指,例如,该处理器可以确定该第一比例图像和第一比例图像模型是否匹配,或该第二比例图像和第二比例图像模型是否匹配,在该第一比例图像和该第一比例图像模型匹配或该第二比例图像和第二比例图像模型匹配的情况下,确定该待识别物体为真实手指,否则,确定该待识别物体为假手指。
这里,第一比例图像模型和第二比例图像模型的确定方式可以参考前述实施例中第一目标图像模型和第二目标图像模型的确定方式,为了简洁,这里不再赘述。
可选地,在本申请实施例中,可以根据大量的真实手指的指纹图像对应的第一目标图像的所有像素点的采样值和参考指纹图像确定该第一预设范围,或者也可以根据前述的第一目标图像模型和该参考指纹图像确定该第一预设范围,例如,可以将该第一目标图像模型和该参考指纹图像中的对应像素点的取值的比值所在的范围确定为该第一预设范围,或者也可以将该第一目标图像模型中的每个像素点的采样值的平均值和第一平均值的比值所在的范围确定为该第一预设范围。可以采用类似的方式确定该第二预设范围,为了简洁,这里不再赘述。
上文结合图3至图4,详细描述了本申请的装置实施例,下文结合图5和图6,详细描述本申请的方法实施例,应理解,方法实施例与装置实施例相互对应,类似的描述可以参照装置实施例。
图5示出了本申请实施例的指纹识别方法的示意性流程图。图5所示的指纹识别方法可以由前述实施例中的指纹识别装置执行。
如图5所示,该指纹识别方法500可以包括如下步骤:
S510,在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集该待识别物体的至少一个指纹图像,其中,每个指纹图像对应一个预定图案,该预定图案中的第一区域对应的光信号的强度大于该预定图案中的第二区域对应的光信号的强度。
S520,根据该至少一个指纹图像,确定第一目标图像和/或第二目标图像,其中,该第一目标图像包括该至少一个预定图案对应的光信号在该待识 别物体表面反射的光信号所成的像,该第二目标图像包括该至少一个预定图案对应的光信号在该待识别物体内部散射的光信号所成的像。
S530,根据该第一目标图像和/或该第二目标图像,确定该待识别物体是否是真实手指。
可选地,在一些实施例中,该至少一个预定图案包括多个预定图案,所述在待识别物体按压显示屏的指纹检测区域上的至少一个预定图案时,采集该待识别物体的至少一个指纹图像,包括:
在该显示屏的指纹检测区域依次显示该多个预定图案中的每个预定图案,基于该每个预定图案,采集对应的一个指纹图像。
可选地,在一些实施例中,该多个预定图案由同一图案移相得到,且该多个预定图案的叠加图案为单一颜色的图案。
可选地,在一些实施例中,该多个预定图案包括第一预定图案和第二预定图案,所述在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案,包括:
控制只开启目标指纹图像中的指纹脊图案所在的区域的光信号,以显示所述第一预定图案;或
控制只开启所述目标指纹图像中的指纹谷图案所在的区域的光信号,以形成所述第二预定图案;
其中,所述目标指纹图像为基于单一颜色的预定图案采集的指纹图像。
可选地,该多个预定图案为多个条纹图案或多个棋盘格图案。
可选地,在一些实施例中,所述根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:
根据该多个条纹图像对应的多个指纹图像,以及该多个条纹图像的相位关系,确定该第一目标图像和/或第二目标图像。
可选地,在一些实施例中,所述根据该至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:
提取所述多个指纹图像中的每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,其中,所述每个指纹图像的亮光区域为所述指纹图像对应的预定图案的第一区域反射的光信号的成像区域,所述每个指纹图像的暗光区域为所述每个指纹图像对应的预定图案的第二区域反射的光信号的成像区域;
根据所述每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,确定所述第一目标图像和/或所述第二目标图像,其中,所述指纹图像的亮光区域的指纹信息包括所述指纹图像对应的预定图案对应的光信号在所述待识别物体表面反射的光信号所携带的指纹信息和所述指纹图像对应的预定图案对应的光信号在所述待识别物体内部散射的光信号所携带的指纹信息。
可选地,所述根据该第一目标图像和/或该第二目标图像,确定该待识别物体是否是真实手指,包括:
根据该第一目标图像和/或该第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,其中,该参考指纹图像对应单一颜色的预定图案;
根据该第一比例和/或该第二比例,确定该待识别物体是否为真实手指。
可选地,所述根据该第一目标图像和/或该第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,包括:
确定该参考指纹图像中的每个像素点的采样值的第一平均值;
将该第一目标图像中的所有像素点的采样值的第二平均值与该第一平均值的比值确定为该第一比例;和/或将该第二目标图像中的所有像素点的采样值的第三平均值与该第一平均值的比值确定为该第二比例。
可选地,所述根据该第一比例和/或该第二比例,确定该待识别物体是否为真实手指,包括:
若该第一比例在第一预设范围内和/或该第二比例在第二预设范围内,确定该待识别物体为真实手指。
可选地,该至少一个预定图案由光源发射的光信号在该指纹检测区域形成,其中,该光源包括红色光源、绿色光源和蓝色光源中的至少一个。
可选地,该光源为该显示屏在该指纹检测区域的部分自发光显示单元,且该红色光源、该绿色光源和该蓝色光源分别为该显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
可选地,在一些实施例中,该方法500还可以包括:
控制开启该指纹检测区域的该第一区域中的自发光显示单元,关闭该第二区域中的自发光显示单元,以形成每个预定图案。
可选地,该第一区域中的图案的对应的光信号的波长为用于指纹采集的光学指纹传感器的中心波长。
优选地,该第一区域中图案对应的光信号的波长可以为光学指纹传感器 成像最敏感的中心波长,例如绿光,但本申请实施例对此并不作限定。
以下,结合具体实施例,详细说明根据本申请实施例的指纹识别方法。
实施例1:该多个预定图案为三个正弦条纹图案,相位间隔为2π/3。
其中,该三个正弦条纹图案分别对应第一光信号、第二光信号和第三光信号。
可选地,在具体实现中,可以采用sin(k 1x+k 2sin(y))函数,生成具有明暗间隔的三个正弦条纹图案,其中,该k 1和k 2可以用于控制该正弦条纹图案中的明暗区域的间隔。
可选地,可以设置条纹点亮的区域对应的光信号的波长为光学指纹传感器的中心波长,例如绿色波段的波长,以提升指纹识别性能。
进一步地,在该指纹检测区域依次显示该三个正弦条纹图案,基于每个正弦条纹图案,采集一个指纹图像,得到三个指纹图像L 1,L 2和L 3,如图6所示。
根据生成该三个正弦条纹图案的函数,可以得到该指纹图像L 1,L 2和L 3的表达式如公式(1)-公式(3)所示:
L 1=L d·(0.5+0.5·sin(φ))+L g/2   (1)
L 2=L d·(0.5+0.5·sin(φ+2π/3))+L g/2   (2)
L 3=L d·(0.5+0.5·sin(φ+4π/3))+L g/2   (3)
其中,L d为该第一目标图像,该L g为该第二目标图像。
可以理解,该L d包括该第一光信号、第二光信号和第三光信号分别照射待识别物体时,从该待识别物体表面反射的光信号中所携带的指纹信息之和,或者,也可以认为该L d为第一光信号、第二光信号和第三光信号的叠加光信号照射该待识别物体时,从该待识别物体表面反射的光信号所成的像。
类似地,该L g包括该第一光信号、第二光信号和第三光信号分别照射待识别物体时,从该待识别物体表面反射的光信号中所携带的指纹信息之和,或者,也可以认为该L g为第一光信号、第二光信号和第三光信号的叠加光信号照射该待识别物体时,从该待识别物体内部散射的光信号所成的像。
从公式(1)-公式(3)可以看出,采集到的指纹图像之间存在固定的相位差,该固定的相位差可以对应于三个正弦条纹图案之间的相位间隔。该三幅指纹图案叠加可以得到单一颜色的图像,在一些实施例中,该单一颜色的指纹图像可以作为前述实施例中的参考指纹图像。
应理解,在公式(1)-公式(3)中,L g的系数可以根据亮条纹所占的像素的个数和暗条纹所占的像素的个数确定,若亮条纹和暗条纹的像素周期都为8个像素,即8个像素亮,8个像素灭,此情况下的L g为所有像素全亮情况下的L g的1/2,或者,若亮条纹的像素周期为8个像素,暗条纹的像素周期为4个像素,即8个像素亮,4个像素灭,此情况下的L g为所有像素全亮情况下的L g的2/3,依次类推,本申请实施例仅以亮条纹和暗条纹的像素周期相同为例进行说明,其他情况下只需调整公式(1)-公式(3)中的L g的系数即可,为了简洁,这里不再赘述。
进一步地,可以根据公式(1)-公式(3),得到第一目标图像L d和第二目标图像L g,如下式所示:
Figure PCTCN2018116234-appb-000001
L g=2L 1-L d·(1+sin(φ))        (5)
其中,cos(φ)=(2L 2-2L 3)/L d
Figure PCTCN2018116234-appb-000002
然后可以根据确定出的第一目标图像L d和第二目标图像L g,确定该待识别物体是否为指纹手指,具体实现可以参考前述实施例中的相关描述。
实施例2:该多个预定图案为三个棋盘格图案,相位间隔为2π/3。
如上文所述,该棋盘格图案可以为n个像素亮,m个像素暗的棋盘格图案,该n和m可以相同也可以不同,例如,该n可以为6~12,该m也可以为6~12。以n=8,m=8为例,即亮光区域的像素周期为8,暗光区域的像素指纹也为8。
在该实施例2中,可以提取基于每个棋盘格图案所采集的指纹图像中的亮光区域的指纹信息和暗光区域的指纹信息。
其中,该指纹图像的亮光区域的指纹信息包括该指纹图像对应的预定图案对应的光信号在待识别物体表面反射的光信号所携带的指纹信息和该指纹图像对应的预定图案对应的光信号在该待识别物体内部散射的光信号所携带的指纹信息。
即,提取出的亮光区域的指纹信息L max和暗光区域的指纹信息L min,和第一目标图像L d和第二目标图像L g具有如下关系:
L max=L d+L g/2   (6)
L g=2L min   (7)
与实施例1类似,该L g的系数可以根据亮光区域所占的像素点的个数 和暗光区域所占的像素点的个数确定,该公式(6)和公式(7)是在亮光区域和暗光区域的像素周期都为8的情况下确定的,故系数为1/2,其他情况下可以将系数做相应调整,这里不再赘述。
进一步地,可以根据公式(6)和公式(7)求解第一目标图像L d和第二目标图像L g,进而根据该第一目标图像L d和该第二目标图像L g确定该待识别物体是否为真实手指,具体实现可以参考前述实施例中的相关描述。在该实施例2中,基于每个指纹图像都可以确定一个第一目标图像和一个第二目标图像,即可以提取多个第一目标图像和多个第二目标图像,在具体实现中,可以将提取的该多个第一目标图像进行叠加,得到用于真假指纹识别的第一目标图像,将多个第二目标图像进行叠加,得到用于真假指纹识别的第二目标图像。
应理解,基于实施例2中的棋盘格图案所采集的指纹图像中的每个指纹图像均可提取出亮光区域的指纹信息L max和暗光区域的指纹信息L min,从而可以结合公式(6)和公式(7)求解出一个第一目标图像L d和一个第二目标图像L g,即本申请实施例在采集的指纹图像为单个明暗差异的指纹图像时亦可进行真假指纹的判别。
实施例3:该多个预定图案包括第一预定图案和第二预定图案,该第一预定图案和第二预定图案为互补的图案,其中,该第一预定图案为指纹脊图案亮,指纹谷图案灭的图案,该第二预定图案为指纹脊图案灭,指纹谷图案亮的图案。
具体地,首先基于纯色光斑获取指纹图像,具体地,控制开启指纹检测区域中的所有的像素,即在指纹检测区域显示纯色光斑,基于该纯色光斑采集待识别物体的指纹图像;然后,在该指纹检测区域中显示该指纹图像,其中,该指纹图像中的指纹脊图像所在区域中的像素开启,该指纹图像中的指纹谷图像所在区域中的像素关闭,显示该第一预定图案,基于该第一预定图案采集第一指纹图像,然后在控制该指纹图像中的指纹脊图像所在区域中的像素关闭,该指纹图像中的指纹谷图像所在区域中的像素开启,显示该第二预定图案,基于该第二预定图案采集第二指纹图像,进一步可以根据该第一指纹图像和第二指纹图像确定第一目标图像和第二目标图像,具体实现可以参考实施例2中的相关描述,这里不再赘述。
可选地,在本申请实施例中,在进行指纹采集之前,还可以对光学指 纹传感器中的每个像素点的采样值进行校准,以降低后续的指纹采集的误差。
具体地,可以在指纹识别装置的上方设置遮挡件,例如,黑色橡胶材质的遮挡件,以防止外界环境光对指纹图像采集造成干扰。
然后控制光源向指纹检测区域发射不同强度的光信号,例如,100%、70%、40%,基于这几种不同强度的光信号,采集多个指纹图像,进一步根据该多个指纹图像,对该光学指纹传感器中的每个感光单元的采样值进行校准(例如KB校准),得到每个感光单元的校准值(例如K和B),该校准值可以用于对后续采集的指纹图像中的对应感光单元的采样值进行校准,以降低光学指纹传感器的硬件差异带来的测量误差。
本申请实施例还提供了一种电子设备800,如图7所示,所述电子设备800可以包括显示屏820以及上述指纹识别装置810,该指纹识别装置810可以为前述实施例中的指纹识别的装置300,并设置在所述显示屏820的下方。其中,作为一种可选的实施例,所述显示屏820具有自发光显示单元,所述自发光显示单元可以作为所述指纹识别装置810用于进行指纹检测的激励光源。另外,所述指纹识别装置810可以能够用于执行图5所示方法实施例中的内容。
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围。
应理解,在本申请实施例和所附权利要求书中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请实施例。例如,在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“上述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置, 可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (29)

  1. 一种指纹识别方法,其特征在于,包括:
    在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,其中,每个指纹图像对应一个预定图案,所述预定图案中的第一区域对应的光信号的强度大于所述预定图案中的第二区域对应的光信号的强度;
    根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,其中,所述第一目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体表面反射的光信号所成的像,所述第二目标图像为所述至少一个预定图案对应的光信号在所述待识别物体内部散射的光信号所成的像;
    根据所述第一目标图像和/或所述第二目标图像,确定所述待识别物体是否是真实手指。
  2. 根据权利要求1所述的方法,其特征在于,所述至少一个预定图案包括多个预定图案,所述在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,包括:
    在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案;
    基于所述每个预定图案,采集对应的一个指纹图像。
  3. 根据权利要求2所述的方法,其特征在于,所述多个预定图案由同一图案移相得到,且所述多个预定图案的叠加图案为单一颜色的图案。
  4. 根据权利要求3所述的方法,其特征在于,所述多个预定图案为多个条纹图案或多个棋盘格图案。
  5. 根据权利要求2或3所述的方法,其特征在于,所述多个预定图案包括第一预定图案和第二预定图案,所述在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预定图案,包括:
    控制只开启目标指纹图像中的指纹脊图案所在的区域的光信号,以显示所述第一预定图案;或
    控制只开启所述目标指纹图像中的指纹谷图案所在的区域的光信号,以形成所述第二预定图案;
    其中,所述目标指纹图像为基于单一颜色的预定图案采集的指纹图像。
  6. 根据权利要求3至5中任一项所述的方法,其特征在于,所述根据 所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:
    根据所述多个条纹图像对应的多个指纹图像,以及所述多个条纹图像的相位关系,确定所述第一目标图像和/或第二目标图像。
  7. 根据权利要求3至5中任一项所述的方法,其特征在于,所述根据所述至少一个指纹图像,确定第一目标图像和/或第二目标图像,包括:
    提取所述多个指纹图像中的每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,其中,所述每个指纹图像的亮光区域为所述指纹图像对应的预定图案的第一区域反射的光信号的成像区域,所述每个指纹图像的暗光区域为所述每个指纹图像对应的预定图案的第二区域反射的光信号的成像区域;根据所述每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,确定所述第一目标图像和/或所述第二目标图像,其中,所述指纹图像的亮光区域的指纹信息包括所述指纹图像对应的预定图案对应的光信号在所述待识别物体表面反射的光信号所携带的指纹信息和所述指纹图像对应的预定图案对应的光信号在所述待识别物体内部散射的光信号所携带的指纹信息。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述根据所述第一目标图像和/或所述第二目标图像,确定所述待识别物体是否是真实手指,包括:
    根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,其中,所述参考指纹图像对应单一颜色的预定图案;
    根据所述第一比例和/或所述第二比例,确定所述待识别物体是否为真实手指。
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,包括:
    确定所述参考指纹图像中的每个像素点的采样值的第一平均值;
    将所述第一目标图像中的所有像素点的采样值的第二平均值与所述第一平均值的比值确定为所述第一比例;和/或将所述第二目标图像中的所有像素点的采样值的第三平均值与所述第一平均值的比值确定为所述第二比例。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述第一比例 和/或所述第二比例,确定所述待识别物体是否为真实手指,包括:
    若所述第一比例在第一预设范围内和/或所述第二比例在第二预设范围内,确定所述待识别物体为真实手指。
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述至少一个预定图案由光源发射的光信号在所述指纹检测区域形成,其中,所述光源包括红色光源、绿色光源和蓝色光源中的至少一个。
  12. 根据权利要求11所述的方法,其特征在于,所述光源为所述显示屏在所述指纹检测区域的部分自发光显示单元,且所述红色光源、所述绿色光源和所述蓝色光源分别为所述显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    控制开启所述指纹检测区域的所述第一区域中的自发光显示单元,关闭所述第二区域中的自发光显示单元,以形成所述至少一个预定图案中的每个预定图案。
  14. 根据权利要求1至13中任一项所述的方法,其特征在于,所述第一区域中的图案的对应的光信号的波长为用于指纹采集的光学指纹传感器的中心波长。
  15. 一种指纹识别装置,其特征在于,包括:
    光学指纹传感器,用于在待识别物体按压显示屏的指纹检测区域上依次显示的至少一个预定图案时,采集所述待识别物体的至少一个指纹图像,每个指纹图像对应一个预定图案,其中,所述预定图案中的第一区域对应的光信号的强度大于所述预定图案中的第二区域对应的光信号的强度;
    其中,所述至少一个指纹图像用于确定第一目标图像和/或第二目标图像,所述第一目标图像和/或所述第二目标图像用于确定所述待识别物体是否是真实手指,所述第一目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体表面反射的光信号所成的像,所述第二目标图像包括所述至少一个预定图案对应的光信号在所述待识别物体内部散射的光信号所成的像。
  16. 根据权利要求15所述的装置,其特征在于,所述至少一个预定图案包括多个预定图案,所述光学指纹传感器具体用于:
    在所述显示屏的指纹检测区域依次显示所述多个预定图案中的每个预 定图案时,基于所述每个预定图案,采集对应的一个指纹图像。
  17. 根据权利要求16所述的装置,其特征在于,所述多个预定图案由同一图案移相得到,且所述多个预定图案的叠加图案为单一颜色的图案。
  18. 根据权利要求16或17所述的装置,其特征在于,所述多个预定图案为多个条纹图案或多个棋盘格图案。
  19. 根据权利要求17所述的装置,其特征在于,所述多个预定图案包括第一预定图案和第二预定图案,所述第一预定图案中的第一区域为目标指纹图像中的指纹脊图案所在的区域,所述第一预定图案中的第二区域为所述目标指纹图像中的指纹谷图案所在的区域,所述第二预定图案中的第一区域为目标指纹图像中的指纹谷图案所在的区域,所述第二预定图案中的第二区域为所述目标指纹图像中的指纹脊图案所在的区域,其中,所述目标指纹图像为基于单一颜色的预定图案采集的指纹图像。
  20. 根据权利要求17至19中任一项所述的装置,其特征在于,所述指纹识别装置还包括:
    处理器,用于根据所述多个条纹图像对应的多个指纹图像,以及所述多个条纹图像之间的相位关系,确定所述第一目标图像和/或第二目标图像。
  21. 根据权利要求20所述的装置,其特征在于,所述处理器还用于:
    提取所述多个指纹图像中的每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,其中,所述每个指纹图像的亮光区域为所述指纹图像对应的预定图案的第一区域反射的光信号的成像区域,所述每个指纹图像的暗光区域为所述每个指纹图像对应的预定图案的第二区域反射的光信号的成像区域;
    根据所述每个指纹图像的亮光区域的指纹信息和暗光区域的指纹信息,确定所述第一目标图像和/或所述第二目标图像,其中,所述指纹图像的亮光区域的指纹信息包括所述指纹图像对应的预定图案对应的光信号在所述待识别物体表面反射的光信号所携带的指纹信息和所述指纹图像对应的预定图案对应的光信号在所述待识别物体内部散射的光信号所携带的指纹信息。
  22. 根据权利要求15至21中任一项所述的装置,其特征在于,所述处理器还用于:
    根据所述第一目标图像和/或所述第二目标图像,以及参考指纹图像,确定第一比例和/或第二比例,其中,所述参考指纹图像对应单一颜色的预定图 案;
    根据所述第一比例和/或所述第二比例,确定所述待识别物体是否为真实手指。
  23. 根据权利要求22所述的装置,其特征在于,所述处理器还用于:
    确定所述参考指纹图像中的每个像素点的采样值的第一平均值;
    将所述第一目标图像中的所有像素点的采样值的第二平均值与所述第一平均值的比值确定为所述第一比例;和/或将所述第二目标图像中的所有像素点的采样值的第三平均值与所述第一平均值的比值确定为所述第二比例。
  24. 根据权利要求23所述的装置,其特征在于,所述处理器还用于:
    若所述第一比例在第一预设范围内,和/或所述第二比例在第二预设范围内,确定所述待识别物体为真实手指。
  25. 根据权利要求15至24中任一项所述的装置,其特征在于,所述第一区域中的图案的对应的光信号的波长为用于指纹采集的光学指纹传感器的中心波长。
  26. 根据权利要求15至25中任一项所述的装置,其特征在于,所述至少一个预定图案由光源发射的光信号在所述指纹检测区域形成,其中,所述光源包括红色光源、绿色光源和蓝色光源中的至少一个。
  27. 根据权利要求15至26中任一项所述的装置,其特征在于,所述光源为所述显示屏在所述指纹检测区域的部分自发光显示单元,且所述红色光源、所述绿色光源和所述蓝色光源分别为所述显示屏的红色显示单元、绿色显示单元和蓝色显示单元。
  28. 根据权利要求15至27中任一项所述的装置,其特征在于,所述装置还包括:
    光源驱动模块,用于控制开启所述指纹检测区域的所述第一区域中的自发光显示单元,关闭所述第二区域中的自发光显示单元,以形成每个预定图案。
  29. 一种电子设备,其特征在于,包括:根据权利要求15至28中任一项所述的指纹识别装置。
PCT/CN2018/116234 2018-11-19 2018-11-19 指纹识别方法、装置和电子设备 WO2020102945A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880002304.8A CN109643379B (zh) 2018-11-19 2018-11-19 指纹识别方法、装置和电子设备
PCT/CN2018/116234 WO2020102945A1 (zh) 2018-11-19 2018-11-19 指纹识别方法、装置和电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/116234 WO2020102945A1 (zh) 2018-11-19 2018-11-19 指纹识别方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2020102945A1 true WO2020102945A1 (zh) 2020-05-28

Family

ID=66060248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116234 WO2020102945A1 (zh) 2018-11-19 2018-11-19 指纹识别方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN109643379B (zh)
WO (1) WO2020102945A1 (zh)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113486864B (zh) 2018-12-13 2023-09-12 深圳市汇顶科技股份有限公司 指纹识别装置、方法和电子设备
WO2020227937A1 (zh) * 2019-05-14 2020-11-19 深圳市汇顶科技股份有限公司 用于指纹识别的方法、指纹识别装置和终端设备
CN110188679B (zh) * 2019-05-29 2021-09-14 Oppo广东移动通信有限公司 校准方法及相关设备
CN112069478A (zh) * 2019-06-10 2020-12-11 Oppo广东移动通信有限公司 应用控制方法、电子设备及非易失性计算机可读存储介质
CN110287861B (zh) * 2019-06-21 2022-01-07 Oppo广东移动通信有限公司 指纹识别方法、装置、存储介质及电子设备
US11227141B2 (en) 2019-07-01 2022-01-18 Novatek Microelectronics Corp. Fingerprint identification device and fingerprint identification method
TWI772826B (zh) * 2019-07-01 2022-08-01 聯詠科技股份有限公司 指紋識別裝置和指紋識別方法
WO2021007730A1 (zh) * 2019-07-12 2021-01-21 深圳市汇顶科技股份有限公司 指纹检测装置和电子设备
CN112241657A (zh) * 2019-07-17 2021-01-19 华为技术有限公司 一种指纹防伪方法和电子设备
KR102365607B1 (ko) * 2019-11-01 2022-02-18 선전 구딕스 테크놀로지 컴퍼니, 리미티드 지문 검출 장치 및 전자 장치
KR20210055817A (ko) * 2019-11-07 2021-05-18 삼성디스플레이 주식회사 표시 장치 및 이의 구동 방법
CN110969126B (zh) * 2019-12-02 2022-11-04 厦门天马微电子有限公司 一种显示装置
CN112101194A (zh) * 2020-01-21 2020-12-18 神盾股份有限公司 电子装置及其操作方法
TWM601349U (zh) * 2020-01-21 2020-09-11 神盾股份有限公司 影像掃描裝置
CN112183483A (zh) 2020-03-02 2021-01-05 神盾股份有限公司 整合式真手指光谱感测装置及感测方法
CN113642371A (zh) * 2020-05-11 2021-11-12 上海耕岩智能科技有限公司 指纹成像装置和指纹成像方法
CN113642370A (zh) * 2020-05-11 2021-11-12 上海耕岩智能科技有限公司 指纹成像装置和指纹成像方法
CN112528953A (zh) * 2020-12-25 2021-03-19 深圳市汇顶科技股份有限公司 指纹识别装置、电子设备和指纹识别的方法
CN112668540B (zh) * 2021-01-06 2023-07-18 安徽省东超科技有限公司 生物特征采集识别***及方法、终端设备和存储介质
WO2022183511A1 (zh) * 2021-03-05 2022-09-09 深圳市汇顶科技股份有限公司 指纹识别装置和电子设备
CN113778274B (zh) * 2021-06-15 2023-03-31 荣耀终端有限公司 光斑显示方法及装置
CN113778273B (zh) * 2021-07-29 2022-12-23 荣耀终端有限公司 光斑显示方法、电子设备及计算机可读存储介质
US11620852B2 (en) * 2021-09-08 2023-04-04 Omnivision Technologies, Inc. Method for detecting spoof fingerprints with an under-display fingerprint sensor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989342A (zh) * 2015-02-17 2016-10-05 上海箩箕技术有限公司 指纹识别装置以及指纹识别***
CN206075299U (zh) * 2016-07-06 2017-04-05 格林比特(天津)生物信息技术有限公司 一种带伪指纹识别的活体指纹采集装置
US20170109560A1 (en) * 2015-10-16 2017-04-20 Novatek Microelectronics Corp. Optical apparatus and a method for identifying an object
CN108694378A (zh) * 2017-04-12 2018-10-23 伊迪米亚身份与安全法国公司 检测欺诈的方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2276732B (en) * 1993-03-31 1995-12-13 Central Research Lab Ltd Fingerprint imaging
US8406487B2 (en) * 2009-09-16 2013-03-26 General Electric Company Method and system for contactless fingerprint detection and verification
EP2562682B1 (de) * 2011-08-24 2014-10-08 DERMALOG Identification Systems GmbH Verfahren und Vorrichtung zur Aufnahme eines Fingerabdruckes mit Echtheitserkennung
EP3690701B1 (en) * 2017-09-30 2024-05-29 Shenzhen Goodix Technology Co., Ltd. Fingerprint recognition method, fingerprint recognition device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989342A (zh) * 2015-02-17 2016-10-05 上海箩箕技术有限公司 指纹识别装置以及指纹识别***
US20170109560A1 (en) * 2015-10-16 2017-04-20 Novatek Microelectronics Corp. Optical apparatus and a method for identifying an object
CN106599766A (zh) * 2015-10-16 2017-04-26 联咏科技股份有限公司 光学装置及辨识物件方法
CN206075299U (zh) * 2016-07-06 2017-04-05 格林比特(天津)生物信息技术有限公司 一种带伪指纹识别的活体指纹采集装置
CN108694378A (zh) * 2017-04-12 2018-10-23 伊迪米亚身份与安全法国公司 检测欺诈的方法

Also Published As

Publication number Publication date
CN109643379B (zh) 2023-06-23
CN109643379A (zh) 2019-04-16

Similar Documents

Publication Publication Date Title
WO2020102945A1 (zh) 指纹识别方法、装置和电子设备
WO2020124511A1 (zh) 指纹识别方法、指纹识别装置和电子设备
CN111448570B (zh) 利用集成到显示屏的光学检测器对显示屏上或接近显示屏的指纹或其他图案进行光学感测
CN111950529B (zh) 具有非接触成像能力的光学指纹传感器
WO2020077506A1 (zh) 指纹识别方法、装置及具有指纹识别功能的终端设备
TWI621996B (zh) 指紋讀取器
WO2020082380A1 (zh) 指纹识别装置和电子设备
WO2020118620A1 (zh) 指纹识别装置、方法和电子设备
WO2020073165A1 (zh) 指纹检测装置、方法和电子设备
CN107004130A (zh) 用于屏幕上指纹感应的屏幕下光学传感器模块
CN109791325A (zh) 具有***任务栏显示区的设备和用于屏上指纹感测的lcd屏下光学传感器模块
CN109154869A (zh) 用于屏上指纹感应的屏下光学传感器模块的光学准直器
JP3231956U (ja) 実指を判断するための統合型スペクトルセンシング装置
CN109791599A (zh) 用于屏幕上指纹感应的屏幕下光学传感器模块
CN107430681A (zh) 包括光学图像传感器上方的针孔阵列掩膜的电子设备及相关方法
CN111095269A (zh) 使用位于显示屏***的照明光源的光学id感测
CN112070018A (zh) 指纹识别装置和电子设备
CN110705517B (zh) 用于指纹识别的方法及电子设备
CN114450727A (zh) 利用光学感测模块进行的透明的假对象覆盖的反欺骗
WO2021138776A1 (zh) 指纹防伪的方法、指纹识别装置和电子设备
WO2020073166A1 (zh) 指纹识别方法、装置和终端设备
CN209433415U (zh) 指纹识别装置和电子设备
WO2020227986A1 (zh) 图像采集的装置、方法和电子设备
CN209297320U (zh) 指纹识别装置和电子设备
KR20210040897A (ko) 모바일 장치용 광학식 지문센서, 광학식 지문센서를 구비한 모바일 장치 및 그 지문센서의 지문 이미지 획득방법

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: 18941019

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: 18941019

Country of ref document: EP

Kind code of ref document: A1