Optical fingerprint recognition method, device and storage medium

By adjusting the brightness level of the light spot according to whether the touchscreen has a protective film, the problem of decreased performance of under-screen fingerprint recognition after applying a protective film has been solved, resulting in a higher unlocking success rate and faster unlocking speed.

CN118470283BActive Publication Date: 2025-03-11HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311330355.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2025-03-11
Estimated Expiration
2043-10-12

AI Technical Summary

Technical Problem

After applying a screen protector, the performance of the under-display fingerprint recognition on electronic devices deteriorates, resulting in a lower unlock rate or longer unlock time, which affects the user experience.

Method used

By adjusting the brightness level of the light spot according to whether the touchscreen has a film in the optical fingerprint recognition method, for example, increasing the brightness of the light spot when there is a film, a larger area of ​​fingerprint information can be collected, reducing the impact on unlocking performance.

Benefits of technology

It improves the success rate and speed of unlocking electronic devices after applying a screen protector, reduces unlocking delays caused by the screen protector, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470283B_ABST
    Figure CN118470283B_ABST
Patent Text Reader

Abstract

The present application provides an optical fingerprint recognition method, device and storage medium. The method pre-stores brightness information of multiple brightness levels. In this way, in the scenario of optical fingerprint recognition, by determining whether the screen of the electronic device has a film, and then in the scenario where the electronic device has a film, further considering whether the screen of the electronic device has a film during the fingerprint entry stage, and then reasonably adjusting the brightness of the light spot corresponding to the fingerprint collection area, thereby solving the public opinion problem that the unlocking rate decreases or the unlocking time is significantly prolonged after the user applies a film to the screen of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of fingerprint recognition technology, and in particular to an optical fingerprint recognition method, device and storage medium. Background Art

[0002] With the development of touch panels (TP), the optical fingerprint recognition technology based on the under-screen fingerprint recognition is a new technological breakthrough in touch screens and is gradually being applied to electronic devices such as mobile phones. The so-called optical fingerprint recognition technology is to collect the light emitted by the light source through the optical fingerprint sensor, and the reflected light is reflected on the finger above the display screen of the electronic device, and the fingerprint image of the finger is obtained based on the reflected light, so as to perform fingerprint recognition based on the fingerprint image.

[0003] However, in actual use, in order to protect the display screen of electronic devices and prevent the display screen from being scratched, users usually like to stick a layer of film on the display screen of electronic devices, such as soft film, tempered film, anti-peep film, etc. Since these films have a certain influence on the reflection and refraction of light, they will affect the performance of fingerprint recognition under the screen, and thus affect the unlocking performance of the electronic device after the film is applied. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides an optical fingerprint recognition method, device and storage medium, which aims to improve the success rate and recognition rate of fingerprint recognition under the screen of electronic devices after the film is applied, and reduce the impact of the film on the unlocking performance of electronic devices.

[0005] In the first aspect, the present application provides an optical fingerprint recognition method, which is applied to an electronic device including a touch screen, and an optical fingerprint sensor is integrated under the touch screen. The method includes: displaying a first interface, the first interface including a first fingerprint collection area; in response to the user's operation behavior in the first fingerprint collection area, determining whether the touch screen is in a film state; if the touch screen is in a film state, obtaining the state of the touch screen recorded in the fingerprint template entry stage, and the brightness level of the light spot at the position corresponding to the first fingerprint collection area in the touch screen recorded in the fingerprint template entry stage; if the state of the touch screen recorded in the fingerprint template entry stage is a film state, setting the brightness value of the light spot according to the brightness information of the brightness level.

[0006] The first interface is, for example, a lock screen interface of an electronic device, such as Figure 1A Medium (2) or Figure 1B The interface shown in (2).

[0007] The film-covered state refers to a screen of the electronic device being covered with a film, which may be represented as the first state in the description of the following embodiments.

[0008] The brightness level can be divided into three levels, low, medium and high, according to business requirements, for example. The three brightness levels can be expressed as F1 brightness, F2 brightness and F3 brightness.

[0009] The brightness information is pre-burned into the register in the form of a script, for example. The brightness information of different brightness levels indicates different brightness values.

[0010] Therefore, by pre-storing the brightness information of multiple brightness levels, such as the brightness information corresponding to F1 level, F2 level, and F3 level, in the scenario of optical fingerprint recognition, by determining whether the screen of the electronic device has a film, and then in the scenario where the electronic device has a film, further considering whether the screen of the electronic device has a film during the fingerprint entry stage, and then reasonably adjusting the brightness of the light spot corresponding to the fingerprint collection area, the public opinion problem of a decrease in unlocking rate or a significant increase in unlocking time after users apply a film to the screen of the electronic device is solved.

[0011] According to the first aspect, the method further includes: if the state of the touch screen recorded in the fingerprint template entry stage is a film-free state, obtaining brightness information of a brightness level that is higher than a preset brightness level; and setting the brightness value of the light spot according to the obtained brightness information.

[0012] The non-film state refers to that the screen of the electronic device has no film, which can be represented as the second state in the description of the following embodiments.

[0013] Therefore, the fingerprint template is recorded when the touch screen is in a film-free state. In order to ensure the accuracy of the fingerprint recognition result, during the unlocking stage, for the touch screen with film, the brightness value of the light spot is increased, so that the optical fingerprint sensor can collect fingerprint information in a larger range, that is, it can obtain effective edge fingerprint information, thereby reducing the impact of the film on the unlocking performance of the electronic device.

[0014] According to the first aspect, or any implementation of the first aspect above, the method further includes: if the touch screen is in a film state, determining the type of film attached to the touch screen; if the film of the touch screen is of a preset type, setting the brightness value of the light spot according to the brightness information of the highest brightness level.

[0015] Among them, the types of films include but are not limited to soft films, tempered films, anti-peep films, etc.

[0016] Among them, the preset type may be, for example, a privacy film.

[0017] Therefore, for films with reduced transmittance, such as privacy films, which are greatly affected by reflection and refraction, the brightness value of the light spot is set according to the brightness information of the highest brightness level, that is, the brightness value of the light spot is adjusted to the highest brightness. In this way, through a one-step adjustment method, the time-consuming process of adjusting the brightness of the light spot multiple times can be avoided, so that the fingerprint image can be collected more quickly, thereby shortening the unlocking time.

[0018] According to the first aspect, or any implementation of the first aspect above, the method further includes: if the touch screen is in a film-free state, setting the brightness value of the light spot according to the brightness information of the lowest brightness level.

[0019] Therefore, when the touch screen of the electronic device is not covered with a film, the brightness information of the lowest brightness level is used to set the brightness of the light spot, thereby reducing the power consumption of the electronic device in the fingerprint unlocking scenario.

[0020] According to the first aspect, or any implementation of the first aspect above, the method also includes: if the touch screen is in a film-free state, obtaining the brightness level of the light spot at the position corresponding to the first fingerprint collection area in the touch screen recorded during the fingerprint template entry phase; and setting the brightness value of the light spot according to the brightness information of the brightness level.

