CN113191198A - Fingerprint identification method and device, mobile terminal and storage medium - Google Patents

Fingerprint identification method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN113191198A
CN113191198A CN202110360587.7A CN202110360587A CN113191198A CN 113191198 A CN113191198 A CN 113191198A CN 202110360587 A CN202110360587 A CN 202110360587A CN 113191198 A CN113191198 A CN 113191198A
Authority
CN
China
Prior art keywords
fingerprint
light spot
brightness value
area
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110360587.7A
Other languages
Chinese (zh)
Other versions
CN113191198B (en
Inventor
朱少雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110360587.7A priority Critical patent/CN113191198B/en
Publication of CN113191198A publication Critical patent/CN113191198A/en
Application granted granted Critical
Publication of CN113191198B publication Critical patent/CN113191198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/141Control of illumination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Image Input (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure relates to a fingerprint identification method, apparatus, mobile terminal and storage medium, the method comprising: detecting an environment brightness value of the mobile terminal; adjusting the brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot; and acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness value is adjusted, and identifying the fingerprint image. Therefore, the effectiveness of the fingerprint image acquired by the fingerprint acquisition light spot after the brightness value is adjusted is higher, the phenomenon of identification error of the fingerprint sensor under the screen due to the fact that the light condition during fingerprint identification is different from the light condition during fingerprint calibration greatly is reduced, the identification rate of the fingerprint sensor under the screen is improved, and therefore the fingerprint unlocking rate of the mobile terminal is improved.

Description

Fingerprint identification method and device, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a fingerprint identification method and apparatus, a mobile terminal, and a storage medium.
Background
Fingerprint identification schemes in the mobile phone industry have gradually developed from scratch-type and push-type (i.e., capacitive schemes) to underscreen fingerprint schemes. However, when the fingerprint under the screen is unlocked, the environment brightness of the mobile terminal is relied on, so as to collect the fingerprint image, therefore, when the difference between the light condition during fingerprint identification and the light condition during fingerprint calibration (fingerprint template entry) is large, the collected fingerprint image may be regarded as an erroneous fingerprint image, thereby causing the problem that the recognition rate of the fingerprint under the screen is not high, and further causing the unlocking rate of the mobile terminal to be not high, and how to improve the recognition rate of the fingerprint under the screen so as to improve the unlocking rate of the mobile terminal becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
According to a first aspect of the embodiments of the present disclosure, there is provided a fingerprint identification method applied to a mobile terminal including an off-screen fingerprint sensor, including:
detecting an environment brightness value of the mobile terminal;
adjusting the brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot;
and acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness value is adjusted, and identifying the fingerprint image.
Optionally, the adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor includes:
and adjusting the brightness value of the fingerprint collection light spot by adjusting the gray value of the fingerprint collection light spot.
Optionally, the adjusting the gray value of the fingerprint light spot includes:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
Optionally, the adjusting the gray value of the entire area of the fingerprint acquisition light spot includes:
creating a first mask layer which changes the brightness of the whole area of the fingerprint acquisition light spot;
and overlapping the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot of which the gray value is adjusted in the whole area.
Optionally, the method further comprises:
determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the creating of the first mask layer that changes the brightness of the entire area of the fingerprint acquisition spot includes:
and creating a gray shielding layer corresponding to the brightness adjustment amount of the whole area of the fingerprint acquisition light spot.
Optionally, the adjusting the gray value of the partial area of the fingerprint acquisition light spot includes:
and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
Optionally, the adjusting the gray value of the region other than the central region in the fingerprint acquisition light spot includes:
creating a second mask layer that changes the brightness of an area of the fingerprint acquisition spot other than the central area;
and overlapping the second shade on the fingerprint collection light spot to obtain the fingerprint collection light spot with the gray value of the area except the central area adjusted.
Optionally, the method further comprises:
determining the area of the area except the central area in the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the area of the area except the central area in the fingerprint acquisition light spot;
the creating of the second mask layer that changes the brightness of the area other than the central area in the fingerprint collection spot includes:
creating a black mask layer of the determined area.
Optionally, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor according to the environment brightness value includes:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint identification apparatus applied to a mobile terminal including an off-screen fingerprint sensor, including:
the detection module is used for detecting the environment brightness value of the mobile terminal;
the adjusting module is used for adjusting the brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot;
and the acquisition and identification module is used for acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness is adjusted and identifying the fingerprint image.
Optionally, the adjusting module is further configured to:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
Optionally, the adjusting module further includes:
the first creation module is used for creating a first mask layer for changing the brightness of the whole area of the fingerprint acquisition light spot;
the first setting module is used for stacking and setting the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the whole area is adjusted.
Optionally, the apparatus further comprises:
the first determining module is used for determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the first creating module is used for creating a gray mask layer corresponding to the brightness adjustment amount of the whole area of the fingerprint collection light spot.
Optionally, the adjusting module is further configured to:
and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
Optionally, the adjusting module further includes:
the second creating module is used for creating a second mask layer for changing the brightness of the area except the central area in the fingerprint acquisition light spot;
and the second setting module is used for stacking and setting the second shade in the fingerprint collection light spots to obtain the fingerprint collection light spots with the adjusted gray values of the areas except the central area.
Optionally, the apparatus further comprises:
a second determining module, configured to determine, according to the environment brightness value, an area of a region other than the central region in the fingerprint acquisition spot, where the environment brightness value is positively correlated with the area of the region other than the central region in the fingerprint acquisition spot;
the second creating module is configured to create a black mask layer of the determined area.
Optionally, the adjusting module is further configured to:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to, when executed, implement the steps of any of the above fingerprint identification methods.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program, the program being executed by a processor to perform the steps of any of the fingerprint identification methods described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the brightness value of the fingerprint acquisition light spot corresponding to the fingerprint sensor under the screen is adjusted by detecting the environment brightness value of the mobile terminal according to the environment brightness value, and the brightness value of the fingerprint acquisition light spot is inversely related to the brightness value of the fingerprint acquisition light spot, that is, the larger the environment brightness value is, the smaller the brightness value of the fingerprint acquisition light spot can be adjusted. So, adjust the luminance value of fingerprint collection facula based on the ambient brightness value, make the light quantity that enters into fingerprint sensor under the screen through the fingerprint collection facula still keep relatively stable when ambient brightness value changes, for example the ambient brightness value turns down the luminance value of fingerprint collection facula under the circumstances that becomes big, the light quantity that has just also reduced partly entering fingerprint sensor under the screen, so, even the ambient brightness value takes place the light inlet quantity that great change still can not influence fingerprint sensor under the screen, thereby the stability of fingerprint sensor light inlet quantity under the screen has been guaranteed. Therefore, the brightness value of the fingerprint collection light spot is adjusted according to the environment brightness value, the stability of the light inlet quantity of the fingerprint sensor under the screen is guaranteed, the fingerprint sensor under the screen can adapt to the change of the environment brightness value, on the basis, the effectiveness of the fingerprint image collected by the fingerprint collection light spot after the brightness value is adjusted is higher, the identification error phenomenon of the fingerprint sensor under the screen due to the fact that the light condition of the fingerprint identification and the light condition of the fingerprint calibration have larger difference is reduced, the identification rate of the fingerprint sensor under the screen is improved, and finally the fingerprint unlocking rate of the mobile terminal is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
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.
FIG. 1 is a flow diagram illustrating a method of fingerprinting in accordance with an exemplary embodiment;
FIG. 2 is a diagram of a user interface in fingerprint calibration, shown in accordance with an exemplary embodiment;
FIG. 3 is a diagram illustrating a user interface in fingerprinting according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a scenario of a fingerprinting method according to an exemplary embodiment;
FIG. 5 is another scene schematic illustrating a method of fingerprinting in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a fingerprint recognition device according to one exemplary embodiment;
fig. 7 is a block diagram illustrating a mobile terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like 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. Rather, they are merely examples of methods and apparatus consistent with certain aspects of the invention, as detailed in the appended claims.
FOD (Fingerprint on Display) technology is an emerging Fingerprint technology, and is a technology that a Fingerprint sensor is hidden under a Display screen, that is, a Fingerprint identification function is integrated into the Display screen. This fingerprint sensor hidden under the display screen is referred to as an underscreen fingerprint sensor hereinafter. The principle of FOD is to realize fingerprint authentication by collecting fingerprint images through a fingerprint sensor under a screen.
In the related art, the FOD scheme mainly employs an optical fingerprint sensor, including: a lens. In fact, the FOD scheme mainly collects fingerprint images by using the principle of lens imaging, and the lens imaging can be realized only by light. Based on this, if the light condition during fingerprint calibration (fingerprint template input) is different from the light condition during fingerprint identification, the fingerprint images formed by the same fingerprint under different light conditions will be different, and therefore, when the light condition during fingerprint calibration is different from the light condition during fingerprint identification, the phenomenon that the fingerprint cannot be identified or the fingerprint is identified as a fake finger can occur. For example, when a fingerprint is calibrated under a dark light condition, and when the fingerprint is identified under a strong light condition, because the brightness of the fingerprint image acquired under the strong light is too high, the mobile terminal directly discards the image acquisition or determines as a fake finger during identification, which leads to identification failure and further leads to failure in fingerprint unlocking of the mobile terminal.
The embodiment of the disclosure aims to improve the identification rate of FOD, further improve the unlocking rate of the mobile terminal and improve the user experience.
It should be noted that the embodiments of the present disclosure are applied to a mobile terminal including an underscreen fingerprint sensor. The underscreen fingerprint sensor here may be an optical fingerprint sensor as described in the FOD scheme above. The mobile terminal herein may include: any mobile terminal such as a mobile phone, a tablet computer, a notebook computer or wearable equipment capable of integrating a fingerprint sensor under a screen.
Fig. 1 is a flowchart illustrating a fingerprint identification method according to an exemplary embodiment, where the method is applied to a mobile terminal including an off-screen fingerprint sensor, as shown in fig. 1, and includes:
step 101: and detecting the environment brightness value of the mobile terminal.
The ambient brightness value here may include: the brightness provided by any light source of the environment in which the mobile terminal is located. In fact, ambient brightness values are understood herein to be the brightness provided by any light source that can be received by the off-screen sensor. Light sources herein include, but are not limited to: the external light source of the mobile terminal and the light source emitted by the mobile terminal. Here, the external light source of the mobile terminal may include: such as sunlight or light; the light source emitted by the mobile terminal itself may include: backlight light sources of display screens of mobile terminals, etc.
In some exemplary embodiments, to determine the brightness provided by any light source that can be received by the off-screen sensor, the brightness currently received by the off-screen sensor can be directly detected by the light sensor installed adjacent to the off-screen sensor, so that the ambient brightness value of the mobile terminal can be accurately determined.
In other exemplary embodiments, in order to reduce the modification of the mobile terminal, that is, without adding any hardware device, the ambient brightness value of the mobile terminal can still be accurately obtained. Illustratively, the detecting the brightness value of the environment of the mobile terminal may include: the method comprises the steps of detecting the external environment light brightness of the mobile terminal and detecting the backlight brightness of the mobile terminal. It should be noted that the detection of the ambient light brightness of the mobile terminal may be obtained by detecting an existing light sensor on the mobile terminal, which is used for detecting ambient light of the mobile terminal, and the detection of the backlight brightness of the mobile terminal may be obtained by detecting a backlight parameter of a display screen of the mobile terminal. The display screen herein may include: a touch screen. Therefore, the environment brightness value of the mobile terminal can be accurately detected on the basis of not modifying any hardware of the mobile terminal.
It is added that in the field of image acquisition, the influence of the light source of the mobile terminal itself, namely the size of the backlight of the display screen, on the imaging is very small and can be ignored in most cases. In order to detect the environment brightness value of the mobile terminal more quickly or simply, the detecting the environment brightness value of the mobile terminal may include: and detecting the external environment light brightness of the mobile terminal.
Step 102: and adjusting the brightness value of the fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot.
It is necessary to supplement that, on one hand, in order to be convenient for the user to quickly find the position of fingerprint identification, namely the position of the fingerprint sensor under the screen; on the other hand, in order to ensure that enough light exists so as to obtain a clear fingerprint image, a fingerprint acquisition light spot is usually drawn on a display screen of the mobile terminal, and a finger is placed at the fingerprint acquisition light spot so as to acquire the fingerprint image of the finger through a fingerprint sensor under the screen.
In some embodiments, it should be noted that the area of the fingerprint acquisition light spot is at least the area covered by the detection range of the fingerprint sensor under the screen, so that it can be ensured that the fingerprint image can be completely acquired. Of course, in order to reduce the influence of light provided by the area other than the fingerprint collection light spot on the incident light amount of the fingerprint sensor under the screen, the area of the fingerprint collection light spot may be larger than the area covered by the detection range of the fingerprint sensor under the screen, so as to better control the light amount provided by the fingerprint collection light spot for the fingerprint sensor under the screen.
It should be noted that, because the fingerprint image is collected by the lens imaging principle adopted by the under-screen fingerprint sensor, a clear fingerprint image cannot be collected when the ambient brightness is too dark; when the ambient brightness is too bright, the problem of exposure of the acquired image may occur. And the light inlet quantity of fingerprint sensor under the screen mainly lies in the light that fingerprint collection facula department provided, therefore, the luminance value of this embodiment through adjustment fingerprint collection facula, let the luminance value of fingerprint collection facula and environment light anti-correlation, when environment light was dark promptly, thereby can increase the light inlet quantity of fingerprint sensor under the screen through the luminance value that improves fingerprint collection facula, and when environment light was bright too bright, thereby can reduce the light inlet quantity of fingerprint sensor under the screen through the luminance value that reduces fingerprint collection facula, thereby make the light inlet quantity of fingerprint sensor under the screen maintain stably, improve the fingerprint image's of fingerprint sensor collection under the screen validity, and then improve the identification rate of fingerprint sensor under the screen.
It should be added that, referring to fig. 2 and fig. 3, in the related art, when fingerprint identification is required or a fingerprint template needs to be recorded, the mobile terminal 2 draws a fingerprint collecting light spot 21 at a position corresponding to the under-screen fingerprint sensor. Here, the fingerprint collection light spot 21 may be a light spot in the shape of a finger, or may be a light spot similar to a fingerprint texture, so as to more clearly prompt the user that the spot is a fingerprint collection spot. In some embodiments, to be able to adapt to different finger sizes, the fingerprint acquisition spot 21 may be a spot of a general shape, for example a circular spot. In other embodiments, in order to enable the under-screen fingerprint sensor to better acquire the fingerprint image, the fingerprint acquisition light spots may be highlight color light spots, such as white spots, so as to provide more light for the lens of the under-screen fingerprint sensor to acquire a clearer fingerprint image.
Illustratively, fig. 2 is a user interface diagram illustrating fingerprint calibration according to an exemplary embodiment, where fingerprint calibration refers to an entry process of a fingerprint template, fig. 3 is a user interface diagram illustrating fingerprint identification according to an exemplary embodiment, where fingerprint identification refers to a process of fingerprint verification, and when a difference between a light condition during fingerprint calibration and a light condition during fingerprint entry is large, a fingerprint template image formed during fingerprint calibration differs greatly from a fingerprint image formed during fingerprint identification for a fingerprint of the same finger, and thus, the fingerprint is determined as a fake finger or a phenomenon of failed identification.
Based on this, step 103: and acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness value is adjusted, and identifying the fingerprint image.
In the embodiment, the environment brightness value of the mobile terminal is detected; according to the environment brightness value, the brightness value of the fingerprint collection light spot corresponding to the fingerprint sensor under the screen is adjusted, and the environment brightness value is inversely related to the brightness value of the fingerprint collection light spot, then the fingerprint image is collected through the fingerprint collection light spot after the brightness value is adjusted, the fingerprint image is identified, the effectiveness of the fingerprint image collected by the fingerprint collection light spot can be higher, the phenomenon that a fake finger is identified under the condition that the light condition of the fingerprint sensor under the screen is greatly different from the light condition of the fingerprint sensor under the screen during fingerprint identification is reduced, the identification rate of the fingerprint sensor under the screen is improved, and the fingerprint unlocking rate of the mobile terminal is further improved.
As another exemplary embodiment, as mentioned above, in the field of image acquisition, the size of the light source of the mobile terminal itself, i.e., the backlight of the display screen, has little influence on the imaging, and in most cases, the influence is negligible. Based on this, when the environment brightness value is less, because the luminance of fingerprint collection facula itself is unchangeable, so, if the environment brightness value is less under the condition during fingerprint identification, the influence to the light of the collection fingerprint image of fingerprint sensor under the screen is very little. Based on this, in this embodiment, the adjusting the brightness value of the fingerprint collection spot by considering only the case where the environmental brightness value is large may include, for example, the step 102, that is, the adjusting the brightness value of the fingerprint collection spot of the under-screen fingerprint sensor according to the environmental brightness value may include:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
Here, the brightness threshold may be determined according to a lighting condition of the mobile terminal when performing fingerprint verification. For example, the brightness threshold may be an environment brightness value of the mobile terminal when performing fingerprint verification, or may be a brightness value slightly larger than the environment brightness value of the mobile terminal when performing fingerprint verification. Of course, the brightness threshold may also be determined according to the environment brightness value corresponding to the light condition when the fingerprint identification fails for multiple times, and for example, the brightness threshold may be an average value of the environment brightness values corresponding to the light condition when the fingerprint identification fails for multiple times.
In the exemplary embodiment, by setting the brightness threshold and performing the brightness value adjustment of the fingerprint acquisition light spot of the under-screen fingerprint sensor only when it is determined that the environmental brightness value is greater than the brightness threshold, the amount of electric energy consumed by frequently performing the brightness value adjustment of the fingerprint acquisition light spot can be reduced when the change of the environmental brightness has a small influence on the fingerprint image acquired by the under-screen fingerprint sensor.
As another exemplary embodiment, the step 102 of adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor may include:
and adjusting the brightness value of the fingerprint collection light spot by adjusting the gray value of the fingerprint collection light spot.
Here, the gradation values mean: the shade, or shading, of each pixel in the data image over a sample color. It can be understood that the brightness value of the fingerprint collection light spot is adjusted through adjusting the gray value, and actually, the light and shade degree of the pixel point where the area of the fingerprint collection light spot is located is directly adjusted to control the light entering amount of the fingerprint sensor under the screen, so that the stability of the light entering amount of the fingerprint sensor under the screen is ensured. Therefore, in the embodiment, the brightness value of the fingerprint collection light spot is adjusted by adjusting the gray value of the fingerprint collection light spot, and the operation is simple and feasible.
Of course, in other exemplary embodiments, the adjustment of the brightness value of the fingerprint collection spot of the fingerprint sensor under the screen may also be performed in other manners, for example, when the brightness value of the fingerprint collection spot of the fingerprint sensor under the screen needs to be reduced, the backlight of the pixel point in the area where the fingerprint collection spot is located may be directly turned off.
As another exemplary embodiment, the adjusting the gray-scale value of the fingerprint acquisition light spot may further include:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
Here, the entire area refers to the entire area of the fingerprint acquisition spot, and the partial area refers to a partial area of the fingerprint acquisition spot, for example, an upper half area or a lower half area.
It can be understood that, when the adjustment amount of the brightness value of the fingerprint collection light spot is the same, the adjustment amount for adjusting the gray value of the whole area of the fingerprint collection light spot may be smaller than the adjustment amount for adjusting the gray value of the partial area of the fingerprint collection light spot.
In the embodiment of the disclosure, the gray value of the fingerprint collection light spot is flexibly adjusted by adjusting the gray value of the whole area of the fingerprint collection light spot or by adjusting the gray value of the partial area of the fingerprint collection light spot. It is worth mentioning that, under some circumstances, if the gray value of the whole area of the fingerprint collection light spot is adjusted, the area of the fingerprint collection light spot is possibly not obvious any more, so that the user can not conveniently and quickly find the position of the fingerprint sensor under the screen for fingerprint identification when the fingerprint is identified, and on the basis, the original prompting function of the fingerprint collection light spot can be ensured by adjusting the gray value of the partial area of the fingerprint collection light spot, namely, the fingerprint collection light spot is ensured to have the function of prompting the position of the fingerprint sensor under the screen of the user.
For example, when the environmental brightness value becomes larger, the brightness value of the fingerprint acquisition light spot can be reduced by reducing the gray value of the fingerprint acquisition light spot. Specifically, please refer to fig. 4, fig. 4 is a scene schematic diagram of a fingerprint identification method according to an exemplary embodiment, as shown in fig. 4, when an environment brightness value becomes large, the brightness value of the fingerprint collection spot may be reduced by reducing the gray level value of the fingerprint collection spot 21 on the display screen of the mobile terminal 2, so as to reduce the light incident amount entering the under-screen fingerprint sensor through the fingerprint collection spot, so that the light incident amount of the under-screen fingerprint sensor is maintained under the condition that the environment brightness value becomes large, thereby ensuring the validity of the fingerprint image collected by the under-screen fingerprint sensor, and ensuring the fingerprint identification rate of the fingerprint sensor under the condition that the environment brightness value becomes large.
Specifically, referring to fig. 5, fig. 5 is another schematic view of a fingerprint identification method according to an exemplary embodiment, as shown in fig. 5, when an ambient brightness value becomes larger, the brightness value of the fingerprint collection spot may be reduced by reducing a partial area of the fingerprint collection spot 21 on the display screen of the mobile terminal 2, so as to reduce an amount of light entering the under-screen fingerprint sensor through the fingerprint collection spot, so that when the ambient brightness value becomes larger, the amount of light entering the under-screen fingerprint sensor is maintained, thereby ensuring validity of a fingerprint image collected by the under-screen fingerprint sensor, and ensuring a fingerprint identification rate of the fingerprint sensor when the ambient brightness value becomes larger.
It is understood that, in the related art, in order to improve the quality of the captured fingerprint image, the lens of the under-screen fingerprint sensor is generally not limited to the light from the vertical direction, but can also receive light from other different directions, so as to better image to improve the quality of the captured fingerprint image. As such, when the ambient brightness value becomes larger, the incident light of the area around the fingerprint collection light spot may also affect the light incoming amount of the under-screen fingerprint sensor, and based on this, as another exemplary embodiment, the adjusting the gray value of the partial area of the fingerprint collection light spot includes: and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
Specifically, referring to fig. 5 again, as shown in fig. 5, when the ambient brightness value becomes larger, the gray level value of the area of the fingerprint collection spot 21 on the display screen of the mobile terminal 2 except for the central area 210 may be decreased.
In the embodiment of the disclosure, because the gray value of the area except the central area in the fingerprint collection light spot is adjusted, especially when the environmental brightness value is increased, the gray value of the area except the central area in the fingerprint collection light spot is reduced, so that the prompting effect of the fingerprint collection light spot is ensured, and simultaneously, by reducing the gray value of the area except the central area, a part of light entering the under-screen fingerprint sensor from other directions can be blocked in a scene with an increased environmental brightness value, so that the light entering amount of the under-screen fingerprint sensor is ensured when the environmental brightness value is increased, and the fingerprint identification rate of the fingerprint sensor under the condition with an increased environmental brightness value is ensured.
As another exemplary embodiment, the adjusting the gray-scale value of the entire area of the fingerprint acquisition light spot includes:
creating a first mask layer which changes the brightness of the whole area of the fingerprint acquisition light spot;
and (4) overlapping the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the whole area is adjusted.
Here, the mask layer may be a display window drawn for the mobile terminal, and the display window is below the display screen but above the fingerprint collection light spot, and the fingerprint collection light spot being displayed can be displayed through the display window. Because the mask layer is under the display screen, therefore not only the light of being shaded of display screen and mobile terminal's external light all need enter into fingerprint collection facula through the mask layer and reentrant fingerprint sensor under the screen to can block or provide light for fingerprint sensor under the screen through the mask layer. As can be appreciated. The gray value of the mask layer can be controlled, and when the gray value of the mask layer is higher, the displayed fingerprint acquisition light spot is brighter, which means that the light inlet quantity provided for the fingerprint sensor under the screen is larger; conversely, when the shade layer is lower in gray scale value, the fingerprint acquisition spot is displayed darker, meaning that the amount of incident light provided to the underscreen fingerprint sensor is smaller.
This disclosed embodiment, through establish first mask layer in the whole region of fingerprint collection facula, can not need to require the system to redraw whole display screen because of the grey level value of the fingerprint collection facula on the needs adjustment display screen, only need additionally increase one deck mask layer can, consequently, adjust more nimble and maneuverability is stronger, has reduced the scintillation scheduling problem that needs cause to the redrawing in-process of display screen.
As another exemplary embodiment, the method may further include:
determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the creating of the first mask layer that changes the brightness of the entire area of the fingerprint acquisition spot includes:
and creating a gray shielding layer corresponding to the brightness adjustment amount of the whole area of the fingerprint acquisition light spot.
In some embodiments, the determining, according to the environment brightness value, the brightness adjustment amount of the entire area of the fingerprint collection light spot includes:
and determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the first corresponding relation between the environment brightness value and the brightness value of the fingerprint acquisition light spot and the environment brightness value.
In some embodiments, to reduce the frequency of the adjustment and save the power of the mobile terminal, the first corresponding relationship may include: a second corresponding relation between the brightness range of the environment brightness value and the brightness value of the fingerprint acquisition light spot;
the determining the brightness adjustment amount of the whole area of the fingerprint collection light spot according to the environment brightness value may further include:
determining a brightness range of the environment brightness value according to the environment brightness value;
and determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the second corresponding relation between the brightness range of the environment brightness value and the brightness of the fingerprint acquisition light spot.
Therefore, according to the embodiment of the disclosure, the brightness value of the fingerprint collection light spot can be adjusted after the environmental brightness value is increased or reduced to a certain range, the adjustment frequency can be reduced, and the electric energy of the mobile terminal can be saved.
In other embodiments, the adjusting the brightness value of the fingerprint acquisition light spot corresponding to the off-screen fingerprint sensor according to the environment brightness value includes:
determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value;
and adjusting the brightness value of the fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the brightness adjustment amount.
As another exemplary embodiment, the adjusting the gray value of the area except the central area in the fingerprint collection light spot includes:
creating a second mask layer that changes the brightness of an area of the fingerprint acquisition spot other than the central area;
and overlapping the second shade on the fingerprint collection light spot to obtain the fingerprint collection light spot with the gray value of the area except the central area adjusted.
This disclosed embodiment, through establish the second mask layer on the region of fingerprint collection facula except that central zone, can not need require the system to redraw whole display screen because of the regional grey value except that central zone of the fingerprint collection facula on the needs adjustment display screen, only need additionally increase one deck mask layer can, consequently, adjust more nimble and maneuverability is stronger, reduced the scintillation scheduling problem that causes in the redraw in-process of needs to the display screen.
As another exemplary embodiment, the method further comprises:
determining the area of the area except the central area in the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the area of the area except the central area in the fingerprint acquisition light spot;
the creating of the second mask layer that changes the brightness of the area other than the central area in the fingerprint collection spot includes:
creating a black mask layer of the determined area.
In some embodiments, the area of the region of the fingerprint collection light spot other than the central region has a third corresponding relationship with an environmental brightness value, where the third corresponding relationship is also obtained according to experimental data, and the determining the area of the region of the fingerprint collection light spot other than the central region according to the environmental brightness value includes:
and determining the area of the area except the central area in the fingerprint acquisition light spot according to the environment brightness value and the third corresponding relation.
In some embodiments, to reduce the frequency of the adjustment and save power of the mobile terminal, the third correspondence between the area of the fingerprint acquisition spot except for the central area and the brightness value of the environment may include: a fourth corresponding relation between the brightness range of the environment brightness value and the area of the area except the central area in the fingerprint acquisition light spot;
the determining the area of the region except the central region in the fingerprint collection light spot according to the environment brightness value may further include:
determining a brightness range of the environment brightness value according to the environment brightness value;
and determining the area of the area except the central area in the fingerprint acquisition light spot according to a fourth corresponding relation between the brightness range of the environment brightness value and the area of the area except the central area in the fingerprint acquisition light spot.
Therefore, according to the embodiment of the disclosure, the area of the region except the central region in the fingerprint collection light spot can be determined after the environmental brightness value is increased or decreased to a certain range, and the brightness value of the fingerprint collection light spot is adjusted by adjusting the gray value of the region except the central region, so that the adjustment frequency can be reduced, and the electric energy of the mobile terminal can be saved. In addition, the black mask layer with the determined area is directly created, the range of the gray value does not need to be determined, the adjustment parameters can be reduced, and the adjustment efficiency is improved.
Of course, in other embodiments, the adjusting the brightness value of the fingerprint acquisition light spot corresponding to the off-screen fingerprint sensor according to the environment brightness value includes:
determining the area of the area except the central area in the fingerprint acquisition light spot according to the environment brightness value;
and adjusting the brightness value of the region in the determined area according to the determined area of the region except the central region in the fingerprint acquisition light spot.
Referring again to fig. 2, fig. 2 is a diagram illustrating a user interface during fingerprint calibration, according to an example embodiment. In some embodiments, in order to ensure the accuracy of fingerprint calibration and to reduce interference of light other than a fingerprint collection spot during fingerprint calibration, the method further comprises: after the fingerprint calibration is started, drawing a fingerprint acquisition light spot on a display interface of the mobile terminal, and adjusting the gray value except the fingerprint acquisition light spot to be lower than a preset gray value threshold. For example, in order to reduce the interference of light other than the fingerprint collection light spot to the maximum extent, the adjusting the gray value other than the fingerprint collection light spot to be lower than the preset gray value threshold includes: and adjusting the gray value outside the fingerprint collection light spot to 0, namely adjusting the gray value to black, so that the interference of light rays in the area outside the fingerprint collection light spot on the fingerprint sensor under the screen can be completely isolated.
Referring again to FIG. 3, FIG. 3 is a diagram illustrating a user interface during fingerprint recognition, according to an example embodiment. In order to not affect the display effect of the current display picture of the mobile terminal, the gray value of the area outside the fingerprint collection light spot is not adjusted during fingerprint identification.
However, in some scenes, for example, under strong light, the light received by the underscreen fingerprint sensor is greatly increased due to the influence of the strong light and the increase of the brightness of the display screen itself under the strong light, that is, the light entering amount of the underscreen fingerprint sensor is increased. In the above embodiment, the brightness value of the fingerprint collecting light spot corresponding to the fingerprint sensor under the screen is adjusted according to the environment brightness value, so that the light entering the fingerprint sensor under the screen can be reduced, the light incident amount of the fingerprint sensor under the screen is balanced, and the light incident amount of the fingerprint sensor under the screen is kept stable.
Based on this, this disclosure also provides a specific embodiment to further understand the fingerprint identification method provided by the embodiment of this disclosure.
The embodiment of the disclosure aims to improve the fingerprint identification rate of a highlight environment, particularly the fingerprint identification rate of a mobile terminal in an outdoor highlight environment, so as to improve the unlocking rate of the mobile terminal in the outdoor highlight environment.
It should be noted that, in an outdoor strong light environment, the illuminance detected by the light sensor of the mobile terminal is about 2000lux, and the brightness of the display screen is adjusted to the maximum under the condition of the "sun screen" mode in which the display screen is turned on, and the light received by the fingerprint sensor under the screen is increased greatly due to the transmission of the ambient light with the increased brightness.
The light condition of the mobile terminal during fingerprint verification is obviously different from the light condition of the mobile terminal during fingerprint identification under the current strong light environment, once the brightness of the acquired fingerprint image is too high, the image acquisition or the image acquisition is judged as a fake finger by the identification algorithm under the current strong light environment, and the unlocking is failed, so that the identification rate of the fingerprint sensor under the screen is greatly reduced, and the unlocking rate of the mobile terminal is reduced.
Based on this, the specific embodiment of the present disclosure adopts two ways to solve the problem of low fingerprint identification rate under strong light.
The first way is to adjust the gray value of the whole area of the fingerprint collection light spot.
Specifically, referring to fig. 4, as shown in fig. 4, when the environmental brightness value is greater than the brightness threshold, the brightness value of the fingerprint collection spot 21 is adjusted by reducing the gray level value of the fingerprint collection spot 21 of the mobile terminal 2, so as to reduce the light entering into the under-screen fingerprint sensor; make the quantity of light entering of fingerprint sensor under the screen maintain stably, so, even under the highlight, especially outdoor highlight, also can guarantee the stability of the quantity of light entering of fingerprint sensor under the screen to make fingerprint image that fingerprint sensor under the screen even gathered under the highlight also can not the luminance too high, be judged the phenomenon of false finger when having reduced fingerprint identification under the highlight, improved the recognition rate of fingerprint under the screen, improved mobile terminal's unblock rate.
The second way is to adjust the gray value of the partial area of the fingerprint collection light spot.
Specifically, referring to fig. 5 again, as shown in fig. 5, when the environmental brightness value is greater than the brightness threshold, the brightness value of the fingerprint collection spot 21 is adjusted by reducing the gray value of the area of the fingerprint collection spot 21 of the mobile terminal 2 except for the central area 210, so as to reduce the brightness of the incoming light entering the under-screen fingerprint sensor; make the quantity of light entering of fingerprint sensor under the screen maintain stably, so, even under the highlight, especially outdoor highlight, also can guarantee the stability of the quantity of light entering of fingerprint sensor under the screen to make fingerprint image that fingerprint sensor under the screen even gathered under the highlight also can not the luminance too high, be judged the phenomenon of false finger when having reduced fingerprint identification under the highlight, improved the recognition rate of fingerprint under the screen, improved mobile terminal's unblock rate.
It should be noted that the gray value of the whole area of the fingerprint collection light spot in the first mode may be determined according to the level of the environmental brightness value, and the area of the fingerprint collection light spot except the central area in the second mode may also be determined according to the level of the environmental brightness value.
In this embodiment, according to the environment brightness value, when the environment brightness value is greater than the threshold value, for example, in a high light environment, especially an outdoor high light environment, the light entering amount of the fingerprint sensor under the screen is maintained by reducing the brightness value of the fingerprint acquisition spot, so that the brightness of the fingerprint image is stably acquired, the recognition rate of the fingerprint sensor under the screen is improved, and the unlocking rate of the mobile terminal is further improved.
FIG. 6 is a block diagram illustrating a fingerprint recognition device according to an example embodiment. Referring to fig. 6, the apparatus is applied to a mobile terminal including an underscreen fingerprint sensor, and includes:
the detection module 61 is configured to detect an environment brightness value of the mobile terminal;
the adjusting module 62 is configured to adjust a brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, where the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot;
and the collecting and identifying module 63 is used for collecting a fingerprint image through the fingerprint collecting light spot after the brightness is adjusted, and identifying the fingerprint image.
In an optional implementation, the adjusting module 62 is further configured to:
and adjusting the brightness value of the fingerprint collection light spot by adjusting the gray value of the fingerprint collection light spot.
In an optional embodiment, the adjusting module 62 is further configured to:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
In an optional embodiment, the adjusting module 62 further includes:
the first creation module is used for creating a first mask layer for changing the brightness of the whole area of the fingerprint acquisition light spot;
the first setting module is used for stacking and setting the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the whole area is adjusted.
In an optional embodiment, the apparatus further comprises:
the first determining module is used for determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the first creating module is used for creating a gray mask layer corresponding to the brightness adjustment amount of the whole area of the fingerprint collection light spot.
In an optional implementation, the adjusting module 62 is further configured to:
and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
In an optional embodiment, the adjusting module further includes:
the second creating module is used for creating a second mask layer for changing the brightness of the area except the central area in the fingerprint acquisition light spot;
and the second setting module is used for stacking and setting the second shade on the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the area except the central area is adjusted.
In an optional embodiment, the apparatus further comprises:
a second determining module, configured to determine, according to the environment brightness value, an area of a region other than the central region in the fingerprint acquisition spot, where the environment brightness value is positively correlated with the area of the region other than the central region in the fingerprint acquisition spot;
the second creating module is configured to create a black mask layer of the determined area.
In an optional embodiment, the adjusting module 62 is further configured to:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
With regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the embodiments related to the fingerprint identification method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a mobile terminal 700 according to an example embodiment. For example, the mobile terminal 700 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, and the like.
Referring to fig. 7, mobile terminal 700 may include one or more of the following components: a processing component 702, a storage component 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
Processing component 702 generally controls overall operation of mobile terminal 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the mobile terminal 700. Examples of such data include instructions for any application or method operating on mobile terminal 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
Power component 706 provides power to various components of mobile terminal 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 700.
The multimedia component 708 includes a screen that provides an output interface between the mobile terminal 700 and a 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 an input signal from a 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 boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 may include a Microphone (MIC) configured to receive external audio signals when the mobile terminal 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be 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.
The sensor component 714 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 700. For example, sensor assembly 714 may detect an open/closed state of mobile terminal 700, the relative positioning of components, such as a display and keypad of mobile terminal 700, sensor assembly 714 may also detect a change in position of mobile terminal 700 or a component of mobile terminal 700, the presence or absence of user contact with mobile terminal 700, orientation or acceleration/deceleration of mobile terminal 700, and a change in temperature of mobile terminal 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the mobile terminal 700 and other devices in question. The mobile terminal 700 may 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 716 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 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 700 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 704 including instructions, executable by the processor 720 of the mobile terminal 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the fingerprint identification method according to the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements 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 invention is limited only by the appended claims.

Claims (20)

1. A fingerprint identification method is characterized in that the fingerprint identification method is applied to a mobile terminal comprising an under-screen fingerprint sensor, and comprises the following steps:
detecting an environment brightness value of the mobile terminal;
adjusting the brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot;
and acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness value is adjusted, and identifying the fingerprint image.
2. The method of claim 1, wherein the adjusting the brightness value of the fingerprint acquisition spot of the off-screen fingerprint sensor comprises:
and adjusting the brightness value of the fingerprint collection light spot by adjusting the gray value of the fingerprint collection light spot.
3. The method of claim 2, wherein the adjusting the gray scale value of the fingerprint acquisition spot comprises:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
4. The method according to claim 3, wherein the adjusting the gray value of the entire area of the fingerprint collection spot comprises:
creating a first mask layer which changes the brightness of the whole area of the fingerprint acquisition light spot;
and overlapping the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot of which the gray value is adjusted in the whole area.
5. The method of claim 4, further comprising:
determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the creating of the first mask layer that changes the brightness of the entire area of the fingerprint acquisition spot includes:
and creating a gray shielding layer corresponding to the brightness adjustment amount of the whole area of the fingerprint acquisition light spot.
6. The method according to claim 3, wherein the adjusting the gray-scale value of the partial area of the fingerprint acquisition light spot comprises:
and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
7. The method of claim 6, wherein the adjusting the gray scale value of the fingerprint acquisition spot except for the central region comprises:
creating a second mask layer that changes the brightness of an area of the fingerprint acquisition spot other than the central area;
and overlapping the second shade on the fingerprint collection light spot to obtain the fingerprint collection light spot with the gray value of the area except the central area adjusted.
8. The method of claim 7, further comprising:
determining the area of the area except the central area in the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the area of the area except the central area in the fingerprint acquisition light spot;
the creating of the second mask layer that changes the brightness of the area other than the central area in the fingerprint collection spot includes:
creating a black mask layer of the determined area.
9. The method of claim 1, wherein the adjusting the brightness value of the fingerprint acquisition spot of the off-screen fingerprint sensor according to the ambient brightness value comprises:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
10. A fingerprint identification device is characterized in that the fingerprint identification device is applied to a mobile terminal comprising an under-screen fingerprint sensor, and comprises:
the detection module is used for detecting the environment brightness value of the mobile terminal;
the adjusting module is used for adjusting the brightness value of a fingerprint acquisition light spot corresponding to the under-screen fingerprint sensor according to the environment brightness value, wherein the environment brightness value is inversely related to the brightness value of the fingerprint acquisition light spot;
and the acquisition and identification module is used for acquiring a fingerprint image through the fingerprint acquisition light spot after the brightness is adjusted and identifying the fingerprint image.
11. The apparatus of claim 10, wherein the adjustment module is further configured to:
and adjusting the brightness value of the fingerprint collection light spot by adjusting the gray value of the fingerprint collection light spot.
12. The apparatus of claim 11, wherein the adjustment module is further configured to:
adjusting the gray value of the whole area of the fingerprint acquisition light spot;
alternatively, the first and second electrodes may be,
and adjusting the gray value of the partial area of the fingerprint acquisition light spot.
13. The apparatus of claim 12, wherein the adjustment module further comprises:
the first creation module is used for creating a first mask layer for changing the brightness of the whole area of the fingerprint acquisition light spot;
the first setting module is used for stacking and setting the first shade on the whole area of the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the whole area is adjusted.
14. The apparatus of claim 13, further comprising:
the first determining module is used for determining the brightness adjustment quantity of the whole area of the fingerprint acquisition light spot according to the environment brightness value, wherein the environment brightness value is positively correlated with the brightness adjustment quantity;
the first creating module is used for creating a gray mask layer corresponding to the brightness adjustment amount of the whole area of the fingerprint collection light spot.
15. The apparatus of claim 12, wherein the adjustment module is further configured to:
and adjusting the gray value of the area except the central area in the fingerprint acquisition light spot.
16. The apparatus of claim 15, wherein the adjustment module further comprises:
the second creating module is used for creating a second mask layer for changing the brightness of the area except the central area in the fingerprint acquisition light spot;
and the second setting module is used for stacking and setting the second shade on the fingerprint collection light spot to obtain the fingerprint collection light spot after the gray value of the area except the central area is adjusted.
17. The apparatus of claim 16, further comprising:
a second determining module, configured to determine, according to the environment brightness value, an area of a region other than the central region in the fingerprint acquisition spot, where the environment brightness value is positively correlated with the area of the region other than the central region in the fingerprint acquisition spot;
the second creating module is configured to create a black mask layer of the determined area.
18. The apparatus of claim 11, wherein the adjustment module is further configured to:
determining whether the environment brightness value is larger than a brightness threshold value according to the environment brightness value;
and if the brightness value is larger than the brightness threshold value, adjusting the brightness value of the fingerprint acquisition light spot of the under-screen fingerprint sensor.
19. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when executed, performs the steps of the fingerprint recognition method of any one of the preceding claims 1 to 9.
20. A non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method steps of any of claims 1 to 9.
CN202110360587.7A 2021-04-02 2021-04-02 Fingerprint identification method, fingerprint identification device, mobile terminal and storage medium Active CN113191198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110360587.7A CN113191198B (en) 2021-04-02 2021-04-02 Fingerprint identification method, fingerprint identification device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110360587.7A CN113191198B (en) 2021-04-02 2021-04-02 Fingerprint identification method, fingerprint identification device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113191198A true CN113191198A (en) 2021-07-30
CN113191198B CN113191198B (en) 2024-04-26

Family

ID=76974699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110360587.7A Active CN113191198B (en) 2021-04-02 2021-04-02 Fingerprint identification method, fingerprint identification device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113191198B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973338A (en) * 2022-06-16 2022-08-30 慧之安信息技术股份有限公司 Sentinel position confirmation method based on fingerprint identification
WO2023051120A1 (en) * 2021-09-30 2023-04-06 荣耀终端有限公司 In-display fingerprint acquisition method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110291530A (en) * 2019-05-14 2019-09-27 深圳市汇顶科技股份有限公司 For the method for fingerprint recognition, fingerprint identification device and terminal device
WO2019196909A1 (en) * 2018-04-11 2019-10-17 深圳市万普拉斯科技有限公司 Fingerprint collection method and apparatus based on optical fingerprint technology, and user terminal
CN111476071A (en) * 2019-01-24 2020-07-31 北京小米移动软件有限公司 Fingerprint identification method and device
CN112365863A (en) * 2020-11-17 2021-02-12 北京小米移动软件有限公司 Brightness adjusting method and device, display equipment and storage medium
CN112541420A (en) * 2020-12-08 2021-03-23 努比亚技术有限公司 Method and device for identifying fingerprint under screen and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019196909A1 (en) * 2018-04-11 2019-10-17 深圳市万普拉斯科技有限公司 Fingerprint collection method and apparatus based on optical fingerprint technology, and user terminal
CN111476071A (en) * 2019-01-24 2020-07-31 北京小米移动软件有限公司 Fingerprint identification method and device
CN110291530A (en) * 2019-05-14 2019-09-27 深圳市汇顶科技股份有限公司 For the method for fingerprint recognition, fingerprint identification device and terminal device
CN112365863A (en) * 2020-11-17 2021-02-12 北京小米移动软件有限公司 Brightness adjusting method and device, display equipment and storage medium
CN112541420A (en) * 2020-12-08 2021-03-23 努比亚技术有限公司 Method and device for identifying fingerprint under screen and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023051120A1 (en) * 2021-09-30 2023-04-06 荣耀终端有限公司 In-display fingerprint acquisition method and electronic device
CN114973338A (en) * 2022-06-16 2022-08-30 慧之安信息技术股份有限公司 Sentinel position confirmation method based on fingerprint identification

Also Published As

Publication number Publication date
CN113191198B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
US10284773B2 (en) Method and apparatus for preventing photograph from being shielded
CN110796988B (en) Backlight adjusting method and device
CN105282441B (en) Photographing method and device
CN108040204B (en) Image shooting method and device based on multiple cameras and storage medium
CN111241890A (en) Fingerprint identification method, device, equipment and storage medium
CN113191198B (en) Fingerprint identification method, fingerprint identification device, mobile terminal and storage medium
CN111290723A (en) Display background adjusting method, device, terminal and storage medium
CN111901459A (en) Color temperature adjusting method, device, terminal and storage medium
CN107219989B (en) Icon processing method and device and terminal
CN110286813B (en) Icon position determining method and device
CN112764659B (en) Information processing method and device, electronic device and storage medium
CN108830194B (en) Biological feature recognition method and device
CN108597456B (en) Backlight brightness adjusting method and device
CN112241652A (en) Fingerprint identification method and device
CN107451972B (en) Image enhancement method, device and computer readable storage medium
KR20130025498A (en) Mobile terminal and control method therof
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN114187874B (en) Brightness adjusting method, device and storage medium
CN111277754B (en) Mobile terminal shooting method and device
CN108763906B (en) Biological feature recognition method and device
CN110874829B (en) Image processing method and device, electronic device and storage medium
CN111385400A (en) Backlight brightness adjusting method and device
CN110876015B (en) Method and device for determining image resolution, electronic equipment and storage medium
CN112689047A (en) Display control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant