WO2022032479A1 - Fingerprint recognition method and apparatus, and terminal device - Google Patents

Fingerprint recognition method and apparatus, and terminal device Download PDF

Info

Publication number
WO2022032479A1
WO2022032479A1 PCT/CN2020/108437 CN2020108437W WO2022032479A1 WO 2022032479 A1 WO2022032479 A1 WO 2022032479A1 CN 2020108437 W CN2020108437 W CN 2020108437W WO 2022032479 A1 WO2022032479 A1 WO 2022032479A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
intensity
signal
finger
user
Prior art date
Application number
PCT/CN2020/108437
Other languages
French (fr)
Chinese (zh)
Inventor
胡泽望
姚国峰
沈健
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2020/108437 priority Critical patent/WO2022032479A1/en
Publication of WO2022032479A1 publication Critical patent/WO2022032479A1/en

Links

Images

Classifications

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

Definitions

  • the present application relates to the technical field of fingerprint identification, and in particular, to a fingerprint identification method, device and terminal device.
  • Fingerprint recognition is one of the more effective and commonly used types.
  • terminal devices with a display screen users expect a high screen-to-body ratio, and the under-screen optical fingerprint recognition solution can meet the two requirements of information security and high screen-to-body ratio at the same time.
  • the valleys and ridges of the finger have different reflectivity to the light incident on the finger, which can form a fingerprint pattern with light and dark contrast, and the feature information of the fingerprint image is extracted and compared.
  • Fingerprint recognition is possible.
  • all screens are used as display screens, and an area of the screen is used as a fingerprint recognition area.
  • the acquired fingerprint image has less fingerprint feature information or even no finger feature information can be obtained.
  • the finger only covers part of the fingerprint recognition area the light existing in the environment easily passes through the edge of the finger, and enters the optical image acquisition module of the fingerprint recognition module through the screen, which will cause the signal-to-noise ratio of the fingerprint image to decrease.
  • the terminal device will still perform fingerprint identification according to the normal process in the above-mentioned situations, which may easily lead to identification failure and increase the authenticity rejection rate.
  • the present application provides a fingerprint identification method, device and terminal device, which are used to solve the problems of easy identification failure and high rejection rate in the existing fingerprint identification scheme, ensure the accuracy of fingerprint identification, and avoid the problems caused by invalid pressing. High rejection rate.
  • an embodiment of the present application provides a fingerprint identification method, which is applied to a terminal device.
  • the terminal device includes a fingerprint identification device, and the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array.
  • the method includes:
  • the identity of the user is verified based on the fingerprint image.
  • the method further includes:
  • prompt information is pushed, and the prompt information is used to prompt the user to reposition the finger, or the fingerprint recognition fails, or the fingerprint recognition process ends.
  • the Methods when it is detected that the user's finger touches the fingerprint recognition area of the terminal device, before collecting multiple optical signals of the preset feature area in the pixel array through multiple exposures, the Methods also include:
  • the preset feature area is determined from the preset at least one feature area according to the security level.
  • the collecting multiple signals of the preset feature area in the pixel array by multiple exposures includes:
  • the short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
  • the pixels in the preset characteristic area acquire the plurality of optical signals in a pixel stacking manner.
  • the determining whether the user's finger covers the preset feature region according to multiple light signals of the preset feature region includes:
  • a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
  • the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area
  • the method further includes:
  • the coefficient of variation threshold is determined according to the intensity of the ambient light signal.
  • the determining of the coefficient of variation threshold according to the intensity of the ambient light signal includes:
  • the threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
  • the determining whether the user's finger covers the preset feature region according to multiple light signals of the preset feature region includes:
  • Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
  • the excitation light source used in collecting the optical signal is an infrared light source
  • the determination of the intensity reduction ratio of the second optical signal compared with that of the first optical signal and a preset ratio is performed. Whether the user's finger covers the preset feature area, including:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • the ratio according to the decrease in the intensity of the second optical signal compared to the first optical signal and a preset ratio to determine whether the user's finger covers the preset feature area including:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • the method further includes:
  • the preset ratio is determined according to the intensity of the ambient light signal.
  • the determining the preset ratio according to the intensity of the ambient light signal includes:
  • the ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
  • the method further includes:
  • the living body judgment conditions include:
  • None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
  • coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold
  • the increase of the signal intensity of the optical signal detected last time among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
  • an embodiment of the present application provides a fingerprint identification device, the fingerprint identification device includes an optical image acquisition module, the optical image acquisition module includes a pixel array, and the device further includes:
  • the optical image acquisition module is configured to collect a plurality of optical signals of a preset feature area in the pixel array through multiple exposures when it is detected that the user's finger touches the fingerprint identification area of the fingerprint identification device;
  • a processing module configured to determine whether the user's finger covers the preset feature region according to a plurality of optical signals in the preset feature region
  • the optical image acquisition module is further configured to acquire a fingerprint image if the user's finger covers the preset feature area;
  • the processing module is further configured to verify the identity of the user according to the fingerprint image.
  • the device further includes: a display module, and the processing module is further configured to push prompt information through the display module if the user's finger does not cover the preset feature area, and the The prompt information is used to prompt the user to reposition the finger, or the fingerprint recognition fails, or to end the fingerprint recognition process.
  • processing module is further used for:
  • the preset feature area is determined from the preset at least one feature area according to the security level.
  • the optical image acquisition module is specifically used for:
  • the short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
  • the optical image acquisition module is specifically configured to acquire the plurality of optical signals for the pixels in the preset characteristic area in a pixel superposition manner.
  • the processing module is specifically used for:
  • a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
  • the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area
  • processing module is further used for:
  • the coefficient of variation threshold is determined according to the intensity of the ambient light signal.
  • the processing module is specifically used for:
  • the threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
  • the processing module is specifically used for:
  • Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
  • the processing module is specifically used for:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • the processing module is specifically configured to:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • processing module is further used for:
  • the preset ratio is determined according to the intensity of the ambient light signal.
  • the processing module is specifically used for:
  • the ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
  • processing module is further used for:
  • the living body judgment conditions include:
  • None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
  • coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold
  • the increase of the signal intensity of the last detected optical signal among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
  • an embodiment of the present application provides a terminal device, including:
  • Processor memory, display screen, touch control module, and fingerprint identification device
  • the memory is used to store computer programs
  • the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array;
  • the processor executes the computer program stored in the memory, so that the terminal device executes the fingerprint identification method described in any one of the first face-to-face.
  • a color filter is provided in the pixel array, and the wavelength band range through which the color filter passes includes a wavelength band used for fingerprint identification.
  • an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program, where the computer program is stored in the readable storage medium, and the computer program is used to implement any one of the first aspect The fingerprint identification method described in item.
  • the terminal device in this solution includes a fingerprint identification device, and the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array.
  • the fingerprint identification device includes an optical image acquisition module
  • the optical image acquisition module includes a pixel array.
  • a prompt message will be pushed to prompt the user to reposition the finger or end the fingerprint identification process.
  • the fingerprint image verification is performed after the coverage is completed.
  • FIG. 1 is a schematic diagram of a front structure of a terminal device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a partial cross-sectional structure of a terminal device along A-A' provided by an embodiment of the present application;
  • FIG. 3 is a schematic diagram of a fingerprint identification scenario provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a fingerprint image collected during fingerprint identification according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the composition and structure of a terminal device according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of Embodiment 1 of the fingerprint identification method provided by the embodiment of the present application.
  • FIG. 7 is a schematic flowchart of Embodiment 2 of the fingerprint identification method provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of a preset feature area provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the signal strength of an optical signal according to an embodiment of the present application.
  • Fig. 10 is the working state schematic diagram of the terminal device fingerprint identification module that changes with time provided by the embodiment of the application;
  • FIG. 11 is a schematic flowchart of Embodiment 3 of the fingerprint identification method provided by the embodiment of the present application.
  • FIG. 12 is a schematic diagram of a pixel array of an optical image collection module provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an optical signal intensity change provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of Embodiment 1 of a fingerprint identification device provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of Embodiment 2 of a fingerprint identification device provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the mechanism of identifying and verifying the user's biometric features is widely used in terminal devices, and fingerprint recognition is a relatively common type.
  • fingerprint recognition is a relatively common type.
  • the terminal device will also perform fingerprint recognition according to the normal process, which may easily lead to fingerprint recognition failure and rejection of authenticity. rate increased.
  • the embodiments of the present application provide a fingerprint identification method, which can quickly determine whether a user's finger will cover certain characteristic areas of the image sensor, such as the central area of the fingerprint identification area, so as to ensure that the fingerprints obtained subsequently
  • the image can have enough feature information and high enough signal-to-noise ratio.
  • the main idea of this solution is to set several fixed characteristic areas in the fingerprint recognition area by means of software or hardware.
  • the fingerprint image recognition process is carried out in the follow-up time, so as to avoid the direct recognition failure due to the inappropriate position of the user's finger, which can ensure that the fingerprint image has sufficient feature information and signal-to-noise ratio, and avoid the problem of increasing the false rejection rate caused by invalid pressing.
  • the fingerprint identification method provided by the embodiment of the present application can be mainly applied to the field of optical fingerprint identification. Further, it can be applied to various terminal devices using optical fingerprint identification, such as mobile computing devices such as smart phones, notebook computers, tablet computers, game devices, etc., as well as electronic databases, automobiles, and bank automatic teller machines (automated teller machine, ATM). and other terminal devices that require fingerprint identification.
  • mobile computing devices such as smart phones, notebook computers, tablet computers, game devices, etc.
  • electronic databases such as automobiles, and bank automatic teller machines (automated teller machine, ATM).
  • ATM bank automatic teller machines
  • Fig. 1 is a schematic diagram of a front structure of a terminal device provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of a partial cross-sectional structure of a terminal device provided by an embodiment of the present application along A-A'.
  • a display screen 110 is included, and a fingerprint identification area 115 for fingerprint identification is provided therein.
  • fingerprint identification is performed.
  • the figure shows that the valley 142 and ridge 141 of the finger reflect the light 150 incident on the finger, and the reflected light 151 passes through the display screen 150 and enters the pixels 122 in the pixel array 121, which can form a band
  • the terminal device performs fingerprint identification through the acquired fingerprint patterns.
  • the display screen 150 or other layers at least have a touch control function in the fingerprint identification area 115 for judging whether the pressing finger touches the fingerprint identification area 115, and the touch control Functions may be implemented by capacitive touch control or resistive touch control or pressure sensitive touch control, including but not limited to.
  • FIG. 3 is a schematic diagram of a fingerprint recognition scenario provided by an embodiment of the present application.
  • the alignment quality of the user's finger pressing position and the position of the fingerprint recognition area will affect the fingerprint obtained by the image acquisition module. images are affected.
  • the situation shown in (a) on the left side of FIG. 3 is a situation in which the pressing position of the finger 140 and the fingerprint recognition area 115 are well aligned.
  • the situation shown in (b) on the left side of FIG. 3 is a situation in which the alignment quality between the finger pressing position and the fingerprint recognition area is poor.
  • FIG. 4 is a schematic diagram of a fingerprint image collected during fingerprint identification according to an embodiment of the present application.
  • the fingerprint image collected by the optical image collection module in the two cases is shown in FIG. 4 .
  • the area with fingerprint information occupies a larger area of the entire image, and more feature information can be extracted.
  • the alignment quality between the pressing position of the finger 140 and the fingerprint identification area 115 is poor, in the collected image, the area with fingerprint information occupies a smaller proportion of the entire image area, and less feature information can be extracted.
  • FIG. 5 is a schematic diagram of the composition and structure of a terminal device provided by an embodiment of the present application.
  • the fingerprint identification solution proposed by the present application uses a shorter The exposure time quickly collects the light signals collected by the pixels in the characteristic area (images are not collected in this process), and further analyzes the signal changes to determine whether the user's finger covers the characteristic area, which can be one or more. For example, some pixels at the center of the pixel array may be selected as feature regions.
  • the finger image collected by the optical image acquisition module for a long time exposure can ensure that the fingerprint information can cover the middle area of the fingerprint acquisition image, ensure that the fingerprint information accounts for a large proportion of the entire image, and can extract enough information. feature point information.
  • the terminal device to which the fingerprint identification method provided by the present application is applied at least needs to include: a touch control module, an excitation light source, an optical image acquisition module and a signal processing module.
  • the pixels of a feature area may be consecutive adjacent pixels of m rows and n columns, where m and n are both positive integers greater than or equal to 1.
  • the number of rows and columns of pixels may be different or the same, which is not limited in this solution.
  • FIG. 6 is a schematic flowchart of Embodiment 1 of the fingerprint identification method provided by the embodiment of the present application. As shown in FIG. 6 , the fingerprint identification method specifically includes the following steps:
  • the terminal device In this step, during the running process of the terminal device, in scenarios such as unlocking, payment, and login of some application programs, the user's identity can be verified by means of fingerprint recognition. In these cases, the terminal device will detect the user's touch operation. After detecting that the user's finger touches the fingerprint recognition area of the terminal device, the terminal device collects multiple optical signals at the preset feature area through multiple exposures in a short period of time. The multiple exposure collection here is only collected at the preset feature area, and it is not necessary to collect the entire fingerprint identification area.
  • the pixels in the preset characteristic area may be subjected to signal collection in a pixel stacking manner to acquire multiple optical signals.
  • the optical signal can be collected by partial pixel stacking (Binning) or all pixels stacking, so as to improve the signal intensity.
  • the preset characteristic area here may be one or more characteristic areas.
  • the area in the fingerprint identification area is marked, and multiple characteristic areas are marked, so that the detection of the characteristic area can be used to determine whether to perform the fingerprint identification process in the future before fingerprint identification.
  • the optical signals of which characteristic areas are acquired is related to the security level of the terminal device currently performing fingerprint identification. For example, for the unlocking scene of the terminal device, one or two characteristic areas can be set for detection. ; But for payment scenarios, the security level is higher, so four or five more feature areas can be set for detection. Different scenarios or different security levels can be pre-configured with characteristic areas to be detected, that is, the above-mentioned preset characteristic areas.
  • S102 Determine whether the user's finger covers the preset characteristic area according to the plurality of light signals in the preset characteristic area.
  • the terminal device may determine whether the user's finger covers the preset feature region by analyzing the features such as the intensity change of the light signal according to the plurality of optical signals detected from the preset feature region.
  • whether the user's finger covers the preset feature area can be determined at least in the following ways:
  • the first way is to obtain a coefficient of variation of the optical signal intensity in the preset feature area according to the collected optical signals in the preset feature area, where the coefficient of variation is used to represent the preset feature The degree of variation in the intensity of the light signal in the area. If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the preset feature area.
  • the coefficient of variation threshold can be adjusted, and the threshold of the coefficient of variation is different in different environments where the terminal equipment is located.
  • the coefficient of variation threshold When the ambient light signal strength is higher, the coefficient of variation threshold can be set larger; when the ambient light signal strength is lower, the coefficient of variation threshold can be set smaller.
  • the coefficient of variation threshold may be determined according to the intensity of the ambient light signal. For example, in one manner, the coefficient of variation threshold corresponding to the intensity of the ambient light signal is acquired according to a preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation.
  • the difference between the intensity of the ambient light signal and the standard ambient light intensity is obtained according to a preset standard ambient light intensity and a standard coefficient of variation threshold, and then increases or decreases on the standard coefficient of variation threshold
  • the threshold change value corresponding to the difference value is used to obtain the coefficient of variation threshold. That is to say, the coefficient of variation threshold can be either a fixed data or data that changes with the intensity of the ambient light, and the specific determination method is not limited in this solution.
  • the coefficient of variation threshold is positively or negatively correlated with the intensity of ambient light.
  • the second method is to acquire a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
  • the ratio and the preset ratio of the first optical signal signal strength reduction are determined to determine whether the user's finger covers the preset feature area.
  • the excitation light source is an infrared light source
  • the infrared light signal gradually becomes stronger, that is to say, the first light signal appears later than the second light signal, and at the same time If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, it can be determined that the user's finger covers the preset feature area, otherwise it is determined that the user's finger does not cover the preset feature area.
  • the excitation light source is the visible light emitted by the screen
  • the contact area of the user's finger on the terminal device increases, the light signal reflected by the user's finger gradually becomes weaker, that is to say, the first light signal appears earlier than the second light signal. It can be determined that the user's finger covers the preset feature area, otherwise it is determined that the user's finger does not cover the preset feature area.
  • the preset ratio for determining the intensity of the optical signal reduction is also related to the environment where the terminal device is located, so the preset ratio can be determined in advance according to the environment where the terminal device is located.
  • the preset ratio is determined according to the acquired ambient light signal of the terminal device.
  • the preset ratio may be determined according to the intensity of the ambient light signal.
  • the preset ratio corresponding to the intensity of the ambient light signal may be acquired according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change.
  • the difference between the intensity of the ambient light signal and the standard ambient light intensity is acquired according to a preset standard ambient light intensity and a standard ratio of intensity change.
  • the ratio change value corresponding to the difference value is increased or decreased on the standard ratio to obtain the preset ratio.
  • the preset ratio can be either fixed data or data that changes with the intensity of ambient light, and the specific determination method is not limited in this solution.
  • S104 Verify the identity of the user according to the fingerprint image.
  • the pixel array collects an image of the fingerprint recognition area with a long exposure time to obtain a fingerprint image. According to the comparison between the fingerprint image and the authorized feature information, if the fingerprint image matches the feature information, it is determined that the fingerprint authentication is successful, and if the fingerprint image does not match the feature information, it is determined that the fingerprint authentication fails.
  • the terminal device determines that the user's finger does not cover the preset feature area, it can determine that the user has not placed the finger in a suitable position, and the terminal device can remind the user to place the finger again, or remind the end of the fingerprint separation process without directly entering the verification process. .
  • the fingerprint identification method provided in this embodiment determines that the user's finger covers the preset feature area by detecting the optical signal of the preset feature area, and then performs fingerprint image verification after coverage. If the user's finger is not placed in a suitable position, the fingerprint recognition fails or the fingerprint is directly rejected, which reduces the rejection rate of fingerprint recognition.
  • FIG. 7 is a schematic flowchart of Embodiment 2 of the fingerprint identification method provided by the embodiment of the application.
  • the screen of the device is an organic light-emitting diode (Organic Light-Emitting Diode, OLED) screen as an example
  • OLED Organic Light-Emitting Diode
  • the terminal device when entering a fingerprint recognition scenario such as mobile payment, the terminal device prompts the user to perform fingerprint recognition.
  • the prompting method can be lighting on the screen fingerprint identification area of the terminal device; text prompting can be performed on the display screen, etc., including but not limited to this method.
  • S202 The touch screen detects that the finger touches the fingerprint recognition area, and triggers the start of fingerprint recognition.
  • the touch control module of the screen detects that the finger touches the surface of the fingerprint recognition area, the start of fingerprint recognition is triggered.
  • S203 The light-emitting unit of the fingerprint identification area in the display screen emits light.
  • the light-emitting unit in the fingerprint identification area on the display screen emits light for performing coverage detection of the feature area.
  • the characteristic area pixel collects multiple optical signals with a short exposure time for multiple times.
  • the terminal device collects short exposure signals for a preset number of times with a first preset exposure time in the preset characteristic area, to obtain a plurality of optical signals in the preset characteristic area.
  • the first preset exposure time can be set according to actual requirements.
  • the spacing between adjacent ridges of a human finger is about 500 ⁇ m.
  • the light signal collected by the short exposure time of the feature area only comes from the valley of the finger or only from the ridge of the finger, it is necessary to ensure that the light signal collected from the selected feature area includes both the signal from the valley and the signal from the ridge. For example, when the signal collected by the feature area only comes from the valley of the finger, the light emitted on the screen is reflected on the surface of the valley, and the difference between the signal and the signal when the finger does not cover the feature recognition area is small.
  • the information reflected in the preset feature area after passing through the optical system of the fingerprint identification module can cover a range of at least 500 ⁇ m in length and width on the finger.
  • a characteristic area composed of a plurality of pixels at least includes a square area with a side length of 500 ⁇ m.
  • the characteristic area composed of multiple pixels includes at least a square area with a side length of 125 ⁇ m.
  • FIG. 8 is a schematic diagram of a preset feature area provided by this embodiment of the application. As shown in FIG.
  • the overall area 122 of the pixel array of the optical image acquisition module 120 in the fingerprint identification module consists of 200 rows and 200 columns. It consists of 40,000 adjacent pixels, each of which is a square with a side length of 7 ⁇ m.
  • the preset feature area 123 consists of 400 adjacent pixels in 20 rows and 20 columns. The preset feature area is located in the center of the pixel array, and the center of the preset feature area coincides with the center of the pixel array.
  • the optical system adopted in this embodiment can form an image of the object in the fingerprint identification area into an image that is reduced to 1/5 of the original object on the pixel array. Therefore, the signal collected in the characteristic area can reflect the information within the size range of the fingerprint identification area-700 ⁇ m*700 ⁇ m.
  • the 400 pixels in the feature area are in the form of pixel stacking, and the signal is continuously collected for multiple times with a short exposure time t1, where t1 is less than 10ms; for example, t1 can be 1ms, because the pixel stacking method is adopted, and the feature area has fewer pixels , high-frequency sampling can be performed with a short exposure time, and a strong optical signal can be obtained at the same time.
  • S206 Determine whether the user's finger covers the pixels of the feature area.
  • FIG. 9 is a schematic diagram of the signal intensity of an optical signal provided by an embodiment of the present application.
  • the model here refers to the intensity variation model of the optical signal
  • FIG. 9 shows the signal intensity collected by five short exposures with an exposure time of 1 ms in the preset feature area.
  • Change, Fig. 9 (a) shows the change when the finger covers the preset feature area. After the finger presses the screen, the reflectivity of the upper ridge of the finger to light is lower than that when the finger is not pressed. Therefore, as time changes, when the user's finger finally covers the feature area, the signal intensity has a decreasing process.
  • Two feasible models for judging whether the user's finger presses the feature area are provided as follows:
  • the coefficient of variation can be calculated by the optical signals collected five times in the preset characteristic area.
  • a certain threshold that is, the threshold of the coefficient of variation preset in the foregoing embodiment
  • the optical signal collected in the characteristic area is greatly affected by the pressing of the finger, and it is considered that the finger is covered during the pressing process. feature area.
  • the coefficient of variation is lower than 10%, the finger is considered to not cover the characteristic area.
  • the light signal collected by the feature area includes ambient light from non-screen light sources in addition to the light reflected from the screen surface.
  • the existence of external ambient light will affect the intensity of the optical signal collected in the characteristic area.
  • the threshold can be adjusted through an ambient light sensor provided on the terminal device. For example, when the ambient light is dark, the change of the light signal is mainly affected by the finger, and the threshold value of the coefficient of variation can be reduced to 8%.
  • the light signal collected by the feature area is stronger than the signal collected when the outside ambient light is dark.
  • the finger presses the feature area the external ambient light will not enter the feature area due to the occlusion of the finger.
  • the terminal device may obtain the ambient light signal where the terminal device is located in advance, and determine the coefficient of variation threshold according to the intensity of the ambient light signal. In a common implementation manner, the intensity of the ambient light signal is proportional to the threshold value of the coefficient of variation.
  • the highest intensity of the signals collected multiple times in the preset feature area for a short exposure time is I1 (that is, the intensity of the aforementioned first optical signal), and the lowest intensity is I2 (that is, the intensity of the aforementioned second optical signal). strength).
  • a threshold that is, the preset ratio referred to in the foregoing embodiment.
  • the threshold value can be 30%, and when the time when the lowest intensity appears is later than the time when the highest intensity appears, it is considered that the finger is pressing on the feature area;
  • Some ambient light sensors adjust this threshold. For example, when the ambient visible light intensity is 10,000 Lux (Lux), this threshold needs to be increased to 30%. That is to say, the terminal device may obtain the ambient light signal in advance, and determine the preset ratio according to the intensity of the ambient light signal.
  • (b) in FIG. 9 shows the change of signal intensity obtained by using a short exposure time of 1 ms when the user's finger does not effectively cover the feature area.
  • the finger is not covered, since the influence of the finger on the signal strength of the feature area is negligible, the variation of the signal received by the pixels in the feature area is small.
  • the two solutions provided above are the solutions for judging whether the user's finger (fingerprint image) covers the feature area of the pixel array through a simplified model, and the actual model can be obtained by training a large number of scenarios.
  • S207 The pixel array acquires a fingerprint image with a long exposure time.
  • S209 fingerprint image feature information comparison.
  • the entire pixel array acquires the user's fingerprint image with a longer exposure time t2, where t2 is greater than 4 times of t1, and t2 does not exceed 100ms (long exposure time).
  • t2 may be 40ms.
  • FIG. 10 is a schematic diagram of the working state of the fingerprint identification module of a terminal device provided by an embodiment of the application over time. As shown in FIG. 10 , it is a schematic diagram of the working state of the fingerprint identification module over time in a situation where a fingerprint covers a characteristic area. .
  • the touch signal is collected by the user's finger
  • the pixels in the preset feature area in the optical image collection module are triggered to start collecting the light signal with a short exposure time.
  • the signal processing module performs signal processing, it is judged that the user's finger covers the preset characteristic area, triggers a pixel array containing characteristic pixels to collect fingerprint images with a long exposure time, and judges whether the collected fingerprint image characteristic information matches to complete the fingerprint identification process.
  • the determination method may be that the terminal prompts the user with text on the display screen "the finger is not pressed in the correct position, please press again".
  • the technical scheme of this embodiment can quickly and effectively determine whether the fingerprint image will cover the characteristic area of the pixel array. In this way, Before entering the fingerprint image collection and subsequent feature information comparison, it can determine whether the position of the user's finger is appropriate, and when the appropriate position is not covered, the user can be reminded to avoid the failure of fingerprint recognition due to the misplacement of the finger, and reduce rejection. sincere.
  • FIG. 11 is a schematic flowchart of the third embodiment of the fingerprint identification method provided by the embodiment of the application. As shown in FIG. 11 , in different application scenarios, verification of biometric information of different security levels is required, which can ensure a fast and safe terminal application.
  • the fingerprint identification method specifically includes the following steps:
  • S302 Select the number and location of feature areas according to the security level of the scene.
  • S303 The touch screen detects that the finger touches the fingerprint recognition area, and triggers the start of fingerprint recognition.
  • the security level required for payment by using a mobile phone is higher than the security level when the screen of the mobile phone is unlocked.
  • more fingerprint feature information may be required, so it is required that the fingerprint identification device can collect fingerprint images with sufficient feature information.
  • the fingerprint image of the finger needs to have at least 13 matching feature points; in the scenario where the mobile phone performs large-amount payments, the fingerprint image obtained requires at least 15 matching feature points.
  • the larger the number or range of the characteristic areas of the fingerprint recognition area covered by the finger the more fingerprint information in the collected image can be guaranteed to cover more areas of the image, so that more feature point information can be extracted.
  • the terminal device determines and selects the number and/or location of the feature areas according to the scene security level of fingerprint identification.
  • S304 The light-emitting unit of the fingerprint identification area in the display screen emits light.
  • S307 Determine whether the user's finger covers the pixels of the feature area.
  • the terminal device uses a short exposure time to expose the pixels in the selected characteristic area to collect optical signals, and further judges whether the fingerprint image will cover the selected characteristic area in the scene.
  • the number and/or location of the feature areas is different.
  • the required number of feature areas is larger or has a larger range.
  • FIG. 12 is a schematic diagram of a pixel array of an optical image collection module provided by an embodiment of the present application.
  • a lower security level for example, it may be a scenario of unlocking the screen of a mobile phone.
  • 400 pixels in 123 are selected as the feature region, that is, one region is selected as the feature region (the selection position and size of the feature region in the first embodiment are the same).
  • 400 pixels in each area of 124, 125, 126, and 127 are selected as the characteristic area, that is, the four areas are respectively used as the preset characteristic area.
  • the center of the four feature areas is separated from the center of the pixel array by 80 pixels in the horizontal and vertical directions, respectively.
  • the symmetry centers of the four feature regions coincide with the symmetry centers of the pixel array.
  • the four preset feature regions are used to determine whether the finger covers the four feature regions, so as to ensure that the fingerprint image obtained in the final fingerprint identification has sufficient feature information and a high signal-to-noise ratio.
  • the regions 124, 125, 126, and 127 are selected as the feature regions, the light signal changes obtained by the pixels in each region using a short exposure time are compared with the model separately to determine whether the finger covers each feature region.
  • a finger is considered to cover the preset feature area when it is an area.
  • S308 The pixel array acquires a fingerprint image with a long exposure time.
  • S309 Remind the user to reset the finger or terminate the fingerprint identification.
  • S312 The fingerprint authentication is successful.
  • preset feature areas of different numbers and positions can be set, and the preset feature area can be detected before fingerprint authentication is performed, so that the user's finger can be judged. Whether the location is appropriate, whether it covers enough area to obtain the required feature information, and reminds the user when the appropriate location is not covered, improves the accuracy of fingerprint recognition, and avoids fingerprint recognition failure due to misplacement of the finger , reduce the rejection rate.
  • the process of fingerprint identification and detection is performed by using the light emitted by the screen of the terminal device itself as the excitation light source.
  • this embodiment provides a new excitation light source.
  • the excitation light source module used for fingerprint recognition in this solution is not the LCD display screen, and also It can be an infrared light source module with a wavelength of 940 nm located below the screen, that is to say, the excitation light source is an infrared light source.
  • the process of the fingerprint identification method is similar to that shown in FIG. 7 . It should be pointed out that, in this embodiment, the optical signal collected by the image sensor comes from the infrared light scattered by the finger. At this time, the optical signal collected by the optical image collection module from the ridge of the finger is stronger than the signal from the valley of the finger.
  • the model for judging whether the user's finger will cover the characteristic area of the fingerprint identification module is different from the model in FIG. 7 .
  • the two judgment models can be as follows:
  • the coefficient of variation of the optical signals collected multiple times with a short exposure time of the pixels in the characteristic area When the coefficient of variation is greater than a certain threshold, such as 10%.
  • the optical signal collected by the characteristic area is greatly affected by the finger pressing, and it can be considered that the finger covers the characteristic area during the pressing process.
  • the light signal collected by the feature area includes not only the red light reflected from the finger, but also the external infrared light reflected from the non-finger. The presence of external light will affect the signal strength collected in the characteristic area, and the variation can be adjusted through the ambient light sensor on the terminal. For example, when the infrared light in the external environment is weak, the signal change is mainly affected by the finger.
  • the threshold for the coefficient of variation can be raised to 12%.
  • the signal collected by the preset feature area comes from the external environment infrared light; when the finger presses the preset feature area, the external environment infrared light due to the finger The occlusion of less enters the preset feature area.
  • the coefficient of variation of the signals collected for multiple times will be reduced due to the influence of ambient infrared light, and the threshold of the coefficient of variation can be lowered. For example, when the ambient infrared light intensity is 3000 Lux (Lux), the coefficient of variation threshold needs to be adjusted to 7%.
  • the terminal device can obtain the ambient light signal in advance, and then determine the coefficient of variation threshold according to the intensity of the ambient light signal; wherein, the intensity of the ambient light signal is related to the intensity of the ambient light signal.
  • the coefficient of variation is proportional to the threshold size.
  • the highest intensity of the optical signal collected by the terminal device in the preset feature area for a short exposure time is I4 (the intensity of the first optical signal), and the lowest intensity is I5 (the intensity of the second optical signal).
  • I4 the intensity of the first optical signal
  • I5 the intensity of the second optical signal
  • the threshold value ie, the preset ratio
  • the time when the highest intensity appears is later than the time when the lowest intensity appears, it is considered that the finger is pressing on the characteristic area.
  • the threshold may be 40%.
  • this threshold can be adjusted through the ambient infrared light sensor provided by the terminal. Specifically, when the ambient light intensity is strong, the threshold value needs to be lowered, and when the ambient infrared light intensity is weak, the preset ratio needs to be increased, that is, the threshold value at which the signal strength is reduced.
  • the models for judging whether the user's finger covers the preset feature area in the fingerprint recognition area are not necessarily the same, and the models can be updated according to changes in the terminal device.
  • the excitation light source used when the terminal device collects the optical signal is an infrared light source, and the ratio of the intensity reduction of the second optical signal with the lowest intensity to the first optical signal with the highest intensity exceeds the preset ratio. and the appearance time of the first optical signal is later than the appearance time of the second optical signal, it can be determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the preset feature area. Set feature area.
  • the excitation light source used by the terminal device to collect the optical signal is the visible light emitted by the screen of the terminal device
  • the intensity of the second optical signal with the lowest intensity decreases compared to the first optical signal with the highest intensity by a ratio that exceeds the intensity reduction ratio of the second optical signal with the lowest intensity
  • the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then it is determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the entire area. the preset feature area.
  • the infrared light source can also be used as the excitation light source to quickly and effectively determine whether the fingerprint image will cover the characteristic area of the pixel array. Before entering the fingerprint image collection and subsequent feature information comparison, it can judge whether the position of the user's finger is appropriate, and when the appropriate position is not covered, the user can be reminded to avoid the failure of fingerprint recognition caused by the misplacement of the finger, and reduce the Refusal.
  • the embodiment of the present application also provides a method for determining whether the user's finger of the touch operation is a living body in a fingerprint identification process.
  • the solution for detecting whether the user's finger is a living body is described below by taking the case that the excitation light source in the terminal device is the visible light emitted by the screen of the terminal device.
  • a color filter in the optical image acquisition module of the terminal device, can be set for the pixels in the above-mentioned preset characteristic area, and the wavelength band range transmitted by the color filter includes the wavelength band used for fingerprint identification. Pixels in different feature regions may have the same or different color filters. Or different pixels in the same feature area may also have different color filters, which is not limited to this solution.
  • the main function of the color filter is to improve the signal-to-noise ratio of the optical signal.
  • the hemoglobin on the surface of the finger gradually weakens the absorption of non-red light, that is, the absorption of blue and green light.
  • the absorption of light is weakened. If the pixel in the characteristic area is provided with a blue or green color filter, the reflection of blue or green light will be enhanced in the process of gradually turning white during the pressing process of the finger.
  • the model training it is possible to determine the change of the characteristics of the living finger when fingerprint recognition is performed, obtain the living judgment condition, and configure the living judgment condition in the terminal device.
  • the terminal device collects multiple optical signals in the preset feature area, it determines whether the user's finger is a living body. Specifically, if the collected optical signals of the preset feature area satisfy the living body judgment condition, it is determined that the user's finger is a living body; otherwise, the user's finger is a non-living body.
  • acquiring the judgment condition may include: none of the multiple optical signals (for example, three optical signals) collected last in the multiple optical signals are not the second optical signal, and the second optical signal is The optical signal with the lowest signal intensity among the plurality of optical signals; the coefficient of variation of all the optical signals after the second optical signal with the lowest signal intensity among the plurality of optical signals is greater than the first preset threshold; the plurality of optical signals The increase of the signal intensity of the last detected optical signal in the signal compared to the signal intensity of the second optical signal is greater than the second preset threshold.
  • FIG. 13 provides an embodiment of the present application with a Schematic diagram of the change of light signal intensity.
  • (a) in Fig. 13 shows the signal change acquired by the living finger.
  • the coefficient of variation must be greater than a threshold. This threshold can be 8%. The specific value of the threshold can be set according to the actual situation.
  • the increase of the last collected optical signal exceeds a certain threshold compared with the signal with the lowest intensity.
  • This threshold can be 30%, and the specific value of the threshold can be set according to the actual situation;
  • the terminal device may determine that the user's finger is a living body when it is determined that the detected multiple optical signals of the preset feature area meet the above three conditions simultaneously, otherwise, it may determine that the finger is not a living body.
  • FIG. 13 shows the signal variation acquired by a non-living finger. Similar to the living fingerprint, the same judgment method as in the first embodiment can be used to judge that the finger covers the characteristic area. However, when the above-mentioned judgment model is used to further judge whether the finger is from a living body, the signals collected multiple times with a short exposure time do not satisfy the aforementioned three conditions. Accordingly, it can be determined that the fingerprint is a non-living fingerprint.
  • the fingerprint identification method provided in this embodiment not only can determine whether the user's finger covers the characteristic area to improve the unlocking efficiency through the methods provided by any of the foregoing embodiments, but also provides a method for determining whether the fingerprint is a living fingerprint, which can effectively improve the unlocking efficiency.
  • the security level of fingerprint recognition is only possible.
  • FIG. 14 is a schematic structural diagram of Embodiment 1 of the fingerprint identification device provided by the embodiment of the application.
  • the fingerprint identification device 10 includes an optical image acquisition module 11, and the optical image acquisition module 11 includes a pixel array.
  • the device also includes:
  • the optical image acquisition module 11 is configured to collect a plurality of optical signals of a preset feature area in the pixel array through multiple exposures when it is detected that the user's finger touches the fingerprint identification area of the terminal device;
  • a processing module 12 for determining whether the user's finger covers the preset feature region according to a plurality of light signals of the preset feature region;
  • the optical image acquisition module 11 is further configured to acquire a fingerprint image if the user's finger covers the preset feature area;
  • the processing module 12 is further configured to verify the identity of the user according to the fingerprint image.
  • the fingerprint identification device 10 may be implemented as a terminal device, or may be a module in the terminal device.
  • the processing module 12 can implement the touch control module and signal processing shown in FIG. 5 in the foregoing embodiment. The functions that the module needs to implement are summarized here.
  • the fingerprint identification device provided in this embodiment can implement the technical solutions in any of the foregoing method embodiments.
  • the implementation principle and technical effect are similar.
  • the characteristic area is set in the pixel array by means of software. Set the detection of the light signal in the characteristic area, confirm that the user's finger covers the preset characteristic area, and then perform fingerprint image verification after covering, remind the user when it is not covered, and avoid fingerprinting when the user's finger is not placed in a suitable position. Identify the problems that lead to fingerprint failure or direct rejection, and reduce the rejection rate of fingerprint identification.
  • FIG. 15 is a schematic structural diagram of Embodiment 2 of the fingerprint identification device provided by the embodiment of the application. As shown in FIG. 15 , on the basis of the foregoing embodiment, the fingerprint identification device 10 further includes:
  • the display module 13 the processing module 12 is further configured to push the prompt information through the display module 13 if the user's finger does not cover the preset feature area, and the prompt information is used to prompt the user to reposition the finger position , or to end the fingerprinting process.
  • the processing module 12 is also used for:
  • the preset feature area is determined from the preset at least one feature area according to the security level.
  • optical image acquisition module 11 is specifically used for:
  • the short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
  • the optical image acquisition module 11 is specifically configured to acquire the plurality of optical signals for the pixels in the preset feature area in a pixel stacking manner.
  • processing module 12 is specifically used for:
  • a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
  • the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area
  • processing module 12 is also used for:
  • the coefficient of variation threshold is determined according to the intensity of the ambient light signal.
  • the intensity of the ambient light signal is positively correlated or negatively correlated with the coefficient of variation threshold.
  • processing module 12 is specifically used for:
  • the threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
  • processing module 12 is specifically used for:
  • Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
  • the processing module 12 is specifically used for:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • the processing module 12 is specifically used for:
  • the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
  • processing module 12 is also used for:
  • the preset ratio is determined according to the intensity of the ambient light signal.
  • processing module 12 is specifically used for:
  • the ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
  • processing module 12 is also used for:
  • the living body judgment conditions include:
  • None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
  • coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold
  • the increase of the signal intensity of the last detected optical signal among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
  • acquiring the ambient light signal by the processing module 12 means that the processing module 12 acquires the ambient light signal collected by the sensor for collecting ambient light.
  • the processing module 12 Receive the ambient light signal sent by the ambient light sensor.
  • the fingerprint identification device provided by any of the above embodiments is used to implement the technical solutions in the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and are not repeated here.
  • FIG. 16 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 16 , the terminal device 20 provided by this embodiment includes:
  • processor 21 memory 22, display screen 23, touch control module 24, and fingerprint identification device 25;
  • the memory 22 is used to store computer programs
  • the fingerprint identification device 25 includes an optical image acquisition module, and the optical image acquisition module includes a pixel array;
  • the processor 21 executes the computer program stored in the memory 22, so that the terminal device executes the technical solutions provided in any of the foregoing method embodiments.
  • the above-mentioned components of the terminal device 10 may be connected through a bus.
  • a color filter is provided in the pixel array, and the wavelength band range through which the color filter passes includes a wavelength band used for fingerprint identification.
  • the memory 22 may be a separate storage unit, or may be a storage unit integrated in the processor 21 .
  • the number of processors 21 is one or more.
  • the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction, that is, the memory and the processor can be connected through an interface or integrated together.
  • these elements can be electrically connected to each other through one or more communication buses or signal lines, such as can be connected through a bus.
  • the memory stores computer-executed instructions for implementing the data access control method, including at least one software function module that can be stored in the memory in the form of software or firmware, and the processor executes various software programs and modules by running the software programs and modules stored in the memory. Functional application and data processing.
  • the memory can be, but is not limited to, random access memory (Random Access Memory, referred to as: RAM), read-only memory (Read Only Memory, referred to as: ROM), programmable read-only memory (Programmable Read-Only Memory, referred to as: PROM) ), Erasable Programmable Read-Only Memory (EPROM, referred to as: EPROM), Electrically Erasable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, referred to as: EEPROM), etc.
  • RAM Random Access Memory
  • ROM Read Only Memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EPROM Electrically Erasable Read-Only Memory
  • EEPROM Electrically Erasable Read-Only Memory
  • the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may Intercommunicate with various hardware or software components to provide the operating environment for other software components.
  • an operating system which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may Intercommunicate with various hardware or software components to provide the operating environment for other software components.
  • the processor may be an integrated circuit chip with signal processing capability.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), an image processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • CPU Central Processing Unit
  • image processor etc.
  • the present application further provides a storage medium, including: a readable storage medium and a computer program, where the computer program is stored in the readable storage medium, and the computer program is used to implement the technical solutions in any of the foregoing method embodiments .

