Fingerprint image acquisition method and device, electronic equipment and medium

By adjusting the gain parameters of the fingerprint acquisition sensor according to the ambient light brightness and fingerprint occlusion area, and splicing fingerprint images under different gain parameters, the problem of poor fingerprint image acquisition results caused by light changes in traditional technology is solved, and the success rate of fingerprint recognition is improved. and user experience.

CN118710567APending Publication Date: 2024-09-27BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310296202.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing fingerprint collection sensors cannot adapt to changing light environments, resulting in poor fingerprint image collection effects and affecting the success rate of unlocking and consumer payments.

Method used

By dynamically adjusting the gain parameters according to the ambient light brightness and fingerprint occlusion area, fingerprint images under different gain parameters are obtained and spliced ​​to improve image quality.

Benefits of technology

It improves the success rate and user experience of fingerprint recognition, and enhances the recognizability and overall quality of fingerprint images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710567A
    Figure CN118710567A
Patent Text Reader

Abstract

The invention relates to a fingerprint image acquisition method and device, electronic equipment and a medium, and the method comprises the steps: obtaining a target gain parameter based on the ambient light brightness and the shielding area, shielded by a fingerprint of a user, of a preset region; when it is determined that a light leakage phenomenon exists in the fingerprint acquisition process based on the shielding area, performing exposure based on the target gain parameter to obtain a first fingerprint image, and performing exposure based on a pre-stored reference gain parameter to obtain a second fingerprint image; intercepting a first local image of the first fingerprint image, and intercepting a second local image of the second fingerprint image; and splicing the first local image and the second local image to obtain a target fingerprint image. The gain parameters of the fingerprint acquisition sensor are adjusted according to the environment where the electronic equipment is located, and the fingerprint images under different gain parameters are spliced, so that the identifiability and the overall quality of the target fingerprint image are improved, the success rate of fingerprint identification is improved, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of fingerprint recognition technology, and in particular to a fingerprint image acquisition method, device, electronic equipment and medium. Background Art

[0002] With the rapid development of electronic technology, electronic devices such as smart phones, tablet computers, and laptops are widely used in daily life. Currently, most electronic devices are equipped with fingerprint sensors, one of which collects fingerprint image information and recognizes the fingerprint image to achieve functions such as screen unlocking and consumer payment.

[0003] In the related art, the fingerprint acquisition sensor adopts a fixed gain parameter to acquire the fingerprint image. When the set gain parameter is high, the light leakage area of ​​the display screen is overexposed in the high-brightness light leakage scene, making it impossible for the electronic device to acquire the fingerprint image with clear lines; when the set gain parameter is low, the fingerprint image acquired by the electronic device has poor quality. That is, when the fingerprint acquisition sensor adopts a fixed gain parameter to acquire the fingerprint image, the fixed gain cannot adapt to the changeable light conditions in the environment, resulting in poor fingerprint image acquisition effect, reducing the success rate of unlocking or paying for consumption using the fingerprint image, and affecting the user experience. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a fingerprint image acquisition method, device, electronic device and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a fingerprint image acquisition method is provided, which is applied to an electronic device with an optical image acquisition function. The fingerprint image acquisition method includes:

[0006] Based on the ambient light brightness and the occlusion area of ​​the preset area by the user's fingerprint, a target gain parameter is obtained, wherein the target gain parameter is used to characterize the photosensitivity of the device for collecting ambient light during the fingerprint collection process;

[0007] When it is determined based on the blocked area that there is light leakage in the fingerprint collection process, the first fingerprint image is obtained by exposure based on the target gain parameter, and the second fingerprint image is obtained by exposure based on the pre-stored reference gain parameter, and the target gain parameter is less than the reference gain parameter;

[0008] intercepting a first partial image of the first fingerprint image, and intercepting a second partial image of the second fingerprint image, wherein both the first partial image and the second partial image are areas containing fingerprint information;

[0009] The first partial image and the second partial image are spliced ​​together to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function.

[0010] In some exemplary embodiments of the present disclosure, obtaining a target gain parameter based on the ambient light brightness and an area blocked by a fingerprint of a user in a preset area includes:

[0011] Obtaining light leakage based on the ambient light brightness and the shielding area;

[0012] Based on the light leakage amount, the target gain parameter is obtained.

[0013] In some exemplary embodiments of the present disclosure, the ambient light brightness and the shielding area are used to obtain the light leakage amount, including:

[0014] The difference between the area of ​​the preset area and the shielding area is used as the light leakage area;

[0015] The product of the light leakage area and the ambient light brightness is used as the light leakage amount.

[0016] In some exemplary embodiments of the present disclosure, obtaining the target gain parameter based on the light leakage amount includes:

[0017] Based on the configuration information and the light leakage amount, obtaining a target adjustment coefficient corresponding to the light leakage amount, wherein the configuration information is used to characterize a corresponding relationship between the light leakage amount and the adjustment coefficient;

[0018] The product of the light leakage amount and the adjustment coefficient is used as an adjustment gain parameter;

[0019] The target gain parameter is obtained based on the reference gain parameter and the adjustment gain parameter.

[0020] In some exemplary embodiments of the present disclosure, the first fingerprint image and the second fingerprint image are of the same shape and size, and intercepting a second partial image of the second fingerprint image includes:

[0021] The area in the second fingerprint image corresponding to the first partial image is deleted, and the area in the second fingerprint image that is retained is used as the second partial image.

[0022] In some exemplary embodiments of the present disclosure, the step of obtaining the occlusion area of ​​the preset area includes:

[0023] Acquiring pressing information of a user's finger acting on the preset area;

[0024] The shielding area is obtained based on the pressing information.

[0025] In some exemplary embodiments of the present disclosure, the fingerprint image acquisition method further includes:

[0026] When the shielding area is less than or equal to the reference threshold, it is determined that light leakage occurs during the fingerprint collection process.

[0027] In some exemplary embodiments of the present disclosure, the fingerprint image acquisition method further includes:

[0028] When the blocked area is greater than the reference threshold, exposure is performed based on the reference gain parameter and the obtained fingerprint image is used to perform a fingerprint recognition function.

[0029] According to a second aspect of an embodiment of the present disclosure, a fingerprint image acquisition device is provided, which is applied to an electronic device with an optical image acquisition function, and the fingerprint image acquisition device includes:

[0030] An acquisition module, configured to obtain a target gain parameter based on the ambient light brightness and the occlusion area of ​​a preset area blocked by the user's fingerprint, wherein the target gain parameter is used to characterize the photosensitivity of a device for collecting ambient light during fingerprint collection;

[0031] The acquisition module is further configured to, when determining based on the blocked area that there is light leakage in the fingerprint collection process, perform exposure based on the target gain parameter to obtain a first fingerprint image, and perform exposure based on a pre-stored reference gain parameter to obtain a second fingerprint image, wherein the target gain parameter is less than the reference gain parameter;

[0032] A processing module, configured to capture a first partial image of the first fingerprint image and a second partial image of the second fingerprint image, wherein both the first partial image and the second partial image are regions containing fingerprint information;

[0033] The processing module is further used to splice the first partial image with the second partial image to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function.

[0034] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0035] Display screen;

[0036] processor;

[0037] a memory for storing processor-executable instructions;

[0038] The processor is configured to execute executable instructions in the memory to implement the fingerprint image acquisition method provided in the first aspect of the present disclosure.

[0039] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the fingerprint image acquisition method provided by the first aspect of the present disclosure is implemented.

[0040] The above method of the present invention has the following beneficial effects: the present invention adjusts the gain parameters of the fingerprint acquisition sensor according to the environment in which the electronic device is located, splices the fingerprint images under different gain parameters, improves the recognizability and overall quality of the target fingerprint image, improves the success rate of fingerprint recognition, and enhances the user experience.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] Figure 1 An application scenario diagram of an exemplary embodiment of the present disclosure is shown.

[0044] Figure 2 The figure is a flow chart of a fingerprint image acquisition method according to an exemplary embodiment.

[0045] Figure 3 is a schematic diagram showing a fingerprint image stitching process according to an exemplary embodiment.

[0046] Figure 4 The figure is a flow chart of a fingerprint image acquisition method according to an exemplary embodiment.

[0047] Figure 5 The figure is a block diagram of a fingerprint image acquisition device according to an exemplary embodiment.

[0048] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0050] With the rapid development of electronic technology, electronic devices such as smart phones, tablet computers, and laptops are widely used in daily life. Currently, most electronic devices are equipped with fingerprint sensors, one of which collects fingerprint image information and recognizes the fingerprint image to achieve functions such as screen unlocking and consumer payment.

[0051] In the related art, the fingerprint acquisition sensor adopts a fixed gain parameter to acquire the fingerprint image. When the set gain parameter is high, the light leakage area of ​​the display screen is overexposed in the high-brightness light leakage scene, making it impossible for the electronic device to acquire the fingerprint image with clear lines; when the set gain parameter is low, the fingerprint image acquired by the electronic device has poor quality. That is, when the fingerprint acquisition sensor adopts a fixed gain parameter to acquire the fingerprint image, the fixed gain cannot adapt to the changeable light conditions in the environment, resulting in poor fingerprint image acquisition effect, reducing the success rate of unlocking or paying for consumption using the fingerprint image, and affecting the user experience.

