WO2023245357A1 - Fingerprint recognition method and apparatus, and device and storage medium - Google Patents

Fingerprint recognition method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2023245357A1
WO2023245357A1 PCT/CN2022/099920 CN2022099920W WO2023245357A1 WO 2023245357 A1 WO2023245357 A1 WO 2023245357A1 CN 2022099920 W CN2022099920 W CN 2022099920W WO 2023245357 A1 WO2023245357 A1 WO 2023245357A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
fingerprint recognition
recognition
image data
scene
Prior art date
Application number
PCT/CN2022/099920
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/CN2022/099920 priority Critical patent/WO2023245357A1/en
Priority to CN202280004397.4A priority patent/CN117859133A/en
Publication of WO2023245357A1 publication Critical patent/WO2023245357A1/en

Links

Images

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to a fingerprint identification method, device, equipment and storage medium.
  • the length of exposure time directly affects the signal-to-noise ratio of the fingerprint image.
  • the longer the exposure time the lower the signal-to-noise ratio.
  • the higher the noise ratio the higher the success rate of fingerprint recognition.
  • the exposure time is the time the user's finger is placed on the screen. In order to improve the success rate of fingerprint recognition, the longer the exposure time is required, the longer the user's finger is required to be placed on the screen, resulting in a worse user experience using fingerprint recognition. .
  • the present disclosure provides a fingerprint identification method, device, equipment and storage medium.
  • a fingerprint identification method includes:
  • a fingerprint recognition operation corresponding to the fingerprint status scene is performed.
  • performing a fingerprint recognition operation corresponding to the fingerprint status scenario according to the fingerprint status scenario to which the fingerprint recognition input belongs includes:
  • the first fingerprint image data is obtained based on the first exposure process
  • a fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
  • performing the second exposure process within a preset time period after the first exposure process includes:
  • the second exposure process is performed.
  • the fingerprint identification process based on the first fingerprint image data includes:
  • fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
  • performing the second exposure process during the fingerprint identification process based on the first fingerprint image data includes:
  • the second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
  • performing the second exposure process within a preset time period after the first exposure process includes:
  • the second exposure process is performed.
  • the fingerprint identification process based on the first fingerprint image data includes:
  • a fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
  • it also includes:
  • a fingerprint recognition process is performed based on the second fingerprint image data obtained by the second exposure process.
  • it also includes:
  • the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, determine the fingerprint status scene within the target period. For abnormal fingerprint recognition scenarios;
  • the scene of fingerprint recognition input by the target user is determined as an abnormal fingerprint recognition scene.
  • the fingerprint identification method further includes:
  • the fingerprint recognition scene is an abnormal fingerprint recognition scene
  • the user who responded to the fingerprint recognition input is the default user, and the scene to which the fingerprint recognition input belongs is determined to be an abnormal fingerprint recognition scene.
  • a fingerprint identification device where the identification device includes:
  • a receiving module configured to receive fingerprint recognition input
  • the first recognition module is configured to perform a fingerprint recognition operation corresponding to the fingerprint status recognition scenario according to the fingerprint status recognition scenario to which the fingerprint recognition input belongs.
  • the first identification module is further configured to:
  • the first fingerprint image data is obtained based on the first exposure process
  • a fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
  • the first identification module is further configured to:
  • the second exposure process is performed.
  • the first identification module is further configured to:
  • fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
  • the first identification module is further configured to:
  • the second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
  • the first identification module is further configured to:
  • the second exposure process is performed.
  • the first identification module is further configured to:
  • a fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
  • it also includes:
  • the second identification module is configured to perform a fingerprint identification process based on the second fingerprint image data obtained by the second exposure process in response to a fingerprint identification failure of the first fingerprint image data.
  • it also includes:
  • the first determination module is configured to: if the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, the The fingerprint status scene within the target period is determined to be an abnormal fingerprint recognition scene;
  • the first determination module is configured to: if the target user's fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, and/or, the target user's fingerprint recognition is successful within the second preset time period If the rate is less than the second preset threshold, the scene of the target user's fingerprint recognition input is determined to be an abnormal fingerprint recognition scene.
  • the fingerprint identification device further includes:
  • a second determination module configured to determine that the fingerprint recognition scene is an abnormal fingerprint recognition scene in response to the time of the fingerprint recognition input belonging to a preset period
  • the second determination module is configured to determine that the user responding to the fingerprint recognition input is the default user and determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
  • an electronic device including:
  • Memory used to store instructions executable by the processor
  • the processor is configured to perform the method according to any one of the first aspects of the embodiments of the present disclosure.
  • a non-transitory computer-readable storage medium which when instructions in the storage medium are executed by a processor of a device, enables the device to perform the first step of the embodiment of the present disclosure.
  • Adopting the above method of the present disclosure has the following beneficial effects: for different fingerprint status scenarios, corresponding fingerprint recognition operations are performed to shorten the overall time of fingerprint recognition and improve the success rate of fingerprint recognition.
  • Figure 1 is a flow chart of a fingerprint identification method according to an exemplary embodiment.
  • FIG. 2 exemplarily shows a flowchart of a method for performing a fingerprint recognition operation corresponding to a fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs in step S102.
  • Figure 3 is a block diagram of a fingerprint identification device according to an exemplary embodiment.
  • FIG. 4 is a block diagram of a device for fingerprint identification according to an exemplary embodiment.
  • the first identification process when identifying fingerprints, includes three processes: first exposure, rapid identification, and complete identification.
  • a second identification is performed, and the second identification process includes Re-exposure and complete identification.
  • Re-exposure increases the signal-to-noise ratio of the fingerprint image by increasing the exposure time to ensure the success rate of fingerprint recognition.
  • the first exposure and the second exposure are in a serial relationship, and the user needs to keep his finger on the screen of the terminal during the exposure process.
  • users whose fingerprints are difficult to identify perform fingerprint recognition their fingers need to be placed on the screen until the exposure is completed again to ensure the success rate of fingerprint recognition. In this case, the recognition time is longer, which affects the user experience.
  • the first exposure time is recorded as T1
  • the quick recognition time is recorded as T2
  • the complete recognition time is recorded as T3.
  • the second recognition process is performed.
  • the re-exposure time is recorded as T1'
  • the complete recognition time based on the re-exposure is recorded as T3, where T1'>T1.
  • a fingerprint identification method is provided, which is applied to a terminal.
  • the terminal includes electronic devices with an under-screen fingerprint identification function, such as smartphones, tablets, and smart wearable devices.
  • Figure 1 is a flow chart of a fingerprint identification method according to an exemplary embodiment. As shown in Figure 1, the fingerprint identification method includes the following steps:
  • Step S101 Receive fingerprint recognition input
  • Step S102 According to the fingerprint status scene to which the fingerprint recognition input belongs, perform a fingerprint recognition operation corresponding to the fingerprint status scene.
  • the fingerprint identification method provided in the exemplary embodiments of the present disclosure is applied to under-screen fingerprint identification.
  • a fingerprint identification method in order to overcome problems in related technologies, a fingerprint identification method is provided. Receive fingerprint recognition input, and perform fingerprint recognition operations corresponding to the fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs, so as to shorten the overall time of fingerprint recognition and improve the success rate of fingerprint recognition.
  • step S101 a fingerprint recognition input is received.
  • the input for fingerprint recognition includes the fingerprint image obtained after the under-screen fingerprint recognition function is triggered. For example, if a finger is placed in a preset area of the terminal display for more than a preset time, or other preset rules can awaken the under-screen fingerprint recognition function, the fingerprint is obtained. image.
  • step S102 according to the fingerprint status scene to which the fingerprint recognition input belongs, a fingerprint recognition operation corresponding to the fingerprint status scene is performed.
  • the status of the fingerprint includes the quality of the fingerprint image.
  • the fingerprint status scenarios include scenarios where the fingerprint image quality is good and the fingerprint is easy to identify, and scenarios where the fingerprint quality is poor and the fingerprint is difficult to identify.
  • the fingerprint status scene to which it belongs is determined, that is, a scene in which the fingerprint image is difficult to identify or a scene in which the fingerprint image is easy to identify.
  • different fingerprint recognition operations are performed for different fingerprint status scenes. For example, for scenes where fingerprint images are easy to identify, a single-exposure fingerprint recognition operation is performed; for scenes where fingerprints are difficult to identify, a double-exposure fingerprint identification operation is performed.
  • the fingerprint status scene may be determined according to the time period to which the input time of the fingerprint recognition input belongs and/or the user of the fingerprint recognition input.
  • the fingerprint status scenario is determined according to the input of fingerprint recognition, and corresponding fingerprint recognition operations are performed for different fingerprint status scenarios to shorten the overall time of fingerprint recognition. , improve the success rate of fingerprint recognition.
  • Figure 2 exemplarily shows a flowchart of a method for performing a fingerprint recognition operation corresponding to a fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs in step S102, as shown in Figure 2. Includes the following steps:
  • Step S201 in response to the fingerprint status scene entered by the fingerprint recognition being an abnormal fingerprint recognition scene, obtain the first fingerprint image data based on the first exposure process;
  • Step S202 Perform a fingerprint recognition process based on the first fingerprint image data, and perform a second exposure process within a preset time period after the first exposure process.
  • the fingerprint recognition input is a fingerprint image that is not easily recognized.
  • the abnormal fingerprint recognition scene can be determined by any method that can determine that the fingerprint recognition input is a fingerprint image that is not easily recognized.
  • the abnormal fingerprint recognition scene can be determined according to The fingerprint image quality or recognition success rate within the preset period can also be based on the environmental scene input by fingerprint recognition, etc.
  • the first fingerprint image data is obtained based on the first exposure process.
  • the recognition success rate is extremely low, so it is necessary to perform fingerprint recognition after the first exposure process.
  • a second exposure process is performed to obtain fingerprint data again and improve the success rate of fingerprint recognition.
  • the preset time period can be 0, or it can be a period of time after the first fingerprint image data is recognized and processed, that is, the second exposure process can be performed at the same time as the first fingerprint image data is processed for fingerprint recognition, or it can be performed during the fingerprint recognition process.
  • the second exposure process is performed before the fingerprint identification process is completed.
  • the second exposure process may also be performed after the fingerprint identification process on the first fingerprint image data is completed.
  • Get the processor type of the terminal Different types of processors handle exposure differently. According to the type of terminal processor, determine whether the terminal supports parallel exposure mode. If the terminal supports parallel exposure mode, it means that the second exposure operation can be done with If other operations are executed at the same time, the second exposure process will be executed before the fingerprint recognition processing of the first fingerprint image data is completed; if the terminal does not support the parallel exposure method, it means that the second exposure operation cannot be executed at the same time as other operations, and then the second exposure operation will be executed at the same time. After the fingerprint recognition process of the first fingerprint image data is completed, the second exposure process is performed.
  • fingerprint-related data is acquired again by performing a second exposure process to improve the success rate of fingerprint identification.
  • performing a second exposure process within a preset time period after the first exposure process includes: performing a second exposure process during a fingerprint recognition process based on the first fingerprint image data. Exposure processing.
  • the second exposure process is performed during the fingerprint recognition process based on the first fingerprint image data, that is, the second exposure process is performed before the fingerprint recognition process on the first fingerprint image data is completed. Since the fingerprint recognition success rate of the first fingerprint image data is extremely low in abnormal fingerprint recognition scenarios, before the fingerprint recognition of the first fingerprint image data fails, the second exposure process is performed in advance to obtain the fingerprint again. Related data can shorten the entire fingerprint identification time.
  • fingerprint recognition processing is performed based on the first fingerprint image data, including the following two situations:
  • the first method is to perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data.
  • the first feature data is part of the feature data of the first fingerprint image data, and the fingerprint recognition process performed on the first feature data is a rapid recognition process.
  • the fingerprint recognition process on the first fingerprint image may only include a quick recognition process.
  • the second method is to perform fingerprint recognition processing based on the first feature data of the first fingerprint image data; after the first feature data recognition of the first fingerprint image data fails, perform fingerprint recognition processing based on the second feature data of the first fingerprint image data. , to complete the fingerprint recognition processing of the first fingerprint image data; the feature data content of the second feature data is more than the feature data content of the first feature data.
  • the second feature data is all or part of the feature data of the fingerprint image data, and the feature data content of the second feature data is more than the feature data content of the first feature data.
  • the fingerprint recognition process performed on the second characteristic data is a complete recognition process.
  • the first feature data is first recognized. After the recognition fails, the fingerprint recognition is then performed on the second feature data that is more than the first feature data.
  • the fingerprint recognition process on the first fingerprint image may include a quick recognition process and a complete recognition process.
  • performing the second exposure process includes: starting the fingerprint recognition process based on the first feature data of the first fingerprint image data. At the same time, the second exposure process is performed.
  • the second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data, that is, the second exposure process is performed at the same time as the rapid recognition.
  • Second exposure After the fingerprint recognition process of the first feature data of the first fingerprint image data is completed, if the recognition fails, it is necessary to execute the fingerprint recognition process of the second feature data of the first fingerprint image data. Since the second exposure process is performed simultaneously with the fingerprint recognition process of the first feature data, if the fingerprint recognition of the second feature data of the first fingerprint image data also fails, the second exposure process has been completed at this time, and the second exposure process is completed again. More fingerprint data is obtained, so fingerprint identification can be performed immediately on the fingerprint data obtained again.
  • the fingerprint identification processing on the fingerprint data obtained by the second exposure process is a complete identification process, so , in the entire process of fingerprint identification, it is equivalent to reducing the time of the second exposure processing, thereby shortening the overall time of fingerprint identification.
  • the time of the first exposure processing is marked as T1
  • the time of the fingerprint recognition processing of the first feature data of the first fingerprint image data is marked as T2
  • the time of the first exposure processing of the first fingerprint image data is marked as T2.
  • the fingerprint recognition processing time of the second characteristic data is recorded as T3, the time of the second exposure processing is T1', and the fingerprint recognition time of the fingerprint data obtained by the second exposure processing is recorded as T3, where T1'>T1.
  • the time of the second exposure process does not occupy additional fingerprint recognition time.
  • the overall duration of fingerprint recognition reduces the second exposure processing time, that is, the fingerprint recognition time is reduced by T1’, and the time that the finger needs to be placed on the screen only requires T1+T1’.
  • the fingerprint recognition process may be started based on the first feature data of the first fingerprint image data at the same time, or the fingerprint recognition process may be started based on the first feature data of the first fingerprint image data.
  • the fingerprint recognition process can also be started based on the second feature data of the first fingerprint image data, as long as it is ensured that Before fingerprint recognition of the second feature data of the first fingerprint image data is completed, the second exposure process is completed.
  • the second exposure process when the terminal supports the parallel exposure mode, while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data, the second exposure process is performed, which can save the second exposure process.
  • the exposure processing time also reduces the time the finger needs to be placed on the terminal screen and the entire fingerprint recognition time, improving the user experience.
  • performing the second exposure process within a preset time period after the first exposure process includes: performing the second exposure process after the first feature data recognition of the first fingerprint image data fails. Exposure processing.
  • the terminal When the terminal supports the serial exposure mode but does not support the parallel exposure mode, in order to shorten the entire fingerprint recognition process, after the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed, that is, during the rapid recognition process A second exposure is performed after recognition failure. After the fingerprint recognition process of the first feature data of the first fingerprint image data is completed, if the recognition fails, it can be determined that a second exposure process is required, and the fingerprint recognition of the second feature data of the first fingerprint image is no longer performed. Therefore, , in the entire process of fingerprint recognition, it is equivalent to reducing the time for fingerprint recognition of the second feature data of the first fingerprint image, thereby shortening the overall time for fingerprint recognition.
  • the time of the first exposure process is marked as T1
  • the time of fingerprint recognition of the first feature data of the first fingerprint image data is marked as T2
  • the time of the second exposure process is marked as T2. It is recorded as T1'
  • the fingerprint identification time of the fingerprint data obtained after the second exposure process is recorded as T3, where T1'>T1.
  • the fingerprint recognition time reduces the recognition time T3 of the second feature data of the second fingerprint image data, and the time the finger needs to be placed on the screen also reduces the recognition time T3 of the second feature data of the second fingerprint image data.
  • the terminal supports the serial exposure mode and is in an abnormal fingerprint recognition scenario
  • the fingerprint recognition of the first feature data of the first fingerprint image fails, the fingerprint recognition of the second feature data of the first fingerprint image data is no longer performed, and the fingerprint recognition is performed directly.
  • the second exposure process saves the time of the entire fingerprint recognition, while reducing the time that the finger needs to be placed on the terminal screen, improving the user experience.
  • performing fingerprint recognition processing based on the first fingerprint image data includes: performing fingerprint recognition processing based on first feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data.
  • the fingerprint recognition processing of the first fingerprint image only includes fingerprint recognition processing based on the first feature data.
  • the fingerprint recognition method further includes: in response to a fingerprint recognition failure of the first fingerprint image data, based on the second fingerprint image obtained by the second exposure process.
  • the data is processed for fingerprint identification.
  • second fingerprint image data is obtained.
  • the second fingerprint image data has more feature data content than the first fingerprint image data, so as to improve the success rate of fingerprint recognition.
  • recognition processing is performed on the second fingerprint image data obtained by the second exposure process.
  • determining abnormal fingerprint recognition scenarios includes the following two situations:
  • the first method If the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, the fingerprint status within the target period will be The scene was determined to be an abnormal fingerprint recognition scene.
  • the first situation is for the time period when fingerprints are not easy to identify.
  • the target period can be set according to actual needs, or the number of consecutive identifications can be set according to actual needs. For example, the target period is set between 10 and 11 p.m. time period, or set to the time period for 100 consecutive fingerprint recognitions.
  • the target period determine whether the fingerprint image quality meets the preset requirements based on parameters related to the fingerprint image quality.
  • the fingerprint status scene within the target period is determined to be abnormal fingerprint recognition. Scenario, that is, it is determined that the end user's fingerprint status is in a state that is difficult to identify during the target period. When the time when fingerprint recognition is performed falls within the target period, the fingerprint recognition scene is determined to be an abnormal fingerprint recognition scene.
  • Second type If the target user’s fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, and/or, the target user’s fingerprint recognition success rate within the second preset time period is less than the second A preset threshold is used to determine the scene of the target user's fingerprint recognition input as an abnormal fingerprint recognition scene.
  • the second case is for users whose fingerprints are difficult to identify. If the target user's fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, or the fingerprint recognition success rate is less than the second preset threshold within the second preset time period, or the fingerprint recognition success rate is less than the second preset threshold within the first preset time period, or the target user's fingerprint image quality meets the preset requirements within the first preset time period. If the number of fingerprint image quality that meets the preset requirements within the time period is less than the first preset threshold, and the fingerprint recognition success rate within the second preset time period is less than the second preset threshold, it means that the user's fingerprint characteristics are special and difficult to identify. , so when the target user needs to perform fingerprint identification, it is determined to be an abnormal fingerprint identification scenario.
  • the above two situations can be used alone or at the same time. It can be based on whether the fingerprint recognition time belongs to the target period, or whether the fingerprint recognition user is the target user, or the abnormal fingerprint recognition scene can be determined based on both the fingerprint recognition time and the fingerprint recognition user.
  • the fingerprint identification method further includes: in response to the time of the fingerprint identification input belonging to a preset period, determining that the fingerprint identification scene is an abnormal fingerprint identification scene; and/or in response to the user inputting the fingerprint identification is Default user determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
  • Users can set abnormal fingerprint recognition scenarios in the terminal, such as setting a preset time period or setting a preset user or setting a preset time period and a preset user at the same time.
  • the time of fingerprint recognition input is within the preset period, or when the user who inputs fingerprint recognition is the preset user, or when the preset user performs fingerprint recognition input within the preset period, it is determined to be an abnormal fingerprint recognition scenario.
  • facial recognition can be performed by calling a camera facing the area where the user's face is located, that is, facial recognition can be performed based on the collected facial image and the pre-stored default user facial image to determine whether the current user (the user input by fingerprint recognition) is the default user.
  • User if the collected facial image matches the preset user facial image, the user is the default user; if the collected facial image does not match the preset user facial image, the user is not the default user.
  • the current user (user input through fingerprint recognition) can be determined by obtaining the identity information of the user currently logged in to the electronic device (such as the ID information of the login account of the electronic device), and then matching the user identity information with the pre-stored default user identity information.
  • the user identity can also be confirmed through iris recognition, etc., to determine whether it is a default user.
  • a fingerprint identification device As shown in Figure 3, the identification device includes:
  • the receiving module 301 is configured to receive fingerprint recognition input
  • the first recognition module 302 is configured to perform a fingerprint recognition operation corresponding to the fingerprint status recognition scenario according to the fingerprint status recognition scenario to which the fingerprint recognition input belongs.
  • the first identification module 302 is further configured to:
  • the first fingerprint image data is obtained based on the first exposure process
  • a fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
  • the first identification module 302 is further configured to:
  • the second exposure process is performed.
  • the first identification module 302 is further configured to:
  • fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
  • the first identification module 302 is further configured to:
  • the second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
  • the first identification module 302 is further configured to:
  • the second exposure process is performed.
  • the first identification module 302 is further configured to:
  • a fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
  • it also includes:
  • the second identification module 303 is configured to perform a fingerprint identification process based on the second fingerprint image data obtained by the second exposure process in response to a fingerprint identification failure of the first fingerprint image data.
  • it also includes:
  • the first determination module 304 is configured to: if the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, The fingerprint status scene within the above target period is determined to be an abnormal fingerprint recognition scene;
  • the first determination module 304 is configured to perform fingerprint recognition if the number of target users whose fingerprint image quality meets the preset requirements within the first preset time period is less than the first preset threshold, and/or if the target user performs fingerprint recognition within the second preset time period. If the success rate is less than the second preset threshold, the scene of the target user's fingerprint recognition input is determined to be an abnormal fingerprint recognition scene.
  • the fingerprint identification device further includes:
  • the second determination module 305 is configured to determine that the fingerprint recognition scene is an abnormal fingerprint recognition scene in response to the time of the fingerprint recognition input belonging to a preset period;
  • the second determination module 305 is configured to determine that the user responding to the fingerprint recognition input is the default user and determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
  • FIG. 4 is a block diagram of a device 400 for fingerprint identification according to an exemplary embodiment.
  • device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and communications component 416.
  • Processing component 402 generally controls the overall operations of device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method.
  • processing component 402 may include one or more modules that facilitate interaction between processing component 402 and other components.
  • processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.
  • Memory 404 is configured to store various types of data to support operations at device 400 . Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 404 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 406 provides power to various components of device 400.
  • Power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 400 .
  • Multimedia component 408 includes a screen that provides an output interface between the device 400 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 408 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 410 is configured to output and/or input audio signals.
  • audio component 410 includes a microphone (MIC) configured to receive external audio signals when device 400 is in operating modes, such as call mode, recording mode, and speech recognition mode. The received audio signals may be further stored in memory 404 or sent via communications component 416.
  • audio component 410 also includes a speaker for outputting audio signals.
  • the I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 414 includes one or more sensors that provide various aspects of status assessment for device 400 .
  • the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, and the sensor component 414 can also detect a change in position of the device 400 or a component of the device 400. , the presence or absence of user contact with device 400 , device 400 orientation or acceleration/deceleration and temperature changes of device 400 .
  • Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 416 is configured to facilitate wired or wireless communications between device 400 and other devices.
  • Device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 416 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 400 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 404 including instructions, which are executable by the processor 420 of the device 400 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • a non-transitory computer-readable storage medium that, when instructions in the storage medium are executed by a processor of a device, enables the device to perform a fingerprint identification method, and the method includes any of the above methods.