Abstract

A fingerprint recognition method and apparatus, and a terminal device (100). The terminal device (100) in the solution comprises a fingerprint recognition apparatus (10), the fingerprint recognition apparatus (10) comprises an optical image collection module (11), and the optical image collection module (11) comprises a pixel array. The fingerprint recognition method comprises: when it is detected that a finger of a user touches a fingerprint recognition area (115) of a terminal device (100), collecting multiple optical signals of a preset feature area in a pixel array by means of multiple instances of exposure (S101); according to the multiple optical signals of the preset feature area, determining whether the finger of the user covers the preset feature area (S102); if the finger of the user covers the preset feature area, collecting and acquiring a fingerprint image (S103); and verifying the identity of the user according to the fingerprint image (S104). Detection of optical signals of a preset feature area is performed to determine whether a finger of a user covers the preset feature area, and after the finger of the user covers the preset feature area, fingerprint image verification is performed, so that the problem of fingerprint failure or direct rejection caused by the fact that a finger of a user is not placed at a right position is avoided, and the false rejection rate of fingerprint recognition is thus reduced.

Description

指纹识别方法、装置和终端设备Fingerprint identification method, device and terminal device 技术领域technical field
本申请涉及指纹识别技术领域,尤其涉及一种指纹识别方法、装置和终端设备。The present application relates to the technical field of fingerprint identification, and in particular, to a fingerprint identification method, device and terminal device.
背景技术Background technique
随着电子技术的发展以及对信息安全重视度的逐步提升,具有生物特征标识的安全验证机制在终端设备中被越来越广泛地使用。指纹识别是其中较为有效且常用的一类。对于具有显示屏的终端设备,用户期望其具有较高的屏占比,而屏下光学指纹识别解决方案可以同时满足信息安全以及高屏占比这两项需求。With the development of electronic technology and the gradual increase in the importance of information security, the security verification mechanism with biometric identification is more and more widely used in terminal equipment. Fingerprint recognition is one of the more effective and commonly used types. For terminal devices with a display screen, users expect a high screen-to-body ratio, and the under-screen optical fingerprint recognition solution can meet the two requirements of information security and high screen-to-body ratio at the same time.
现有技术中,在采用光学原理进行指纹识别时,手指的谷和脊对入射到手指的光的反射率不同可以形成带有明暗衬度的指纹图案,对指纹图像的特征信息进行提取比对可以实现指纹识别。然而,在目前终端设备的设计中,全部屏幕都作为显示屏,在屏幕中的一个区域作为指纹识别区域,应用过程中,当手指按压位置没有覆盖到指纹识别区域或者仅仅只覆盖到部分区域时,获取的指纹图像具有的指纹特征信息较少甚至获取不到手指的特征信息。当手指仅覆盖指纹识别部分区域时,环境中存在的光线容易穿过手指边缘,通过屏幕入射到指纹识别模块的光学图像采集模块,会引起指纹图像信噪比的下降。In the prior art, when using the optical principle for fingerprint identification, the valleys and ridges of the finger have different reflectivity to the light incident on the finger, which can form a fingerprint pattern with light and dark contrast, and the feature information of the fingerprint image is extracted and compared. Fingerprint recognition is possible. However, in the current design of terminal equipment, all screens are used as display screens, and an area of the screen is used as a fingerprint recognition area. During the application process, when the finger pressing position does not cover the fingerprint recognition area or only covers part of the area , the acquired fingerprint image has less fingerprint feature information or even no finger feature information can be obtained. When the finger only covers part of the fingerprint recognition area, the light existing in the environment easily passes through the edge of the finger, and enters the optical image acquisition module of the fingerprint recognition module through the screen, which will cause the signal-to-noise ratio of the fingerprint image to decrease.
然而,上述的指纹识别的方案中,终端设备在上述的那些情形下仍然会按照正常流程进行指纹识别,容易导致识别失败,拒真率提升。However, in the above-mentioned fingerprint identification solution, the terminal device will still perform fingerprint identification according to the normal process in the above-mentioned situations, which may easily lead to identification failure and increase the authenticity rejection rate.
发明内容SUMMARY OF THE INVENTION
本申请提供一种指纹识别方法、装置和终端设备,用于解决现有的指纹识别方案中,容易识别失败,拒真率较高的问题,确保指纹识别的准确度,避免由于无效按压导致的拒真率高的问题。The present application provides a fingerprint identification method, device and terminal device, which are used to solve the problems of easy identification failure and high rejection rate in the existing fingerprint identification scheme, ensure the accuracy of fingerprint identification, and avoid the problems caused by invalid pressing. High rejection rate.
第一方面,本申请实施例提供一种指纹识别方法,应用于终端设备,所 述终端设备包括指纹识别装置,所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列,所述方法包括:In a first aspect, an embodiment of the present application provides a fingerprint identification method, which is applied to a terminal device. The terminal device includes a fingerprint identification device, and the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array. , the method includes:
在检测到用户手指触摸到所述终端设备的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号;When detecting that the user's finger touches the fingerprint recognition area of the terminal device, collect multiple optical signals of the preset feature area in the pixel array through multiple exposures;
根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域;determining whether the user's finger covers the preset characteristic area according to a plurality of optical signals of the preset characteristic area;
若所述用户手指覆盖所述预设特征区域,则采集获取指纹图像;If the user's finger covers the preset feature area, collecting a fingerprint image;
根据所述指纹图像验证所述用户的身份。The identity of the user is verified based on the fingerprint image.
在一种具体实施方式中,所述方法还包括:In a specific embodiment, the method further includes:
若所述用户手指未覆盖所述预设特征区域,则推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者指纹识别失败,或者结束指纹识别过程。If the user's finger does not cover the preset feature area, prompt information is pushed, and the prompt information is used to prompt the user to reposition the finger, or the fingerprint recognition fails, or the fingerprint recognition process ends.
在一种具体实施方式中,所述在检测到用户手指触摸到所述终端设备的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号之前,所述方法还包括:In a specific implementation manner, when it is detected that the user's finger touches the fingerprint recognition area of the terminal device, before collecting multiple optical signals of the preset feature area in the pixel array through multiple exposures, the Methods also include:
获取所述终端设备当前进行指纹识别的安全等级;Obtain the current security level of fingerprint identification performed by the terminal device;
根据所述安全等级从预设的所述至少一个特征区域中确定所述预设特征区域。The preset feature area is determined from the preset at least one feature area according to the security level.
在一种具体实施方式中,所述通过多次曝光采集所述像素阵列中预设特征区域的多个信号,包括:In a specific implementation manner, the collecting multiple signals of the preset feature area in the pixel array by multiple exposures includes:
在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。The short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
在一种具体实施方式中,所述预设特征区域中的像素以像素叠加的方式获取所述多个光信号。In a specific implementation manner, the pixels in the preset characteristic area acquire the plurality of optical signals in a pixel stacking manner.
在一种具体实施方式中,所述根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域,包括:In a specific implementation manner, the determining whether the user's finger covers the preset feature region according to multiple light signals of the preset feature region includes:
根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中光信号强度的变化程度;According to the collected multiple optical signals of the preset feature area, a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所 述预设特征区域;If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,所述方法还包括:In a specific embodiment, the method further includes:
获取所述终端设备所处环境光信号;obtaining an ambient light signal where the terminal device is located;
根据所述环境光信号的强度,确定所述变异系数阈值。The coefficient of variation threshold is determined according to the intensity of the ambient light signal.
在一种具体实施方式中,所述根据所述环境光信号的强度,确定所述变异系数阈值,包括:In a specific implementation manner, the determining of the coefficient of variation threshold according to the intensity of the ambient light signal includes:
根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值;obtaining the coefficient of variation threshold corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation;
或者,or,
根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard variation coefficient threshold;
在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。The threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
在一种具体实施方式中,所述根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域,包括:In a specific implementation manner, the determining whether the user's finger covers the preset feature region according to multiple light signals of the preset feature region includes:
获取采集到的所述预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号;acquiring a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
在一种具体实施方式中,若采集光信号时采用的激励光源为红外光源,所述根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域,包括:In a specific implementation manner, if the excitation light source used in collecting the optical signal is an infrared light source, the determination of the intensity reduction ratio of the second optical signal compared with that of the first optical signal and a preset ratio is performed. Whether the user's finger covers the preset feature area, including:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间晚于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,若采集光信号时采用的激励光源为所述终端设备的屏幕发射的可见光,所述根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域, 包括:In a specific implementation manner, if the excitation light source used when collecting the optical signal is visible light emitted by the screen of the terminal device, the ratio according to the decrease in the intensity of the second optical signal compared to the first optical signal and a preset ratio to determine whether the user's finger covers the preset feature area, including:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,所述方法还包括:In a specific embodiment, the method further includes:
获取所述终端设备所处环境光信号;obtaining an ambient light signal where the terminal device is located;
根据所述环境光信号的强度,确定所述预设比例。The preset ratio is determined according to the intensity of the ambient light signal.
在一种具体实施方式中,所述根据所述环境光信号的强度,确定所述预设比例,包括:In a specific implementation manner, the determining the preset ratio according to the intensity of the ambient light signal includes:
根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例;obtaining the preset ratio corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change;
或者,or,
根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard ratio of the intensity change;
在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。The ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
在一种具体实施方式中,在确定所述用户手指覆盖所述预设特征区域之后,所述方法还包括:In a specific implementation manner, after determining that the user's finger covers the preset feature area, the method further includes:
根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体;determining whether the user's finger is a living body according to a plurality of light signals in the preset feature area and preset living body judgment conditions;
若所述预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;If the plurality of optical signals in the preset feature area satisfy the living body judgment condition, determining that the user's finger is a living body;
否则所述用户手指为非活体;Otherwise, the user's finger is non-living;
其中,所述活体判断条件包括:Wherein, the living body judgment conditions include:
所述多个光信号中最后采集的三个光信号均不是第二光信号,所述第二光信号为所述多个光信号中信号强度最低的光信号;None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
所述多个光信号中的所述第二光信号之后的所有光信号的变异系数大于第一预设阈值;coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold;
所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二 光信号的信号强度的增幅大于第二预设阈值。The increase of the signal intensity of the optical signal detected last time among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
第二方面,本申请实施例提供一种指纹识别装置,所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列,所述装置还包括:In a second aspect, an embodiment of the present application provides a fingerprint identification device, the fingerprint identification device includes an optical image acquisition module, the optical image acquisition module includes a pixel array, and the device further includes:
所述光学图像采集模块,用于在检测到用户手指触摸到所述指纹识别装置的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号;The optical image acquisition module is configured to collect a plurality of optical signals of a preset feature area in the pixel array through multiple exposures when it is detected that the user's finger touches the fingerprint identification area of the fingerprint identification device;
处理模块,用于根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域;a processing module, configured to determine whether the user's finger covers the preset feature region according to a plurality of optical signals in the preset feature region;
所述光学图像采集模块还用于若所述用户手指覆盖所述预设特征区域,则采集获取指纹图像;The optical image acquisition module is further configured to acquire a fingerprint image if the user's finger covers the preset feature area;
所述处理模块还用于根据所述指纹图像验证所述用户的身份。The processing module is further configured to verify the identity of the user according to the fingerprint image.
在一种具体实施方式中,所述装置还包括:显示模块,所述处理模块还用于若所述用户手指未覆盖所述预设特征区域,则通过所述显示模块推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者指纹识别失败,或者结束指纹识别过程。In a specific implementation manner, the device further includes: a display module, and the processing module is further configured to push prompt information through the display module if the user's finger does not cover the preset feature area, and the The prompt information is used to prompt the user to reposition the finger, or the fingerprint recognition fails, or to end the fingerprint recognition process.
在一种具体实施方式中,所述处理模块还用于:In a specific embodiment, the processing module is further used for:
获取所述指纹识别装置当前进行指纹识别的安全等级;Obtain the security level of the fingerprint identification device currently performing fingerprint identification;
根据所述安全等级从预设的所述至少一个特征区域中确定所述预设特征区域。The preset feature area is determined from the preset at least one feature area according to the security level.
在一种具体实施方式中,所述光学图像采集模块具体用于:In a specific embodiment, the optical image acquisition module is specifically used for:
在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。The short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
在一种具体实施方式中,所述光学图像采集模块具体用于对所述预设特征区域中的像素以像素叠加的方式获取所述多个光信号。In a specific implementation manner, the optical image acquisition module is specifically configured to acquire the plurality of optical signals for the pixels in the preset characteristic area in a pixel superposition manner.
在一种具体实施方式中,所述处理模块具体用于:In a specific embodiment, the processing module is specifically used for:
根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中光信号强度的变化程度;According to the collected multiple optical signals of the preset feature area, a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所 述预设特征区域;If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,所述处理模块还用于:In a specific embodiment, the processing module is further used for:
获取所述指纹识别装置所处环境光信号;acquiring an ambient light signal where the fingerprint identification device is located;
根据所述环境光信号的强度,确定所述变异系数阈值。The coefficient of variation threshold is determined according to the intensity of the ambient light signal.
在一种具体实施方式中,所述处理模块具体用于:In a specific embodiment, the processing module is specifically used for:
根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值;obtaining the coefficient of variation threshold corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation;
或者,or,
根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard variation coefficient threshold;
在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。The threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
在一种具体实施方式中,所述处理模块具体用于:In a specific embodiment, the processing module is specifically used for:
获取采集到的所述预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号;acquiring a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
在一种具体实施方式中,若采集光信号时采用的激励光源为红外光源,所述处理模块具体用于:In a specific embodiment, if the excitation light source used when collecting the optical signal is an infrared light source, the processing module is specifically used for:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间晚于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,若采集光信号时采用的激励光源为所述终端设备的屏幕发射的可见光,所述处理模块具体用于:In a specific implementation manner, if the excitation light source used when collecting the optical signal is the visible light emitted by the screen of the terminal device, the processing module is specifically configured to:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
在一种具体实施方式中,所述处理模块还用于:In a specific embodiment, the processing module is further used for:
获取所述指纹识别装置所处环境光信号;acquiring an ambient light signal where the fingerprint identification device is located;
根据所述环境光信号的强度,确定所述预设比例。The preset ratio is determined according to the intensity of the ambient light signal.
在一种具体实施方式中,所述处理模块具体用于:In a specific embodiment, the processing module is specifically used for:
根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例;obtaining the preset ratio corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change;
或者,or,
根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard ratio of the intensity change;
在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。The ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
在一种具体实施方式中,所述处理模块还用于:In a specific embodiment, the processing module is further used for:
根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体;determining whether the user's finger is a living body according to a plurality of light signals in the preset feature area and preset living body judgment conditions;
若所述预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;If the plurality of optical signals in the preset feature area satisfy the living body judgment condition, determining that the user's finger is a living body;
否则所述用户手指为非活体;Otherwise, the user's finger is non-living;
其中,所述活体判断条件包括:Wherein, the living body judgment conditions include:
所述多个光信号中最后采集的三个光信号均不是第二光信号,所述第二光信号为所述多个光信号中信号强度最低的光信号;None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
所述多个光信号中的所述第二光信号之后的所有光信号的变异系数大于第一预设阈值;coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold;
所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二光信号的信号强度的增幅大于第二预设阈值。The increase of the signal intensity of the last detected optical signal among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
第三方面,本申请实施例提供一种终端设备,包括:In a third aspect, an embodiment of the present application provides a terminal device, including:
处理器,存储器,显示屏,触摸控制模块,以及指纹识别装置;Processor, memory, display screen, touch control module, and fingerprint identification device;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列;The fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array;
所述处理器执行所述存储器存储的所述计算机程序,使得所述终端设备 执行第一当面任一项所述的指纹识别方法。The processor executes the computer program stored in the memory, so that the terminal device executes the fingerprint identification method described in any one of the first face-to-face.
可选的,所述像素阵列中设置有滤色器,所述滤色器透过的波段范围包括用于指纹识别的波段。Optionally, a color filter is provided in the pixel array, and the wavelength band range through which the color filter passes includes a wavelength band used for fingerprint identification.
第四方面,本申请实施例提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序存储在所述可读存储介质中,所述计算机程序用于实现第一方面任一项所述的指纹识别方法。In a fourth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program, where the computer program is stored in the readable storage medium, and the computer program is used to implement any one of the first aspect The fingerprint identification method described in item.
本申请实施例提供的指纹识别方法、装置和终端设备,该方案中的终端设备包括指纹识别装置,指纹识别装置包括光学图像采集模块,光学图像采集模块中包括像素阵列,在检测到用户手指触摸到终端设备的指纹识别区域时,通过多次曝光采集像素阵列中预设特征区域的多个光信号。根据预设特征区域的多个光信号,确定用户手指是否覆盖预设特征区域,若用户手指覆盖预设特征区域,则采集获取指纹图像,根据指纹图像验证用户的身份,若用户手指未覆盖预设特征区域,则推送提示信息,提示用户重新摆放手指或者结束指纹识别过程。通过预先设置特征区域的光信号的检测,确定用户手指覆盖到预设的特征区域,在覆盖到之后再进行指纹图像验证,没有覆盖的时候提醒用户,避免在用户手指未放置在合适的位置就进行指纹识别导致指纹失败或者直接拒绝的问题,降低指纹识别的拒真率。In the fingerprint identification method, device, and terminal device provided by the embodiments of the present application, the terminal device in this solution includes a fingerprint identification device, and the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array. When reaching the fingerprint identification area of the terminal device, multiple optical signals of the preset feature area in the pixel array are collected through multiple exposures. Determine whether the user's finger covers the preset feature area according to multiple optical signals in the preset feature area. If the user's finger covers the preset feature area, a fingerprint image is collected and obtained, and the user's identity is verified according to the fingerprint image. If the user's finger does not cover the preset feature area If the feature area is set, a prompt message will be pushed to prompt the user to reposition the finger or end the fingerprint identification process. Through the detection of the optical signal of the preset feature area, it is determined that the user's finger covers the preset feature area, and the fingerprint image verification is performed after the coverage is completed. The problem of fingerprint failure or direct rejection caused by fingerprint identification reduces the rejection rate of fingerprint identification.
附图说明Description of drawings
图1为本申请实施例提供的一种终端设备的正面结构示意图;FIG. 1 is a schematic diagram of a front structure of a terminal device provided by an embodiment of the present application;
图2为本申请实施例提供的一种终端设备沿A-A’的部分剖面结构示意图;2 is a schematic diagram of a partial cross-sectional structure of a terminal device along A-A' provided by an embodiment of the present application;
图3为本申请实施例提供的一种指纹识别的场景示意图;FIG. 3 is a schematic diagram of a fingerprint identification scenario provided by an embodiment of the present application;
图4为本申请实施例提供的一种指纹识别时采集的指纹图像的示意图;4 is a schematic diagram of a fingerprint image collected during fingerprint identification according to an embodiment of the present application;
图5为本申请实施例提供的一种终端设备的组成结构示意图;FIG. 5 is a schematic diagram of the composition and structure of a terminal device according to an embodiment of the present application;
图6为本申请实施例提供的指纹识别方法实施例一的流程示意图;FIG. 6 is a schematic flowchart of Embodiment 1 of the fingerprint identification method provided by the embodiment of the present application;
图7为本申请实施例提供的指纹识别方法实施例二的流程示意图;FIG. 7 is a schematic flowchart of Embodiment 2 of the fingerprint identification method provided by the embodiment of the present application;
图8为本申请实施例提供的一种预设特征区域的示意图;8 is a schematic diagram of a preset feature area provided by an embodiment of the present application;
图9为本申请实施例提供的一种光信号的信号强度的示意图;FIG. 9 is a schematic diagram of the signal strength of an optical signal according to an embodiment of the present application;
图10为本申请实施例提供的终端设备指纹识别模块随时间变化的工作 状态示意图;Fig. 10 is the working state schematic diagram of the terminal device fingerprint identification module that changes with time provided by the embodiment of the application;
图11为本申请实施例提供的指纹识别方法实施例三的流程示意图;FIG. 11 is a schematic flowchart of Embodiment 3 of the fingerprint identification method provided by the embodiment of the present application;
图12为本申请实施例提供的光学图像收集模块的像素阵列的示意图;12 is a schematic diagram of a pixel array of an optical image collection module provided by an embodiment of the present application;
图13为本申请实施例提供的有一种光信号强度变化示意图;FIG. 13 is a schematic diagram of an optical signal intensity change provided by an embodiment of the present application;
图14为本申请实施例提供的指纹识别装置实施例一的结构示意图;FIG. 14 is a schematic structural diagram of Embodiment 1 of a fingerprint identification device provided by an embodiment of the present application;
图15为本申请实施例提供的指纹识别装置实施例二的结构示意图;FIG. 15 is a schematic structural diagram of Embodiment 2 of a fingerprint identification device provided by an embodiment of the present application;
图16为本申请实施例提供的终端设备的结构示意图。FIG. 16 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
随着电子技术的发展和用户对于信息安全重视度,对用户的生物特征进行识别验证的机制在终端设备中被广泛使用,指纹识别是比较常见的一类。在目前的采用光学原理进行指纹识别的过程中,在用户手指没有覆盖到指纹识别区域或者是覆盖一小部分区域时,终端设备也会按照正常流程进行指纹识别,容易导致指纹识别失败,拒真率提高。With the development of electronic technology and the user's attention to information security, the mechanism of identifying and verifying the user's biometric features is widely used in terminal devices, and fingerprint recognition is a relatively common type. In the current process of fingerprint recognition using optical principles, when the user's finger does not cover the fingerprint recognition area or covers a small area, the terminal device will also perform fingerprint recognition according to the normal process, which may easily lead to fingerprint recognition failure and rejection of authenticity. rate increased.
针对现有技术中存在的问题,本申请实施例提供一种指纹识别方法,可以快速判断用户手指是否会覆盖图像传感器的某些特征区域,例如指纹识别区域的中心区域,从而确保后续获取的指纹图像能具有足够多的特征信息及足够高的信噪比。In view of the problems existing in the prior art, the embodiments of the present application provide a fingerprint identification method, which can quickly determine whether a user's finger will cover certain characteristic areas of the image sensor, such as the central area of the fingerprint identification area, so as to ensure that the fingerprints obtained subsequently The image can have enough feature information and high enough signal-to-noise ratio.
本方案的主要构思是在指纹识别区域中通过软件或者硬件的方式设置几个固定的特征区域,在进行指纹识别时,通过检测用户手指是否覆盖到了预设的一个或者多个特征区域,从而确定后续时候进行指纹图像识别过程,从而避免由于用户手指位置不合适就直接识别失败,能够确保指纹图像具有足够的特征信息以及信噪比,避免无效按压导致拒真率提升的问题。The main idea of this solution is to set several fixed characteristic areas in the fingerprint recognition area by means of software or hardware. The fingerprint image recognition process is carried out in the follow-up time, so as to avoid the direct recognition failure due to the inappropriate position of the user's finger, which can ensure that the fingerprint image has sufficient feature information and signal-to-noise ratio, and avoid the problem of increasing the false rejection rate caused by invalid pressing.
本申请实施例提供的指纹识别方法主要可以应用于光学指纹识别领域。进一步地,具体可应用在使用光学指纹识别的各种终端设备,例如智能手机、 笔记本电脑、平板电脑、游戏设备等移动计算设备,以及电子数据库、汽车、银行自动柜员机(automated teller machine,ATM)等需要进行指纹识别的其他终端设备。The fingerprint identification method provided by the embodiment of the present application can be mainly applied to the field of optical fingerprint identification. Further, it can be applied to various terminal devices using optical fingerprint identification, such as mobile computing devices such as smart phones, notebook computers, tablet computers, game devices, etc., as well as electronic databases, automobiles, and bank automatic teller machines (automated teller machine, ATM). and other terminal devices that require fingerprint identification.
图1为本申请实施例提供的一种终端设备的正面结构示意图,图2为本申请实施例提供的一种终端设备沿A-A’的部分剖面结构示意图。如图1所示,在常用的终端设备100(例如手机)的正面,包括显示屏110,其中设置有用于进行指纹识别的指纹识别区域115,用户手指140触摸到指纹识别区域115时进行指纹识别过程,如果2所示,图中示出了手指的谷142和脊141对入射到手指的光150的进行反射,反射光151穿过显示屏150进入像素阵列121中的像素122,可以形成带有明暗程度的指纹图案,终端设备通过获取到的指纹图案进行指纹识别。Fig. 1 is a schematic diagram of a front structure of a terminal device provided by an embodiment of the present application, and Fig. 2 is a schematic diagram of a partial cross-sectional structure of a terminal device provided by an embodiment of the present application along A-A'. As shown in FIG. 1 , on the front of a commonly used terminal device 100 (such as a mobile phone), a display screen 110 is included, and a fingerprint identification area 115 for fingerprint identification is provided therein. When the user's finger 140 touches the fingerprint identification area 115, fingerprint identification is performed. Process, if shown in 2, the figure shows that the valley 142 and ridge 141 of the finger reflect the light 150 incident on the finger, and the reflected light 151 passes through the display screen 150 and enters the pixels 122 in the pixel array 121, which can form a band There are fingerprint patterns with light and dark degrees, and the terminal device performs fingerprint identification through the acquired fingerprint patterns.
在本申请提供的指纹识别方案的实现中,显示屏150中或其他层中至少在指纹识别区域115部分具有触摸控制功能,用于判断按压手指是否触摸所述指纹识别区域115,所述触摸控制功能可以由电容式触摸控制或者电阻式触摸控制或者压力感应式触摸控制实现,包含但不限于此。In the implementation of the fingerprint identification solution provided by the present application, the display screen 150 or other layers at least have a touch control function in the fingerprint identification area 115 for judging whether the pressing finger touches the fingerprint identification area 115, and the touch control Functions may be implemented by capacitive touch control or resistive touch control or pressure sensitive touch control, including but not limited to.
图3为本申请实施例提供的一种指纹识别的场景示意图,如图3所示,在指纹识别过程中,用户手指按压位置与指纹识别区域位置的对准质量会对图像采集模块获取的指纹图像造成影响。如图3中左侧的(a)所示的情况为手指140按压位置与指纹识别区域115对准质量较好的情况。如图3中左侧的(b)所示的情况为手指按压位置与指纹识别区域对准质量较差的情况。FIG. 3 is a schematic diagram of a fingerprint recognition scenario provided by an embodiment of the present application. As shown in FIG. 3 , during the fingerprint recognition process, the alignment quality of the user's finger pressing position and the position of the fingerprint recognition area will affect the fingerprint obtained by the image acquisition module. images are affected. The situation shown in (a) on the left side of FIG. 3 is a situation in which the pressing position of the finger 140 and the fingerprint recognition area 115 are well aligned. The situation shown in (b) on the left side of FIG. 3 is a situation in which the alignment quality between the finger pressing position and the fingerprint recognition area is poor.
图4为本申请实施例提供的一种指纹识别时采集的指纹图像的示意图,如上图3所示两种情况下光学图像采集模块采集的指纹图像如图4所示。当手指140按压位置与指纹识别区域115对准质量较好时,光学图像采集模块获取的指纹图像中,带有指纹信息的区域占整个图像的区域面积较大,能提取到的特征信息更多。相对的,当手指140按压位置与指纹识别区域115对准质量较差时,采集到的图像中,带有指纹信息的区域占整个图像面积的比例较少,能提取的特征信息较少。FIG. 4 is a schematic diagram of a fingerprint image collected during fingerprint identification according to an embodiment of the present application. As shown in FIG. 3 above, the fingerprint image collected by the optical image collection module in the two cases is shown in FIG. 4 . When the alignment quality between the pressing position of the finger 140 and the fingerprint recognition area 115 is good, in the fingerprint image obtained by the optical image acquisition module, the area with fingerprint information occupies a larger area of the entire image, and more feature information can be extracted. . On the contrary, when the alignment quality between the pressing position of the finger 140 and the fingerprint identification area 115 is poor, in the collected image, the area with fingerprint information occupies a smaller proportion of the entire image area, and less feature information can be extracted.
图5为本申请实施例提供的一种终端设备的组成结构示意图,基于上述图3和图4所示的情况,本申请提出的指纹识别方案,在正式采集指纹图像前,利用一较短的曝光时间快速采集特征区域中像素点收集到的光信号(此 过程未采集图像),并进一步对信号变化进行分析,判断用户手指是否覆盖该特征区域,该特征区域可以是一个或者多个。例如,可以选择像素阵列中心位置的一些像素作为特征区域。当手指覆盖住指纹识别区域中心位置时,光学图像采集模块长时间曝光采集的手指图像能保证指纹信息能覆盖指纹获取图像的中间区域,能确保指纹信息占整个图像的比例较多,能提取足够的特征点信息。基于该思路,如图5所示,本申请提供的指纹识别方法应用的终端设备至少需要包括:触摸控制模块,激励光源,光学图像采集模块以及信号处理模块。FIG. 5 is a schematic diagram of the composition and structure of a terminal device provided by an embodiment of the present application. Based on the situations shown in FIG. 3 and FIG. 4 above, the fingerprint identification solution proposed by the present application uses a shorter The exposure time quickly collects the light signals collected by the pixels in the characteristic area (images are not collected in this process), and further analyzes the signal changes to determine whether the user's finger covers the characteristic area, which can be one or more. For example, some pixels at the center of the pixel array may be selected as feature regions. When the finger covers the center of the fingerprint recognition area, the finger image collected by the optical image acquisition module for a long time exposure can ensure that the fingerprint information can cover the middle area of the fingerprint acquisition image, ensure that the fingerprint information accounts for a large proportion of the entire image, and can extract enough information. feature point information. Based on this idea, as shown in FIG. 5 , the terminal device to which the fingerprint identification method provided by the present application is applied at least needs to include: a touch control module, an excitation light source, an optical image acquisition module and a signal processing module.
在该方案的一种实现中,应理解,一个特征区域的像素可以是连续的m行n列的相邻像素,m和n均为大于等于1的正整数。对于不同的特征区域,像素的行和列数可以不同,也可以相同,对此本方案不做限制。In an implementation of the solution, it should be understood that the pixels of a feature area may be consecutive adjacent pixels of m rows and n columns, where m and n are both positive integers greater than or equal to 1. For different feature regions, the number of rows and columns of pixels may be different or the same, which is not limited in this solution.
下面通过几个具体实施例对本申请提供的指纹识别方法进行详细描述。The fingerprint identification method provided by the present application will be described in detail below through several specific embodiments.
图6为本申请实施例提供的指纹识别方法实施例一的流程示意图,如图6所示,该指纹识别方法具体包括以下步骤:FIG. 6 is a schematic flowchart of Embodiment 1 of the fingerprint identification method provided by the embodiment of the present application. As shown in FIG. 6 , the fingerprint identification method specifically includes the following steps:
S101:在检测到用户手指触摸到终端设备的指纹识别区域时,通过多次曝光采集像素阵列中预设特征区域的多个光信号。S101: When it is detected that the user's finger touches the fingerprint identification area of the terminal device, collect multiple optical signals of the preset feature area in the pixel array through multiple exposures.
在本步骤中,终端设备在运行过程中,在解锁,支付,某些应用程序的登陆等场景中,可以通过指纹识别的方式对用户的身份进行验证。在这些情况下,终端设备会检测用户的触摸操作,当检测到用户的手指触摸到终端设备的指纹识别区域之后,终端设备通过短时间多次曝光采集预设特征区域处的多个光信号,这里的多次曝光采集只是对预设特征区域处进行采集,不需要对整个指纹识别区域进行采集。In this step, during the running process of the terminal device, in scenarios such as unlocking, payment, and login of some application programs, the user's identity can be verified by means of fingerprint recognition. In these cases, the terminal device will detect the user's touch operation. After detecting that the user's finger touches the fingerprint recognition area of the terminal device, the terminal device collects multiple optical signals at the preset feature area through multiple exposures in a short period of time. The multiple exposure collection here is only collected at the preset feature area, and it is not necessary to collect the entire fingerprint identification area.
在对预设特征区域进行光信号采集过程中,可以对预设特征区域的像素以像素叠加的方式进行信号采集,获取多个光信号。针对同一个特征区域中的像素,可以通过部分像素叠加(Binning)或者全部像素叠加来采集光信号,以提升信号强度。During the optical signal collection process for the preset characteristic area, the pixels in the preset characteristic area may be subjected to signal collection in a pixel stacking manner to acquire multiple optical signals. For the pixels in the same feature area, the optical signal can be collected by partial pixel stacking (Binning) or all pixels stacking, so as to improve the signal intensity.
在该方案的具体实现中,应理解,这里的预设特征区域可以是一个或者多个特征区域。在终端设备设计过程中,对指纹识别区域中的区域进行标注,标注出多个特征区域,以便在指纹识别之前能够通过特征区域的检测确定后续是否进行指纹识别过程。In the specific implementation of the solution, it should be understood that the preset characteristic area here may be one or more characteristic areas. In the design process of the terminal device, the area in the fingerprint identification area is marked, and multiple characteristic areas are marked, so that the detection of the characteristic area can be used to determine whether to perform the fingerprint identification process in the future before fingerprint identification.
在一种具体实现方式中,获取哪些特征区域的光信号,与终端设备当前进行指纹识别的安全等级有关,例如:对于终端设备的解锁的场景,可以设置一个或者两个特征区域进行检测即可;但是对于支付场景,其安全等级更高,因此可以设置四个或者五个更多的特征区域进行检测。不同场景或者不同安全等级可预先配置需要进行检测的特征区域,即上述的预设特征区域。In a specific implementation manner, the optical signals of which characteristic areas are acquired is related to the security level of the terminal device currently performing fingerprint identification. For example, for the unlocking scene of the terminal device, one or two characteristic areas can be set for detection. ; But for payment scenarios, the security level is higher, so four or five more feature areas can be set for detection. Different scenarios or different security levels can be pre-configured with characteristic areas to be detected, that is, the above-mentioned preset characteristic areas.
S102:根据预设特征区域的多个光信号,确定用户手指是否覆盖预设特征区域。S102: Determine whether the user's finger covers the preset characteristic area according to the plurality of light signals in the preset characteristic area.
在本步骤中,终端设备可根据从预设特征区域检测到的多个光信号,通过对光信号强度变化等特征进行分析,确定用户手指是否覆盖住了预设特征区域。In this step, the terminal device may determine whether the user's finger covers the preset feature region by analyzing the features such as the intensity change of the light signal according to the plurality of optical signals detected from the preset feature region.
在该指纹识别方法的具体实现中,至少可以通过以下几种方式确定用户手指是否覆盖了预设特征区域:In the specific implementation of the fingerprint identification method, whether the user's finger covers the preset feature area can be determined at least in the following ways:
第一种方式,根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中光信号强度的变化程度。若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所述预设特征区域;否则,确定所述用户手指未覆盖所述预设特征区域。The first way is to obtain a coefficient of variation of the optical signal intensity in the preset feature area according to the collected optical signals in the preset feature area, where the coefficient of variation is used to represent the preset feature The degree of variation in the intensity of the light signal in the area. If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the preset feature area.
在该方案中,应理解变异系数阈值可以进行调整,终端设备所处环境不同该变异系数阈值不同,具体的,可以预先配置不同的环境光信号的强度对应不同变异系数阈值。在环境光信号强度越高时,可设置变异系数阈值越大;在环境光信号强度越低时,可设置变异系数阈值越小。具体的,可以根据环境光信号的强度确定该变异系数阈值。例如,一方式中,根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值。另一种方式中,根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值,然后在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。也就是说该变异系数阈值既可以是一个固定数据也可以是随着环境光的强度变化的数据,具体的确定方式本方案不做限制。In this solution, it should be understood that the coefficient of variation threshold can be adjusted, and the threshold of the coefficient of variation is different in different environments where the terminal equipment is located. When the ambient light signal strength is higher, the coefficient of variation threshold can be set larger; when the ambient light signal strength is lower, the coefficient of variation threshold can be set smaller. Specifically, the coefficient of variation threshold may be determined according to the intensity of the ambient light signal. For example, in one manner, the coefficient of variation threshold corresponding to the intensity of the ambient light signal is acquired according to a preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation. In another manner, the difference between the intensity of the ambient light signal and the standard ambient light intensity is obtained according to a preset standard ambient light intensity and a standard coefficient of variation threshold, and then increases or decreases on the standard coefficient of variation threshold The threshold change value corresponding to the difference value is used to obtain the coefficient of variation threshold. That is to say, the coefficient of variation threshold can be either a fixed data or data that changes with the intensity of the ambient light, and the specific determination method is not limited in this solution.
该变异系数阈值与环境光的强度正相关或者负相关。The coefficient of variation threshold is positively or negatively correlated with the intensity of ambient light.
第二种方式,获取采集到的所述预设特征区域的多个光信号中的信号强 度最大的第一光信号和信号强度最小的第二光信号;根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。The second method is to acquire a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area; The ratio and the preset ratio of the first optical signal signal strength reduction are determined to determine whether the user's finger covers the preset feature area.
在该方式中,激励光源的不同,具体的确定用户手指覆盖预设特征区域过程中有一定的区别。当激励光源是红外光源时,随着用户手指在终端设备上的接触面积的增加,红外光信号是逐渐变强的,也就是说第一光信号出现的时间晚于第二光信号的,同时第二光信号相较于第一光信号的强度降低的比例超过预设比例则可以确定用户手指覆盖了预设特征区域,否则确定用户手指未覆盖预设特征区域。In this manner, there are certain differences in the specific process of determining that the user's finger covers the preset feature area due to different excitation light sources. When the excitation light source is an infrared light source, as the contact area of the user's finger on the terminal device increases, the infrared light signal gradually becomes stronger, that is to say, the first light signal appears later than the second light signal, and at the same time If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, it can be determined that the user's finger covers the preset feature area, otherwise it is determined that the user's finger does not cover the preset feature area.
当激励光源是屏幕发射的可见光时,随着用户手指在终端设备上的接触面积增加,用户手指反射的光信号是逐渐变弱的,也就是说第一光信号出现的时间是早于第二光信号的,同时第二光信号相较于第一光信号的强度降低的比例超过预设比例则可以确定用户手指覆盖了预设特征区域,否则确定用户手指未覆盖预设特征区域。When the excitation light source is the visible light emitted by the screen, as the contact area of the user's finger on the terminal device increases, the light signal reflected by the user's finger gradually becomes weaker, that is to say, the first light signal appears earlier than the second light signal. It can be determined that the user's finger covers the preset feature area, otherwise it is determined that the user's finger does not cover the preset feature area.
同样的,在该方案中,进行光信号降低强度判断的预设比例,也是跟终端设备所处的环境相关的,因此可预先根据终端设备所处环境确定该预设比例。具体的,根据获取到的终端设备所处环境光信号,来确定该预设比例。具体的可以根据环境光信号的强度确定该预设比例。例如,一种方式中,可以根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例。另外一种方式中,根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值。然后在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。也就是说该预设比例既可以是一个固定数据也可以是随着环境光的强度变化的数据,具体的确定方式本方案不做限制。Similarly, in this solution, the preset ratio for determining the intensity of the optical signal reduction is also related to the environment where the terminal device is located, so the preset ratio can be determined in advance according to the environment where the terminal device is located. Specifically, the preset ratio is determined according to the acquired ambient light signal of the terminal device. Specifically, the preset ratio may be determined according to the intensity of the ambient light signal. For example, in one manner, the preset ratio corresponding to the intensity of the ambient light signal may be acquired according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change. In another manner, the difference between the intensity of the ambient light signal and the standard ambient light intensity is acquired according to a preset standard ambient light intensity and a standard ratio of intensity change. Then, the ratio change value corresponding to the difference value is increased or decreased on the standard ratio to obtain the preset ratio. That is to say, the preset ratio can be either fixed data or data that changes with the intensity of ambient light, and the specific determination method is not limited in this solution.
S103:若用户手指覆盖预设特征区域,则采集获取指纹图像。S103: If the user's finger covers the preset feature area, collect and acquire a fingerprint image.
S104:根据指纹图像验证用户的身份。S104: Verify the identity of the user according to the fingerprint image.
在上述两个步骤中,终端设备确定用户手指覆盖了预设特征区域之后,像素阵列以长曝光时间采集指纹识别区域的图像,得到指纹图像。根据指纹图像中与授权的特征信息进行比对,如果指纹图像与特征信息匹配,则确定 指纹认证成功,如果指纹图像与特征信息不匹配,则确定指纹认证失败。In the above two steps, after the terminal device determines that the user's finger covers the preset feature area, the pixel array collects an image of the fingerprint recognition area with a long exposure time to obtain a fingerprint image. According to the comparison between the fingerprint image and the authorized feature information, if the fingerprint image matches the feature information, it is determined that the fingerprint authentication is successful, and if the fingerprint image does not match the feature information, it is determined that the fingerprint authentication fails.
在本方案中,若所述用户手指未覆盖所述预设特征区域,则推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者结束指纹识别过程。终端设备在确定用户手指未覆盖预设特征区域,则可以确定用户并没有将手指放置在合适的位置上,终端设备可提醒用户重新放置手指,或者提醒结束指纹之别过程,不用直接进入验证过程。In this solution, if the user's finger does not cover the preset feature area, prompt information is pushed, and the prompt information is used to prompt the user to reposition the finger or end the fingerprint identification process. When the terminal device determines that the user's finger does not cover the preset feature area, it can determine that the user has not placed the finger in a suitable position, and the terminal device can remind the user to place the finger again, or remind the end of the fingerprint separation process without directly entering the verification process. .
本实施例提供的指纹识别方法,通过预先设置特征区域的光信号的检测,确定用户手指覆盖到预设的特征区域,在覆盖到之后再进行指纹图像验证,没有覆盖的时候提醒用户,避免在用户手指未放置在合适的位置就进行指纹识别导致指纹失败或者直接拒绝的问题,降低指纹识别的拒真率。The fingerprint identification method provided in this embodiment determines that the user's finger covers the preset feature area by detecting the optical signal of the preset feature area, and then performs fingerprint image verification after coverage. If the user's finger is not placed in a suitable position, the fingerprint recognition fails or the fingerprint is directly rejected, which reduces the rejection rate of fingerprint recognition.
在上述实施例的基础上,下面通过几个具体实例对本申请提供的指纹识别方法在具体应用过程中的方案进行介绍。On the basis of the above embodiments, the following describes the solution of the fingerprint identification method provided by the present application in the specific application process through several specific examples.
图7为本申请实施例提供的指纹识别方法实施例二的流程示意图,如图7所示,本实例是以设备的屏幕为有机发光二极管(Organic Light-Emitting Diode,OLED)屏时为例,该指纹识别方法具体包括以下步骤:FIG. 7 is a schematic flowchart of Embodiment 2 of the fingerprint identification method provided by the embodiment of the application. As shown in FIG. 7 , in this example, the screen of the device is an organic light-emitting diode (Organic Light-Emitting Diode, OLED) screen as an example, The fingerprint identification method specifically includes the following steps:
S201:进入指纹识别场景。S201: Enter the fingerprint identification scene.
在本步骤中,在进入例如移动支付等指纹识别的场景时,终端设备提示用户进行指纹识别。提示方式可以为在终端设备的屏幕指纹识别区域部分点亮;可以在显示屏上进行文字提醒等,包含但不限于此方法。In this step, when entering a fingerprint recognition scenario such as mobile payment, the terminal device prompts the user to perform fingerprint recognition. The prompting method can be lighting on the screen fingerprint identification area of the terminal device; text prompting can be performed on the display screen, etc., including but not limited to this method.
S202:触控屏探测到手指触摸指纹识别区域,触发指纹识别开始。S202: The touch screen detects that the finger touches the fingerprint recognition area, and triggers the start of fingerprint recognition.
在本步骤中,当用户手指触摸指纹识别区域,屏幕的触摸控制模块探测到手指触摸指纹识别区域表面时,触发指纹识别开始。In this step, when the user's finger touches the fingerprint recognition area, and the touch control module of the screen detects that the finger touches the surface of the fingerprint recognition area, the start of fingerprint recognition is triggered.
S203:显示屏中指纹识别区域发光单元发光。S203: The light-emitting unit of the fingerprint identification area in the display screen emits light.
具体的,显示屏上指纹识别区域的发光单元发出用于进行特征区域覆盖检测的光线。Specifically, the light-emitting unit in the fingerprint identification area on the display screen emits light for performing coverage detection of the feature area.
S204:特征区域像素以短曝光时间多次采集得到多个光信号。S204: The characteristic area pixel collects multiple optical signals with a short exposure time for multiple times.
在本步骤中,终端设备在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。该第一预设曝光时间可以根据实际需求进行设置。In this step, the terminal device collects short exposure signals for a preset number of times with a first preset exposure time in the preset characteristic area, to obtain a plurality of optical signals in the preset characteristic area. The first preset exposure time can be set according to actual requirements.
在本步骤的具体实现中,人体手指的相邻的脊的间距约为500μm。为 避免特征区域短曝光时间采集的光信号只来自手指谷或只来自手指脊,需要保证选取的特征区域采集的光信号同时包括来自谷以及来自脊的信号。例如当特征区域采集到的信号只来自手指谷时,屏幕上发出的光在谷表面发生反射,与手指未覆盖特征识别区域时的信号差异较小。因此在预设特征区域经指纹识别模块的光学系统后反映的信息能覆盖手指上长和宽各至少500μm的范围。例如,在成像放大比例1:1(等大像)的指纹识别系统中,由多个像素组成的特征区域至少包含一边长为500μm的正方形区域。在成像放大比例为1:4的指纹识别模块中(缩小像),由多个像素组成的特征区域至少包含一边长为125μm的正方形区域。本实施例中,图8为本申请实施例提供的一种预设特征区域的示意图,如图8所示,指纹识别模块内的光学图像采集模块120的像素阵列整体区域122由200行200列相邻的40000个像素组成,每个像素为边长为7μm的正方形。在该方案中预设特征区域123由20行,20列的共400个相邻像素组成。该预设特征区域位于像素阵列的中央,该预设特征区域的中心与像素阵列的中心重合。本实施例中采用的光学系统能将指纹识别区域的物体在像素阵列上成一缩小到原物1/5的像。因此特征区域采集的信号能反映指纹识别区域一700μm*700μm大小范围内的信息。该特征区域400个像素以像素叠加的方式,以短曝光时间t1连续多次采集信号,其中t1小于10ms;例如,t1可以为1ms,由于采用了像素叠加的方式,以及特征区域的像素较少,可以以较短的曝光时间进行高频采样,同时获得较强的光信号。In a specific implementation of this step, the spacing between adjacent ridges of a human finger is about 500 μm. In order to avoid that the light signal collected by the short exposure time of the feature area only comes from the valley of the finger or only from the ridge of the finger, it is necessary to ensure that the light signal collected from the selected feature area includes both the signal from the valley and the signal from the ridge. For example, when the signal collected by the feature area only comes from the valley of the finger, the light emitted on the screen is reflected on the surface of the valley, and the difference between the signal and the signal when the finger does not cover the feature recognition area is small. Therefore, the information reflected in the preset feature area after passing through the optical system of the fingerprint identification module can cover a range of at least 500 μm in length and width on the finger. For example, in a fingerprint identification system with an imaging magnification ratio of 1:1 (isometric image), a characteristic area composed of a plurality of pixels at least includes a square area with a side length of 500 μm. In the fingerprint identification module with an imaging magnification ratio of 1:4 (reduced image), the characteristic area composed of multiple pixels includes at least a square area with a side length of 125 μm. In this embodiment, FIG. 8 is a schematic diagram of a preset feature area provided by this embodiment of the application. As shown in FIG. 8 , the overall area 122 of the pixel array of the optical image acquisition module 120 in the fingerprint identification module consists of 200 rows and 200 columns. It consists of 40,000 adjacent pixels, each of which is a square with a side length of 7 μm. In this solution, the preset feature area 123 consists of 400 adjacent pixels in 20 rows and 20 columns. The preset feature area is located in the center of the pixel array, and the center of the preset feature area coincides with the center of the pixel array. The optical system adopted in this embodiment can form an image of the object in the fingerprint identification area into an image that is reduced to 1/5 of the original object on the pixel array. Therefore, the signal collected in the characteristic area can reflect the information within the size range of the fingerprint identification area-700μm*700μm. The 400 pixels in the feature area are in the form of pixel stacking, and the signal is continuously collected for multiple times with a short exposure time t1, where t1 is less than 10ms; for example, t1 can be 1ms, because the pixel stacking method is adopted, and the feature area has fewer pixels , high-frequency sampling can be performed with a short exposure time, and a strong optical signal can be obtained at the same time.
S205:多个光信号与模型比对。S205: Multiple optical signals are compared with the model.
S206:确定用户手指是否覆盖特征区域像素。S206: Determine whether the user's finger covers the pixels of the feature area.
在本步骤的具体实现中,将多次采集的光信号与已知模型(这里的模型指的是光信号的强度变化模型)进行对比,判断手指是否覆盖住所述特征区域;所述的模型可以通过大量场景训练得到。图9为本申请实施例提供的一种光信号的信号强度的示意图,如图9所示为某一场景下,在该预设的特征区域以1ms曝光时间进行五次短曝光采集的信号强度变化,图9中的(a)示出了手指覆盖到该预设特征区域时的变化。由于手指按压屏幕之后,手指上脊部分对光线的反射率较手指未按压时的反射率更低,因此随时间变化,用户手指最终覆盖到特征区域时,信号强度存在一下降过程。如下提供两种可 行的用于判断用户手指是否按压所述特征区域的模型:In the specific implementation of this step, the optical signal collected multiple times is compared with a known model (the model here refers to the intensity variation model of the optical signal) to determine whether the finger covers the characteristic area; the model can be Trained through a large number of scenarios. FIG. 9 is a schematic diagram of the signal intensity of an optical signal provided by an embodiment of the present application. As shown in FIG. 9 , in a certain scene, the signal intensity collected by five short exposures with an exposure time of 1 ms in the preset feature area is shown in FIG. 9 . Change, Fig. 9 (a) shows the change when the finger covers the preset feature area. After the finger presses the screen, the reflectivity of the upper ridge of the finger to light is lower than that when the finger is not pressed. Therefore, as time changes, when the user's finger finally covers the feature area, the signal intensity has a decreasing process. Two feasible models for judging whether the user's finger presses the feature area are provided as follows:
1、当手指覆盖特征区域时,由于手指对屏幕发出光线的发射的影响,具体来说,即手指按压特征区域导致反射到特征区域的光线减少,使得特征区域采集的光信号强度减弱。当手指未覆盖特征区域时,则信号的变化较小。因此,可以通过对该预设特征区域五次采集的光信号进行变异系数计算。当变异系数大于某一阈值(也就是前述实施例中预设的变异系数阈值)时,例如10%,此时特征区域采集到的光信号受手指按压影响较大,认为手指在按压过程中覆盖了特征区域。当变异系数低于10%时,认为手指未覆盖特征区域。1. When the finger covers the feature area, due to the influence of the finger on the emission of light emitted by the screen, specifically, the finger presses the feature area, the light reflected to the feature area is reduced, and the intensity of the light signal collected by the feature area is weakened. When the finger does not cover the feature area, the signal change is smaller. Therefore, the coefficient of variation can be calculated by the optical signals collected five times in the preset characteristic area. When the coefficient of variation is greater than a certain threshold (that is, the threshold of the coefficient of variation preset in the foregoing embodiment), such as 10%, at this time, the optical signal collected in the characteristic area is greatly affected by the pressing of the finger, and it is considered that the finger is covered during the pressing process. feature area. When the coefficient of variation is lower than 10%, the finger is considered to not cover the characteristic area.
此外,特征区域收集的光信号除了来自屏幕表面反射的光外,还包括来自非屏幕光源的外界环境光。外界环境光的存在会对特征区域采集的光信号强度有影响。可以通过终端设备上带有的环境光传感器对所述阈值进行调整。例如在外界环境光线较暗时,光信号变化主要受手指影响,可以将变异系数的阈值降低到8%。当外界光线较强时,手指还未按压特征区域时,特征区域采集到的光信号较外界环境光较暗时采集的信号更强。当手指按压住特征区域后,外界环境光由于手指的遮挡不会进入特征区域。在此情况下,外界环境光对变异系数有较大贡献,因此可以提升所述判断阈值,例如在环境可见光强度强度为1万勒克斯(Lux)时,需将变异系数阈值调整为15%。当计算的变异系数高于15%时,认为手指覆盖该特征区域;否则,认为手指未覆盖特征区域。综上所述,在该方案的一种具体实现中,终端设备可预先获取所述终端设备所处环境光信号,并根据所述环境光信号的强度,确定所述变异系数阈值。在常用的一种实现方式中,所述环境光信号强度高低与所述变异系数阈值大小成正比。In addition, the light signal collected by the feature area includes ambient light from non-screen light sources in addition to the light reflected from the screen surface. The existence of external ambient light will affect the intensity of the optical signal collected in the characteristic area. The threshold can be adjusted through an ambient light sensor provided on the terminal device. For example, when the ambient light is dark, the change of the light signal is mainly affected by the finger, and the threshold value of the coefficient of variation can be reduced to 8%. When the outside light is strong and the finger has not pressed the feature area, the light signal collected by the feature area is stronger than the signal collected when the outside ambient light is dark. When the finger presses the feature area, the external ambient light will not enter the feature area due to the occlusion of the finger. In this case, the external ambient light has a large contribution to the coefficient of variation, so the judgment threshold can be increased. For example, when the intensity of ambient visible light is 10,000 Lux (Lux), the threshold of the coefficient of variation needs to be adjusted to 15%. When the calculated coefficient of variation is higher than 15%, the finger is considered to cover the characteristic area; otherwise, the finger is considered to not cover the characteristic area. To sum up, in a specific implementation of the solution, the terminal device may obtain the ambient light signal where the terminal device is located in advance, and determine the coefficient of variation threshold according to the intensity of the ambient light signal. In a common implementation manner, the intensity of the ambient light signal is proportional to the threshold value of the coefficient of variation.
在该方案中,无论预设特征区域数量有几个,针对每个特征区域都可以按照上述的方式,根据光信号强度的变异系数与变异系数阈值进行比对,确定用户手指是否覆盖该特征区域。In this solution, no matter how many preset characteristic areas there are, for each characteristic area, it can be determined whether the user's finger covers the characteristic area by comparing the coefficient of variation of the optical signal intensity with the threshold of the coefficient of variation according to the above method. .
2、根据采集到的预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号之间的强度降低的比例来确定用户手指是否覆盖该预设特征区域。2. Determine whether the user's finger covers the preset according to the ratio of the intensity reduction between the first optical signal with the largest signal intensity and the second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset feature area feature area.
在一种具体实现方式中,在预设特征区域短曝光时间多次采集的信号最 高强度为I1(即前述的第一光信号的强度),最低强度为I2(即前述的第二光信号的强度)。当I2较I1降低比例超过一个阈值(也就是前述实施例中指的预设比例)。例如,该阈值可以为30%,且最低强度出现的时间晚于最高强度出现的时间时,认为手指按压住特征区域;另外,同上一种对比模型中所描述的类似,可以通过终端设备带有的环境光传感器对这一阈值进行调整。例如,在环境可见光强度为1万勒克斯(Lux)时,需要调高这一阈值到30%。也就说终端设备可以预先获取所处环境光信号,根据所述环境光信号的强度,确定所述预设比例。In a specific implementation manner, the highest intensity of the signals collected multiple times in the preset feature area for a short exposure time is I1 (that is, the intensity of the aforementioned first optical signal), and the lowest intensity is I2 (that is, the intensity of the aforementioned second optical signal). strength). When the ratio of I2 is lower than that of I1 exceeds a threshold (that is, the preset ratio referred to in the foregoing embodiment). For example, the threshold value can be 30%, and when the time when the lowest intensity appears is later than the time when the highest intensity appears, it is considered that the finger is pressing on the feature area; Some ambient light sensors adjust this threshold. For example, when the ambient visible light intensity is 10,000 Lux (Lux), this threshold needs to be increased to 30%. That is to say, the terminal device may obtain the ambient light signal in advance, and determine the preset ratio according to the intensity of the ambient light signal.
作为对比,图9中的(b)示出了用户手指未有效覆盖特征区域时采用1ms短时间曝光获得的信号强度变化。在手指未覆盖时,由于手指对特征区域信号强度的影响可以忽略不计,因此特征区域像素接收到的信号的变化较小。采用如上方法1及方法2的判断方法都能判断手指未覆盖所述特征区域。上述提供的两种方案,是通过简化的模型来说明判断用户手指(指纹图像)是否覆盖像素阵列特征区域的方案,实际模型可以通过大量场景训练得到。For comparison, (b) in FIG. 9 shows the change of signal intensity obtained by using a short exposure time of 1 ms when the user's finger does not effectively cover the feature area. When the finger is not covered, since the influence of the finger on the signal strength of the feature area is negligible, the variation of the signal received by the pixels in the feature area is small. Using the judgment methods of the above method 1 and method 2, it can be judged that the finger does not cover the characteristic area. The two solutions provided above are the solutions for judging whether the user's finger (fingerprint image) covers the feature area of the pixel array through a simplified model, and the actual model can be obtained by training a large number of scenarios.
S207:像素阵列以长曝光时间采集获取指纹图像。S207: The pixel array acquires a fingerprint image with a long exposure time.
S208:提醒用户重置手指或指纹识别终止。S208: Remind the user to reset the finger or terminate the fingerprint identification.
S209:指纹图像特征信息比对。S209: fingerprint image feature information comparison.
S210:指纹图像与特征信息是否匹配。S210: Whether the fingerprint image matches the feature information.
S211:指纹认证成功。S211: The fingerprint authentication is successful.
S212:指纹认证失败。S212: Fingerprint authentication fails.
在上述的几个步骤中,在判断用户手指覆盖了像素阵列中预设特征区域后,整个像素阵列以一较长的曝光时间t2采集获取用户的指纹图像,其中t2大于t1的4倍,且t2不超过100ms(长曝光时间)。例如,t2可以为40ms。然后将得到的指纹图像的特征信息与存储的授权的原始指纹的特征信息进行对比。当特征信息对比成功后,确定指纹认证成功;当特征信息比对失败后确定指纹认证失败。In the above several steps, after it is determined that the user's finger covers the preset feature area in the pixel array, the entire pixel array acquires the user's fingerprint image with a longer exposure time t2, where t2 is greater than 4 times of t1, and t2 does not exceed 100ms (long exposure time). For example, t2 may be 40ms. Then, the characteristic information of the obtained fingerprint image is compared with the characteristic information of the stored authorized original fingerprint. When the feature information comparison is successful, it is determined that the fingerprint authentication is successful; when the feature information comparison fails, it is determined that the fingerprint authentication fails.
图10为本申请实施例提供的终端设备指纹识别模块随时间变化的工作状态示意图,如图10所示,为在一指纹覆盖特征区域的按压情形中,指纹识别模块随时间变化的工作状态示意图。在触控采集到用户手指触摸的信号时,触发光学图像采集模块中预设特征区域的像素开始以短曝光时间采集光 信号。在信号处理模块进行信号处理后,判断用户手指覆盖预设特征区域,触发包含特征像素的像素阵列以长曝光时间采集指纹图像,并判断采集的指纹图像特征信息是否匹配,完成指纹识别过程。FIG. 10 is a schematic diagram of the working state of the fingerprint identification module of a terminal device provided by an embodiment of the application over time. As shown in FIG. 10 , it is a schematic diagram of the working state of the fingerprint identification module over time in a situation where a fingerprint covers a characteristic area. . When the touch signal is collected by the user's finger, the pixels in the preset feature area in the optical image collection module are triggered to start collecting the light signal with a short exposure time. After the signal processing module performs signal processing, it is judged that the user's finger covers the preset characteristic area, triggers a pixel array containing characteristic pixels to collect fingerprint images with a long exposure time, and judges whether the collected fingerprint image characteristic information matches to complete the fingerprint identification process.
然而,若判断出用户手指没有覆盖像素阵列特征区域,则提示用户手指未按压在正确的位置或指纹识别终止。例如,判断方法可以为终端在显示屏上进行文字提示用户“手指未按压在正确位置,请重新按压”。However, if it is determined that the user's finger does not cover the pixel array feature area, the user's finger is not pressed in the correct position or the fingerprint recognition is terminated. For example, the determination method may be that the terminal prompts the user with text on the display screen "the finger is not pressed in the correct position, please press again".
在整个方案的实现过程中,由于采用的短曝光时间t1显著短于长曝光时间t2,使得本实施例的技术方案能快速并有效判断指纹图像是否会覆盖像素阵列的特征区域,通过这种方式在进入指纹图像采集和后续的特征信息比对之前,能够判断用户手指的位置是否合适,没有覆盖合适的位置时可以提醒用户,避免由于手指的位置未放准,导致的指纹识别失败,降低拒真率。In the implementation process of the whole scheme, since the short exposure time t1 used is significantly shorter than the long exposure time t2, the technical scheme of this embodiment can quickly and effectively determine whether the fingerprint image will cover the characteristic area of the pixel array. In this way, Before entering the fingerprint image collection and subsequent feature information comparison, it can determine whether the position of the user's finger is appropriate, and when the appropriate position is not covered, the user can be reminded to avoid the failure of fingerprint recognition due to the misplacement of the finger, and reduce rejection. sincere.
图11为本申请实施例提供的指纹识别方法实施例三的流程示意图,如图11所示,在不同的应用场景下,需要不同的安全等级的生物特征信息的验证,可以保证快捷安全的终端应用。该指纹识别方法具体包括以下步骤:FIG. 11 is a schematic flowchart of the third embodiment of the fingerprint identification method provided by the embodiment of the application. As shown in FIG. 11 , in different application scenarios, verification of biometric information of different security levels is required, which can ensure a fast and safe terminal application. The fingerprint identification method specifically includes the following steps:
S301:进入指纹识别场景。S301: Enter the fingerprint identification scene.
S302:根据场景的安全等级选择特征区域数目以及位置。S302: Select the number and location of feature areas according to the security level of the scene.
S303:触控屏探测到手指触摸指纹识别区域,触发指纹识别开始。S303: The touch screen detects that the finger touches the fingerprint recognition area, and triggers the start of fingerprint recognition.
在上述几个步骤中,在终端设备不同的应用场景下,需要不同等级的生物特征信息的验证以保证快捷安全的终端应用。本实施例举例说明不同安全场景对安全等级的可能选择及实现,例如:使用手机支付需要的安全等级高于手机屏幕解锁情况下的安全等级。在使用高安全等级指纹识别时,可能需要更多的指纹特征信息,因此需要指纹识别装置能收集到带有足够特征信息的指纹图像。例如在进行手机屏幕解锁的场景下,需要手指的指纹图像具有至少13个匹配的特征点;在手机进行大额支付的场景下获取的指纹图像则至少需要至少15个匹配的特征点。手指覆盖指纹识别区域特征区域的数量或范围越大,能保证采集到的图像中的指纹信息覆盖该图像的更多区域,从而能提取到更多的特征点信息。In the above steps, in different application scenarios of the terminal device, verification of biometric information of different levels is required to ensure fast and safe terminal application. This embodiment exemplifies the possible selection and implementation of security levels in different security scenarios. For example, the security level required for payment by using a mobile phone is higher than the security level when the screen of the mobile phone is unlocked. When using fingerprint identification with a high security level, more fingerprint feature information may be required, so it is required that the fingerprint identification device can collect fingerprint images with sufficient feature information. For example, in the scenario of unlocking the mobile phone screen, the fingerprint image of the finger needs to have at least 13 matching feature points; in the scenario where the mobile phone performs large-amount payments, the fingerprint image obtained requires at least 15 matching feature points. The larger the number or range of the characteristic areas of the fingerprint recognition area covered by the finger, the more fingerprint information in the collected image can be guaranteed to cover more areas of the image, so that more feature point information can be extracted.
如前述步骤所述,终端设备根据指纹识别的场景安全等级判断并选择特征区域的数目和/或位置。As described in the preceding steps, the terminal device determines and selects the number and/or location of the feature areas according to the scene security level of fingerprint identification.
S304:显示屏中指纹识别区域发光单元发光。S304: The light-emitting unit of the fingerprint identification area in the display screen emits light.
S305:特征区域像素以短曝光时间多次采集得到多个光信号。S305 : the pixels in the characteristic area collect multiple optical signals with a short exposure time for multiple times.
S306:多个光信号与模型比对。S306: Compare the multiple optical signals with the model.
S307:确定用户手指是否覆盖特征区域像素。S307: Determine whether the user's finger covers the pixels of the feature area.
在本实施例中,终端设备对所选中的特征区域中的像素,采用较短的曝光时间进行曝光采集光信号,并进一步判断指纹图像是否会覆盖该场景下选取的特征区域。在不同的安全等级场景下,其特征区域的数目和/或位置不同,简单来说,更高的安全等级场景下,需要的特征区域数目更多,或者具有更大的范围。In this embodiment, the terminal device uses a short exposure time to expose the pixels in the selected characteristic area to collect optical signals, and further judges whether the fingerprint image will cover the selected characteristic area in the scene. In different security level scenarios, the number and/or location of the feature areas is different. In short, in a higher security level scenario, the required number of feature areas is larger or has a larger range.
图12为本申请实施例提供的光学图像收集模块的像素阵列的示意图。如图12所示,在较低的安全等级下,例如可以是手机屏幕解锁场景。选取123中的400个像素作为特征区域,即一个区域作为特征区域(同实施例一中特征区域选取位置及大小一致)。在较高的安全等级下,例如可以是手机大额支付场景下,选取124,125,126,127每一个区域中的400个像素作为特征区域,即四个区域分别作为预设特征区域。这四个特征区域的中心距离像素阵列的中心分别为横向及纵向各80个像素的距离。四个特征区域的对称中心与像素阵列的对称中心重合。采用这四个预设特征区域用于判断手指是否覆盖所述四个特征区域,以确保最终进行指纹识别时候获取的指纹图像具有足够的特征信息以及高的信噪比。在选取124,125,126,127这些区域作为特征区域时,每一个区域中像素采用短曝光时间获取的光信号变化单独与模型进行比对,判断手指是否覆盖各个特征区域,当判断手指覆盖124,125,126,127这四个区域的每一个区域时认为手指覆盖预设特征区域。FIG. 12 is a schematic diagram of a pixel array of an optical image collection module provided by an embodiment of the present application. As shown in FIG. 12 , at a lower security level, for example, it may be a scenario of unlocking the screen of a mobile phone. 400 pixels in 123 are selected as the feature region, that is, one region is selected as the feature region (the selection position and size of the feature region in the first embodiment are the same). Under a higher security level, for example, in a mobile phone large-amount payment scenario, 400 pixels in each area of 124, 125, 126, and 127 are selected as the characteristic area, that is, the four areas are respectively used as the preset characteristic area. The center of the four feature areas is separated from the center of the pixel array by 80 pixels in the horizontal and vertical directions, respectively. The symmetry centers of the four feature regions coincide with the symmetry centers of the pixel array. The four preset feature regions are used to determine whether the finger covers the four feature regions, so as to ensure that the fingerprint image obtained in the final fingerprint identification has sufficient feature information and a high signal-to-noise ratio. When the regions 124, 125, 126, and 127 are selected as the feature regions, the light signal changes obtained by the pixels in each region using a short exposure time are compared with the model separately to determine whether the finger covers each feature region. A finger is considered to cover the preset feature area when it is an area.
S308:像素阵列以长曝光时间采集获取指纹图像。S308: The pixel array acquires a fingerprint image with a long exposure time.
S309:提醒用户重置手指或指纹识别终止。S309: Remind the user to reset the finger or terminate the fingerprint identification.
S310:指纹图像特征信息比对。S310 : fingerprint image feature information comparison.
S311:指纹图像与特征信息是否匹配。S311: Whether the fingerprint image matches the feature information.
S312:指纹认证成功。S312: The fingerprint authentication is successful.
S313:指纹认证失败。S313: Fingerprint authentication fails.
后续过程与前述实施例二中类似。The subsequent process is similar to that in the foregoing second embodiment.
本实施例提供的指纹识别方法,对于不同安全等级的指纹识别场景,可以设置不同数量和位置的预设特征区域,在进行指纹认证之前对该写预设特 征区域进行检测,能够判断用户手指的位置是否合适,是否覆盖了足够的区域能够获取到需要的特征信息,在没有覆盖合适的位置时可以提醒用户,提高指纹识别的准确度,避免由于手指的位置未放准,导致的指纹识别失败,降低拒真率。In the fingerprint identification method provided in this embodiment, for fingerprint identification scenarios with different security levels, preset feature areas of different numbers and positions can be set, and the preset feature area can be detected before fingerprint authentication is performed, so that the user's finger can be judged. Whether the location is appropriate, whether it covers enough area to obtain the required feature information, and reminds the user when the appropriate location is not covered, improves the accuracy of fingerprint recognition, and avoids fingerprint recognition failure due to misplacement of the finger , reduce the rejection rate.
在前述的几个实例中,均是以终端设备自身屏幕发射的光作为激励光源进行指纹识别检测的过程的。In the foregoing several examples, the process of fingerprint identification and detection is performed by using the light emitted by the screen of the terminal device itself as the excitation light source.
然而,在存在采用LCD屏幕的终端设备,而LCD由于屏幕不透可见光,因此本实施例提供一种新的激励光源,本方案中用于指纹识别的激励光源模块不是所述LCD显示屏,还可以是位于屏幕下方的波长为940nm的红外光源模块,也就是说激励光源为红外光源。其指纹识别方法流程同图7所示类似。需要指出的是,在本实施例中,图像传感器采集的到的光信号来自于手指散射的红外光线,此时光学图像采集模块收集到的来自手指脊的光信号较来自手指谷的信号强,与图7所示实施例中的情况相反。因此判断用户手指是否会覆盖指纹识别模块特征区域的模型与图7中的模型不同。与图7所示实施例作为对比,其两种判断模型可以如下:However, in the presence of a terminal device using an LCD screen, and the LCD screen is not transparent to visible light, this embodiment provides a new excitation light source. The excitation light source module used for fingerprint recognition in this solution is not the LCD display screen, and also It can be an infrared light source module with a wavelength of 940 nm located below the screen, that is to say, the excitation light source is an infrared light source. The process of the fingerprint identification method is similar to that shown in FIG. 7 . It should be pointed out that, in this embodiment, the optical signal collected by the image sensor comes from the infrared light scattered by the finger. At this time, the optical signal collected by the optical image collection module from the ridge of the finger is stronger than the signal from the valley of the finger. The opposite is the case in the embodiment shown in FIG. 7 . Therefore, the model for judging whether the user's finger will cover the characteristic area of the fingerprint identification module is different from the model in FIG. 7 . Compared with the embodiment shown in FIG. 7 , the two judgment models can be as follows:
1、对特征区域像素短曝光时间多次采集的光信号进行变异系数计算。当变异系数大于某一阈值时,例如10%。此时特征区域采集到的光信号受手指按压影响较大,可以认为手指在按压过程中覆盖了特征区域。此外,特征区域收集到的光信号除了来自手指反射的红光外,还包括来自非手指反射的外界红外光。外界光的存在会对特征区域采集的信号强度有所影响,可以通过终端上带有的环境光传感器对变异进行调整。例如在外界环境红外光较弱时,信号变化主要受手指影响。可以将变异系数的阈值提升至12%。当外界光线较强时,手指未按压预设特征区域时,该预设特征区域采集到的信号来源于外界环境红外光;当手指按压住该预设特征区域后,外界环境红外光由于手指的遮挡较少进入该预设特征区域。在此情况下,多次采集的信号的变异系数由于环境红外光的影响会降低,可以降低变异系数阈值。例如在环境红外光强度为3000勒克斯(Lux)时,需将变异系数阈值调整为7%。1. Calculate the coefficient of variation of the optical signals collected multiple times with a short exposure time of the pixels in the characteristic area. When the coefficient of variation is greater than a certain threshold, such as 10%. At this time, the optical signal collected by the characteristic area is greatly affected by the finger pressing, and it can be considered that the finger covers the characteristic area during the pressing process. In addition, the light signal collected by the feature area includes not only the red light reflected from the finger, but also the external infrared light reflected from the non-finger. The presence of external light will affect the signal strength collected in the characteristic area, and the variation can be adjusted through the ambient light sensor on the terminal. For example, when the infrared light in the external environment is weak, the signal change is mainly affected by the finger. The threshold for the coefficient of variation can be raised to 12%. When the external light is strong and the finger does not press the preset feature area, the signal collected by the preset feature area comes from the external environment infrared light; when the finger presses the preset feature area, the external environment infrared light due to the finger The occlusion of less enters the preset feature area. In this case, the coefficient of variation of the signals collected for multiple times will be reduced due to the influence of ambient infrared light, and the threshold of the coefficient of variation can be lowered. For example, when the ambient infrared light intensity is 3000 Lux (Lux), the coefficient of variation threshold needs to be adjusted to 7%.
在该方案的具体实现中,终端设备可预先获取所述终端设备所处环境光信号,然后根据所述环境光信号的强度,确定所述变异系数阈值;其中,所 述环境光信号强度高低与所述变异系数阈值大小成正比。In the specific implementation of this solution, the terminal device can obtain the ambient light signal in advance, and then determine the coefficient of variation threshold according to the intensity of the ambient light signal; wherein, the intensity of the ambient light signal is related to the intensity of the ambient light signal. The coefficient of variation is proportional to the threshold size.
2、终端设备在预设特征区域短曝光时间采集的光信号最高强度为I4(第一光信号的强度),最低强度为I5(第二光信号的强度),当I5较I4降低比例超过一个阈值(即预设比例),且最高强度出现的时间晚于最低强度出现的时间时,认为手指按压住特征区域。例如,该阈值可以为40%。另外,同上一种对比模型中所描述的类似,可以通过终端带有的环境红外光传感器对这一阈值进行调整。具体来说,在环境光强度较强时,需要调低这一阈值,当环境红外光强较弱时,需调高这一预设比例,也就是信号强度降低的阈值。2. The highest intensity of the optical signal collected by the terminal device in the preset feature area for a short exposure time is I4 (the intensity of the first optical signal), and the lowest intensity is I5 (the intensity of the second optical signal). When I5 is lower than I4 by more than one When the threshold value (ie, the preset ratio) is set, and the time when the highest intensity appears is later than the time when the lowest intensity appears, it is considered that the finger is pressing on the characteristic area. For example, the threshold may be 40%. In addition, similar to that described in the previous comparison model, this threshold can be adjusted through the ambient infrared light sensor provided by the terminal. Specifically, when the ambient light intensity is strong, the threshold value needs to be lowered, and when the ambient infrared light intensity is weak, the preset ratio needs to be increased, that is, the threshold value at which the signal strength is reduced.
在不同的终端设备中,判断用户手指是否覆盖指纹识别区域中的预设特征区域的模型并不一定相同,可以根据终端设备的变化对模型进行更新。In different terminal devices, the models for judging whether the user's finger covers the preset feature area in the fingerprint recognition area are not necessarily the same, and the models can be updated according to changes in the terminal device.
结合前述实施例的内容可知,在终端设备采集光信号时采用的激励光源为红外光源,需要强度最低的第二光信号相较强度最高的第一光信号信号强度降低的比例超过所述预设比例,且并且第一光信号的出现时间晚于所述第二光信号的出现时间,才能够确定所述用户手指覆盖所述预设特征区域;否则,确定所述用户手指未覆盖所述预设特征区域。Combining with the content of the foregoing embodiments, it can be seen that the excitation light source used when the terminal device collects the optical signal is an infrared light source, and the ratio of the intensity reduction of the second optical signal with the lowest intensity to the first optical signal with the highest intensity exceeds the preset ratio. and the appearance time of the first optical signal is later than the appearance time of the second optical signal, it can be determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the preset feature area. Set feature area.
然而,在终端设备采集光信号时采用的激励光源为所述终端设备的屏幕发射的可见光时,若强度最低的第二光信号相较强度最高的第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;否则,确定所述用户手指未覆盖所述预设特征区域。However, when the excitation light source used by the terminal device to collect the optical signal is the visible light emitted by the screen of the terminal device, if the intensity of the second optical signal with the lowest intensity decreases compared to the first optical signal with the highest intensity by a ratio that exceeds the intensity reduction ratio of the second optical signal with the lowest intensity The preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then it is determined that the user's finger covers the preset feature area; otherwise, it is determined that the user's finger does not cover the entire area. the preset feature area.
本实施例提供的指纹识别方法,该方案对于采用LCD等不透自然光的终端设备来说,也可通过红外光源作为激励光源快速并有效判断指纹图像是否会覆盖像素阵列的特征区域,通过这种方式在进入指纹图像采集和后续的特征信息比对之前,能够判断用户手指的位置是否合适,没有覆盖合适的位置时可以提醒用户,避免由于手指的位置未放准,导致的指纹识别失败,降低拒真率。In the fingerprint identification method provided in this embodiment, for terminal devices that use LCD and other non-transparent natural light, the infrared light source can also be used as the excitation light source to quickly and effectively determine whether the fingerprint image will cover the characteristic area of the pixel array. Before entering the fingerprint image collection and subsequent feature information comparison, it can judge whether the position of the user's finger is appropriate, and when the appropriate position is not covered, the user can be reminded to avoid the failure of fingerprint recognition caused by the misplacement of the finger, and reduce the Refusal.
在上述任一实施例的基础上,为了进一步保证终端设备使用过程中的安全,本申请实施例还提供一种指纹识别过程中判断触摸操作的用户手指是否 是活体。On the basis of any of the above-mentioned embodiments, in order to further ensure the safety of the terminal device during use, the embodiment of the present application also provides a method for determining whether the user's finger of the touch operation is a living body in a fingerprint identification process.
下面以终端设备中的激励光源为终端设备屏幕发射的可见光的情况说明检测用户手指是否为活体的方案。The solution for detecting whether the user's finger is a living body is described below by taking the case that the excitation light source in the terminal device is the visible light emitted by the screen of the terminal device.
用户在按压屏幕的过程中,活体手指表面感受到的压力随按压的进行而不断增大,手指中毛细血管中的血流在压力的影响下会向按压手指的边缘流动。在这个过程中,手指表面的血红蛋白对非红色光线的吸收逐渐减弱,手指的颜色由相对偏红渐变为相对偏白。而对于非活体指纹由于没有血流变化则不存在这一过程。因此可以利用这一变化在判定手指是否会覆盖光学图像采集模块的特征区域的同时鉴别该手指是否为活体。When the user presses the screen, the pressure felt on the surface of the living finger continuously increases with the pressing, and the blood flow in the capillaries in the finger will flow to the edge of the pressing finger under the influence of the pressure. During this process, the absorption of non-red light by hemoglobin on the surface of the finger gradually weakens, and the color of the finger gradually changes from relatively reddish to relatively white. For non-living fingerprints, this process does not exist because there is no blood flow change. Therefore, this change can be used to identify whether the finger is a living body while determining whether the finger will cover the characteristic area of the optical image acquisition module.
在该方案的一种实现中,终端设备的光学图像采集模块中,对于上述预设特征区域中的像素可以设置滤色器,滤色器透过的波段范围包含用于指纹识别的波段。不同的特征区域中的像素可以具有相同或者不同的滤色器。或者相同的特征区域中的不同像素也可以具有不同的滤色器,对此本方案不做限制。In an implementation of the solution, in the optical image acquisition module of the terminal device, a color filter can be set for the pixels in the above-mentioned preset characteristic area, and the wavelength band range transmitted by the color filter includes the wavelength band used for fingerprint identification. Pixels in different feature regions may have the same or different color filters. Or different pixels in the same feature area may also have different color filters, which is not limited to this solution.
滤色器的主要作用是提高光信号的信噪比,以本方案为例,用户手指按压屏幕的过程中,手指表面的血红蛋白对非红色光线的吸收逐渐减弱,也就是对蓝色和绿色的光的吸收减弱,如果该特征区域像素设置有蓝色或者绿色的滤色器,则在手指按压过程中逐渐偏白的过程中,对于蓝色或者绿色光的反射会增强。The main function of the color filter is to improve the signal-to-noise ratio of the optical signal. Taking this solution as an example, when the user's finger presses the screen, the hemoglobin on the surface of the finger gradually weakens the absorption of non-red light, that is, the absorption of blue and green light. The absorption of light is weakened. If the pixel in the characteristic area is provided with a blue or green color filter, the reflection of blue or green light will be enhanced in the process of gradually turning white during the pressing process of the finger.
具体的,可根据模型训练,确定出活体手指进行指纹识别的时候的特征变化情况,获取活体判断条件,将该活体判断条件配置在终端设备中。在进行指纹识别的过程中,终端设备采集预设特征区域中的多个光信号之后,根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体。具体的,如果采集到的预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;否则所述用户手指为非活体。Specifically, according to the model training, it is possible to determine the change of the characteristics of the living finger when fingerprint recognition is performed, obtain the living judgment condition, and configure the living judgment condition in the terminal device. In the process of fingerprint recognition, after the terminal device collects multiple optical signals in the preset feature area, it determines whether the user's finger is a living body. Specifically, if the collected optical signals of the preset feature area satisfy the living body judgment condition, it is determined that the user's finger is a living body; otherwise, the user's finger is a non-living body.
在一种具体实现中,获取判断条件可以包括:所述多个光信号中最后采集的多个光信号(例如可以是三个光信号)均不是第二光信号,所述第二光信号为所述多个光信号中信号强度最低的光信号;所述多个光信号中信号强度最低的该第二光信号之后的所有光信号的变异系数大于第一预设阈值;所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二光信号 的信号强度的增幅大于第二预设阈值。In a specific implementation, acquiring the judgment condition may include: none of the multiple optical signals (for example, three optical signals) collected last in the multiple optical signals are not the second optical signal, and the second optical signal is The optical signal with the lowest signal intensity among the plurality of optical signals; the coefficient of variation of all the optical signals after the second optical signal with the lowest signal intensity among the plurality of optical signals is greater than the first preset threshold; the plurality of optical signals The increase of the signal intensity of the last detected optical signal in the signal compared to the signal intensity of the second optical signal is greater than the second preset threshold.
本方案的具体实现中,举例来说可采用如图7所示实施例的终端设备,选取的特征区域的位置及数量相同。在某一场景下,像素阵列中预设特征区域短曝光时间为0.5ms,连续采集8次信号,获取的光信号的强度变化如图13所示,图13为本申请实施例提供的有一种光信号强度变化示意图。其中图13中的(a)示出了活体手指获取的信号变化。首先通过实施例一中的判断模型判断手指是否覆盖特征区域。在判断手指是覆盖特征区域后进一步判断手指是否来自活体手指。一种用于判断手指是否来自于活体的标准如下:In the specific implementation of this solution, for example, the terminal device in the embodiment shown in FIG. 7 may be used, and the positions and numbers of the selected feature areas are the same. In a certain scene, the short exposure time of the preset feature area in the pixel array is 0.5ms, and the signals are continuously collected 8 times. The intensity change of the obtained optical signal is shown in FIG. 13 . FIG. 13 provides an embodiment of the present application with a Schematic diagram of the change of light signal intensity. Wherein (a) in Fig. 13 shows the signal change acquired by the living finger. First, it is judged whether the finger covers the characteristic area through the judgment model in the first embodiment. After judging whether the finger is covering the feature area, it is further judged whether the finger is from a living finger. A criterion for judging whether a finger is from a living body is as follows:
1,多次采集的光信号中最后的三次光信号均不是强度最低信号;1. The last three optical signals in the optical signals collected multiple times are not the lowest intensity signals;
2,对最低信号及其之后的光信号计算变异系数,变异系数需大于一阈值,这一阈值可以为8%,该阈值的具体数值可根据实际情况进行设置。2. Calculate the coefficient of variation for the lowest signal and subsequent optical signals. The coefficient of variation must be greater than a threshold. This threshold can be 8%. The specific value of the threshold can be set according to the actual situation.
3,多次采集的光信号中最后一次采集的光信号较强度最低信号增加幅度超过一定阈值,这一阈值可以为30%,该阈值的具体数值可根据实际情况进行设置;3. Among the optical signals collected for multiple times, the increase of the last collected optical signal exceeds a certain threshold compared with the signal with the lowest intensity. This threshold can be 30%, and the specific value of the threshold can be set according to the actual situation;
终端设备在确定检测到的预设特征区域的多个光信号同时满足以上三个条件时,可确定用户手指为活体,否则,可以确定手指为非活体。The terminal device may determine that the user's finger is a living body when it is determined that the detected multiple optical signals of the preset feature area meet the above three conditions simultaneously, otherwise, it may determine that the finger is not a living body.
图13中的(b)示出了非活体手指获取的信号变化。同活体指纹类似,可以用同实施例一中的判断方法判断手指覆盖了特征区域。但是利用上述的判断模型进一步判断手指是否来自活体时,短曝光时间多次采集的信号不满足前述三个条件。据此可以判定该指纹为非活体指纹。(b) in FIG. 13 shows the signal variation acquired by a non-living finger. Similar to the living fingerprint, the same judgment method as in the first embodiment can be used to judge that the finger covers the characteristic area. However, when the above-mentioned judgment model is used to further judge whether the finger is from a living body, the signals collected multiple times with a short exposure time do not satisfy the aforementioned three conditions. Accordingly, it can be determined that the fingerprint is a non-living fingerprint.
本实施例提供的指纹识别方法,除了可通过前述任一实施例提供的方式确定用户手指是否覆盖了特征区域提升解锁效率的同时,提供了一种判定指纹是否是活体指纹的方法,可以有效提升指纹识别的安全等级。The fingerprint identification method provided in this embodiment not only can determine whether the user's finger covers the characteristic area to improve the unlocking efficiency through the methods provided by any of the foregoing embodiments, but also provides a method for determining whether the fingerprint is a living fingerprint, which can effectively improve the unlocking efficiency. The security level of fingerprint recognition.
图14为本申请实施例提供的指纹识别装置实施例一的结构示意图,如图14所示,所述指纹识别装置10包括光学图像采集模块11,所述光学图像采集模块11中包括像素阵列,所述装置还包括:FIG. 14 is a schematic structural diagram of Embodiment 1 of the fingerprint identification device provided by the embodiment of the application. As shown in FIG. 14 , the fingerprint identification device 10 includes an optical image acquisition module 11, and the optical image acquisition module 11 includes a pixel array. The device also includes:
所述光学图像采集模块11,用于在检测到用户手指触摸到所述终端设备的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号;The optical image acquisition module 11 is configured to collect a plurality of optical signals of a preset feature area in the pixel array through multiple exposures when it is detected that the user's finger touches the fingerprint identification area of the terminal device;
处理模块12,用于根据所述预设特征区域的多个光信号,确定所述用户 手指是否覆盖所述预设特征区域;A processing module 12, for determining whether the user's finger covers the preset feature region according to a plurality of light signals of the preset feature region;
所述光学图像采集模块11还用于若所述用户手指覆盖所述预设特征区域,则采集获取指纹图像;The optical image acquisition module 11 is further configured to acquire a fingerprint image if the user's finger covers the preset feature area;
所述处理模块12还用于根据所述指纹图像验证所述用户的身份。The processing module 12 is further configured to verify the identity of the user according to the fingerprint image.
该指纹识别装置10可以实现为终端设备,也可以是终端设备中的一个模块,在该方案中,应理解,该处理模块12能够实现前述实施例中图5所示的触摸控制模块和信号处理模块需要实现的功能,在这里作为概括。The fingerprint identification device 10 may be implemented as a terminal device, or may be a module in the terminal device. In this solution, it should be understood that the processing module 12 can implement the touch control module and signal processing shown in FIG. 5 in the foregoing embodiment. The functions that the module needs to implement are summarized here.
本实施例提供的指纹识别装置,能够实现前述任一方法实施例中的技术方案,其实现原理和技术效果类似,通过软件的方式在像素阵列中设置特征区域,在进行指纹验证时,通过预先设置特征区域的光信号的检测,确定用户手指覆盖到预设的特征区域,在覆盖到之后再进行指纹图像验证,没有覆盖的时候提醒用户,避免在用户手指未放置在合适的位置就进行指纹识别导致指纹失败或者直接拒绝的问题,降低指纹识别的拒真率。The fingerprint identification device provided in this embodiment can implement the technical solutions in any of the foregoing method embodiments. The implementation principle and technical effect are similar. The characteristic area is set in the pixel array by means of software. Set the detection of the light signal in the characteristic area, confirm that the user's finger covers the preset characteristic area, and then perform fingerprint image verification after covering, remind the user when it is not covered, and avoid fingerprinting when the user's finger is not placed in a suitable position. Identify the problems that lead to fingerprint failure or direct rejection, and reduce the rejection rate of fingerprint identification.
图15为本申请实施例提供的指纹识别装置实施例二的结构示意图,如图15所示,在上述实施例的基础上,所述指纹识别装置10还包括:FIG. 15 is a schematic structural diagram of Embodiment 2 of the fingerprint identification device provided by the embodiment of the application. As shown in FIG. 15 , on the basis of the foregoing embodiment, the fingerprint identification device 10 further includes:
显示模块13,所述处理模块12还用于若所述用户手指未覆盖所述预设特征区域,则通过所述显示模块13推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者结束指纹识别过程。The display module 13, the processing module 12 is further configured to push the prompt information through the display module 13 if the user's finger does not cover the preset feature area, and the prompt information is used to prompt the user to reposition the finger position , or to end the fingerprinting process.
在上述图14或图15所示的实施例的基础上,所述处理模块12还用于:On the basis of the above embodiment shown in FIG. 14 or FIG. 15 , the processing module 12 is also used for:
获取所述指纹识别装置10当前进行指纹识别的安全等级;Acquiring the security level of the fingerprint identification device 10 currently performing fingerprint identification;
根据所述安全等级从预设的所述至少一个特征区域中确定所述预设特征区域。The preset feature area is determined from the preset at least one feature area according to the security level.
可选的,所述光学图像采集模块11具体用于:Optionally, the optical image acquisition module 11 is specifically used for:
在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。The short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
可选的,所述光学图像采集模块11具体用于对所述预设特征区域中的像素以像素叠加的方式获取所述多个光信号。Optionally, the optical image acquisition module 11 is specifically configured to acquire the plurality of optical signals for the pixels in the preset feature area in a pixel stacking manner.
可选的,所述处理模块12具体用于:Optionally, the processing module 12 is specifically used for:
根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中 光信号强度的变化程度;According to the collected multiple optical signals of the preset feature area, a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所述预设特征区域;If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
可选的,所述处理模块12还用于:Optionally, the processing module 12 is also used for:
获取所述指纹识别装置10所处环境光信号;acquiring the ambient light signal where the fingerprint identification device 10 is located;
根据所述环境光信号的强度,确定所述变异系数阈值。The coefficient of variation threshold is determined according to the intensity of the ambient light signal.
可选的,所述环境光信号强度高低与所述变异系数阈值正相关或者负相关。Optionally, the intensity of the ambient light signal is positively correlated or negatively correlated with the coefficient of variation threshold.
可选的,所述处理模块12具体用于:Optionally, the processing module 12 is specifically used for:
根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值;obtaining the coefficient of variation threshold corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation;
或者,or,
根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard variation coefficient threshold;
在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。The threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
可选的,所述处理模块12具体用于:Optionally, the processing module 12 is specifically used for:
获取采集到的所述预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号;acquiring a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
可选的,若采集光信号时采用的激励光源为红外光源,所述处理模块12具体用于:Optionally, if the excitation light source used when collecting the optical signal is an infrared light source, the processing module 12 is specifically used for:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间晚于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
可选的,若采集光信号时采用的激励光源为所述指纹识别装置的屏幕发射的可见光,所述处理模块12具体用于:Optionally, if the excitation light source used when collecting the optical signal is the visible light emitted by the screen of the fingerprint identification device, the processing module 12 is specifically used for:
若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
可选的,所述处理模块12还用于:Optionally, the processing module 12 is also used for:
获取所述指纹识别装置10所处环境光信号;acquiring the ambient light signal where the fingerprint identification device 10 is located;
根据所述环境光信号的强度,确定所述预设比例。The preset ratio is determined according to the intensity of the ambient light signal.
可选的,所述处理模块12具体用于:Optionally, the processing module 12 is specifically used for:
根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例;obtaining the preset ratio corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change;
或者,or,
根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard ratio of the intensity change;
在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。The ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
可选的,所述处理模块12还用于:Optionally, the processing module 12 is also used for:
根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体;determining whether the user's finger is a living body according to a plurality of light signals in the preset feature area and preset living body judgment conditions;
若所述预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;If the plurality of optical signals in the preset feature area satisfy the living body judgment condition, determining that the user's finger is a living body;
否则所述用户手指为非活体;Otherwise, the user's finger is non-living;
其中,所述活体判断条件包括:Wherein, the living body judgment conditions include:
所述多个光信号中最后采集的三个光信号均不是第二光信号,所述第二光信号为所述多个光信号中信号强度最低的光信号;None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
所述多个光信号中的所述第二光信号之后的所有光信号的变异系数大于第一预设阈值;coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold;
所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二光信号的信号强度的增幅大于第二预设阈值。The increase of the signal intensity of the last detected optical signal among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
在上述任一实施例的具体实现中,应理解,处理模块12获取环境光信号指的是处理模块12从用于采集环境光的传感器中获取其采集到的环境光 信号,例如,处理模块12接收环境光传感器发送的环境光信号。In the specific implementation of any of the above embodiments, it should be understood that acquiring the ambient light signal by the processing module 12 means that the processing module 12 acquires the ambient light signal collected by the sensor for collecting ambient light. For example, the processing module 12 Receive the ambient light signal sent by the ambient light sensor.
上述任一种实施方式提供的指纹识别装置,用于实现前述方法实施例中的技术方案,其实现原理和技术效果类似,在此不再赘述。The fingerprint identification device provided by any of the above embodiments is used to implement the technical solutions in the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and are not repeated here.
图16为本申请实施例提供的终端设备的结构示意图,如图16所示,本实施例提供的终端设备20,包括:FIG. 16 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 16 , the terminal device 20 provided by this embodiment includes:
处理器21,存储器22,显示屏23,触摸控制模块24,以及指纹识别装置25; processor 21, memory 22, display screen 23, touch control module 24, and fingerprint identification device 25;
所述存储器22用于存储计算机程序;The memory 22 is used to store computer programs;
所述指纹识别装置25包括光学图像采集模块,所述光学图像采集模块中包括像素阵列;The fingerprint identification device 25 includes an optical image acquisition module, and the optical image acquisition module includes a pixel array;
所述处理器21执行所述存储器22存储的所述计算机程序,使得所述终端设备执行前述任一方法实施例中提供的技术方案。The processor 21 executes the computer program stored in the memory 22, so that the terminal device executes the technical solutions provided in any of the foregoing method embodiments.
该终端设备10的上述各个器件之间可以通过总线连接。可选的,所述像素阵列中设置有滤色器,所述滤色器透过的波段范围包括用于指纹识别的波段。The above-mentioned components of the terminal device 10 may be connected through a bus. Optionally, a color filter is provided in the pixel array, and the wavelength band range through which the color filter passes includes a wavelength band used for fingerprint identification.
存储器22可以是单独的存储单元,也可以是集成在处理器21中的存储单元。处理器21的数量为一个或者多个。The memory 22 may be a separate storage unit, or may be a storage unit integrated in the processor 21 . The number of processors 21 is one or more.
在上述在终端设备20的实现中,存储器和处理器之间直接或间接地电性连接,以实现数据的传输或交互,也就是存储器和处理器可以通过接口连接,也可以集成在一起。例如,这些元件相互之间可以通过一条或者多条通信总线或信号线实现电性连接,如可以通过总线连接。存储器中存储有实现数据访问控制方法的计算机执行指令,包括至少一个可以软件或固件的形式存储于存储器中的软件功能模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理。In the above implementation of the terminal device 20, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction, that is, the memory and the processor can be connected through an interface or integrated together. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines, such as can be connected through a bus. The memory stores computer-executed instructions for implementing the data access control method, including at least one software function module that can be stored in the memory in the form of software or firmware, and the processor executes various software programs and modules by running the software programs and modules stored in the memory. Functional application and data processing.
存储器可以是,但不限于,随机存取存储器(Random Access Memory,简称:RAM),只读存储器(Read Only Memory,简称:ROM),可编程只读存储器(Programmable Read-Only Memory,简称:PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,简称:EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,简称:EEPROM)等。其中,存储器用于存储程序,处理器在接收到执行指令后, 执行程序。进一步地,上述存储器内的软件程序以及模块还可包括操作系统,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通信,从而提供其他软件组件的运行环境。The memory can be, but is not limited to, random access memory (Random Access Memory, referred to as: RAM), read-only memory (Read Only Memory, referred to as: ROM), programmable read-only memory (Programmable Read-Only Memory, referred to as: PROM) ), Erasable Programmable Read-Only Memory (EPROM, referred to as: EPROM), Electrically Erasable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, referred to as: EEPROM), etc. The memory is used to store the program, and the processor executes the program after receiving the execution instruction. Further, the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may Intercommunicate with various hardware or software components to provide the operating environment for other software components.
处理器可以是一种集成电路芯片,具有信号的处理能力。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称:CPU)、图像处理器等,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。The processor may be an integrated circuit chip with signal processing capability. The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), an image processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
本申请还提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序存储在所述可读存储介质中,所述计算机程序用于实现前述任一方法实施例中的技术方案。The present application further provides a storage medium, including: a readable storage medium and a computer program, where the computer program is stored in the readable storage medium, and the computer program is used to implement the technical solutions in any of the foregoing method embodiments .
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。在本申请的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。It can be understood that, the various numbers and numbers involved in the embodiments of the present application are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application. In the embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not imply the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute the implementation process of the embodiments of the present application. any restrictions.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. Scope.

Claims (31)

  1. 一种指纹识别方法,其特征在于,应用于终端设备,所述终端设备包括指纹识别装置,所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列,所述方法包括:A fingerprint identification method, characterized in that it is applied to a terminal device, the terminal device includes a fingerprint identification device, the fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array, and the method includes :
    在检测到用户手指触摸到所述终端设备的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号;When detecting that the user's finger touches the fingerprint recognition area of the terminal device, collect multiple optical signals of the preset feature area in the pixel array through multiple exposures;
    根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域;determining whether the user's finger covers the preset characteristic area according to a plurality of optical signals of the preset characteristic area;
    若所述用户手指覆盖所述预设特征区域,则采集获取指纹图像;If the user's finger covers the preset feature area, collecting a fingerprint image;
    根据所述指纹图像验证所述用户的身份。The identity of the user is verified based on the fingerprint image.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若所述用户手指未覆盖所述预设特征区域,则推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者结束指纹识别过程。If the user's finger does not cover the preset feature area, prompt information is pushed, and the prompt information is used to prompt the user to reposition the finger, or to end the fingerprint identification process.
  3. 根据权利要求1所述的方法,其特征在于,所述在检测到用户手指触摸到所述终端设备的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号之前,所述方法还包括:The method according to claim 1, wherein when it is detected that the user's finger touches the fingerprint recognition area of the terminal device, collecting a plurality of lights in a preset feature area in the pixel array through multiple exposures Before the signal, the method further includes:
    获取所述终端设备当前进行指纹识别的安全等级;Obtain the current security level of fingerprint identification performed by the terminal device;
    根据所述安全等级从预设的所述至少一个特征区域中确定所述预设特征区域。The preset feature area is determined from the preset at least one feature area according to the security level.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述通过多次曝光采集所述像素阵列中预设特征区域的多个信号,包括:The method according to any one of claims 1 to 3, wherein the collecting a plurality of signals of a preset feature area in the pixel array by multiple exposures comprises:
    在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。The short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
  5. 根据权利要求4所述的方法,其特征在于,所述预设特征区域中的像素以像素叠加的方式获取所述多个光信号。The method according to claim 4, wherein the pixels in the preset characteristic area acquire the plurality of optical signals in a pixel stacking manner.
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域,包括:The method according to claim 4, wherein the determining whether the user's finger covers the preset characteristic area according to a plurality of optical signals in the preset characteristic area comprises:
    根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中光信号强度的变化程度;According to the collected multiple optical signals of the preset feature area, a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
    若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所述预设特征区域。If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    获取所述终端设备所处环境光信号;obtaining an ambient light signal where the terminal device is located;
    根据所述环境光信号的强度,确定所述变异系数阈值。The coefficient of variation threshold is determined according to the intensity of the ambient light signal.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述环境光信号的强度,确定所述变异系数阈值,包括:The method according to claim 7, wherein the determining the coefficient of variation threshold according to the intensity of the ambient light signal comprises:
    根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值;obtaining the coefficient of variation threshold corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation;
    或者,or,
    根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard variation coefficient threshold;
    在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。The threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
  9. 根据权利要求4所述的方法,其特征在于,所述根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域,包括:The method according to claim 4, wherein the determining whether the user's finger covers the preset characteristic area according to a plurality of optical signals in the preset characteristic area comprises:
    获取采集到的所述预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号;acquiring a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
    根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
  10. 根据权利要求9所述的方法,其特征在于,若采集光信号时采用的激励光源为红外光源,所述根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域,包括:The method according to claim 9, wherein, if the excitation light source used when collecting the optical signal is an infrared light source, the method according to the ratio of the intensity reduction of the second optical signal compared with that of the first optical signal and the prediction Setting a scale to determine whether the user's finger covers the preset feature area, including:
    若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间晚于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域。If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then It is determined that the user's finger covers the preset feature area.
  11. 根据权利要求9所述的方法,其特征在于,若采集光信号时采用的激励光源为所述终端设备的屏幕发射的可见光,所述根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否 覆盖所述预设特征区域,包括:The method according to claim 9, wherein if the excitation light source used when collecting the optical signal is visible light emitted by the screen of the terminal device, comparing the first optical signal according to the second optical signal The ratio of signal strength reduction and the preset ratio to determine whether the user's finger covers the preset feature area, including:
    若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域。If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then It is determined that the user's finger covers the preset feature area.
  12. 根据权利要求9至11任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 11, wherein the method further comprises:
    获取所述终端设备所处环境光信号;obtaining an ambient light signal where the terminal device is located;
    根据所述环境光信号的强度,确定所述预设比例。The preset ratio is determined according to the intensity of the ambient light signal.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述环境光信号的强度,确定所述预设比例,包括:The method according to claim 12, wherein the determining the preset ratio according to the intensity of the ambient light signal comprises:
    根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例;obtaining the preset ratio corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change;
    或者,or,
    根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard ratio of the intensity change;
    在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。The ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
  14. 根据权利要求1至3任一项所述的方法,其特征在于,在确定所述用户手指覆盖所述预设特征区域之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein after determining that the user's finger covers the preset feature area, the method further comprises:
    根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体;determining whether the user's finger is a living body according to a plurality of light signals in the preset feature area and preset living body judgment conditions;
    若所述预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;If the plurality of optical signals in the preset feature area satisfy the living body judgment condition, determining that the user's finger is a living body;
    否则所述用户手指为非活体;Otherwise, the user's finger is non-living;
    其中,所述活体判断条件包括:Wherein, the living body judgment conditions include:
    所述多个光信号中最后采集的三个光信号均不是第二光信号,所述第二光信号为所述多个光信号中信号强度最低的光信号;None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
    所述多个光信号中的所述第二光信号之后的所有光信号的变异系数大于第一预设阈值;coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold;
    所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二 光信号的信号强度的增幅大于第二预设阈值。The increase of the signal intensity of the optical signal detected last time among the plurality of optical signals compared with the signal intensity of the second optical signal is greater than a second preset threshold.
  15. 一种指纹识别装置,其特征在于,所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列,所述装置还包括:A fingerprint identification device, characterized in that the fingerprint identification device includes an optical image acquisition module, the optical image acquisition module includes a pixel array, and the device further includes:
    所述光学图像采集模块,用于在检测到用户手指触摸到所述指纹识别装置的指纹识别区域时,通过多次曝光采集所述像素阵列中预设特征区域的多个光信号;The optical image acquisition module is configured to collect a plurality of optical signals of a preset feature area in the pixel array through multiple exposures when detecting that the user's finger touches the fingerprint identification area of the fingerprint identification device;
    处理模块,用于根据所述预设特征区域的多个光信号,确定所述用户手指是否覆盖所述预设特征区域;a processing module, configured to determine whether the user's finger covers the preset feature region according to a plurality of optical signals in the preset feature region;
    所述光学图像采集模块还用于若所述用户手指覆盖所述预设特征区域,则采集获取指纹图像;The optical image acquisition module is further configured to acquire a fingerprint image if the user's finger covers the preset feature area;
    所述处理模块还用于根据所述指纹图像验证所述用户的身份。The processing module is further configured to verify the identity of the user according to the fingerprint image.
  16. 根据权利要求15所述的装置,其特征在于,所述装置还包括:显示模块,所述处理模块还用于若所述用户手指未覆盖所述预设特征区域,则通过所述显示模块推送提示信息,所述提示信息用于提示用户重新摆放手指位置,或者结束指纹识别过程。The device according to claim 15, characterized in that, the device further comprises: a display module, and the processing module is further configured to, if the user's finger does not cover the preset feature area, push the message through the display module Prompt information, where the prompt information is used to prompt the user to reposition the finger, or to end the fingerprint identification process.
  17. 根据权利要求15所述的装置,其特征在于,所述处理模块还用于:The apparatus according to claim 15, wherein the processing module is further configured to:
    获取所述指纹识别装置当前进行指纹识别的安全等级;Obtain the security level of the fingerprint identification device currently performing fingerprint identification;
    根据所述安全等级从预设的所述至少一个特征区域中确定所述预设特征区域。The preset feature area is determined from the preset at least one feature area according to the security level.
  18. 根据权利要求15至17任一项所述的装置,其特征在于,所述光学图像采集模块具体用于:The device according to any one of claims 15 to 17, wherein the optical image acquisition module is specifically used for:
    在所述预设特征区域以第一预设曝光时间进行预设次数的短曝光信号采集,得到所述预设特征区域的多个光信号。The short exposure signal collection is performed for a preset number of times in the preset characteristic area with a first preset exposure time, so as to obtain a plurality of optical signals in the preset characteristic area.
  19. 根据权利要求18所述的装置,其特征在于,所述光学图像采集模块具体用于对所述预设特征区域中的像素以像素叠加的方式获取所述多个光信号。The device according to claim 18, wherein the optical image acquisition module is specifically configured to acquire the plurality of optical signals for pixels in the preset characteristic area in a pixel superposition manner.
  20. 根据权利要求18所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 18, wherein the processing module is specifically configured to:
    根据采集到的所述预设特征区域的多个光信号,获取在所述预设特征区 域中的光信号强度的变异系数,所述变异系数用于表示所述预设特征区域中光信号强度的变化程度;According to the collected multiple optical signals in the preset feature area, a coefficient of variation of the optical signal intensity in the preset feature area is obtained, where the coefficient of variation is used to represent the intensity of the optical signal in the preset feature area degree of change;
    若所述变异系数大于预设的变异系数阈值,则确定所述用户手指覆盖所述预设特征区域;If the coefficient of variation is greater than a preset coefficient of variation threshold, it is determined that the user's finger covers the preset feature area;
    否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
  21. 根据权利要求20所述的装置,其特征在于,所述处理模块还用于:The apparatus according to claim 20, wherein the processing module is further configured to:
    获取所述指纹识别装置所处环境光信号;acquiring the ambient light signal where the fingerprint identification device is located;
    根据所述环境光信号的强度,确定所述变异系数阈值;其中,所述环境光信号强度高低与所述变异系数阈值大小成正比。The coefficient of variation threshold is determined according to the intensity of the ambient light signal; wherein, the intensity of the ambient light signal is proportional to the threshold of the coefficient of variation.
  22. 根据权利要求21所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 21, wherein the processing module is specifically configured to:
    根据预先配置的环境光信号强度与变异系数阈值之间的对应关系,获取与所述环境光信号的强度对应的所述变异系数阈值;obtaining the coefficient of variation threshold corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the threshold of the coefficient of variation;
    或者,or,
    根据预设标准环境光强度和标准变异系数阈值,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard variation coefficient threshold;
    在所述标准变异系数阈值上增加或者减少所述差值对应的阈值变化值,得到所述变异系数阈值。The threshold change value corresponding to the difference is increased or decreased on the standard coefficient of variation threshold to obtain the coefficient of variation threshold.
  23. 根据权利要求18所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 18, wherein the processing module is specifically configured to:
    获取采集到的所述预设特征区域的多个光信号中的信号强度最大的第一光信号和信号强度最小的第二光信号;acquiring a first optical signal with the largest signal intensity and a second optical signal with the smallest signal intensity among the multiple optical signals collected in the preset characteristic area;
    根据所述第二光信号相较所述第一光信号信号强度降低的比例和预设比例,确定所述用户手指是否覆盖所述预设特征区域。Whether the user's finger covers the preset feature area is determined according to the ratio of the decrease in the signal strength of the second optical signal compared to the first optical signal and a preset ratio.
  24. 根据权利要求23所述的装置,其特征在于,若采集光信号时采用的激励光源为红外光源,所述处理模块具体用于:The device according to claim 23, wherein, if the excitation light source used when collecting the optical signal is an infrared light source, the processing module is specifically used for:
    若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间晚于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is later than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
    否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
  25. 根据权利要求23所述的装置,其特征在于,若采集光信号时采用的激励光源为所述指纹识别装置的屏幕发射的可见光,所述处理模块具体用于:The device according to claim 23, wherein if the excitation light source used when collecting the optical signal is visible light emitted by the screen of the fingerprint identification device, the processing module is specifically used for:
    若所述第二光信号相较所述第一光信号信号强度降低的比例超过所述预设比例,且所述第一光信号的出现时间早于所述第二光信号的出现时间,则确定所述用户手指覆盖所述预设特征区域;If the ratio of the intensity reduction of the second optical signal compared to the first optical signal exceeds the preset ratio, and the appearance time of the first optical signal is earlier than the appearance time of the second optical signal, then determining that the user's finger covers the preset feature area;
    否则,确定所述用户手指未覆盖所述预设特征区域。Otherwise, it is determined that the user's finger does not cover the preset feature area.
  26. 根据权利要求23至25任一项所述的装置,其特征在于,所述处理模块还用于:The device according to any one of claims 23 to 25, wherein the processing module is further configured to:
    获取所述指纹识别装置所处环境光信号;acquiring an ambient light signal where the fingerprint identification device is located;
    根据所述环境光信号的强度,确定所述预设比例。The preset ratio is determined according to the intensity of the ambient light signal.
  27. 根据权利要求26所述的装置,其特征在于,所述处理模块具体用于:The apparatus according to claim 26, wherein the processing module is specifically configured to:
    根据预先配置的环境光信号强度与强度变化的比例之间的对应关系,获取与所述环境光信号的强度对应的所述预设比例;obtaining the preset ratio corresponding to the intensity of the ambient light signal according to the preconfigured correspondence between the intensity of the ambient light signal and the ratio of the intensity change;
    或者,or,
    根据预设标准环境光强度和强度变化的标准比例,获取所述环境光信号的强度与所述标准环境光强度的差值;obtaining the difference between the intensity of the ambient light signal and the standard ambient light intensity according to the preset standard ambient light intensity and the standard ratio of the intensity change;
    在所述标准比例上增加或者减少所述差值对应的比例变化值,得到所述预设比例。The ratio change value corresponding to the difference value is increased or decreased from the standard ratio to obtain the preset ratio.
  28. 根据权利要求15至17任一项所述的装置,其特征在于,所述处理模块还用于:The device according to any one of claims 15 to 17, wherein the processing module is further configured to:
    根据所述预设特征区域的多个光信号和预设的活体判断条件,确定所述用户手指是否为活体;determining whether the user's finger is a living body according to a plurality of light signals in the preset characteristic area and a preset living body judgment condition;
    若所述预设特征区域的多个光信号满足所述活体判断条件,则确定所述用户手指为活体;If the plurality of optical signals in the preset feature area satisfy the living body judgment condition, determining that the user's finger is a living body;
    否则所述用户手指为非活体;Otherwise, the user's finger is non-living;
    其中,所述活体判断条件包括:Wherein, the living body judgment conditions include:
    所述多个光信号中最后采集的三个光信号均不是第二光信号,所述第二 光信号为所述多个光信号中信号强度最低的光信号;None of the last three optical signals collected in the plurality of optical signals is a second optical signal, and the second optical signal is an optical signal with the lowest signal intensity among the plurality of optical signals;
    所述多个光信号中的所述第二光信号之后的所有光信号的变异系数大于第一预设阈值;coefficients of variation of all optical signals following the second optical signal in the plurality of optical signals are greater than a first preset threshold;
    所述多个光信号中最后一次检测到的光信号的信号强度相较于所述第二光信号的信号强度的增幅大于第二预设阈值。The increase of the signal intensity of the last detected optical signal among the plurality of optical signals compared to the signal intensity of the second optical signal is greater than a second preset threshold.
  29. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it includes:
    处理器,存储器,显示屏,触摸控制模块,以及指纹识别装置;Processor, memory, display screen, touch control module, and fingerprint identification device;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述指纹识别装置包括光学图像采集模块,所述光学图像采集模块中包括像素阵列;The fingerprint identification device includes an optical image acquisition module, and the optical image acquisition module includes a pixel array;
    所述处理器执行所述存储器存储的所述计算机程序,使得所述终端设备执行权利要求1至14任一项所述的指纹识别方法。The processor executes the computer program stored in the memory, so that the terminal device executes the fingerprint identification method according to any one of claims 1 to 14.
  30. 根据权利要求29所述的终端设备,其特征在于,所述像素阵列中设置有滤色器,所述滤色器透过的波段范围包括用于指纹识别的波段。The terminal device according to claim 29, wherein a color filter is provided in the pixel array, and a wavelength band range through which the color filter passes includes a wavelength band used for fingerprint identification.
  31. 一种存储介质,其特征在于,包括:可读存储介质和计算机程序,所述计算机程序存储在所述可读存储介质中,所述计算机程序用于实现权利要求1至14任一项所述的指纹识别方法。A storage medium, comprising: a readable storage medium and a computer program, wherein the computer program is stored in the readable storage medium, and the computer program is used to implement any one of claims 1 to 14. fingerprint identification method.
