Fingerprint recognition method, fingerprint recognition apparatus, electronic device and storage medium
By acquiring the ambient temperature of the ultrasonic fingerprint module and finding the corresponding fingerprint acquisition parameters, the problem of poor fingerprint image quality caused by changes in foreign objects on the screen is solved. This improves the success rate of fingerprint recognition and reduces the efficiency of the fingerprint recognition process. It has high adaptability and is suitable for different electronic devices.
Patent Information
- Application Number
- PCT/CN2024/138584
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-18
- Filing Date
- 2024-12-11
- Publication Date
- 2025-12-26
AI Technical Summary
Existing ultrasonic fingerprint recognition solutions suffer from poor fingerprint image quality when there are foreign objects or changes in foreign objects on the screen, resulting in a low recognition success rate.
By obtaining the ambient temperature of the ultrasonic fingerprint module, the corresponding fingerprint acquisition parameters are found in the parameter configuration table, and the ultrasonic fingerprint module is controlled to acquire fingerprints. Different fingerprint acquisition parameters are used for fingerprint recognition.
It improves the success rate of fingerprint recognition, reduces the time of fingerprint recognition process, and enhances practicality, making it suitable for various electronic devices.
Smart Images

Figure CN2024138584_26122025_PF_FP_ABST
Abstract
Description
Fingerprint recognition methods, fingerprint recognition devices, electronic devices and storage media Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a fingerprint recognition method, fingerprint recognition device, electronic device, and storage medium. Background Technology
[0002] There are two main publicly disclosed under-display fingerprint recognition solutions: optical fingerprint and ultrasonic fingerprint. The performance of optical fingerprint modules is significantly affected by the screen's light transmittance. With the increasing complexity of internal display wiring and the development of flexible screen solutions, screen optical transmittance has decreased, rendering optical fingerprint solutions inadequate for application requirements. Ultrasonic fingerprint solutions, however, do not rely on the screen's optical transmittance and are a better alternative. Ultrasonic fingerprint recognition acquires a fingerprint image by emitting and receiving reflected ultrasonic signals. Due to the difference in acoustic impedance between the screen, the finger, and the air, the ultrasonic fingerprint module can distinguish the valleys and ridges on the fingerprint based on the reflected ultrasonic signals, thereby obtaining fingerprint features for fingerprint recognition.
[0003] However, in existing technologies, fingerprint recognition modules acquire fingerprint images using fixed parameters, resulting in poor image quality and a low success rate for fingerprint recognition. Summary of the Invention
[0004] In view of the above, embodiments of this application provide a fingerprint recognition method, a fingerprint recognition device, an electronic device, and a storage medium to at least partially solve the above problems.
[0005] According to a first aspect of the present application, a fingerprint recognition method is provided, comprising: acquiring the ambient temperature of an ultrasonic fingerprint module; searching for fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables, wherein the fingerprint acquisition parameters corresponding to the ambient temperature are different in different parameter configuration tables, and the fingerprint acquisition parameters are at least some of the parameters required by the ultrasonic fingerprint module to perform fingerprint acquisition; and controlling the ultrasonic fingerprint module to perform fingerprint acquisition based on the fingerprint acquisition parameters to perform fingerprint recognition through the acquired fingerprint image.
[0006] According to a second aspect of the embodiments of this application, a fingerprint recognition device is provided, comprising: an acquisition unit for acquiring the ambient temperature of an ultrasonic fingerprint module; a search unit for searching for fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables, wherein the fingerprint acquisition parameters corresponding to the ambient temperature are different in different parameter configuration tables, and the fingerprint acquisition parameters are at least some of the parameters required by the ultrasonic fingerprint module to perform fingerprint acquisition; and a control unit for controlling the ultrasonic fingerprint module to perform fingerprint acquisition based on the fingerprint acquisition parameters so as to perform fingerprint recognition through the acquired fingerprint image.
[0007] According to a third aspect of the present application, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction causes the processor to perform an operation corresponding to the method described in the first aspect.
[0008] According to a fourth aspect of the embodiments of this application, a computer storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0009] According to the fingerprint recognition scheme provided in this application embodiment, after collecting the ambient temperature of the ultrasonic fingerprint module, the fingerprint acquisition parameters corresponding to the ambient temperature can be found from the parameter configuration table. Based on the found fingerprint acquisition parameters, the ultrasonic fingerprint module is controlled to perform fingerprint acquisition, and then fingerprint recognition is performed based on the acquired fingerprint image. Since the fingerprint acquisition parameters corresponding to the same ambient temperature are different in different parameter configuration tables, different fingerprint acquisition parameters can be used to perform fingerprint acquisition based on the ambient temperature and the usage status of the electronic device, and fingerprint recognition can be attempted based on the acquired fingerprint image. Compared with the use of fixed fingerprint acquisition parameters in the prior art, there are more choices of fingerprint acquisition parameters, thereby improving the success rate of fingerprint recognition. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0011] Figure 1 is a flowchart of a fingerprint recognition method provided in an embodiment of this application;
[0012] Figure 2 is a flowchart of another fingerprint recognition method provided in an embodiment of this application;
[0013] Figure 3 is a schematic diagram illustrating the impact of the usage status of an electronic device on fingerprint recognition according to an embodiment of this application;
[0014] Figure 4 is a schematic diagram illustrating the impact of another electronic device usage state on fingerprint recognition, provided in an embodiment of this application.
[0015] Figure 5 is a schematic diagram illustrating the correspondence between spatial frequency and ultrasonic emission frequency provided in an embodiment of this application;
[0016] Figure 6 is a flowchart of a method for generating a parameter configuration table according to an embodiment of this application;
[0017] Figure 7 is a flowchart of another method for generating a parameter configuration table provided in an embodiment of this application;
[0018] Figure 8 is a schematic diagram of a fingerprint recognition device provided in an embodiment of this application;
[0019] Figure 9 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.
[0021] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0022] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0023] As mentioned earlier, ultrasonic fingerprint recognition solutions acquire fingerprint images by emitting and receiving reflected ultrasonic signals from an ultrasonic fingerprint module. Due to the difference in acoustic impedance between the screen, the finger, and the air, the ultrasonic fingerprint module can distinguish the valleys and ridges on the fingerprint based on the reflected ultrasonic signals, thereby acquiring fingerprint features for fingerprint recognition. Currently, ultrasonic fingerprint modules collect fingerprints based on preset ultrasonic emission frequencies, echo delays, and integration counts. However, when there are foreign objects on the screen, such as changes in screen lamination (e.g., no film versus different types of film), or foreign objects and dirt on the screen surface, the acoustic impedance between the screen, finger, and air changes. Without changing the ultrasonic emission frequency, echo delay, and integration count of the ultrasonic fingerprint module, the quality of the fingerprint image acquired by the module is poor, resulting in a low fingerprint recognition success rate.
[0024] This application provides a fingerprint recognition scheme. After collecting the ambient temperature of the ultrasonic fingerprint module, the fingerprint acquisition parameters corresponding to the ambient temperature can be found from the parameter configuration table. Based on the found fingerprint acquisition parameters, the ultrasonic fingerprint module is controlled to perform fingerprint acquisition, and then fingerprint recognition is performed based on the acquired fingerprint image. Since the fingerprint acquisition parameters corresponding to the same ambient temperature are different in different parameter configuration tables, different fingerprint acquisition parameters can be used to perform fingerprint acquisition based on the ambient temperature and the usage status of the electronic device, and fingerprint recognition can be attempted based on the acquired fingerprint image. Compared with the existing technology that uses fixed fingerprint acquisition parameters, there are more fingerprint acquisition parameters to choose from, thereby improving the success rate of fingerprint recognition.
[0025] The fingerprint recognition method provided in this application is illustrated below through examples.
[0026] Figure 1 is a flowchart of a fingerprint recognition method provided in an embodiment of this application. As shown in Figure 1, the fingerprint recognition method includes the following steps 101 to 103:
[0027] Step 101: Obtain the ambient temperature of the ultrasonic fingerprint module.
[0028] The ultrasonic fingerprint module acquires the ambient temperature collected by a temperature sensor. This ambient temperature is the temperature of the external environment in which the ultrasonic fingerprint module is located when it is working, such as indoor temperature, electronic device temperature, etc. In one example, the ultrasonic fingerprint module can acquire the ambient temperature obtained by a temperature sensor installed inside the electronic device. In another example, the ultrasonic sensor can be equipped with a temperature sensor, and the ultrasonic fingerprint module can acquire the ambient temperature through the temperature sensor. Alternatively, the ultrasonic fingerprint module can acquire the ambient temperature measured by other sensors in the room, etc.
[0029] Step 102: Find the fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables.
[0030] Different parameter configuration tables have different fingerprint acquisition parameters corresponding to ambient temperature. These fingerprint acquisition parameters are at least some of the parameters required for the ultrasonic fingerprint module to acquire fingerprints. For example, fingerprint acquisition parameters may include the ultrasonic emission frequency. It should be understood that since the transmission speed of ultrasonic signals is inversely proportional to temperature (i.e., the higher the temperature, the slower the ultrasonic signal transmission speed), determining the fingerprint acquisition parameters based on the current ambient temperature allows the ultrasonic fingerprint module to take the influence of ambient temperature into account when acquiring fingerprints.
[0031] Step 103: Control the ultrasonic fingerprint module to collect fingerprints based on the fingerprint acquisition parameters so as to perform fingerprint recognition through the collected fingerprint images.
[0032] The ultrasonic fingerprint module is controlled to acquire fingerprints based on fingerprint acquisition parameters and perform fingerprint recognition based on the acquired fingerprint images. For example, it may emit ultrasonic signals of the corresponding frequency according to the ultrasonic frequency specified in the fingerprint acquisition parameters, or perform integration calculations on the reflected ultrasonic signals based on the integration count specified in the fingerprint acquisition parameters. In one example, the processing unit in the electronic device can control the ultrasonic fingerprint module to acquire fingerprints based on the fingerprint acquisition parameters and perform fingerprint recognition based on the acquired fingerprint images. It should be noted that because fingerprint acquisition parameters are looked up in multiple parameter configuration tables, multiple different fingerprint acquisition parameters corresponding to the same ambient temperature can be found in multiple configuration tables. Therefore, the ultrasonic fingerprint module can be controlled to acquire fingerprints based on multiple different fingerprint acquisition parameters, obtaining multiple fingerprint images. For example, fingerprint acquisition can be performed sequentially based on different fingerprint acquisition parameters until fingerprint recognition is successfully performed based on the acquired fingerprint images.
[0033] In this embodiment, after acquiring the ambient temperature of the ultrasonic fingerprint module, the fingerprint acquisition parameters corresponding to the ambient temperature can be found in the parameter configuration table. Based on the found fingerprint acquisition parameters, the ultrasonic fingerprint module is controlled to acquire fingerprints, and then fingerprint recognition is performed based on the acquired fingerprint images. Since the fingerprint acquisition parameters corresponding to the same ambient temperature are different in different parameter configuration tables, different fingerprint acquisition parameters can be used to acquire fingerprints based on the ambient temperature and the usage status of the electronic device, and fingerprint recognition can be attempted based on the acquired fingerprint images. Compared with the use of fixed fingerprint acquisition parameters in the prior art, there are more fingerprint acquisition parameters to choose from, thereby improving the success rate of fingerprint recognition.
[0034] In one possible implementation, when searching for fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables, the fingerprint acquisition parameters corresponding to the ambient temperature can be searched sequentially from multiple parameter configuration tables according to the search order, and fingerprint acquisition can be performed based on the fingerprint acquisition parameters until the fingerprint is successfully identified through the acquired fingerprint image.
[0035] The search order can be preset. When searching, the parameter configuration table is searched in the order of search. For example, the search order can be parameter configuration table 1, parameter configuration table 2, and parameter configuration table 3. When searching based on ambient temperature, parameter configuration table 1 is searched first, then parameter configuration table 2, and then parameter configuration table 3.
[0036] After finding the fingerprint acquisition parameters in the parameter configuration table, the fingerprint module is controlled to acquire a fingerprint image based on these parameters. If fingerprint recognition fails based on the acquired fingerprint image, the system searches for the next fingerprint acquisition parameter in the parameter configuration table corresponding to the ambient temperature and re-acquires a fingerprint image. If recognition is successful, the search for fingerprint acquisition parameters stops. For example, if the search order is parameter configuration table 1, parameter configuration table 2, and parameter configuration table 3, and fingerprint recognition is successful based on the fingerprint image acquired using the fingerprint acquisition parameter corresponding to the ambient temperature found in parameter configuration table 1, the search stops. If fingerprint recognition fails when the fingerprint image acquired based on the fingerprint acquisition parameters corresponding to the ambient temperature found in parameter configuration table 1, then the corresponding fingerprint acquisition parameters in parameter configuration table 2 are searched. If fingerprint recognition fails when the fingerprint image acquired based on the fingerprint acquisition parameters corresponding to the ambient temperature found in parameter configuration table 2, then the corresponding fingerprint acquisition parameters in parameter configuration table 3 are searched. This process continues sequentially from multiple parameter configuration tables to search for fingerprint acquisition parameters corresponding to the ambient temperature until the ultrasonic fingerprint module successfully recognizes the fingerprint image acquired based on the found fingerprint acquisition parameters.
[0037] When the fingerprint image acquired by the ultrasonic fingerprint module based on the fingerprint acquisition parameters found in the parameter configuration table fails to recognize the fingerprint, it indicates that the user is an unauthorized user or the fingerprint recognition environment is poor (such as a dirty fingerprint module pressing surface, a dirty user's finger, or the presence of sweat). At this time, the search for the parameter configuration table will stop, that is, fingerprint acquisition and fingerprint recognition will stop, and a fingerprint recognition failure will be returned.
[0038] It should be understood that in another possible implementation, multiple parameter configuration tables can be looked up based on the ambient temperature to obtain multiple fingerprint acquisition parameters corresponding to the ambient temperature. Then, the fingerprint module is controlled to sequentially acquire fingerprints based on the multiple fingerprint acquisition parameters, and fingerprint recognition is performed through the acquired multiple fingerprint images until fingerprint recognition is successful.
[0039] In this embodiment, fingerprint acquisition parameters corresponding to the ambient temperature are sequentially searched from multiple parameter configuration tables according to the search order. Fingerprint recognition is then performed based on the acquired fingerprint image. This achieves the acquisition of fingerprint acquisition parameters corresponding to the ambient temperature, enabling the acquisition of fingerprint images based on these parameters and the subsequent fingerprint recognition. Since the ultrasonic fingerprint module stops searching for fingerprint acquisition parameters when the fingerprint image acquired based on the searched parameters is successfully recognized, the fingerprint acquisition process can be stopped promptly upon successful fingerprint recognition. This prevents the waste of processing unit's computing power caused by continuing to search for fingerprint acquisition parameters after successful fingerprint recognition and reduces the time required for the fingerprint recognition process, thus improving the practicality of the fingerprint recognition method.
[0040] In one possible implementation, if fingerprint acquisition is performed based on the fingerprint acquisition parameters found in the first parameter configuration table and the fingerprint image is not successfully recognized, then fingerprint acquisition parameters corresponding to the ambient temperature are searched from multiple parameter configuration tables respectively, and the ultrasonic fingerprint module is controlled to perform fingerprint acquisition based on each of the found fingerprint acquisition parameters. The target fingerprint image with the best image quality is determined from each of the acquired fingerprint images, and fingerprint recognition is performed based on the target fingerprint image.
[0041] When determining fingerprint acquisition parameters, the system first searches for the fingerprint acquisition parameters corresponding to the ambient temperature in the first-ranked parameter configuration table, and then acquires a fingerprint image based on these parameters. If fingerprint recognition fails based on the acquired fingerprint image, the system searches all parameter configuration tables for the corresponding fingerprint acquisition parameters for that ambient temperature. For example, if there are three parameter configuration tables, the first one searched is parameter configuration table 1. If fingerprint recognition fails based on the fingerprint acquisition parameters searched from parameter configuration table 1, the system then searches for the fingerprint acquisition parameters corresponding to the ambient temperature in each of the three parameter configuration tables.
[0042] The control fingerprint module acquires fingerprint images according to the fingerprint acquisition parameters found in all parameter configuration tables, obtains multiple fingerprint images, determines the image quality of each fingerprint image, and selects the fingerprint image with the best image quality as the target fingerprint image for fingerprint recognition.
[0043] In one example, the quality score of a fingerprint image can be determined based on the texture features of the acquired fingerprint image, and the fingerprint image with the highest quality score can be identified as the target fingerprint image with the best image quality.
[0044] In this embodiment, if the fingerprint image acquired based on the fingerprint acquisition parameters found in the first parameter configuration table fails to recognize the fingerprint, then fingerprint acquisition parameters corresponding to the ambient temperature are searched from multiple parameter configuration tables respectively. Thus, multiple fingerprint images can be acquired based on multiple fingerprint acquisition parameters, and the target fingerprint image with the highest fingerprint image quality is used as the fingerprint image for fingerprint recognition. This allows the optimal fingerprint acquisition parameters for the current application scenario to be determined. Compared with the scheme in the aforementioned embodiment, since only two fingerprint recognition processes are required (fingerprint recognition based on the fingerprint image acquired based on the fingerprint acquisition parameters found in the first-ranked parameter configuration table, and fingerprint recognition based on the target fingerprint image), the efficiency of acquiring fingerprint images for fingerprint recognition is higher.
[0045] In one possible implementation, after the ultrasonic fingerprint module performs fingerprint acquisition based on the found fingerprint acquisition parameters and successfully identifies the fingerprint through the acquired fingerprint image, if the parameter configuration table containing the fingerprint acquisition parameters is not the first parameter configuration table searched, the search order of multiple parameter configuration tables is updated so that the parameter configuration table containing the fingerprint acquisition parameters used to acquire the fingerprint image is searched first in the next fingerprint recognition.
[0046] When fingerprint recognition is successful, if the parameter configuration table containing the fingerprint acquisition parameters of the acquired fingerprint image is the first parameter configuration table searched, the search order will not be updated. For example, if the search order is parameter configuration table 1, parameter configuration table 2, and parameter configuration table 3, and fingerprint recognition is successful based on the fingerprint image acquired with fingerprint acquisition parameters corresponding to the ambient temperature found in parameter configuration table 1, it proves that parameter configuration table 1 is applicable to the current fingerprint recognition scenario, and the search order will not be updated.
[0047] If the parameter configuration table containing the fingerprint acquisition parameters is not the first parameter configuration table searched, the search order is updated. Specifically, the parameter configuration table containing the fingerprint acquisition parameters used in the successfully recognized fingerprint image is searched first in the next fingerprint recognition. For example, the search order is parameter configuration table 1, parameter configuration table 2, and parameter configuration table 3. If fingerprint recognition fails based on the fingerprint image acquired using the fingerprint acquisition parameters corresponding to the ambient temperature found in parameter configuration table 1, but succeeds based on the fingerprint image acquired using the fingerprint acquisition parameters corresponding to the ambient temperature found in parameter configuration table 2, then it proves that parameter configuration table 2... For the current fingerprint recognition scenario, parameter configuration table 2 is moved to the front. The updated search order is parameter configuration table 2, parameter configuration table 1, and parameter configuration table 3. It should be understood that the above is only an example. It is only necessary to move the parameter configuration table containing the fingerprint acquisition parameters corresponding to the fingerprint image when the recognition is successful to the front as the first parameter configuration table to be searched. The order of other parameter configuration tables is not limited. For example, the parameter configuration table containing the fingerprint acquisition parameters when the recognition is successful can be moved to the front as the first one, and then the other parameter configuration tables can be moved to the back in sequence. Or the parameter configuration table containing the fingerprint acquisition parameters when the recognition is successful can be swapped with the parameter configuration table that is first in the order, etc.
[0048] When searching for fingerprint acquisition parameters corresponding to ambient temperature from multiple parameter configuration tables in the above embodiment, and controlling the ultrasonic fingerprint module to perform fingerprint acquisition based on the found fingerprint acquisition parameters, the target fingerprint image with the best image quality is determined from the acquired fingerprint images, and fingerprint recognition is performed based on the target fingerprint image. If the fingerprint recognition is successful, and the parameter configuration table containing the fingerprint recognition parameters corresponding to the target fingerprint image is not the first parameter configuration table searched, then the parameter configuration table is adjusted to be the first one searched.
[0049] It should be understood that if the fingerprint image collected based on the fingerprint acquisition parameters corresponding to the ambient temperature found in all parameter configuration tables fails to be successfully recognized, it proves that the user is an unauthorized user, or the fingerprint recognition environment is poor (such as the fingerprint module pressing surface is dirty, the user's finger is dirty or has sweat stains, etc.). In this case, the search order of the parameter configuration table will not be updated.
[0050] The following is a specific embodiment. Figure 2 is a flowchart of another fingerprint recognition method provided in this application embodiment. As shown in Figure 2, the fingerprint recognition method includes the following steps 201 to 206:
[0051] Step 201: Obtain the ambient temperature.
[0052] Step 202: According to the search order of multiple parameter configuration tables, find the fingerprint acquisition parameters corresponding to the ambient temperature from the current parameter configuration table.
[0053] Step 203: Collect fingerprint images based on the found fingerprint collection parameters, and perform fingerprint recognition based on the fingerprint images.
[0054] Step 204: Determine if the recognition was successful. If yes, proceed to step 205; otherwise, proceed to step 206.
[0055] Step 205: If the parameter configuration table containing the fingerprint acquisition parameter is not the first parameter configuration table to be searched, then update the search order of multiple parameter configuration tables so that the parameter configuration table containing the fingerprint acquisition parameter is the first to be searched in the next fingerprint recognition.
[0056] Step 206: Determine whether all parameter configuration tables have been searched. If so, return recognition failure; otherwise, determine the next parameter configuration table after the current parameter configuration table as the current parameter configuration table according to the search order of the parameter configuration tables, and execute step 202.
[0057] In this embodiment, after the ultrasonic fingerprint module successfully recognizes a fingerprint based on the fingerprint image acquired by the found fingerprint acquisition parameters, if the parameter configuration table containing the fingerprint acquisition parameters is not the first parameter configuration table searched, the search order of multiple parameter configuration tables is updated. This ensures that the parameter configuration table containing the fingerprint acquisition parameters is searched first during the next fingerprint acquisition for fingerprint recognition. By updating the search order, parameter configuration tables with high recognition success rates are searched first, thereby reducing the number of times fingerprint acquisition parameters are searched and the number of times fingerprint recognition is performed based on the fingerprint acquisition parameters, improving the success rate of fingerprint recognition, reducing the time spent on the fingerprint recognition process, and improving the efficiency of fingerprint recognition.
[0058] In one possible implementation, when searching for fingerprint acquisition parameters corresponding to ambient temperature from multiple parameter configuration tables, the current parameter configuration table can be searched based on the ambient temperature. If the current parameter configuration table includes the ambient temperature, the fingerprint acquisition parameter corresponding to the ambient temperature is read from the current parameter configuration table. If the current parameter configuration table does not include the ambient temperature, the reference temperature that is included in the current parameter configuration table and is closest to the ambient temperature is determined, and the fingerprint acquisition parameter corresponding to the reference temperature in the current parameter configuration table is determined as the fingerprint acquisition parameter corresponding to the ambient temperature.
[0059] After obtaining the ambient temperature, the fingerprint acquisition parameters corresponding to the ambient temperature are searched in the parameter configuration table. At this time, the parameter configuration table can be searched based on the acquired ambient temperature. The parameter configuration table includes the correspondence between temperature and fingerprint acquisition parameters. When the parameter configuration table includes the acquired ambient temperature, the fingerprint acquisition parameters corresponding to the ambient temperature are read from the current parameter configuration table. For example, if the parameter configuration table includes fingerprint acquisition parameters corresponding to 20℃, 25℃, and 30℃, etc., when the acquired ambient temperature is 25℃, the fingerprint acquisition parameters corresponding to 25℃ are read from the parameter configuration table.
[0060] When the acquired ambient temperature is not included in the parameter configuration table, the temperature closest to the ambient temperature in the current parameter configuration table is determined as the reference temperature, and the fingerprint acquisition parameter corresponding to the reference temperature is determined as the fingerprint acquisition parameter corresponding to the ambient temperature. For example, if the parameter configuration table includes fingerprint acquisition parameters corresponding to 20℃, 25℃, 30℃, etc., when the acquired ambient temperature is 27℃, the closest temperature to 27℃ in the parameter configuration table, 25℃, is determined as the reference temperature, and the fingerprint acquisition parameter corresponding to 25℃ is read from the parameter configuration table as the fingerprint acquisition parameter corresponding to the ambient temperature of 27℃.
[0061] It should be understood that when the parameter configuration table includes fingerprint acquisition parameters corresponding to 20℃, 25℃, and 30℃, and the obtained ambient temperature is 22.5℃ or 27.5℃, since it is located in the middle temperature range and is close to the left and right temperatures, 20℃ or 25℃ can be used as the reference temperature for 22.5℃, and 25℃ or 30℃ can be used as the reference temperature for 27.5℃.
[0062] In this embodiment, when the current parameter configuration table includes the ambient temperature, the fingerprint acquisition parameter corresponding to the ambient temperature is read. When the current parameter configuration table does not include the ambient temperature, the temperature closest to the ambient temperature is determined as the reference temperature, and the fingerprint acquisition parameter corresponding to the reference temperature is determined as the fingerprint acquisition parameter corresponding to the ambient temperature. This allows the fingerprint acquisition parameter to be determined based on the ambient temperature. The fingerprint acquisition parameter corresponding to the ambient temperature can be confirmed whether the acquired ambient temperature is included or not in the parameter configuration table. This prevents the fingerprint acquisition parameter corresponding to the ambient temperature from being undetermined due to the absence of the ambient temperature in the parameter configuration table. It is applicable to various ambient temperatures and therefore has high applicability.
[0063] In one possible implementation, the fingerprint acquisition parameters include at least one of ultrasonic transmission frequency, echo delay, and integration count, wherein the echo delay is used to indicate the time difference between transmitting the ultrasonic signal and receiving the ultrasonic echo signal reflected back by an external structure, and the integration count is used to indicate the number of times the ultrasonic echo signal is integrated or to indicate the number of times the ultrasonic wave is transmitted.
[0064] The fingerprint acquisition parameters may include the ultrasonic transmission frequency, such as 11MHz, 12MHz, etc. The processing unit can control the ultrasonic fingerprint module to transmit ultrasonic signals of the corresponding frequency according to the ultrasonic transmission frequency in the fingerprint acquisition parameters.
[0065] Echo delay indicates the delay in receiving ultrasonic echo signals. For example, if an ultrasonic signal is emitted and then delayed by 10ms to receive the echo signal, the received echo signal can be the superimposed echo signal of the finger's reflection. It should be understood that temperature affects the transmission speed of ultrasonic signals. Therefore, using the same echo delay at different temperatures may result in the inability to properly receive the superimposed echo signal of the finger's reflection, making the received echo signal weaker and leading to poor fingerprint image quality.
[0066] The integration count indicates the number of times the ultrasonic echo signal is integrated. The integration count affects the signal strength obtained after integration. When the ultrasonic echo signal is weak, the integration count needs to be increased to obtain a larger signal. In one example, the integration count can also indicate the number of ultrasonic wave transmissions. When the integration count is n, n ultrasonic waves are transmitted, and the n reflected ultrasonic echo signals are integrated. The results of the n integrations are then superimposed to increase the signal strength. In this case, the total integration count is n. Sampling one echo signal is completed within a small time range. The intensity value of one echo signal can be understood as the integral value obtained by integrating the received echo signal within its acquisition time range. The integration count controls the number of times the above integration process is repeated. In this embodiment, the fingerprint acquisition parameters include at least one of the ultrasonic wave transmission frequency, echo delay, and integration count. This allows fingerprint acquisition to be performed at different ultrasonic wave transmission frequencies, echo delays, or integration counts based on the ambient temperature, making the fingerprint acquisition parameters suitable for the current application scenario, thereby acquiring high-quality fingerprint images and improving the success rate of fingerprint recognition.
[0067] In one possible implementation, different parameter configuration tables correspond to different usage states of the electronic device where the ultrasonic fingerprint module is located. The ultrasonic fingerprint module is positioned below the display screen of the electronic device. The usage states of the electronic device include at least two scenarios: the display screen is not covered with a screen protector, and the display screen is covered with a screen protector of different materials and / or thicknesses. The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count. When the ambient temperature is the same, the ultrasonic emission frequency when the display screen is not covered is greater than the ultrasonic emission frequency when the display screen is covered. When the ambient temperature is the same, the echo delay and integration count when the display screen is covered are greater than the echo delay and integration count when the display screen is not covered. When the ambient temperature is the same, the echo delay and integration count when the display screen is covered with a tempered glass screen protector are greater than the echo delay and integration count when the display screen is covered with a non-tempered glass screen protector.
[0068] Different parameter configuration tables can correspond to different usage states of electronic devices. These usage states include whether the display screen is not covered with a film, or whether the display screen is covered with a film of different materials and / or thicknesses, such as: the display screen is covered with the factory film, the display screen is covered with a soft film, the display screen is covered with a tempered glass film, etc.
[0069] Figure 3 is a schematic diagram of the impact of the usage state of an electronic device on fingerprint recognition provided in an embodiment of this application. As shown in Figure 3, since the signal is relatively large when the screen is not covered, a relatively higher frequency can be selected to obtain a better signal-to-noise ratio. However, the signal is relatively small when the screen is covered, so a relatively lower frequency can be selected to obtain a relatively better signal. That is, the ultrasonic transmission frequency when the electronic device is used without a screen is greater than the ultrasonic transmission frequency when the electronic device is used with a screen is covered, thereby enabling the acquisition of fingerprint images with higher signal and signal-to-noise ratio.
[0070] Figure 4 is a schematic diagram illustrating the impact of another electronic device usage state on fingerprint recognition provided in an embodiment of this application. As shown in Figure 4, in the scenario where the electronic device is used with a tempered glass screen protector, the echo time of the ultrasonic signal will be longer due to the thickness of the tempered glass screen protector, requiring an increase in echo delay. For example, in Figure 4, when the number of integrations is the same, a larger echo delay results in higher signal quantity and signal-to-noise ratio. Furthermore, since the tempered glass screen protector attenuates the ultrasonic signal significantly, an increase in the number of integrations is required. For example, in Figure 4, increasing the number of integrations can improve the signal quantity and signal-to-noise ratio of the fingerprint image when the echo delay is the same. That is, when the electronic device is used with a tempered glass screen protector, the echo delay and number of integrations are greater than when the electronic device is used with a non-tempered glass screen protector. Thus, a fingerprint image with higher signal quantity and signal-to-noise ratio can be acquired.
[0071] Similarly, compared to an electronic device with a screen protector, the increased thickness of the screen protector on the display increases the echo time of the ultrasonic signal, requiring a greater echo delay. Furthermore, the screen protector attenuates the ultrasonic signal, necessitating a greater number of integration iterations. In other words, the echo delay and number of integration iterations when the electronic device has a screen protector are greater than those when it has an unprotected screen. This allows for the acquisition of fingerprint images with higher signal strength and signal-to-noise ratio.
[0072] In this embodiment, different parameter configuration tables correspond to different usage states of the electronic device where the ultrasonic fingerprint module is located. Therefore, fingerprint acquisition can be performed based on different fingerprint acquisition parameters corresponding to different parameter configuration tables under different usage states of the electronic device. Compared with the prior art of fingerprint acquisition using fixed fingerprint acquisition parameters, different fingerprint acquisition parameters can be used for fingerprint acquisition when the electronic device's display screen is not covered with a film or when the display screen is covered with a film of different materials and / or thicknesses. Therefore, the electronic device can acquire fingerprint images with high signal quantity and signal-to-noise ratio under different usage states, that is, fingerprint images with high image quality, thereby improving the probability of successful fingerprint recognition.
[0073] In one possible implementation, different parameter configuration tables correspond to different ranges of fingerprint spatial frequency, where fingerprint spatial frequency is used to indicate the distance between adjacent stripes on a fingerprint. The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and number of integrations. When the ambient temperature is the same, the higher the fingerprint spatial frequency, the higher the ultrasonic emission frequency.
[0074] Different parameter configuration tables can correspond to different fingerprint spatial frequencies. Taking the ultrasonic transmission frequency as an example, Figure 5 is a schematic diagram of the correspondence between spatial frequency and ultrasonic transmission frequency provided in an embodiment of this application. As shown in Figure 5, the vertical axis in Figure 5 is used to indicate the modulation transfer function (MTF). The MTF (Mean Transmission Factor) value indicates that the fingerprint module has better reproducibility and transparency, and the quality of the acquired fingerprint image is higher. The horizontal axis in Figure 5 is used to indicate the pitch value. The pitch value is inversely proportional to the spatial frequency. The lower the spatial frequency, the smaller the distance between adjacent stripes on the fingerprint and the smaller the distance between two adjacent ridges of the fingerprint, indicating that the finger is a coarse fingerprint. The higher the spatial frequency, the larger the distance between adjacent stripes on the fingerprint and the larger the distance between two adjacent ridges of the fingerprint, indicating that the finger is a fine fingerprint. As shown in Figure 5, when the pitch value is greater than about 448.27, the MTF value of the low-frequency ultrasonic signal is larger. Therefore, when the ultrasonic emission frequency is relatively lower, the fingerprint acquisition effect will be better for the case of small spatial frequency (i.e., coarse fingerprint), and when the ultrasonic emission frequency is relatively higher, the fingerprint acquisition effect will be better for the case of large spatial frequency (i.e., fine fingerprint).
[0075] In this embodiment, different parameter configuration tables correspond to different ranges of fingerprint spatial frequency. Thus, when the fingerprint being recognized is a thick or thin fingerprint, different fingerprint acquisition parameters can be found in different parameter configuration tables by looking up the ambient temperature. This allows the found fingerprint acquisition parameters to match the range of fingerprint spatial frequency, enabling the ultrasonic fingerprint module to acquire fingerprint images with higher image quality based on the fingerprint acquisition parameters, thereby increasing the probability of successful fingerprint recognition.
[0076] Figure 6 is a flowchart of a method for generating a parameter configuration table according to an embodiment of this application. As shown in Figure 6, the method for generating the parameter configuration table includes the following steps 601 to 602:
[0077] Step 601: Determine at least two application scenarios for the ultrasonic fingerprint module.
[0078] Application scenarios include the usage state or fingerprint spatial frequency of the electronic device where the ultrasonic fingerprint module is located. The usage state includes at least the display screen without a film and the display screen with a film of different materials and / or thicknesses. For specific usage states and spatial frequencies, please refer to the description in the foregoing embodiments, which will not be repeated here.
[0079] Step 602: Identify at least two application scenarios as target application scenarios. Under the target application scenario, control the ultrasonic fingerprint module to collect multiple fingerprint images at multiple temperatures with different fingerprint acquisition parameters. Based on the multiple fingerprint images collected at the same temperature, determine the fingerprint acquisition parameters corresponding to that temperature and generate a parameter configuration table corresponding to the target application scenario.
[0080] The parameter configuration table for each target application scenario includes the correspondence between multiple temperatures and corresponding fingerprint acquisition parameters within that scenario. Multiple parameter configuration tables are generated for each target application scenario.
[0081] It should be understood that multiple temperatures can be set as needed. Specifically, the temperature range can be determined according to the working environment of the fingerprint module. For example, the temperature range can be set to [-20℃, 60℃], starting from -20℃ to collect fingerprint images, increasing by 5℃ each time, until reaching 60℃.
[0082] In one example, the fingerprint acquisition parameters may include the ultrasonic transmission frequency, echo delay, and number of integrations. Optionally, the echo delay can be averaged among the echo delays of the fingerprint acquisition parameters corresponding to the same temperature for multiple fingerprint modules, and the average value of the echo delays corresponding to different temperatures can be fitted to an echo delay curve. The correspondence between the echo delay and temperature can be determined based on the fitted echo delay curve. Similarly, the number of integrations can be averaged among the number of integrations of the fingerprint acquisition parameters corresponding to the same temperature for multiple fingerprint modules, and the average value of the number of integrations corresponding to different temperatures can be fitted to an integration curve. The correspondence between the number of integrations and temperature can be determined based on the fitted integration curve.
[0083] In one example, Tables 1 to 3 below show three parameter configuration tables.
[0084] Table 1
[0085] Table 2
[0086] Table 3
[0087] In Tables 1 to 3 above, T represents ambient temperature, f1 to f7 are different frequencies, and k1 to k 12 and z1 to z 12For the fitted parameters, in one example, the frequency order in the above table can be f1>f2>f3>f4>f5>f7>f6. Table 1 can be used to represent the parameter configuration table for no film, Table 2 can be used to represent the parameter configuration table for the factory-installed film (usually a soft film), and Table 3 can be used to represent the parameter configuration table for tempered glass film. Different temperatures in different application scenarios correspond to different fingerprint acquisition parameters. Among them, the ultrasonic emission frequency in Table 1 is relatively high, which is better in the scenario without a film; the ultrasonic emission frequency in Table 2 is relatively low, which is better in the scenario with a film; and the echo delay and integration times in Table 3 are relatively large, which is better in the scenario with a tempered glass film or dirty fingers and foreign objects.
[0088] In another example, a parameter configuration table can be determined based on the correspondence between different temperatures and different fingerprint acquisition parameters determined from the fingerprint image acquisition results of a single fingerprint module, which will not be elaborated here.
[0089] It should be noted that higher ultrasonic emission frequencies yield better fingerprint images in the absence of a protective film, while lower ultrasonic emission frequencies yield better fingerprint images in the presence of a protective film. Furthermore, lower ultrasonic emission frequencies yield better fingerprint images at smaller fingerprint spatial frequencies (coarse fingerprints), while higher ultrasonic emission frequencies yield better fingerprint images at larger fingerprint spatial frequencies (fine fingerprints). Therefore, the parameter configuration table for the absence of a protective film is applicable to applications with no protective film and larger fingerprint spatial frequencies, while the parameter configuration table for the presence of a protective film is applicable to applications with a protective film and smaller fingerprint spatial frequencies. For example, Table 1 is applicable to fingerprint acquisition in fine fingerprint and absence of a protective film scenarios, while Table 3 is applicable to fingerprint acquisition in coarse fingerprint and presence of a protective film scenarios.
[0090] It should be understood that the table above is only an example. Optionally, different frequencies can correspond to different temperature ranges. For example, the same frequency can be used for temperatures from 10℃ to 30℃. This is because the frequency is the optimal frequency within a certain temperature range, and also because if there are too many frequencies, a large amount of storage space is needed to store the parameter configuration table. Due to the limited memory size, there may be situations where multiple temperatures share the same frequency.
[0091] In this embodiment, multiple fingerprint images are acquired at different temperatures using multiple fingerprint acquisition parameters in each application scenario. The fingerprint acquisition parameters corresponding to each temperature can be determined based on these multiple fingerprint images, thereby generating a parameter configuration table for each application scenario. Since the fingerprint acquisition parameters for each temperature are determined based on multiple fingerprint images, the optimal fingerprint acquisition parameters can be selected, resulting in higher quality fingerprint images when fingerprint acquisition is performed using the parameters in the configuration tables. Furthermore, different fingerprint acquisition parameters corresponding to different ambient temperatures in different scenarios can be determined based on the multiple parameter configuration tables. Compared to the prior art using fixed fingerprint acquisition parameters, since the fingerprint acquisition parameters vary depending on the ambient temperature, and the fingerprint acquisition parameters corresponding to the current application scenario can be determined through multiple parameter configuration tables, the determined fingerprint acquisition parameters are more suitable for the current application scenario. This allows the ultrasonic fingerprint module to acquire higher-quality fingerprint images using fingerprint acquisition parameters appropriate for the current application scenario, improving the success rate of fingerprint recognition.
[0092] In one possible implementation, when determining the fingerprint acquisition parameters corresponding to a temperature based on multiple fingerprint images acquired at the same temperature, the signal-to-noise ratio and signal quantity of the multiple fingerprint images acquired at the same temperature can be determined separately. Based on the signal-to-noise ratio and signal quantity, the weighting values corresponding to the multiple fingerprint images can be determined separately. The fingerprint image with the largest corresponding weighting value is determined as the target fingerprint image, and the fingerprint acquisition parameters corresponding to the target fingerprint image are determined as the fingerprint acquisition parameters corresponding to that temperature.
[0093] When determining the fingerprint acquisition parameters corresponding to each temperature, the signal quantity and signal-to-noise ratio (SNR) of each fingerprint image acquired at that temperature can be determined. It should be understood that a higher SNR indicates a higher quality fingerprint image, and a higher signal quantity indicates that the fingerprint image contains more fingerprint information. Therefore, it is necessary to select fingerprint images with high SNR and high signal quantity. Thus, the signal quantity and SNR of the fingerprint images are weighted to determine the weight value of each fingerprint image, and the fingerprint acquisition parameters corresponding to the fingerprint image with the largest weight value are determined as the fingerprint acquisition parameters corresponding to that temperature.
[0094] In one example, the signal-to-noise ratio and semaphore can be weighted according to a pre-set ratio. In another example, the variance of the signal-to-noise ratio and semaphore can be calculated first and then weighted, etc. There are no restrictions here.
[0095] The following is a specific example. Figure 7 is a flowchart of another method for generating a parameter configuration table provided in an embodiment of this application. As shown in Figure 7, the following steps can be performed when generating the parameter configuration table:
[0096] Step 701: Sequentially select each preset application scenario as the target application scenario.
[0097] Step 702: Under the current temperature and target application scenario, acquire multiple fingerprint images through the fingerprint module using different frequencies, integration times, and echo delays.
[0098] Step 703: Determine the frequency, number of integrals, and echo delay corresponding to the fingerprint image with the highest weighting value among all fingerprint images as the fingerprint acquisition parameters at the current temperature.
[0099] Step 704: Determine whether all temperatures have been collected and the corresponding fingerprint collection parameters have been determined. If yes, proceed to step 705; otherwise, determine the next temperature as the current temperature and proceed to step 702.
[0100] Step 705: Determine whether all application scenarios have been used as target application scenarios for fingerprint collection parameter determination. If so, end the process; otherwise, use the next application scenario that has not been used as a target application scenario as the target application scenario and execute step 701.
[0101] In this embodiment, the signal-to-noise ratio and signal quantity of multiple fingerprint images acquired at the same temperature are determined respectively. Based on the signal-to-noise ratio and signal quantity, the weighting value corresponding to the multiple fingerprint images is determined respectively. Thus, the fingerprint acquisition parameters corresponding to the fingerprint image with the largest weighting value can be determined as the fingerprint acquisition parameters corresponding to that temperature. This allows the optimal fingerprint acquisition parameters at that temperature to be selected. When fingerprint acquisition is performed based on these fingerprint acquisition parameters, the overall quality of the acquired fingerprint image is the highest, which can improve the probability of successful fingerprint recognition.
[0102] Figure 8 is a schematic diagram of a fingerprint recognition device provided in an embodiment of this application. As shown in Figure 8, the device 800 includes:
[0103] Acquisition unit 801 is used to acquire the ambient temperature of the ultrasonic fingerprint module;
[0104] The lookup unit 802 is used to look up fingerprint acquisition parameters corresponding to ambient temperature from multiple parameter configuration tables. The fingerprint acquisition parameters corresponding to ambient temperature are different in different parameter configuration tables. The fingerprint acquisition parameters are at least some of the parameters required for the ultrasonic fingerprint module to perform fingerprint acquisition.
[0105] The control unit 803 is used to control the ultrasonic fingerprint module to collect fingerprints based on fingerprint acquisition parameters so as to perform fingerprint recognition through the collected fingerprint images.
[0106] In this embodiment of the application, the acquisition unit 801 can be used to execute step 101 in the above method embodiment, the search unit 802 can be used to execute step 102 in the above method embodiment, and the control unit 803 can be used to execute step 103 in the above method embodiment.
[0107] In one possible implementation, the lookup unit 802 can also be used to sequentially look up fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables according to the lookup order of multiple parameter configuration tables, and perform fingerprint acquisition based on the fingerprint acquisition parameters until the fingerprint is successfully identified through the acquired fingerprint image.
[0108] In one possible implementation, the lookup unit 802 can also be used to look up fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables if fingerprint acquisition is performed based on the fingerprint acquisition parameters found in the first lookup parameter configuration table and the fingerprint is not successfully identified by the acquired fingerprint image, and control the ultrasonic fingerprint module to perform fingerprint acquisition based on each of the found fingerprint acquisition parameters; determine the target fingerprint image with the best image quality from the acquired fingerprint images, and perform fingerprint recognition based on the target fingerprint image.
[0109] In one possible implementation, the lookup unit 802 can also be used to update the lookup order of multiple parameter configuration tables after the ultrasonic fingerprint module performs fingerprint acquisition based on the found fingerprint acquisition parameters and successfully identifies the fingerprint through the acquired fingerprint image, if the parameter configuration table where the fingerprint acquisition parameters are located is not the first parameter configuration table to be looked up, so that the parameter configuration table where the fingerprint acquisition parameters used to acquire the fingerprint image are located is the first to be looked up in the next fingerprint recognition.
[0110] In one possible implementation, the lookup unit 802 can also be used to retrieve the current parameter configuration table from multiple parameter configuration tables based on the ambient temperature; when the current parameter configuration table includes the ambient temperature, the fingerprint acquisition parameter corresponding to the ambient temperature is read from the current parameter configuration table; when the current parameter configuration table does not include the ambient temperature, the reference temperature that is included in the current parameter configuration table and is closest to the ambient temperature is determined, and the fingerprint acquisition parameter corresponding to the reference temperature in the current parameter configuration table is determined as the fingerprint acquisition parameter corresponding to the ambient temperature.
[0111] In one possible implementation, the fingerprint acquisition parameters include at least one of ultrasonic transmission frequency, echo delay, and integration count, wherein the echo delay is used to indicate the time difference between transmitting the ultrasonic signal and receiving the ultrasonic echo signal reflected back by an external structure, and the integration count is used to indicate the number of times the ultrasonic echo signal is integrated or to indicate the number of times the ultrasonic wave is transmitted.
[0112] In one possible implementation, different parameter configuration tables correspond to different usage states of the electronic device where the ultrasonic fingerprint module is located. The ultrasonic fingerprint module is positioned below the display screen of the electronic device. The usage states of the electronic device include at least two scenarios: the display screen is not covered with a screen protector, and the display screen is covered with a screen protector of different materials and / or thicknesses. The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count. When the ambient temperature is the same, the ultrasonic emission frequency of the electronic device when the display screen is not covered with a screen protector is greater than the ultrasonic emission frequency of the electronic device when the display screen is covered with a screen protector. When the ambient temperature is the same, the echo delay and integration count of the electronic device when the display screen is covered with a screen protector are greater than the echo delay and integration count of the electronic device when the display screen is not covered with a screen protector. When the ambient temperature is the same, the echo delay and integration count of the electronic device when the display screen is covered with a tempered glass screen protector are greater than the echo delay and integration count of the electronic device when the display screen is covered with a non-tempered glass screen protector.
[0113] In one possible implementation, different parameter configuration tables correspond to different ranges of fingerprint spatial frequency, wherein the fingerprint spatial frequency is used to indicate the distance between adjacent stripes on the fingerprint; the fingerprint acquisition parameters include at least one of ultrasonic transmission frequency, echo delay, and integration count; when the ambient temperature is the same, the higher the fingerprint spatial frequency, the higher the ultrasonic transmission frequency.
[0114] In one possible implementation, multiple parameter configuration tables are obtained by: determining at least two application scenarios for the ultrasonic fingerprint module, wherein the application scenarios include the usage status of the electronic device in which the ultrasonic fingerprint module is located or the fingerprint spatial frequency; determining at least two application scenarios as target application scenarios; under the target application scenarios, controlling the ultrasonic fingerprint module to acquire multiple fingerprint images at multiple temperatures with different fingerprint acquisition parameters; determining the fingerprint acquisition parameters corresponding to the temperature based on the multiple fingerprint images acquired at the same temperature; and generating a parameter configuration table corresponding to the target application scenario, wherein the parameter configuration table corresponding to the target application scenario includes the correspondence between multiple temperatures and the corresponding multiple fingerprint acquisition parameters under the target application scenario.
[0115] In one possible implementation, the fingerprint acquisition parameters corresponding to a given temperature are determined based on multiple fingerprint images acquired at the same temperature. This includes: determining the signal-to-noise ratio (SNR) and signal quantity of the multiple fingerprint images acquired at the same temperature; determining the weighting values corresponding to the multiple fingerprint images based on the SNR and signal quantity; identifying the fingerprint image with the largest corresponding weighting value as the target fingerprint image; and determining the fingerprint acquisition parameters corresponding to the target fingerprint image as the fingerprint acquisition parameters corresponding to that temperature.
[0116] Referring to FIG9, a schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. The specific embodiments of the present application do not limit the specific implementation of the electronic device.
[0117] As shown in Figure 9, the electronic device may include: a processor 902, a communications interface 904, a memory 906, and a communications bus 908.
[0118] in:
[0119] The processor 902, communication interface 904, and memory 906 communicate with each other via communication bus 908.
[0120] Communication interface 904 is used to communicate with other electronic devices or servers.
[0121] The processor 902 is used to execute program 910, which can specifically execute the relevant steps in the above fingerprint recognition method embodiment.
[0122] Specifically, program 910 may include program code that includes computer operation instructions.
[0123] The processor 902 may be a central processing unit (CPU), a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; one or more GPUs; or they may be processors of different types, such as one or more CPUs, one or more GPUs, and one or more ASICs.
[0124] Memory 906 is used to store program 910. Memory 906 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0125] Specifically, program 910 can be used to cause processor 902 to execute the fingerprint recognition method in any of the foregoing embodiments.
[0126] The specific implementation of each step in program 910 can be found in the corresponding steps and units described in any of the foregoing fingerprint recognition method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.
[0127] In this embodiment, after acquiring the ambient temperature of the ultrasonic fingerprint module, the fingerprint acquisition parameters corresponding to the ambient temperature can be found in the parameter configuration table. Based on the found fingerprint acquisition parameters, the ultrasonic fingerprint module is controlled to acquire fingerprints, and then fingerprint recognition is performed based on the acquired fingerprint images. Since the fingerprint acquisition parameters corresponding to the same ambient temperature are different in different parameter configuration tables, different fingerprint acquisition parameters can be used to acquire fingerprints based on the ambient temperature and the usage status of the electronic device, and fingerprint recognition can be attempted based on the acquired fingerprint images. Compared with the use of fixed fingerprint acquisition parameters in the prior art, there are more fingerprint acquisition parameters to choose from, thereby improving the success rate of fingerprint recognition.
[0128] This application also provides a computer program product, including computer instructions that instruct a computing device to perform an operation corresponding to any of the methods in the above-described multiple method embodiments.
[0129] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.
[0130] The methods described in the embodiments of this application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code downloaded over a network that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium. Thus, the methods described herein can be stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA) for such software processing. It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the fingerprint recognition method described herein. Furthermore, when a general-purpose computer accesses the code used to implement the fingerprint recognition method shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the fingerprint recognition method shown herein.
[0131] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.
[0132] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.
Claims
1. A fingerprint recognition method, characterized in that, include: Obtain the ambient temperature of the ultrasonic fingerprint module; The fingerprint acquisition parameters corresponding to the ambient temperature are searched from multiple parameter configuration tables. The fingerprint acquisition parameters corresponding to the ambient temperature are different in different parameter configuration tables. The fingerprint acquisition parameters are at least some of the parameters required for the ultrasonic fingerprint module to perform fingerprint acquisition. The ultrasonic fingerprint module is controlled to acquire fingerprints based on the fingerprint acquisition parameters in order to perform fingerprint recognition using the acquired fingerprint images.
2. The method according to claim 1, characterized in that, The step of searching for fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables includes: According to the search order of the multiple parameter configuration tables, the fingerprint acquisition parameters corresponding to the ambient temperature are searched sequentially from the multiple parameter configuration tables, and fingerprint acquisition is performed based on the fingerprint acquisition parameters until the fingerprint is successfully identified through the acquired fingerprint image.
3. The method according to claim 1, characterized in that, The method includes: If fingerprint acquisition is performed based on the fingerprint acquisition parameters found in the first parameter configuration table and the fingerprint image is not successfully recognized, then the fingerprint acquisition parameters corresponding to the ambient temperature are searched from the multiple parameter configuration tables respectively, and the ultrasonic fingerprint module is controlled to perform fingerprint acquisition based on each of the found fingerprint acquisition parameters. The target fingerprint image with the best image quality is determined from the collected fingerprint images, and fingerprint recognition is performed based on the target fingerprint image.
4. The method according to claim 2 or 3, characterized in that, The method further includes: After the ultrasonic fingerprint module is controlled to collect a fingerprint based on the found fingerprint collection parameters and successfully recognize the fingerprint through the collected fingerprint image, if the parameter configuration table containing the fingerprint collection parameters is not the first parameter configuration table to be searched, the search order of the multiple parameter configuration tables is updated so that the parameter configuration table containing the fingerprint collection parameters used to collect the fingerprint image is searched first in the next fingerprint recognition.
5. The method according to claim 1, characterized in that, The step of searching for the fingerprint acquisition parameters corresponding to the ambient temperature from the multiple parameter configuration tables includes: The current parameter configuration table is retrieved from the plurality of parameter configuration tables based on the ambient temperature; When the ambient temperature is included in the current parameter configuration table, the fingerprint acquisition parameters corresponding to the ambient temperature are read from the current parameter configuration table. When the ambient temperature is not included in the current parameter configuration table, a reference temperature that is included in the current parameter configuration table and is closest to the ambient temperature is determined, and the fingerprint acquisition parameter corresponding to the reference temperature in the current parameter configuration table is determined as the fingerprint acquisition parameter corresponding to the ambient temperature.
6. The method according to claim 1, characterized in that, The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count, wherein the echo delay is used to indicate the time difference between transmitting the ultrasonic signal and receiving the ultrasonic echo signal reflected back by the external structure, and the integration count is used to indicate the number of times the ultrasonic echo signal is integrated or to indicate the number of times the ultrasonic wave is transmitted.
7. The method according to claim 1, characterized in that, Different parameter configuration tables correspond to different usage states of the electronic device where the ultrasonic fingerprint module is located. The ultrasonic fingerprint module is located below the display screen of the electronic device. The usage states of the electronic device include at least the display screen without a screen protector and the display screen with a screen protector of different materials and / or thicknesses. The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count. When the ambient temperature is the same, the ultrasonic emission frequency of the electronic device when the display screen is not covered is greater than the ultrasonic emission frequency of the electronic device when the display screen is covered. When the ambient temperature is the same, the echo delay and integration count of the electronic device when the display screen is covered with a protective film are greater than the echo delay and integration count of the electronic device when the display screen is not covered with a protective film. When the ambient temperature is the same, the echo delay and number of integrations of the electronic device when the screen is covered with a tempered glass film are greater than the echo delay and number of integrations of the electronic device when the screen is covered with a non-tempered glass film.
8. The method according to claim 1, characterized in that, Different parameter configuration tables correspond to different ranges of fingerprint spatial frequency, wherein the fingerprint spatial frequency is used to indicate the distance between adjacent stripes on the fingerprint; the fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count; When the ambient temperature is the same, the higher the fingerprint spatial frequency, the higher the ultrasonic wave emission frequency.
9. The method according to claim 7 or 8, characterized in that, The multiple parameter configuration tables are obtained through the following method: Determine at least two application scenarios for the ultrasonic fingerprint module, wherein the application scenarios include the usage status of the electronic device in which the ultrasonic fingerprint module is located or the fingerprint spatial frequency; At least two application scenarios are identified as target application scenarios. Under the target application scenarios, the ultrasonic fingerprint module is controlled to acquire multiple fingerprint images at multiple temperatures with different fingerprint acquisition parameters. Based on the multiple fingerprint images acquired at the same temperature, the fingerprint acquisition parameters corresponding to that temperature are determined, and a parameter configuration table corresponding to the target application scenario is generated. The parameter configuration table corresponding to the target application scenario includes the correspondence between the multiple temperatures and the corresponding multiple fingerprint acquisition parameters under the target application scenario.
10. The method according to claim 9, characterized in that, The step of determining the fingerprint acquisition parameters corresponding to a given temperature based on multiple fingerprint images acquired at the same temperature includes: The signal-to-noise ratio and signal quantity of multiple fingerprint images acquired at the same temperature were determined respectively; Based on the signal-to-noise ratio and the signal quantity, the weighting values corresponding to the plurality of fingerprint images are determined respectively; The fingerprint image with the largest weighted value is determined as the target fingerprint image, and the fingerprint acquisition parameters corresponding to the target fingerprint image are determined as the fingerprint acquisition parameters corresponding to the temperature.
11. A fingerprint recognition device, characterized in that, include: The acquisition unit is used to acquire the ambient temperature of the ultrasonic fingerprint module. The lookup unit is used to look up fingerprint acquisition parameters corresponding to the ambient temperature from multiple parameter configuration tables. The fingerprint acquisition parameters corresponding to the ambient temperature are different in different parameter configuration tables. The fingerprint acquisition parameters are at least some of the parameters required by the ultrasonic fingerprint module to perform fingerprint acquisition. The control unit is used to control the ultrasonic fingerprint module to acquire fingerprints based on the fingerprint acquisition parameters so as to perform fingerprint recognition through the acquired fingerprint images.
12. The apparatus according to claim 11, characterized in that, The search unit is used to sequentially search for fingerprint acquisition parameters corresponding to the ambient temperature from the multiple parameter configuration tables according to the search order of the multiple parameter configuration tables, and perform fingerprint acquisition based on the fingerprint acquisition parameters until the fingerprint is successfully identified through the acquired fingerprint image.
13. The apparatus according to claim 11, characterized in that, The search unit is configured to, if fingerprint acquisition is performed based on the fingerprint acquisition parameters found in the first searched parameter configuration table and the fingerprint is not successfully identified by the acquired fingerprint image, then search for fingerprint acquisition parameters corresponding to the ambient temperature from the plurality of parameter configuration tables respectively, and control the ultrasonic fingerprint module to perform fingerprint acquisition based on each of the found fingerprint acquisition parameters, determine the target fingerprint image with the best image quality from the acquired fingerprint images, and perform fingerprint recognition based on the target fingerprint image.
14. The apparatus according to claim 12 or 13, characterized in that, The control unit is configured to, after controlling the ultrasonic fingerprint module to perform fingerprint acquisition based on the found fingerprint acquisition parameters and successfully identify the fingerprint through the acquired fingerprint image, update the search order of the multiple parameter configuration tables if the parameter configuration table containing the fingerprint acquisition parameters is not the first parameter configuration table searched, so that the parameter configuration table containing the fingerprint acquisition parameters used to acquire the fingerprint image is searched first in the next fingerprint recognition.
15. The apparatus according to claim 11, characterized in that, The lookup unit is used to search the current parameter configuration table in the plurality of parameter configuration tables according to the ambient temperature. When the current parameter configuration table includes the ambient temperature, the fingerprint acquisition parameter corresponding to the ambient temperature is read from the current parameter configuration table. When the current parameter configuration table does not include the ambient temperature, the reference temperature that is included in the current parameter configuration table and is closest to the ambient temperature is determined, and the fingerprint acquisition parameter corresponding to the reference temperature in the current parameter configuration table is determined as the fingerprint acquisition parameter corresponding to the ambient temperature.
16. The apparatus according to claim 11, characterized in that, Different parameter configuration tables correspond to different usage states of the electronic device where the ultrasonic fingerprint module is located. The ultrasonic fingerprint module is located below the display screen of the electronic device. The usage states of the electronic device include at least the display screen without a screen protector and the display screen with a screen protector of different materials and / or thicknesses. The fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count. When the ambient temperature is the same, the ultrasonic emission frequency of the electronic device when the display screen is without a screen protector is greater than the ultrasonic emission frequency of the electronic device when the display screen is with a screen protector. When the ambient temperature is the same, the echo delay and integration count of the electronic device when the display screen is with a screen protector are greater than the echo delay and integration count of the electronic device when the display screen is without a screen protector. When the ambient temperature is the same, the echo delay and integration count of the electronic device when the display screen is with a tempered glass screen protector are greater than the echo delay and integration count of the electronic device when the display screen is without a tempered glass screen protector.
17. The apparatus according to claim 11, characterized in that, Different parameter configuration tables correspond to different ranges of fingerprint spatial frequency, wherein the fingerprint spatial frequency is used to indicate the distance between adjacent stripes on the fingerprint; the fingerprint acquisition parameters include at least one of ultrasonic emission frequency, echo delay, and integration count; When the ambient temperature is the same, the higher the fingerprint spatial frequency, the higher the ultrasonic wave emission frequency.
18. The apparatus according to claim 16 or 17, characterized in that, The multiple parameter configuration tables are obtained through the following method: Determine at least two application scenarios for the ultrasonic fingerprint module, wherein the application scenarios include the usage status of the electronic device in which the ultrasonic fingerprint module is located or the fingerprint spatial frequency; At least two application scenarios are identified as target application scenarios. Under the target application scenarios, the ultrasonic fingerprint module is controlled to acquire multiple fingerprint images at multiple temperatures with different fingerprint acquisition parameters. Based on the multiple fingerprint images acquired at the same temperature, the fingerprint acquisition parameters corresponding to that temperature are determined, and a parameter configuration table corresponding to the target application scenario is generated. The parameter configuration table corresponding to the target application scenario includes the correspondence between the multiple temperatures and the corresponding multiple fingerprint acquisition parameters under the target application scenario.
19. An electronic device comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the fingerprint recognition method as described in any one of claims 1-10.
20. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the fingerprint recognition method as described in any one of claims 1-10.
Citation Information
Patent Citations
Method and device for fingerprint identification
CN106127174A
Fingerprint identification method and related product
CN110263757A
Control method of ultrasonic module and related product
CN110399852A
Ultrasonic fingerprint identification method, ultrasonic fingerprint device and electronic equipment
CN115311695A
Fingerprint image acquisition method, electronic equipment and storage medium
CN117649687A