CN112949600A - Method, device, terminal and storage medium for collecting fingerprint under screen - Google Patents

Method, device, terminal and storage medium for collecting fingerprint under screen Download PDF

Info

Publication number
CN112949600A
CN112949600A CN202110372397.7A CN202110372397A CN112949600A CN 112949600 A CN112949600 A CN 112949600A CN 202110372397 A CN202110372397 A CN 202110372397A CN 112949600 A CN112949600 A CN 112949600A
Authority
CN
China
Prior art keywords
semaphore
nth
exposure
fingerprint image
fingerprint
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.)
Pending
Application number
CN202110372397.7A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110372397.7A priority Critical patent/CN112949600A/en
Publication of CN112949600A publication Critical patent/CN112949600A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The embodiment of the application discloses a method, a device, a terminal and a storage medium for collecting fingerprints under a screen, and belongs to the field of fingerprints under the screen. The method comprises the following steps: controlling an image sensor of the fingerprint module under the screen to perform nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure; responding to the nth semaphore of the nth fingerprint image not meeting the semaphore requirement, and controlling the image sensor to carry out exposure for the (n + 1) th time to obtain an (n + 1) th fingerprint image; and in response to the nth semaphore of the nth fingerprint image meeting the semaphore requirement, determining the nth fingerprint image as the target fingerprint image. The method has the advantages that the fingerprint image is acquired in the dynamic exposure time, the problem that the fingerprint image acquisition quality is reduced due to the change of the light spot brightness, the external environment, the screen transmittance and the protective film transmittance under the condition that the fixed exposure time is set is avoided, the improvement of the fingerprint image acquisition quality is facilitated, and the accuracy of fingerprint identification by using the fingerprint image is improved.

Description

Method, device, terminal and storage medium for collecting fingerprint under screen
Technical Field
The embodiment of the application relates to the field of underscreen fingerprints, in particular to an underscreen fingerprint acquisition method, an underscreen fingerprint acquisition device, a terminal and a storage medium.
Background
Fingerprint collection under the screen is one kind and sets up the fingerprint module in the screen below, when finger contact screen, sends light through the light source and shines the finger to utilize the image sensor of fingerprint module to receive the reverberation, realize fingerprint image acquisition's technique.
In the related art, before a terminal adopting the under-screen fingerprint acquisition technology leaves a factory, the exposure duration of an image sensor in a fingerprint module needs to be set according to the brightness of light spots formed by a light source, the transmittance of a screen and other factors. When fingerprint image acquisition is subsequently carried out, the image sensor carries out fingerprint image acquisition based on the exposure duration.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for acquiring fingerprints under a screen. The technical scheme is as follows:
on one hand, the embodiment of the application provides a method for acquiring fingerprints under a screen, and the method is used for a terminal provided with a fingerprint module under the screen and comprises the following steps:
controlling an image sensor of the under-screen fingerprint module to perform nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer;
in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, controlling the image sensor to carry out exposure for the (n + 1) th time to obtain an (n + 1) th fingerprint image;
in response to an nth semaphore of the nth fingerprint image satisfying a semaphore requirement, determining the nth fingerprint image as a target fingerprint image.
In another aspect, an embodiment of the present application provides an underscreen fingerprint acquisition apparatus, including:
the control module is used for controlling the image sensor of the under-screen fingerprint module to carry out nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer;
the control module is further used for controlling the image sensor to perform exposure for the (n + 1) th time in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, so as to obtain an (n + 1) th fingerprint image;
the first determining module is used for responding to that the nth semaphore of the nth fingerprint image meets the semaphore requirement, and determining the nth fingerprint image as the target fingerprint image.
On the other hand, an embodiment of the present application provides a terminal, where the terminal includes a processor, a memory, and an underscreen fingerprint module, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the underscreen fingerprint acquisition method according to the above aspect.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one program code is stored, and the program code is loaded and executed by a processor to implement the method for acquiring an underscreen fingerprint according to the above aspect.
In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the terminal executes the off-screen fingerprint acquisition method provided in the various optional implementation manners of the above aspects.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
in the embodiment of the application, the terminal performs continuous exposure by controlling an image sensor of the fingerprint module under the screen, determines whether the fingerprint image meets the information quantity requirement or not based on the information quantity of the fingerprint image acquired after each exposure, and continues to control the image sensor to perform exposure under the condition that the information quantity requirement is not met until the exposure is stopped when the information quantity requirement is met; the terminal adopts and obtains the fingerprint image when dynamic exposure is long, need not to set up when leaving the factory when fixed exposure is long, and can avoid setting up under the long condition of fixed exposure, because of the problem that facula luminance, external environment, screen transmissivity and protection film transmissivity change lead to fingerprint image to gather the quality and descend, helps improving the collection quality of fingerprint image, and then improves the follow-up rate of accuracy that utilizes fingerprint image to carry out fingerprint identification.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of an underscreen fingerprint acquisition process shown in an exemplary embodiment;
FIG. 3 is a flowchart of an off-screen fingerprint collection method provided by an exemplary embodiment of the present application;
FIG. 4 is a flowchart of an off-screen fingerprint acquisition method provided by another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an implementation of an underscreen fingerprint acquisition process according to an exemplary embodiment of the present application;
FIG. 6 is a flowchart of an off-screen fingerprint acquisition method provided by another exemplary embodiment of the present application;
FIG. 7 is a flowchart of an off-screen fingerprint acquisition method provided by another exemplary embodiment of the present application;
FIG. 8 is a schematic diagram of an implementation of an underscreen fingerprint acquisition process according to another exemplary embodiment of the present application;
fig. 9 shows a block diagram of an underscreen fingerprint acquisition apparatus provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. The terminal 1000 can be a smartphone, a tablet computer, a wearable device, or the like. Terminal 1000 in the present application can include one or more of the following: processor 1010, memory 1020, and an off-screen fingerprint module 1030.
Processor 1010 may include one or more processing cores. Processor 1010 interfaces with various portions of the overall terminal 1000 using various interfaces and circuitry to perform various functions of terminal 1000 and process data by executing or performing instructions, programs, code sets, or instruction sets stored in memory 1020 and invoking data stored in memory 1020. Alternatively, the processor 1010 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1010 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the NPU is used for realizing an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1010, but may be implemented by a single chip.
The Memory 1020 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 1020 includes a non-transitory computer-readable medium. The memory 1020 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1020 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio and video data, fingerprint data, application data) created according to the use of the terminal 1000, and the like.
Fingerprint module 1030 is the subassembly that sets up in the display screen below under the screen for carry out fingerprint image when the finger contacts with the display screen and gather. The terminal 1000 can be provided with the single screen lower fingerprint module 1030, and the screen lower fingerprint module 1030 is arranged below the fixed display screen area (usually arranged below the middle and lower display screens, so that a user can conveniently perform fingerprint input when holding the terminal 1000 with one hand), and the user can only realize fingerprint acquisition and identification by touching the fixed display screen area; or, the terminal 1000 may be provided with a plurality of fingerprint modules 1030 under the screen, where the fingerprint modules 1030 are distributed under different display screen areas, and a user can recognize fingerprint collection by touching any display screen area.
The key component of the screen fingerprint module 1030 for realizing fingerprint image acquisition is an image sensor, which can be a Complementary Metal-Oxide-Semiconductor (CMOS), and when fingerprint image acquisition is performed, the fingerprint image acquisition is realized by controlling the exposure of the image sensor.
In this embodiment, the terminal 1000 is further provided with a Display screen, and the Display screen may be a Liquid Crystal Display (LCD) Display screen or an Organic Light-Emitting Diode (OLED) Display screen. When the LCD display screen is used, the terminal 1000 uses an external light source as an excitation light source for collecting the fingerprint image (i.e., a light source for providing light to irradiate the finger), and when the OLED display screen is used, the screen fingerprint module 1030 corresponds to the self-luminous unit in the display screen area and is used as the excitation light source for collecting the fingerprint image. In some embodiments, the display screen further has a touch function, so that when a touch signal is detected, the excitation light source is controlled to emit light, and the fingerprint module 1030 under the screen is controlled to collect a fingerprint image.
In addition, those skilled in the art will appreciate that the configuration of terminal 1000 illustrated in the above-described figures is not intended to be limiting, and that terminal may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 1000 further includes components such as a sensor, a speaker, a power supply, and a wireless communication component, which are not described herein again.
Taking the terminal configured with the OLED display screen as an example, as shown in fig. 2, an OLED substrate 22 is disposed below a touch panel 21 of the terminal, a light emitting diode 23 is disposed on the OLED substrate 22, and a finger print module 24 under the OLED substrate 22 is disposed below the OLED substrate 22, where the finger print module 24 includes an image sensor 25. When a user finger 26 contacts the touch panel 21, light emitted by the light emitting diodes 23 irradiates the finger 26 through the touch panel 21 and is reflected on the surface of the finger 26, and the reflected light is received by the image sensor 25 in an exposed state through a gap between the light emitting diodes 23, so that fingerprint image collection is realized.
Therefore, in the technology of collecting the fingerprint under the screen based on the reflection principle, the collection quality of the fingerprint image is closely related to factors such as screen transmittance, light source brightness and the like. Because different terminals have differences, in order to improve the acquisition quality of fingerprint images, in the related art, the terminals need to be calibrated by using fingerprints under a screen before leaving a factory, so that the exposure time of the image sensor is fixed, and the image sensor is controlled to acquire images based on the exposure time. When the fingerprint under the screen is calibrated, the exposure time of the image processor needs to be calculated according to parameters such as light source brightness, screen transmittance and the like.
However, in an actual usage scenario, the brightness of the light source may decrease as the usage duration of the terminal increases, and a user may stick a protective film on the screen surface.
In the method for collecting the fingerprint under the screen provided by the embodiment of the application, the terminal does not control the image sensor of the fingerprint module under the screen based on the fixed exposure duration, but adopts a continuous exposure mode to control the image sensor to continuously carry out multiple exposures, detects the semaphore of the fingerprint image collected after each exposure, and continues to control the image sensor to be exposed when the semaphore does not meet the requirement until the semaphore meets the requirement. Compared with the method for acquiring the fingerprint image based on the fixed exposure time, by adopting the dynamic exposure scheme provided by the embodiment of the application, on one hand, the terminal can adaptively prolong or shorten the exposure time of the image sensor according to the actual acquired semaphore of the fingerprint image, so that the fingerprint images acquired in different scenes have enough semaphore, and therefore, the acquired fingerprint image does not need to have enough semaphore by setting the fixed exposure time, the calibration flow of the fingerprint under the screen before the terminal leaves the factory is omitted, and the calibration of the fingerprint under the screen before the terminal leaves the factory is avoided; on the other hand, the problem that the fingerprint image acquisition quality is reduced due to the change of the light source brightness, the external environment, the screen transmittance and the protective film transmittance can be avoided, the problem that underexposure or overexposure occurs when exposure is carried out for a long time due to the adoption of fixed exposure in certain use scenes is avoided, high-quality fingerprint images can be acquired in different use scenes, and therefore the accuracy of fingerprint identification by means of subsequent fingerprint images is improved.
Referring to fig. 3, a flowchart of an off-screen fingerprint acquisition method provided in an exemplary embodiment of the present application is shown, where the present embodiment takes the method applied to the terminal shown in fig. 1 as an example for description, and the method includes:
step 301, controlling an image sensor of the fingerprint module under the screen to perform nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer.
In a possible implementation manner, in response to a fingerprint acquisition instruction, the terminal controls an image sensor of the fingerprint module under the screen to perform exposure, where the fingerprint acquisition instruction may be triggered when the display screen receives a touch operation, and the touch operation includes a fingerprint unlocking operation, a fingerprint payment operation, a fingerprint entry operation, and the like, which is not limited in this embodiment.
In the embodiment of the application, the terminal does not control the image sensor to perform single long-time exposure, but controls the image sensor to perform continuous multiple short-time exposures. For example, in the related art, the exposure time of a single exposure performed by the terminal control image sensor is 40ms, whereas in the embodiment of the present application, when the terminal control image sensor performs multiple exposures consecutively, the exposure time of each exposure is 5 ms.
Correspondingly, in the fingerprint image acquisition process, the terminal does not acquire a single fingerprint image, but acquires one fingerprint image after each exposure. Regarding the manner of obtaining the nth fingerprint image after the nth exposure, in a possible implementation manner, the image sensor acquires one fingerprint image after each exposure, and the nth fingerprint image is obtained by overlapping the fingerprint images acquired after the current round (i.e., nth) and the respective exposures before the current round (i.e., 1 st to n-1 st).
It should be noted that the nth fingerprint image is an original fingerprint image collected by the image sensor, i.e. raw data (raw data).
And 302, in response to the fact that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, controlling the image sensor to perform exposure for the (n + 1) th time to obtain the (n + 1) th fingerprint image.
And after the nth fingerprint image is obtained, the terminal acquires the nth semaphore of the nth fingerprint image and detects whether the nth semaphore meets the semaphore requirement. The semaphore requirement is preset in the terminal and used for representing the semaphore required to be achieved when the acquired fingerprint image meets the requirement (identification requirement or recording requirement).
In a possible implementation mode, the semaphore requirements in different terminals are set uniformly, and the terminals do not need to be calibrated and set one by one before leaving a factory.
Regarding the specific way of acquiring the nth information quantity, in a possible implementation manner, the under-screen fingerprint module determines the nth signal quantity of the nth fingerprint image based on the gray scale value (used for representing the brightness and darkness degree of the brightness, and may also be referred to as gray scale or color scale) of each pixel point in the nth fingerprint image, and outputs the nth signal quantity to the terminal.
When the exposure time of the image sensor is insufficient, the nth semaphore does not meet the semaphore requirement, in order to further improve the semaphore of the fingerprint image, the terminal controls the image sensor to carry out the next exposure, so that an n +1 th fingerprint image is obtained, and correspondingly, the semaphore of the n +1 th fingerprint image is the nth +1 th semaphore.
The process of controlling the image sensor to perform the (n + 1) th exposure is similar to the process of performing the nth exposure, and is not described herein again.
Because the (n + 1) th fingerprint image is a fingerprint image acquired through n +1 times of exposure, namely, the fingerprint image is generated on the basis of the (n) th fingerprint image, the signal quantity of the (n + 1) th fingerprint image is greater than that of the (n) th fingerprint image, namely, the signal quantity of the fingerprint image is continuously improved along with the continuous increase of the exposure times.
Step 303, in response to the nth semaphore of the nth fingerprint image satisfying the semaphore requirement, determining the nth fingerprint image as the target fingerprint image.
When the exposure time of the image sensor is sufficient, the nth semaphore meets the semaphore requirement, in order to avoid overexposure of the fingerprint image caused by continuous exposure, the terminal controls the image sensor to stop exposure, and the nth fingerprint image is determined as the target fingerprint image.
In one possible implementation mode, when the under-screen fingerprint collection is triggered in a fingerprint input scene, the terminal takes a target fingerprint image as a fingerprint template and stores the fingerprint template; when fingerprint collection under a trigger screen is carried out in a fingerprint identification scene, a terminal matches a target fingerprint image with a fingerprint template so as to obtain a fingerprint identification result, and then follow-up processes such as fingerprint payment and fingerprint unlocking are executed based on the fingerprint identification result.
By adopting the scheme provided by the embodiment of the application, the terminal does not control the image sensor to acquire the fingerprint image by taking the exposure time as the standard any more, but controls the image sensor to acquire the fingerprint image by taking the semaphore as the standard, so that the exposure time of the image sensor is adaptively adjusted under different conditions, and the acquisition quality of the fingerprint image is ensured.
It should be noted that, since the exposure time of the image sensor is different in different situations, the terminal needs to control the light source to be turned on based on the total exposure time of the image sensor. For example, in the continuous exposure and image collection process, the terminal controls the light emitting diodes in the display area corresponding to the finger print module under the screen in the OLED display screen to be in a lighting state, and closes the light emitting diodes in the display area after the exposure and image collection are completed.
In a possible application scene, for a terminal configured with an OLED display screen and a fingerprint module under the screen, at the initial stage of use, the screen brightness is high and no protective film is attached, at the moment, after the terminal controls an image sensor to perform 4 exposures, the signal quantity of an acquired fingerprint image meets the signal quantity requirement, and the acquisition time length of the fingerprint image is 4 exposure time lengths.
After a user pastes a protective film on a terminal screen, the transmittance of the whole screen is reduced, so that after the terminal controls the image sensor to perform 5 times of exposure, the signal quantity of the acquired fingerprint image can meet the signal quantity requirement, and the acquisition time of the fingerprint image is 5 times of exposure time.
With the increase of the service time of the terminal, due to the reduction of the screen brightness, after the terminal controls the image sensor to perform 6 times of exposure, the signal quantity of the acquired fingerprint image can meet the signal quantity requirement, and the acquisition time of the fingerprint image is 6 times of exposure time.
In summary, in the embodiment of the application, the terminal performs continuous exposure by controlling the image sensor of the fingerprint module under the screen, determines whether the fingerprint image meets the information quantity requirement based on the information quantity of the fingerprint image acquired after each exposure, and continues to control the image sensor to perform exposure under the condition that the information quantity requirement is not met until the exposure is stopped when the information quantity requirement is met; the terminal adopts and obtains the fingerprint image when dynamic exposure is long, need not to set up when leaving the factory when fixed exposure is long, and can avoid setting up under the long condition of fixed exposure, because of the problem that facula luminance, external environment, screen transmissivity and protection film transmissivity change lead to fingerprint image to gather the quality and descend, helps improving the collection quality of fingerprint image, and then improves the follow-up rate of accuracy that utilizes fingerprint image to carry out fingerprint identification.
Regarding the specific manner of determining whether the semaphore requirement is met, in a possible implementation manner, a target semaphore corresponding to the fingerprint image is preset in the terminal, and accordingly, after the nth fingerprint image is obtained, the terminal determines whether the nth semaphore meets the semaphore requirement based on the nth semaphore and the target semaphore.
In some embodiments, the target semaphore may adopt different setting forms, for example, the target semaphore may be a single value, or may be a value interval composed of two values, and accordingly, for the target semaphore of different setting forms, there is also a difference in the manner in which the terminal determines whether the semaphore satisfies the semaphore requirement, which is described below with embodiments respectively.
Referring to fig. 4, a flowchart of an off-screen fingerprint acquisition method provided in another exemplary embodiment of the present application is shown, where the present embodiment takes the method applied to the terminal shown in fig. 1 as an example for description, and the method includes:
step 401, controlling an image sensor of the fingerprint module under the screen to perform nth exposure to obtain an nth fingerprint image, where the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer.
The step 301 may be referred to in the implementation manner of this step, and this embodiment is not described herein again.
In step 402, the absolute value of the semaphore difference between the nth semaphore and the first target semaphore is determined.
The terminal is preset with a first target semaphore, the first target semaphore is obtained by analyzing semaphores corresponding to a large number of standard fingerprint images, and the standard fingerprint images are fingerprint images with identification accuracy meeting accuracy requirements (such as more than 95%). For example, the first target semaphore is set to 1800.
Optionally, the first target semaphore set in different terminals is the same.
In a possible implementation manner, when the semaphore of the actual fingerprint image is slightly smaller than or slightly larger than the first target semaphore, the fingerprint image is considered to meet the semaphore requirement, and therefore in this embodiment, after the terminal acquires the nth semaphore of the nth fingerprint image, the absolute value of the semaphore difference between the nth semaphore and the first target semaphore is calculated, and whether the absolute value of the semaphore difference is larger than the threshold value is detected. If the semaphore difference is greater than or equal to the difference threshold, the terminal performs steps 403 to 404, and if the absolute value of the semaphore difference is less than the difference threshold, the terminal performs steps 405 to 406.
In one illustrative example, W is a first target semaphore, BnFor the nth semaphore, the absolute value of the semaphore difference is | W-BnI, when I W-BnWhen | is equal to or more than 100, the terminal executes the steps 403 to 404 when | W-BnIf | is less than 100, the terminal performs steps 405 to 406.
In response to the absolute value of the semaphore difference being greater than or equal to the difference threshold, it is determined that the nth semaphore does not meet the semaphore requirement, step 403.
When the fingerprint image is acquired by adopting a continuous multi-exposure mode, the total exposure time of the image sensor at the initial stage of continuous exposure is shorter, so that the semaphore of the fingerprint image is smaller and smaller than the first target semaphore, correspondingly, the absolute value of the semaphore difference between the semaphore of the fingerprint image and the first target semaphore is larger than the difference threshold, and the terminal determines that the semaphore requirement is not met.
And step 404, in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, controlling the image sensor to perform exposure for the (n + 1) th time to obtain the (n + 1) th fingerprint image.
The step 302 may be referred to in the implementation manner of this step, and this embodiment is not described herein again.
Schematically, as shown in fig. 5, the terminal controls the image sensor in the fingerprint module under the screen to perform the first exposure, the first semaphore for obtaining the first fingerprint image is 900, and when the first target semaphore value is 1800, since the absolute value of the semaphore difference between the two is 900 > 100 (the difference threshold), the terminal determines that the semaphore requirement is not met, and performs the second exposure.
Since the second semaphore of the second fingerprint image obtained after the second exposure is 1100 and the absolute value of the semaphore difference between the second semaphore image and the first target semaphore value is 700 & gt 100, the terminal determines that the semaphore requirement still cannot be met, and the third exposure is carried out.
Since the third semaphore of the third fingerprint image obtained after the third exposure is 1350 and the absolute value of the semaphore difference from the first target semaphore value is 450 > 100, the terminal determines that the semaphore requirement still cannot be met, and performs the fourth exposure.
Step 405, in response to the absolute value of the semaphore difference being less than the difference threshold, determines that the nth semaphore satisfies the semaphore requirement.
With the continuous increase of the continuous exposure times, the total exposure time of the image sensor gradually increases, the semaphore of the fingerprint image gradually increases, and correspondingly, the absolute value of the semaphore difference between the semaphore of the fingerprint image and the first target semaphore gradually decreases (the semaphore of the fingerprint image gradually approaches the first target semaphore or even is slightly larger than the first target semaphore). And when the absolute value of the semaphore difference is smaller than the difference threshold, the terminal determines that the semaphore requirement is met.
And step 406, in response to that the nth semaphore of the nth fingerprint image meets the semaphore requirement, determining the nth fingerprint image as the target fingerprint image.
The step 303 may be referred to in the implementation manner of this step, and this embodiment is not described herein again.
Illustratively, as shown in fig. 5, since the fourth semaphore of the fourth fingerprint image obtained after the fourth exposure is 1760 and the absolute value of the semaphore difference from the first target semaphore is 40 < 100, the terminal determines that the semaphore requirement is met, thereby controlling the image sensor to stop exposure and determining the fourth fingerprint image as the target fingerprint image.
In another possible embodiment, a second target semaphore and a third target semaphore are set in the terminal, and the second target semaphore and the third target semaphore form a target semaphore interval. The terminal determines whether the semaphore requirement is met by detecting whether the semaphore of the fingerprint image belongs to the target semaphore region interval.
Optionally, in response to that the nth semaphore does not belong to the target semaphore interval, the terminal determines that the nth semaphore does not meet the semaphore requirement; in response to the nth semaphore belonging to the target semaphore interval, the terminal determines that the nth semaphore satisfies the semaphore requirement.
In some embodiments, the second target semaphore is less than the third target semaphore, and the terminal compares the magnitude relationship of the nth semaphore to the second target semaphore and compares the magnitude relationship of the nth semaphore to the third target semaphore. And if the nth semaphore is greater than or equal to the second target semaphore and the nth semaphore is less than or equal to the third target semaphore, determining that the semaphore requirement is met. And if the nth semaphore is smaller than the second target semaphore or the nth semaphore is larger than the third target semaphore, determining that the semaphore requirement is not met.
In an illustrative example, the second target semaphore is 1700, the third target semaphore is 2000, and as shown in fig. 5, the terminal determines that the semaphore requirement is not satisfied because the semaphores of the fingerprint images captured by the first through third exposures are outside [1700,2000 ]; and the semaphore for the fingerprint image acquired by the fourth exposure is within 1700,2000, so the terminal determines that the semaphore requirement is met.
By adopting the scheme provided by the embodiment, the terminal only needs to preset uniform target signal quantity before leaving the factory, and exposure duration does not need to be calculated and set one by one according to parameters such as screen transmittance, light source brightness and the like of the terminal, so that the calibration process is omitted, and the fingerprint image acquisition without calibration is realized.
Regarding the exposure duration of each exposure in the process of acquiring the fingerprint under the screen, in a possible implementation manner, the terminal adopts a uniform exposure duration each time the image sensor is controlled to be exposed.
Optionally, the terminal controls the image sensor to perform nth exposure based on the first exposure duration to obtain an nth fingerprint image, wherein the exposure duration of each exposure of the image sensor is the first exposure duration.
The first exposure duration and the target semaphore can be preset in the terminal together, and when the fingerprint image is collected, the terminal reads the first exposure duration and the target semaphore.
Illustratively, as shown in fig. 5, the first exposure time is 5ms, and when the semaphore of the fingerprint image does not meet the semaphore requirement, the terminal controls the image sensor to expose for 5ms and acquire a newly acquired fingerprint image. Of course, the first exposure time period may also adopt other values, which is not limited in this embodiment.
In practical application scenarios, the acquisition quality of the under-screen fingerprint image may also be affected by external environmental factors. For example, in a strong light environment, ambient light may be collected by the image sensor through the screen, and the problem of overexposure of the fingerprint image may be caused by collecting too much ambient light. In order to further improve the acquisition quality of the fingerprint image, in one possible implementation, the terminal may adjust the first exposure time based on external environmental factors.
Referring to fig. 6, a flowchart of an off-screen fingerprint acquisition method provided in another exemplary embodiment of the present application is shown, where the present embodiment takes the method applied to the terminal shown in fig. 1 as an example for description, and the method includes:
step 601, responding to a fingerprint acquisition instruction, and acquiring the ambient light brightness.
The ambient light brightness is acquired by an ambient light sensor arranged in the terminal. Optionally, when receiving a touch operation on a fingerprint identification area under a screen in a display screen, the terminal acquires the ambient light brightness collected by the ambient light sensor, where the touch operation includes a fingerprint unlocking operation, a fingerprint payment operation, a fingerprint entry operation, or the like.
Step 602, determining a first exposure time based on the ambient light brightness, wherein the first exposure time is in a negative correlation with the ambient light brightness.
In a possible implementation manner, a correspondence between the ambient light brightness and the exposure time duration is preset in the terminal, and the correspondence may be a correspondence table or a functional relation, which is not limited in this embodiment. Correspondingly, the terminal determines a first exposure time corresponding to the ambient light brightness based on the corresponding relation.
Because the longer the exposure time is, the higher the probability that the image sensor collects the ambient light is, and the higher the ambient light brightness is, the greater the influence on the collection of the fingerprint image is, the first exposure time of each exposure of the image sensor controlled by the terminal is in a negative correlation with the ambient light brightness, that is, the higher the ambient light brightness is, the shorter the first exposure time is, and conversely, the weaker the ambient light brightness is, the longer the first exposure time is.
In an illustrative example, the terminal determines the first exposure time period to be 5ms if the current ambient light brightness is 5000lx, and determines the first exposure time period to be 3ms if the current ambient light brightness is 10000 lx.
Step 603, controlling the image sensor to perform nth exposure based on the first exposure duration to obtain an nth fingerprint image, wherein the exposure duration of each exposure of the image sensor is the first exposure duration.
Further, after the first exposure time is determined based on the ambient light brightness, the terminal adopts the first exposure time every time when the image sensor is controlled to be exposed.
And step 604, in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, controlling the image sensor to perform exposure for the (n + 1) th time to obtain the (n + 1) th fingerprint image.
Step 605, in response to that the nth semaphore of the nth fingerprint image satisfies the semaphore requirement, determining the nth fingerprint image as the target fingerprint image.
In this embodiment, the terminal determines the exposure duration based on the ambient light brightness, and controls the image sensor to perform continuous multiple exposures with the exposure duration, so that on one hand, the implementation process of the dynamic exposure scheme is simplified, on the other hand, the probability of overexposure of the acquired fingerprint image caused by excessive ambient light is reduced, and the acquisition quality and the acquisition success rate of the fingerprint image in a strong light environment are improved.
When the image sensor is controlled to perform continuous exposure based on the first exposure duration, because the first exposure duration is generally set to be shorter duration, the semaphore of the fingerprint image at the early stage of continuous exposure is generally smaller, and the semaphore requirement cannot be met, and accordingly, the significance of semaphore requirement detection performed at the early stage of continuous exposure is not great. Therefore, in order to avoid meaningless semaphore requirement detection, in another possible implementation, the terminal may control the image sensor to adopt, according to the current exposure round, an exposure duration corresponding to the current exposure round (i.e., the exposure durations of not every exposure are the same), so that the exposure duration in the early stage of continuous exposure is greater than the exposure duration in the later stage of continuous exposure, thereby reducing the frequency of semaphore detection in the early stage of continuous exposure.
Referring to fig. 7, a flowchart of an off-screen fingerprint acquisition method provided in another exemplary embodiment of the present application is shown, where the present embodiment takes the method applied to the terminal shown in fig. 1 as an example for description, and the method includes:
step 701, determining a second exposure duration based on the current exposure round, wherein the second exposure duration and the current exposure round are in a negative correlation relationship.
In a possible implementation manner, a corresponding relationship between the exposure round and the exposure duration is preset in the terminal, and the corresponding relationship may be a corresponding relationship table or a functional relationship, which is not limited in this embodiment. Correspondingly, the terminal determines a second exposure duration corresponding to the current exposure round based on the corresponding relation.
In order to reduce the frequency of semaphore detection in the early stage of continuous exposure, the second exposure duration and the current exposure round are in a negative correlation relationship, namely the exposure duration of each exposure in the early stage of continuous exposure is greater than the exposure duration of each exposure in the later stage of continuous exposure.
Optionally, if the current exposure round is the first time, the terminal determines that the second exposure duration is the first numerical value, and if the current exposure round is the mth time, the terminal determines that the second exposure duration is the second numerical value, where the first numerical value is greater than the second numerical value, and m is an integer greater than or equal to 2.
Illustratively, as shown in fig. 8, if the current exposure round is the first time, the terminal determines that the second exposure time period is 15ms, and the terminal determines that the second exposure time period is 5ms when the second exposure is started. It can be seen that, with the scheme provided by this embodiment, the terminal only needs to perform exposure and semaphore detection once in the first 15ms of fingerprint image acquisition, and a continuous exposure scheme with uniform exposure duration (as shown in fig. 5) is adopted, and the terminal needs to perform exposure and semaphore detection three times in the first 15ms of fingerprint image acquisition.
Of course, in addition to using a longer exposure time period in the first round and using a uniform and shorter second exposure time period from the second round, in other possible ways, the terminal may use different exposure time periods in each round, such as 15ms, 10ms, 8ms, 5ms, etc., which is not limited in this embodiment.
Similar to the embodiment shown in fig. 6, in order to reduce the influence of external environmental factors on the fingerprint image collection quality and improve the fingerprint image collection quality, in one possible implementation manner, in response to a fingerprint collection instruction, the terminal acquires the ambient light brightness, and further, when determining the second exposure time based on the current exposure round, the terminal determines the second exposure time based on the ambient light brightness and the current exposure round, wherein the second exposure time is in a negative correlation relationship with the ambient light brightness, that is, the higher the ambient light brightness is, the shorter the second exposure time is, the lower the ambient light brightness is, and the longer the second exposure time is.
In an illustrative example, if the current ambient light brightness is 5000lx, the terminal determines that the adopted exposure time is 20ms when performing the first exposure, and the terminal determines that the adopted exposure time is 5ms from the second exposure; if the current ambient light brightness is 10000lx, the terminal determines that the adopted exposure time is 15ms when performing the first exposure, and the terminal determines that the adopted exposure time is 4ms from the second exposure.
And step 702, controlling the image sensor to perform nth exposure based on the second exposure duration to obtain an nth fingerprint image.
Correspondingly, the terminal controls the image sensor to carry out nth exposure based on the determined second exposure duration to obtain an nth fingerprint image.
And 703, controlling the image sensor to perform exposure for the (n + 1) th time to obtain an (n + 1) th fingerprint image in response to the fact that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement.
It should be noted that, before controlling the image sensor to perform the exposure for the (n + 1) th time, the terminal needs to determine the second exposure time length based on the current exposure round (i.e., the (n + 1) th time), so as to perform the exposure for the (n + 1) th time based on the determined second exposure time length.
Step 704, in response to the nth semaphore of the nth fingerprint image satisfying the semaphore requirement, determining the nth fingerprint image as the target fingerprint image.
In this embodiment, the terminal dynamically determines the exposure duration of the image sensor during this exposure based on the current exposure round, so as to reduce the exposure and semaphore detection frequency in the early stage of continuous exposure, avoid the waste of processing resources caused by early-stage meaningless semaphore detection, and reduce the power consumption of fingerprint acquisition under the screen on the premise of ensuring the fingerprint image acquisition quality. In addition, in the embodiment, the terminal determines the exposure time by combining the ambient light brightness, so that the probability of overexposure of the acquired fingerprint image caused by too strong ambient light is reduced, and the acquisition quality and the acquisition success rate of the fingerprint image in a strong light environment are further improved.
In addition to dynamically determining the exposure duration based on the current exposure round, in other possible embodiments, the terminal may also dynamically determine the exposure duration used in the current exposure round based on the semaphore of the fingerprint image obtained by the previous exposure image. Optionally, the terminal determines a third exposure duration based on an n-1 signal quantity of the n-1 fingerprint image, wherein the third exposure duration and the n-1 signal quantity are in a negative correlation relationship.
Since the semaphore of the fingerprint image gradually increases and gradually approaches the target semaphore as the number of exposures increases, in some embodiments, the terminal determines a third exposure time period based on the semaphore difference between the (n-1) th semaphore and the target semaphore, wherein the third exposure time period has a positive correlation with the semaphore difference, i.e., the smaller the semaphore difference (i.e., the closer the (n-1) th semaphore is to the target semaphore), the shorter the third exposure time period, thereby increasing the acquisition speed of the target fingerprint image; on the contrary, the larger the difference value of the signal quantity is, the larger the third exposure time length is, so that the continuous exposure times and the signal quantity detection frequency are reduced.
Further, the terminal controls the image sensor to perform nth exposure based on the third exposure duration to obtain an nth fingerprint image.
Optionally, the corresponding relationship between the third exposure time and the signal amount difference may be preset in the terminal.
In an illustrative example, in the first exposure, the terminal controls the image sensor to expose for 5ms, and the first semaphore to obtain a first fingerprint image is 900; when the second exposure is carried out, the terminal determines the exposure time of the second exposure to be 15ms (corresponding to the semaphore difference 900) based on the first semaphore 900 and the target semaphore 1800, so as to control the image sensor to be exposed for 10ms, and obtain a second semaphore 1400 of a second fingerprint image; when the third exposure is performed, the terminal determines the exposure duration of the third exposure to be 5ms (corresponding to the semaphore difference 400) based on the second semaphore 1400 and the target semaphore 1800, so as to control the image sensor to expose for 5ms, obtain a third semaphore of a third fingerprint image to be 1850, and further determine the third fingerprint image to be the target fingerprint image.
It should be noted that, when dynamically determining the exposure duration adopted by the current exposure round based on the semaphore of the fingerprint image obtained by the previous exposure image acquisition, the terminal may also perform fine adjustment on the determined exposure duration based on the ambient light brightness, for example, when the ambient light intensity is too high, the determined exposure duration is reduced, which is not described herein again.
In an actual application scene, if the transmittance of the used protective film is poor, or the screen brightness attenuation is too serious, the time consumed for collecting the target fingerprint image is too long, and the use experience of a user is influenced. In order to determine whether the time consumed for acquiring the target fingerprint image is abnormal, after the target fingerprint image is acquired by adopting the scheme provided by each embodiment, the terminal determines the total exposure time length of n exposures and detects whether the total exposure time length is greater than a time length threshold (for example, 40 ms). If the time length is larger than the time length threshold value, determining that the fingerprint image acquisition is abnormal, and displaying prompt information.
Optionally, when each exposure adopts the uniform exposure duration, the total exposure duration is n × a single exposure duration; when the exposure time length adopted by each exposure is dynamically determined and obtained based on the exposure round or the semaphore of the fingerprint image obtained by the last image acquisition, the total exposure time length is the accumulation result of the exposure time length adopted by each exposure.
Optionally, the terminal determines the abnormality cause based on the usage duration and the protective film information (such as the type or model of the protective film), and displays the abnormality cause as prompt information, so that the user can perform abnormality investigation based on the prompt information.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 9, a block diagram of an apparatus for collecting fingerprints under a screen according to an embodiment of the present application is shown. The apparatus may include:
the control module 910 is configured to control an image sensor of the underscreen fingerprint module to perform nth exposure to obtain an nth fingerprint image, where the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer;
the control module 910 is further configured to control the image sensor to perform an exposure for an (n + 1) th time in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, so as to obtain an (n + 1) th fingerprint image;
a first determining module 920, configured to determine the nth fingerprint image as the target fingerprint image in response to the nth semaphore of the nth fingerprint image satisfying a semaphore requirement.
Optionally, the apparatus includes:
and the second determination module is used for determining whether the nth semaphore meets the semaphore requirement or not based on the nth semaphore and a target semaphore, and the target semaphore is preset in the terminal.
Optionally, the target semaphore is a first target semaphore;
the second determining module is configured to:
determining an absolute value of a semaphore difference between the nth semaphore and the first target semaphore;
determining that the nth semaphore satisfies the semaphore requirement in response to the absolute value of the semaphore difference being less than a difference threshold;
determining that the nth semaphore does not meet the semaphore requirement in response to the absolute value of the semaphore difference being greater than or equal to the difference threshold.
Optionally, the target semaphore includes a second target semaphore and a third target semaphore, and the second target semaphore and the third target semaphore constitute a target semaphore interval;
the second determining module is configured to:
in response to the nth semaphore belonging to the target semaphore interval, determining that the nth semaphore satisfies the semaphore requirement;
in response to the nth semaphore not belonging to the target semaphore interval, determining that the nth semaphore does not meet the semaphore requirement.
Optionally, the control module 910 is configured to:
and controlling the image sensor to perform nth exposure based on the first exposure duration to obtain the nth fingerprint image, wherein the exposure duration of each exposure of the image sensor is the first exposure duration.
Optionally, the apparatus further comprises:
the brightness acquisition module is used for responding to a fingerprint acquisition instruction and acquiring the ambient light brightness;
and the third determining module is used for determining the first exposure time length based on the ambient light brightness, and the first exposure time length and the ambient light brightness are in a negative correlation relationship.
Optionally, the control module 910 is configured to:
determining a second exposure duration based on the current exposure round, wherein the second exposure duration and the current exposure round are in a negative correlation relationship;
and controlling the image sensor to perform nth exposure based on the second exposure duration to obtain the nth fingerprint image.
Optionally, the apparatus further comprises:
the brightness acquisition module is used for responding to a fingerprint acquisition instruction and acquiring the ambient light brightness;
the control module 910 is specifically configured to:
and determining a second exposure time based on the environment light brightness and the current exposure round, wherein the second exposure time is in a negative correlation with the environment light brightness.
Optionally, the control module 910 is configured to:
determining a third exposure time length based on the n-1 signal quantity of the n-1 fingerprint image, wherein the third exposure time length and the n-1 signal quantity are in a negative correlation relationship;
and controlling the image sensor to perform nth exposure based on the third exposure duration to obtain the nth fingerprint image.
Optionally, the apparatus further comprises:
the fourth determining module is used for determining the total exposure time of the n-time exposure;
and the prompting module is used for responding to the fact that the total exposure time is greater than a time threshold value, and displaying prompting information, wherein the prompting information is used for indicating that the fingerprint collection is abnormal.
In summary, in the embodiment of the application, the terminal performs continuous exposure by controlling the image sensor of the fingerprint module under the screen, determines whether the fingerprint image meets the information quantity requirement based on the information quantity of the fingerprint image acquired after each exposure, and continues to control the image sensor to perform exposure under the condition that the information quantity requirement is not met until the exposure is stopped when the information quantity requirement is met; the terminal adopts and obtains the fingerprint image when dynamic exposure is long, need not to set up when leaving the factory when fixed exposure is long, and can avoid setting up under the long condition of fixed exposure, because of the problem that facula luminance, external environment, screen transmissivity and protection film transmissivity change lead to fingerprint image to gather the quality and descend, helps improving the collection quality of fingerprint image, and then improves the follow-up rate of accuracy that utilizes fingerprint image to carry out fingerprint identification.
The embodiment of the present application further provides a computer-readable storage medium, where at least one program code is stored, and the program code is loaded and executed by a processor to implement the method for acquiring an underscreen fingerprint according to the above embodiments.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the terminal executes the off-screen fingerprint acquisition method provided in the various optional implementation manners of the above aspects.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. The method for acquiring the fingerprint under the screen is characterized by being used for a terminal provided with a fingerprint under the screen module, and comprises the following steps:
controlling an image sensor of the under-screen fingerprint module to perform nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer;
in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, controlling the image sensor to carry out exposure for the (n + 1) th time to obtain an (n + 1) th fingerprint image;
in response to an nth semaphore of the nth fingerprint image satisfying a semaphore requirement, determining the nth fingerprint image as a target fingerprint image.
2. The method according to claim 1, wherein after controlling the image sensor of the underscreen fingerprint module to perform the nth exposure to obtain the nth fingerprint image, the method comprises:
and determining whether the nth semaphore meets the semaphore requirement or not based on the nth semaphore and a target semaphore, wherein the target semaphore is preset in the terminal.
3. The method of claim 2, wherein the target semaphore is a first target semaphore;
the determining whether the nth semaphore satisfies the semaphore requirement based on the nth semaphore and a target semaphore comprises:
determining an absolute value of a semaphore difference between the nth semaphore and the first target semaphore;
determining that the nth semaphore satisfies the semaphore requirement in response to the absolute value of the semaphore difference being less than a difference threshold;
determining that the nth semaphore does not meet the semaphore requirement in response to the absolute value of the semaphore difference being greater than or equal to the difference threshold.
4. The method of claim 2, wherein the target semaphore comprises a second target semaphore and a third target semaphore, and the second target semaphore and the third target semaphore form a target semaphore interval;
the determining whether the nth semaphore satisfies the semaphore requirement based on the nth semaphore and a target semaphore comprises:
in response to the nth semaphore belonging to the target semaphore interval, determining that the nth semaphore satisfies the semaphore requirement;
in response to the nth semaphore not belonging to the target semaphore interval, determining that the nth semaphore does not meet the semaphore requirement.
5. The method according to any one of claims 1 to 4, wherein the controlling the image sensor of the underscreen fingerprint module to perform the nth exposure to obtain the nth fingerprint image comprises:
and controlling the image sensor to perform nth exposure based on the first exposure duration to obtain the nth fingerprint image, wherein the exposure duration of each exposure of the image sensor is the first exposure duration.
6. The method of claim 5, further comprising:
responding to a fingerprint acquisition instruction, and acquiring the ambient light brightness;
and determining the first exposure time based on the environment light brightness, wherein the first exposure time and the environment light brightness are in a negative correlation relationship.
7. The method according to any one of claims 1 to 4, wherein the controlling the image sensor of the underscreen fingerprint module to perform the nth exposure to obtain the nth fingerprint image comprises:
determining a second exposure duration based on the current exposure round, wherein the second exposure duration and the current exposure round are in a negative correlation relationship;
and controlling the image sensor to perform nth exposure based on the second exposure duration to obtain the nth fingerprint image.
8. The method of claim 7, further comprising:
responding to a fingerprint acquisition instruction, and acquiring the ambient light brightness;
the determining a second exposure duration based on the current exposure round includes:
and determining a second exposure time based on the environment light brightness and the current exposure round, wherein the second exposure time is in a negative correlation with the environment light brightness.
9. The method according to any one of claims 1 to 4, wherein the controlling the image sensor of the underscreen fingerprint module to perform the nth exposure to obtain the nth fingerprint image comprises:
determining a third exposure time length based on the n-1 signal quantity of the n-1 fingerprint image, wherein the third exposure time length and the n-1 signal quantity are in a negative correlation relationship;
and controlling the image sensor to perform nth exposure based on the third exposure duration to obtain the nth fingerprint image.
10. The method according to any one of claims 1 to 4, wherein after determining the nth fingerprint image as the target fingerprint image, the method further comprises:
determining the total exposure time of n exposures;
and responding to the fact that the total exposure duration is larger than a duration threshold, and displaying prompt information, wherein the prompt information is used for indicating that the fingerprint collection is abnormal.
11. An underscreen fingerprint acquisition device, the device comprising:
the control module is used for controlling the image sensor of the under-screen fingerprint module to carry out nth exposure to obtain an nth fingerprint image, wherein the nth fingerprint image is a fingerprint image acquired through the nth exposure, and n is a positive integer;
the control module is further used for controlling the image sensor to perform exposure for the (n + 1) th time in response to that the nth semaphore of the nth fingerprint image does not meet the semaphore requirement, so as to obtain an (n + 1) th fingerprint image;
the first determining module is used for responding to that the nth semaphore of the nth fingerprint image meets the semaphore requirement, and determining the nth fingerprint image as the target fingerprint image.
12. A terminal, comprising a processor, a memory and an under-screen fingerprint module, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the under-screen fingerprint acquisition method according to any one of claims 1 to 10.
13. A computer-readable storage medium having at least one program code stored therein, the program code being loaded and executed by a processor to implement the method of acquiring fingerprints as claimed in any one of claims 1 to 10.
CN202110372397.7A 2021-04-07 2021-04-07 Method, device, terminal and storage medium for collecting fingerprint under screen Pending CN112949600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110372397.7A CN112949600A (en) 2021-04-07 2021-04-07 Method, device, terminal and storage medium for collecting fingerprint under screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110372397.7A CN112949600A (en) 2021-04-07 2021-04-07 Method, device, terminal and storage medium for collecting fingerprint under screen

Publications (1)

Publication Number Publication Date
CN112949600A true CN112949600A (en) 2021-06-11

Family

ID=76230899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110372397.7A Pending CN112949600A (en) 2021-04-07 2021-04-07 Method, device, terminal and storage medium for collecting fingerprint under screen

Country Status (1)

Country Link
CN (1) CN112949600A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891012A (en) * 2021-09-17 2022-01-04 北京极豪科技有限公司 Image processing method, device, equipment and storage medium
CN113903060A (en) * 2021-09-17 2022-01-07 北京极豪科技有限公司 Image processing method, device, equipment and storage medium
CN113963385A (en) * 2021-09-30 2022-01-21 北京极豪科技有限公司 Fingerprint image acquisition method and device and electronic equipment
CN114726948A (en) * 2022-03-14 2022-07-08 北京极豪科技有限公司 Image acquisition method and device, electronic equipment and storage medium
CN115620346A (en) * 2021-09-30 2023-01-17 荣耀终端有限公司 Method for acquiring fingerprint under screen and electronic equipment
CN115706751A (en) * 2021-08-09 2023-02-17 北京小米移动软件有限公司 Image acquisition method and device, electronic equipment and storage medium
WO2023240608A1 (en) * 2022-06-17 2023-12-21 北京小米移动软件有限公司 In-display fingerprint recognition method, apparatus, terminal, and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140207517A1 (en) * 2012-12-27 2014-07-24 Panasonic Corporation Information communication method
CN105049664A (en) * 2015-08-12 2015-11-11 杭州思看科技有限公司 Method for light filling control of handheld three-dimensional laser scanner
CN107690653A (en) * 2017-08-18 2018-02-13 深圳市汇顶科技股份有限公司 Obtain the method, apparatus and terminal device of fingerprint image
CN108668090A (en) * 2018-07-03 2018-10-16 赛诺微医疗科技(浙江)有限公司 Optical device and its automatic explosion method
CN110519526A (en) * 2019-09-09 2019-11-29 Oppo广东移动通信有限公司 Exposure time control method, device, storage medium and electronic equipment
CN110945526A (en) * 2019-10-25 2020-03-31 深圳市汇顶科技股份有限公司 Method and device for collecting fingerprint under screen, electronic equipment and storage medium
CN111382406A (en) * 2018-12-29 2020-07-07 北京小米移动软件有限公司 Fingerprint unlocking method and device
CN111476071A (en) * 2019-01-24 2020-07-31 北京小米移动软件有限公司 Fingerprint identification method and device
CN111586311A (en) * 2020-04-30 2020-08-25 深圳阜时科技有限公司 Image acquisition method
CN111601047A (en) * 2020-04-28 2020-08-28 汕头大学 Oil leakage image acquisition method
CN111611881A (en) * 2020-04-30 2020-09-01 深圳阜时科技有限公司 Biological characteristic acquisition device and electronic equipment
CN111783747A (en) * 2020-08-10 2020-10-16 Oppo(重庆)智能科技有限公司 Fingerprint acquisition method and device, storage medium and electronic equipment
CN111917991A (en) * 2019-05-09 2020-11-10 北京京东乾石科技有限公司 Image quality control method, device, equipment and storage medium
CN112149469A (en) * 2019-06-28 2020-12-29 北京小米移动软件有限公司 Fingerprint identification method and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140207517A1 (en) * 2012-12-27 2014-07-24 Panasonic Corporation Information communication method
CN105049664A (en) * 2015-08-12 2015-11-11 杭州思看科技有限公司 Method for light filling control of handheld three-dimensional laser scanner
CN107690653A (en) * 2017-08-18 2018-02-13 深圳市汇顶科技股份有限公司 Obtain the method, apparatus and terminal device of fingerprint image
CN108668090A (en) * 2018-07-03 2018-10-16 赛诺微医疗科技(浙江)有限公司 Optical device and its automatic explosion method
CN111382406A (en) * 2018-12-29 2020-07-07 北京小米移动软件有限公司 Fingerprint unlocking method and device
CN111476071A (en) * 2019-01-24 2020-07-31 北京小米移动软件有限公司 Fingerprint identification method and device
CN111917991A (en) * 2019-05-09 2020-11-10 北京京东乾石科技有限公司 Image quality control method, device, equipment and storage medium
CN112149469A (en) * 2019-06-28 2020-12-29 北京小米移动软件有限公司 Fingerprint identification method and device
CN110519526A (en) * 2019-09-09 2019-11-29 Oppo广东移动通信有限公司 Exposure time control method, device, storage medium and electronic equipment
CN110945526A (en) * 2019-10-25 2020-03-31 深圳市汇顶科技股份有限公司 Method and device for collecting fingerprint under screen, electronic equipment and storage medium
CN111601047A (en) * 2020-04-28 2020-08-28 汕头大学 Oil leakage image acquisition method
CN111586311A (en) * 2020-04-30 2020-08-25 深圳阜时科技有限公司 Image acquisition method
CN111611881A (en) * 2020-04-30 2020-09-01 深圳阜时科技有限公司 Biological characteristic acquisition device and electronic equipment
CN111783747A (en) * 2020-08-10 2020-10-16 Oppo(重庆)智能科技有限公司 Fingerprint acquisition method and device, storage medium and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115706751A (en) * 2021-08-09 2023-02-17 北京小米移动软件有限公司 Image acquisition method and device, electronic equipment and storage medium
CN113891012A (en) * 2021-09-17 2022-01-04 北京极豪科技有限公司 Image processing method, device, equipment and storage medium
CN113903060A (en) * 2021-09-17 2022-01-07 北京极豪科技有限公司 Image processing method, device, equipment and storage medium
CN113891012B (en) * 2021-09-17 2024-05-28 天津极豪科技有限公司 Image processing method, device, equipment and storage medium
CN113963385A (en) * 2021-09-30 2022-01-21 北京极豪科技有限公司 Fingerprint image acquisition method and device and electronic equipment
CN115620346A (en) * 2021-09-30 2023-01-17 荣耀终端有限公司 Method for acquiring fingerprint under screen and electronic equipment
CN115620346B (en) * 2021-09-30 2023-09-19 荣耀终端有限公司 Under-screen fingerprint acquisition method and electronic equipment
CN113963385B (en) * 2021-09-30 2023-09-19 天津极豪科技有限公司 Fingerprint image acquisition method and device and electronic equipment
CN114726948A (en) * 2022-03-14 2022-07-08 北京极豪科技有限公司 Image acquisition method and device, electronic equipment and storage medium
CN114726948B (en) * 2022-03-14 2023-09-22 天津极豪科技有限公司 Image acquisition method and device, electronic equipment and storage medium
WO2023240608A1 (en) * 2022-06-17 2023-12-21 北京小米移动软件有限公司 In-display fingerprint recognition method, apparatus, terminal, and storage medium

Similar Documents

Publication Publication Date Title
CN112949600A (en) Method, device, terminal and storage medium for collecting fingerprint under screen
US10579853B2 (en) Method and apparatus for acquiring fingerprint image and terminal device
CN111486950B (en) Ambient light detection method, ambient light detection device, electronic apparatus, and storage medium
US20200244865A1 (en) Method for capturing images, terminal, and storage medium
CN106782431A (en) A kind of screen backlight brightness adjusting method, device and mobile terminal
US20230379588A1 (en) Parameter Adjustment Method, Display Control Method, Electronic Device, and Medium
CN108566516A (en) Image processing method, device, storage medium and mobile terminal
CN108429888B (en) Light supplementing method and mobile terminal
EP4055812B1 (en) A system for performing ambient light image correction
CN112229507A (en) Ambient light detection method and device, storage medium and mobile terminal
US20200336661A1 (en) Video recording and processing method and electronic device
CN109741281A (en) Image processing method, device, storage medium and terminal
CN110933312B (en) Photographing control method and related product
CN106952611B (en) A kind of grayscale setting method and user terminal
CN113163128A (en) Image exposure method and electronic device
CN109218621A (en) Image processing method, device, storage medium and mobile terminal
CN109348206A (en) Image white balancing treatment method, device, storage medium and mobile terminal
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN109327691A (en) Image capturing method, device, storage medium and mobile terminal
CN118131956A (en) Light spot display method, electronic device and computer readable storage medium
CN114999421A (en) Screen brightness adjusting method and electronic equipment
CN110868533A (en) HDR mode determination method, device, storage medium and terminal
CN108737657B (en) Antenna control method and related product
CN113783999B (en) Method and device for controlling terminal display and computer readable medium
CN114489410A (en) Light spot display method, electronic device and computer readable storage medium

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