[0021] Therefore, when the touch screen of the electronic device is not covered with a film, the brightness value of the light spot is set according to the brightness information of the brightness level recorded in the fingerprint template entry stage, so that the fingerprint image collected in the unlocking stage can be better matched with the fingerprint template entry stage to ensure the unlocking rate.

[0022] According to the first aspect, or any implementation of the first aspect above, brightness information corresponding to different brightness levels is pre-burned in a register of the electronic device.

[0023] The brightness information corresponding to different brightness levels can be burned according to the mode or not. For details, please refer to Figure 5A and Figure 5B The description of the illustrated embodiment will not be repeated here.

[0024] According to the first aspect, or any implementation of the first aspect above, the method also includes: displaying a second interface, the second interface including a first operation option; in response to the user's operation behavior on the first operation option, displaying a third interface, the third interface including a second fingerprint collection area, the second fingerprint collection area and the first fingerprint collection area corresponding to the same light spot; in response to the user's operation behavior in the second fingerprint collection area, determining whether the touch screen is in a film state; if the touch screen is in a film state, setting the brightness value of the light spot according to the brightness information of the lowest brightness level; after setting the light spot to the brightness value, obtaining two adjacent fingerprint images input by the user in the second fingerprint collection area; when the quality evaluation results of the two adjacent fingerprint images meet the preset requirements, using the two adjacent fingerprint images as fingerprint templates; storing the fingerprint template, as well as the state of the touch screen and the brightness level of the light spot.

[0025] The second interface is, for example, an interface for triggering a new fingerprint operation.

[0026] Among them, the third interface, for example, is an interface for entering a fingerprint template.

[0027] The second fingerprint collection area is located at the same position as the first fingerprint collection area in the touch screen of the electronic device, but is located in different interfaces. Specifically, the first fingerprint collection area is located in the unlocking interface, and the second fingerprint collection area is located in the fingerprint entry interface.

[0028] The quality evaluation of two adjacent fingerprint images includes, for example, the evaluation of the texture grayscale, the evaluation of the direction field, and the evaluation of binarization.

[0029] For details on entering fingerprint templates with film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0030] According to the first aspect, or any implementation of the first aspect above, the method also includes: when the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, obtaining brightness information of a brightness level that is a preset level higher than the current brightness level; setting the brightness value of the light spot according to the acquired brightness information; after setting the light spot to the brightness value, obtaining two adjacent fingerprint images input by the user in the second fingerprint collection area; when the quality evaluation results of the two adjacent fingerprint images meet the preset requirements, using the two adjacent fingerprint images as fingerprint templates; storing the fingerprint template, as well as the state of the touch screen and the brightness level of the light spot.

[0031] For details on entering fingerprint templates with film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0032] According to the first aspect, or any implementation of the first aspect above, the method also includes: if the touch screen is in a film state, determining the type of film attached to the touch screen; if the film attached to the touch screen is of a preset type, setting the brightness value of the light spot according to the brightness information of the highest brightness level.

[0033] The preset type of film is, for example, a privacy film.

[0034] For details on entering fingerprint templates with film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0035] According to the first aspect, or any implementation of the first aspect above, the method also includes: if the touch screen is in a film-free state, setting the brightness value of the light spot according to the brightness information of the lowest brightness level; after setting the light spot to the brightness value, obtaining two adjacent fingerprint images input by the user in the second fingerprint collection area; when the quality evaluation results of the two adjacent fingerprint images meet the preset requirements, using the two adjacent fingerprint images as fingerprint templates; storing the fingerprint template, as well as the state of the touch screen and the brightness level of the light spot.

[0036] For details on fingerprint template entry without a film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0037] According to the first aspect, or any implementation of the first aspect above, the method also includes: when the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, reacquiring two adjacent fingerprint images and performing quality evaluation on the two reacquired adjacent fingerprint images; when the quality evaluation results of the two reacquired adjacent fingerprint images meet the preset requirements, using the two reacquired adjacent fingerprint images as fingerprint templates; storing the fingerprint template, as well as the state of the touch screen and the brightness level of the light spot.

[0038] For details on fingerprint template entry without a film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0039] According to the first aspect, or any implementation of the first aspect above, the method also includes: when the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, obtaining brightness information of a brightness level that is a preset level higher than the current brightness level; setting the brightness value of the light spot according to the acquired brightness information; after setting the light spot to the brightness value, obtaining two adjacent fingerprint images input by the user in the second fingerprint collection area; when the quality evaluation results of the two adjacent fingerprint images meet the preset requirements, using the two adjacent fingerprint images as fingerprint templates; storing the fingerprint template, as well as the state of the touch screen and the brightness level of the light spot.

[0040] For details on fingerprint template entry without a film, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.

[0041] According to the first aspect, or any implementation of the first aspect above, the method further includes: after setting the light spot to a brightness value, obtaining a fingerprint image input by the user in the first fingerprint collection area; and matching the fingerprint image with the fingerprint template entered in the fingerprint template entry stage.

[0042] In a second aspect, the present application provides a chip. The chip includes one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send a signal to the processor, the signal including a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the instruction of the method in the first aspect or any possible implementation of the first aspect.

[0043] Exemplarily, in a possible implementation manner, the chip is, for example, a system on chip (SOC).

[0044] It is understandable that a SOC chip may include multiple processing units (chiplets) and storage units (such as registers).

[0045] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

[0046] In a third aspect, the present application provides an electronic device. The electronic device includes: a touch screen, a memory, and the chip as described in the second aspect, an optical fingerprint sensor is integrated under the touch screen, and the optical fingerprint sensor, the memory, and the processor are coupled respectively; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the instructions of the method in the first aspect or any possible implementation of the first aspect.

[0047] Exemplarily, in a possible implementation, the electronic device is, for example, a mobile phone, a tablet computer, a wearable device, etc., which has a touch screen and an optical fingerprint sensor integrated under the touch screen.

[0048] The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.

[0049] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, the computer program comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect, and when the computer program runs on an electronic device, the electronic device executes the instructions of the method in the first aspect or any possible implementation of the first aspect.

[0050] The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

[0051] In a fifth aspect, the present application provides a computer program comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.

[0052] The fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1A A schematic diagram of a scenario of performing optical fingerprint recognition on an electronic device without a film attached is shown as an example;

[0054] Figure 1B The schematic diagram is a scene diagram showing an example of optical fingerprint recognition for an electronic device with a film attached;

[0055] Figure 2 is a schematic diagram of the hardware structure of an electronic device shown as an example;

[0056] Figure 3 A schematic diagram of a screen cross-section of an electronic device's fingerprint collection area is shown as an example;

[0057] Figure 4 Schematic diagram showing the fingerprint collection area that can be collected by light spots of different brightness in the film-applied and film-unapplied states;

[0058] Figure 5A The diagram is a schematic diagram of the interaction of functional modules involved in adjusting the light spot brightness information in an optical fingerprint recognition process;

[0059] Figure 5B The diagram is a schematic diagram of the interaction of functional modules involved in adjusting the light spot brightness information in another optical fingerprint recognition process;

[0060] Figure 6 The figure is a schematic diagram of the processing logic when fingerprint entry is performed based on the optical fingerprint recognition method provided in the embodiment of the present application;

