Fingerprint identification method, electronic device, storage medium and computer program product

By adjusting exposure parameters in real time according to ambient light intensity, the problems of slow under-display optical fingerprint recognition and large light spot loss in high brightness are solved, resulting in faster fingerprint recognition and a better user experience.

CN114943992BActive Publication Date: 2025-11-04JIHAO TECHNOLOGY (TIANJIN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210461264.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2025-11-04
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

Existing under-display optical fingerprint recognition technology has a long process, slow recognition speed, and high brightness light spot wear and tear, which may cause visual discomfort to users.

Method used

Exposure parameters are determined in real time based on ambient light intensity, and the brightness of the light spot or the exposure time is adjusted to directly acquire fingerprint images, reducing process steps.

Benefits of technology

It improves fingerprint recognition speed, reduces wear and tear on the fingerprint sensor, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114943992B_ABST
    Figure CN114943992B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a fingerprint identification method, an electronic device, a storage medium and a computer program product, aiming to improve the speed of fingerprint identification. In the embodiments of the present application, the corresponding pressing operation can be determined according to the ambient light brightness in which the user terminal is located, so that when the pressing operation of the user is detected, the most actual exposure operation is directly used for exposure, and the fingerprint image of the user is collected for fingerprint identification. In the embodiments of the present application, after the pressing operation of the user is detected, the exposure parameter corresponding to the ambient light brightness is directly obtained, exposure sampling is performed, and pre-collection and calculation of the exposure parameter are not required, thereby saving the process of fingerprint identification, so that the speed of fingerprint identification can be improved. In the embodiments of the present application, the determination of the exposure parameter takes into account the influence of the ambient light brightness, so that when the fingerprint image is collected, the high-brightness light spot is no longer used all the time, thereby reducing the loss of the fingerprint sensor and improving the visual experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of information processing, and in particular, to a fingerprint identification method, an electronic device, a storage medium and a computer program product. BACKGROUND

[0002] With the development of intelligent products, the application of fingerprint identification technology is also more and more extensive. At present, the recognition time of under-screen optical fingerprint is generally between 150ms-200ms. A traditional under-screen optical fingerprint identification technology is as follows: after detecting the pressing operation of the user, first, an image is collected using a high-brightness light spot according to a preset initial exposure time, then the code value of the collected image is compared with a set target code value, so as to calculate the actual exposure time required for collecting the fingerprint image, and then the fingerprint image is collected using a high-brightness light spot according to the calculated exposure time for fingerprint identification.

[0003] In this scheme, after the user performs the pressing operation, an image is first collected according to the preset exposure time, and the actual exposure time is calculated, and then the collection of the fingerprint image is performed. The whole fingerprint identification process is relatively long, resulting in a slow fingerprint identification speed.

[0004] In addition, in this scheme, no matter what scene the device is in, a high-brightness light spot is used for fingerprint identification, which is relatively large in use loss of the fingerprint sensor. Moreover, the use of the high-brightness light spot for fingerprint identification may cause a dazzling visual experience for the user.

[0005] Therefore, there is an urgent need for a new fingerprint identification method to solve the problems in the related art. SUMMARY

[0006] Embodiments of the present application provide a fingerprint identification method, an electronic device, a storage medium and a computer program product, aiming to improve the speed of fingerprint identification.

[0007] In a first aspect, the present application provides a fingerprint identification method applied to a user terminal, and the method comprises the following steps:

[0008] When detecting a pressing operation of a user, an exposure parameter corresponding to the brightness of ambient light before a pressing moment of the pressing operation is acquired;

[0009] Exposure is performed according to the exposure parameter;

[0010] A fingerprint image collected under the exposure parameter is acquired;

[0011] Fingerprint identification is performed on the fingerprint image.

[0012] Optionally, the exposure parameter is determined according to the following steps:

[0013] performing image acquisition under a default exposure time;

[0014] obtaining a code value of an image acquired at a most recent time;

[0015] determining an exposure parameter for performing fingerprint image acquisition after the most recent time according to the target code value and the code value of the image acquired at the most recent time, the code value of the image acquired at the most recent time corresponding to an ambient light brightness at the most recent time.

[0016] Optionally, in a case where the user terminal is configured with an ambient light sensor, the exposure parameter is determined according to the following steps:

[0017] sensing an ambient light brightness through the ambient light sensor;

[0018] obtaining the ambient light brightness at the most recent time;

[0019] determining an exposure parameter for performing fingerprint image acquisition after the most recent time according to the ambient light brightness at the most recent time.

[0020] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal comprises a non-recognition fingerprint sensing unit driven by a first driving circuit and a recognition fingerprint sensing unit driven by a second driving circuit; performing image acquisition under a default exposure time comprises:

[0021] driving the non-recognition fingerprint sensing unit to perform image acquisition under a default exposure time through the first driving circuit;

[0022] acquiring a fingerprint image acquired under the exposure parameter comprises:

[0023] driving the recognition fingerprint sensing unit to perform fingerprint image acquisition under the exposure parameter through the second driving circuit to obtain the fingerprint image.

[0024] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal is driven by a same driving circuit; performing image acquisition under a default exposure time comprises:

[0025] determining a part of the fingerprint sensing units as non-recognition fingerprint sensing units;

[0026] driving the non-recognition fingerprint sensing units to perform image acquisition under a default exposure time through the driving circuit;

[0027] acquiring a fingerprint image acquired under the exposure parameter comprises:

[0028] The driving circuit drives the respective fingerprint sensing units to collect a fingerprint image under the exposure parameter, to obtain the fingerprint image.

[0029] Optionally, the number of the non-identification fingerprint sensing units is multiple, and the multiple non-identification fingerprint sensing units are continuously distributed, or multiple identification fingerprint sensing units are distributed between every two non-identification fingerprint sensing units.

[0030] Optionally, the distribution mode of the multiple non-identification fingerprint sensing units is at least one of the following:

[0031] distributed on each edge of the fingerprint sensor;

[0032] distributed on each corner of the fingerprint sensor;

[0033] distributed at multiple intermediate positions of the fingerprint sensor.

[0034] Optionally, the image collection under the default exposure time includes:

[0035] collecting an image code value collected at a reference time under a default exposure time;

[0036] adjusting the spot brightness of the display screen of the user terminal according to the image code value collected at the reference time, to obtain a spot after brightness adjustment;

[0037] obtaining an image code value collected at a most recent time, including:

[0038] collecting an image code value collected at a most recent time under a default exposure time, in a case where the display screen of the user terminal displays the spot after brightness adjustment;

[0039] exposing according to the exposure parameter includes:

[0040] exposing according to the exposure time parameter, in a case where the display screen of the user terminal displays the spot after brightness adjustment.

[0041] Optionally, in a case where the spot brightness of the spot on the display screen of the user terminal can be adjusted to a first fixed brightness or a second fixed brightness, adjusting the spot brightness of the display screen of the user terminal according to the image code value collected at the reference time includes adjusting the brightness of the spot according to the image code value of the most recent time, including:

[0042] in a case where the image code value collected at the reference most recent time is less than a target threshold, adjusting the brightness of the spot to the first fixed brightness;

[0043] In a case that the code value of the image collected at the reference time is greater than or equal to the target threshold value, the brightness of the light spot is adjusted to the second fixed brightness.

[0044] Optionally, the brightness of the light spot of the display screen of the user terminal is adjusted according to the code value of the image collected at the reference time.

[0045] The brightness of the light spot is adjusted according to the target code threshold value, the current brightness of the light spot, and the code value of the image collected at the reference time.

[0046] The second aspect of the embodiment of the present application provides a fingerprint identification device applied to a user terminal, and the device comprises:

[0047] A detection module is configured to acquire an exposure parameter corresponding to the ambient light brightness before the pressing time of the pressing operation when detecting the pressing operation of the user.

[0048] An exposure module is configured to perform exposure according to the exposure parameter.

[0049] A fingerprint image acquisition module is configured to acquire a fingerprint image collected under the exposure parameter.

[0050] A fingerprint identification module is configured to perform fingerprint identification on the fingerprint image.

[0051] Optionally, the exposure parameter is determined by the following modules:

[0052] A first acquisition module is configured to perform image acquisition under a default exposure time.

[0053] A code value determination module is configured to acquire a code value of an image collected at a latest time.

[0054] An exposure parameter determination module is configured to determine an exposure parameter used for fingerprint image acquisition after the latest time according to a target code value and the code value of the image collected at the latest time, wherein the code value of the image collected at the latest time corresponds to the ambient light brightness at the latest time.

[0055] Optionally, in a case that the user terminal is configured with an ambient light sensor, the exposure parameter is determined by the following modules:

[0056] A second acquisition module is configured to sense the ambient light brightness through the ambient light sensor.

[0057] An ambient light brightness determination module is configured to acquire the ambient light brightness at a latest time.

[0058] an exposure parameter determination module configured to determine an exposure parameter for collecting a fingerprint image after the time instant according to the ambient light brightness at the time instant.

[0059] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal comprises a non-identification fingerprint sensing unit driven by a first driving circuit and an identification fingerprint sensing unit driven by a second driving circuit; the first collecting module comprises:

[0060] a first image collecting submodule configured to drive the non-identification fingerprint sensing unit to collect an image at a default exposure time through the first driving circuit;

[0061] the fingerprint image obtaining module comprises:

[0062] a first fingerprint image obtaining submodule configured to drive the identification fingerprint sensing unit to collect a fingerprint image at the exposure parameter through the second driving circuit to obtain the fingerprint image.

[0063] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal is driven by the same driving circuit; the first collecting module comprises:

[0064] a non-identification fingerprint sensing unit determination submodule configured to determine a part of the fingerprint sensing units as non-identification fingerprint sensing units;

[0065] a second image collecting submodule configured to drive the non-identification fingerprint sensing units to collect an image at a default exposure time through the driving circuit;

[0066] the fingerprint image obtaining module comprises:

[0067] a second fingerprint image obtaining submodule configured to drive the fingerprint sensing units to collect a fingerprint image at the exposure parameter through the driving circuit to obtain the fingerprint image.

[0068] Optionally, the number of the non-identification fingerprint sensing units is a plurality, and the plurality of non-identification fingerprint sensing units are continuously distributed, or a plurality of identification fingerprint sensing units are distributed between every two non-identification fingerprint sensing units.

[0069] Optionally, the distribution mode of the plurality of non-identification fingerprint sensing units is at least one of the following:

[0070] distributed on each edge of the fingerprint sensor;

[0071] distributed on each corner of the fingerprint sensor;

[0072] a plurality of intermediate positions distributed in the fingerprint sensor.

[0073] Optionally, the first acquisition module is specifically configured to:

[0074] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0075] The code value determination module is specifically configured to:

[0076] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0077] The exposure module is specifically configured to:

[0078] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0079] Optionally, in a case where the spot brightness of the spot on the display screen of the user terminal can be adjusted to a first fixed brightness or a second fixed brightness, adjusting the spot brightness of the display screen of the user terminal according to the code value of the image acquired at the reference time and adjusting the brightness of the spot according to the code value of the image at the most recent time include:

[0080] in a case where the code value of the image acquired at the reference most recent time is less than a target threshold, adjusting the brightness of the spot to the first fixed brightness; and in a case where the code value of the image acquired at the reference most recent time is greater than or equal to the target threshold, adjusting the brightness of the spot to the second fixed brightness.

[0081] Optionally, adjusting the spot brightness of the display screen of the user terminal according to the code value of the image acquired at the reference time and adjusting the brightness of the spot according to the code value of the image at the most recent time include:

[0082] adjusting the brightness of the spot according to the target code threshold, a current brightness of the spot, the code value of the image acquired at the reference time and the code value of the image at the most recent time.

[0083] A third aspect of the embodiment of the application provides an electronic device, including a memory, a processor and a computer program stored in the memory, and the processor executes the computer program to realize the fingerprint identification method as described in the first aspect of the application.

[0084] The fourth aspect of the embodiment of the present application provides a computer readable storage medium, which stores a computer program / instruction, and the computer program / instruction is executed by a processor to realize the fingerprint identification method in the first aspect of the present application.

[0085] The fifth aspect of the embodiment of the present application provides a computer program product, which comprises a computer program / instruction, and the computer program / instruction is executed by a processor to realize the fingerprint identification method in the first aspect of the present application.

[0086] In the embodiment of the present application, the corresponding pressing operation can be determined according to the ambient light brightness of the user terminal, so that when the pressing operation of the user is detected, the exposure operation corresponding to the ambient light brightness is directly used for exposure, and the fingerprint image of the user is collected for fingerprint identification. In the embodiment of the present application, after the pressing operation of the user is detected, the exposure parameter corresponding to the ambient light brightness is directly obtained, and exposure sampling is performed, without pre-collection and calculation of the exposure parameter, thereby saving the process of fingerprint identification, and the fingerprint identification speed can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0087] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0088] Figure 1 is a flowchart of a fingerprint identification method in the embodiment of the present application;

[0089] Figure 2 is a flowchart of determining an exposure parameter in the embodiment of the present application;

[0090] Figure 3 is a distribution diagram of a non-identification fingerprint sensing unit in a fingerprint identification method in the embodiment of the present application;

[0091] Figure 4 is a distribution diagram of a non-identification fingerprint sensing unit in another fingerprint identification method in the embodiment of the present application;

[0092] Figure 5 is a distribution diagram of a non-identification fingerprint sensing unit in another fingerprint identification method in the embodiment of the present application;

[0093] Figure 6 is a schematic diagram of the driving circuit of the non-identification fingerprint sensing unit and the identification fingerprint sensing unit in the embodiment of the present application;

[0094] Figure 7is a flowchart of determining exposure parameters of an embodiment of the present application;

[0095] Figure 8 is a structural block diagram of a fingerprint identification device of an embodiment of the present application. DETAILED DESCRIPTION

[0096] In order to make the above objectives, characteristics and advantages of the present application more apparent, comprehensible and easier to understand, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0097] Embodiments of the present application aim to provide a scheme for optimizing the speed of fingerprint identification. In the embodiments of the present application, the ambient light brightness is determined in advance, the spot brightness is adjusted, or different spots are adjusted, or the exposure time is adjusted, so as to determine the actual exposure parameters in advance. After detecting the pressing operation of the user, the exposure parameters are acquired to perform exposure, collect a fingerprint image, and perform fingerprint identification, so as to reduce the time of the entire fingerprint identification process and improve the speed of fingerprint identification. Moreover, the scheme can be adapted to different scenes, and in each scene, extremely fast fingerprint identification can be achieved, and the user experience is improved.

[0098] Next, the fingerprint identification method provided by the embodiments of the present application will be explained in detail with reference to Figure 1 , a flowchart of a fingerprint identification method of an embodiment of the present application is shown, the fingerprint identification method of the embodiment of the present application is applied to a user terminal, and specifically can include the following steps:

[0099] S101, when detecting a pressing operation of a user, acquiring exposure parameters corresponding to the ambient light brightness before a pressing moment of the pressing operation.

[0100] In the embodiments of the present application, considering the real-time nature of the exposure parameters, the exposure parameters can be determined according to the ambient light brightness of the previous moment of the pressing moment.

[0101] In the embodiments of the present application, the actual exposure parameters can be determined in real time according to the ambient light brightness in advance.

[0102] In the embodiments of the present application, the ambient light brightness can be tested constantly at a preset frequency, the ambient light brightness or the acquisition image corresponding to the ambient light brightness is obtained, and the latest actual exposure parameters are constantly obtained. In the embodiments of the present application, the determined actual exposure parameters can be stored, and further, the embodiments of the present application can only store the latest calculated actual exposure parameters. Thus, when detecting the pressing operation of the user, the latest actual exposure parameters, that is, the exposure parameters determined at the previous moment of the pressing moment, are directly acquired.

[0103] In the embodiment of the present application, the preset frequency can be 1 time per second, so that when the pressing operation of the user is detected, the acquired exposure parameter is the exposure parameter conforming to the actual situation.

[0104] In the embodiment of the present application, the user can trigger the fingerprint identification by pressing the display screen of the user terminal, and the user terminal can directly acquire the latest actual exposure parameter stored in advance after detecting the pressing operation.

[0105] S102, exposure is performed according to the exposure parameter.

[0106] S103, a fingerprint image collected under the exposure parameter is acquired.

[0107] In the embodiment of the present application, the exposure parameter can include an exposure time and / or a spot brightness.

[0108] In the embodiment of the present application, the spot brightness refers to the brightness of the fingerprint collection area of the display screen above the fingerprint sensor.

[0109] In the embodiment of the present application, in the case that the spot brightness of the fingerprint sensor of the user terminal is fixed, the exposure parameter can only include the exposure time, and the user terminal performs exposure according to the exposure time and collects the fingerprint image to complete the fingerprint identification.