[0052] The following is an example of an application scenario of the present disclosure and the related technical problems. Figure 1 As shown in the figure, when the user uses the fingerprint collection function to perform functions such as unlocking the screen and paying in a strong ambient light environment (such as under sufficient sunlight), if the finger does not completely cover the collection area corresponding to the fingerprint collection sensor, while the fingerprint collection sensor is acquiring the fingerprint 1, the strong light 3 will directly shine into the uncovered area 2 in the collection area, causing the fingerprint collection sensor to collect too much light intensity during the image collection process. During the fingerprint collection process, the gain of the fingerprint collection sensor is a fixed value, and the fixed gain value will not change according to the light intensity, resulting in a fingerprint image collected by the fingerprint collection sensor. Highlight spots (such as Figure 1 (B) shows that light leakage and overexposure occur. The bright spots in the fingerprint image make the fingerprint image blurry. There is less effective texture information on the fingerprint image, and the recognizability is low. The electronic device cannot unlock or pay by recognizing the fingerprint image, which affects the user experience.

[0053] In order to solve the above problems, the present disclosure provides a fingerprint image acquisition method, which is applied to an electronic device with an optical image acquisition function. The gain parameters of the fingerprint acquisition sensor are adjusted according to the environment in which the electronic device is located, and the fingerprint images under different gain parameters are spliced ​​to improve the recognizability and overall quality of the target fingerprint image, thereby improving the success rate of fingerprint recognition and enhancing the user experience.

[0054] The exemplary embodiments of the present disclosure provide a fingerprint image acquisition method, which is applied to electronic devices with optical image acquisition functions, specifically, smart electronic devices with optical image acquisition functions such as mobile phones, tablet computers, smart robots, and smart wearable devices. Figure 2 As shown, the fingerprint image acquisition method shown in the present disclosure is implemented by a control device of an electronic device, including:

[0055] S201, obtaining a target gain parameter based on the ambient light brightness and the occlusion area of ​​a preset area blocked by the user's fingerprint;

[0056] S202, when it is determined based on the blocked area that there is light leakage in the fingerprint collection process, exposing based on the target gain parameter to obtain a first fingerprint image, and exposing based on the pre-stored reference gain parameter to obtain a second fingerprint image, and the target gain parameter is less than the reference gain parameter;

[0057] S203, intercepting a first partial image of the first fingerprint image, and intercepting a second partial image of the second fingerprint image, wherein the first partial image and the second partial image are both areas containing fingerprint information;

[0058] S204: splice the first partial image and the second partial image to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function.

[0059] In step S201, the control device may collect the ambient light brightness through a light sensor provided on the electronic device, and the unit of the ambient light brightness is lux, which is expressed as lux. The control device of the electronic device maintains a communication connection through the light sensor to obtain the ambient light brightness. In addition, the ambient light brightness may also be transmitted to the electronic device in this embodiment by other devices independent of the electronic device, so that the electronic device in this embodiment performs subsequent processing.

[0060] The control device sets the entire fingerprint information collection area of ​​the fingerprint collection sensor as a preset area, and the control device connects to the touch panel to obtain touch information. The touch information can reflect which areas of the display interface have been blocked by the pressing operation, and then the control device calculates the blocked area. Among them, the control device of the electronic device is also the control chip of the electronic device, which has data processing functions, as well as information and instruction receiving and sending functions, etc. For example, it can include an acquisition module for communicating with structures such as fingerprint collection sensors and light sensors to obtain information on the blocked area, ambient light brightness and other parameters. The control device includes the acquisition device involved in the following text.

[0061] After obtaining the ambient light brightness and the blocked area of ​​the preset area blocked by the user's fingerprint, the control device will obtain the gain parameter corresponding to the ambient light brightness and the blocked area, and use the gain parameter as the target gain parameter. Among them, the target gain parameter is used to characterize the photosensitivity of the device that collects ambient light during the fingerprint collection process, that is, the photosensitivity of the charge coupled device (CCD) in the fingerprint collection sensor during the fingerprint collection process. The control device can change the photosensitivity of the fingerprint collection sensor during the fingerprint collection process by adjusting the gain parameter to ensure the quality of the acquired fingerprint image. When the ambient light brightness is low, the gain parameter can be increased to increase the photosensitivity performance, and when the ambient light brightness is high, the gain parameter can be reduced to reduce the photosensitivity performance.

[0062] For example, a configuration file containing the corresponding relationship between the gain parameter and the ambient light brightness and the occlusion area is stored in the control device. After the control device obtains the ambient light brightness and the occlusion area, the target gain parameter corresponding to the ambient light brightness and the occlusion area can be found based on the configuration file. In a specific example, when the control device obtains that the ambient light brightness is A and the occlusion area is B, it directly searches in the configuration file to find the overexposure level corresponding to the ambient light brightness A and the occlusion area B, and directly uses the gain parameter N corresponding to the overexposure level as the target gain parameter to adjust the fingerprint acquisition sensor. In another example, when the control device obtains that the ambient light brightness is A and the occlusion area is B, it directly uses the fixed gain M as the target gain parameter to adjust the fingerprint acquisition sensor. That is, as long as the control device determines that overexposure occurs, a fixed gain N corresponding to the overexposure level is directly used as the target gain parameter for fingerprint image acquisition. If the control device determines that there is no overexposure, the fixed gain M is used to adjust the fingerprint acquisition sensor and perform fingerprint image acquisition, wherein the fixed gain M is greater than the fixed gain N.

[0063] For another example, the control device may calculate the ambient light brightness and the shielding area to obtain the target gain parameter corresponding to the ambient light brightness and the shielding area.

[0064] In step S202, after the control device obtains the shielding area, the control device can determine whether there is light leakage. If the shielding area is substantially the same as or larger than the preset area, that is, the user's finger completely covers the area where the fingerprint sensor collects fingerprints, and the brightness of the light that can enter the fingerprint sensor is relatively small, which will not affect the quality of the fingerprint image collected by the fingerprint sensor, then it can be confirmed that there is no light leakage during the fingerprint collection process. The control device pre-stores a reference gain parameter, that is, when the control device determines that there is no light leakage, the fingerprint sensor can directly use the photosensitivity corresponding to the reference gain parameter to expose and obtain the fingerprint image.

[0065] Here, it should be noted that the reference gain parameter and the target gain parameter involved in step S201 are both used to characterize the photosensitivity during the fingerprint collection process. The difference is that the target gain parameter is determined based on the ambient light brightness and occlusion area collected in real time, while the reference gain parameter is pre-stored and does not change with the data collected in real time. The "reference" involved in the reference gain parameter and the "target" involved in the target gain parameter are specific names for distinguishing gain parameters for different purposes, and have no other practical meanings. They are only used to distinguish the usage status or usage scenarios of the gain parameters.

[0066] If the blocked area is smaller than the preset area, and the difference between the blocked area and the preset area is greater than the preset value, that is, the user's finger does not completely cover the area where the fingerprint collection sensor collects fingerprints, then light leakage may exist during the fingerprint collection process. It is necessary to reduce the gain parameter of the fingerprint collection sensor so that the target gain parameter is less than the reference gain parameter in order to obtain a fingerprint image with identifiable fingerprint features.

[0067] When it is determined based on the blocked area that there is light leakage in the fingerprint collection process, the control device will first perform exposure based on the target gain parameter to obtain a darker first fingerprint image corresponding to the target gain parameter, wherein the first fingerprint image is obtained under a smaller target gain parameter. Figure 1 (B) The corresponding bright spot area will show clear fingerprint lines, while in the first fingerprint image, except for the area corresponding to the bright spot, the rest of the area will appear too dark and cannot clearly show the fingerprint lines.

[0068] Then, exposure is performed based on the pre-stored reference gain parameters to obtain a brighter second fingerprint image corresponding to the reference gain parameters. Since the preset area is not completely blocked, strong external light will enter the fingerprint collection sensor, resulting in a brighter second fingerprint image. Figure 1 (B) A bright spot will appear in the corresponding area. In the second fingerprint image, except for the bright spot area, clear fingerprint lines will appear in other areas.

[0069] like Figure 3 As shown, (a) is the darker first fingerprint image collected under the target gain parameter, combined with Figure 1 (B), since the first fingerprint image is a fingerprint image obtained under a smaller target gain parameter, the original Figure 1 The bright spot in (B) is Figure 3 (a) shows clear fingerprint patterns, so Figure 3 (a) The middle region is clear. Figure 3 (b) is a brighter second fingerprint image collected under the reference gain parameter, combined with Figure 1 (B) Figure 3 The s area in (b) will show clear fingerprint patterns, and bright spots will appear in the se area.

[0070] Reference Figure 3 In (c) and (d), since the SF region is close to the SE region and belongs to the transition section, the fingerprint pattern in the SF region exists but is still very likely not to be very clear. In order to further improve the clarity of the final fingerprint, the SE region can be further enlarged. In the subsequent local area stitching process, Figure 3 The local image composed of the s2 area in (d) is spliced ​​with the sf area and the se area to further improve the fingerprint distinguishability of this area.

[0071] In step S203, based on the description in the above steps, Figure 3 (c) is the first fingerprint image obtained under the target gain parameter. Therefore, the fingerprint lines in the se area and the sf area are clear (i.e., the S1 area). The control device sets Figure 3 The images of the se area and the sf area in (c) are cut out from the first fingerprint image and used as the first partial image S1. Figure 3 In (c), the area other than the se area and the sf area is the S3 area. Since the S3 area is less affected by light leakage, when the target gain parameter is used for exposure to obtain the first fingerprint image, the S3 area will be too dark due to the reduced gain, resulting in unclear fingerprints. Therefore, the S3 area needs to be discarded. Of course, it is understandable that only the se area can be used as the first partial image, and the sf area and the S3 area can be discarded.

[0072] Figure 3(d) is the second fingerprint image obtained under the reference gain parameter. Due to the light leakage phenomenon, bright spots appear in the se and sf regions, which makes the fingerprints in the se and sf regions unclear, especially in the se region. However, since the S2 region is less affected by the light leakage phenomenon, the fingerprint in this area is clearer. The control device Figure 3 In (d), the S2 region with a clear fingerprint is captured and used as the second partial image S2, and the se region and sf region that are in a highlighted state and make the fingerprint unclear are discarded. Of course, it is understandable that if only the se region is used as the first partial image when capturing the first partial image, in order to ensure the reliability of the first partial image and the second partial image in the splicing process and the integrity of the fingerprint image, the S2 region and the sf region can be used together as the second partial image.

[0073] Since the first partial image S1 is an image with clear fingerprint patterns captured from the first fingerprint image, and the second partial image S2 is an image with clear fingerprint patterns captured from the second fingerprint image, the first partial image and the second partial image are both areas containing fingerprint information. Subsequently, these two partial images are used in the fingerprint recognition process, and more fingerprint information can be identified, thereby improving the reliability and accuracy of fingerprint recognition.

[0074] In step S204, since the first local image S1 is obtained by exposure based on the target gain parameter, the recognizability of the fingerprint image in the area affected by the light leakage phenomenon is greatly improved, and the second local image S2 is not affected by the light leakage phenomenon. The image quality obtained by exposure under the reference gain parameter remains unchanged. Therefore, the control device improves the overall quality of the fingerprint image obtained after splicing the first local image S1 and the second local image S2. The control device uses the spliced ​​fingerprint image as the target fingerprint image and uses the target fingerprint image to perform fingerprint recognition functions, such as using the target fingerprint image to unlock the screen, pay for shopping, etc.

[0075] When the first local image S1 and the second local image S2 are stitched together, multiple first reference points on the boundary of the first local image S1 and multiple second reference points on the second local image S2 can be selected respectively, and the number and position of the first reference points and the second reference points correspond to each other, so that the multiple first reference points and the multiple second reference points are stitched one by one, thereby completing the stitching of the target fingerprint image.

[0076] The present invention adjusts the gain parameters of the fingerprint acquisition sensor according to the environment in which the electronic device is located, splices the fingerprint images under different gain parameters, improves the recognizability and overall quality of the target fingerprint image, improves the success rate of fingerprint recognition, and enhances the user experience.

[0077] According to an exemplary embodiment, Figure 4 As shown, the fingerprint image acquisition method in this embodiment includes:

[0078] S401, obtaining a shielding area of ​​a preset area, wherein the shielding area is set to an area of ​​the preset area shielded by the user's fingerprint;

[0079] S402, obtaining ambient light brightness;

[0080] S403, obtaining a target gain parameter based on the ambient light brightness and the occlusion area of ​​the preset area blocked by the user's fingerprint;

[0081] S404, determining whether the blocked area is greater than a reference threshold, if the blocked area is greater than the reference threshold, executing step S408, if the blocked area is less than or equal to the reference threshold, executing step S405;

[0082] S405: when it is determined based on the blocked area that there is light leakage in the fingerprint collection process, the first fingerprint image is exposed based on the target gain parameter, and the second fingerprint image is exposed based on the pre-stored reference gain parameter, and the target gain parameter is less than the reference gain parameter;

[0083] S406, intercepting a first partial image of the first fingerprint image, and intercepting a second partial image of the second fingerprint image, wherein the first partial image and the second partial image are both areas containing fingerprint information;

[0084] S407, splicing the first partial image and the second partial image to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function;

[0085] S408: Perform exposure based on the reference gain parameter and use the obtained fingerprint image to perform a fingerprint recognition function.

[0086] Among them, steps S403, S405-S407 are the same as those in the above embodiment and will not be repeated here.

[0087] In step S401, the control device sets the entire fingerprint collection area of ​​the fingerprint collection sensor as a preset area, that is, the maximum collection area range of the fingerprint collection sensor is the preset area. The control device of the electronic device can be connected to the touch panel, and the touch panel can obtain touch information. The touch information can reflect which areas of the display interface have received the pressing operation, and then send the coordinates of the pressing operation on the display interface to the control device, and then the control device calculates the blocked area, and then determines whether light leakage will occur based on the blocked area. Among them, the blocked area can be displayed in the form of a value or a percentage. For example, the preset area is 1cm 2 , the occlusion area is 0.5cm 2, then you can directly change 0.5cm 2 As the shielding area, 0.5 / 1, that is, 50%, may be used as the shielding area.

[0088] In some embodiments, step S401 obtains the occlusion area of ​​a preset area, including:

[0089] Acquire the pressing information of the user's finger acting on the preset area;

[0090] Based on the pressing information, the occlusion area is obtained.

[0091] The display screen of the electronic device is provided with a touch panel. When receiving the pressing information of the user's finger on the preset area, the touch panel can obtain the specific position of the pressing information, and then determine the coordinate value of the boundary of the pressing area (such as the coordinate value of multiple boundary points on the boundary), that is, the pressing information, according to the pre-stored coordinate system set based on the display screen, and then transmit these pressing information to the control device. The control device can calculate the blocked area based on the coordinate system and the coordinate value of the boundary of the pressing area.

[0092] In step S402, the control device can collect the ambient light brightness through a light sensor arranged on the electronic device. The light sensor can be arranged at the top, bottom, etc. of the electronic device. The light sensor can collect the ambient light brightness in real time or at intervals. The unit of the ambient light brightness is lux, which is expressed as lux. The control device of the electronic device maintains a communication connection through the light sensor to obtain the ambient light brightness. Then, in subsequent steps, the control device can use the ambient light brightness to adjust the gain parameter of the fingerprint acquisition sensor. Of course, it can be understood that when the fingerprint acquisition sensor has its own ambient light acquisition function, the ambient light brightness can also be collected by the fingerprint acquisition sensor itself and uploaded to the control device.

[0093] In some embodiments, step S403 obtains a target gain parameter based on the ambient light brightness and the occlusion area of ​​the preset area by the user's fingerprint, including:

[0094] Based on the ambient light brightness and the occlusion area, the amount of light leakage is obtained;

[0095] Based on the light leakage amount, a target gain parameter is obtained.

[0096] After obtaining the ambient light brightness and the blocked area, the control device can obtain the light leakage amount based on the ambient light brightness and the blocked area. The magnitude of the light leakage amount represents the degree of the light leakage phenomenon, and the magnitude of the light leakage amount is proportional to the light leakage area, that is, when the light leakage amount is large, it means that the light leakage phenomenon is serious, the collection of the fingerprint image is affected, and the gain parameter needs to be adjusted. The control device stores a configuration file of the correspondence between the light leakage amount and the gain parameter. Each light leakage amount has a corresponding gain parameter, and a light leakage amount range value can correspond to a gain parameter. For example, the light leakage amount can be divided into multiple levels, the light leakage amount belonging to (100, 200] is level 1, the light leakage amount belonging to (200, 400] is level 2, and the light leakage amount belonging to (400, 800] is level 3. Each level of light leakage corresponds to a gain parameter, the light leakage amount of level 1 corresponds to a gain parameter of 0.8, the light leakage amount of level 2 corresponds to a gain parameter of 0.6, and the light leakage amount of level 3 corresponds to a gain parameter of 0.4. Then, when the light leakage amount obtained by the control device based on the ambient light brightness and the shading area is 300, that is, it belongs to level 2, the corresponding target gain parameter of 0.6 can be found in the configuration file. In addition, the control device can also obtain the target gain parameter by calculation based on the light leakage amount.

[0097] The amount of light leakage is obtained based on the ambient light brightness and the occlusion area, including:

[0098] The difference between the area of ​​the preset area and the blocked area is taken as the light leakage area;

[0099] The product of the light leakage area and the ambient light brightness is taken as the light leakage amount.

[0100] Since the preset area is the entire fingerprint collection area of ​​the fingerprint collection sensor, that is, the maximum collection area of ​​the fingerprint collection sensor, and the blocked area is the area of ​​the preset area blocked by the user's fingerprint, then the difference between the area of ​​the preset area and the blocked area is the uncovered area on the collected fingerprint image area. Since light leakage will occur in the uncovered area, the area of ​​this area is defined as the light leakage area. The light leakage area is multiplied by the ambient light brightness to obtain the light leakage amount. The light leakage amount is represented by e, the ambient light brightness is represented by lux, the area of ​​the preset area is represented by max, and the blocked area is represented by area. Then the light leakage amount e can be obtained by the following formula:

[0101] e=lux*(max-area)

[0102] Wherein, based on the light leakage amount, the target gain parameter is obtained, including:

[0103] Based on the configuration information and the light leakage amount, a target adjustment coefficient corresponding to the light leakage amount is obtained, wherein the configuration information is used to characterize the corresponding relationship between the light leakage amount and the adjustment coefficient;

[0104] The product of the light leakage amount and the adjustment coefficient is used as the adjustment gain parameter;

[0105] Based on the reference gain parameter and the adjustment gain parameter, a target gain parameter is obtained.

[0106] The control device stores configuration information including the correspondence between the light leakage amount and the adjustment coefficient. After obtaining the light leakage amount, the control device can find the target adjustment coefficient of the light leakage amount in the configuration information. The control device multiplies the light leakage amount by the adjustment coefficient to obtain the product result as the adjustment gain parameter. The light leakage amount is represented by e, and the adjustment coefficient is represented by k, then the adjustment gain parameter δgain is ke. For example, when the obtained light leakage amount is 500, the corresponding adjustment coefficient obtained in the configuration information is k1, then the adjustment gain parameter is 500k1; when the obtained light leakage amount is 800, the corresponding adjustment coefficient obtained in the configuration information is k2, then the adjustment gain parameter is 800k2.

[0107] The greater the amount of light leakage, the more serious the light leakage phenomenon is, and the gain parameter needs to be reduced so that the gain parameter can meet the fingerprint information collection under the ambient light brightness. Therefore, after obtaining the reference gain parameter and the adjustment gain parameter, the control device calculates the difference between the reference gain parameter and the adjustment gain parameter, and uses the residual value as the target gain parameter. The target gain parameter is represented by gain', the reference gain parameter is represented by gain, and the adjustment gain parameter is represented by δgain. Then the target gain parameter can be obtained by the following formula:

[0108] gain'=gain-δgain=gain-ke

[0109] In step S404, the control device is provided with a reference threshold value to determine whether there is light leakage during the fingerprint collection process. The control device can adjust the reference threshold value based on the requirements of the electronic device for the distinguishability of the fingerprint image. For example, if the electronic device requires more feature points of the fingerprint image, the reference threshold value can be set larger, that is, the reference threshold value is set to be close to or equal to the preset area value; if the electronic device requires fewer feature points of the fingerprint image, the reference threshold value can be set smaller, that is, the reference threshold value is set to be less than the preset area value. When the occlusion area is less than or equal to the reference threshold value, that is, the user's finger does not completely cover the area where the fingerprint collection sensor collects fingerprints, it is determined that there is light leakage during the fingerprint collection process, and it is necessary to reduce the gain parameter of the fingerprint collection sensor, obtain the target gain parameter, intercept and splice the first fingerprint image obtained by exposure based on the target gain parameter and the second fingerprint image obtained by exposure based on the pre-stored reference gain parameter, and use the fingerprint image after the first partial image and the second partial image are spliced ​​as the target fingerprint image. When the blocked area is greater than the reference threshold, that is, the user's finger completely covers the area where the fingerprint collection sensor collects fingerprints, it is determined that there is no light leakage during the fingerprint collection process, that is, there is no need to adjust the gain parameter, and the reference gain parameter can be used to collect the fingerprint image, so step S408 is executed, and the reference gain parameter is directly used for exposure. The fingerprint image obtained by exposure can be used to perform fingerprint recognition functions, such as screen unlocking, shopping payment and other functions.

[0110] In some embodiments, step S406, the first fingerprint image and the second fingerprint image are of the same shape and size, and capturing a second partial image of the second fingerprint image includes:

[0111] The area in the second fingerprint image corresponding to the first partial image is deleted, and the area in the second fingerprint image that is retained is used as the second partial image.

[0112] In order to ensure the reliability of the first partial image and the second partial image during the stitching process and the integrity of the fingerprint image, the first fingerprint image and the second fingerprint image have the same shape and size. Figure 3(c), (d) and the previous embodiment show that since the se area and the sf area are affected by light leakage, the fingerprint patterns in the se area and the sf area of ​​the second fingerprint image obtained under the reference gain parameter are unclear, and the fingerprint patterns in the S2 area are clear. The fingerprint patterns in the se area and the sf area (i.e., the first local image S1 area) of the first fingerprint image obtained under the target gain parameter are clear, and the fingerprint patterns in the S3 area are unclear. Therefore, the se area and the sf area corresponding to the first local image S1 in the second fingerprint image are deleted, and the S2 area with clear patterns in the second fingerprint image can be retained. The control device uses the retained area in the second fingerprint image as the second local image for subsequent splicing with the first local image.

[0113] In the present disclosure, the control device determines whether light leakage occurs based on the comparison between the blocked area and the reference threshold. When light leakage occurs, the control device can use the fingerprint image obtained by exposure based on the target gain parameter and the reference gain parameter to intercept and splice, thereby improving the recognizability of the fingerprint image, and using the target fingerprint image obtained by splicing to perform the fingerprint recognition function, thereby improving the success rate of fingerprint recognition and enhancing the user experience.

[0114] The exemplary embodiment of the present disclosure provides a fingerprint image acquisition device, which is applied to an electronic device with an optical image acquisition function. Figure 5 As shown, a block diagram of a fingerprint image acquisition device shown in the present disclosure.

[0115] The block diagram includes: an acquisition module 51 and a processing module 52. The acquisition module 51 is used to obtain a target gain parameter based on the ambient light brightness and the occlusion area of ​​a preset area blocked by the user's fingerprint, wherein the target gain parameter is used to characterize the photosensitivity of the device that collects ambient light during fingerprint collection; the acquisition module 51 is also used to determine that there is light leakage in the fingerprint collection process based on the occlusion area, and to expose the first fingerprint image based on the target gain parameter, and to expose the second fingerprint image based on the pre-stored reference gain parameter, wherein the target gain parameter is less than the reference gain parameter; the processing module 52 is used to intercept a first partial image of the first fingerprint image and a second partial image of the second fingerprint image, wherein the first partial image and the second partial image are both areas containing fingerprint information; the processing module 52 is also used to splice the first partial image with the second partial image to obtain a target fingerprint image, wherein the target fingerprint image is used to perform the fingerprint recognition function.

[0116] In an exemplary embodiment of the present disclosure, the acquisition module 51 is further used to: obtain the light leakage amount based on the ambient light brightness and the shielding area; and obtain the target gain parameter based on the light leakage amount.

[0117] In an exemplary embodiment of the present disclosure, the acquisition module 51 is further used to: use the difference between the area of ​​the preset region and the shielding area as the light leakage area; and use the product of the light leakage area and the ambient light brightness as the light leakage amount.

[0118] In an exemplary embodiment of the present disclosure, the acquisition module 51 is also used to: obtain a target adjustment coefficient corresponding to the light leakage amount based on the configuration information and the light leakage amount, wherein the configuration information is used to characterize the correspondence between the light leakage amount and the adjustment coefficient; use the product of the light leakage amount and the adjustment coefficient as the adjustment gain parameter; and obtain the target gain parameter based on the reference gain parameter and the adjustment gain parameter.

[0119] In an exemplary embodiment of the present disclosure, the first fingerprint image and the second fingerprint image have the same shape and size, and the processing module 52 is further used to: delete the area in the second fingerprint image corresponding to the first partial image, and retain the area in the second fingerprint image as the second partial image.

[0120] In an exemplary embodiment of the present disclosure, the acquisition module 51 is further used to: acquire the pressing information of the user's finger acting on the preset area; and obtain the blocked area based on the pressing information.

[0121] In an exemplary embodiment of the present disclosure, the acquisition module 51 is further configured to: determine that light leakage exists in the fingerprint collection process when the blocked area is less than or equal to a reference threshold.

[0122] In an exemplary embodiment of the present disclosure, the processing module 52 is further configured to: when the occlusion area is greater than a reference threshold, perform exposure based on a reference gain parameter and use the obtained fingerprint image to perform a fingerprint recognition function.

[0123] Regarding the acquisition device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0124] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0125] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .

[0126] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0127] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0128] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0129] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0130] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0131] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0132] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0133] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0134] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0135] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to complete the above-mentioned fingerprint image acquisition method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0136] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables a processing device of the electronic device to execute a fingerprint image acquisition method provided by an exemplary embodiment of the present disclosure.

[0137] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0138] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A fingerprint image acquisition method, characterized in that: Applied to electronic equipment with an optical image acquisition function, the fingerprint image acquisition method comprises: Based on the brightness of the ambient light and the occlusion area of ​​the preset area by the user's fingerprint, a target gain parameter is obtained, wherein the target gain parameter is used to characterize the photosensitivity of the device for collecting ambient light during the fingerprint collection process; When it is determined based on the blocked area that there is light leakage in the fingerprint collection process, the first fingerprint image is obtained by exposure based on the target gain parameter, and the second fingerprint image is obtained by exposure based on the pre-stored reference gain parameter, and the target gain parameter is less than the reference gain parameter; intercepting a first partial image of the first fingerprint image, and intercepting a second partial image of the second fingerprint image, wherein both the first partial image and the second partial image are areas containing fingerprint information; The first partial image and the second partial image are spliced ​​together to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function.

2. The fingerprint image acquisition method according to claim 1, characterized in that: The obtaining of the target gain parameter based on the ambient light brightness and the occlusion area of ​​the preset area by the user's fingerprint comprises: Obtaining light leakage based on the ambient light brightness and the shielding area; Based on the light leakage amount, the target gain parameter is obtained.