Abstract

The present disclosure relates to a fingerprint recognition method and apparatus, and a device and a storage medium. The fingerprint recognition method comprises: receiving a fingerprint recognition input; and according to a fingerprint state scenario to which the fingerprint recognition input belongs, executing a fingerprint recognition operation corresponding to the fingerprint state scenario.

Description

一种指纹识别方法、装置、设备及存储介质A fingerprint identification method, device, equipment and storage medium 技术领域Technical field
本公开涉及计算机技术领域,尤其涉及一种指纹识别方法、装置、设备及存储介质。The present disclosure relates to the field of computer technology, and in particular, to a fingerprint identification method, device, equipment and storage medium.
背景技术Background technique
随着屏下光学指纹方案的普及,受光学原理影响,在对指纹进行识别时,需要先进行曝光再采集指纹数据,曝光时间的长短直接影响指纹图像的信噪比,曝光时间越长,信噪比越高,对指纹的识别成功率越高。曝光时间为用户手指在屏幕的放置时间,为了提高指纹的识别成功率,所需的曝光时间就越长,因此要求用户手指在屏幕的放置时间就越长,导致用户使用指纹识别的体验越差。With the popularity of under-screen optical fingerprint solutions, due to the influence of optical principles, when identifying fingerprints, it is necessary to first expose and then collect fingerprint data. The length of exposure time directly affects the signal-to-noise ratio of the fingerprint image. The longer the exposure time, the lower the signal-to-noise ratio. The higher the noise ratio, the higher the success rate of fingerprint recognition. The exposure time is the time the user's finger is placed on the screen. In order to improve the success rate of fingerprint recognition, the longer the exposure time is required, the longer the user's finger is required to be placed on the screen, resulting in a worse user experience using fingerprint recognition. .
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种指纹识别方法、装置、设备及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a fingerprint identification method, device, equipment and storage medium.
根据本公开实施例的第一方面,提供一种指纹识别方法,所述识别方法包括:According to a first aspect of an embodiment of the present disclosure, a fingerprint identification method is provided, and the identification method includes:
接收指纹识别输入;Receive fingerprint recognition input;
根据所述指纹识别输入所属的指纹状态场景,执行与所述指纹状态场景对应的指纹识别操作。According to the fingerprint status scene to which the fingerprint recognition input belongs, a fingerprint recognition operation corresponding to the fingerprint status scene is performed.
在一示例性实施例中,所述根据所述指纹识别输入所属的指纹状态场景,执行与所述指纹状态场景对应的指纹识别操作,包括:In an exemplary embodiment, performing a fingerprint recognition operation corresponding to the fingerprint status scenario according to the fingerprint status scenario to which the fingerprint recognition input belongs includes:
响应于所述指纹识别输入的指纹状态场景为异常指纹识别场景,基于第一次曝光处理获得第一指纹图像数据;In response to the fingerprint status scene of the fingerprint recognition input being an abnormal fingerprint recognition scene, the first fingerprint image data is obtained based on the first exposure process;
基于所述第一指纹图像数据进行指纹识别处理,并在第一次曝光处理之后的预设时间段内,执行第二次曝光处理。A fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
在一示例性实施例中,所述在第一次曝光处理之后的预设时间段内,执行第二次曝光处理,包括:In an exemplary embodiment, performing the second exposure process within a preset time period after the first exposure process includes:
在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理。During the fingerprint recognition process based on the first fingerprint image data, the second exposure process is performed.
在一示例性实施例中,所述基于所述第一指纹图像数据进行指纹识别处理,包括:In an exemplary embodiment, the fingerprint identification process based on the first fingerprint image data includes:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;Perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data;
或者,or,
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理;Perform fingerprint recognition processing based on the first feature data of the first fingerprint image data;
在所述第一指纹图像数据的第一特征数据识别失败后,基于第一指纹图像数据的第二特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;所述第二特征数据的特征数据内容多于所述第一特征数据的特征数据内容。After the first feature data recognition of the first fingerprint image data fails, fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
在一示例性实施例中,所述在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理,包括:In an exemplary embodiment, performing the second exposure process during the fingerprint identification process based on the first fingerprint image data includes:
在基于所述第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行所述第二次曝光处理。The second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
在一示例性实施例中,所述在第一次曝光处理之后的预设时间段内,执行第二次曝光处理,包括:In an exemplary embodiment, performing the second exposure process within a preset time period after the first exposure process includes:
在所述第一指纹图像数据的第一特征数据识别失败后,执行所述第二次曝光处理。After the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed.
在一示例性实施例中,所述基于所述第一指纹图像数据进行指纹识别处理,包括:In an exemplary embodiment, the fingerprint identification process based on the first fingerprint image data includes:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理。A fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
响应于所述第一指纹图像数据的指纹识别失败,基于所述第二次曝光处理获得的第二指纹图像数据进行指纹识别处理。In response to the fingerprint recognition failure of the first fingerprint image data, a fingerprint recognition process is performed based on the second fingerprint image data obtained by the second exposure process.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
若目标时段内所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,和/或目标时段内识别成功率小于第二预设阈值,将所述目标时段内的指纹状态场景确定为异常指纹识别场景;If the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, determine the fingerprint status scene within the target period. For abnormal fingerprint recognition scenarios;
和/或,and / or,
若目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,和/ 或,目标用户在第二预设时长内指纹识别成功率小于第二预设阈值,将所述目标用户的指纹识别输入的场景确定为异常指纹识别场景。If the target user's fingerprint image quality meeting the preset requirements within the first preset time period is less than the first preset threshold, and/or, the target user's fingerprint recognition success rate within the second preset time period is less than the second preset threshold, The scene of fingerprint recognition input by the target user is determined as an abnormal fingerprint recognition scene.
在一示例性实施例中,所述指纹识别方法还包括:In an exemplary embodiment, the fingerprint identification method further includes:
响应于所述指纹识别输入的时间属于预设时段,确定所述指纹识别的场景为异常指纹识别场景;In response to the time of the fingerprint recognition input falling within a preset period, it is determined that the fingerprint recognition scene is an abnormal fingerprint recognition scene;
和/或,and / or,
响应于指纹识别输入的用户为预设用户,确定所述指纹识别输入所属场景为异常指纹识别场景。The user who responded to the fingerprint recognition input is the default user, and the scene to which the fingerprint recognition input belongs is determined to be an abnormal fingerprint recognition scene.
根据本公开实施例的第二方面,提供一种指纹的识别装置,所述识别装置包括:According to a second aspect of an embodiment of the present disclosure, a fingerprint identification device is provided, where the identification device includes:
接收模块,被配置为接收指纹识别输入;a receiving module configured to receive fingerprint recognition input;
第一识别模块,被配置为根据所述指纹识别输入所属的指纹状态识别场景,执行与所述指纹状态识别场景对应的指纹识别操作。The first recognition module is configured to perform a fingerprint recognition operation corresponding to the fingerprint status recognition scenario according to the fingerprint status recognition scenario to which the fingerprint recognition input belongs.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
响应于所述指纹识别输入的指纹状态场景为异常指纹识别场景,基于第一次曝光处理获得第一指纹图像数据;In response to the fingerprint status scene of the fingerprint recognition input being an abnormal fingerprint recognition scene, the first fingerprint image data is obtained based on the first exposure process;
基于所述第一指纹图像数据进行指纹识别处理,并在第一次曝光处理之后的预设时间段内,执行第二次曝光处理。A fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理。During the fingerprint recognition process based on the first fingerprint image data, the second exposure process is performed.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;Perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data;
或者,or,
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理;Perform fingerprint recognition processing based on the first feature data of the first fingerprint image data;
在所述第一指纹图像数据的第一特征数据识别失败后,基于第一指纹图像数据的第二特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;所述第二特征数 据的特征数据内容多于所述第一特征数据的特征数据内容。After the first feature data recognition of the first fingerprint image data fails, fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
在基于所述第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行所述第二次曝光处理。The second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
在所述第一指纹图像数据的第一特征数据识别失败后,执行所述第二次曝光处理。After the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed.
在一示例性实施例中,所述第一识别模块还被配置为:In an exemplary embodiment, the first identification module is further configured to:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理。A fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
第二识别模块,被配置为响应于所述第一指纹图像数据的指纹识别失败,基于所述第二次曝光处理获得的第二指纹图像数据进行指纹识别处理。The second identification module is configured to perform a fingerprint identification process based on the second fingerprint image data obtained by the second exposure process in response to a fingerprint identification failure of the first fingerprint image data.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
第一确定模块,被配置为若目标时段内所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,和/或目标时段内识别成功率小于第二预设阈值,将所述目标时段内的指纹状态场景确定为异常指纹识别场景;The first determination module is configured to: if the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, the The fingerprint status scene within the target period is determined to be an abnormal fingerprint recognition scene;
和/或,and / or,
第一确定模块,被配置为若目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,和/或,目标用户在第二预设时长内指纹识别成功率小于第二预设阈值,将所述目标用户的指纹识别输入的场景确定为异常指纹识别场景。The first determination module is configured to: if the target user's fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, and/or, the target user's fingerprint recognition is successful within the second preset time period If the rate is less than the second preset threshold, the scene of the target user's fingerprint recognition input is determined to be an abnormal fingerprint recognition scene.
在一示例性实施例中,所述指纹识别装置还包括:In an exemplary embodiment, the fingerprint identification device further includes:
第二确定模块,被配置为响应于所述指纹识别输入的时间属于预设时段,确定所述指纹识别的场景为异常指纹识别场景;a second determination module configured to determine that the fingerprint recognition scene is an abnormal fingerprint recognition scene in response to the time of the fingerprint recognition input belonging to a preset period;
和/或,and / or,
第二确定模块,被配置为响应于指纹识别输入的用户为预设用户,确定所述指纹识别输入所属场景为异常指纹识别场景。The second determination module is configured to determine that the user responding to the fingerprint recognition input is the default user and determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
根据本公开实施例的第三方面,提供一种电子设备,包括:According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为执行如本公开实施例的第一方面中任一项所述的方法。Wherein, the processor is configured to perform the method according to any one of the first aspects of the embodiments of the present disclosure.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由设备的处理器执行时,使得设备能够执行如本公开实施例的第一方面中任一项所述的方法。According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, which when instructions in the storage medium are executed by a processor of a device, enables the device to perform the first step of the embodiment of the present disclosure. The method described in any one of the aspects.
采用本公开的上述方法,具有以下有益效果:针对不同的指纹状态场景,执行与其对应的指纹识别操作,以缩短指纹识别的整体时间,提高指纹的识别成功率。Adopting the above method of the present disclosure has the following beneficial effects: for different fingerprint status scenarios, corresponding fingerprint recognition operations are performed to shorten the overall time of fingerprint recognition and improve the success rate of fingerprint recognition.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
图1是根据一示例性的实施例示出的一种指纹识别方法的流程图。Figure 1 is a flow chart of a fingerprint identification method according to an exemplary embodiment.
图2示例性地示出了步骤S102中根据指纹识别输入所属的指纹状态场景,执行与指纹状态场景对应的指纹识别操作的方法流程图。FIG. 2 exemplarily shows a flowchart of a method for performing a fingerprint recognition operation corresponding to a fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs in step S102.
图3是根据一示例性的实施例示出的一种指纹识别装置框图。Figure 3 is a block diagram of a fingerprint identification device according to an exemplary embodiment.
图4是是根据一示例性的实施例示出的一种用于指纹识别的设备的框图。FIG. 4 is a block diagram of a device for fingerprint identification according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.
相关技术中,在屏下指纹方案中,对指纹进行识别时,首次识别过程包括首次曝光、快速识别、完整识别三个过程,当首次识别失败后进行第二次识别,第二次识别过程包括再次曝光和完整识别。再次曝光通过增加曝光时间来增加指纹图像的信噪比,以保证指纹的识别 成功率。其中,首次曝光和再次曝光为串行关系,且曝光过程中需要用户一直将手指放置在终端的屏幕上。当手指指纹为不易识别状态的用户进行指纹识别时,手指需要放置在屏幕上直到再次曝光结束,才能保证指纹识别的识别成功率,此时识别时间较长,影响用户体验。In related technologies, in the under-screen fingerprint solution, when identifying fingerprints, the first identification process includes three processes: first exposure, rapid identification, and complete identification. When the first identification fails, a second identification is performed, and the second identification process includes Re-exposure and complete identification. Re-exposure increases the signal-to-noise ratio of the fingerprint image by increasing the exposure time to ensure the success rate of fingerprint recognition. Among them, the first exposure and the second exposure are in a serial relationship, and the user needs to keep his finger on the screen of the terminal during the exposure process. When users whose fingerprints are difficult to identify perform fingerprint recognition, their fingers need to be placed on the screen until the exposure is completed again to ensure the success rate of fingerprint recognition. In this case, the recognition time is longer, which affects the user experience.
首次识别过程中,首次曝光时间记为T1,快速识别时间记为T2,完整识别时间记为T3,当指纹状态的用户进行指纹识别时,首次识别失败后,进行第二次识别过程,第二识别过程中,再次曝光时间记为T1’,基于再次曝光的完整识别时间记为T3,其中T1’>T1。此时,指纹识别时间T为:T=T1+T2+T3+T1’+T3,手指需要放置在屏幕上的时间Ttouch至少为:Ttouch=T1+T2+T3+T1’,手指放置时间较长,影响用户体验。During the first recognition process, the first exposure time is recorded as T1, the quick recognition time is recorded as T2, and the complete recognition time is recorded as T3. When the user in the fingerprint state performs fingerprint recognition, after the first recognition fails, the second recognition process is performed. During the recognition process, the re-exposure time is recorded as T1', and the complete recognition time based on the re-exposure is recorded as T3, where T1'>T1. At this time, the fingerprint recognition time T is: T=T1+T2+T3+T1'+T3. The time Ttouch that the finger needs to be placed on the screen is at least: Ttouch=T1+T2+T3+T1'. The finger is placed for a longer time. , affecting user experience.
本公开示例性的实施例中,提供一种指纹的识别方法,应用于终端,终端包括智能手机、平板、智能穿戴设备等具有屏下指纹识别功能的电子设备。图1是根据一示例性的实施例示出的一种指纹识别方法的流程图,如图1所示,指纹识别方法包括以下步骤:In an exemplary embodiment of the present disclosure, a fingerprint identification method is provided, which is applied to a terminal. The terminal includes electronic devices with an under-screen fingerprint identification function, such as smartphones, tablets, and smart wearable devices. Figure 1 is a flow chart of a fingerprint identification method according to an exemplary embodiment. As shown in Figure 1, the fingerprint identification method includes the following steps:
步骤S101:接收指纹识别输入;Step S101: Receive fingerprint recognition input;
步骤S102:根据指纹识别输入所属的指纹状态场景,执行与指纹状态场景对应的指纹识别操作。Step S102: According to the fingerprint status scene to which the fingerprint recognition input belongs, perform a fingerprint recognition operation corresponding to the fingerprint status scene.
本公开示例性的实施例中所提供的指纹识别方法应用于屏下指纹识别。The fingerprint identification method provided in the exemplary embodiments of the present disclosure is applied to under-screen fingerprint identification.
在本公开示例性的实施例中,为了克服相关技术中的问题,提供一种指纹识别方法。接收指纹识别输入,根据指纹识别输入所属的指纹状态场景,执行与指纹状态场景对应的指纹识别操作,以缩短指纹识别的整体时间,提高指纹的识别成功率。In an exemplary embodiment of the present disclosure, in order to overcome problems in related technologies, a fingerprint identification method is provided. Receive fingerprint recognition input, and perform fingerprint recognition operations corresponding to the fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs, so as to shorten the overall time of fingerprint recognition and improve the success rate of fingerprint recognition.
在步骤S101中,接收指纹识别输入。In step S101, a fingerprint recognition input is received.
指纹识别的输入包括屏下指纹识别功能触发后获取到的指纹图像,例如手指在终端显示屏预设区域放置超过预设时间,或者其他能够唤醒屏下指纹识别功能的预设规则,获取指纹的图像。The input for fingerprint recognition includes the fingerprint image obtained after the under-screen fingerprint recognition function is triggered. For example, if a finger is placed in a preset area of the terminal display for more than a preset time, or other preset rules can awaken the under-screen fingerprint recognition function, the fingerprint is obtained. image.
在步骤S102中,根据指纹识别输入所属的指纹状态场景,执行与指纹状态场景对应的指纹识别操作。In step S102, according to the fingerprint status scene to which the fingerprint recognition input belongs, a fingerprint recognition operation corresponding to the fingerprint status scene is performed.
指纹的状态包括指纹的图像的质量,指纹状态场景包括指纹图像质量较好、为指纹易识别的场景,和指纹质量较差、为指纹不易识别的场景。在接收到指纹识别输入后,确定其所属的指纹状态场景,即指纹图像不易识别的场景或者指纹图像易识别的场景。当确定指纹状态场景后,对于不同的指纹状态场景,执行不同的指纹识别操作。例如对于指纹图像易识别的场景,执行单次曝光指纹识别操作,对于指纹不易识别的场景,执行两次曝光指纹识别操 作。The status of the fingerprint includes the quality of the fingerprint image. The fingerprint status scenarios include scenarios where the fingerprint image quality is good and the fingerprint is easy to identify, and scenarios where the fingerprint quality is poor and the fingerprint is difficult to identify. After receiving the fingerprint recognition input, the fingerprint status scene to which it belongs is determined, that is, a scene in which the fingerprint image is difficult to identify or a scene in which the fingerprint image is easy to identify. After the fingerprint status scene is determined, different fingerprint recognition operations are performed for different fingerprint status scenes. For example, for scenes where fingerprint images are easy to identify, a single-exposure fingerprint recognition operation is performed; for scenes where fingerprints are difficult to identify, a double-exposure fingerprint identification operation is performed.
示例地,可以根据指纹识别输入的输入时间所属时间段和/或指纹识别输入的用户,确定指纹状态场景。For example, the fingerprint status scene may be determined according to the time period to which the input time of the fingerprint recognition input belongs and/or the user of the fingerprint recognition input.
在本公开示例性的实施例中,接收到指纹识别的输入后,根据指纹识别的输入确定指纹状态场景,针对不同的指纹状态场景,执行与其对应的指纹识别操作,以缩短指纹识别的整体时间,提高指纹的识别成功率。In an exemplary embodiment of the present disclosure, after receiving the input of fingerprint recognition, the fingerprint status scenario is determined according to the input of fingerprint recognition, and corresponding fingerprint recognition operations are performed for different fingerprint status scenarios to shorten the overall time of fingerprint recognition. , improve the success rate of fingerprint recognition.
在一示例性实施例中,图2示例性地示出了步骤S102中根据指纹识别输入所属的指纹状态场景,执行与指纹状态场景对应的指纹识别操作的方法流程图,如图2所示,包括以下步骤:In an exemplary embodiment, Figure 2 exemplarily shows a flowchart of a method for performing a fingerprint recognition operation corresponding to a fingerprint status scene according to the fingerprint status scene to which the fingerprint recognition input belongs in step S102, as shown in Figure 2. Includes the following steps:
步骤S201,响应于指纹识别输入的指纹状态场景为异常指纹识别场景,基于第一次曝光处理获得第一指纹图像数据;Step S201, in response to the fingerprint status scene entered by the fingerprint recognition being an abnormal fingerprint recognition scene, obtain the first fingerprint image data based on the first exposure process;
步骤S202,基于第一指纹图像数据进行指纹识别处理,并在第一次曝光处理之后的预设时间段内,执行第二次曝光处理。Step S202: Perform a fingerprint recognition process based on the first fingerprint image data, and perform a second exposure process within a preset time period after the first exposure process.
指纹识别输入的指纹状态场景为异常指纹识别场景时,说明指纹识别输入为不易识别的指纹图像,可以通过任意能够确定指纹识别输入为不易识别的指纹图像的方法确定异常指纹识别场景,例如可以根据预设时段内的指纹图像质量或者识别成功率,也可以根据指纹识别输入的环境场景等。When the fingerprint status scene of the fingerprint recognition input is an abnormal fingerprint recognition scene, it means that the fingerprint recognition input is a fingerprint image that is not easily recognized. The abnormal fingerprint recognition scene can be determined by any method that can determine that the fingerprint recognition input is a fingerprint image that is not easily recognized. For example, the abnormal fingerprint recognition scene can be determined according to The fingerprint image quality or recognition success rate within the preset period can also be based on the environmental scene input by fingerprint recognition, etc.
当指纹状态场景为异常指纹识别场景时,基于第一次曝光处理获得第一指纹图像数据,对第一指纹图像数据进行指纹识别时,识别成功率极低,因此需要在第一次曝光处理后的预设时间段内,执行第二次曝光处理,以再次获取指纹数据,提高指纹识别的成功率。预设时间段可以为0,也可以是对第一指纹图像数据进行识别处理后的一段时间,即可以与对第一指纹图像数据进行指纹识别处理的同时执行第二次曝光处理,也可以在对第一指纹图像数据进行指纹识别处理的过程中,在指纹识别处理完成之前执行第二次曝光处理,还可以在对第一指纹图像数据进行指纹识别处理完成后执行第二次曝光处理。When the fingerprint status scene is an abnormal fingerprint recognition scene, the first fingerprint image data is obtained based on the first exposure process. When performing fingerprint recognition on the first fingerprint image data, the recognition success rate is extremely low, so it is necessary to perform fingerprint recognition after the first exposure process. Within the preset time period, a second exposure process is performed to obtain fingerprint data again and improve the success rate of fingerprint recognition. The preset time period can be 0, or it can be a period of time after the first fingerprint image data is recognized and processed, that is, the second exposure process can be performed at the same time as the first fingerprint image data is processed for fingerprint recognition, or it can be performed during the fingerprint recognition process. During the fingerprint identification process on the first fingerprint image data, the second exposure process is performed before the fingerprint identification process is completed. The second exposure process may also be performed after the fingerprint identification process on the first fingerprint image data is completed.
获取终端的处理器类型,不同类型的处理器对曝光的处理是不同的,根据终端处理器的类型,确定终端是否支持并行曝光方式,如果终端支持并行曝光方式,说明第二次曝光操作可以和其他操作同时执行,则在对第一指纹图像数据进行指纹识别处理完成之前,执行第二曝光处理;如果终端不支持并行曝光方式,说明第二次曝光操作不能和其他操作同时执行, 则在对第一指纹图像数据进行指纹识别处理完成之后,执行第二曝光处理。Get the processor type of the terminal. Different types of processors handle exposure differently. According to the type of terminal processor, determine whether the terminal supports parallel exposure mode. If the terminal supports parallel exposure mode, it means that the second exposure operation can be done with If other operations are executed at the same time, the second exposure process will be executed before the fingerprint recognition processing of the first fingerprint image data is completed; if the terminal does not support the parallel exposure method, it means that the second exposure operation cannot be executed at the same time as other operations, and then the second exposure operation will be executed at the same time. After the fingerprint recognition process of the first fingerprint image data is completed, the second exposure process is performed.
在本公开示例性的实施例中,通过执行第二次曝光处理,再次获取指纹相关数据,以提高指纹识别的成功率。In an exemplary embodiment of the present disclosure, fingerprint-related data is acquired again by performing a second exposure process to improve the success rate of fingerprint identification.
在一示例性实施例中,在第一次曝光处理之后的预设时间段内,执行第二次曝光处理,包括:在基于第一指纹图像数据进行指纹识别处理的过程中,执行第二次曝光处理。In an exemplary embodiment, performing a second exposure process within a preset time period after the first exposure process includes: performing a second exposure process during a fingerprint recognition process based on the first fingerprint image data. Exposure processing.
当终端支持并行曝光方式时,在基于第一指纹图像数据进行指纹识别处理的过程中,执行第二次曝光处理,即对第一指纹图像数据进行指纹识别处理完成之前执行第二次曝光处理。由于在异常指纹识别场景下,对第一指纹图像数据进行指纹识别处理识别成功率极低,因此在对第一指纹图像数据的指纹识别识别失败前,提前执行第二次曝光处理,再次获取指纹相关数据,能够缩短整个指纹识别的时间。When the terminal supports the parallel exposure mode, the second exposure process is performed during the fingerprint recognition process based on the first fingerprint image data, that is, the second exposure process is performed before the fingerprint recognition process on the first fingerprint image data is completed. Since the fingerprint recognition success rate of the first fingerprint image data is extremely low in abnormal fingerprint recognition scenarios, before the fingerprint recognition of the first fingerprint image data fails, the second exposure process is performed in advance to obtain the fingerprint again. Related data can shorten the entire fingerprint identification time.
在一示例性实施例中,当终端支持并行曝光方式时,基于第一指纹图像数据进行指纹识别处理,包括以下两种情况:In an exemplary embodiment, when the terminal supports the parallel exposure mode, fingerprint recognition processing is performed based on the first fingerprint image data, including the following two situations:
第一种,基于第一指纹图像数据的第一特征数据进行指纹识别处理,以完成第一指纹图像数据的指纹识别处理。The first method is to perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data.
第一特征数据为第一指纹图像数据的部分特征数据,对第一特征数据进行的指纹识别处理为快速识别过程。对第一指纹图像的指纹识别处理可以只包括快速识别过程。The first feature data is part of the feature data of the first fingerprint image data, and the fingerprint recognition process performed on the first feature data is a rapid recognition process. The fingerprint recognition process on the first fingerprint image may only include a quick recognition process.
第二种,基于第一指纹图像数据的第一特征数据进行指纹识别处理;在第一指纹图像数据的第一特征数据识别失败后,基于第一指纹图像数据的第二特征数据进行指纹识别处理,以完成第一指纹图像数据的指纹识别处理;第二特征数据的特征数据内容多于第一特征数据的特征数据内容。The second method is to perform fingerprint recognition processing based on the first feature data of the first fingerprint image data; after the first feature data recognition of the first fingerprint image data fails, perform fingerprint recognition processing based on the second feature data of the first fingerprint image data. , to complete the fingerprint recognition processing of the first fingerprint image data; the feature data content of the second feature data is more than the feature data content of the first feature data.
第二特征数据为指纹图像数据的全部或部分特征数据,第二特征数据的特征数据内容多于第一特征数据的特征数据内容。对第二特征数据进行的指纹识别处理为完整识别过程。在对第一指纹图像数据进行指纹识别时,首先对第一特征数据进行识别,识别失败后,再对多于第一特征数据的第二特征数据进行指纹识别。对第一指纹图像的指纹识别处理可以包括快速识别过程和完整识别过程。The second feature data is all or part of the feature data of the fingerprint image data, and the feature data content of the second feature data is more than the feature data content of the first feature data. The fingerprint recognition process performed on the second characteristic data is a complete recognition process. When performing fingerprint recognition on the first fingerprint image data, the first feature data is first recognized. After the recognition fails, the fingerprint recognition is then performed on the second feature data that is more than the first feature data. The fingerprint recognition process on the first fingerprint image may include a quick recognition process and a complete recognition process.
在一示例性实施例中,在基于第一指纹图像数据进行指纹识别处理的过程中,执行第二次曝光处理,包括:在基于第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行第二次曝光处理。In an exemplary embodiment, during the fingerprint recognition process based on the first fingerprint image data, performing the second exposure process includes: starting the fingerprint recognition process based on the first feature data of the first fingerprint image data. At the same time, the second exposure process is performed.
当终端支持并行曝光方式时,为了缩短整个指纹识别的过程,在基于第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行第二次曝光处理,即在快速识别的同时执行第二次曝光。在执行完成第一指纹图像数据的第一特征数据的指纹识别处理后,如果识别失败,需要执行对第一指纹图像数据的第二特征数据的指纹识别处理。由于第二次曝光处理是与第一特征数据的指纹识别处理同时进行的,如果对第一指纹图像数据的第二特征数据的指纹识别也失败时,此时第二次曝光处理已完成,再次获取了更多的指纹数据,因此可以立即对再次获取的指纹数据进行指纹识别,为了保证指纹识别的成功率,对第二次曝光处理获取的指纹数据进行的指纹识别处理为完整识别过程,因此,指纹识别的整个过程中,相当于减少了第二次曝光处理的时长,从而缩短了指纹识别的整体时长。When the terminal supports the parallel exposure mode, in order to shorten the entire fingerprint recognition process, the second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data, that is, the second exposure process is performed at the same time as the rapid recognition. Second exposure. After the fingerprint recognition process of the first feature data of the first fingerprint image data is completed, if the recognition fails, it is necessary to execute the fingerprint recognition process of the second feature data of the first fingerprint image data. Since the second exposure process is performed simultaneously with the fingerprint recognition process of the first feature data, if the fingerprint recognition of the second feature data of the first fingerprint image data also fails, the second exposure process has been completed at this time, and the second exposure process is completed again. More fingerprint data is obtained, so fingerprint identification can be performed immediately on the fingerprint data obtained again. In order to ensure the success rate of fingerprint identification, the fingerprint identification processing on the fingerprint data obtained by the second exposure process is a complete identification process, so , in the entire process of fingerprint identification, it is equivalent to reducing the time of the second exposure processing, thereby shortening the overall time of fingerprint identification.
在一示例中,当处于异常指纹识别场景时,第一次曝光处理的时间记为T1,对第一指纹图像数据的第一特征数据的指纹识别处理时间记为T2,对第一指纹图像数据的第二特征数据的指纹识别处理时间记为T3,第二次曝光处理的时间为T1’,对第二次曝光处理获取的指纹数据进行指纹识别的时间记为T3,其中T1’>T1。此时,由于第二次曝光处理和第一指纹图像数据的第一特征数据的指纹识别处理同时进行,第二次曝光处理的时间不占用额外的指纹识别时间,因此,指纹识别的总时间T’为:T’=T1+T2+T3+T3,手指需要放置在屏幕上的时间Ttouch1’至少为:Ttouch1’=T1+T1’。指纹识别的整体时长减少了第二次曝光处理的时间,即指纹识别时间减小了T1’,手指需要放置在屏幕上的时间只需要T1+T1’。In an example, when in an abnormal fingerprint recognition scene, the time of the first exposure processing is marked as T1, the time of the fingerprint recognition processing of the first feature data of the first fingerprint image data is marked as T2, and the time of the first exposure processing of the first fingerprint image data is marked as T2. The fingerprint recognition processing time of the second characteristic data is recorded as T3, the time of the second exposure processing is T1', and the fingerprint recognition time of the fingerprint data obtained by the second exposure processing is recorded as T3, where T1'>T1. At this time, since the second exposure process and the fingerprint recognition process of the first feature data of the first fingerprint image data are performed simultaneously, the time of the second exposure process does not occupy additional fingerprint recognition time. Therefore, the total fingerprint recognition time T ' is: T'=T1+T2+T3+T3, and the time Ttouch1' that the finger needs to be placed on the screen is at least: Ttouch1'=T1+T1'. The overall duration of fingerprint recognition reduces the second exposure processing time, that is, the fingerprint recognition time is reduced by T1’, and the time that the finger needs to be placed on the screen only requires T1+T1’.
需要说明的是,执行第二次曝光处理时,可以在基于第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,也可以在基于第一指纹图像数据的第一特征数据开始进行指纹识别处理后,且在基于第一指纹图像数据的第二特征数据开始进行指纹识别处理前,还可以在基于第一指纹图像数据的第二特征数据开始进行指纹识别处理的同时,只要保证在对第一指纹图像数据的第二特征数据进行指纹识别完成之前,完成第二次曝光处理即可。It should be noted that when performing the second exposure process, the fingerprint recognition process may be started based on the first feature data of the first fingerprint image data at the same time, or the fingerprint recognition process may be started based on the first feature data of the first fingerprint image data. After the fingerprint recognition process, and before the fingerprint recognition process is started based on the second feature data of the first fingerprint image data, the fingerprint recognition process can also be started based on the second feature data of the first fingerprint image data, as long as it is ensured that Before fingerprint recognition of the second feature data of the first fingerprint image data is completed, the second exposure process is completed.
在本公开示例性的实施例中,当终端支持并行曝光方式时,在基于第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行第二次曝光处理,能够节省第二次曝光处理的时间,同时减少了手指需要放置在终端屏幕上的时间和整个指纹识别的时间,提升用户体验。In an exemplary embodiment of the present disclosure, when the terminal supports the parallel exposure mode, while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data, the second exposure process is performed, which can save the second exposure process. The exposure processing time also reduces the time the finger needs to be placed on the terminal screen and the entire fingerprint recognition time, improving the user experience.
在一示例性实施例中,在第一次曝光处理之后的预设时间段内,执行第二次曝光处理,包括:在第一指纹图像数据的第一特征数据识别失败后,执行第二次曝光处理。In an exemplary embodiment, performing the second exposure process within a preset time period after the first exposure process includes: performing the second exposure process after the first feature data recognition of the first fingerprint image data fails. Exposure processing.
当终端支持串行曝光方式,不支持并行曝光方式时,为了缩短整个指纹识别的过程,在 第一指纹图像数据的第一特征数据识别失败后,执行第二次曝光处理,即在快速识别过程识别失败后执行第二次曝光。在执行完成第一指纹图像数据的第一特征数据的指纹识别处理后,如果识别失败,即可确定需要第二次曝光处理,不再对第一指纹图像的第二特征数据进行指纹识别,因此,指纹识别的整个过程中,相当于减少了对第一指纹图像的第二特征数据进行指纹识别的时长,从而缩短了指纹识别的整体时长。When the terminal supports the serial exposure mode but does not support the parallel exposure mode, in order to shorten the entire fingerprint recognition process, after the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed, that is, during the rapid recognition process A second exposure is performed after recognition failure. After the fingerprint recognition process of the first feature data of the first fingerprint image data is completed, if the recognition fails, it can be determined that a second exposure process is required, and the fingerprint recognition of the second feature data of the first fingerprint image is no longer performed. Therefore, , in the entire process of fingerprint recognition, it is equivalent to reducing the time for fingerprint recognition of the second feature data of the first fingerprint image, thereby shortening the overall time for fingerprint recognition.
在一示例中,当处于异常指纹识别场景时,第一次曝光处理的时间记为T1,对第一指纹图像数据的第一特征数据的指纹识别时间记为T2,第二次曝光处理的时间记为T1’,对第二次曝光处理后获取的指纹数据的指纹识别时间记为T3,其中T1’>T1。此时,指纹识别总时间T”为:T”=T1+T2+T1’+T3,手指需要放置在屏幕上的时间Ttouch2’至少为:Ttouch2’=T1+T2+T1’。指纹识别时间减小了对第二指纹图像数据的第二特征数据的识别时间T3,手指需要放置在屏幕上的时间也减少了对第二指纹图像数据的第二特征数据的识别时间T3。In an example, when in an abnormal fingerprint recognition scene, the time of the first exposure process is marked as T1, the time of fingerprint recognition of the first feature data of the first fingerprint image data is marked as T2, and the time of the second exposure process is marked as T2. It is recorded as T1', and the fingerprint identification time of the fingerprint data obtained after the second exposure process is recorded as T3, where T1'>T1. At this time, the total fingerprint recognition time T” is: T”=T1+T2+T1’+T3, and the time Ttouch2’ that the finger needs to be placed on the screen is at least: Ttouch2’=T1+T2+T1’. The fingerprint recognition time reduces the recognition time T3 of the second feature data of the second fingerprint image data, and the time the finger needs to be placed on the screen also reduces the recognition time T3 of the second feature data of the second fingerprint image data.
当终端支持串行曝光方式且处于异常指纹识别场景时,对第一指纹图像的第一特征数据指纹识别失败时,不再执行对第一指纹图像数据的第二特征数据进行指纹识别,直接进行第二次曝光处理,从而节省整个指纹识别的时间,同时减少了手指需要放置在终端屏幕上的时间,提升用户体验。When the terminal supports the serial exposure mode and is in an abnormal fingerprint recognition scenario, when the fingerprint recognition of the first feature data of the first fingerprint image fails, the fingerprint recognition of the second feature data of the first fingerprint image data is no longer performed, and the fingerprint recognition is performed directly. The second exposure process saves the time of the entire fingerprint recognition, while reducing the time that the finger needs to be placed on the terminal screen, improving the user experience.
在一示例性实施例中,基于第一指纹图像数据进行指纹识别处理,包括:基于第一指纹图像数据的第一特征数据进行指纹识别处理,以完成第一指纹图像数据的指纹识别处理。In an exemplary embodiment, performing fingerprint recognition processing based on the first fingerprint image data includes: performing fingerprint recognition processing based on first feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data.
当终端支持串行曝光方式时,对第一指纹图像的指纹识别处理只包括基于第一特征数据的指纹识别处理。When the terminal supports the serial exposure mode, the fingerprint recognition processing of the first fingerprint image only includes fingerprint recognition processing based on the first feature data.
在一示例性实施例中,步骤S202中执行第二次曝光处理后,指纹的识别方法还包括:响应于第一指纹图像数据的指纹识别失败,基于第二次曝光处理获得的第二指纹图像数据进行指纹识别处理。In an exemplary embodiment, after the second exposure process is performed in step S202, the fingerprint recognition method further includes: in response to a fingerprint recognition failure of the first fingerprint image data, based on the second fingerprint image obtained by the second exposure process. The data is processed for fingerprint identification.
第二次曝光处理后获取第二指纹图像数据,第二指纹图像数据相比于第一指纹图像数据的特征数据内容更多,以提高指纹识别成功率。当对第一指纹图像数据识别失败后,则对第二曝光处理获取的第二指纹图像数据进行识别处理。After the second exposure process, second fingerprint image data is obtained. The second fingerprint image data has more feature data content than the first fingerprint image data, so as to improve the success rate of fingerprint recognition. When the recognition of the first fingerprint image data fails, recognition processing is performed on the second fingerprint image data obtained by the second exposure process.
在一示例性的实施例中,确定异常指纹识别场景时包括以下两种情况:In an exemplary embodiment, determining abnormal fingerprint recognition scenarios includes the following two situations:
第一种:若目标时段内所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,和/或目标时段内识别成功率小于第二预设阈值,将目标时段内的指纹状态场景确定为异常指 纹识别场景。The first method: If the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, the fingerprint status within the target period will be The scene was determined to be an abnormal fingerprint recognition scene.
第一种情况是针对指纹不易识别的时间段。在目标时段内,获取与指纹图像质量相关的参数,目标时段可以根据实际需求设定时间段,也可以根据实际需求设定连续识别次数,例如目标时段设定为晚上十点到十一点之间的时间段,或者设定为连续100次进行指纹识别的时间段。在目标时段内,根据与指纹图像质量相关的参数确定指纹图像质量是否满足预设要求,如果所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,或者指纹识别的成功率小于第二预设阈值,或者指纹图像质量满足预设要求的数量小于第一预设阈值,且指纹识别成功率小于第二预设阈值时,则将目标时段内的指纹状态场景确定为异常指纹识别场景,即确定在目标时段内终端用户的手指指纹状态为不易识别的状态。当进行指纹识别的时间是否属于目标时段时,则确定指纹识别的场景为异常指纹识别场景。The first situation is for the time period when fingerprints are not easy to identify. Within the target period, parameters related to fingerprint image quality are obtained. The target period can be set according to actual needs, or the number of consecutive identifications can be set according to actual needs. For example, the target period is set between 10 and 11 p.m. time period, or set to the time period for 100 consecutive fingerprint recognitions. Within the target period, determine whether the fingerprint image quality meets the preset requirements based on parameters related to the fingerprint image quality. If the number of acquired fingerprint image quality that meets the preset requirements is less than the first preset threshold, or the success rate of fingerprint recognition is less than When the second preset threshold is reached, or the number of fingerprint images whose quality meets the preset requirements is less than the first preset threshold, and the fingerprint recognition success rate is less than the second preset threshold, the fingerprint status scene within the target period is determined to be abnormal fingerprint recognition. Scenario, that is, it is determined that the end user's fingerprint status is in a state that is difficult to identify during the target period. When the time when fingerprint recognition is performed falls within the target period, the fingerprint recognition scene is determined to be an abnormal fingerprint recognition scene.
第二种:若目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,和/或,目标用户在第二预设时长内指纹识别成功率小于第二预设阈值,将目标用户的指纹识别输入的场景确定为异常指纹识别场景。Second type: If the target user’s fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, and/or, the target user’s fingerprint recognition success rate within the second preset time period is less than the second A preset threshold is used to determine the scene of the target user's fingerprint recognition input as an abnormal fingerprint recognition scene.
第二种情况是针对指纹不易识别的用户。如果目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,或者在第二预设时长内指纹识别成功率小于第二预设阈值,或者在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,且在第二预设时长内指纹识别成功率小于第二预设阈值,则说明该用户的指纹特征较为特殊,不易识别,因此该目标用户需要进行指纹识别时,则确定为异常指纹识别场景。The second case is for users whose fingerprints are difficult to identify. If the target user's fingerprint image quality meets the preset requirements within the first preset time period, the number is less than the first preset threshold, or the fingerprint recognition success rate is less than the second preset threshold within the second preset time period, or the fingerprint recognition success rate is less than the second preset threshold within the first preset time period, or the target user's fingerprint image quality meets the preset requirements within the first preset time period. If the number of fingerprint image quality that meets the preset requirements within the time period is less than the first preset threshold, and the fingerprint recognition success rate within the second preset time period is less than the second preset threshold, it means that the user's fingerprint characteristics are special and difficult to identify. , so when the target user needs to perform fingerprint identification, it is determined to be an abnormal fingerprint identification scenario.
需要说明的是,以上两种情况可以单独使用,也可以同时使用。可以根据指纹识别时间是否属于目标时段,也可以根据指纹识别的用户是否为目标用户,还可以同时根据指纹识别的时间和指纹识别的用户确定异常指纹识别场景。It should be noted that the above two situations can be used alone or at the same time. It can be based on whether the fingerprint recognition time belongs to the target period, or whether the fingerprint recognition user is the target user, or the abnormal fingerprint recognition scene can be determined based on both the fingerprint recognition time and the fingerprint recognition user.
在一示例性实施例中,指纹的识别方法还包括:响应于指纹识别输入的时间属于预设时段,确定指纹识别的场景为异常指纹识别场景;和/或,响应于指纹识别输入的用户为预设用户,确定指纹识别输入所属场景为异常指纹识别场景。In an exemplary embodiment, the fingerprint identification method further includes: in response to the time of the fingerprint identification input belonging to a preset period, determining that the fingerprint identification scene is an abnormal fingerprint identification scene; and/or in response to the user inputting the fingerprint identification is Default user determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
用户可以在终端中设置异常指纹识别场景,例如设置预设时段或者设置预设用户或者同时设置预设时段和预设用户。当指纹识别输入的时间为预设时段时,或者指纹识别输入的用户为预设用户时,或者预设用户在预设时段内进行指纹识别输入时,均确定为异常指纹识别场景。Users can set abnormal fingerprint recognition scenarios in the terminal, such as setting a preset time period or setting a preset user or setting a preset time period and a preset user at the same time. When the time of fingerprint recognition input is within the preset period, or when the user who inputs fingerprint recognition is the preset user, or when the preset user performs fingerprint recognition input within the preset period, it is determined to be an abnormal fingerprint recognition scenario.
示例地,可以通过调用面对用户面部所在区域的摄像头进行面部识别,即基于采集的面 部图像与预存的预设用户面部图像进行面部识别,确定当前用户(指纹识别输入的用户)是否为预设用户;如果采集的面部图像与预设用户面部图像匹配则为预设用户,如果采集的面部图像与预设用户面部图像不匹配则不是预设用户。示例地,可以通过获取电子设备当前登录的用户身份信息(如电子设备登录账户的ID信息),然后基于用户身份信息与预存的预设用户身份信息进行匹配,确定当前用户(指纹识别输入的用户)是否为预设用户;如果电子设备当前登录的用户身份信息与预设用户身份信息匹配则为预设用户,否则不是预设用户。示例地,还可以通过如虹膜识别等进行用户身份确认,以判断是否为预设用户。For example, facial recognition can be performed by calling a camera facing the area where the user's face is located, that is, facial recognition can be performed based on the collected facial image and the pre-stored default user facial image to determine whether the current user (the user input by fingerprint recognition) is the default user. User; if the collected facial image matches the preset user facial image, the user is the default user; if the collected facial image does not match the preset user facial image, the user is not the default user. For example, the current user (user input through fingerprint recognition) can be determined by obtaining the identity information of the user currently logged in to the electronic device (such as the ID information of the login account of the electronic device), and then matching the user identity information with the pre-stored default user identity information. ) is a default user; if the identity information of the currently logged-in user of the electronic device matches the identity information of the default user, it is a default user; otherwise, it is not a default user. For example, the user identity can also be confirmed through iris recognition, etc., to determine whether it is a default user.
本公开示例性的实施例中,提供一种指纹识别装置,如图3所示,识别装置包括:In an exemplary embodiment of the present disclosure, a fingerprint identification device is provided. As shown in Figure 3, the identification device includes:
接收模块301,被配置为接收指纹识别输入;The receiving module 301 is configured to receive fingerprint recognition input;
第一识别模块302,被配置为根据所述指纹识别输入所属的指纹状态识别场景,执行与所述指纹状态识别场景对应的指纹识别操作。The first recognition module 302 is configured to perform a fingerprint recognition operation corresponding to the fingerprint status recognition scenario according to the fingerprint status recognition scenario to which the fingerprint recognition input belongs.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
响应于所述指纹识别输入的指纹状态场景为异常指纹识别场景,基于第一次曝光处理获得第一指纹图像数据;In response to the fingerprint status scene of the fingerprint recognition input being an abnormal fingerprint recognition scene, the first fingerprint image data is obtained based on the first exposure process;
基于所述第一指纹图像数据进行指纹识别处理,并在第一次曝光处理之后的预设时间段内,执行第二次曝光处理。A fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理。During the fingerprint recognition process based on the first fingerprint image data, the second exposure process is performed.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;Perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data;
或者,or,
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理;Perform fingerprint recognition processing based on the first feature data of the first fingerprint image data;
在所述第一指纹图像数据的第一特征数据识别失败后,基于第一指纹图像数据的第二特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;所述第二特征数据的特征数据内容多于所述第一特征数据的特征数据内容。After the first feature data recognition of the first fingerprint image data fails, fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
在基于所述第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行所述第二次曝光处理。The second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
在所述第一指纹图像数据的第一特征数据识别失败后,执行所述第二次曝光处理。After the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed.
在一示例性实施例中,所述第一识别模块302还被配置为:In an exemplary embodiment, the first identification module 302 is further configured to:
基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理。A fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
第二识别模块303,被配置为响应于所述第一指纹图像数据的指纹识别失败,基于所述第二次曝光处理获得的第二指纹图像数据进行指纹识别处理。The second identification module 303 is configured to perform a fingerprint identification process based on the second fingerprint image data obtained by the second exposure process in response to a fingerprint identification failure of the first fingerprint image data.
在一示例性实施例中,还包括:In an exemplary embodiment, it also includes:
第一确定模块304,被配置为若目标时段内所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,和/或目标时段内识别成功率小于第二预设阈值,将所述目标时段内的指纹状态场景确定为异常指纹识别场景;The first determination module 304 is configured to: if the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, The fingerprint status scene within the above target period is determined to be an abnormal fingerprint recognition scene;
和/或,and / or,
第一确定模块304,被配置为若目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,和/或,目标用户在第二预设时长内指纹识别成功率小于第二预设阈值,将所述目标用户的指纹识别输入的场景确定为异常指纹识别场景。The first determination module 304 is configured to perform fingerprint recognition if the number of target users whose fingerprint image quality meets the preset requirements within the first preset time period is less than the first preset threshold, and/or if the target user performs fingerprint recognition within the second preset time period. If the success rate is less than the second preset threshold, the scene of the target user's fingerprint recognition input is determined to be an abnormal fingerprint recognition scene.
在一示例性实施例中,所述指纹识别装置还包括:In an exemplary embodiment, the fingerprint identification device further includes:
第二确定模块305,被配置为响应于所述指纹识别输入的时间属于预设时段,确定所述指纹识别的场景为异常指纹识别场景;The second determination module 305 is configured to determine that the fingerprint recognition scene is an abnormal fingerprint recognition scene in response to the time of the fingerprint recognition input belonging to a preset period;
和/或,and / or,
第二确定模块305,被配置为响应于指纹识别输入的用户为预设用户,确定所述指纹识别输入所属场景为异常指纹识别场景。The second determination module 305 is configured to determine that the user responding to the fingerprint recognition input is the default user and determines that the scene to which the fingerprint recognition input belongs is an abnormal fingerprint recognition scene.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关所述方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
当电子设备为终端时,图4是根据一示例性的实施例示出的一种用于指纹识别的设备400的框图。When the electronic device is a terminal, FIG. 4 is a block diagram of a device 400 for fingerprint identification according to an exemplary embodiment.
参照图4,设备400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。Referring to Figure 4, device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and communications component 416.
处理组件402通常控制设备400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。 Processing component 402 generally controls the overall operations of device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 402 may include one or more modules that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.
存储器404被配置为存储各种类型的数据以支持在设备400的操作。这些数据的示例包括用于在设备400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 404 is configured to store various types of data to support operations at device 400 . Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, etc. Memory 404 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件406为设备400的各种组件提供电源。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为设备400生成、管理和分配电力相关联的组件。 Power supply component 406 provides power to various components of device 400. Power supply components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 400 .
多媒体组件408包括在所述设备400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当设备400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 408 includes a front-facing camera and/or a rear-facing camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当设备400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件 416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。 Audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when device 400 is in operating modes, such as call mode, recording mode, and speech recognition mode. The received audio signals may be further stored in memory 404 or sent via communications component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件414包括一个或多个传感器,用于为设备400提供各个方面的状态评估。例如,传感器组件414可以检测到设备400的打开/关闭状态,组件的相对定位,例如所述组件为设备400的显示器和小键盘,传感器组件414还可以检测设备400或设备400一个组件的位置改变,用户与设备400接触的存在或不存在,设备400方位或加速/减速和设备400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,所述传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 414 includes one or more sensors that provide various aspects of status assessment for device 400 . For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, and the sensor component 414 can also detect a change in position of the device 400 or a component of the device 400. , the presence or absence of user contact with device 400 , device 400 orientation or acceleration/deceleration and temperature changes of device 400 . Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件416被配置为便于设备400和其他设备之间有线或无线方式的通信。设备400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 416 is configured to facilitate wired or wireless communications between device 400 and other devices. Device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 416 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,设备400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, device 400 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由设备400的处理器420执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 404 including instructions, which are executable by the processor 420 of the device 400 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由设备的处理器执行时,使得设备能够执行一种指纹的识别方法,所述方法包括上述的任一种方法。A non-transitory computer-readable storage medium that, when instructions in the storage medium are executed by a processor of a device, enables the device to perform a fingerprint identification method, and the method includes any of the above methods.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应 性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.
工业实用性Industrial applicability
本文中针对不同的指纹状态场景,执行与其对应的指纹识别操作,以缩短指纹识别的整体时间,提高指纹的识别成功率。In this article, corresponding fingerprint recognition operations are performed for different fingerprint status scenarios to shorten the overall time of fingerprint recognition and improve the success rate of fingerprint recognition.

Claims (13)

  1. 一种指纹识别方法,其特征在于,所述识别方法包括:A fingerprint identification method, characterized in that the identification method includes:
    接收指纹识别输入;Receive fingerprint recognition input;
    根据所述指纹识别输入所属的指纹状态场景,执行与所述指纹状态场景对应的指纹识别操作。According to the fingerprint status scene to which the fingerprint recognition input belongs, a fingerprint recognition operation corresponding to the fingerprint status scene is performed.
  2. 根据权利要求1所述的指纹识别方法,其特征在于,所述根据所述指纹识别输入所属的指纹状态场景,执行与所述指纹状态场景对应的指纹识别操作,包括:The fingerprint identification method according to claim 1, characterized in that, according to the fingerprint status scene to which the fingerprint identification input belongs, performing a fingerprint identification operation corresponding to the fingerprint status scene includes:
    响应于所述指纹识别输入的指纹状态场景为异常指纹识别场景,基于第一次曝光处理获得第一指纹图像数据;In response to the fingerprint status scene of the fingerprint recognition input being an abnormal fingerprint recognition scene, the first fingerprint image data is obtained based on the first exposure process;
    基于所述第一指纹图像数据进行指纹识别处理,并在第一次曝光处理之后的预设时间段内,执行第二次曝光处理。A fingerprint recognition process is performed based on the first fingerprint image data, and a second exposure process is performed within a preset time period after the first exposure process.
  3. 根据权利要求2所述的指纹识别方法,其特征在于,所述在第一次曝光处理之后的预设时间段内,执行第二次曝光处理,包括:The fingerprint identification method according to claim 2, wherein performing the second exposure process within a preset time period after the first exposure process includes:
    在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理。During the fingerprint recognition process based on the first fingerprint image data, the second exposure process is performed.
  4. 根据权利要求3所述的指纹识别方法,其特征在于,所述基于所述第一指纹图像数据进行指纹识别处理,包括:The fingerprint identification method according to claim 3, wherein the fingerprint identification process based on the first fingerprint image data includes:
    基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;Perform fingerprint recognition processing based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data;
    或者,or,
    基于所述第一指纹图像数据的第一特征数据进行指纹识别处理;Perform fingerprint recognition processing based on the first feature data of the first fingerprint image data;
    在所述第一指纹图像数据的第一特征数据识别失败后,基于第一指纹图像数据的第二特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理;所述第二特征数据的特征数据内容多于所述第一特征数据的特征数据内容。After the first feature data recognition of the first fingerprint image data fails, fingerprint recognition processing is performed based on the second feature data of the first fingerprint image data to complete the fingerprint recognition processing of the first fingerprint image data; the third The feature data content of the second feature data is more than the feature data content of the first feature data.
  5. 根据权利要求4所述的指纹识别方法,其特征在于,所述在基于所述第一指纹图像数据进行指纹识别处理的过程中,执行所述第二次曝光处理,包括:The fingerprint identification method according to claim 4, characterized in that, during the fingerprint identification process based on the first fingerprint image data, performing the second exposure process includes:
    在基于所述第一指纹图像数据的第一特征数据开始进行指纹识别处理的同时,执行所述第二次曝光处理。The second exposure process is performed while starting the fingerprint recognition process based on the first feature data of the first fingerprint image data.
  6. 根据权利要求2所述的指纹识别方法,其特征在于,所述在第一次曝光处理之后的预 设时间段内,执行第二次曝光处理,包括:The fingerprint identification method according to claim 2, wherein the second exposure process is performed within a preset time period after the first exposure process, including:
    在所述第一指纹图像数据的第一特征数据识别失败后,执行所述第二次曝光处理。After the first feature data of the first fingerprint image data fails to be recognized, the second exposure process is performed.
  7. 根据权利要求6所述的指纹识别方法,其特征在于,所述基于所述第一指纹图像数据进行指纹识别处理,包括:The fingerprint identification method according to claim 6, wherein the fingerprint identification process based on the first fingerprint image data includes:
    基于所述第一指纹图像数据的第一特征数据进行指纹识别处理,以完成所述第一指纹图像数据的指纹识别处理。A fingerprint recognition process is performed based on the first characteristic data of the first fingerprint image data to complete the fingerprint recognition process of the first fingerprint image data.
  8. 根据权利要求2-7所述的指纹识别方法,其特征在于,还包括:The fingerprint identification method according to claims 2-7, further comprising:
    响应于所述第一指纹图像数据的指纹识别失败,基于所述第二次曝光处理获得的第二指纹图像数据进行指纹识别处理。In response to the fingerprint recognition failure of the first fingerprint image data, a fingerprint recognition process is performed based on the second fingerprint image data obtained by the second exposure process.
  9. 根据权利要求1所述的指纹识别方法,其特征在于,还包括:The fingerprint identification method according to claim 1, further comprising:
    若目标时段内所获取的指纹图像质量满足预设要求的数量小于第一预设阈值,和/或目标时段内识别成功率小于第二预设阈值,将所述目标时段内的指纹状态场景确定为异常指纹识别场景;If the number of fingerprint image quality acquired within the target period that meets the preset requirements is less than the first preset threshold, and/or the recognition success rate within the target period is less than the second preset threshold, determine the fingerprint status scene within the target period. For abnormal fingerprint recognition scenarios;
    和/或,and / or,
    若目标用户在第一预设时长内指纹图像质量满足预设要求的数量小于第一预设阈值,和/或,目标用户在第二预设时长内指纹识别成功率小于第二预设阈值,将所述目标用户的指纹识别输入的场景确定为异常指纹识别场景。If the target user's fingerprint image quality meeting the preset requirements within the first preset time period is less than the first preset threshold, and/or the target user's fingerprint recognition success rate within the second preset time period is less than the second preset threshold, The scene of fingerprint recognition input by the target user is determined as an abnormal fingerprint recognition scene.
  10. 根据权利要求2-8任一所述的指纹识别方法,其特征在于,所述指纹识别方法还包括:The fingerprint identification method according to any one of claims 2 to 8, characterized in that the fingerprint identification method further includes:
    响应于所述指纹识别输入的时间属于预设时段,确定所述指纹识别的场景为异常指纹识别场景;In response to the time of the fingerprint recognition input falling within a preset period, it is determined that the fingerprint recognition scene is an abnormal fingerprint recognition scene;
    和/或,and / or,
    响应于指纹识别输入的用户为预设用户,确定所述指纹识别输入所属场景为异常指纹识别场景。The user who responded to the fingerprint recognition input is the default user, and the scene to which the fingerprint recognition input belongs is determined to be an abnormal fingerprint recognition scene.
  11. 一种指纹识别装置,其特征在于,所述识别装置包括:A fingerprint identification device, characterized in that the identification device includes:
    接收模块,被配置为接收指纹识别输入;a receiving module configured to receive fingerprint recognition input;
    识别模块,被配置为根据所述指纹识别输入所属的指纹状态识别场景,执行与所述指纹状态识别场景对应的指纹识别操作。The recognition module is configured to perform a fingerprint recognition operation corresponding to the fingerprint status recognition scenario according to the fingerprint status recognition scenario to which the fingerprint recognition input belongs.
  12. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
    其中,所述处理器被配置为执行如权利要求1-10中任一项所述的方法。Wherein, the processor is configured to perform the method according to any one of claims 1-10.
  13. 一种非临时性计算机可读存储介质,当所述存储介质中的指令由设备的处理器执行时,使得设备能够执行如权利要求1-10中任一项所述的方法。A non-transitory computer-readable storage medium that, when instructions in the storage medium are executed by a processor of the device, enables the device to perform the method according to any one of claims 1-10.