[0110] In the embodiment of the present application, in the case that the spot brightness of the fingerprint sensor of the user terminal can be adjusted, the exposure time can be determined as a preset exposure time, so that the exposure parameter can only include the spot brightness, and the user terminal performs exposure according to the preset exposure time and collects the fingerprint image under the actual spot brightness to complete the fingerprint identification.

[0111] In the embodiment of the present application, in the case that the spot brightness of the fingerprint sensor of the user terminal can be adjusted, a plurality of preset exposure times can also be set, a target exposure time appropriate for the ambient light brightness is selected, so that the spot brightness is determined, and the selected target exposure time and the corresponding actual spot brightness are taken as the exposure parameter. The user terminal performs exposure according to the target exposure time and collects the fingerprint image under the actual spot brightness to complete the fingerprint identification.

[0112] In the embodiment of the present application, in the case that the spot of the fingerprint sensor of the user terminal is a plurality of spots with different brightnesses and the brightness of each spot is not adjustable, a target spot with appropriate brightness can be selected according to the ambient light brightness, so that the corresponding actual exposure time is determined. The selected target spot and the corresponding actual exposure time are taken as the exposure parameter. The user terminal performs exposure according to the actual exposure time and collects the fingerprint image under the brightness of the target spot to complete the fingerprint identification.

[0113] S104, fingerprint identification is performed on the fingerprint image.

[0114] In the embodiment of the present application, the fingerprint image collection and recognition can be realized according to the mature and feasible method of fingerprint image collection and recognition in the related art. For example, two frames of fingerprint images can be collected, the two frames of fingerprint images are superimposed to obtain a to-be-recognized fingerprint image, the to-be-recognized fingerprint image is input into an identification algorithm for recognition, and thus the fingerprint recognition is completed.

[0115] In the embodiment of the present application, the corresponding pressing operation can be determined according to the ambient light brightness of the user terminal, so that when the pressing operation of the user is detected, the exposure operation corresponding to the ambient light brightness is directly used for exposure, and the fingerprint image of the user is collected for fingerprint recognition. In the embodiment of the present application, after the pressing operation of the user is detected, the exposure parameter corresponding to the ambient light brightness is directly obtained for exposure and image collection, without the need for pre-collection and calculation of the exposure parameter, thereby saving the process of fingerprint recognition, and the fingerprint recognition speed can be improved.

[0116] In the embodiment of the present application, a method for determining an exposure parameter is provided, by which the exposure parameter in step S101 in the foregoing embodiment can be determined. The method can be applied to any user terminal, such as a mobile phone, as shown in the accompanying drawings, and the method comprises the following steps: Figure 2 As shown in the accompanying drawings, the method comprises the following steps:

[0117] S201, image collection is performed under a default exposure time.

[0118] In the embodiment of the present application, the collection frequency can also be preset by a technician in advance. In the embodiment of the present application, in order to make the exposure parameter obtained by the user for fingerprint recognition be an exposure parameter conforming to the actual situation, the collection gap can be set to be less than 2 seconds. In the embodiment of the present application, the time of the collection gap of the preset collection frequency cannot be too low, and a too short collection gap will cause excessive power consumption of the fingerprint sensor, and therefore, the collection gap can also be set to be more than 100 milliseconds.

[0119] In the embodiment of the present application, the default exposure time can be the default exposure time of the user terminal for fingerprint recognition.

[0120] In the embodiment of the present application, image collection is performed under a default exposure time, and the collected image can be used for analyzing the ambient light brightness, so as to determine the exposure parameter required for fingerprint recognition.

[0121] In the embodiment of the present application, the non-identification fingerprint sensing unit can be used to perform image collection under a default exposure time.

[0122] In the embodiment of the present application, the number of the non-identification fingerprint sensing units is multiple, and the distribution mode of the multiple non-identification fingerprint sensing units is at least one of the following:

[0123] The non-identification fingerprint sensing units are distributed on each edge of the fingerprint sensor, on each corner of the fingerprint sensor, on multiple intermediate positions of the fingerprint sensor, are continuously distributed, or multiple identification fingerprint sensing units are distributed between every two non-identification fingerprint sensing units.

[0124] In the embodiment of the present application, the non-identification fingerprint sensing unit can be arranged to test the ambient light brightness, and the specific testing method is achieved by image acquisition under the default exposure time.

[0125] In the embodiment of the present application, the non-identification fingerprint sensing unit can be arranged at the edge position and multiple intermediate positions of the fingerprint sensor, and the non-identification fingerprint sensing unit can be distributed with the identification fingerprint sensing unit, or the non-identification fingerprint sensing unit can be concentratedly distributed at a certain position of the fingerprint sensor. Figures 3-5 Figures 3-5 The three possible distribution diagrams of the non-identification fingerprint sensing unit in the fingerprint identification method provided by the embodiment of the present application are shown.

[0126] In the embodiment of the present application, the distribution mode of the non-identification fingerprint sensing unit can not affect the acquisition of the fingerprint image, and the present application does not specially limit this.

[0127] In an optional embodiment of the present application, a specific non-identification fingerprint sensing unit can be arranged on the fingerprint sensor of the user terminal to acquire the environmental image, and the non-identification fingerprint sensing unit and the identification fingerprint sensing unit use different driving circuits.

[0128] Specifically, each fingerprint sensing unit of the fingerprint sensor of the user terminal includes a non-identification fingerprint sensing unit driven by a first driving circuit and an identification fingerprint sensing unit driven by a second driving circuit.

[0129] In this case, the step S201 specifically includes:

[0130] The non-identification fingerprint sensing unit is driven by the first driving circuit to perform image acquisition under the default exposure time.

[0131] In this case, the step S103 specifically includes:

[0132] The identification fingerprint sensing unit is driven by the second driving circuit to perform fingerprint image acquisition under the exposure parameter, and the fingerprint image is obtained.

[0133] ​In the embodiment of the present application, the fingerprint sensor of the user terminal can be modified, a plurality of non-identification fingerprint sensing units and two separate driving circuits, a first driving circuit and a second driving circuit, are arranged. The first driving circuit is used to drive the non-identification fingerprint sensing unit, and the second driving circuit is used to drive the identification fingerprint sensing unit.

[0134] As shown in Figure 6 , Figure 6 The schematic diagram of the driving circuit of the non-identification fingerprint sensing unit and the identification fingerprint sensing unit in the fingerprint identification method provided by the embodiment of the present application is shown, from Figure 6 It can be known that, in the embodiment of the present application, the identification fingerprint sensing unit and the non-identification fingerprint sensing unit adopt different driving circuits, so that the non-identification fingerprint sensing unit and the identification fingerprint sensing unit work independently and do not affect each other. Therefore, in the embodiment of the present application, only a small number of non-identification fingerprint sensing units collect images at a fixed frequency, which can reduce the power consumption of the whole work.

[0135] The arrangement position of the plurality of non-identification fingerprint sensing units can refer to the distribution mode of the non-identification fingerprint sensing unit.

[0136] In the embodiment of the present application, the non-identification fingerprint sensing unit is used to collect environmental images at a fixed frequency. Correspondingly, in the embodiment of the present application, when the fingerprint identification is performed after detecting the pressing operation of the user, only the identification fingerprint sensing unit is driven to collect the fingerprint image.

[0137] In the embodiment of the present application, the specific non-identification fingerprint sensing unit is arranged on the fingerprint sensor of the user terminal to collect environmental images, and the non-identification fingerprint sensing unit and the identification fingerprint sensing unit use different driving circuits. When the non-identification fingerprint sensing unit collects images at a fixed frequency, the identification fingerprint sensing unit is not affected, so that the increase of the overall power consumption of the fingerprint sensor in the process of continuous image collection of the non-identification fingerprint sensing unit can be controlled. And when the non-identification fingerprint sensing unit collects images at a fixed frequency, the identification fingerprint sensing unit is not affected, so that the loss of the identification fingerprint sensing unit can also be guaranteed not to be additionally increased.

[0138] In the embodiment of the present application, the non-identification fingerprint sensing unit can also be arranged as an RGB fingerprint sensing unit. The light collected by the RGB fingerprint sensing unit is weighted and averaged as the actual light signal amount. Since the environmental light spectrum curve collected by the RGB fingerprint sensing unit is similar to the human eye response function curve, the collected environmental light brightness can be more consistent with the actual situation.

[0139] In the embodiment of the present application, in order to improve the test accuracy of the non-identification fingerprint sensing unit to the ambient light, the binning method can also be used to weight the light signal amount collected by the non-identification fingerprint sensing unit, for example, the 2binning method can be used to combine the signal amount of 4 non-identification fingerprint sensing units into 1 signal amount, and for example, the 3binning method can be used to combine the signal amount of 9 non-identification fingerprint sensing units into 1 signal amount, and the binning method is not limited in the embodiment of the present application.

[0140] In an optional embodiment of the present application, part of the fingerprint sensing units in the identification fingerprint sensing unit can be used as the non-identification fingerprint sensing unit to perform image pre-collection.

[0141] In the embodiment of the present application, when the fingerprint sensor of the user terminal cannot be modified, part of the fingerprint sensing units in the identification fingerprint sensing unit can be selected as the non-identification fingerprint sensing unit, and the specific selection method can refer to the distribution method of the non-identification fingerprint sensing unit.

[0142] Specifically, each fingerprint sensing unit of the fingerprint sensor of the user terminal is driven by the same driving circuit, and the step S201 specifically includes:

[0143] Part of the fingerprint sensing units in the each fingerprint sensing unit is determined as the non-identification fingerprint sensing unit, and the non-identification fingerprint sensing unit is driven by the driving circuit to perform image collection under the default exposure time.

[0144] In this case, the step S103 specifically includes:

[0145] The each fingerprint sensing unit is driven by the driving circuit to perform fingerprint image collection under the exposure parameter, and the fingerprint image is obtained.

[0146] In the embodiment of the present application, part of the fingerprint sensing units is selected from all the identification fingerprint sensing units as the non-identification fingerprint sensing unit, which is used to collect the ambient image at a fixed frequency to determine the ambient brightness. When the user's pressing operation is detected, all the fingerprint sensing units are driven to collect the fingerprint image for fingerprint identification.

[0147] In the embodiment of the present application, in order to avoid excessive wear of the part of the fingerprint sensing units selected as the non-identification fingerprint sensing unit, part of the identification fingerprint sensing units can be randomly selected as the non-identification fingerprint sensing unit when each ambient image is collected, so as to ensure that the wear speed of each fingerprint sensing unit on the fingerprint sensor is equivalent.

[0148] By using the method provided in the embodiment of the present application, even if the fingerprint sensor of the user terminal cannot be modified, the collection of the environment image can be realized, so that the actual exposure parameter is calculated in advance and saved for the fingerprint identification process.

[0149] S202, obtain the code value of the image collected at the latest time.

[0150] S203, determine the exposure parameter for collecting the fingerprint image after the latest time according to the target code value and the code value of the image collected at the latest time, the code value of the image collected at the latest time corresponding to the ambient light brightness at the latest time.

[0151] In the embodiment of the present application, the exposure parameter for collecting the fingerprint image after the latest time can be determined according to the comparison between the code value of the image collected at the latest time and the target code value (for example, code value of the image collected at the latest time: target code value = default exposure time: exposure parameter for collecting the fingerprint image after the latest time, which is only used for understanding, and in actual application, it is not limited to this calculation method), that is, the exposure parameter obtained during the pressing operation.

[0152] In the embodiment of the present application, after collecting the environment image each time, the corresponding exposure parameter can be determined according to the code value of the image and the default exposure time, and the preset target code value of the fingerprint image.

[0153] In an optional embodiment of the present application, the step S201 includes the following sub-steps:

[0154] Step S2011, image collection is performed under the default exposure time to obtain the code value of the image collected at the reference time.

[0155] Step S2012, the light spot brightness of the display screen of the user terminal is adjusted according to the code value of the image collected at the reference time to obtain the light spot after brightness adjustment.

[0156] In the embodiment of the present application, the reference time can be the initial time within the preset time period before the pressing time. The preset time period can be 1 hour, and in the embodiment of the present application, considering that the ambient light brightness generally changes less within one hour, the image code value can be collected every hour to adjust the light spot brightness.

[0157] In the embodiment of the present application, considering the real-time of the light spot brightness, the preset time period can also be set to a shorter time, for example, 30 minutes or 1 minute, and the embodiment of the present application does not make specific limitation.

[0158] In the embodiment of the present application, in order to further accelerate the speed of fingerprint identification, the spot brightness can be adjusted in advance according to a preset frequency, and then the exposure time is determined according to the code value of the image collected at the most recent time. When performing fingerprint identification, only the exposure time is adjusted, so that the collection of the fingerprint image can be realized more quickly. In turn, the speed of fingerprint identification is improved.

[0159] In this case, the step S202 comprises:

[0160] In the case that the display screen of the user terminal displays the spot with the adjusted brightness, the image collection is performed under the default exposure time, and the code value of the image collected at the most recent time is obtained.

[0161] In the embodiment of the present application, the spot brightness can be adjusted once in each preset time period, and then the fingerprint image is collected according to the preset frequency under the spot brightness, and the code value of the image collected at the most recent time is determined. Then, according to the target code value and the code value of the image collected at the most recent time, the exposure parameter used for collecting the fingerprint image after the most recent time is determined.

[0162] In this case, the step S102 comprises:

[0163] In the case that the display screen of the user terminal displays the spot with the adjusted brightness, the exposure is performed according to the exposure parameter.

[0164] In the embodiment of the present application, in the case that the spot brightness can be adjusted to the first fixed brightness or the second fixed brightness. The step S2011 comprises:

[0165] In the case that the code value of the image collected at the reference time is less than the target threshold value, the spot brightness is adjusted to the first fixed brightness.

[0166] In the case that the code value of the image collected at the reference time is greater than or equal to the target threshold value, the spot brightness is adjusted to the second fixed brightness.

[0167] In the embodiment of the present application, the image can be collected once every hour, and according to the image code value and the target threshold value, it is selected whether the spot brightness is the first fixed brightness or the second fixed brightness.

[0168] In the embodiment of the present application, in the case that the spot brightness of the user terminal is linearly adjustable, the step S2011 comprises:

[0169] According to the target threshold value, the current brightness of the spot, and the code value of the image collected at the reference time, the spot brightness is adjusted.

[0170] Specifically, in the embodiment of the present application, the required luminance of the light spot can be determined according to the difference between the target threshold and the image code value and the current luminance of the light spot, which can be simply understood as: the adjusted luminance = current luminance + K (target threshold - image code value), the calculation method is only for understanding, and in actual application, it is not limited to this calculation method, wherein K is an empirical coefficient, which can be adjusted according to actual requirements.

[0171] In the embodiment of the present application, the exposure time can be determined as a preset exposure time, and the required luminance of the light spot under the preset exposure time and the ambient light luminance can be determined, and the luminance of the light spot is adjusted according to the luminance of the light spot.

[0172] In the embodiment of the present application, in the case that the luminance of the light spot of the user terminal is adjustable, the appropriate target exposure time can also be selected from a plurality of preset exposure times according to the ambient light luminance, and the required luminance of the light spot under the target exposure time and the ambient light luminance is determined, and the luminance of the light spot is adjusted according to the luminance of the light spot.

[0173] In the embodiment of the present application, another method for determining the exposure parameter is provided, by which the exposure parameter in step S101 of the foregoing embodiment can be determined, the method is applied to a user terminal configured with an ambient light sensor, as shown in the following figure, the method comprises the following steps: Figure 7

[0174] S301, sensing the ambient light luminance by the ambient light sensor.

[0175] In the embodiment of the present application, when the user terminal is configured with an ambient light sensor, the ambient light luminance can be directly sensed by the ambient light sensor to determine the ambient light luminance, and then the exposure parameter required for fingerprint image acquisition is determined.

[0176] In the embodiment of the present application, in order to make the test of the ambient light luminance more accurate, a small number of non-fingerprint recognition sensing units and ambient light sensors can also be combined to determine the ambient light luminance.

[0177] S302, obtaining the ambient light luminance at the latest time.

[0178] S303, determining the exposure parameter for fingerprint image acquisition after the latest time according to the ambient light luminance at the latest time.

[0179] This step is similar to step S203 described above, and will not be described here.

[0180] ​In the embodiment of the present application, the ambient light sensor can be directly applied to sense the ambient light brightness to determine the exposure parameter required for fingerprint image acquisition. Thus, the loss of the fingerprint sensing unit on the fingerprint sensor can be avoided. Specifically, in the embodiment of the present application, the corresponding relationship between the ambient light brightness and the exposure time can be pre-configured, and the corresponding exposure time can be obtained according to the ambient light brightness at the latest time, as the exposure parameter used for fingerprint image acquisition after the time.