3. The fingerprint image acquisition method according to claim 2, characterized in that: The ambient light brightness and the shielding area are used to obtain the light leakage amount, including: The difference between the area of ​​the preset area and the shielding area is used as the light leakage area; The product of the light leakage area and the ambient light brightness is used as the light leakage amount.

4. The fingerprint image acquisition method according to claim 2, characterized in that: The step of obtaining the target gain parameter based on the light leakage amount includes: Based on the configuration information and the light leakage amount, obtaining a target adjustment coefficient corresponding to the light leakage amount, wherein the configuration information is used to characterize a corresponding relationship between the light leakage amount and the adjustment coefficient; The product of the light leakage amount and the adjustment coefficient is used as an adjustment gain parameter; The target gain parameter is obtained based on the reference gain parameter and the adjustment gain parameter.

5. The fingerprint image acquisition method according to any one of claims 1 to 4, characterized in that: The first fingerprint image and the second fingerprint image have the same shape and size, and intercepting a second partial image of the second fingerprint image includes: The area in the second fingerprint image corresponding to the first partial image is deleted, and the area in the second fingerprint image that is retained is used as the second partial image.

6. The fingerprint image acquisition method according to any one of claims 1 to 4, characterized in that: The obtaining of the shielding area of ​​the preset area includes: Acquiring pressing information of a user's finger acting on the preset area; The shielding area is obtained based on the pressing information.