PCT/CN2022/099920 2022-06-20 2022-06-20 Fingerprint recognition method and apparatus, and device and storage medium WO2023245357A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/099920 WO2023245357A1 (en) 2022-06-20 2022-06-20 Fingerprint recognition method and apparatus, and device and storage medium
CN202280004397.4A CN117859133A (en) 2022-06-20 2022-06-20 Fingerprint identification method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/099920 WO2023245357A1 (en) 2022-06-20 2022-06-20 Fingerprint recognition method and apparatus, and device and storage medium

Publications (1)

Publication Number Publication Date
WO2023245357A1 true WO2023245357A1 (en) 2023-12-28

Family

ID=89378917

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099920 WO2023245357A1 (en) 2022-06-20 2022-06-20 Fingerprint recognition method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN117859133A (en)
WO (1) WO2023245357A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140286545A1 (en) * 2013-03-22 2014-09-25 Suprema Inc. Method and apparatus for optical fingerprint recognition using multiple scan
CN113408447A (en) * 2021-06-25 2021-09-17 北京小米移动软件有限公司 Fingerprint identification method, fingerprint identification device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140286545A1 (en) * 2013-03-22 2014-09-25 Suprema Inc. Method and apparatus for optical fingerprint recognition using multiple scan
CN113408447A (en) * 2021-06-25 2021-09-17 北京小米移动软件有限公司 Fingerprint identification method, fingerprint identification device and storage medium

Also Published As

Publication number Publication date
CN117859133A (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
EP3200125B1 (en) Fingerprint template input method and device
EP3125530A1 (en) Video recording method and device
EP3133528A1 (en) Method and apparatus for fingerprint identification
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
EP3136793A1 (en) Method and apparatus for awakening electronic device
US20170064182A1 (en) Method and device for acquiring image file
CN107102772B (en) Touch control method and device
CN106357934B (en) Screen locking control method and device
US9924090B2 (en) Method and device for acquiring iris image
US20170161684A1 (en) Server-implemented method, terminal-implemented method and device for acquiring business card information
EP3024211B1 (en) Method and device for announcing voice call
WO2017008400A1 (en) Method and device for controlling intelligent device
EP3246850A1 (en) Image sending method and apparatus, computer program and recording medium
CN104243829A (en) Self-shooting method and self-shooting device
EP3190561A1 (en) Method and device for sending information
CN111277984A (en) Wireless local area network access method and device
WO2024067468A1 (en) Interaction control method and apparatus based on image recognition, and device
CN106201738B (en) System broadcast calling method and device
CN108830194B (en) Biological feature recognition method and device
CN108874450B (en) Method and device for waking up voice assistant
CN107948876B (en) Method, device and medium for controlling sound box equipment
US10671827B2 (en) Method and device for fingerprint verification
WO2023245357A1 (en) Fingerprint recognition method and apparatus, and device and storage medium
CN107122356B (en) Method and device for displaying face value and electronic equipment

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

Country of ref document: EP

Kind code of ref document: A1