[0061] Figure 7 The figure is a schematic diagram of the processing logic when performing fingerprint recognition based on the optical fingerprint recognition method provided in the embodiment of the present application. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0064] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

[0065] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0066] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

[0067] With the development of touch panels (TP), under-screen fingerprint recognition based on optical under-screen fingerprint recognition technology has become a new technological breakthrough for touch screens and has gradually been applied to electronic devices such as mobile phones, tablets, smart watches and other devices with touch screens.

[0068] The so-called optical under-screen fingerprint recognition technology is to collect the light emitted by the light source (light spot) through an optical fingerprint sensor, and the reflected light is reflected on the finger above the display screen of the electronic device, and the fingerprint image of the finger is obtained based on the reflected light, so as to perform fingerprint recognition based on the fingerprint image.

[0069] See also Figure 1A For example, a mobile phone is used as an example of an electronic device having a touch screen and an optical fingerprint recognition function. In a possible implementation, for example, when the screen of the mobile phone is not covered with a film, when the mobile phone is in a black screen standby state (such as Figure 1A As shown in (1) in the figure, when the user touches the screen with a finger or presses the power button on the side frame of the mobile phone, the mobile phone will light up the screen in response to the operation, and the following may appear: Figure 1A The lock screen interface shown in (2).

[0070] See also Figure 1A In (2), for example, for a mobile phone with the optical fingerprint device function turned on, the fingerprint collection area will be displayed at a fixed brightness in the lock screen interface so that the user knows that he needs to press his finger on the fingerprint collection area to unlock the phone with the fingerprint and enter the lock screen. Figure 1A The interface 10a after successful unlocking is shown in (3).

[0071] It should be noted that the brightness corresponding to the fingerprint collection area is specifically determined by the brightness of the light spot in the light-emitting layer of the display screen (touch screen). In the fingerprint recognition scenario, the brightness of the light spot in the fingerprint collection area (such as the brightness value) is usually determined based on the brightness balance power consumption determined based on the local high brightness mode (Local HBM) during the test phase. Under Local HBM, the reference indicators for determining the brightness balance power consumption are usually the unlocking success rate and image collection time (the time to collect the fingerprint image) of the selected type of mobile phone without a film.

[0072] However, in actual use, in order to protect the display screen of electronic devices and prevent the display screen from being scratched, users usually like to stick a layer of film on the display screen of electronic devices, such as soft film, tempered film, anti-peep film, etc. Since these films have a certain thickness and different light transmittance, they have a certain effect on the reflection and refraction of light, which will affect the performance of fingerprint recognition under the screen, and then affect the unlocking performance of the electronic device after the film is applied.

[0073] See also Figure 1B , for example, still with Figure 1A Take the same type of mobile phone as an example. In the case of the screen film of the mobile phone, when the mobile phone is in a black screen standby state (such as Figure 1B As shown in (1) in the figure, when the user touches the screen with a finger or presses the power button on the side frame of the mobile phone, the mobile phone will light up the screen in response to the operation, and the following may appear: Figure 1B The lock screen interface shown in (2) of the figure. Since the screen of the mobile phone is covered with a film, the brightness value of the light spot in the fingerprint collection area is still set to the brightness value when the film is not covered. Due to the influence of the film, the user may not be able to unlock the phone successfully in one operation, that is, Figure 1B Enter the lock screen interface in (2) Figure 1A Instead of the interface 10a in (3) above, a prompt message will pop up on the lock screen interface, such as Figure 1B The prompt pop-up window shown in (3) shows "Please try to cover the fingerprint collection area and stay for a while."

[0074] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0075] At present, statistics show that after a product is launched on the market, that is, after electronic equipment is put on the market for users to use, 50% to 70% of public opinion is related to film pasting, of which the problem of decreased unlocking rate caused by film pasting accounts for about 90%.

[0076] That is to say, for the same type of electronic devices, fingerprint unlocking without a film is usually successful in one operation. However, fingerprint unlocking after the film is applied usually requires the user to repeat it several times before it can be successfully unlocked. More seriously, due to the limit on the number of fingerprint recognitions, the user may not be able to unlock with a fingerprint for a period of time, seriously affecting the user experience.

[0077] In view of this, an embodiment of the present application provides an optical fingerprint recognition method. In the scenario of optical fingerprint recognition, by determining whether the screen of the electronic device has a film, and then in the scenario where the electronic device has a film, the brightness of the light spot corresponding to the fingerprint collection area is increased, so that the optical fingerprint sensor can collect fingerprint information in a larger range, that is, it can obtain effective edge fingerprint information, thereby reducing the impact of the film on the unlocking performance of the electronic device.

[0078] In addition, since the optical fingerprint recognition method provided in the embodiment of the present application does not require the addition of additional hardware, nor does it require the improvement of the fingerprint recognition algorithm, it not only ensures the implementation cost but also reduces the implementation difficulty.

[0079] In order to better understand the technical solution provided by the embodiments of the present application, Figure 2 Introduce the hardware structure of electronic equipment.

[0080] It should be noted that the electronic devices to which the embodiments of the present application are applicable may be, for example, mobile phones, tablet computers, smart wearable devices, and other devices that have touch screens and support optical fingerprint device functions.

[0081] Take the mobile phone 100 as an example of the electronic device to which the embodiment of the present application is applicable. As a possible implementation, the mobile phone 100 may include: Figure 2 Various functional devices shown.

[0082] See also Figure 2 Exemplarily, the mobile phone 100 may include: a system on chip (SOC) 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0083] Among them, SOC 110 may include one or more processing units, for example, an application processor (AP), a modem processor (Modem), a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), etc., which are not listed one by one here and the present application does not limit this.

[0084] The controller as the processing unit mentioned above may be the nerve center and command center of the mobile phone 100. In practical applications, the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0085] The above-mentioned modulation and demodulation processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal, and transmit the demodulated low-frequency baseband signal to the baseband processor for processing.

[0086] The baseband processor mentioned above is used to process the low-frequency baseband signal transmitted by the regulator, and transmit the processed low-frequency baseband signal to the application processor.

[0087] It should be noted that, in some implementations, the baseband processor may be integrated into the modem, that is, the modem may have the function of the baseband processor.

[0088] The application processor mentioned above is used to output sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or to display images or videos through the display screen 194. Specifically in this embodiment, the application processor can also perform fingerprint recognition processing on the fingerprint image collected by the optical fingerprint sensor, thereby realizing the unlocking function.

[0089] The digital signal processor mentioned above is used to process digital signals. Specifically, the digital signal processor can process not only digital image signals but also other digital signals.

[0090] The video codec mentioned above is used to compress or decompress digital video. Exemplarily, the mobile phone 100 can support one or more video codecs. In this way, the mobile phone 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0091] The ISP mentioned above is used to output the digital image signal to the DSP for processing. Specifically, the ISP is used to process the data fed back by the camera 193. For example, when taking a photo or recording a video, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some implementations, the ISP can be set in the camera 193.

[0092] The DSP mentioned above is used to convert digital image signals into image signals in standard RGB, YUV and other formats.