[0181] Based on the same inventive concept, the embodiment of the present application provides a fingerprint identification device. Referring to Figure 8 , Figure 8 is a schematic diagram of the fingerprint identification device provided by the embodiment of the present application. As shown in Figure 8 , the fingerprint identification device is applied to a user terminal, and the fingerprint identification device 800 includes:

[0182] The detection module 801 is configured to obtain an exposure parameter corresponding to the ambient light brightness before the pressing time of the pressing operation of the user when detecting the pressing operation of the user.

[0183] The exposure module 802 is configured to perform exposure according to the exposure parameter.

[0184] The fingerprint image acquisition module 803 is configured to acquire a fingerprint image collected under the exposure parameter.

[0185] The fingerprint identification module 804 is configured to perform fingerprint identification on the fingerprint image.

[0186] Optionally, the exposure parameter is determined by the following modules:

[0187] The first acquisition module is configured to perform image acquisition under a default exposure time.

[0188] The code value determination module is configured to obtain a code value of an image collected at the latest time.

[0189] The exposure parameter determination module is configured to determine an exposure parameter used for fingerprint image acquisition after the latest time according to the target code value and the code value of the image collected at the latest time, the code value of the image collected at the latest time corresponding to the ambient light brightness at the latest time.

[0190] Optionally, in the case that the user terminal is configured with an ambient light sensor, the exposure parameter is determined by the following modules:

[0191] The second acquisition module is configured to perform ambient light brightness sensing through the ambient light sensor.

[0192] an ambient light brightness determination module configured to obtain an ambient light brightness at a most recent time point;

[0193] an exposure parameter determination module configured to determine an exposure parameter for collecting a fingerprint image after the most recent time point according to the ambient light brightness at the most recent time point.

[0194] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal comprises a non-identification fingerprint sensing unit driven by a first driving circuit and an identification fingerprint sensing unit driven by a second driving circuit; the first collecting module comprises:

[0195] a first image collecting submodule configured to drive the non-identification fingerprint sensing unit to collect an image at a default exposure time through the first driving circuit;

[0196] the fingerprint image obtaining module comprises:

[0197] a first fingerprint image obtaining submodule configured to drive the identification fingerprint sensing unit to collect a fingerprint image at the exposure parameter through the second driving circuit to obtain the fingerprint image.

[0198] Optionally, each fingerprint sensing unit of the fingerprint sensor of the user terminal is driven by a same driving circuit; the first collecting module comprises:

[0199] a non-identification fingerprint sensing unit determination submodule configured to determine a part of the fingerprint sensing units as non-identification fingerprint sensing units;

[0200] a second image collecting submodule configured to drive the non-identification fingerprint sensing units to collect an image at a default exposure time through the driving circuit;

[0201] the fingerprint image obtaining module comprises:

[0202] a second fingerprint image obtaining submodule configured to drive the fingerprint sensing units to collect a fingerprint image at the exposure parameter through the driving circuit to obtain the fingerprint image.

[0203] Optionally, the number of the non-identification fingerprint sensing units is a plurality, the plurality of non-identification fingerprint sensing units are continuously distributed, or a plurality of identification fingerprint sensing units are distributed between every two non-identification fingerprint sensing units.

[0204] Optionally, the distribution mode of the plurality of non-identification fingerprint sensing units is at least one of the following:

[0205] distributed on each edge of the fingerprint sensor;

[0206] distributed on each corner of the fingerprint sensor;

[0207] a plurality of intermediate positions distributed in the fingerprint sensor.

[0208] Optionally, the first acquisition module is specifically configured to:

[0209] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0210] The code value determination module is specifically configured to:

[0211] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0212] The exposure module 802 is specifically configured to:

[0213] acquire an image at a default exposure time to obtain a code value of an image acquired at a reference time; and adjust a spot brightness of a display screen of the user terminal according to the code value of the image acquired at the reference time to obtain a spot after brightness adjustment.

[0214] Optionally, in a case where the spot brightness of the spot on the display screen of the user terminal can be adjusted to a first fixed brightness or a second fixed brightness, adjusting the spot brightness of the display screen of the user terminal according to the code value of the image acquired at the reference time and adjusting the brightness of the spot according to the code value of the image at the most recent time include:

[0215] in a case where the code value of the image acquired at the reference most recent time is less than a target threshold, adjusting the brightness of the spot to the first fixed brightness; and in a case where the code value of the image acquired at the reference most recent time is greater than or equal to the target threshold, adjusting the brightness of the spot to the second fixed brightness.

[0216] Optionally, adjusting the spot brightness of the display screen of the user terminal according to the code value of the image acquired at the reference time and adjusting the brightness of the spot according to the code value of the image at the most recent time include:

[0217] adjusting the brightness of the spot according to the target code threshold, a current brightness of the spot, the code value of the image acquired at the reference time, and the code value of the image at the most recent time.

[0218] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts refer to the part of the method embodiment.

[0219] Based on the same inventive concept, a third aspect of the embodiments of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the fingerprint identification method according to the first aspect of the present application.

[0220] Based on the same inventive concept, a fourth aspect of the embodiments of the present application provides a computer readable storage medium, having stored thereon a computer program / instruction, which, when executed by a processor, implements the fingerprint identification method according to the first aspect of the present application.

[0221] Based on the same inventive concept, a fifth aspect of the embodiments of the present application provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the fingerprint identification method according to the first aspect of the present application.

[0222] Each of the embodiments in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other.

[0223] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, device, or computer program product. Therefore, the embodiments of the present application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0224] The embodiments of the present application are described with reference to flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to produce a machine, so that the instructions executed by the computer or other programmable data processing terminal devices produce the functions described in the flowcharts and / or block diagrams. Figure 1 The function of the device specified in one flow or multiple flows and / or blocks Figure 1 The function of the device specified in one flow or multiple flows and / or blocks

