WO2019104551A1 - 指纹识别方法及终端设备 - Google Patents

指纹识别方法及终端设备 Download PDF

Info

Publication number
WO2019104551A1
WO2019104551A1 PCT/CN2017/113649 CN2017113649W WO2019104551A1 WO 2019104551 A1 WO2019104551 A1 WO 2019104551A1 CN 2017113649 W CN2017113649 W CN 2017113649W WO 2019104551 A1 WO2019104551 A1 WO 2019104551A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
ambient light
display screen
brightness
light intensity
Prior art date
Application number
PCT/CN2017/113649
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 PCT/CN2017/113649 priority Critical patent/WO2019104551A1/zh
Priority to CN201780095711.3A priority patent/CN111183431A/zh
Publication of WO2019104551A1 publication Critical patent/WO2019104551A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition

Definitions

  • the present application relates to electronic communication technologies, and in particular, to a fingerprint identification method and a terminal device.
  • the existing terminal device is suitable for fingerprint collection in a scene with suitable ambient light intensity.
  • the target fingerprint image that meets the image matching requirements may not be collected.
  • the embodiment of the present invention provides a fingerprint identification method and a terminal device, which can be applied to fingerprint recognition in various ambient light intensity scenarios.
  • the embodiment of the present application provides a fingerprint identification method, where a fingerprint identification method is applied to a terminal device, where the terminal device includes a display screen and a fingerprint sensor, and the fingerprint sensor is located under the display screen, and the method includes:
  • the ambient light intensity when the ambient light intensity is less than or equal to the first threshold, the brightness of the display screen is lowered, and the fingerprint image is collected by the fingerprint sensor.
  • the ambient light intensity is less than or equal to the first threshold, and the brightness of the display screen is reduced, and the fingerprint image is collected by the fingerprint sensor, so that the image matching requirement can be collected in a dim scene.
  • the target fingerprint image thus improves the accuracy of fingerprint recognition. Further, by reducing the brightness of the display screen, energy resources can be effectively saved, thereby prolonging the waiting time of the terminal device and achieving energy saving effect.
  • the method further includes: comparing, according to the ambient light intensity, the first threshold and the second threshold, the ambient light intensity is greater than the first threshold, and the ambient light intensity is less than the second threshold, and is collected by the fingerprint sensor Fingerprint image.
  • the fingerprint image is collected by the fingerprint sensor, so that the image matching requirement can be collected in the normal scene.
  • the target fingerprint image thus improves the accuracy of fingerprint recognition.
  • the method further includes:
  • the fingerprint image is obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected by the display screen at the first brightness.
  • the brightness of the display screen when the ambient light intensity is greater than or equal to the second threshold, the brightness of the display screen is turned off, and the fingerprint image is collected by the fingerprint sensor; further, the brightness of the display screen is adjusted to make the brightness of the display screen At the first brightness, the fingerprint image is collected by the fingerprint sensor; further, the fingerprint image is obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected under the first brightness of the display screen, thereby realizing the fingerprint image
  • the target fingerprint image that meets the image matching requirements can be collected, thereby improving the accuracy of fingerprint recognition.
  • the first threshold is any one of 80 lux to 1000 lux.
  • the second threshold is any one of 8000 lux to 30,000 lux.
  • the embodiment of the present application provides a terminal device, where the terminal device includes a display screen, a fingerprint sensor, an ambient light sensor, and a processor.
  • the fingerprint sensor is located under the display screen, and the display screen, the fingerprint sensor, and the ambient light sensor are respectively connected to processor;
  • the ambient light sensor is used to detect the ambient light intensity of the terminal device:
  • the processor is configured to obtain an ambient light intensity detected by the ambient light sensor, and compare the ambient light intensity with the first threshold, reduce the brightness of the display screen when the ambient light intensity is less than or equal to the first threshold, and collect the fingerprint image by using the fingerprint sensor.
  • the processor is further configured to: compare, according to the ambient light intensity, the first threshold and the second threshold, where the ambient light intensity is greater than the first threshold, and the ambient light intensity is less than the second threshold, by using the fingerprint sensor Capture fingerprint images.
  • the processor is further configured to:
  • the fingerprint image is obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected by the display screen at the first brightness.
  • the first threshold is any one of 80 lux to 1000 lux.
  • the second threshold is any one of 8000 lux to 30,000 lux.
  • an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method described in the first aspect above.
  • an embodiment of the present application provides a computer readable storage medium, where an instruction is stored in a computer readable storage medium, and when executed on a computer, causes the computer to execute the method of the first aspect.
  • FIG. 1 is a schematic structural diagram of a terminal device with fingerprint identification
  • FIG. 2A is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • 2B is a schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • 2C is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • 2D is another schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a fingerprint identification method according to another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a fingerprint identification method according to another embodiment of the present application.
  • FIG. 5 is a schematic flowchart diagram of a fingerprint identification method according to another embodiment of the present application.
  • FIG. 2A is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the preset time length for example, 50 ms
  • the preset recognition area in the display screen is covered
  • the area exceeds
  • the fingerprint identification method provided by the embodiment of the present application may be triggered when the preset area or the like is used.
  • the fingerprint identification method provided by the embodiment of the present application can be applied to other application scenarios, which is not limited in the embodiment of the present application.
  • the terminal device involved in the present application may include, but is not limited to, a mobile phone, a tablet computer, a personal digital assistant, and the like having a display screen, an ambient light sensor, and a fingerprint sensor, and of course, other display devices, ambient light sensors, and fingerprint sensors. device.
  • the terminal device involved in the present application may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory).
  • the operating system may be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
  • the application layer includes applications such as browsers, contacts, word processing software, and instant messaging software.
  • the fingerprint identification technology involved in the embodiment of the present application refers to a biometric identification technology that uses fingerprint sensors to collect fingerprint information of a human body and then compares with existing fingerprint template information in the system to realize identity recognition.
  • Fingerprint recognition technology includes: optical fingerprint recognition technology, capacitive fingerprint recognition technology and ultrasonic fingerprint recognition technology. Among them, optical fingerprint recognition technology has attracted much attention due to its high sensitivity and high integration.
  • the fingerprint recognition technology of the embodiment of the present application may include, but is not limited to, an optical fingerprint recognition technology.
  • the fingerprint sensor according to the embodiment of the present application may include, but is not limited to, an optical fingerprint sensor.
  • the display screen of the embodiment of the present application may be an organic light-emitting diode (OLED) display screen, and of course, other types of display screens, which are not limited in the embodiment of the present application.
  • OLED organic light-emitting diode
  • Embodiments of the present application relate to image preprocessing, which may include, but is not limited to, filtering processing and/or amplification processing.
  • the fingerprint collection method involved in the embodiment of the present application may include, but is not limited to, a first fingerprint collection mode, a second fingerprint collection mode, and a third fingerprint collection mode.
  • the first fingerprint collection method in the embodiment of the present application may be applied to a dim scene (or a scene with a low ambient light intensity, for example, a scene where the ambient light intensity is less than or equal to the first threshold), and the first fingerprint collection method. This may include, but is not limited to, reducing the brightness of the display (eg, such that the brightness of the display does not exceed 300 nits), and capturing fingerprint images through the fingerprint sensor. Certainly, the first fingerprint collection mode may further include other operations.
  • the fingerprint image collected by the fingerprint sensor is filtered according to the first filtering parameter, and/or the fingerprint image is processed according to the first amplification parameter (ie, the fingerprint sensor).
  • the collected fingerprint image or the fingerprint image obtained after the filtering process is further enlarged and processed to achieve a noise reduction effect on the fingerprint image collected by the fingerprint sensor, thereby improving image sharpness.
  • the first threshold value involved in the embodiment of the present application may be any one of 80 lux (1000)-1000 lux (exemplarily, the first threshold may be 100 LUX).
  • the first threshold may be other values, and the present application is implemented. This example does not limit this.
  • the method for performing filtering processing according to the filtering parameters may refer to a manner of filtering processing according to the filtering parameter in the existing image preprocessing process, I will not repeat them here.
  • the first filtering parameter may be a low-order filtering parameter (corresponding to a low-order filtering process)
  • the second filtering parameter may be a filtering parameter between the low-order filtering parameter and the high-order filtering parameter
  • the third filtering parameter It can be a high-order filtering parameter (corresponding to high-order filtering processing).
  • the method for performing the amplification processing according to the amplification parameter may refer to a manner of performing amplification processing according to the amplification parameter in the existing image pre-processing process. I will not repeat them here.
  • the first amplification parameter may be a low magnification amplification parameter (eg, less than 10)
  • the second amplification parameter may be an amplification parameter between the low magnification amplification parameter and the high magnification amplification parameter (eg, greater than 20 and less than 50)
  • the third amplification parameter can be a high magnification amplification parameter (eg, greater than 100).
  • the second fingerprint collection method in the embodiment of the present application may be applied to a common scenario (or a scenario in which the ambient light intensity is suitable, for example, a scenario in which the ambient light intensity is greater than the first threshold and less than the second threshold), and the second fingerprint.
  • the acquisition mode may include, but is not limited to, acquiring a fingerprint image through a fingerprint sensor.
  • the second fingerprint collection mode may further include other operations.
  • the fingerprint image collected by the fingerprint sensor is filtered according to the second filter parameter, and/or the fingerprint image is processed according to the second amplification parameter (ie, the fingerprint sensor
  • the collected fingerprint image or the fingerprint image obtained after the filtering process is further enlarged and the like to achieve a noise reduction effect, thereby improving image sharpness.
  • the second threshold value of the embodiment of the present application may be any value of 8000 lux to 30,000 lux (exemplarily, the second threshold may be 10000 LUX).
  • the second threshold may be other values, which is in the embodiment of the present application. This is not a limitation.
  • the third fingerprint collection method in the embodiment of the present application can be applied to a glare scene (or a scene with a high ambient light intensity, for example, a scene with an ambient light intensity greater than or equal to a second threshold), and a third fingerprint collection.
  • the method may include, but is not limited to: turning off the brightness of the display screen, and collecting the fingerprint image by the fingerprint sensor, and further adjusting the brightness of the display screen to make the brightness of the display screen at the first brightness (optionally, the first brightness may be The fingerprint image is acquired by the fingerprint sensor, and the fingerprint image is obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected by the display screen at the first brightness.
  • the third fingerprint collection mode may further include other operations.
  • the fingerprint image is obtained according to the third filtering parameter (that is, the fingerprint image acquired according to the brightness of the display screen is turned off and the fingerprint image collected by the display screen at the first brightness is used.
  • the third filtering parameter that is, the fingerprint image acquired according to the brightness of the display screen is turned off and the fingerprint image collected by the display screen at the first brightness is used.
  • Obtaining) performing filtering processing, and/or processing the fingerprint image according to the third amplification parameter ie, obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image acquired by the display screen at the first brightness, or filtering processing
  • the obtained result is further enlarged processing or the like to achieve a noise reduction effect, thereby improving image sharpness.
  • One implementation manner of controlling the display color of the display screen (such as white light, green light or blue light, etc.) involved in the embodiment of the present application is as follows: selecting pixels of different areas in the display screen, and respectively providing the selected pixel points Drive current.
  • the display color of the display screen can be controlled by other achievable manners, which is not limited in the embodiment of the present application.
  • One implementation manner of adjusting the display brightness of the display screen involved in the embodiment of the present application is as follows: adjusting the magnitude of the driving current of the display screen.
  • the display brightness of the display screen can be adjusted by other implementations, which is not limited in the embodiment of the present application.
  • the fingerprint collection process of the terminal device with fingerprint identification is as follows: when it is determined that fingerprint collection is required (for example, the finger 1 is placed above the display screen 2 for more than a preset duration, etc.), the controller 6 controls the display screen 2 to generate Emiting light 4; wherein, when the emitted light 4 propagates up to the finger 1, it will reflect to form the reflected light 5, and the contact between the different regions of the finger 1 (such as "valley” and "ridge") and the display screen 2 is formed. Differences can cause differences in reflected light 5 in different regions.
  • the fingerprint sensor 3 photoelectrically converts the reflected light 5 that has passed through the display screen 2 and is irradiated onto the fingerprint sensor 3 to obtain a fingerprint image, and transmits the fingerprint image to the processor 6. Further, the processor 6 performs image preprocessing on the fingerprint image collected by the fingerprint sensor 3 to obtain a target fingerprint image.
  • the terminal device shown in Figure 1 is suitable for fingerprint collection in a scene with suitable ambient light intensity. In some ambient light intensity scenarios, the target fingerprint image that meets the image matching requirements may not be collected.
  • the fingerprint identification method and the terminal device provided by the embodiment of the present application acquire fingerprint light by using a fingerprint collection method that matches the ambient light intensity (for example, adopting the first in a dim scene) by acquiring the ambient light intensity of the terminal device.
  • the fingerprint collection mode is used for fingerprint collection; in the normal scene, the second fingerprint collection method is used for fingerprint collection; in the strong light scene, the third fingerprint collection method is used for fingerprint collection, etc.) to ensure that all kinds of ambient light intensity scenes can be collected.
  • To the target fingerprint image that meets the image matching requirements it can be applied to fingerprint recognition under various ambient light intensity scenarios.
  • FIG. 2B is a schematic flowchart of a fingerprint identification method according to an embodiment of the present disclosure
  • FIG. 2C is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the fingerprint identification method provided by the embodiment of the present application may be applied to a terminal device. As shown in FIG.
  • the terminal device provided by the embodiment of the present application may include: a display screen 201 and a fingerprint sensor 202; wherein the fingerprint sensor 202 may be located under the display screen 201; of course, the fingerprint identification device may further include other components ( Exemplarily, the ambient light sensor 203 and the processor 204, wherein the display screen 201, the fingerprint sensor 202, and the ambient light sensor 203 are respectively connected to the processor 204) Please do not limit this in the embodiment.
  • the method in this embodiment of the present application may include:
  • Step S21 Obtain an ambient light intensity at which the terminal device is located.
  • the ambient light intensity detected by the ambient light sensor 203 may be acquired.
  • the ambient light sensor 203 starts detecting the ambient light intensity at which the terminal device is located; or the ambient light sensor 203 automatically detects that the terminal device is located every preset time.
  • the ambient light intensity of the terminal device can be obtained by other methods, which is not limited in this embodiment.
  • an achievable process for the ambient light sensor 203 to detect the ambient light intensity at which the terminal device is located is as follows:
  • the ambient light sensor 203 obtains an electrical signal by photoelectrically converting the collected ambient light signal, and calculates an ambient light intensity according to a predetermined algorithm; the specific preset algorithm may adopt an algorithm in the existing ambient light sensor. This embodiment of the present application does not limit this.
  • the manner in which the ambient light sensor 203 detects the ambient light intensity of the terminal device may also be implemented in other manners, which is not limited in the embodiment of the present application.
  • Step S22 Perform fingerprint collection by using a fingerprint collection method that matches the ambient light intensity.
  • fingerprint collection is performed by using a fingerprint collection method that matches the ambient light intensity (ie, the ambient light intensity of the terminal device acquired in step S21), so that it can be applied to various ambient light intensity scenarios.
  • FIG. 2D is another schematic flowchart of a fingerprint identification method according to an embodiment of the present application.
  • an achievable manner of step S22 is introduced: according to the ambient light intensity (ie, the ambient light intensity of the terminal device acquired in step S21) and at least one threshold (example Optionally, the first threshold and/or the second threshold are compared to determine the fingerprinting method employed.
  • the first fingerprint collection method is used for fingerprint collection; If the ambient light intensity is greater than or equal to the first threshold and less than the second threshold (eg, the terminal device is in a normal scenario), the second fingerprint collection mode is used for fingerprint collection; and (3) if the ambient light intensity is greater than or equal to the second
  • the threshold for example, the terminal device is in a strong light scene uses the third fingerprint collection method for fingerprint collection.
  • the ambient light intensity is divided into three levels by comparing the ambient light intensity of the terminal device with two thresholds (for example, a first threshold and a second threshold) (for example, The dim scene, the normal scene, and the glare scene are taken as an example.
  • the ambient light intensity can be divided into four or more levels by comparing the ambient light intensity of the terminal device with two or more other thresholds. This embodiment of the present application does not limit this.
  • the fingerprint collection is performed by using other fingerprint collection methods that match the ambient light intensity, which is not limited in the embodiment of the present application.
  • the fingerprint light collection is performed by acquiring the ambient light intensity of the terminal device, and the fingerprint collection method matching the ambient light intensity is used to ensure that the ambient light intensity scene can be used under various ambient light intensity scenarios. Collect target fingerprint images that meet image matching requirements, so that it can be applied to various ambient light intensity Fingerprint recognition under the degree scene.
  • FIG. 3 is a schematic flowchart of a fingerprint identification method according to another embodiment of the present application.
  • the fingerprint identification process when the terminal device is in a dim scene is described in the embodiment of the present application.
  • the method in this embodiment of the present application may include:
  • Step S31 Obtain an ambient light intensity at which the terminal device is located.
  • step S21 in the foregoing embodiment of the present application may be referred to, and details are not described herein again.
  • Step S32 The ambient light intensity is compared with the first threshold, and when the ambient light intensity is less than or equal to the first threshold, the brightness of the display screen is lowered, and the fingerprint image is collected by the fingerprint sensor.
  • the first fingerprint collection method is used. Fingerprint collection.
  • the first fingerprint collection method is used.
  • Fingerprint collection by reducing the brightness of the display screen 201 (for example, the brightness of the display screen does not exceed 300 nits), and acquiring the fingerprint image (ie, the fingerprint image after the brightness adjustment of the display screen 201) through the fingerprint sensor 202, to further The fingerprint image collected by the fingerprint sensor 202 is image preprocessed to obtain a target fingerprint image.
  • the first fingerprint collection method may further include at least one of the following operations to obtain a target fingerprint image: before the fingerprint image is collected by the fingerprint sensor 202, the display screen 201 may be configured to display white light or green light, and the fingerprint may be fingerprinted according to the first filtering parameter.
  • the fingerprint image collected by the sensor 202 is subjected to filtering processing, and the fingerprint image to be processed according to the first amplification parameter (ie, the fingerprint image collected by the fingerprint sensor 202 or the fingerprint image obtained after the filtering process) is further enlarged and the like.
  • the first amplification parameter ie, the fingerprint image collected by the fingerprint sensor 202 or the fingerprint image obtained after the filtering process
  • other image pre-processing operations may be included to achieve a further noise reduction effect on the fingerprint image collected by the fingerprint sensor, thereby further improving the image sharpness, which is not limited in the embodiment of the present application.
  • the first acquisition instruction may be sent to the fingerprint sensor 202, so that the fingerprint sensing sensor 202 starts collecting the fingerprint image after reducing the brightness of the display screen according to the first acquisition instruction.
  • the fingerprint image may be collected by the fingerprint sensor 202 in other ways, which is not limited in the embodiment of the present application.
  • the target fingerprint image that meets the image matching requirement can be collected in the dim scene. , thereby improving the accuracy of fingerprint recognition. Further, by reducing the brightness of the display screen, energy resources can be effectively saved, thereby prolonging the waiting time of the terminal device and achieving energy saving effect. Further, the accuracy of fingerprint recognition can be further improved by performing filtering processing on the fingerprint image collected by the fingerprint sensor according to the first filtering parameter, and/or further processing the fingerprint image to be processed according to the first amplification parameter.
  • FIG. 4 is a schematic flowchart diagram of a fingerprint identification method according to another embodiment of the present application.
  • the fingerprint identification process when the terminal device is in a normal scenario is described in the embodiment of the present application.
  • the method in this embodiment of the present application may include:
  • Step S41 Acquire an ambient light intensity at which the terminal device is located.
  • step S41 for the implementation of the step S41 in this embodiment, reference may be made to the related content of the step S21 in the foregoing embodiment of the present application, and details are not described herein again.
  • Step S42 Comparing the ambient light intensity with the first threshold and the second threshold, and acquiring the fingerprint image by the fingerprint sensor when the ambient light intensity is greater than the first threshold and the ambient light intensity is less than the second threshold.
  • the light signal received by the ambient light A at the fingerprint sensor 202 (including: ambient light A and reflected light B emitted by the display screen 201 after passing the finger) is considered.
  • the proportion of the reflected light C that can reflect the fingerprint feature information in the optical signal received by the fingerprint sensor 202 satisfies a preset ratio, so that the target fingerprint image that meets the image matching requirement can be collected.
  • the second fingerprint collection method is used for fingerprint collection.
  • the fingerprint image is collected by the fingerprint sensor 202 to further perform image preprocessing on the fingerprint image collected by the fingerprint sensor 202 to obtain a target fingerprint image.
  • the second fingerprint collection mode may further include at least one of the following operations to obtain a target fingerprint image: the brightness of the display screen 201 may be adjusted or maintained before the fingerprint image is collected by the fingerprint sensor 202, so that the brightness of the display screen 201 is greater than 300 ny.
  • the display screen 201 is controlled to display white light, green light or blue-green mixed light, and the fingerprint sensor is based on the second filter parameter.
  • the fingerprint image collected by the 202 is subjected to filtering processing, and the fingerprint image to be processed according to the second amplification parameter (ie, the fingerprint image collected by the fingerprint sensor 202 or the fingerprint image obtained after the filtering process) is further enlarged and the like.
  • the second amplification parameter ie, the fingerprint image collected by the fingerprint sensor 202 or the fingerprint image obtained after the filtering process
  • other image pre-processing operations may be included to achieve a further noise reduction effect on the fingerprint image collected by the fingerprint sensor, thereby further improving the image sharpness, which is not limited in the embodiment of the present application.
  • the second acquisition instruction may be sent to the fingerprint sensor 202 to enable the fingerprint sensing sensor 202 to start collecting the fingerprint image according to the second acquisition instruction.
  • the fingerprint image may be collected by the fingerprint sensor 202 in other ways, which is not limited in the embodiment of the present application.
  • the fingerprint image is collected by the fingerprint sensor, so that the target fingerprint image that meets the image matching requirement can be collected in an ordinary scene.
  • the accuracy of fingerprint recognition can be further improved by performing filtering processing on the fingerprint image collected by the fingerprint sensor according to the second filtering parameter, and/or further processing the fingerprint image to be processed according to the second amplification parameter.
  • FIG. 5 is a schematic flowchart diagram of a fingerprint identification method according to another embodiment of the present application.
  • the fingerprint identification process when the terminal device is in a strong light scene is described in the embodiment of the present application.
  • the method in this embodiment of the present application may include:
  • Step S51 Acquire an ambient light intensity at which the terminal device is located.
  • step S51 for the implementation of the step S51 in this embodiment, reference may be made to the related content of the step S21 in the foregoing embodiment of the present application, and details are not described herein again.
  • Step S52 Based on comparing the ambient light intensity with the second threshold, when the ambient light intensity is greater than or equal to the second threshold, turn off the brightness of the display screen, collect the fingerprint image through the fingerprint sensor, and adjust the brightness of the display screen to display
  • the brightness of the screen is at the first brightness, and the fingerprint image is collected by the fingerprint sensor; the fingerprint image is obtained according to the fingerprint image collected under the brightness of the display screen and the fingerprint image collected under the first brightness of the display screen.
  • the ambient light A causes the optical signal received by the fingerprint sensor 202 (including: ambient light A and the reflected light B emitted by the display screen 201 after passing the finger).
  • the proportion of the reflected light C that can reflect the fingerprint characteristic information in C) is greatly reduced (that is, the proportion of the reflected light C including the fingerprint characteristic information in the optical signal received by the fingerprint sensor 202 is low), so that it cannot be collected.
  • Target fingerprint image that meets image matching requirements.
  • the third fingerprint collection mode is adopted. Perform fingerprint collection.
  • the brightness of the display screen 201 is turned off, and the fingerprint image is collected by the fingerprint sensor 202 (ie, the fingerprint image after the display screen is turned off, or the fingerprint image corresponding to the ambient light A); further, the brightness of the display screen 201 is adjusted.
  • the brightness of the display screen 201 is at a first brightness (optionally, the first brightness may be greater than 600 nits) to increase the proportion of the reflected light C containing the fingerprint feature information in the optical signal received by the fingerprint sensor 202, and pass
  • the fingerprint sensor 202 collects a fingerprint image (ie, a fingerprint image after the brightness adjustment of the display screen 201, or a fingerprint image corresponding to the ambient light A and the ratio of the reflected light C); further, according to the fingerprint collected under the brightness of the display screen is turned off.
  • the fingerprint image corresponding to the ratio of the light C) is further subjected to image preprocessing of the acquired fingerprint image to obtain a target fingerprint image.
  • the fingerprint image corresponding to the ambient light A included in the fingerprint image collected by the display screen at the first brightness is removed according to the fingerprint image acquired under the brightness of the display screen (exemplarily, according to the display screen being first
  • Each pixel in the fingerprint image acquired under the brightness is respectively different from the corresponding pixel point in the fingerprint image acquired under the brightness of the display screen, thereby determining the fingerprint image (ie, corresponding to increasing the ratio of the reflected light C) Fingerprint image).
  • the fingerprint image corresponding to the ambient light A included in the fingerprint image collected by the display screen at the first brightness is removed, and the fingerprint image can be determined by other methods. This is not limited in the examples.
  • the third fingerprint collection method may further include at least one of the following operations to obtain the target fingerprint image: the display screen 201 may be displayed to display green light according to the fingerprint image after the brightness adjustment of the display screen 201 is collected by the fingerprint sensor 202, according to The third filtering parameter performs filtering processing on the fingerprint image (that is, obtained by closing the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected under the first brightness of the display screen), and processing the fingerprint image according to the third amplification parameter ( That is, according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image acquired by the display screen at the first brightness, or the further amplification process obtained after the filtering process.
  • the display screen 201 may be displayed to display green light according to the fingerprint image after the brightness adjustment of the display screen 201 is collected by the fingerprint sensor 202, according to The third filtering parameter performs filtering processing on the fingerprint image (that is, obtained by closing the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected under the first brightness of the display screen), and processing the fingerprint
  • the third acquisition instruction may be sent to the fingerprint sensor 202 to enable the fingerprint sensing sensor 202 to start collecting the fingerprint image according to the third acquisition instruction.
  • the fourth acquisition instruction may be sent to the fingerprint sensor 202, so that the fingerprint sensing sensor 202 starts collecting the fingerprint image according to the fourth collection instruction.
  • the fingerprint image may be collected by the fingerprint sensor 202 in other ways, which is not limited in the embodiment of the present application.
  • the brightness of the display screen when the ambient light intensity is greater than or equal to the second threshold, the brightness of the display screen is turned off, and the fingerprint image is collected by the fingerprint sensor; further, the brightness of the display screen is adjusted to make the brightness of the display screen be at the first brightness. And acquiring a fingerprint image by using a fingerprint sensor; further, acquiring a fingerprint image according to the fingerprint image collected under the brightness of the display screen and the fingerprint image collected by the display screen at the first brightness, thereby realizing that the image can be captured in a strong light scene. Matches the required target fingerprint image, which improves the accuracy of fingerprint recognition. Further, the accuracy of fingerprint recognition can be further improved by performing filtering processing on the fingerprint image according to the third filtering parameter, and/or further processing the fingerprint image to be processed according to the third amplification parameter.
  • the terminal device provided in this embodiment may include: a display screen 201, a fingerprint sensor 202, an ambient light sensor 203, and a processor 204.
  • the fingerprint sensor 202 is located under the display 201, and the display 201, the fingerprint sensor 202, and the ambient light sensor 203 are respectively connected to the processor 204.
  • the ambient light sensor 203 is configured to detect the ambient light intensity at which the terminal device is located:
  • the processor 204 is configured to acquire the ambient light intensity detected by the ambient light sensor 203, and compare the ambient light intensity with the first threshold, and decrease the brightness of the display screen 201 when the ambient light intensity is less than or equal to the first threshold, by using the fingerprint sensor 202. Capture fingerprint images.
  • the processor 204 is further configured to: collect the fingerprint by the fingerprint sensor 202 when the ambient light intensity is greater than the first threshold and the ambient light intensity is less than the second threshold, based on the ambient light intensity being compared with the first threshold and the second threshold. image.
  • processor 204 is further configured to:
  • the brightness of the display screen 201 is adjusted so that the brightness of the display screen 201 is at the first brightness, and the fingerprint image is collected by the fingerprint sensor 202, wherein the first brightness is greater than 600 nits;
  • the fingerprint image is obtained according to the fingerprint image acquired under the brightness of the display screen and the fingerprint image collected by the display screen 201 at the first brightness.
  • the first threshold is any one of 80 lux to 1000 lux.
  • the second threshold is any one of 8000 lux to 30,000 lux.
  • the terminal device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例提供一种指纹识别方法及终端设备。该方法应用于终端设备,终端设备包括:显示屏和指纹传感器,指纹传感器位于所述显示屏的下面;该方法包括:获取终端设备所处的环境光强度;进一步地,基于环境光强度与第一阈值比较,在环境光强度小于或等于所述第一阈值时,降低显示屏的亮度,并通过指纹传感器采集指纹图像;实现了在昏暗场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。进一步地,通过降低显示屏的亮度,可以有效节省电能资源,从而延长该终端设备的待电时间,达到节能的效果。

Description

指纹识别方法及终端设备 技术领域
本申请涉及电子通信技术,尤其涉及一种指纹识别方法及终端设备。
背景技术
指纹识别技术凭借其方便性,近年来在终端设备中已得到了广泛应用。随着终端设备的技术发展,前置式指纹识别以及全屏显示已成为重要发展方向之一。目前光学式屏下指纹识别技术备受人们的关注。
现有的终端设备适用于环境光强度适宜场景下的指纹采集,在部分环境光强度场景下可能无法采集到符合图像匹配要求的目标指纹图像。
发明内容
本申请实施例提供一种指纹识别方法及终端设备,可以适用于各种环境光强度场景下的指纹识别。
第一方面,本申请实施例提供一种指纹识别方法,指纹识别方法应用于终端设备,终端设备包括显示屏和指纹传感器,指纹传感器位于显示屏的下面,该方法包括:
获取终端设备所处的环境光强度;
基于环境光强度与第一阈值比较,在环境光强度小于或等于第一阈值,降低显示屏的亮度,通过指纹传感器采集指纹图像。
第一方面提供的指纹识别方法实施例中,在环境光强度小于或等于第一阈值,通过降低显示屏的亮度,以及指纹传感器采集指纹图像,实现了在昏暗场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。进一步地,通过降低显示屏的亮度,可以有效节省电能资源,从而延长该终端设备的待电时间,达到节能的效果。
在一种可能的实现方式中,该方法还包括:基于环境光强度与第一阈值和第二阈值比较,在环境光强度大于第一阈值,且环境光强度小于第二阈值,通过指纹传感器采集指纹图像。
本实现方式提供的指纹识别方法实施例中,在环境光强度大于第一阈值,且环境光强度小于第二阈值,通过指纹传感器采集指纹图像,实现了在普通场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。
在一种可能的实现方式中,该方法还包括:
基于环境光强度与第二阈值比较,在环境光强度大于或等于第二阈值,关闭显示屏的亮度,通过指纹传感器采集指纹图像;
调整显示屏的亮度,使显示屏的亮度处于第一亮度,通过指纹传感器采集指纹图 像,其中,第一亮度为大于600尼特;
根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像。
本实现方式提供的指纹识别方法实施例中,在环境光强度大于或等于第二阈值,关闭显示屏的亮度,并通过指纹传感器采集指纹图像;进一步地,调整显示屏的亮度使显示屏的亮度处于第一亮度,并通过指纹传感器采集指纹图像;进一步地,根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像,实现了在强光场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。
在一种可能的实现方式中,第一阈值为80勒克斯-1000勒克斯中的任一值。
在一种可能的实现方式中,第二阈值为8000勒克斯-30000勒克斯中的任一值。
第二方面,本申请实施例提供一种终端设备,终端设备包括显示屏、指纹传感器、环境光传感器和处理器,指纹传感器位于显示屏的下面,显示屏、指纹传感器、环境光传感器分别连接至处理器;
其中,环境光传感器用于检测终端设备所处的环境光强度:
处理器用于获取环境光传感器检测的环境光强度,并基于环境光强度与第一阈值比较,在环境光强度小于或等于第一阈值,降低显示屏的亮度,通过指纹传感器采集指纹图像。
在一种可能的实现方式中,处理器还用于:基于环境光强度与第一阈值和第二阈值比较,在环境光强度大于第一阈值,且环境光强度小于第二阈值,通过指纹传感器采集指纹图像。
在一种可能的实现方式中,处理器还用于:
基于环境光强度与第二阈值比较,在环境光强度大于或等于第二阈值,关闭显示屏的亮度,通过指纹传感器采集指纹图像;
调整显示屏的亮度,使显示屏的亮度处于第一亮度,通过指纹传感器采集指纹图像,其中,第一亮度为大于600尼特;
根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像。
在一种可能的实现方式中,第一阈值为80勒克斯-1000勒克斯中的任一值。
在一种可能的实现方式中,第二阈值为8000勒克斯-30000勒克斯中的任一值。
上述第二方面的实现方式所提供的终端设备,其有益效果可以参见上述第一方面的实现方式所带来的有益效果,在此不再赘述。
第三方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行,使得计算机执行上述第一方面所述的方法。
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行,使得计算机执行上述第一方面的方法。
附图说明
图1为具有指纹识别的终端设备的结构示意图;
图2A为本申请实施例提供的应用场景示意图;
图2B为本申请一实施例提供的指纹识别方法的流程示意图;
图2C为本申请实施例提供的终端设备的结构示意图;
图2D为本申请实施例提供的指纹识别方法的另一流程示意图;
图3为本申请另一实施例提供的指纹识别方法的流程示意图;
图4为本申请另一实施例提供的指纹识别方法的流程示意图;
图5为本申请另一实施例提供的指纹识别方法的流程示意图。
具体实施方式
首先,对本申请实施例中所涉及的应用场景和部分词汇进行解释说明。
图2A为本申请实施例提供的应用场景示意图。如图2A所示,当确定用户的手指与终端设备的显示屏中的预设识别区域的持续接触时长超过预设时长(例如50ms),或者显示屏中的预设识别区域被覆盖的面积超过预设面积等时,可触发本申请实施例提供的指纹识别方法。当然,本申请实施例提供的指纹识别方法还可以适用于其它应用场景,本申请实施例中对此并不作限制。
本申请涉及的终端设备可以包括但不限于:手机、平板电脑、个人数字助理等具有显示屏、环境光传感器和指纹传感器的设备,当然还可以是其它具有显示屏、环境光传感器和指纹传感器的设备。
本申请所涉及的终端设备可以包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(Central Processing Unit,CPU)、内存管理单元(Memory Management Unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(Process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。
本申请实施例中的编号“第一”以及“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序,不应对本申请实施例构成任何限定。
本申请实施例涉及的指纹识别技术是指一种通过指纹传感器采集人体的指纹信息,然后与系统中已有的指纹模板信息进行对比,进而实现身份识别的一种生物识别技术。指纹识别技术包括:光学式指纹识别技术、电容式指纹识别技术以及超声波式指纹识别技术等。其中,光学式指纹识别技术因其高灵敏度及高集成度备受关注。
本申请实施例涉及的指纹识别技术可以包括但不限于:光学式指纹识别技术;对应地,本申请实施例涉及的指纹传感器可以包括但不限于:光学式指纹传感器。
本申请实施例涉及的显示屏可以是有机发光二极管(Organic Light-Emitting Diode,OLED)显示屏,当然还可以是其它类型的显示屏,本申请实施例中对此并不作限制。
本申请实施例涉及图像预处理可以包括但不限于滤波处理和/或放大处理。
本申请实施例涉及的指纹采集方式可以包括但不限于第一指纹采集方式、第二指纹采集方式和第三指纹采集方式。
本申请实施例涉及的第一指纹采集方式可以适用于昏暗场景(或者称之为环境光强度较低的场景,例如,环境光强度小于或等于第一阈值对应的场景),第一指纹采集方式可以包括但不限于:降低显示屏的亮度(例如使得显示屏的亮度不超过300尼特),通过指纹传感器采集指纹图像。当然,第一指纹采集方式还可以包括其它操作,示例性地,根据第一滤波参数对指纹传感器所采集的指纹图像进行滤波处理,和/或根据第一放大参数对待处理指纹图像(即指纹传感器所采集的指纹图像或者滤波处理后得到的指纹图像)进一步放大处理等,以实现对指纹传感器所采集的指纹图像的降噪效果,从而提高图像清晰度。
本申请实施例涉及的第一阈值可以为80勒克斯(LUX)-1000勒克斯中的任一值(示例性地,第一阈值可以为100LUX),当然,第一阈值可以为其它数值,本申请实施例中对此并不作限制。
本申请实施例涉及的根据滤波参数(例如第一滤波参数、第二滤波参数或者第三滤波参数)进行滤波处理的方式,可以参考现有图像预处理过程中根据滤波参数进行滤波处理的方式,此处不再赘述。
可选地,第一滤波参数可以为低阶滤波参数(对应低阶滤波处理)、第二滤波参数可以为介于低阶滤波参数与高阶滤波参数之间的滤波参数,以及第三滤波参数可以为高阶滤波参数(对应高阶滤波处理)。
本申请实施例涉及的根据放大参数(例如第一放大参数、第二放大参数或者第三放大参数)进行放大处理的方式,可以参考现有图像预处理过程中根据放大参数进行放大处理的方式,此处不再赘述。
可选地,第一放大参数可以为低倍数放大参数(例如小于10)、第二放大参数可以为介于低倍数放大参数与高倍数放大参数之间的放大参数(例如大于20且小于50),以及第三放大参数可以为高倍数放大参数(例如大于100)。
本申请实施例涉及的第二指纹采集方式可以适用于普通场景(或者称之为环境光强度适宜的场景,例如,环境光强度大于第一阈值且小于第二阈值对应的场景),第二指纹采集方式可以包括但不限于:通过指纹传感器采集指纹图像。当然,第二指纹采集方式还可以包括其它操作,示例性地,根据第二滤波参数对指纹传感器所采集的指纹图像进行滤波处理,和/或根据第二放大参数对待处理指纹图像(即指纹传感器所采集的指纹图像或者滤波处理后得到的指纹图像)进一步放大处理等,以实现降噪效果,从而提高图像清晰度。
本申请实施例涉及的第二阈值可以为8000勒克斯-30000勒克斯中的任一值(示例性地,第二阈值可以为10000LUX),当然,第二阈值可以为其它数值,本申请实施例中对此并不作限制。
本申请实施例涉及的第三指纹采集方式可以适用于强光场景(或者称之为环境光强度较高的场景,例如,环境光强度大于或等于第二阈值对应的场景),第三指纹采集方式可以包括但不限于:关闭显示屏的亮度,并通过所述指纹传感器采集指纹图像,进一步地,调整显示屏的亮度,使显示屏的亮度处于第一亮度(可选地,第一亮度可 以大于600尼特),并通过所述指纹传感器采集指纹图像,进一步地,根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像。当然,第三指纹采集方式还可以包括其它操作,示例性地,根据第三滤波参数对指纹图像(即根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像所获取的)进行滤波处理,和/或根据第三放大参数对待处理指纹图像(即根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像所获取的,或者滤波处理后得到的)进一步放大处理等,以实现降噪效果,从而提高图像清晰度。
本申请实施例中涉及的控制显示屏的显示颜色(例如白光、绿光或者蓝光等)的一种可实现方式如下:选择显示屏中不同区域的像素点,并分别为所选择的像素点提供驱动电流。当然,还可以通过其它可实现方式控制显示屏的显示颜色,本申请实施例中对此并不作限制。
本申请实施例中涉及的调整显示屏的显示亮度的一种可实现方式如下:调整显示屏的驱动电流的大小。当然,还可以通过其它可实现方式调整显示屏的显示亮度,本申请实施例中对此并不作限制。
如图1所示,具有指纹识别的终端设备的指纹采集过程如下:当确定需要进行指纹采集(例如手指1放在显示屏2上方超过预设时长等)时,控制器6控制显示屏2产生发射光4;其中,发射光4向上传播到达手指1后会发生反射形成反射光5,由于手指1的不同区域(如“谷”和“脊”)与显示屏2在贴合时形成的接触差异会造成不同区域的反射光5存在差异。进一步地,指纹传感器3对穿过显示屏2后照射到该指纹传感器3上的反射光5进行光电转换得到指纹图像,并将指纹图像传输至处理器6。进一步地,处理器6对指纹传感器3采集的指纹图像进行图像预处理得到目标指纹图像。
图1所示的终端设备适用于环境光强度适宜场景下的指纹采集,在部分环境光强度场景下可能无法采集到符合图像匹配要求的目标指纹图像。
本申请实施例提供的指纹识别方法及终端设备,通过获取终端设备所处的环境光强度,并采用与该环境光强度相匹配的指纹采集方式进行指纹采集(例如,在昏暗场景时采用第一指纹采集方式进行指纹采集;在普通场景时采用第二指纹采集方式进行指纹采集;在强光场景时采用第三指纹采集方式进行指纹采集等),以保证各种环境光强度场景下都可以采集到符合图像匹配要求的目标指纹图像,从而可以适用于各种环境光强度场景下的指纹识别。
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
图2B为本申请一实施例提供的指纹识别方法的流程示意图,图2C为本申请实施例提供的终端设备的结构示意图。可选地,本申请实施例提供的指纹识别方法可以应用于终端设备。如图2C所示,本申请实施例提供的终端设备可以包括:显示屏201以及指纹传感器202;其中,指纹传感器202可以位于显示屏201的下面;当然,该指纹识别装置还可以包括其它部件(示例性地,环境光传感器203和处理器204,其中,显示屏201、指纹传感器202、环境光传感器203分别连接至处理器204),本申 请实施例中对此并不作限制。如图2B所示,本申请实施例的方法可以包括:
步骤S21、获取终端设备所处的环境光强度。
本实施例中,可选地,当确定需要进行指纹采集时(例如,确定用户的手指与显示屏中的预设识别区域的持续接触时长超过预设时长、预设识别区域被覆盖的面积超过预设面积,或者预设识别区域的受压超过预设压力等),获取终端设备所处的环境光强度,示例性地,可以获取环境光传感器203所检测的环境光强度。可选地,通过向环境光传感器203发送检测指令,以使环境光传感器203开始检测终端设备所处的环境光强度;或者,环境光传感器203每隔预设时间便会自动检测终端设备所处的环境光强度。当然,还可以通过其它方式获取终端设备所处的环境光强度,本申请实施例中对此并不作限制。
可选地,环境光传感器203检测终端设备所处的环境光强度的一种可实现过程如下:
环境光传感器203通过对采集到的环境光信号进行光电转换得到电信号,并对电信号按照预设算法进行计算得到环境光强度;具体的预设算法可以采用现有环境光传感器中的算法,本申请实施例中对此并不作限制。
需要说明的是,环境光传感器203检测终端设备所处的环境光强度的方式还可以采用其它可实现方式,本申请实施例中对此并不作限制。
步骤S22、采用与该环境光强度相匹配的指纹采集方式进行指纹采集。
本实施例中,采用与该环境光强度(即步骤S21中获取的该终端设备所处的环境光强度)相匹配的指纹采集方式进行指纹采集,从而可以适用于各种环境光强度场景。
图2D为本申请实施例提供的指纹识别方法的另一流程示意图。示例性地,如图2D所示,对步骤S22的一种可实现方式进行介绍:根据该环境光强度(即步骤S21中获取的该终端设备所处的环境光强度)与至少一个阈值(示例性地,第一阈值和/或第二阈值)进行比较,确定所采用的指纹识别方式。(1)若该环境光强度(即该终端设备所处的环境光强度)小于或等于第一阈值(例如,该终端设备处于昏暗场景),则采用第一指纹采集方式进行指纹采集;(2)若该环境光强度大于第一阈值且小于第二阈值(例如,该终端设备处于普通场景),则采用第二指纹采集方式进行指纹采集;(3)若该环境光强度大于或等于第二阈值(例如,该终端设备处于强光场景),则采用第三指纹采集方式进行指纹采集。
需要说明的是,本申请实施例中以通过将该终端设备所处的环境光强度与两个阈值(例如第一阈值和第二阈值)进行对比,将环境光强度划分为三个等级(例如昏暗场景、普通场景和强光场景)为例进行说明;当然,还可以通过将终端设备所处的环境光强度与两个以上的其它阈值进行对比,将环境光强度划分为四个及以上等级,本申请实施例中对此并不作限制。
容易理解的是,若确定终端设备所处的环境光强度为其它等级,则采用与该环境光强度相匹配的其它指纹采集方式进行指纹采集,本申请实施例中对此并不作限制。
本申请实施例提供的指纹识别方法中,通过获取终端设备所处的环境光强度,并采用与该环境光强度相匹配的指纹采集方式进行指纹采集,以保证各种环境光强度场景下都可以采集到符合图像匹配要求的目标指纹图像,从而可以适用于各种环境光强 度场景下的指纹识别。
图3为本申请另一实施例提供的指纹识别方法的流程示意图。在上述实施例的基础上,本申请实施例中对终端设备处于昏暗场景时的指纹识别过程进行说明。结合图2C和图3所示,本申请实施例的方法可以包括:
步骤S31、获取终端设备所处的环境光强度。
可选的,本实施例中步骤S31的实现方式,可以参考本申请上述实施例中关于步骤S21的相关内容,此处不再赘述。
步骤S32、基于环境光强度与第一阈值比较,在环境光强度小于或等于第一阈值时,降低显示屏的亮度,通过指纹传感器采集指纹图像。
结合图2C所示,在昏暗场景下,考虑到环境光A在指纹传感器202接收到的光信号(包括:环境光A以及由显示屏201所产生的发射光B经手指后的反射光C)中的比例较少,指纹传感器202接收到的光信号中能够反映指纹特征信息的反射光C所占的比例满足预设比例,从而可以采集到符合图像匹配要求的目标指纹图像。
本实施例中,通过将步骤S31中所获取的环境光强度与第一阈值比较,在环境光强度小于或等于第一阈值时(即终端设备处于昏暗场景),则采用第一指纹采集方式进行指纹采集。可选地,通过降低显示屏201的亮度(例如使得显示屏的亮度不超过300尼特),并通过指纹传感器202采集指纹图像(即显示屏201的亮度调整之后的指纹图像),以便进一步对指纹传感器202所采集的指纹图像进行图像预处理得到目标指纹图像。当然,第一指纹采集方式还可以包括以下至少一项操作,以得到目标指纹图像:可以在通过指纹传感器202采集指纹图像之前,控制显示屏201显示白光或者绿光、根据第一滤波参数对指纹传感器202所采集的指纹图像进行滤波处理,以及根据第一放大参数对待处理指纹图像(即指纹传感器202所采集的指纹图像或者滤波处理后得到的指纹图像)进一步放大处理等。当然,还可以包括其它图像预处理操作,以实现对指纹传感器所采集的指纹图像的进一步降噪效果,从而进一步提高图像清晰度,本申请实施例中对此并不作限制。
可选地,在降低显示屏201的亮度之后,可以向指纹传感器202发送第一采集指令,以使指纹传感感器202根据第一采集指令开始采集降低显示屏亮度之后的指纹图像。当然,还可以通过其它方式通过指纹传感器202采集指纹图像,本申请实施例中对此并不作限制。
本申请实施例中,在环境光强度小于或等于第一阈值时,通过降低显示屏的亮度,以及通过指纹传感器采集指纹图像,实现了在昏暗场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。进一步地,通过降低显示屏的亮度,可以有效节省电能资源,从而延长该终端设备的待电时间,达到节能的效果。进一步地,通过根据第一滤波参数对指纹传感器所采集的指纹图像进行滤波处理,和/或根据第一放大参数对待处理指纹图像进一步放大处理等,可以进一步提高指纹识别的准确性。
图4为本申请另一实施例提供的指纹识别方法的流程示意图。在上述实施例的基础上,本申请实施例中对终端设备处于普通场景时的指纹识别过程进行说明。结合图2C和图4所示,本申请实施例的方法可以包括:
步骤S41、获取终端设备所处的环境光强度。
可选的,本实施例中步骤S41的实现方式,可以参考本申请上述实施例中关于步骤S21的相关内容,此处不再赘述。
步骤S42、基于环境光强度与第一阈值和第二阈值比较,在环境光强度大于第一阈值,且环境光强度小于第二阈值时,通过指纹传感器采集指纹图像。
结合图2C所示,在普通场景下,考虑到环境光A在指纹传感器202接收到的光信号(包括:环境光A以及由显示屏201所产生的发射光B经手指后的反射光C)中的比例较少,指纹传感器202接收到的光信号中能够反映指纹特征信息的反射光C所占的比例满足预设比例,从而可以采集到符合图像匹配要求的目标指纹图像。
本实施例中,通过将步骤S41中所获取的环境光强度与第一阈值和第二阈值比较,在环境光强度大于第一阈值,且环境光强度小于第二阈值时(即终端设备处于普通场景),则采用第二指纹采集方式进行指纹采集。可选地,通过指纹传感器202采集指纹图像,以便进一步对指纹传感器202所采集的指纹图像进行图像预处理得到目标指纹图像。当然,第二指纹采集方式还可以包括以下至少一项操作,以得到目标指纹图像:可以在通过指纹传感器202采集指纹图像之前,调整或者维持显示屏201的亮度使显示屏201的亮度大于300尼特(nit)且小于600尼特(例如450尼特)、可以在通过指纹传感器202采集指纹图像之前,控制显示屏201显示白光、绿光或者蓝绿混合光、根据第二滤波参数对指纹传感器202所采集的指纹图像进行滤波处理,以及根据第二放大参数对待处理指纹图像(即指纹传感器202所采集的指纹图像或者滤波处理后得到的指纹图像)进一步放大处理等。当然,还可以包括其它图像预处理操作,以实现对指纹传感器所采集的指纹图像的进一步降噪效果,从而进一步提高图像清晰度,本申请实施例中对此并不作限制。
可选地,在调整或者维持显示屏201的亮度后,可以向指纹传感器202发送第二采集指令,以使指纹传感感器202根据第二采集指令开始采集指纹图像。当然,还可以通过其它方式通过指纹传感器202采集指纹图像,本申请实施例中对此并不作限制。
本申请实施例中,在环境光强度大于第一阈值,且环境光强度小于第二阈值时,通过指纹传感器采集指纹图像,实现了在普通场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。进一步地,通过将显示屏的亮度调整为合适的亮度,可以有效节省电能资源,从而延长该终端设备的待电时间。进一步地,通过根据第二滤波参数对指纹传感器所采集的指纹图像进行滤波处理,和/或根据第二放大参数对待处理指纹图像进一步放大处理等,可以进一步提高指纹识别的准确性。
图5为本申请另一实施例提供的指纹识别方法的流程示意图。在上述实施例的基础上,本申请实施例中对终端设备处于强光场景时的指纹识别过程进行说明。结合图2C和图5所示,本申请实施例的方法可以包括:
步骤S51、获取终端设备所处的环境光强度。
可选的,本实施例中步骤S51的实现方式,可以参考本申请上述实施例中关于步骤S21的相关内容,此处不再赘述。
步骤S52、基于环境光强度与第二阈值比较,在环境光强度大于或等于第二阈值时,关闭显示屏的亮度,通过指纹传感器采集指纹图像;调整显示屏的亮度,使显示 屏的亮度处于第一亮度,通过指纹传感器采集指纹图像;根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像。
结合图2C所示,在强光场景下,考虑到环境光A会导致指纹传感器202接收到的光信号(包括:环境光A以及由显示屏201所产生的发射光B经手指后的反射光C)中能够反映指纹特征信息的反射光C所占的比例大幅度下降(即包含指纹特征信息的反射光C在指纹传感器202所接收到的光信号中的比例较低),从而无法采集到符合图像匹配要求的目标指纹图像。
本实施例中,通过将步骤S51中所获取的环境光强度与第二阈值比较,在环境光强度大于或等于第二阈值时(即终端设备处于强光场景),则采用第三指纹采集方式进行指纹采集。可选地,通过关闭显示屏201的亮度,并通过指纹传感器202采集指纹图像(即关闭显示屏之后的指纹图像,或者环境光A对应的指纹图像);进一步地,调整显示屏201的亮度使显示屏201的亮度处于第一亮度(可选地,第一亮度可以大于600尼特),以提高包含指纹特征信息的反射光C在指纹传感器202所接收到的光信号中的比例,并通过指纹传感器202采集指纹图像(即显示屏201的亮度调整之后的指纹图像,或者环境光A和提高反射光C的比例后所对应的指纹图像);进一步地,根据关闭显示屏亮度下采集的指纹图像(即环境光A对应的指纹图像)和显示屏处于第一亮度下采集的指纹图像(即环境光A和提高反射光C的比例后所对应的指纹图像),获取指纹图像(即提高反射光C的比例后所对应的指纹图像),以便进一步对获取的指纹图像进行图像预处理得到目标指纹图像。可选地,根据关闭显示屏亮度下采集的指纹图像替剔除掉显示屏处于第一亮度下采集的指纹图像中所包括的环境光A对应的指纹图像(示例性地,根据显示屏处于第一亮度下采集的指纹图像中的每个像素点,分别与关闭显示屏亮度下采集的指纹图像中的相应像素点的作差),从而确定出指纹图像(即提高反射光C的比例后所对应的指纹图像)。当然,根据关闭显示屏亮度下采集的指纹图像替剔除掉显示屏处于第一亮度下采集的指纹图像中所包括的环境光A对应的指纹图像,还可通过其它方式确定出指纹图像,本申请实施例中对此并不作限制。
当然,第三指纹采集方式还可以包括以下至少一项操作,以得到目标指纹图像:可以在通过指纹传感器202采集显示屏201的亮度调整之后的指纹图像之前,控制显示屏201显示绿光、根据第三滤波参数对指纹图像(即根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像所获取的)进行滤波处理,以及根据第三放大参数对待处理指纹图像(即根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像所获取的,或者滤波处理后得到的)进一步放大处理等。当然,还可以包括其它图像预处理操作,以实现对指纹传感器所采集的指纹图像的进一步降噪效果,从而进一步提高图像清晰度,本申请实施例中对此并不作限制。
可选地,在关闭显示屏201的亮度后,可以向指纹传感器202发送第三采集指令,以使指纹传感感器202根据第三采集指令开始采集指纹图像。可选地,在调整显示屏的亮度处于第一亮度后,可以向指纹传感器202发送第四采集指令,以使指纹传感感器202根据第四采集指令开始采集指纹图像。当然,还可以通过其它方式通过指纹传感器202采集指纹图像,本申请实施例中对此并不作限制。
本申请实施例中,在环境光强度大于或等于第二阈值时,关闭显示屏的亮度,并通过指纹传感器采集指纹图像;进一步地,调整显示屏的亮度使显示屏的亮度处于第一亮度,并通过指纹传感器采集指纹图像;进一步地,根据关闭显示屏亮度下采集的指纹图像和显示屏处于第一亮度下采集的指纹图像,获取指纹图像,实现了在强光场景下可以采集到符合图像匹配要求的目标指纹图像,从而提高了指纹识别的准确性。进一步地,通过根据第三滤波参数对指纹图像进行滤波处理,和/或根据第三放大参数对待处理指纹图像进一步放大处理等,可以进一步提高指纹识别的准确性。
本申请提供的终端设备的实施例中,参考图2C所示,本实施例提供的终端设备可以包括:显示屏201、指纹传感器202、环境光传感器203和处理器204。其中,指纹传感器202位于显示屏201的下面,显示屏201、指纹传感器202、环境光传感器203分别连接处理器204。
其中,环境光传感器203用于检测终端设备所处的环境光强度:
处理器204用于获取环境光传感器203检测的环境光强度,并基于环境光强度与第一阈值比较,在环境光强度小于或等于第一阈值时,降低显示屏201的亮度,通过指纹传感器202采集指纹图像。
可选地,处理器204还用于:基于环境光强度与第一阈值和第二阈值比较,在环境光强度大于第一阈值,且环境光强度小于第二阈值时,通过指纹传感器202采集指纹图像。
可选地,处理器204还用于:
基于环境光强度与第二阈值比较,在环境光强度大于或等于第二阈值时,关闭显示屏201的亮度,通过指纹传感器202采集指纹图像;
调整显示屏201的亮度,使显示屏201的亮度处于第一亮度,通过指纹传感器202采集指纹图像,其中,第一亮度为大于600尼特;
根据关闭显示屏亮度下采集的指纹图像和显示屏201处于第一亮度下采集的指纹图像,获取指纹图像。
可选地,第一阈值为80勒克斯-1000勒克斯中的任一值。
可选地,第二阈值为8000勒克斯-30000勒克斯中的任一值。
本实施例提供的终端设备,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。

Claims (10)

  1. 一种指纹识别方法,所述指纹识别方法应用于终端设备,所述终端设备包括显示屏和指纹传感器,所述指纹传感器位于所述显示屏的下面,其特征在于,所述方法包括:
    获取所述终端设备所处的环境光强度;
    基于所述环境光强度与第一阈值比较,在所述环境光强度小于或等于所述第一阈值,降低所述显示屏的亮度,通过所述指纹传感器采集指纹图像。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:基于所述环境光强度与所述第一阈值和第二阈值比较,在所述环境光强度大于所述第一阈值,且所述环境光强度小于所述第二阈值,通过所述指纹传感器采集指纹图像。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    基于所述环境光强度与第二阈值比较,在所述环境光强度大于或等于所述第二阈值,关闭所述显示屏的亮度,通过所述指纹传感器采集指纹图像;
    调整所述显示屏的亮度,使所述显示屏的亮度处于第一亮度,通过所述指纹传感器采集指纹图像,其中,第一亮度为大于600尼特;
    根据关闭显示屏亮度下采集的指纹图像和所述显示屏处于第一亮度下采集的指纹图像,获取指纹图像。
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述第一阈值为80勒克斯-1000勒克斯中的任一值。
  5. 根据权利要求2或3所述的方法,其特征在于,所述第二阈值为8000勒克斯-30000勒克斯中的任一值。
  6. 一种终端设备,所述终端设备包括显示屏、指纹传感器、环境光传感器和处理器,所述指纹传感器位于所述显示屏的下面,所述显示屏、所述指纹传感器、所述环境光传感器连接所述处理器,其特征在于,所述环境光传感器用于检测所述终端设备所处的环境光强度:
    所述处理器用于获取所述环境光传感器检测的所述环境光强度,并基于所述环境光强度与第一阈值比较,在所述环境光强度小于或等于所述第一阈值,降低所述显示屏的亮度,通过所述指纹传感器采集指纹图像。
  7. 根据权利要求6所述的终端设备,其特征在于,所述处理器还用于:基于所述环境光强度与所述第一阈值和第二阈值比较,在所述环境光强度大于所述第一阈值,且所述环境光强度小于所述第二阈值,通过所述指纹传感器采集指纹图像。
  8. 根据权利要求6或7所述的终端设备,其特征在于,所述处理器还用于:
    基于所述环境光强度与第二阈值比较,在所述环境光强度大于或等于所述第二阈值,关闭所述显示屏的亮度,通过所述指纹传感器采集指纹图像;
    调整所述显示屏的亮度,使所述显示屏的亮度处于第一亮度,通过所述指纹传感器采集指纹图像,其中,第一亮度为大于600尼特;
    根据关闭显示屏亮度下采集的指纹图像和所述显示屏处于第一亮度下采集的指纹图像,获取指纹图像。
  9. 根据权利要求6-8任一所述的终端设备,其特征在于,所述第一阈值为80勒克斯-1000勒克斯中的任一值。
  10. 根据权利要求7或8所述的终端设备,其特征在于,所述第二阈值为8000勒克斯-30000勒克斯中的任一值。
PCT/CN2017/113649 2017-11-29 2017-11-29 指纹识别方法及终端设备 WO2019104551A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/113649 WO2019104551A1 (zh) 2017-11-29 2017-11-29 指纹识别方法及终端设备
CN201780095711.3A CN111183431A (zh) 2017-11-29 2017-11-29 指纹识别方法及终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113649 WO2019104551A1 (zh) 2017-11-29 2017-11-29 指纹识别方法及终端设备

Publications (1)

Publication Number Publication Date
WO2019104551A1 true WO2019104551A1 (zh) 2019-06-06

Family

ID=66664211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113649 WO2019104551A1 (zh) 2017-11-29 2017-11-29 指纹识别方法及终端设备

Country Status (2)

Country Link
CN (1) CN111183431A (zh)
WO (1) WO2019104551A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709380A (zh) * 2020-06-19 2020-09-25 京东方科技集团股份有限公司 一种屏幕的光学指纹识别方法及相关产品
CN112528888A (zh) * 2020-12-16 2021-03-19 北京集创北方科技股份有限公司 一种光学指纹采集方法、装置、电子设备及存储介质
EP4184300A4 (en) * 2021-07-29 2024-02-14 Honor Device Co., Ltd. LIGHT POINT DISPLAY METHOD, ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863494A (zh) * 2021-01-20 2022-08-05 华为技术有限公司 屏幕亮度的调整方法、装置和终端设备
CN115136210B (zh) * 2022-05-23 2023-10-20 深圳市汇顶科技股份有限公司 指纹识别方法、装置及终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080205713A1 (en) * 2007-02-15 2008-08-28 Mitsumi Electric Co., Ltd. Image reading device, image reading method, and fingerprint reading device
CN103105977A (zh) * 2012-12-11 2013-05-15 武汉智慧城市研究院股份有限公司 一种抗红外噪声的触点识别方法、装置以及系统
CN104598899A (zh) * 2015-02-16 2015-05-06 上海箩箕技术有限公司 指纹成像方法和指纹成像系统
CN105227776A (zh) * 2015-10-20 2016-01-06 上海卓易科技股份有限公司 背光源智能调节方法及装置
CN107220592A (zh) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 一种光学指纹采集方法及相关产品

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201140202A (en) * 2010-05-04 2011-11-16 Chunghwa Picture Tubes Ltd Photo-sensing touch LCD
CN202776308U (zh) * 2012-08-22 2013-03-13 刘兰平 一种多光谱指纹观察仪
CN105304656B (zh) * 2014-06-23 2018-06-22 上海箩箕技术有限公司 光电传感器
US10599903B2 (en) * 2015-06-26 2020-03-24 Lenovo (Beijing) Limited Information processing method and electronic device
CN105184248B (zh) * 2015-08-28 2019-03-12 京东方科技集团股份有限公司 一种指纹识别装置及指纹识别系统
CN107292215A (zh) * 2016-03-31 2017-10-24 上海箩箕技术有限公司 光学指纹传感器模组
CN107132973A (zh) * 2017-04-21 2017-09-05 努比亚技术有限公司 背光调节方法、移动终端及计算机可读存储介质
CN107122760B (zh) * 2017-05-16 2019-10-18 Oppo广东移动通信有限公司 指纹识别方法及相关产品
CN107392148B (zh) * 2017-07-21 2019-01-11 维沃移动通信有限公司 一种指纹检测方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080205713A1 (en) * 2007-02-15 2008-08-28 Mitsumi Electric Co., Ltd. Image reading device, image reading method, and fingerprint reading device
CN103105977A (zh) * 2012-12-11 2013-05-15 武汉智慧城市研究院股份有限公司 一种抗红外噪声的触点识别方法、装置以及系统
CN104598899A (zh) * 2015-02-16 2015-05-06 上海箩箕技术有限公司 指纹成像方法和指纹成像系统
CN105227776A (zh) * 2015-10-20 2016-01-06 上海卓易科技股份有限公司 背光源智能调节方法及装置
CN107220592A (zh) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 一种光学指纹采集方法及相关产品

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709380A (zh) * 2020-06-19 2020-09-25 京东方科技集团股份有限公司 一种屏幕的光学指纹识别方法及相关产品
CN112528888A (zh) * 2020-12-16 2021-03-19 北京集创北方科技股份有限公司 一种光学指纹采集方法、装置、电子设备及存储介质
EP4184300A4 (en) * 2021-07-29 2024-02-14 Honor Device Co., Ltd. LIGHT POINT DISPLAY METHOD, ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM

Also Published As

Publication number Publication date
CN111183431A (zh) 2020-05-19

Similar Documents

Publication Publication Date Title
WO2019104551A1 (zh) 指纹识别方法及终端设备
US9613200B2 (en) Ear biometric capture, authentication, and identification method and system
US10984267B2 (en) Method and system for imaging acquisition
WO2018121428A1 (zh) 一种活体检测方法、装置及存储介质
WO2019033572A1 (zh) 人脸遮挡检测方法、装置及存储介质
WO2017156964A1 (zh) 一种终端解锁的方法及终端
US11281892B2 (en) Technologies for efficient identity recognition based on skin features
CN106682620A (zh) 人脸图像采集方法及装置
WO2019033386A1 (zh) 获取指纹图像的方法、装置和终端设备
US20130222564A1 (en) Apparatus for recognizing face based on environment adaptation
WO2018233637A1 (zh) 视频处理方法、装置、电子设备及存储介质
CN107239735A (zh) 一种基于视频分析的活体检测方法和系统
WO2016173249A1 (zh) 一种基于环境筛选帧的眼纹识别解锁方法及系统
JP2011165008A (ja) 画像認識装置および方法
CN107710221B (zh) 一种用于检测活体对象的方法、装置和移动终端
US20190340349A1 (en) Method of unlocking an electronic device, unlocking device and system and storage medium
JP2009211275A (ja) 画像処理装置、画像処理方法、プログラム及び記憶媒体
WO2019163065A1 (ja) なりすまし検知装置、なりすまし検知方法、及びコンピュータ読み取り可能な記録媒体
CN112884666B (zh) 图像处理方法、装置及计算机存储介质
KR101610525B1 (ko) 조도를 고려한 동공 검출 장치 및 그 방법
TW202105329A (zh) 人臉校驗方法、裝置、伺服器及可讀儲存媒介
US9117114B2 (en) Image processing device, image processing method, program, and electronic device for detecting a skin region of a subject
CN113128254A (zh) 人脸捕获方法、装置、芯片及计算机可读存储介质
KR101327482B1 (ko) 이파리 영상의 잎맥 검출 및 특징 추출 방법 및 장치
JP2005032067A (ja) 生体画像取得装置、生体認証システム及び生体画像取得方法

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

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

Country of ref document: EP

Kind code of ref document: A1