PCT/CN2020/108437 2020-08-11 2020-08-11 Fingerprint recognition method and apparatus, and terminal device WO2022032479A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108437 WO2022032479A1 (en) 2020-08-11 2020-08-11 Fingerprint recognition method and apparatus, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108437 WO2022032479A1 (en) 2020-08-11 2020-08-11 Fingerprint recognition method and apparatus, and terminal device

Publications (1)

Publication Number Publication Date
WO2022032479A1 true WO2022032479A1 (en) 2022-02-17

Family

ID=80247566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108437 WO2022032479A1 (en) 2020-08-11 2020-08-11 Fingerprint recognition method and apparatus, and terminal device

Country Status (1)

Country Link
WO (1) WO2022032479A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122760A (en) * 2017-05-16 2017-09-01 广东欧珀移动通信有限公司 Fingerprint identification method and related product
US20190102598A1 (en) * 2017-09-30 2019-04-04 Shenzhen GOODIX Technology Co., Ltd. Method and apparatus of fingerprint identification and terminal device
CN109948588A (en) * 2019-03-31 2019-06-28 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109993120A (en) * 2019-03-31 2019-07-09 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110268418A (en) * 2019-05-06 2019-09-20 深圳市汇顶科技股份有限公司 The method, apparatus and electronic equipment of fingerprint detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122760A (en) * 2017-05-16 2017-09-01 广东欧珀移动通信有限公司 Fingerprint identification method and related product
US20190102598A1 (en) * 2017-09-30 2019-04-04 Shenzhen GOODIX Technology Co., Ltd. Method and apparatus of fingerprint identification and terminal device
CN109948588A (en) * 2019-03-31 2019-06-28 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109993120A (en) * 2019-03-31 2019-07-09 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110268418A (en) * 2019-05-06 2019-09-20 深圳市汇顶科技股份有限公司 The method, apparatus and electronic equipment of fingerprint detection