[0093] In addition, it should be noted that, regarding the SOC 110 including the above-mentioned processing units, in some implementations, different processing units may be independent devices. That is, each processing unit may be regarded as a processor. In other implementations, different processing units may also be integrated into one or more processors.

[0094] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0095] In addition, the SOC 110 may further include one or more interfaces, wherein the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc., which are not listed one by one here, and the present application does not limit this.

[0096] In addition, a memory may be provided in the SOC 110 for storing instructions and data. In some implementations, the memory in the SOC 110 is a cache memory. The memory may store instructions or data that the SOC 110 has just used or is cyclically using. If the SOC 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the SOC 110, and thus improves the efficiency of the system.

[0097] Continue to see Figure 2 The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the SOC 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, pictures, and videos can be stored in the external memory card.

[0098] Continue to see Figure 2, the internal memory 121 can be used to store computer executable program codes, which include instructions. SOC 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, and a detection function for realizing the page content loading time mentioned in the embodiment of the present application), etc. The data storage area may store data created during the use of the mobile phone 100 (pictures and videos that can be viewed through the gallery application in the above embodiment), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0099] Continue to see Figure 2 The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. Understandably, while charging the battery 142, the charging management module 140 can also power the electronic device through the power management module 141.

[0100] Continue to see Figure 2 , the power management module 141 is used to connect the battery 142, the charging management module 140 and the SOC 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the SOC 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other implementations, the power management module 141 can also be set in the SOC 110. In some other implementations, the power management module 141 and the charging management module 140 can also be set in the same device.

[0101] Continue to see Figure 2 The wireless communication function of the mobile phone 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0102] It should be noted that antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other implementations, the antenna can be used in combination with a tuning switch.

[0103] Continue to see Figure 2 The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the mobile phone 100 .

[0104] Continue to see Figure 2 The wireless communication module 160 can provide wireless communication solutions for application in the mobile phone 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0105] Continue to see Figure 2 The audio module 170 may include a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, etc. For example, the mobile phone 100 may implement audio functions through the application processor and the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, etc. in the audio module 170, such as recording and video recording functions.

[0106] Continue to see Figure 2 , the sensor module 180 may include an optical fingerprint sensor 180A.

[0107] In addition, it should be noted that in actual applications, the mobile phone 100 may also have other sensors, such as pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc., which are not listed one by one here and this application does not impose any restrictions on this.

[0108] Continue to see Figure 2The buttons 190 include a power button, a volume button, etc. The mobile phone 100 can receive button inputs and generate signal inputs related to user settings and function control of the mobile phone 100. The motor 191 can generate vibration prompts. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0109] Continue to see Figure 2 , the camera 193 is used to capture still images or videos. The mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor. Specifically, the object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some implementations, the mobile phone 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0110] Continue to see Figure 2 , the display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some implementations, the mobile phone 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. The mobile phone 100 can implement a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The SOC 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0111] Regarding the specific structure of the display screen 194, illustratively, in a possible implementation, the display screen 194 may include at least Figure 3 The structure shown.

[0112] See also Figure 3 , illustratively, the display screen (touch screen) 194 may include, from top to bottom, a glass cover 194 - 1 , a light emitting layer 194 - 2 , and a lens layer 194 - 3 .

[0113] The light-emitting layer 194 - 2 is, for example, an organic light-emitting diode (OLED), and such a light-emitting layer 194 - 2 may be referred to as an OLED light-emitting layer.

[0114] For example, the OLED light-emitting layer may include a plurality of OLEDs, and each of the plurality of OLEDs may form a light spot, such as Figure 3 194-2-1 is shown in the light emitting layer 194-2. That is, the light emitting layer 194-2 may include a plurality of light spots 194-2-1. Figure 3 Only the light spot corresponding to the fingerprint collection area is shown.

[0115] The lens layer 194-3 may include a plurality of lenses, such as Figure 3 1. Specifically in this embodiment, the lens 194-3-1 at this position is, for example, a lens corresponding to the light spot 194-2-1 in the fingerprint collection area. It can gather the light emitted by the light spot 194-2-1, the reflected light emitted by the finger pressing the screen at the fingerprint collection area on the glass cover 194-1, to the position below the screen, such as Figure 3 The optical fingerprint sensor 180A under the middle lens layer 194-3 is thereby enabled to obtain a fingerprint image of the finger according to the reflected light, thereby transmitting the obtained fingerprint image to a processing unit in the SOC 110, such as an application processor, for fingerprint recognition.

[0116] In addition, it should be noted that the brightness of each light spot 194 - 2 - 1 in the light emitting layer 194 - 2 needs to be controlled by a display driver IC (DDIC), that is, the DDIC needs to be connected to each light spot 194 - 2 - 1 in the light emitting layer 194 - 2 .

[0117] In addition, it should be noted that, as a possible implementation, the DDIC can be independently provided from the display screen 194. In another possible implementation, the DDIC can also be integrated into the display screen 194. Figure 2 The DDIC shown is located in the display screen 194, which is only used to illustrate that the DDIC needs to be connected to the light spot 194-2-1 in the light-emitting layer 194-2 in the display screen 194, and does not limit the specific position of the DDIC.

[0118] In addition, it should be noted that, from the above description of the influence of the light spot on fingerprint collection, it can be seen that, under normal circumstances, the brightness of the light spot corresponding to the fingerprint collection area is determined based on the brightness balance power consumption obtained from the test without film. In this case, the brightness of the light spot corresponding to the fingerprint collection area is usually reduced. For the sake of convenience, this embodiment represents it as F1 brightness.

[0119] See also Figure 4 For example, when the brightness of the light spot is F1, when the screen is not covered with a film, the range of the fingerprint image gathered on the optical fingerprint sensor can cover the entire fingerprint collection area. Therefore, using a low brightness level, i.e. F1 brightness, can still ensure the success rate of fingerprint recognition.

[0120] Continue to see Figure 4 , for example, but in the case of a screen film, when the brightness of the light spot is F1, the range of the fingerprint image converged on the optical fingerprint sensor may be greatly reduced due to many reasons such as the thickness of the film, light transmittance, reflection, refraction, etc., and it is impossible to obtain effective edge fingerprint data, which in turn affects the fingerprint recognition result.

[0121] Based on the principle of optical imaging, when the screen is covered with a film, if the brightness of the light spot is increased, such as to F2, the range of the fingerprint image focused on the optical fingerprint sensor will be larger than that at F1. Figure 4 As shown in the figure, in this way, effective edge fingerprint data can be obtained as much as possible.

[0122] For films of different thickness and light transmittance, the brightness of the light spot can be further increased, such as to F3. In this way, the range of the fingerprint image focused on the optical fingerprint sensor is larger than that of the F2 brightness. Figure 4 As shown, it is ensured that the fingerprint data at the edge of the entire fingerprint collection area can be obtained.

[0123] Based on this principle, the optical fingerprint recognition method provided in the embodiment of the present application can pre-store a variety of light spot brightness information, such as the brightness information corresponding to the above-mentioned F1 brightness, F2 brightness, and F3 brightness. In this way, in the optical fingerprint recognition scenario, by determining whether the screen of the electronic device has a film, and then in the scenario where the electronic device has a film, the brightness of the light spot corresponding to the fingerprint collection area is increased, so that the optical fingerprint sensor can collect fingerprint information in a wider range, that is, it can obtain effective edge fingerprint information, thereby reducing the impact of the film on the unlocking performance of the electronic device.

[0124] This is the end of the introduction to the hardware structure of the mobile phone 100 and the relationship between the light spot brightness and the fingerprint area that can be collected. It should be understood that: Figure 2The illustrated mobile phone 100 is merely an example, and in a specific implementation, the mobile phone 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Figure 2 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0125] Based on the above hardware structure, the interaction logic between the functional modules involved in the optical fingerprint recognition method provided in the embodiment of the present application can be as follows: Figure 5A and Figure 5B shown.

[0126] See also Figure 5A For example, in a possible implementation, the light spot brightness information of different gears can be pre-burned in the register. For the sake of convenience, this embodiment takes the light spot brightness information divided into F1 gear, F2 gear and F3 gear as an example.

[0127] Continue to see Figure 5A For example, in a possible implementation, the brightness value corresponding to the F1 gear can be set to, for example, 1000 nit. The brightness value corresponding to the F2 gear can be set to, for example, 1200 nit. The brightness value corresponding to the F3 gear can be set to, for example, 1400 nit.

[0128] It should be understood that the above description is only an example listed for a better understanding of the technical solution of this embodiment, and is not the only limitation to this embodiment. In a specific implementation, the specific brightness values ​​corresponding to the different brightness levels of different electronic devices can be set according to actual conditions, and are not limited to the above-mentioned 1000nit, 1200nit, 1400nit, etc.

[0129] Continue to see Figure 5A , for example, after the electronic device is started, when the SOC determines, based on the touch detection algorithm, that the user has touched / touchscreened the display screen of the electronic device and is currently in an unlocking interface, such as Figure 1A Medium (2) or Figure 1B When (2) is reached, a fingerprint collection instruction will be sent to DDIC.

[0130] Continue to see Figure 5A For example, after receiving the fingerprint collection instruction sent by the SOC, the DDIC can determine whether it is currently in a film state, that is, determine whether the electronic device is covered with a film.

[0131] For example, in a possible implementation, the light spot brightness level can be determined according to whether there is a film or not. For example, when it is determined that the screen has a film, the light spot brightness level can be determined to be the default F1 level. When it is determined that the screen has no film, the light spot brightness can be determined to be the default F1 level, or a higher level, such as F2 level.

[0132] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0133] Continue to see Figure 5A For example, after DDIC reads the brightness information corresponding to the light spot brightness level from the register according to the determined light spot brightness level, it will set the brightness value of the light spot according to the brightness information, so that the fingerprint image reflected to the optical fingerprint sensor after the light spot with adjusted brightness irradiates the user's finger can better include valid fingerprint information, thereby improving the success rate of fingerprint recognition.

[0134] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0135] For example, in another possible implementation, the spot brightness information of different gears pre-burned into the register can be divided according to the mode. For the sake of convenience, this embodiment takes the screen without film as mode A and the screen with film as mode B as an example.

[0136] See also Figure 5B For example, for model A, in a possible implementation, only brightness information of one gear can be set, for example, brightness information of gear F1 is set by default.

[0137] Exemplarily, in order to improve the success rate of fingerprint recognition, the brightness information of other gears can also be set for the A mode, such as the brightness information of the F2 gear and the F3 gear. In this way, for an electronic device without a film, if the light spot brightness is set according to the brightness information of the F1 gear, and the fingerprint image collected in this state is not unlocked successfully, the brightness value of the light spot can be further set according to the brightness information of the F2 gear. Correspondingly, if the light spot brightness is set according to the brightness information of the F2 gear, and the fingerprint image collected in this state is not unlocked successfully, the brightness value of the light spot can be further set according to the brightness information of the F3 gear.

[0138] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0139] Continue to see Figure 5BFor example, for the B model, in a possible implementation, brightness information of multiple gears can be set, such as brightness information of F1 gear, F2 gear, and F3 gear.

[0140] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0141] In addition, it should be noted that the light spot described in each embodiment of the present application corresponds to the light spot of the characteristic fingerprint collection area, that is, the light source emitted by the light spot is irradiated to the user's finger, and the reflected light generated is converged by the corresponding lens in the lens layer, so that the optical fingerprint sensor can obtain the corresponding fingerprint image.

[0142] In addition, it should be noted that the light spot brightness information of different modes or gears pre-burned into the register can be burned into the register by, for example, OTP (One Time Programmable).

[0143] It is understandable that the OTP method shown here refers to a one-time programmable burning method, that is, after the light spot brightness information is burned into the register, it cannot be changed or cleared again.

[0144] In addition, it should be noted that, in practical applications, the light spot brightness information burned into the register may be in the form of a script file, for example.

[0145] In addition, it should be noted that there is a certain relationship between the brightness value and the order of the light spot. Based on this relationship, the brightness values ​​of different gears in different modes can be indicated in the form of orders in the burned script file.

[0146] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0147] against Figure 5B The implementation method of the light spot brightness information in the format shown is that the SOC senses the unlocking operation, sends a fingerprint collection instruction to the DDIC, and the DDIC determines whether the electronic device screen currently has a film, and then determines the correct mode, obtains the light spot brightness information in the corresponding mode from the register, and the processing process of setting the light spot brightness value can be seen in Figure 5A The description of the illustrated embodiment will not be repeated here.

[0148] In addition, it should be understood that before implementing optical fingerprint recognition, it is necessary to ensure that the electronic device stores pre-recorded fingerprints that can be unlocked. In order to ensure the success rate of fingerprint recognition in the fingerprint recognition process, and then to ensure the unlocking rate, the light spot brightness value can also be set according to the above logic during the fingerprint registration process. In this regard, the following will explain the fingerprint registration scenario and unlocking scenario respectively, and explain the optical fingerprint recognition method provided in the embodiment of the present application.

[0149] The following is the content of the fingerprint entry scenario:

[0150] From the above description, it can be seen that when the screen is in the state without a film (hereinafter referred to as the first state) and the screen is in the state with a film (hereinafter referred to as the second state), even if the light spot is set to the same brightness value, the effective data of the fingerprint image collected by the optical fingerprint sensor will be different. Therefore, in order to ensure that the fingerprint recognition stage can be quickly recognized and then unlocked successfully. When the screen of the electronic device is in the first state and the second state, the brightness value of the light spot set when recording the fingerprint can also be different.

[0151] For example, in a possible implementation, when the SOC detects that the user has touched the display screen based on the touch screen detection algorithm (TPCheck is used to represent the detection of the touch screen later), that is, an event of a finger pressing the screen (Finger Down is used to represent it later), after the SOC sends a fingerprint collection instruction to the DDIC, the DDIC can first determine whether there is a film or not. Then, according to the current state of the screen (the first state or the second state), the appropriate light spot brightness information is obtained from the register to set the brightness of the light spot.

[0152] For the scenario where the screen is currently in the first state, illustratively, in a possible implementation, it can be assumed that when the screen is currently in the first state, the fixed light spot brightness information remains unchanged, for example, it is defaulted to the F1 brightness mentioned in the above embodiment.

[0153] Exemplarily, in another possible implementation, it can also be assumed that when the screen is currently in the first state, the light spot brightness information first obtained is the F1 brightness. After the fingerprint image is captured using the light spot with F1 brightness, if the quality of the fingerprint image does not meet the preset requirements, the light spot brightness is increased from F1 to F2, and then the fingerprint information is re-collected for quality evaluation.

[0154] Accordingly, when the fingerprint image is collected using a light spot with a brightness of F2, if the quality of the fingerprint image does not meet the preset requirements, the light spot brightness is increased from F2 to F3, and then the fingerprint information is collected again for quality evaluation.

[0155] For the scenario where the screen is currently in the second state, illustratively, in one possible implementation, the light spot can be set to F1 brightness first, and then a decision can be made whether to increase the light spot brightness based on the quality evaluation result of the fingerprint image collected at the current brightness.

[0156] For example, in another possible implementation, when the screen is in the second state, the type of film currently attached to the screen can be further determined, and then the brightness information of different gears can be obtained according to the type of film. For example, for soft films, tempered films, etc., the brightness information of the F1 gear can be obtained by default. For anti-peep films, the brightness information of the F3 gear can be directly obtained.

[0157] In order to better understand the implementation of fingerprint entry in different scenarios, the following Figure 6 Provide specific instructions.

[0158] See also Figure 6 For example, when the SOC determines through TP Check that Finger Down has occurred, it sends a fingerprint collection instruction to the DDIC. In response to the fingerprint collection instruction, the DDIC determines whether the current state of the electronic device screen is the first state (without film) or the second state (with film).

[0159] Exemplarily, in a possible implementation, for example, a light spot with a current default brightness may be used to obtain two consecutive fingerprint images, and then determine whether the screen is covered with a film based on the difference in radial lengths of the two fingerprint images.

[0160] Specifically, generally, the greater the difference in radial length between the two fingerprint images, the greater the thickness of the film. That is, based on this method, the type of film can be determined according to the thickness of the film.

[0161] It should be understood that the above description is only an example for better understanding the technical solution of this embodiment, and is not the only limitation to this embodiment. In practical applications, any method can be used to determine whether the screen is filmed, and this application does not limit this.

[0162] Continue to see Figure 6 For example, for a scene where the screen is in the first state, DDIC can directly obtain the brightness information of the F1 gear from the register, and then adjust the brightness of the light spot according to the F1 gear brightness information, such as adjusting the brightness value of the light spot to 1000nit.

[0163] In addition, it should be noted that in a possible implementation, the light spot brightness of commercial electronic equipment can be set to F1 by default. In this case, DDIC does not need to set the light spot brightness value again, and directly makes the light spot work at the default brightness value. For example, the light source is emitted, so that the light source shines on the finger pressing the fingerprint collection area, forming reflected light, and finally converges to the optical fingerprint sensor through the lens to realize the collection of fingerprint images.

[0164] Exemplarily, after the optical fingerprint sensor captures two consecutive fingerprint images, the two fingerprint images (hereinafter referred to as the first fingerprint image and the second fingerprint image for ease of description) are sent to the SOC for quality assessment.

[0165] Continue to see Figure 6 For example, after the SOC performs quality assessment on two adjacent fingerprint images collected, such as the first fingerprint image and the second fingerprint image, such as texture grayscale assessment, direction field assessment and binarization assessment, it can further determine whether the quality assessment result meets the preset requirements, that is, whether it meets the requirements of being used as a fingerprint template for subsequent fingerprint recognition. In this case, the first fingerprint image and the second fingerprint image collected under F1 brightness can be used as fingerprint templates, and the fingerprint templates can be stored, such as in an internal memory.

[0166] Continue to see Figure 6 For example, when the quality evaluation result determined by the SOC based on the first fingerprint image and the second fingerprint image does not meet the preset requirements, in a possible implementation, two adjacent fingerprint images acquired by the optical fingerprint sensor under the light spot of F1 brightness can be reacquired, and then the quality of the two adjacent fingerprint images reacquired can be evaluated again. When the quality evaluation result meets the preset requirements, the two reacquired fingerprint images are used as fingerprint versions and stored. Otherwise, the fingerprint images that do not meet the preset requirements are discarded, and the fingerprint images are re-acquired for quality evaluation until the quality evaluation result meets the preset requirements.

[0167] It should be noted that during this process, the brightness of the light spot can always be set to F1 by default, that is, the light spot brightness information is not adjusted. In order to obtain a fingerprint image that meets the preset requirements, when the quality assessment result does not meet the preset requirements each time, when the fingerprint image is re-collected, a prompt message can pop up on the screen, such as "Please try to cover the fingerprint collection area and stay for a while", "Please adjust the finger angle", etc.

[0168] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0169] For example, in another possible implementation, when the quality evaluation result determined by the SOC according to the first fingerprint image and the second fingerprint image does not meet the preset requirements, the DDIC can obtain the brightness information corresponding to a gear one level higher than the current brightness gear from the register. For example, when the current brightness is F1 gear, the brightness information of F2 gear can be obtained, and then the brightness of the light spot can be adjusted according to the brightness information of F2 gear. For example, the brightness value of the light spot is adjusted from 1000nit to 1200nit.

[0170] For example, if the quality assessment results of two or more adjacent fingerprint images collected still do not meet the preset requirements when the brightness of the light spot is F2, DDIC can obtain the brightness information corresponding to a gear one level higher than the current brightness gear from the register. For example, when the current brightness is F2, the brightness information of F3 can be obtained, and then the brightness of the light spot can be adjusted according to the brightness information of F3. For example, the brightness value of the light spot is adjusted from 1200nit to 1400nit. Finally, the fingerprint image whose quality assessment result meets the preset requirements collected at F3 brightness is stored as a fingerprint template.

[0171] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0172] Continue to see Figure 6 For example, for the scenario where the screen is in the second state, in one possible implementation, the DDIC can directly obtain the brightness information of the F1 gear from the register, and then adjust the brightness of the light spot according to the F1 gear brightness information, such as adjusting the brightness value of the light spot to 1000nit.

[0173] For example, when the light spot brightness is F1, after the optical fingerprint sensor collects two consecutive fingerprint images, it will also send these two fingerprint images (hereinafter referred to as the third fingerprint image and the fourth fingerprint image for ease of description) to the SOC for quality evaluation.

[0174] Continue to see Figure 6 For example, after the SOC performs quality assessment on two adjacent fingerprint images collected, such as the third fingerprint image and the fourth fingerprint image, such as texture grayscale assessment, direction field assessment and binarization assessment, it can further determine whether the quality assessment result meets the preset requirements, that is, whether it meets the requirements of being used as a fingerprint template for subsequent fingerprint recognition. In this case, the third fingerprint image and the fourth fingerprint image collected under F1 brightness can be used as fingerprint templates, and the fingerprint templates can be stored, such as in an internal memory.

[0175] Continue to see Figure 6For example, when the quality evaluation result determined by the SOC according to the third fingerprint image and the fourth fingerprint image does not meet the preset requirements, the DDIC can obtain the brightness information corresponding to a gear one level higher than the current brightness gear from the register. For example, when the current brightness is F1 gear, the brightness information of F2 gear can be obtained, and then the brightness of the light spot can be adjusted according to the brightness information of F2 gear. For example, the brightness value of the light spot is adjusted from 1000nit to 1200nit.

[0176] Exemplarily, if the quality assessment results of two or more adjacent fingerprint images collected meet the preset requirements when the brightness of the light spot is F2, the fingerprint image collected again at F2 brightness will be used as a fingerprint template and stored. On the contrary, if the fingerprint image collected at F2 brightness still does not meet the preset requirements, DDIC can obtain the brightness information corresponding to a gear one level higher than the current brightness gear from the register. For example, when the current brightness is F2, the brightness information of F3 brightness can be obtained, and then the brightness of the light spot can be adjusted according to the brightness information of F3. For example, adjust the brightness value of the light spot from 1200nit to 1400nit. Finally, the fingerprint image whose quality assessment result meets the preset requirements collected at F3 brightness is stored as a fingerprint template.

[0177] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0178] Continue to see Figure 6 For example, for a scenario where the screen is in the second state, in another possible implementation, the DDIC may first determine the type of film currently attached to the screen, and then determine the light spot brightness information to be acquired according to the type of film.

[0179] The type of the film may be determined, for example, based on the difference in radial lengths of two fingerprint images. The specific implementation details are not described in detail in this embodiment.

[0180] Continue to see Figure 6 For example, for the sake of convenience, this embodiment takes the types of films including soft film, tempered film and anti-peep film as an example. Among them, in a possible implementation, for films with good light transmittance such as soft film and tempered film, the brightness information obtained by DDIC from the register can be set as the brightness information of F1 gear when the film of the current screen of the electronic device is a soft film or a tempered film, and then the brightness of the light spot is adjusted according to the brightness information of F1 gear, such as adjusting the brightness value of the light spot to 1000nit. In the subsequent fingerprint entry process, the adjustment of the brightness value of the light spot can be carried out according to Figure 6 As shown, no further description is given here.

[0181] Continue to see Figure 6For example, in another possible implementation, for films with reduced transmittance, such as privacy films, which have a greater impact on reflection and refraction, when the current screen of the electronic device is protected by a privacy film, the brightness information obtained by DDIC from the register can be directly the highest-level brightness information, such as the brightness information of F3 gear, and then the brightness of the light spot can be adjusted according to the brightness information of F3 gear, such as adjusting the brightness value of the light spot to 1400nit. In the subsequent fingerprint entry process, the adjustment of the brightness value of the light spot can be carried out according to Figure 6 In this way, through a one-step adjustment method, the time-consuming process of adjusting the brightness of the light spot multiple times can be avoided, so that fingerprint entry can be completed more quickly.

[0182] Thus, the fingerprint template can be recorded when the screen of the electronic device is in the first state (without film) and the second state (with film), and in the second state, when different types of films are applied. Since the brightness of the light spot used when recording the fingerprint template is different in different scenes, the recorded fingerprint template is more suitable for the current scene, thereby ensuring the success rate of fingerprint recognition in the subsequent scene.

[0183] Here are the contents of the unlock scene:

[0184] See also Figure 7 For example, in a fingerprint unlocking scenario, if an electronic device has adopted Figure 6 In the case where the fingerprint template is entered in the manner shown and the fingerprint unlocking function is turned on, after the electronic device is locked, when the SOC determines through TP Check that Finger Down has occurred, it sends a fingerprint collection instruction to the DDIC. In response to the fingerprint collection instruction, the DDIC determines whether the current state of the electronic device screen is the first state (without film) or the second state (with film).

[0185] Regarding whether the current state of the electronic device screen is the first state or the second state, for example, it can be determined according to the radial length difference between the two fingerprint images as mentioned above. The specific implementation details are not described in detail here.

[0186] Continue to see Figure 7 , exemplarily, for a scenario where the screen of the electronic device is in the first state, in a possible implementation, for example Figure 6 In the illustrated embodiment, in the first state, the light spot with the lowest brightness, such as F1 brightness, is used by default for fingerprint collection. When recording the fingerprint template, in the unlocking scene, the brightness of the light spot can be set to the lowest brightness, such as F1 brightness. That is, in the entire unlocking scene, the brightness of the light spot is not adjusted, and the default lowest brightness is used.

[0187] Continue to see Figure 7, exemplarily, for the scenario where the screen of the electronic device is in the first state, in another possible implementation, such as the above embodiment, when recording fingerprints, because the quality assessment result of the collected fingerprint image does not meet the preset requirements, the brightness of the light spot is increased. In order to ensure the unlocking rate, the current brightness level of the light spot can be saved after the fingerprint template is recorded. In this way, in the unlocking scenario, the brightness level used when recording the fingerprint template can be directly obtained from the specified path, and the fingerprint image can be collected using the brightness level when recording the fingerprint.

[0188] Continue to see Figure 7 For example, in actual applications, when the fingerprint is recorded, the screen of the electronic device may not have a film yet, that is, there is no film when the fingerprint is recorded. Therefore, for the scenario where the screen of the electronic device is in the second state, there is no film on the screen of the electronic device when the fingerprint is recorded, and there is a film when the fingerprint is unlocked, the brightness level used when the fingerprint is recorded can be obtained in the unlocking stage, and then the brightness of the light spot in the unlocking stage can be increased by one level. For example, if the brightness level used when recording the fingerprint is F1, the brightness level used in the unlocking stage can be F2. For another example, if the brightness level used when recording the fingerprint is F2, the brightness level used in the unlocking stage can be F3.

[0189] Continue to see Figure 7 For example, in actual applications, when the fingerprint is recorded, the screen of the electronic device may already have a film on it, that is, there is a film when the fingerprint is recorded. Therefore, in the scenario where the screen of the electronic device is in the second state, there is a film on the screen of the electronic device when the fingerprint is recorded and there is also a film when the fingerprint is unlocked, the brightness level used when the fingerprint was recorded is directly used in the unlocking stage.

[0190] Continue to see Figure 7 For example, for films such as privacy films that have a greater impact on light transmittance, reflectivity, and refractive index, it is possible to ignore whether there is a film when recording fingerprints and the brightness level used, and directly adjust the light spot brightness to the highest level stored in the register, such as F3 brightness.

[0191] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.

[0192] Therefore, by pre-storing a variety of light spot brightness information, such as the brightness information corresponding to the F1 brightness, F2 brightness, and F3 brightness, in the optical fingerprint recognition scenario, by determining whether the electronic device screen has a film, and then in the scenario where the electronic device has a film, the brightness of the light spot corresponding to the fingerprint collection area is increased, so that the optical fingerprint sensor can collect fingerprint information in a wider range, that is, it can obtain effective edge fingerprint information, thereby reducing the impact of the film on the unlocking performance of the electronic device.

