Ultrasonic fingerprint detection method, device, electronic device and storage medium
By adjusting ultrasonic transmissions based on temperature and film-sticking state, the method stabilizes echo signal intensity, reducing noise and enhancing detection accuracy in ultrasonic fingerprint technology.
Patent Information
- Application Number
- CN202410777108.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Ultrasonic fingerprint detection technologies face challenges with signal loss and noise interference in conductive media, leading to unstable echo signal intensity and reduced detection accuracy due to varying usage scenarios such as different temperatures and film-sticking states.
The method involves determining the number of ultrasonic transmissions based on the current temperature and/or film-sticking state of the conductive medium, controlling the ultrasonic sensor to emit and receive multiple echo signals, and superimposing these signals to enhance the cumulative sum signal for improved fingerprint detection accuracy.
This approach significantly reduces noise interference and maintains signal strength within a certain range, ensuring stable and accurate fingerprint detection by enhancing the cumulative sum signal intensity, thereby improving detection performance.
Smart Images

Figure CN118430031B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular to an ultrasonic fingerprint detection method, device, electronic device and storage medium. Background Art
[0002] Ultrasonic testing is a technology that uses the interaction between ultrasound and matter for non-destructive testing. It can be widely used in fingerprint detection, flaw detection and other aspects. Currently, in the related technologies that use ultrasonic sensors for fingerprint detection, conductive media such as screens and technical covers that are attached to ultrasonic sensors are usually used to provide finger pressing surfaces. When performing fingerprint detection, ultrasonic sensors transmit ultrasonic signals to the conductive media, receive echo signals of the ultrasonic signals, and use the echo signals to perform fingerprint detection.
[0003] However, the related technology still has some defects. For example, the ultrasonic signal emitted by the ultrasonic sensor will have a certain loss when propagating in the conductive medium. The intensity of the echo signal received by the related technology is significantly reduced compared with the emitted ultrasonic signal, which makes the noise significantly increase the echo signal; when the usage scenarios are different (such as different temperatures), the loss of the ultrasonic signal in the conductive medium is usually different. When the related technology faces different usage scenarios, the received echo signals are prone to large fluctuations, making it difficult to ensure the stability of fingerprint detection accuracy. Summary of the invention
[0004] In view of this, embodiments of the present application provide an ultrasonic fingerprint detection method, device, electronic device and storage medium to at least partially solve the above problems.
[0005] According to a first aspect of an embodiment of the present application, an ultrasonic fingerprint detection method is provided, comprising: obtaining a current temperature and / or a current film-sticking state of a conductive medium, wherein a first side surface of the conductive medium is in contact with an ultrasonic sensor, and a second side surface of the conductive medium provides a pressing surface; determining an ultrasonic transmission number n according to the current temperature and / or the current film-sticking state; wherein n is a positive integer; controlling the ultrasonic sensor to transmit an ultrasonic signal to the conductive medium n times, and receiving an echo signal formed after each transmitted ultrasonic signal is reflected; and performing fingerprint detection according to the echo signal.
[0006] In a possible implementation, determining the number of ultrasonic emissions n according to the current temperature includes: determining the number of ultrasonic emissions n according to the current temperature and first mapping information, wherein the first mapping information is used to indicate the mapping relationship between the temperature of the conductive medium and the number of ultrasonic emissions; determining the number of ultrasonic emissions n according to the current film-sticking state includes: determining the number of ultrasonic emissions n according to the current film-sticking state and second mapping information, wherein the second mapping information is used to indicate the mapping relationship between the film-sticking state of the conductive medium and the number of ultrasonic emissions; determining the number of ultrasonic emissions n according to the current temperature and the current film-sticking state includes: determining the number of ultrasonic emissions n according to a current parameter combination and third mapping information, wherein the current parameter combination includes the current temperature and the current film-sticking state, and the third mapping information is used to indicate the mapping relationship between the temperature of the conductive medium, the film-sticking state, and the number of ultrasonic emissions.
[0007] In a possible implementation manner, the method further includes updating the first mapping information; and the updating of the first mapping information includes:
[0008] Acquire the updated temperature of the conductive medium; determine the number m of ultrasonic transmissions mapped to the updated temperature according to the updated temperature and the first mapping information; wherein m is a positive integer; control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each ultrasonic signal is reflected, wherein the temperature of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals is the updated temperature; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number m of ultrasonic transmissions according to the strength of the updated cumulative sum signal and a preset signal strength interval.
[0009] In a possible implementation, updating the ultrasonic emission times m according to the strength of the updated cumulative sum signal and a preset signal strength interval includes:
[0010] If the intensity of the updated cumulative sum signal is within the signal intensity interval, the ultrasonic emission times m are updated to maintain m;
[0011] If the intensity of the updated accumulated sum signal is outside the signal intensity range, the updated ultrasonic emission times corresponding to the updated temperature are determined according to the following formula:
[0012]
[0013] Used to indicate the update ultrasonic emission times, used to indicate the middle value of the signal strength interval, used to indicate the strength value of the updated accumulated sum signal;
[0014] The ultrasonic transmission number m is updated to the updated ultrasonic transmission number.
[0015] In a possible implementation, when the ultrasonic sensor transmits the ultrasonic signal m times, there is no finger pressing on the pressing surface, and when the updated temperature of the conductive medium is obtained, there is no finger pressing on the pressing surface; when the ultrasonic sensor transmits the ultrasonic signal n times to the conductive medium, there is a finger pressing on the pressing surface, and when the current temperature of the conductive medium is obtained, there is a finger pressing on the pressing surface.
[0016] In a possible implementation, the first mapping information includes the temperature of the conductive medium, the number of ultrasonic emissions mapped to the temperature of the conductive medium, and an update status of the number of ultrasonic emissions; determining the number of ultrasonic emissions n according to the current temperature and the first mapping information includes: determining the number of ultrasonic emissions mapped to the current temperature according to the current temperature and the first mapping information; if the update status of the number of ultrasonic emissions mapped to the current temperature is marked as updated, determining the number of ultrasonic emissions mapped to the current temperature as the number of ultrasonic emissions n; if the update status of the number of ultrasonic emissions mapped to the current temperature is not marked as updated, determining the number of ultrasonic emissions n according to the update status of the number of ultrasonic emissions mapped to at least one candidate temperature adjacent to the current temperature.
[0017] In a possible implementation, determining the ultrasonic transmission number n according to an update state of the ultrasonic transmission number mapped to at least one candidate temperature adjacent to the current temperature includes:
[0018] If there is a candidate temperature among the at least one candidate temperature whose mapped number of ultrasonic emissions is marked as updated, the number of ultrasonic emissions mapped to the candidate temperature whose update status of the mapped number of ultrasonic emissions is marked as updated and whose absolute value of the difference with the current temperature is the smallest is determined as the number of ultrasonic emissions n; if there is no candidate temperature among the at least one candidate temperature whose mapped number of ultrasonic emissions is marked as updated, the number of ultrasonic emissions mapped to the current temperature is determined as the number of ultrasonic emissions n.
[0019] In a possible implementation, determining the number of ultrasonic emissions mapped to the current temperature based on the current temperature and the first mapping information includes: determining the number of ultrasonic emissions mapped to the temperature closest to the current temperature in the first mapping information as the number of ultrasonic emissions mapped to the current temperature.
[0020] In a possible implementation, the first mapping information includes a mapping curve between the temperature of the conductive medium and the number of ultrasonic emissions; determining the number n of ultrasonic emissions based on the current temperature and the first mapping information includes: mapping the current temperature to the number n of ultrasonic emissions through the mapping curve.
[0021] In a possible implementation, determining the number n of ultrasonic transmissions according to the current temperature includes: determining the number n of ultrasonic transmissions according to the current temperature and a preset number of high-voltage pulses output to the piezoelectric chip when transmitting an ultrasonic signal.
[0022] In a possible implementation, the fingerprint detection based on the echo signal includes: superimposing n echo signals to obtain a current accumulated signal, parsing fingerprint image data based on the current accumulated signal, and performing fingerprint detection based on the fingerprint image data.
[0023] According to a second aspect of an embodiment of the present application, an ultrasonic fingerprint detection device is provided, comprising: an acquisition module, used to acquire a current temperature and / or a current film-sticking state of a conductive medium, wherein a first side surface of the conductive medium is in contact with an ultrasonic sensor, and a second side surface of the conductive medium provides a pressing surface; an ultrasonic emission times determination module, used to determine an ultrasonic emission times n according to the current temperature and / or the current film-sticking state; wherein n is a positive integer; a signal acquisition module, used to control the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and to receive an echo signal formed after each transmitted ultrasonic signal is reflected; and a fingerprint detection module, used to perform fingerprint detection according to the echo signal.
[0024] According to a third aspect of an embodiment of the present application, there is provided an electronic device, 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, and the executable instruction enables the processor to execute a method as described in any embodiment of the first aspect above.
[0025] According to a fourth aspect of the embodiments of the present application, a computer storage medium stores a computer program thereon, and when the program is executed by a processor, the method described in any embodiment of the first aspect above is implemented.
[0026] In the embodiment of the present application, by obtaining the current temperature of the conductive medium, the number of ultrasonic transmissions n can be determined according to the current temperature. According to the number of ultrasonic transmissions n, the ultrasonic sensor is controlled to transmit n ultrasonic signals to the conductive medium, and the echo signal formed after each ultrasonic signal is reflected is received. The received echo signals can be superimposed and the current cumulative sum signal obtained by superposition can be used for fingerprint detection. Since the intensity of the current cumulative sum signal obtained by superimposing multiple echo signals is significantly improved compared with a single echo signal, the influence of the noise signal on the current cumulative sum signal is much smaller than that on a single echo signal. The fingerprint detection using the current cumulative sum signal obtained by superimposing multiple echo signals can significantly reduce the influence of noise. In this embodiment, the ultrasonic sensor chip can accumulate the collected multiple echo signals, and then output a sum value, namely the current cumulative sum signal. The current cumulative sum signal can be understood as the cumulative sum of discrete sampling points in the time dimension. Since the echo signal is discrete in the time dimension, the echo signal can be understood as a discrete sampling point. It should be noted that, for each ultrasonic signal emitted, an echo signal can be collected, and a fingerprint image data can be obtained based on the echo signal. When the ultrasonic signal is emitted n times, n echo signals can be collected. After the n echo signals are accumulated, an enhanced fingerprint image data can be obtained. The fingerprint detection is performed based on the feature points of the enhanced fingerprint image data, which can significantly reduce the influence of noise. In addition, when determining to emit an ultrasonic signal, the embodiment of the present application can adjust the emitted ultrasonic signal according to the current temperature to ensure that in different temperature scenarios, the strength of the accumulated signal obtained by superimposing the echo signals can be maintained within a certain range, thereby ensuring the stability of the accuracy of fingerprint detection and improving the performance of fingerprint detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0028] Figure 1 is a flowchart of the steps of an ultrasonic fingerprint detection method provided by an optional embodiment of the present application;
[0029] Figure 2 is a schematic diagram of a propagation path of an ultrasonic signal in an optional embodiment of the present application;
[0030] Figure 3is a flowchart of another ultrasonic fingerprint detection method provided by an optional embodiment of the present application;
[0031] Figure 4 It is a schematic diagram of a process for updating mapping information provided by an optional embodiment of the present application;
[0032] Figure 5 is a schematic diagram of a flow chart for determining the number of ultrasonic emission times n provided in an optional embodiment of the present application;
[0033] Figure 6 is a structural block diagram of an ultrasonic fingerprint detection device provided in an optional embodiment of the present application;
[0034] Figure 7 It is a structural schematic diagram of an electronic device provided by an optional embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0036] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "an", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0037] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0038] The present application provides an ultrasonic fingerprint detection method, device, electronic device and storage medium to at least partially solve the above-mentioned problems existing in the related art. The method includes: obtaining the current temperature and / or the current film-sticking state of the conductive medium, wherein the first side of the conductive medium is in contact with the ultrasonic sensor, and the second side of the conductive medium provides a pressing surface. According to the current temperature and / or the current film-sticking state, the number of ultrasonic transmissions n is determined; wherein n is a positive integer. The ultrasonic sensor is controlled to transmit n ultrasonic signals to the conductive medium, and an echo signal formed after each ultrasonic signal is reflected is received. Fingerprint detection is performed according to the echo signal.
[0039] The ultrasonic fingerprint detection method provided in the embodiments of the present application is described in detail below in conjunction with the accompanying drawings and Embodiment 1, Embodiment 2, and Embodiment 3.
[0040] Embodiment 1: Figure 1 As shown, the ultrasonic fingerprint detection method provided in the embodiment of the present application includes:
[0041] S110: Acquire the current temperature of the conductive medium, wherein a first side surface of the conductive medium is in contact with the ultrasonic sensor, and a second side surface of the conductive medium provides a pressing surface.
[0042] The ultrasonic sensor may be an ultrasonic sensor under the screen of the mobile phone or a side ultrasonic sensor, etc. Correspondingly, the conductive medium may be a panel of the mobile phone screen or a pressing cover plate on the side of the mobile phone that is attached to the ultrasonic sensor, etc. The first side and the second side of the conductive medium may be parallel to each other. In addition, in the embodiment of the present application, the temperature of the conductive medium may be detected by a temperature sensor in the mobile phone, so as to obtain the current temperature of the conductive medium.
[0043] S120: Determine the number of ultrasonic wave transmissions n according to the current temperature, where n is a positive integer.
[0044] The embodiment of the present application can determine the number of ultrasonic waves emitted for ultrasonic fingerprint detection according to the current temperature, that is, the number of ultrasonic wave emission n. For example, when the current temperature is 20 degrees, n can be 30; when the current temperature is 25 degrees, n can be 38; when the current temperature is 30 degrees, n can be 38; when the current temperature is 35 degrees, n can be 45; when the current temperature is 40 degrees, n can be 42; when the current temperature is 45 degrees, n can be 38; when the current temperature is 50 degrees, n can be 36. Considering the influence of time consumption and power consumption, n does not exceed 200.
[0045] As a feasible implementation method, several temperature intervals may be preset, and the number of ultrasonic emission times mapped to each temperature interval may be set respectively. According to the temperature interval where the current temperature is located, the number of ultrasonic emission times n is determined by the number of ultrasonic emission times mapped to the temperature interval. Alternatively, a mapping curve between temperature and ultrasonic emission times may be preset, and the current temperature may be mapped to the number of ultrasonic emission times n through the mapping curve.
[0046] S130: Control the ultrasonic sensor to transmit ultrasonic signals to the conductive medium n times, and receive echo signals formed after each transmitted ultrasonic signal is reflected.
[0047] The main components of an ultrasonic sensor are a piezoelectric chip and two electrodes on both sides of the piezoelectric chip. When transmitting an ultrasonic signal, the ultrasonic sensor can output a high-voltage pulse to the piezoelectric chip through one of the electrodes on both sides of the piezoelectric chip to drive the piezoelectric chip to generate an ultrasonic signal. When receiving an ultrasonic echo signal, the ultrasonic detection equipment can convert the ultrasonic echo signal it receives into a voltage signal through the piezoelectric chip, and obtain the characteristics of the echo signal by collecting the voltage signal.
[0048] For example, the signal propagation path of an ultrasonic sensor transmitting an ultrasonic signal is as follows: Figure 2 As shown in L1-L3 in the figure, the intensity of the echo signal received by the ultrasonic sensor is P for:
[0049]
[0050] Used to indicate the strength of the ultrasonic signal when it is emitted by the ultrasonic sensor. Used to indicate the intensity loss of ultrasonic signal on the propagation path L1. It is used to indicate the intensity loss caused by the ultrasonic signal propagating along L2 to the outside of the conductive medium, including the intensity loss caused by the ultrasonic signal propagating to the outside of the conductive medium and being reflected back to the conductive medium, and the intensity loss caused by the ultrasonic signal propagating to the outside of the conductive medium and no longer being reflected back to the conductive medium. It is used to indicate the intensity loss of the echo signal on the propagation path L3. It should be understood that the echo signal is an ultrasonic reflection signal formed by the ultrasonic signal being reflected by the second side of the conductive medium.
[0051] S140: Perform fingerprint detection according to the echo signal.
[0052] After the ultrasonic sensor receives n echo signals corresponding to the ultrasonic signals transmitted n times, the n echo signals can be superimposed to obtain an intensity of The current accumulated sum signal. It should be understood that superimposing n echo signals is to add the intensity values of n echo signals. Sampling one echo signal is completed within a small time range, and the intensity value of one echo signal can be understood as the integral value obtained by integrating a single received echo signal within the range of its acquisition time. In the process of transmitting n ultrasonic signals, each time an ultrasonic signal is transmitted, an echo signal of an ultrasonic signal is received correspondingly. After completing the reception of the echo signal of the previously transmitted ultrasonic signal, the next ultrasonic signal is transmitted until n ultrasonic signals are transmitted.
[0053] It can be calculated by the following formula:
[0054]
[0055] Obviously, when n is greater than 1, the strength of the current accumulated sum signal is increased exponentially compared to a single echo signal. At this time, the degree to which the current accumulated sum signal is affected by noise is much less than that of a single echo signal.
[0056] In the embodiment of the present application, by obtaining the current temperature of the conductive medium, the number of ultrasonic transmissions n can be determined according to the current temperature. According to the number of ultrasonic transmissions n, the ultrasonic sensor is controlled to transmit n ultrasonic signals to the conductive medium, and the echo signal formed after each ultrasonic signal is reflected is received. The received echo signals can be superimposed and the current cumulative sum signal obtained by superposition can be used for fingerprint detection. Since the intensity of the current cumulative sum signal obtained by superimposing multiple echo signals is significantly improved compared with a single echo signal, the influence of the noise signal on the current cumulative sum signal is much smaller than that on a single echo signal. The fingerprint detection using the current cumulative sum signal obtained by superimposing multiple echo signals can significantly reduce the influence of noise. In this embodiment, the ultrasonic sensor chip can accumulate the collected multiple echo signals, and then output a sum value, namely the current cumulative sum signal. The current cumulative sum signal can be understood as the cumulative sum of discrete sampling points in the time dimension. Since the echo signal is discrete in the time dimension, the echo signal can be understood as a discrete sampling point. It should be noted that, each time an ultrasonic signal is emitted, an echo signal can be collected, and a fingerprint image data can be obtained based on the echo signal. When an ultrasonic signal is emitted n times, n echo signals can be collected. After the n echo signals are accumulated, an enhanced fingerprint image data can be obtained. The fingerprint detection is performed based on the feature points of the enhanced fingerprint image data, which can significantly reduce the impact of noise. In addition, when determining to emit an ultrasonic signal, the embodiment of the present application can adjust the emitted ultrasonic signal according to the current temperature to ensure that in different temperature scenarios, the strength of the current accumulated signal obtained by superimposing the echo signals can be maintained within a certain range, thereby ensuring the stability of the accuracy of fingerprint detection and improving the performance of fingerprint detection.
[0057] Embodiment 2: The present application embodiment provides another ultrasonic fingerprint detection method including:
[0058] Acquire the current film-sticking state of the conductive medium, wherein the first side of the conductive medium is in contact with the ultrasonic sensor, and the second side of the conductive medium provides a pressing surface; determine the number of ultrasonic transmissions n according to the current film-sticking state, wherein n is a positive integer; control the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and receive an echo signal formed after each ultrasonic signal is reflected; and perform fingerprint detection according to the echo signal.
[0059] The film pasting state may include: whether the film is pasted, the material of the film, the thickness of the film and other parameters, so as to determine the current film pasting state of the conductive medium through the current parameters such as whether the film is pasted, the material of the film, the thickness of the film and other parameters.
[0060] In the embodiment of the present application, by acquiring the current film-sticking state of the conductive medium, the number of ultrasonic transmissions n can be determined according to the current film-sticking state. According to the number of ultrasonic transmissions n, the ultrasonic sensor is controlled to transmit n ultrasonic signals to the conductive medium, and receive the echo signal formed after each ultrasonic signal transmitted is reflected. The received echo signals can be superimposed and the current cumulative sum signal obtained by superposition can be used for fingerprint detection. Since the intensity of the current cumulative sum signal obtained by superimposing multiple echo signals is significantly improved compared with a single echo signal, the influence of the noise signal on the current cumulative sum signal is much smaller than that on a single echo signal. The fingerprint detection using the current cumulative sum signal obtained by superimposing multiple echo signals can significantly reduce the influence of noise. In this embodiment, the ultrasonic sensor chip can accumulate the multiple echo signals collected, and then output a sum value, namely the current cumulative sum signal. The current cumulative sum signal can be understood as the cumulative sum of discrete sampling points in the time dimension. Since the echo signal is discrete in the time dimension, the echo signal can be understood as a discrete sampling point. It should be noted that, for each ultrasonic signal emitted once, an echo signal can be collected, and a fingerprint image data can be obtained according to the echo signal. When the ultrasonic signal is emitted n times, n echo signals can be collected. After the n echo signals are accumulated, one enhanced fingerprint image data can be obtained. The fingerprint detection is performed according to the feature points of the enhanced fingerprint image data, which can significantly reduce the influence of noise. In addition, when determining the number of times to emit ultrasonic signals and collect echo signals, the embodiment of the present application can adjust the number of times to emit ultrasonic signals and collect echo signals according to the current film-sticking state, so as to ensure that in different scenes of film-sticking states, the intensity of the current accumulated sum signal obtained by superimposing the echo signals can be maintained within a certain range, thereby ensuring the stability of the accuracy of fingerprint detection and improving the performance of fingerprint detection. The technical scheme of the second embodiment and the above embodiment one is based on the same inventive concept, and the reference factor "current temperature / temperature" of the first embodiment is replaced by "current film-sticking state / film-sticking state" to obtain the technical scheme of the present embodiment. The specific implementation method of the technical scheme of the present embodiment can refer to the description of the first embodiment, which will not be repeated here.
[0061] Embodiment 3: The present application embodiment provides another ultrasonic fingerprint detection method including:
[0062] Obtain the current parameter combination of the conductive medium, wherein the current parameter combination includes the current temperature and the current film-applying state, the first side of the conductive medium is in contact with the ultrasonic sensor, and the second side of the conductive medium provides a pressing surface; determine the number of ultrasonic transmissions n according to the current parameter combination; wherein n is a positive integer; control the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and receive an echo signal formed after each ultrasonic signal is reflected; perform fingerprint detection according to the echo signal. The film-applying state may include parameters such as whether the film is applied, the material of the film, and the thickness of the film, so as to determine the current temperature and current film-applying state of the conductive medium through parameters such as whether the film is applied, the material of the film, and the thickness of the film. It should be noted that each parameter combination in the following text of this application includes the corresponding temperature and film-applying state.
[0063] In the embodiment of the present application, by obtaining the current parameter combination, that is, obtaining the current temperature and the current film-attaching state of the conductive medium, the number of ultrasonic transmissions n can be determined according to the current temperature and the current film-attaching state. According to the number of ultrasonic transmissions n, the ultrasonic sensor is controlled to transmit n ultrasonic signals to the conductive medium, and receive the echo signal formed after each ultrasonic signal transmitted is reflected. The received echo signals can be superimposed and the current cumulative sum signal obtained by superposition can be used for fingerprint detection. Since the intensity of the current cumulative sum signal obtained by superimposing multiple echo signals is significantly improved compared with a single echo signal, the influence of the noise signal on the current cumulative sum signal is much smaller than that on a single echo signal. The fingerprint detection using the current cumulative sum signal obtained by superimposing multiple echo signals can significantly reduce the influence of noise. In this embodiment, the ultrasonic sensor chip can accumulate the collected multiple echo signals, and then output a sum value, that is, the current cumulative sum signal. The current cumulative sum signal can be understood as the cumulative sum of discrete sampling points in the time dimension. Since the echo signal is discrete in the time dimension, the echo signal can be understood as a discrete sampling point. It should be noted that, for each ultrasonic signal emitted, an echo signal can be collected, and a fingerprint image data can be obtained based on the echo signal. When the ultrasonic signal is emitted n times, n echo signals can be collected. After the n echo signals are accumulated, an enhanced fingerprint image data can be obtained. The fingerprint detection is performed based on the feature points of the enhanced fingerprint image data, which can significantly reduce the influence of noise. In addition, when determining the number of times to emit ultrasonic signals and collect echo signals, the embodiment of the present application can adjust the number of times to emit ultrasonic signals and collect echo signals according to the current temperature and the current film-sticking state, so as to ensure that in scenarios with different temperatures and film-sticking states, the strength of the current accumulated signal obtained by superimposing the echo signals can be maintained within a certain range, thereby ensuring the stability of the accuracy of fingerprint detection and improving the performance of fingerprint detection. The technical solution of this embodiment three is based on the same inventive concept as that of the above embodiment one. The technical solution of this embodiment can be obtained by replacing the reference factor "current temperature / temperature" of embodiment one with "current temperature / temperature" + "current film status / film status". The specific implementation method of the technical solution of this embodiment can refer to the description of embodiment one, which will not be repeated here.
[0064] As a feasible implementation method, the number of electrodes on both sides of the piezoelectric chip can be increased, and the number of high-voltage pulses output by the electrodes on both sides of the piezoelectric chip to the piezoelectric chip when transmitting ultrasonic signals can be increased to enhance the intensity of the transmitted ultrasonic signal and the intensity of the received echo signal. If in equations 1 and 2, When the number of high-voltage pulses output to the piezoelectric chip when the ultrasonic signal is emitted is 1, the intensity of the ultrasonic signal emitted by the ultrasonic sensor is 1. Then, when the ultrasonic signal is emitted, the number of high-voltage pulses output to the piezoelectric chip is ( is a positive integer), the intensity of the echo signal corresponding to the ultrasonic signal P’ for:
[0065]
[0066] The size is usually set according to the frequency of the high-voltage pulse. For example, when the frequency of the high-voltage pulse output to the piezoelectric chip is between 10MHz and 12MHz, It can be 5; the excitation frequency is between 8MHz and 10MHz, It can be 6.
[0067] It should be noted that if the number of high-voltage pulses output to the piezoelectric chip each time an ultrasonic signal is emitted is , the ultrasonic sensor transmits n ultrasonic signals and receives the corresponding n echo signals, then the n echo signals are superimposed to obtain the updated cumulative sum signal strength for:
[0068]
[0069] In some optional embodiments of the first embodiment, the number of ultrasonic emission times n is determined according to the current temperature, including: according to the current temperature and the number of high-voltage pulses output to the piezoelectric chip when the ultrasonic signal is emitted. , determine the number of ultrasonic emissions n.
[0070] For example, different The mapping relationship between different temperatures and the number of ultrasonic emission n can be obtained based on the mapping relationship. and the current temperature to determine the corresponding number of ultrasonic emission n. Alternatively, different and the number of ultrasonic emission n, so that based on the mapping relationship, according to And the current temperature, determine the corresponding number of ultrasonic emissions n.
[0071] The number of high-voltage pulses is usually limited by the ultrasonic sensor hardware, so the range of adjusting the number of high-voltage pulses is small. In the embodiment of the present application, according to the current temperature and the preset number of high-voltage pulses output to the piezoelectric chip when transmitting the ultrasonic signal, , determine the number of ultrasonic transmissions n, and you can preset the number of high-voltage pulses At the same time, ultrasonic signals are continuously emitted multiple times and corresponding echo signals are received, reducing hardware limitations and more flexibly enhancing the strength of the updated cumulative sum signal, so that the updated cumulative sum signal can more easily fall within the preset signal strength range.
[0072] In some optional embodiments of the second embodiment, the ultrasonic emission times n are determined according to the current film-sticking state, including: according to the current film-sticking state, and the number of high-voltage pulses output to the piezoelectric chip when the ultrasonic signal is emitted. , determine the number of ultrasonic emissions n.
[0073] The number of high-voltage pulses is usually limited by the ultrasonic sensor hardware, so the range of adjusting the number of high-voltage pulses is small. In the embodiment of the present application, according to the current film-applying state and the preset number of high-voltage pulses output to the piezoelectric chip when emitting ultrasonic signals, , determine the number of ultrasonic transmissions n, and you can preset the number of high-voltage pulses At the same time, ultrasonic signals are continuously emitted multiple times and corresponding echo signals are received, reducing hardware limitations, and the strength of the updated cumulative sum signal can be more flexibly enhanced, so that the updated cumulative sum signal can more easily fall within the preset signal strength range. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the above embodiment one. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0074] In some optional embodiments of the third embodiment, the number of ultrasonic emission times n is determined according to the current parameter combination, including: according to the current temperature and the current film-sticking state, and the number of high-voltage pulses output to the piezoelectric chip when the ultrasonic signal is emitted. , determine the number of ultrasonic emissions n.
[0075] The number of high-voltage pulses is usually limited by the ultrasonic sensor hardware, so the range of adjusting the number of high-voltage pulses is small. In the embodiment of the present application, the number of high-voltage pulses output to the piezoelectric chip when emitting ultrasonic signals can be adjusted according to the current parameter combination including the current temperature and the current film-attaching state. , determine the number of ultrasonic transmissions n, and you can preset the number of high-voltage pulses At the same time, ultrasonic signals are continuously emitted multiple times and corresponding echo signals are received, reducing hardware limitations, and the strength of the updated cumulative sum signal can be more flexibly enhanced, so that the updated cumulative sum signal can more easily fall within the preset signal strength range. The optional embodiment of this embodiment three is based on the same inventive concept as the optional embodiment of the above embodiment one. The reference factor "current temperature / temperature" of the optional embodiment of embodiment one is replaced by "current temperature / temperature" + "current film state / film state" to obtain the technical solution of the optional embodiment of this embodiment three. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of embodiment one, which will not be repeated here.
[0076] like Figure 3 As shown, in some optional embodiments of the first embodiment, determining the number of ultrasonic emission times n according to the current temperature may include:
[0077] S121. Determine the number n of ultrasonic transmissions according to the current temperature and first mapping information, wherein the first mapping information is used to indicate a mapping relationship between the temperature of the conductive medium and the number of ultrasonic transmissions.
[0078] The first mapping information may be a first mapping information table including multiple temperatures and the number of ultrasonic transmissions corresponding to each temperature. The temperature may be a single temperature value or a temperature range, both of which are within the protection scope of the embodiments of the present application. The first mapping information may also be a mapping curve between the temperature of the conductive medium and the number of ultrasonic transmissions, and the temperature of the conductive medium and the number of ultrasonic transmissions may be the horizontal and vertical coordinates of the midpoint of the mapping curve, respectively, so that the current temperature can be directly mapped to the number of ultrasonic transmissions n through the mapping curve.
[0079] In the embodiment of the present application, the mapping relationship between the temperature of the conductive medium and the number of ultrasonic emission times indicated by the first mapping information can be used to quickly determine the number of ultrasonic emission times n, without the need for complex calculations, thereby improving the efficiency of fingerprint detection and effectively saving computing power.
[0080] In some optional embodiments of Example 2, determining the number of ultrasonic emissions n according to the current film sticking state includes: determining the number of ultrasonic emissions n according to the current film sticking state and second mapping information, wherein the second mapping information is used to indicate the mapping relationship between the film sticking state of the conductive medium and the number of ultrasonic emissions.
[0081] In the embodiment of the present application, the mapping relationship between the film state of the conductive medium indicated by the second mapping information and the number of ultrasonic emission times can be used to quickly determine the number of ultrasonic emission times n, without the need for complex calculations, which can improve the efficiency of fingerprint detection and effectively save computing power. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0082] In some optional embodiments of Example 3, determining the number of ultrasonic emissions n according to the current parameter combination includes: determining the number of ultrasonic emissions n according to the current parameter combination and third mapping information, wherein the current parameter combination includes the current temperature and the current film state, and the third mapping information is used to indicate the mapping relationship between the temperature of the conductive medium, the film state and the number of ultrasonic emissions.
[0083] In the embodiment of the present application, the mapping relationship between the temperature of the conductive medium, the film state and the number of ultrasonic transmissions indicated by the third mapping information can be used to quickly determine the number of ultrasonic transmissions n, without the need for complex calculations, which can improve the efficiency of fingerprint detection and effectively save computing power. The optional embodiment of the third embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current temperature / temperature" + "current film state / film state" to obtain the technical solution of the optional embodiment of the third embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0084] like Figure 3 As shown, in some optional embodiments of the first embodiment, the method further includes updating the first mapping information; updating the first mapping information includes:
[0085] S210: Obtain an updated temperature of the conducting medium.
[0086] S220. Determine, according to the updated temperature and the first mapping information, the number m of ultrasonic transmissions mapped to the updated temperature; wherein m is a positive integer.
[0087] S230, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each transmitted ultrasonic signal is reflected, the temperature of the conductive medium when the ultrasonic sensor transmits m ultrasonic signals is the updated temperature; superimpose the m updated echo signals to obtain an updated cumulative sum signal.
[0088] In the embodiment of the present application, the first mapping information may be updated at a fixed time or at a fixed time interval, or may be updated at a random time. To achieve that the temperature of the conductive medium is the updated temperature when the ultrasonic sensor transmits m ultrasonic signals, the updated temperature of the conductive medium may be obtained very close to the time when the ultrasonic sensor transmits m ultrasonic signals, for example, 0.1 seconds, 0.2 seconds, etc. before transmitting the m ultrasonic signals. It should be understood that superimposing the m updated echo signals is to add the intensity values of the m updated echo signals.
[0089] S240: Update the ultrasonic transmission times m according to the intensity of the updated cumulative sum signal and the preset signal intensity range.
[0090] It should be understood that the updated cumulative sum signal obtained by superimposing the echo signals received by the ultrasonic sensor is an analog quantity, which will eventually be converted into a digital quantity through analog-to-digital conversion. The analog-to-digital conversion has a corresponding working range. If it exceeds this range (too strong or too weak), accurate analog-to-digital conversion cannot be performed, showing a saturation phenomenon, which affects the accuracy of subsequent fingerprint detection. To this end, the embodiment of the present application can preset a signal strength interval according to the working range of the analog-to-digital conversion, and control the strength of the updated cumulative sum signal obtained by superimposing the echo signals to be within the working range of the analog-to-digital conversion.
[0091] When updating the number m of ultrasonic emissions mapped to the updated temperature in the first mapping information, the updated cumulative signal obtained by superimposing the updated echo signal can be compared with the preset signal strength range. When the updated cumulative signal exceeds the preset signal strength range, the number of ultrasonic emissions mapped to the updated temperature is updated so that at the updated temperature, the intensity of the updated cumulative signal obtained according to the updated number of ultrasonic emissions is within the preset signal strength range.
[0092] It should be noted that S210-S240 may be before S110-S140 or after S110-S140, and the embodiment of the present application does not limit the order of S210-S240 and S110-S140, as long as both can proceed normally.
[0093] In the embodiment of the present application, the updated temperature of the conductive medium can be continuously obtained, and the number of ultrasonic transmissions m mapped to the updated temperature can be determined according to the updated temperature and the first mapping information. According to the number of ultrasonic transmissions m, the ultrasonic sensor is controlled to transmit m ultrasonic signals to the conductive medium, and an updated echo signal formed after each ultrasonic signal is reflected is received. After the updated echo signals are superimposed to obtain an updated cumulative sum signal, when the updated cumulative sum signal exceeds a preset signal strength range, the number of ultrasonic transmissions m mapped to the updated temperature in the first mapping information is updated, so that when the temperature of the subsequent conductive medium is the updated temperature, the strength of the updated cumulative sum signal obtained according to the updated number of ultrasonic transmissions can be within the preset signal strength range, thereby improving the accuracy of fingerprint detection.
[0094] In fact, in addition to temperature, other conditions or user habits will also affect the loss of ultrasonic signals, such as whether the conductive medium includes a protective film such as a mobile phone film. When the conductive medium includes a mobile phone film, the mobile phone film will cause additional loss to the ultrasonic signal or the echo signal. It should be understood that the conductive medium of the embodiment of the present application can be composed of multiple parts. For example, the conductive medium can include a mobile phone screen panel and a mobile phone film attached to the mobile phone screen panel. In this case, the second side of the conductive medium is the side of the mobile phone film that contacts the finger.
[0095] In the embodiment of the present application, the temperature can be updated in real time, the echo signal can be collected and updated, and the number of ultrasonic transmissions in the first mapping information can be continuously updated, so that the number of ultrasonic transmissions in the first mapping information can change synchronously with the conditions that affect the loss of ultrasonic signals. When the conditions that affect the loss of ultrasonic signals change, the embodiment of the present application can obtain a more accurate number of ultrasonic transmissions n based on the updated number of ultrasonic transmissions, so that the strength of the updated cumulative sum signal obtained thereafter is still within the preset signal strength range, so as to ensure that the method provided in the embodiment of the present application is applicable in various usage scenarios or conditions. In addition, by continuously updating the number of ultrasonic transmissions in the first mapping information, the number of ultrasonic transmissions in the first mapping information can be adaptively adjusted in response to the usage habits of different users, so that the method provided in the embodiment of the present application can be applicable to different users.
[0096] In some optional embodiments of the second embodiment, the method further includes updating the second mapping information; the updating of the second mapping information includes:
[0097] Acquire the updated film sticking state of the conductive medium; determine the number of ultrasonic transmissions m mapped to the updated film sticking state according to the updated film sticking state and the second mapping information; control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each ultrasonic signal is reflected, wherein the film sticking state of the conductive medium is the updated film sticking state when the ultrasonic sensor transmits the m ultrasonic signals; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number of ultrasonic transmissions m according to the intensity of the updated cumulative sum signal and a preset signal intensity range.
[0098] In the embodiment of the present application, the updated film-sticking state of the conductive medium can be continuously obtained, and the ultrasonic emission number m mapped to the updated film-sticking state can be determined according to the updated film-sticking state and the second mapping information. According to the ultrasonic emission number m, the ultrasonic sensor is controlled to emit m ultrasonic signals to the conductive medium, and the updated echo signal formed after the ultrasonic signal emitted each time is reflected is received. After the updated echo signal is superimposed to obtain the updated cumulative sum signal, when the updated cumulative sum signal exceeds the preset signal strength range, the ultrasonic emission number m mapped to the updated film-sticking state in the second mapping information is updated, so that when the film-sticking state of the subsequent conductive medium is the updated film-sticking state, the intensity of the updated cumulative sum signal obtained according to the updated ultrasonic emission number can be located in the preset signal strength range, thereby improving the accuracy of fingerprint detection. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film-sticking state / film-sticking state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0099] In some optional embodiments of the third embodiment, the method further includes updating the third mapping information; the updating of the third mapping information includes:
[0100] Acquire an update parameter combination of the conductive medium, the update parameter combination comprising an update temperature and an update film sticking state; determine the number of ultrasonic transmissions m mapped to the update parameter combination according to the update parameter combination and the third mapping information; control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an update echo signal formed after each ultrasonic signal transmitted is reflected, the temperature and the film sticking state of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals are the update temperature and the update film sticking state, respectively; superimpose the m update echo signals to obtain an update cumulative sum signal; and update the number of ultrasonic transmissions m according to the intensity of the update cumulative sum signal and a preset signal intensity range.
[0101] In the embodiment of the present application, the updated parameter combination of the conductive medium can be continuously obtained, and the number of ultrasonic transmissions m mapped to the updated parameter combination can be determined according to the updated parameter combination and the third mapping information. According to the number of ultrasonic transmissions m, the ultrasonic sensor is controlled to transmit m ultrasonic signals to the conductive medium, and an updated echo signal formed after each ultrasonic signal transmitted is reflected is received. After the updated echo signals are superimposed to obtain an updated cumulative sum signal, when the updated cumulative sum signal exceeds a preset signal strength range, the number of ultrasonic transmissions m mapped to the updated temperature and the updated film state of the updated parameter combination in the third mapping information is updated, so that when the subsequent temperature and the film state of the conductive medium are the updated temperature and the updated film state in the updated parameter combination, the intensity of the updated cumulative sum signal obtained according to the updated number of ultrasonic transmissions can be within the preset signal strength range, thereby improving the accuracy of fingerprint detection. The optional embodiments of the present embodiment three are based on the same inventive concept as the optional embodiments of the above embodiment one. The reference factor "current temperature / temperature" of the optional embodiment of the embodiment one is replaced by "current temperature / temperature" + "current film status / film status" to obtain the technical solution of the optional embodiment of the present embodiment three. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the embodiment one, which will not be repeated here.
[0102] In some optional embodiments of the first embodiment, the ultrasonic emission times m are updated according to the strength of the updated cumulative sum signal and the preset signal strength interval, including:
[0103] If the intensity of the updated accumulated sum signal is within the signal intensity interval, the ultrasonic emission times m are updated to maintain m.
[0104] If the intensity of the updated accumulated sum signal is outside the signal intensity range, the updated ultrasonic emission times corresponding to the updated temperature are determined according to the following formula to update the original ultrasonic emission times m corresponding to the updated temperature:
[0105]
[0106] Used to indicate the updated number of ultrasonic transmissions corresponding to the updated temperature. Used to indicate the middle value of the signal strength interval. Used to indicate the strength value of the updated accumulated sum signal;
[0107] Update the ultrasonic transmission number m to the updated ultrasonic transmission number.
[0108] When the first mapping information is a mapping curve, after the number of ultrasonic emission times mapped to the updated temperature in the first mapping information is updated to the updated number of ultrasonic emission times, the updated temperature and As a group of “temperature-ultrasonic emission times” samples, the mapping curve is corrected using them to improve the accuracy of the mapping curve.
[0109] In the embodiment of the present application, through the above formula, the updated number of ultrasonic emissions corresponding to the updated temperature can be determined according to the middle value of the preset signal strength range, and by updating the number of ultrasonic emissions m mapped to the update temperature in the first mapping information to the updated number of ultrasonic emissions, the intensity of the updated cumulative sum signal obtained according to the updated number of ultrasonic emissions can be located near the middle value of the preset signal strength, that is, the updated cumulative sum signal obtained according to the updated number of ultrasonic emissions can be more easily within the preset signal strength range, thereby ensuring the effect of analog-to-digital conversion of the updated cumulative sum signal.
[0110] In some optional embodiments of the second embodiment, the updating of the ultrasonic emission times m according to the strength of the updated cumulative sum signal and a preset signal strength interval includes:
[0111] If the intensity of the updated cumulative sum signal is within the signal intensity interval, the ultrasonic emission times m are updated to maintain m;
[0112] If the intensity of the updated cumulative sum signal is outside the signal intensity range, the updated ultrasonic emission times corresponding to the updated film sticking state are determined according to the following formula:
[0113]
[0114] Used to indicate the update ultrasonic emission times, used to indicate the middle value of the signal strength interval, used to indicate the strength value of the updated accumulated sum signal;
[0115] The ultrasonic transmission number m is updated to the updated ultrasonic transmission number.
[0116] In the embodiment of the present application, the above formula can be used to determine the number of updated ultrasonic transmissions corresponding to the updated film state according to the middle value of the preset signal strength interval. By updating the number of ultrasonic transmissions m mapped to the updated film state in the second mapping information to the number of updated ultrasonic transmissions, the intensity of the updated cumulative sum signal obtained according to the updated ultrasonic transmission number can be located near the middle value of the preset signal strength, that is, the updated cumulative sum signal obtained according to the updated ultrasonic transmission number can be more easily included in the preset signal strength interval, thereby ensuring the effect of analog-to-digital conversion of the updated cumulative sum signal. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The technical solution of the optional embodiment of the second embodiment can be obtained by replacing the reference factor "current temperature / temperature" of the optional embodiment of the first embodiment with "current film state / film state". The specific implementation of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0117] In some optional embodiments of the third embodiment, the updating of the ultrasonic emission times m according to the strength of the updated cumulative sum signal and a preset signal strength interval includes:
[0118] If the intensity of the updated cumulative sum signal is within the signal intensity interval, the ultrasonic emission times m are updated to maintain m;
[0119] If the intensity of the updated cumulative sum signal is outside the signal intensity range, the updated ultrasonic emission times corresponding to the updated temperature and the updated film sticking state are determined according to the following formula:
[0120]
[0121] Used to indicate the update ultrasonic emission times, used to indicate the middle value of the signal strength interval, used to indicate the strength value of the updated accumulated sum signal;
[0122] The ultrasonic transmission number m is updated to the updated ultrasonic transmission number.
[0123] In the embodiment of the present application, the above formula can be used to determine the updated ultrasonic emission times corresponding to the updated parameter combination according to the middle value of the preset signal strength interval. By updating the ultrasonic emission times m mapped to the updated temperature and the updated film state of the updated parameter combination in the third mapping information to the updated ultrasonic emission times, the intensity of the updated cumulative sum signal obtained according to the updated ultrasonic emission times can be located near the middle value of the preset signal strength, that is, the updated cumulative sum signal obtained according to the updated ultrasonic emission times can be more easily included in the preset signal strength interval, thereby ensuring the effect of analog-to-digital conversion of the updated cumulative sum signal. The optional embodiment of the third embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The technical solution of the optional embodiment of the third embodiment can be obtained by replacing the reference factor "current temperature / temperature" of the optional embodiment of the first embodiment with "current temperature / temperature"+"current film state / film state". The specific implementation of the technical solution of the third embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0124] In some optional embodiments of the first embodiment, when there is no finger pressing on the pressing surface, the mapping information is updated. Specifically, when the ultrasonic sensor transmits ultrasonic signals m times, there is no finger pressing on the pressing surface. When the updated temperature of the conductive medium is obtained, there is no finger pressing on the pressing surface. When there is a finger pressing on the pressing surface, ultrasonic fingerprint detection is performed. Specifically, when the ultrasonic sensor transmits ultrasonic signals to the conductive medium n times, there is a finger pressing on the pressing surface. When the current temperature of the conductive medium is obtained, there is a finger pressing on the pressing surface.
[0125] When there is no finger pressing on the pressing surface, when the ultrasonic signal propagates to the outside of the conductive medium, most of the ultrasonic signal will be reflected back by the interface between the conductive medium and the air, and only a small part will enter the air, and the loss of the ultrasonic signal is small, that is, However, when there is a finger pressing on the pressing surface, when the ultrasonic signal propagates to the outside of the conductive medium, most of the ultrasonic signal will enter the finger, resulting in a large loss of the ultrasonic signal. becomes larger, thereby making the echo signal received by the ultrasonic sensor smaller. If the first mapping information is updated when there is a finger pressing on the pressing surface, the number of ultrasonic transmissions after the update will be too large. When the finger is lifted, the updated cumulative sum signal obtained by superimposing the collected echo signals will also be too large. When the analog-to-digital conversion is performed on the updated cumulative sum signal, saturation will easily occur, resulting in the analog-to-digital conversion not being able to proceed normally. Therefore, the embodiment of the present application updates the mapping information when there is no finger pressing on the pressing surface. The update is performed after the finger is lifted and the ultrasonic measurement is performed. The mapping information does not need to be updated when the finger is pressing.
[0126] The embodiment of the present application updates the first mapping information when there is no finger pressing on the pressing surface. Specifically, when there is no finger pressing on the pressing surface, the ultrasonic sensor is controlled to transmit m ultrasonic signals to update the first mapping information, thereby avoiding the above problems and ensuring that the analog-to-digital conversion can be performed normally. When there is no finger pressing on the pressing surface, the updated temperature of the conductive medium is obtained, which can avoid the finger temperature from affecting the updated temperature of the conductive medium and reduce the error in obtaining the updated temperature. In addition, ultrasonic fingerprint detection is performed when there is a finger pressing on the pressing surface. Specifically, the current temperature of the conductive medium is obtained, and the ultrasonic sensor transmits n ultrasonic signals to the conductive medium. These are all performed when there is a finger pressing on the pressing surface. This can avoid executing the fingerprint detection program when there is no finger pressing, thereby saving power consumption.
[0127] In some optional embodiments of the second embodiment, the embodiment of the present application updates the second mapping information when there is no finger pressing on the pressing surface, when the ultrasonic sensor transmits ultrasonic signals m times, there is no finger pressing on the pressing surface, and when the updated film state of the conductive medium is obtained, there is no finger pressing on the pressing surface. In addition, ultrasonic fingerprint detection is performed when there is a finger pressing on the pressing surface, when the ultrasonic sensor transmits ultrasonic signals to the conductive medium n times, there is a finger pressing on the pressing surface, and when the current film state of the conductive medium is obtained, there is a finger pressing on the pressing surface.
[0128] The embodiment of the present application updates the second mapping information when there is no finger pressing on the pressing surface. Specifically, when there is no finger pressing on the pressing surface, the ultrasonic sensor is controlled to transmit m ultrasonic signals to update the second mapping information, thereby avoiding the above problems and ensuring that the analog-to-digital conversion can be carried out normally. When there is no finger pressing on the pressing surface, the updated film state of the conductive medium is obtained, which can avoid the influence of the finger film state on the updated film state of the conductive medium and reduce the error in obtaining the updated film state. In addition, ultrasonic fingerprint detection is performed when there is a finger pressing on the pressing surface. Specifically, the current film state of the conductive medium is obtained, and the ultrasonic sensor transmits n ultrasonic signals to the conductive medium. These are all performed when there is a finger pressing on the pressing surface. This can avoid the fingerprint detection program from being executed when there is no finger pressing, thereby saving power consumption. The optional embodiments of the second embodiment are based on the same inventive concept as the optional embodiments of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0129] In some optional embodiments of the third embodiment, the embodiment of the present application updates the third mapping information when there is no finger pressing on the pressing surface. Specifically, when the ultrasonic sensor transmits ultrasonic signals m times, there is no finger pressing on the pressing surface. When the updated temperature of the conductive medium and the updated film state are obtained, there is no finger pressing on the pressing surface. In addition, ultrasonic fingerprint detection is performed when there is a finger pressing on the pressing surface. Specifically, when the ultrasonic sensor transmits ultrasonic signals to the conductive medium n times, there is a finger pressing on the pressing surface. When the current temperature of the conductive medium and the current film state are obtained, there is a finger pressing on the pressing surface.
[0130] The embodiment of the present application updates the third mapping information when there is no finger pressing on the pressing surface. Specifically, when there is no finger pressing on the pressing surface, the ultrasonic sensor is controlled to transmit m ultrasonic signals to update the third mapping information, thereby avoiding the above problems and ensuring that the analog-to-digital conversion can be carried out normally. In addition, when there is no finger pressing on the pressing surface, the updated temperature of the conductive medium and the updated film state are obtained, which can avoid the finger temperature from affecting the updated temperature of the conductive medium and reduce the error in obtaining the updated temperature. In addition, ultrasonic fingerprint detection is performed when there is a finger pressing on the pressing surface. Specifically, the current temperature of the conductive medium, the current film state, and the ultrasonic sensor transmit n ultrasonic signals to the conductive medium are obtained, all of which are performed when there is a finger pressing on the pressing surface. The fingerprint detection program can be avoided when there is no finger pressing to save power consumption. The optional embodiments of the present embodiment three are based on the same inventive concept as the optional embodiments of the above embodiment one. The reference factor "current temperature / temperature" of the optional embodiment of the embodiment one is replaced by "current temperature / temperature" + "current film status / film status" to obtain the technical solution of the optional embodiment of the present embodiment three. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the embodiment one, which will not be repeated here.
[0131] In some optional embodiments of the first embodiment, the first mapping information includes the temperature of the conductive medium, the number of ultrasonic transmissions mapped to the temperature of the conductive medium, and an update status of the number of ultrasonic transmissions.
[0132] The temperature of the conducting medium in the first mapping information may be a single temperature value or a temperature range. For example, the first mapping information may be the following Table 1:
[0133] Table 1: First mapping information table
[0134]
[0135] In Table 1, a, b, c, d, and e represent different ultrasonic emission times, and their values are positive integers. In the embodiment of the present application, the temperature interval in Table 1 can be reduced to reduce the granularity of the updated temperature, thereby improving the accuracy of determining the ultrasonic emission times n according to the updated temperature, so that the first mapping information can be better applied to ultrasonic sensors of various operating temperatures.
[0136] For ease of understanding, refer to Figure 4 The process of updating the first mapping information in the embodiment of the present application is illustrated by way of example.
[0137] like Figure 4As shown, after obtaining m updated echo signals through S401, S402 can be executed to determine the strength of the updated cumulative sum signal obtained by superimposing the m updated echo signals, and S403 can be executed to determine whether the strength of the updated cumulative sum signal is within the preset signal strength range. If the judgment result is yes, S404 is executed to update the number of ultrasonic transmissions mapped to the updated temperature in the first mapping information to maintain m, and the update state of the number of ultrasonic transmissions mapped to the updated temperature is determined to be updated. If the judgment result is no, S405 is executed to calculate the updated number of ultrasonic transmissions corresponding to the updated temperature. For example, the updated number of ultrasonic transmissions corresponding to the updated temperature can be calculated according to the above formula. ; The number of ultrasonic transmissions mapped with the updated temperature in the first mapping information is updated to the updated number of ultrasonic transmissions, and the update status of the number of ultrasonic transmissions mapped with the updated temperature is determined as updated.
[0138] In the embodiment of the present application, it can be determined whether the intensity of the updated cumulative sum signal is within a preset signal intensity interval, and when the intensity of the updated cumulative sum signal is no longer within the preset signal intensity interval, the number of ultrasonic emission times in the first mapping information is updated so that the intensity of the corresponding updated cumulative sum signal is again within the preset signal intensity interval, and the update status of the ultrasonic emission times is determined to be updated to indicate that the ultrasonic emission times have a higher timeliness than when they are not updated. In addition, when the intensity of the updated cumulative sum signal is within the preset signal intensity interval, the corresponding number of ultrasonic emission times can be kept at the original value, and the update status of the ultrasonic emission times is determined to be updated to indicate that the ultrasonic emission times also have a higher timeliness.
[0139] Optionally, determining the number of ultrasonic wave transmissions n according to the current temperature and the first mapping information includes:
[0140] According to the current temperature and the first mapping information, the number of ultrasonic wave transmissions mapped to the current temperature is determined.
[0141] As an optional implementation manner, the number of ultrasonic transmissions mapped to the temperature closest to the current temperature in the first mapping information may be determined as the number of ultrasonic transmissions mapped to the current temperature.
[0142] Referring to Table 1, for example, if the current temperature is 43 degrees, the number of ultrasonic transmissions d mapped to 45 degrees can be determined as the number of ultrasonic transmissions mapped to the current temperature. In addition, when there are two temperatures closest to the current temperature in the first mapping information, the number of ultrasonic transmissions mapped to the lower temperature can be selected as the number of ultrasonic transmissions mapped to the current temperature, or the number of ultrasonic transmissions mapped to the higher temperature can be selected as the number of ultrasonic transmissions mapped to the current temperature, both of which are within the protection scope of the embodiments of the present application.
[0143] In an embodiment of the present application, when the current temperature is not equal to the temperature in the first mapping information, the number of ultrasonic emissions mapped to the temperature closest to the current temperature in the first mapping information can be determined as the number of ultrasonic emissions mapped to the current temperature. The number of ultrasonic emissions mapped to the current temperature can be determined simply and quickly, thereby improving the efficiency of ultrasonic fingerprint detection.
[0144] Of course, the embodiments of the present application may also use other suitable methods to determine the number of ultrasonic transmissions mapped to the current temperature. For example, the current temperature may be interpolated in the temperature included in the first mapping information, and the number of ultrasonic transmissions mapped to the current temperature may be determined by interpolation, which are all within the protection scope of the embodiments of the present application.
[0145] If the update status of the number of ultrasonic transmissions mapped to the current temperature in the first mapping information is marked as updated, the number of ultrasonic transmissions mapped to the current temperature is determined as the number of ultrasonic transmissions n.
[0146] If the update status of the ultrasonic emission times mapped to the current temperature in the first mapping information is not marked as updated, the ultrasonic emission times n is determined according to the update status of the ultrasonic emission times mapped to at least one candidate temperature adjacent to the current temperature in the first mapping information.
[0147] The candidate temperature may be several temperatures close to the current temperature in the first mapping information, for example, the temperature which is not closest to the current temperature among the first several temperatures (such as 5 or 7, etc., which may be preset as needed) with the smallest difference from the current temperature.
[0148] In an embodiment of the present application, the first mapping information includes the temperature of the conductive medium, the number of ultrasonic transmissions mapped to the temperature of the conductive medium, and the update status of the number of ultrasonic transmissions. When determining the number of ultrasonic transmissions n, the number of ultrasonic transmissions mapped to the current temperature can be determined based on the current temperature and the first mapping information. When the update status of the number of ultrasonic transmissions mapped to the current temperature is marked as updated, the number of ultrasonic transmissions mapped to the current temperature is determined as the number of ultrasonic transmissions n. When the update status of the number of ultrasonic transmissions mapped to the current temperature is not marked as updated, the number of ultrasonic transmissions n is determined based on the update status of the number of ultrasonic transmissions mapped to at least one candidate temperature adjacent to the current temperature. The data update status in the first mapping information can be used to select the updated number of ultrasonic transmissions as the number of ultrasonic transmissions n as much as possible, to ensure the timeliness of the number of ultrasonic transmissions n, and to avoid the untimely update of the number of ultrasonic transmissions affecting the effect of fingerprint detection.
[0149] In some optional embodiments of the second embodiment, the second mapping information includes the film-attaching state of the conductive medium, the number of ultrasonic emission times mapped to the film-attaching state of the conductive medium, and the update state of the ultrasonic emission times;
[0150] The determining the ultrasonic wave transmission times n according to the current film sticking state and the second mapping information includes:
[0151] Determining the number of ultrasonic wave transmissions mapped to the current film sticking state according to the current film sticking state and the second mapping information;
[0152] If the update state of the ultrasonic emission number mapped to the current film sticking state is marked as updated, the ultrasonic emission number mapped to the current film sticking state is determined as the ultrasonic emission number n;
[0153] If the update status of the ultrasonic emission times mapped to the current film sticking state is not marked as updated, the ultrasonic emission times n is determined according to the update status of the ultrasonic emission times mapped to at least one candidate film sticking state adjacent to the current film sticking state.
[0154] In the embodiment of the present application, the second mapping information includes the film-applying state of the conductive medium, the number of ultrasonic transmissions mapped to the film-applying state of the conductive medium, and the update state of the number of ultrasonic transmissions. When determining the number of ultrasonic transmissions n, the number of ultrasonic transmissions mapped to the current film-applying state can be determined according to the current film-applying state and the second mapping information. When the update state of the number of ultrasonic transmissions mapped to the current film-applying state is marked as updated, the number of ultrasonic transmissions mapped to the current film-applying state is determined as the number of ultrasonic transmissions n. When the update state of the number of ultrasonic transmissions mapped to the current film-applying state is not marked as updated, the number of ultrasonic transmissions n is determined according to the update state of the number of ultrasonic transmissions mapped to at least one candidate film-applying state adjacent to the current film-applying state. The data update state in the second mapping information can be used to select the updated number of ultrasonic transmissions as the number of ultrasonic transmissions n as much as possible, to ensure the timeliness of the number of ultrasonic transmissions n, and to avoid the untimely update of the number of ultrasonic transmissions affecting the effect of fingerprint detection. The optional embodiments of the second embodiment are based on the same inventive concept as the optional embodiments of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0155] In some optional embodiments of the third embodiment, the third mapping information includes the temperature of the conductive medium, the film sticking state, the number of ultrasonic transmissions mapped to the temperature of the conductive medium and the film sticking state, and the update state of the number of ultrasonic transmissions;
[0156] The step of determining the number of ultrasonic transmissions n according to the current parameter combination and the third mapping information includes:
[0157] Determine, according to the current parameter combination and the third mapping information, the number of ultrasonic transmissions mapped to the current parameter combination;
[0158] If the update status of the ultrasonic transmission number mapped to the current parameter combination is marked as updated, the ultrasonic transmission number mapped to the parameter combination is determined as the ultrasonic transmission number n;
[0159] If the update status of the number of ultrasonic emissions mapped to the parameter combination is not marked as updated, the number of ultrasonic emissions n is determined based on the update status of the number of ultrasonic emissions mapped to at least one candidate parameter combination adjacent to the current parameter combination; wherein the candidate parameter combination includes a candidate temperature and a candidate film state.
[0160] In the embodiment of the present application, the third mapping information includes the temperature of the conductive medium, the film sticking state, the number of ultrasonic transmissions mapped to the temperature and the film sticking state of the conductive medium, and the update state of the ultrasonic transmission number. When determining the ultrasonic transmission number n, the ultrasonic transmission number mapped to the current parameter combination can be determined according to the current temperature, the current film sticking state and the third mapping information included in the current parameter combination. When the update state of the ultrasonic transmission number mapped to the current parameter combination is marked as updated, the ultrasonic transmission number mapped to the current parameter combination is determined as the ultrasonic transmission number n. When the update state of the ultrasonic transmission number mapped to the current parameter combination is not marked as updated, the ultrasonic transmission number n is determined according to the update state of the ultrasonic transmission number of at least one candidate parameter combination adjacent to the current parameter combination. The data update state in the third mapping information can be used to select the updated ultrasonic transmission number as the ultrasonic transmission number n as much as possible, to ensure the timeliness of the ultrasonic transmission number n, and to avoid the untimely update of the ultrasonic transmission number affecting the fingerprint detection effect. The optional embodiments of the present embodiment three are based on the same inventive concept as the optional embodiments of the above embodiment one. The reference factor "current temperature / temperature" of the optional embodiment of the embodiment one is replaced by "current temperature / temperature" + "current film status / film status" to obtain the technical solution of the optional embodiment of the present embodiment three. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the embodiment one, which will not be repeated here.
[0161] In some optional embodiments of the first embodiment, determining the ultrasonic emission number n according to an update state of the ultrasonic emission number of at least one candidate temperature mapping adjacent to the current temperature includes:
[0162] If there is a mapped ultrasonic emission number marked as an updated candidate temperature in at least one candidate temperature, the ultrasonic emission number mapped to the candidate temperature whose update status of the mapped ultrasonic emission number is marked as updated and whose absolute value of difference with the current temperature is the smallest is determined as the ultrasonic emission number n. If there is no mapped ultrasonic emission number marked as an updated candidate temperature in at least one candidate temperature, the ultrasonic emission number mapped to the current temperature is determined as the ultrasonic emission number n.
[0163] It should be understood that there may be multiple candidate temperatures, and the update status of the number of ultrasonic emission times mapped to each candidate temperature may be determined separately according to the first mapping information.
[0164] When the update status of only one ultrasonic transmission number mapped to the candidate temperature is updated, the ultrasonic transmission number mapped to the candidate temperature may be determined as the ultrasonic transmission number n.
[0165] When the update status of the ultrasonic transmission times of multiple candidate temperature mappings is updated, the ultrasonic transmission times n can be determined by the ultrasonic transmission times of the candidate temperature mapping whose update status is marked as updated and whose absolute value of difference with the current temperature is the smallest.
[0166] Of course, other suitable methods can be used to determine the ultrasonic transmission number n. For example, when the update status of the ultrasonic transmission numbers of multiple candidate temperature mappings is updated, the average value of the ultrasonic transmission numbers of these candidate temperature mappings can be taken and the average value can be determined as the ultrasonic transmission number n.
[0167] For ease of understanding, refer to Figure 5 The process of determining the number of ultrasonic transmission times n in the embodiment of the present application is illustrated.
[0168] like Figure 5 As shown, after obtaining the current temperature in S501, S502 can be executed to determine whether the number of ultrasonic transmissions mapped to the current temperature in the first mapping information has been marked as updated. If the judgment result is yes, S503 is executed to determine the number of ultrasonic transmissions mapped to the current temperature as the number of ultrasonic transmissions n. If the judgment result is no, S504 can be executed to determine whether the update status of the number of ultrasonic transmissions mapped to at least one candidate temperature adjacent to the current temperature in the first mapping information is updated; if the judgment result is yes, S505 is executed to determine the number of ultrasonic transmissions n from the number of ultrasonic transmissions mapped to the candidate temperature whose number of ultrasonic transmissions is marked as updated and whose absolute value of the difference with the current temperature is the smallest; if the judgment result is no, S503 is executed to determine the number of ultrasonic transmissions mapped to the current temperature as the number of ultrasonic transmissions n.
[0169] In the embodiment of the present application, when there is a mapped ultrasonic emission number marked as an updated candidate temperature in at least one candidate temperature, the ultrasonic emission number n can be determined according to the ultrasonic emission number mapped as the updated candidate temperature, so as to select the updated ultrasonic emission number as the ultrasonic emission number n as much as possible, to ensure the timeliness of the ultrasonic emission number n, and avoid the error of fingerprint detection caused by untimely update. Moreover, when there is no mapped ultrasonic emission number marked as an updated candidate temperature in at least one candidate temperature, the ultrasonic emission number mapped to the current temperature can still be determined as the ultrasonic emission number n, so as to ensure the smooth progress of ultrasonic fingerprint detection.
[0170] In some optional embodiments of the second embodiment, the determining the ultrasonic emission number n according to the update state of the ultrasonic emission number mapped to at least one candidate film sticking state adjacent to the current film sticking state includes:
[0171] If there is a candidate film-sticking state whose mapped ultrasonic emission times are marked as updated in at least one of the candidate film-sticking states, the ultrasonic emission times mapped by the candidate film-sticking state whose updated state of the mapped ultrasonic emission times is marked as updated and whose absolute value of the difference with the current film-sticking state is the smallest is determined as the ultrasonic emission times n. Exemplarily, each parameter in the candidate film-sticking state can be used as its coordinate component, the parameter value in the current film-sticking state can be used as its coordinate component, and the Euclidean distance or Chebyshev distance between the candidate film-sticking state and the current film-sticking state can be used as the difference between the two. Of course, other methods can also be used to determine the difference between the candidate film-sticking state and the current film-sticking state, all of which are within the protection scope of the embodiments of the present application.
[0172] If the at least one candidate film sticking state does not have a mapped ultrasonic emission number that is marked as the updated candidate film sticking state, the ultrasonic emission number mapped to the current film sticking state is determined as the ultrasonic emission number n.
[0173] In the embodiment of the present application, when there is a mapped ultrasonic emission number marked as an updated candidate film state in at least one candidate film state, the ultrasonic emission number n can be determined according to the ultrasonic emission number mapped by the mapped ultrasonic emission number marked as the updated candidate film state, so as to select the updated ultrasonic emission number as the ultrasonic emission number n as much as possible, to ensure the timeliness of the ultrasonic emission number n, and avoid the error of fingerprint detection caused by untimely update. Moreover, when there is no mapped ultrasonic emission number marked as an updated candidate film state in at least one candidate film state, the ultrasonic emission number mapped to the current film state can still be determined as the ultrasonic emission number n, so as to ensure the smooth progress of ultrasonic fingerprint detection. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0174] In some optional embodiments of the third embodiment, determining the ultrasonic transmission number n according to an update state of the ultrasonic transmission number mapped by at least one candidate parameter combination adjacent to the current parameter combination includes:
[0175] If there is a candidate parameter combination whose mapped ultrasonic emission times are marked as updated in at least one of the candidate parameter combinations, the ultrasonic emission times mapped by the candidate parameter combination whose updated status of the mapped ultrasonic emission times is marked as updated and whose absolute value of the difference with the current parameter combination is the smallest is determined as the ultrasonic emission times n. Exemplarily, each parameter in the candidate parameter combination can be used as its coordinate component, the parameter value in the current parameter combination can be used as its coordinate component, and the Euclidean distance or Chebyshev distance between the candidate parameter combination and the current parameter combination can be used as the difference between the two. Of course, other methods can also be used to determine the difference between the candidate parameter combination and the current parameter combination, all of which are within the protection scope of the embodiments of the present application.
[0176] If there is no mapped ultrasonic transmission number in the at least one candidate parameter combination that is marked as the updated candidate parameter combination, the ultrasonic transmission number mapped to the current parameter combination is determined as the ultrasonic transmission number n.
[0177] In the embodiment of the present application, when there is a candidate parameter combination in which the number of ultrasonic transmissions mapped is marked as updated in at least one candidate parameter combination, the number of ultrasonic transmissions n can be determined according to the number of ultrasonic transmissions mapped by the candidate parameter combination in which the number of ultrasonic transmissions mapped is marked as updated, so as to select the updated number of ultrasonic transmissions as much as possible as the number of ultrasonic transmissions n, to ensure the timeliness of the number of ultrasonic transmissions n, and to avoid the error of fingerprint detection caused by untimely update. Moreover, when there is no candidate parameter combination in which the number of ultrasonic transmissions mapped is marked as updated in at least one candidate parameter combination, the number of ultrasonic transmissions mapped to the current parameter combination can still be determined as the number of ultrasonic transmissions n, so as to ensure the smooth progress of ultrasonic fingerprint detection. The optional embodiment of the third embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current temperature / temperature"+"current film sticking state / film sticking state" to obtain the technical solution of the optional embodiment of the third embodiment. The specific implementation of the technical solution of the third embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0178] In some optional embodiments of the second embodiment, determining the number of ultrasonic wave transmissions mapped to the current film sticking state according to the current film sticking state and the second mapping information includes:
[0179] The number of ultrasonic emission times mapped to the film sticking state closest to the current film sticking state in the second mapping information is determined as the number of ultrasonic emission times mapped to the current film sticking state. The film sticking state closest to the current film sticking state can be determined by calculating the film sticking state with the smallest distance such as the Euclidean distance or the Chebyshev distance from the current film sticking state. The calculation method of the distance such as the Euclidean distance or the Chebyshev distance can refer to the relevant technology and will not be described in detail here.
[0180] In the embodiment of the present application, when the current film state is not equal to the film state in the second mapping information, the number of ultrasonic emissions mapped to the film state closest to the current film state in the second mapping information can be determined as the number of ultrasonic emissions mapped to the current film state, so that the number of ultrasonic emissions mapped to the current film state can be determined simply and quickly, which can improve the efficiency of ultrasonic fingerprint detection. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The technical solution of the optional embodiment of the second embodiment can be obtained by replacing the reference factor "current temperature / temperature" of the optional embodiment of the first embodiment with "current film state / film state". The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0181] In some optional embodiments of the third embodiment, determining the number of ultrasonic transmissions mapped to the current parameter combination according to the current parameter combination and the third mapping information includes:
[0182] The number of ultrasonic transmissions mapped to the parameter combination closest to the current parameter combination in the third mapping information is determined as the number of ultrasonic transmissions mapped to the current parameter combination. The parameter combination closest to the current parameter combination can be determined by calculating the parameter combination with the smallest distance such as the Euclidean distance or the Chebyshev distance between the current parameter combination. The calculation method of the distance such as the Euclidean distance or the Chebyshev distance can refer to the relevant technology and will not be repeated here.
[0183] In the embodiment of the present application, when the current parameter combination is not equal to the parameter combination in the third mapping information, the number of ultrasonic emissions mapped to the parameter combination closest to the current parameter combination in the third mapping information can be determined as the number of ultrasonic emissions mapped to the current parameter combination. The number of ultrasonic emissions mapped to the current parameter combination can be determined simply and quickly, which can improve the efficiency of ultrasonic fingerprint detection. The optional embodiment of the third embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current temperature / temperature" + "current film state / film state" to obtain the technical solution of the optional embodiment of the third embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0184] In some optional embodiments of the first embodiment, the first mapping information includes a mapping curve between the temperature of the conductive medium and the number of ultrasonic emission times. Determining the number of ultrasonic emission times n according to the current temperature and the first mapping information includes: mapping the current temperature to the number of ultrasonic emission times n through the mapping curve.
[0185] It should be understood that the mapping curve can exist in the form of a curve graph or in the form of a functional relationship, both of which are within the protection scope of the embodiments of the present application. When determining the number of ultrasonic emission times n, only the current temperature needs to be input, and the number of ultrasonic emission times n can be obtained using the fitting curve.
[0186] In an embodiment of the present application, the first mapping information includes a mapping curve between the temperature of the conductive medium and the number of ultrasonic emissions. The temperature value of the current temperature can be directly mapped to the number of ultrasonic emissions n through a continuous mapping curve, so that the number of ultrasonic emissions n corresponding to the current temperature can be determined more accurately, thereby improving the accuracy of fingerprint detection.
[0187] As a feasible implementation method, a default mapping curve can be given, and then in the process of ultrasonic fingerprint detection, the number of ultrasonic emissions when the conductive medium is at various temperatures is continuously recorded so that the updated cumulative sum signal is in the preset signal strength range to obtain multiple sets of "temperature-ultrasonic emission number" samples, and the mapping curve is continuously corrected using multiple sets of "temperature-ultrasonic emission number" samples. As the number of "temperature-ultrasonic emission number" samples increases, the accuracy of the mapping curve will continue to improve.
[0188] In some optional embodiments of the second embodiment, the second mapping information includes a mapping curve between the film-attaching state of the conductive medium and the number of ultrasonic emission times;
[0189] The determining the ultrasonic wave transmission times n according to the current film sticking state and the second mapping information includes:
[0190] The current film sticking state is mapped to the ultrasonic wave emission number n through the mapping curve.
[0191] In the embodiment of the present application, the second mapping information includes a mapping curve between the film state of the conductive medium and the number of ultrasonic emissions. The current film state can be directly mapped to the number of ultrasonic emissions n through a continuous mapping curve, and the number of ultrasonic emissions n corresponding to the current film state can be determined more accurately, thereby improving the accuracy of fingerprint detection. The optional embodiment of the second embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current film state / film state" to obtain the technical solution of the optional embodiment of the second embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0192] In some optional embodiments of the third embodiment, the third mapping information includes a mapping curve between the temperature of the conductive medium, the film sticking state and the number of ultrasonic emission times;
[0193] The step of determining the ultrasonic wave transmission number n according to the current parameter combination and the third mapping information comprises:
[0194] The current parameters including the current temperature and the current film sticking state are combined through the mapping curve and mapped to the ultrasonic wave emission number n.
[0195] In the embodiment of the present application, the third mapping information includes a mapping curve between the temperature of the conductive medium, the film state, and the number of ultrasonic emissions. Through a continuous mapping curve, the current parameter combination including the current temperature and the current film state can be directly mapped to the number of ultrasonic emissions n, which can more accurately determine the number of ultrasonic emissions n corresponding to the current parameter combination, thereby improving the accuracy of fingerprint detection. The optional embodiment of the third embodiment is based on the same inventive concept as the optional embodiment of the first embodiment above. The reference factor "current temperature / temperature" of the optional embodiment of the first embodiment is replaced by "current temperature / temperature" + "current film state / film state" to obtain the technical solution of the optional embodiment of the third embodiment. The specific implementation method of the technical solution of this embodiment can refer to the relevant description of the optional embodiment of the first embodiment, which will not be repeated here.
[0196] In some optional embodiments of embodiments 1, 2 and 3, the fingerprint detection according to the echo signal includes:
[0197] The n echo signals are superimposed to obtain a current accumulated sum signal, fingerprint image data is parsed according to the current accumulated sum signal, and fingerprint detection is performed according to the fingerprint image data.
[0198] In this embodiment, the ultrasonic sensor chip can accumulate the collected multiple echo signals and then output a sum value, namely the current accumulated sum signal. Specifically, each time an ultrasonic signal is emitted, an echo signal can be collected, and a fingerprint image data can be obtained based on the echo signal. Similarly, based on the accumulated current accumulated sum signal, an enhanced fingerprint image data can be obtained. Fingerprint detection can be performed based on the feature points of the enhanced fingerprint image data, which can significantly reduce the impact of noise.
[0199] According to the second aspect of the embodiment of the present application, Figure 6 As shown, an ultrasonic fingerprint detection device is provided, comprising:
[0200] The acquisition module 601 is used to acquire the current temperature and / or the current film-sticking state of the conductive medium, wherein the first side surface of the conductive medium is in contact with the ultrasonic sensor, and the second side surface of the conductive medium provides a pressing surface.
[0201] The ultrasonic emission times determination module 602 is used to determine the ultrasonic emission times n according to the current temperature and / or the current film sticking state.
[0202] The signal acquisition module 603 is used to control the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and receive echo signals formed after each transmitted ultrasonic signal is reflected, wherein n is equal to the number of ultrasonic transmissions n.
[0203] The fingerprint detection module 604 is used to perform fingerprint detection according to the echo signal.
[0204] The ultrasonic fingerprint detection device of this embodiment is based on the same inventive concept as the embodiment of the ultrasonic fingerprint detection method described above, and is used to implement the corresponding ultrasonic fingerprint detection method in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each unit in the ultrasonic fingerprint detection device of this embodiment can refer to the description of the corresponding part in the aforementioned method embodiment, which will not be described in detail here.
[0205] According to a third aspect of the embodiments of the present application, an electronic device is provided. The specific embodiments of the present application do not limit the specific implementation of the electronic device.
[0206] like Figure 7As shown, the electronic device may include: a processor (processor) 702 , a communication interface (Communications Interface) 704 , a memory (memory) 706 , and a communication bus 708 .
[0207] in:
[0208] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .
[0209] The communication interface 704 is used to communicate with other electronic devices or servers.
[0210] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the above-mentioned ultrasonic fingerprint detection method embodiment.
[0211] Specifically, the program 710 may include program code, which includes executable instructions, and the executable instructions may be computer operation instructions.
[0212] The processor 702 may be a CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0213] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0214] The program 710 may include multiple executable instructions. Specifically, the program 710 may enable the processor 702 to execute operations corresponding to the ultrasonic fingerprint detection method described in any of the aforementioned method embodiments through the multiple executable instructions.
[0215] The specific implementation of each step in program 710 can refer to the corresponding description of the corresponding steps and units in the above method embodiment, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.
[0216] According to a fourth aspect of the embodiments of the present application, a computer storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any of the aforementioned multiple method embodiments is implemented. The computer storage medium includes, but is not limited to: a compact disc read-only memory (CD-ROM), a random access memory (RAM), a floppy disk, a hard disk, or a magneto-optical disk, etc.
[0217] The embodiment of the present application further provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to any ultrasonic fingerprint detection method in the above-mentioned multiple method embodiments.
[0218] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0219] Those of ordinary skill in the art will appreciate that the units and method steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0220] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. An ultrasonic fingerprint detection method, characterized in that: include: Acquiring a current temperature and / or a current film-sticking state of a conductive medium, wherein a first side surface of the conductive medium is in contact with the ultrasonic sensor, and a second side surface of the conductive medium provides a pressing surface; The ultrasonic emission number n is determined according to the current temperature and the first mapping information; or, the ultrasonic emission number n is determined according to the current film-sticking state and the second mapping information; or, the ultrasonic emission number n is determined according to the current parameter combination and the third mapping information; wherein n is a positive integer, the first mapping information is used to indicate the mapping relationship between the temperature of the conductive medium and the ultrasonic emission number, the second mapping information is used to indicate the mapping relationship between the film-sticking state of the conductive medium and the ultrasonic emission number, the current parameter combination includes the current temperature and the current film-sticking state, and the third mapping information is used to indicate the mapping relationship between the temperature of the conductive medium, the film-sticking state, and the ultrasonic emission number; Controlling the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and receiving an echo signal formed after each transmitted ultrasonic signal is reflected; Performing fingerprint detection according to the echo signal; The method further includes updating the first mapping information, updating the second mapping information, or updating the third mapping information; The updating of the first mapping information includes: Acquire the updated temperature of the conductive medium; determine the number of ultrasonic transmissions m mapped to the updated temperature according to the updated temperature and the first mapping information; wherein m is a positive integer; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each transmitted ultrasonic signal is reflected, and the temperature of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals is the updated temperature; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number of ultrasonic transmissions m according to the strength of the updated cumulative sum signal and a preset signal strength interval; The updating of the second mapping information includes: Acquire the updated film-sticking state of the conductive medium; determine the number of ultrasonic transmissions m mapped to the updated film-sticking state according to the updated film-sticking state and the second mapping information; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each transmitted ultrasonic signal is reflected, and the film-sticking state of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals is the updated film-sticking state; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number of ultrasonic transmissions m according to the strength of the updated cumulative sum signal and a preset signal strength range; The updating of the third mapping information comprises: Acquire an update parameter combination of the conductive medium, the update parameter combination including an update temperature and an update film state; determine the number of ultrasonic transmissions m mapped to the update parameter combination according to the update parameter combination and the third mapping information; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an update echo signal formed after each ultrasonic signal is reflected, wherein the temperature and the film state of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals are the update temperature and the update film state, respectively; superimpose the m update echo signals to obtain an update cumulative sum signal; and update the number of ultrasonic transmissions m according to the intensity of the update cumulative sum signal and a preset signal intensity range.
2. The method according to claim 1, characterized in that The updating of the ultrasonic emission times m according to the intensity of the updated cumulative sum signal and the preset signal intensity interval comprises: If the intensity of the updated cumulative sum signal is within the signal intensity interval, the ultrasonic emission times m are updated to maintain m; If the intensity of the updated accumulated sum signal is outside the signal intensity range, the updated ultrasonic emission times corresponding to the updated temperature are determined according to the following formula: Used to indicate the update ultrasonic emission times, used to indicate the middle value of the signal strength interval, used to indicate the strength value of the updated accumulated sum signal; The ultrasonic transmission number m is updated to the updated ultrasonic transmission number.
3. The method according to claim 1, characterized in that When the ultrasonic sensor transmits the m-th ultrasonic signal, there is no finger pressing on the pressing surface, and when the updated temperature of the conductive medium is obtained, there is no finger pressing on the pressing surface; When the ultrasonic sensor transmits ultrasonic signals to the conductive medium n times, a finger is pressed on the pressing surface, and when the current temperature of the conductive medium is obtained, a finger is pressed on the pressing surface.
4. The method according to any one of claims 1 to 3, characterized in that The first mapping information includes the temperature of the conductive medium, the number of ultrasonic transmissions mapped to the temperature of the conductive medium, and an update status of the number of ultrasonic transmissions; The step of determining the ultrasonic wave transmission number n according to the current temperature and the first mapping information includes: Determining the number of ultrasonic transmissions mapped to the current temperature according to the current temperature and the first mapping information; If the update status of the ultrasonic emission number mapped to the current temperature is marked as updated, the ultrasonic emission number mapped to the current temperature is determined as the ultrasonic emission number n; If the update status of the ultrasonic emission times mapped to the current temperature is not marked as updated, the ultrasonic emission times n is determined according to the update status of the ultrasonic emission times mapped to at least one candidate temperature adjacent to the current temperature.
5. The method according to claim 4, characterized in that The step of determining the ultrasonic emission number n according to an update state of the ultrasonic emission number mapped to at least one candidate temperature adjacent to the current temperature comprises: If there is a candidate temperature whose mapped ultrasonic emission times are marked as updated among the at least one candidate temperature, the ultrasonic emission times mapped by the candidate temperature whose updated state of the mapped ultrasonic emission times is marked as updated and whose absolute value of difference with the current temperature is the smallest is determined as the ultrasonic emission times n; If there is no ultrasonic emission number mapped in the at least one candidate temperature and is marked as the updated candidate temperature, the ultrasonic emission number mapped to the current temperature is determined as the ultrasonic emission number n.
6. The method according to claim 4, characterized in that The step of determining the number of ultrasonic transmissions mapped to the current temperature according to the current temperature and the first mapping information includes: The number of ultrasonic transmissions mapped to the temperature closest to the current temperature in the first mapping information is determined as the number of ultrasonic transmissions mapped to the current temperature.
7. The method according to any one of claims 1 to 3, characterized in that The first mapping information includes a mapping curve between the temperature of the conductive medium and the number of ultrasonic emission times; The step of determining the ultrasonic wave transmission number n according to the current temperature and the first mapping information includes: The current temperature is mapped to the ultrasonic wave transmission number n through the mapping curve.
8. The method according to any one of claims 1 to 3, characterized in that According to the current temperature, determining the number of ultrasonic transmissions n includes: The ultrasonic emission times n are determined according to the current temperature and the preset number of high-voltage pulses output to the piezoelectric chip when the ultrasonic signal is emitted.
9. The method according to any one of claims 1 to 3, characterized in that: The performing fingerprint detection according to the echo signal comprises: The n echo signals are superimposed to obtain a current accumulated sum signal, fingerprint image data is parsed according to the current accumulated sum signal, and fingerprint detection is performed according to the fingerprint image data.
10. An ultrasonic fingerprint detection device, characterized in that: include: an acquisition module, used for acquiring a current temperature and / or a current film-sticking state of a conductive medium, wherein a first side surface of the conductive medium is in contact with the ultrasonic sensor, and a second side surface of the conductive medium provides a pressing surface; an ultrasonic emission times determination module, configured to determine the ultrasonic emission times n according to the current temperature and the first mapping information; or determine the ultrasonic emission times n according to the current film sticking state and the second mapping information; or determine the ultrasonic emission times n according to the current parameter combination and the third mapping information; wherein n is a positive integer, the first mapping information is used to indicate the mapping relationship between the temperature of the conductive medium and the ultrasonic emission times, the second mapping information is used to indicate the mapping relationship between the film sticking state of the conductive medium and the ultrasonic emission times, the current parameter combination includes the current temperature and the current film sticking state, and the third mapping information is used to indicate the mapping relationship between the temperature of the conductive medium, the film sticking state, and the ultrasonic emission times; A signal acquisition module, used to control the ultrasonic sensor to transmit n ultrasonic signals to the conductive medium, and receive an echo signal formed after each transmitted ultrasonic signal is reflected; A fingerprint detection module, used for performing fingerprint detection according to the echo signal; The device further includes an updating module, configured to update the first mapping information, update the second mapping information, or update the third mapping information; The updating of the first mapping information includes: Acquire the updated temperature of the conductive medium; determine the number of ultrasonic transmissions m mapped to the updated temperature according to the updated temperature and the first mapping information; wherein m is a positive integer; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each transmitted ultrasonic signal is reflected, and the temperature of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals is the updated temperature; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number of ultrasonic transmissions m according to the strength of the updated cumulative sum signal and a preset signal strength interval; The updating of the second mapping information includes: Acquire the updated film-sticking state of the conductive medium; determine the number of ultrasonic transmissions m mapped to the updated film-sticking state according to the updated film-sticking state and the second mapping information; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an updated echo signal formed after each transmitted ultrasonic signal is reflected, and the film-sticking state of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals is the updated film-sticking state; superimpose the m updated echo signals to obtain an updated cumulative sum signal; and update the number of ultrasonic transmissions m according to the strength of the updated cumulative sum signal and a preset signal strength range; The updating of the third mapping information comprises: Acquire an update parameter combination of the conductive medium, the update parameter combination including an update temperature and an update film state; determine the number of ultrasonic transmissions m mapped to the update parameter combination according to the update parameter combination and the third mapping information; when there is no finger pressing on the pressing surface, control the ultrasonic sensor to transmit m ultrasonic signals to the conductive medium, and receive an update echo signal formed after each ultrasonic signal is reflected, wherein the temperature and the film state of the conductive medium when the ultrasonic sensor transmits the m ultrasonic signals are the update temperature and the update film state, respectively; superimpose the m update echo signals to obtain an update cumulative sum signal; and update the number of ultrasonic transmissions m according to the intensity of the update cumulative sum signal and a preset signal intensity range.
11. An electronic device, 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, and the executable instruction enables the processor to execute the method according to any one of claims 1-9.
12. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Ultrasonic fingerprint detection method and device, electronic equipment and storage medium
CN121170857A
Ultrasonic fingerprint detection method and apparatus, and electronic device and storage medium
EP4697290A1