7. The fingerprint image acquisition method according to any one of claims 1 to 4, characterized in that: The fingerprint image acquisition method further includes: When the shielding area is less than or equal to the reference threshold, it is determined that light leakage occurs during the fingerprint collection process.

8. The fingerprint image acquisition method according to any one of claims 1 to 4, characterized in that: The fingerprint image acquisition method further includes: When the blocked area is greater than the reference threshold, exposure is performed based on the reference gain parameter and the obtained fingerprint image is used to perform a fingerprint recognition function.

9. A fingerprint image acquisition device, characterized in that: Applied to electronic equipment with an optical image acquisition function, the fingerprint image acquisition device comprises: An acquisition module, configured to obtain a target gain parameter based on the ambient light brightness and the occlusion area of ​​a preset area blocked by the user's fingerprint, wherein the target gain parameter is used to characterize the photosensitivity of a device for collecting ambient light during fingerprint collection; The acquisition module is further configured to, when determining based on the blocked area that there is light leakage in the fingerprint collection process, perform exposure based on the target gain parameter to obtain a first fingerprint image, and perform exposure based on a pre-stored reference gain parameter to obtain a second fingerprint image, wherein the target gain parameter is less than the reference gain parameter; A processing module, configured to capture a first partial image of the first fingerprint image and a second partial image of the second fingerprint image, wherein both the first partial image and the second partial image are regions containing fingerprint information; The processing module is further used to splice the first partial image with the second partial image to obtain a target fingerprint image, wherein the target fingerprint image is used to perform a fingerprint recognition function.

10. An electronic device, characterized in that: The electronic device comprises: Display screen; processor; a memory for storing processor-executable instructions; The processor is configured to execute executable instructions in the memory to implement the fingerprint image acquisition method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by the processor, the fingerprint image acquisition method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Fingerprint acquisition method, device, chip and terminal device

    CN107636686A

  • Under-screen fingerprint collection method and device, electronic equipment and storage medium

    CN110945526A

  • High dynamic range fingerprint sensing

    US10068120B2

  • Optical fingerprint sensing device and operation method thereof

    US20200394380A1

  • Fingerprint identification method, fingerprint identification apparatus and electronic device

    US20210326561A1