[0193] In addition, in the scenario where the electronic device has a film, we further consider whether the screen of the electronic device has a film during the fingerprint entry stage, and then reasonably adjust the brightness of the light spot corresponding to the fingerprint collection area, thereby solving the public opinion problem that the unlocking rate decreases or the unlocking time is significantly prolonged after the user puts a film on the screen of the electronic device.

[0194] In addition, it is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0195] In addition, it should be noted that the optical fingerprint recognition method provided by the above embodiments implemented by an electronic device in an actual application scenario can also be performed by a chip system included in the electronic device, wherein the chip system may include a processor. The chip system can be coupled to a memory so that when the chip system is running, the computer program stored in the memory is called to implement the steps performed by the above electronic device. The processor in the chip system can be an application processor or a processor other than an application processor.

[0196] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the optical fingerprint recognition method in the above-mentioned embodiment.

[0197] In addition, an embodiment of the present application further provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the optical fingerprint recognition method in the above-mentioned embodiment.

[0198] In addition, an embodiment of the present application also provides a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the optical fingerprint recognition method in the above-mentioned embodiment, so as to control the receiving pin to receive the signal, so as to control the sending pin to send the signal.

[0199] In addition, it can be seen from the above description that the electronic device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0200] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An optical fingerprint recognition method, characterized in that: Applied to an electronic device including a touch screen, wherein an optical fingerprint sensor is integrated under the touch screen, the method comprises: Displaying a first interface, wherein the first interface includes a first fingerprint collection area; In response to the user's operation behavior in the first fingerprint collection area, determining whether the touch screen is in a film state; wherein determining whether the touch screen is in a film state includes: using the light spot of the current brightness at the corresponding position of the first fingerprint collection area to obtain two consecutive fingerprint images, and determining whether the touch screen is in a film state according to the difference in radial lengths of the two fingerprint images; If the touch screen is in a film-covered state, determining the type of film attached to the touch screen; If the film of the touch screen is of a preset type, the brightness value of the light spot is set according to the brightness information of the highest brightness level; If the film attached to the touch screen is not of a preset type, obtaining the state of the touch screen recorded during the fingerprint template entry phase, and the brightness level of the light spot at a position corresponding to the first fingerprint collection area in the touch screen recorded during the fingerprint template entry phase; If the state of the touch screen recorded in the fingerprint template entry stage is the film state, setting the brightness value of the light spot according to the brightness information of the brightness level; If the state of the touch screen recorded in the fingerprint template entry stage is a filmless state, obtaining brightness information of a brightness level that is a preset level higher than the brightness level, wherein the brightness level that is a preset level higher than the brightness level is a brightness level that is one level higher than the brightness level; The brightness value of the light spot is set according to the acquired brightness information.

2. The method according to claim 1, characterized in that The method further comprises: If the touch screen is in a film-free state, the brightness value of the light spot is set according to the brightness information of the lowest brightness level.

3. The method according to claim 1, characterized in that The method further comprises: If the touch screen is in a film-free state, obtaining the brightness level of the light spot at a position corresponding to the first fingerprint collection area in the touch screen recorded during the fingerprint template entry phase; The brightness value of the light spot is set according to the brightness information of the brightness level.

4. The method according to any one of claims 1 to 3, characterized in that: Brightness information corresponding to different brightness levels is pre-burned into a register of the electronic device.

5. The method according to claim 4, characterized in that The method further comprises: Displaying a second interface, wherein the second interface includes a first operation option; In response to the user's operation behavior on the first operation option, displaying a third interface, the third interface including a second fingerprint collection area, the second fingerprint collection area and the first fingerprint collection area having the same light spot; In response to an operation of a user in the second fingerprint collection area, determining whether the touch screen is in a film-covered state; If the touch screen is in the film-covered state, setting the brightness value of the light spot according to the brightness information of the lowest brightness level; After setting the light spot to the brightness value, acquiring two adjacent fingerprint images input by the user in the second fingerprint collection area; When the quality evaluation results of two adjacent fingerprint images meet the preset requirements, the two adjacent fingerprint images are used as fingerprint templates; The fingerprint template, the state of the touch screen and the brightness level of the light spot are stored.

6. The method according to claim 5, characterized in that The method further comprises: When the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, the brightness information of a brightness level higher than the current brightness level by a preset level is obtained; According to the acquired brightness information, setting the brightness value of the light spot; After setting the light spot to the brightness value, acquiring two adjacent fingerprint images input by the user in the second fingerprint collection area; When the quality evaluation results of two adjacent fingerprint images meet the preset requirements, the two adjacent fingerprint images are used as fingerprint templates; The fingerprint template, the state of the touch screen and the brightness level of the light spot are stored.

7. The method according to claim 5, characterized in that The method further comprises: If the touch screen is in the film-attached state, determining the type of film attached to the touch screen; If the film of the touch screen is of a preset type, the brightness value of the light spot is set according to the brightness information of the highest brightness level.

8. The method according to claim 5, characterized in that The method further comprises: If the touch screen is in a film-free state, setting the brightness value of the light spot according to the brightness information of the lowest brightness level; After setting the light spot to the brightness value, acquiring two adjacent fingerprint images input by the user in the second fingerprint collection area; When the quality evaluation results of two adjacent fingerprint images meet the preset requirements, the two adjacent fingerprint images are used as fingerprint templates; The fingerprint template, the state of the touch screen and the brightness level of the light spot are stored.

9. The method according to claim 8, characterized in that The method further comprises: When the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, the two adjacent fingerprint images are re-acquired, and the quality evaluation of the two re-acquired adjacent fingerprint images is performed; When the quality evaluation results of the two adjacent fingerprint images reacquired meet the preset requirements, the two adjacent fingerprint images reacquired are used as fingerprint templates; The fingerprint template, the state of the touch screen and the brightness level of the light spot are stored.

10. The method according to claim 8, characterized in that The method further comprises: When the quality evaluation results of two adjacent fingerprint images do not meet the preset requirements, the brightness information of a brightness level higher than the current brightness level by a preset level is obtained; According to the acquired brightness information, setting the brightness value of the light spot; After setting the light spot to the brightness value, acquiring two adjacent fingerprint images input by the user in the second fingerprint collection area; When the quality evaluation results of two adjacent fingerprint images meet the preset requirements, the two adjacent fingerprint images are used as fingerprint templates; The fingerprint template, the state of the touch screen and the brightness level of the light spot are stored.

11. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: After setting the light spot to the brightness value, acquiring a fingerprint image input by the user in the first fingerprint collection area; The fingerprint image is matched with the fingerprint template entered in the fingerprint template entry phase.

12. A chip, characterized in that: The device comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send the signal to the processor, wherein the signal includes a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the optical fingerprint recognition method according to any one of claims 1 to 11.

13. An electronic device, characterized in that: The electronic device comprises: a touch screen, a memory and a chip as claimed in claim 12, wherein an optical fingerprint sensor is integrated under the touch screen, and the optical fingerprint sensor, the memory and a processor are coupled respectively; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the optical fingerprint recognition method as claimed in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: Used to store a computer program, when the computer program is run on an electronic device, the electronic device executes the optical fingerprint recognition method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Fingerprint collection method and related product

    CN107256383A

  • Fingerprint identification method and mobile terminal

    CN107295195A