Similar Documents

Publication Publication Date Title
EP3657381B1 (en) Fingerprint recognition apparatus and method, and terminal device
KR102430083B1 (en) Fingerprint identification devices and electronic devices
US10747984B2 (en) Method and apparatus of fingerprint identification and terminal device
CN210142330U (en) Fingerprint identification device and terminal equipment
JP5609970B2 (en) Control access to wireless terminal functions
CN111133446B (en) Fingerprint identification device and electronic equipment
JP2018032391A (en) Liveness test method and apparatus
JP5709016B2 (en) Fake finger determination device, fake finger determination method, and fake finger determination program
CN110214328B (en) Fingerprint identification method and device and electronic equipment
CN111950446A (en) Fingerprint identification method and device and terminal equipment
CN110226171B (en) Method and electronic equipment for guiding user to register fingerprint
WO2022032479A1 (en) Fingerprint recognition method and apparatus, and terminal device
KR102014394B1 (en) Authentication method for portable secure authentication apparatus with improved security for fake fingerprints
CN111242111B (en) Fingerprint identification method and device and electronic equipment
WO2021217476A1 (en) Fingerprint identification method, apparatus, and electronic device
CN109564624B (en) Method and device for identifying fingerprint Logo and electronic equipment
KR102089618B1 (en) Method and system for collecting means of publictransportation fares using bi0-information
CN113065487A (en) Fingerprint identification method and device and electronic equipment
KR102014410B1 (en) Portable secure authentication apparatus with improved security for fake fingerprints
WO2020227938A1 (en) Method for guiding user to register fingerprint and electronic device
WO2013128699A4 (en) Biometric authentication device and control device
CN115188033A (en) Fingerprint identification method, electronic equipment, storage medium and program product

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

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

Country of ref document: EP

Kind code of ref document: A1