[0225] These computer program instructions can also be stored in a computer readable storage medium, which can guide the computer or other programmable data processing terminal devices to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a product comprising instruction devices, which implement the functions described in the flowcharts and / or block diagrams.Figure 1 one or more processes and / or blocks Figure 1 the function specified in the one or more blocks.

[0226] These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that a series of operation steps are performed on the computer or other programmable terminal devices to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminal devices provide a process for implementing the function specified in the flowchart Figure 1 one or more processes and / or blocks Figure 1 the function specified in the one or more blocks.

[0227] Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art, once they know the basic creative concept, can make additional changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.

[0228] Finally, it should also be noted that, in this paper, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or terminal device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or terminal device including the element.

[0229] The above provides a detailed description of the fingerprint identification method, electronic device, storage medium and computer program product provided by the present application. In this paper, specific examples are applied to explain the principles and implementation modes of the present application. The above description of the embodiments is only used to help understand the method and core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; in view of the above, the content of the description should not be understood as a limitation of the present application.

Claims

1. A fingerprint recognition method, characterized in that, Applied to a user terminal, the method includes: When a user's press operation is detected, exposure parameters are acquired, which correspond to the ambient light intensity before the press operation. Perform exposure according to the stated exposure parameters; Acquire the fingerprint image under the exposure parameters; Perform fingerprint recognition on the fingerprint image; The exposure parameters are determined according to the following steps: Image acquisition is performed periodically at the default exposure time to obtain the code value of the image acquired at the reference time; Based on the code value of the image acquired at the reference time, the brightness of the light spot on the display screen of the user terminal is adjusted to obtain the light spot with adjusted brightness; When the user terminal displays the light spot with adjusted brightness, image acquisition is performed at the default exposure time to obtain the code value of the image acquired at the most recent moment. Based on the target code value and the code value of the image acquired at the most recent moment, the exposure parameters for fingerprint image acquisition after the most recent moment are determined, wherein the code value of the image acquired at the most recent moment corresponds to the ambient light brightness at the most recent moment; The exposure according to the exposure parameters includes: When the user terminal's display screen shows the light spot with adjusted brightness, exposure is performed according to the exposure parameters.

2. The fingerprint recognition method according to claim 1, characterized in that, When the user terminal is equipped with an ambient light sensor, the exposure parameters are determined according to the following steps: Ambient light brightness is sensed using the ambient light sensor. Obtain the ambient light level at the most recent moment; Based on the ambient light intensity at the most recent moment, the exposure parameters for fingerprint image acquisition after that moment are determined.

3. The fingerprint recognition method according to claim 1, characterized in that, The fingerprint sensor of the user terminal includes a non-recognition fingerprint sensing unit driven by a first driving circuit and a recognition fingerprint sensing unit driven by a second driving circuit. Image acquisition is performed at the default exposure time, including: The first driving circuit drives the non-identifiable fingerprint sensing unit to perform image acquisition at the default exposure time. Acquiring the fingerprint image under the exposure parameters includes: The fingerprint sensor unit is driven by the second driving circuit to acquire a fingerprint image under the exposure parameters, thereby obtaining the fingerprint image.

4. The fingerprint recognition method according to claim 1, characterized in that, Each fingerprint sensing unit of the fingerprint sensor in the user terminal is driven by the same driving circuit. Image acquisition is performed at the default exposure time, including: A portion of the fingerprint sensing units are identified as non-recognition fingerprint sensing units. The driving circuit drives the non-identifiable fingerprint sensing unit to acquire images at the default exposure time. Acquiring the fingerprint image under the exposure parameters includes: The driving circuit drives each fingerprint sensing unit to acquire fingerprint images under the exposure parameters, thereby obtaining the fingerprint image.

5. The fingerprint recognition method according to claim 3 or 4, characterized in that, The number of non-identifiable fingerprint sensing units is multiple, and the multiple non-identifiable fingerprint sensing units are distributed continuously, or multiple identifying fingerprint sensing units are distributed between every two non-identifiable fingerprint sensing units.

6. The fingerprint recognition method according to claim 5, characterized in that, The distribution of the plurality of non-identifiable fingerprint sensing units is in at least one of the following ways: They are distributed on each edge of the fingerprint sensor; They are distributed at each corner of the fingerprint sensor; They are distributed at multiple intermediate locations on the fingerprint sensor.

7. The fingerprint recognition method according to claim 1, characterized in that, When the brightness of the light spot can be adjusted to a first fixed brightness or a second fixed brightness, adjusting the brightness of the light spot on the user terminal's display screen according to the code value of the image acquired at the reference time includes: If the code value of the image acquired at the reference time is less than the target threshold, the brightness of the light spot will be increased to the first fixed brightness. If the code value of the image acquired at the reference time is greater than or equal to the target threshold, the brightness of the light spot is reduced to the second fixed brightness.

8. The fingerprint recognition method according to claim 1, characterized in that, Adjusting the brightness of the light spot on the user terminal's display screen based on the code value of the image acquired at the reference time includes: The brightness of the light spot is adjusted based on the target threshold, the current brightness of the light spot, and the code value of the image acquired at the reference time.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the fingerprint recognition method according to any one of claims 1-8.

10. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instruction is executed by the processor, it implements the fingerprint recognition method according to any one of claims 1-8.

11. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the fingerprint recognition method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Method, device and terminal device for obtaining fingerprint image

    CN107690653A

  • Light intensity detection method and device and intelligent terminal

    CN108881604A

  • Fingerprint identification method and device

    CN111476071A

  • Method and device for obtaining and recognizing image, storage medium, and electronic equipment

    CN113792587A