CN113297880A - Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium - Google Patents

Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium Download PDF

Info

Publication number
CN113297880A
CN113297880A CN202010111986.5A CN202010111986A CN113297880A CN 113297880 A CN113297880 A CN 113297880A CN 202010111986 A CN202010111986 A CN 202010111986A CN 113297880 A CN113297880 A CN 113297880A
Authority
CN
China
Prior art keywords
brightness value
parameter
value
target
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
CN202010111986.5A
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 CN202010111986.5A priority Critical patent/CN113297880A/en
Publication of CN113297880A publication Critical patent/CN113297880A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application provides a fingerprint acquisition method, a fingerprint acquisition device, a terminal and a storage medium. The method comprises the following steps: when a fingerprint acquisition instruction is received, acquiring display parameters of a current display picture of a first terminal; determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture; displaying the fingerprint acquisition area with a first brightness value based on the target backlight parameter, and displaying the non-fingerprint acquisition area with a second brightness value based on the target mask parameter; and collecting a fingerprint image in the fingerprint collecting area. In the embodiment of the application, the brightness value of the fingerprint acquisition area can adapt to the gray value change of the display picture of the terminal, that is, when the gray value of the display picture of the terminal changes, the brightness value of the fingerprint acquisition area can always meet the fingerprint acquisition requirement, and the fingerprint identification efficiency is improved.

Description

Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a fingerprint acquisition method, a fingerprint acquisition device, a fingerprint acquisition terminal and a storage medium.
Background
With the development of fingerprint identification technology, optical fingerprint technology is widely applied in mobile terminals. The optical fingerprint technology is a technology for collecting fingerprint images through light rays of screen backlight.
In the optical fingerprint technology, in order to make the acquired fingerprint image clearly visible, a high-intensity backlight needs to be arranged in a fingerprint acquisition area of the terminal, which can cause too high display brightness of a terminal screen and further cause a dazzling problem.
Disclosure of Invention
The embodiment of the application provides a fingerprint acquisition method, a fingerprint acquisition device, a terminal and a storage medium. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a fingerprint acquisition method, where the method includes:
when a fingerprint acquisition instruction is received, acquiring display parameters of a current display picture of a first terminal, wherein the display parameters comprise a display brightness value and an average gray value of the current display picture;
determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture;
displaying a fingerprint acquisition area with a first brightness value based on the target backlight parameter, and displaying a non-fingerprint acquisition area with a second brightness value based on the target mask parameter, wherein the first brightness value is a brightness value required by the fingerprint acquisition area to meet a fingerprint acquisition requirement, and the second brightness value is smaller than the first brightness value;
and collecting a fingerprint image in the fingerprint collecting area.
In a second aspect, an embodiment of the present application provides a fingerprint acquisition apparatus, including:
the system comprises a parameter acquisition module, a parameter display module and a parameter display module, wherein the parameter acquisition module is used for acquiring display parameters of a current display picture of a first terminal when a fingerprint acquisition instruction is received, and the display parameters comprise a display brightness value and an average gray value of the current display picture;
the parameter determining module is used for determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture;
the display module is used for displaying a fingerprint acquisition area according to a first brightness value based on the target backlight parameter and displaying a non-fingerprint acquisition area according to a second brightness value based on the target mask parameter, wherein the first brightness value is a brightness value required by the fingerprint acquisition area to meet the fingerprint acquisition requirement, and the second brightness value is smaller than the first brightness value;
and the image acquisition module is used for acquiring a fingerprint image in the fingerprint acquisition area.
In a third aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the fingerprint acquisition method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the fingerprint acquisition method according to the first aspect.
The technical scheme provided by the embodiment of the application can bring the beneficial effects of at least comprising:
the backlight parameter and the mask parameter during fingerprint acquisition are formulated based on the display brightness value and the average gray value of the current display picture, and the fingerprint acquisition area and the non-fingerprint acquisition area are displayed with different brightness values based on the determined backlight parameter and the determined mask parameter subsequently, so that the brightness value of the fingerprint acquisition area can adapt to the gray value change of the display picture of the terminal, namely, when the gray value of the display picture of the terminal changes, the brightness value of the fingerprint acquisition area can always meet the fingerprint acquisition requirement, and the fingerprint identification efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an interface for fingerprint acquisition shown in an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a fingerprint acquisition method shown in an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a fingerprint acquisition method shown in another exemplary embodiment of the present application;
fig. 4 is a flowchart illustrating a method for obtaining a first correspondence relationship according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram of a fingerprint acquisition device according to an exemplary embodiment of the present application;
fig. 6 is a block diagram of a terminal according to an exemplary 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.
In the related technology, the terminal is provided with a highlight mode, if the terminal needs to perform fingerprint acquisition, the brightness value of a fingerprint acquisition area meets the fingerprint acquisition requirement through the highlight mode, and in addition, the terminal also enables the brightness value of a non-fingerprint acquisition area to be the same as that in the conventional use through setting mask parameters.
In the related art, backlight parameters in a high-brightness mode are fixed, and when the gray value of a display picture of a terminal changes, the brightness value of a fingerprint acquisition area cannot meet the fingerprint acquisition requirement, so that the fingerprint acquisition efficiency is reduced, and even the fingerprint acquisition fails.
Based on this, the embodiment of the application provides a fingerprint acquisition method, a backlight parameter and a mask parameter during fingerprint acquisition are formulated based on a display brightness value and an average gray value of a current display picture, and a fingerprint acquisition area and a non-fingerprint acquisition area are subsequently displayed with different brightness values based on the determined backlight parameter and the determined mask parameter, so that the brightness value of the fingerprint acquisition area can adapt to the gray value change of the display picture of a terminal, that is, when the gray value of the display picture of the terminal changes, the brightness value of the fingerprint acquisition area can always meet the fingerprint acquisition requirement, and the fingerprint identification efficiency is improved.
Referring to fig. 1 in combination, a schematic interface diagram of fingerprint acquisition according to an embodiment of the present application is shown.
In part (a) of fig. 1, the terminal has a display brightness value of n1 and an average gray-scale value of m1 in a currently displayed image, determines a target backlight parameter p1 and a target mask parameter q1 based on n1 and m1, displays a fingerprint collection area at a first brightness value based on p1 and q1, and displays a non-fingerprint collection area at a second brightness value. In part (b) of fig. 1, the terminal has a display brightness value of n2 and an average gray-scale value of m2, determines the target backlight parameter p2 and the target mask parameter q2 based on n2 and m2, displays the fingerprint collection area at a first brightness value based on p2 and q2, and displays the non-fingerprint collection area at a second brightness value. Wherein n1 is different from n2, m1 is different from m2, p1 is different from p2, and q1 is different from q 2.
Referring to fig. 2, a flowchart of a fingerprint acquisition method according to an embodiment of the present application is shown. The method can comprise the following steps:
step 201, when receiving a fingerprint acquisition instruction, acquiring a display parameter of a current display picture of a first terminal.
The fingerprint acquisition instruction is used for triggering acquisition of a fingerprint image. Optionally, the first terminal receives the fingerprint collection signal when receiving the specified operation signal. The above-mentioned specified operation signal may be an operation signal generated by a user pressing on the fingerprint sensor. In the embodiment of the present application, the fingerprint sensor is integrated below the screen of the first terminal, and in addition, the embodiment of the present application does not limit the position where the fingerprint sensor is located.
The current display may be actually determined according to a scene in which the first terminal is located. In a possible implementation manner, the first terminal is in a first fingerprint unlocking scene, the current display screen is a screen locking interface of the first terminal, and the first fingerprint unlocking scene is a scene in which a fingerprint image needs to be acquired and the first terminal is unlocked. In another possible implementation manner, when the first terminal is in a fingerprint payment scene, the current display screen is a payment interface of the first terminal, and the fingerprint payment scene is a scene in which a fingerprint image needs to be acquired to complete payment. In other possible implementation manners, the first terminal is in a second fingerprint unlocking scene, the second fingerprint unlocking scene is a scene in which a designated application program or a designated file in the first terminal needs to be unlocked by acquiring a fingerprint image, and the current display screen may be a desktop interface on which the designated application program is displayed or an interface on which the designated file is displayed.
The display parameters include a display brightness value and an average gray value of a current display picture. The display luminance value refers to a luminance value adapted to the intensity of ambient light. In the embodiment of the present application, the display brightness value may be actually determined according to the ambient light intensity. Specifically, the first terminal stores a corresponding relationship between the ambient light intensity and the display brightness value, and the first terminal may determine the ambient light intensity through the set optical sensor, and then search for the corresponding relationship to obtain the display brightness value of the current display screen of the first terminal.
The gray scale value refers to the color depth of a pixel point in a black-and-white image, and generally ranges from 0 to 255. The white color was 255, and the black color was 0. In the embodiment of the application, the first terminal obtains the gray value of each pixel point in the current display picture, and then averages the gray values of the pixel points to obtain the average gray value of the current display picture.
Step 202, determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture.
In the embodiment of the application, the first terminal flexibly formulates the backlight parameter based on the display parameter of the current display picture, so that the brightness value of the fingerprint acquisition area can adapt to the gray value change of the display picture of the terminal, that is, when the gray value of the display picture of the terminal changes, the brightness value of the fingerprint acquisition area can always meet the fingerprint acquisition requirement. In addition, mask parameters are flexibly set, so that the dazzling problem cannot occur in a non-fingerprint acquisition area.
Optionally, step 202 may be implemented as:
in step 202a, a target gray value is determined based on the average gray value of the current display frame.
The target gray value is a gray value which exists in the first corresponding relation and has a difference value with the average gray value of the current display picture meeting a first preset condition.
In a possible implementation manner, the first preset condition is that a difference between the target gray-scale value and the average gray-scale value of the current picture is minimum. In another possible implementation manner, the first preset condition is that a difference value between the target gray-scale value and the average gray-scale value of the current display picture is smaller than a first threshold. The first threshold may be set according to actual requirements, which is not limited in the embodiment of the present application.
Step 202b, determining a target brightness value based on the display brightness value.
The target brightness value is a brightness value which exists in the first corresponding relation and has a difference value with the display brightness value according with a second preset condition. In a possible implementation manner, the second preset condition is that a difference between the target brightness value and the display brightness value is minimum. In another possible implementation manner, the second preset condition is that a difference between the target brightness value and the display brightness value is smaller than a second threshold. The second threshold may be set according to actual requirements, which is not limited in the embodiment of the present application.
Step 202c, finding the backlight parameters corresponding to the target gray value and the target brightness value in the first corresponding relationship as target backlight parameters, and finding the mask parameters corresponding to the target gray value and the target brightness value in the first corresponding relationship as target mask parameters.
The first correspondence includes correspondences between different gray values, different luminance values, different backlight parameters, and different mask parameters.
In the embodiment of the present application, the gray-level value and the luminance value corresponding to the backlight parameter have a positive correlation. That is, the higher the gray-scale value of the display screen is, the higher the luminance value corresponding to the required backlight parameter is, and the lower the gray-scale value of the display screen is, the lower the luminance value corresponding to the required backlight parameter is. In addition, in the embodiment of the present application, the gray-level value and the masking degree corresponding to the mask parameter have a negative correlation. That is, the lower the grayscale value of the display screen, the higher the masking degree corresponding to the required mask parameter, and the higher the grayscale value of the display screen, the lower the masking degree corresponding to the required mask parameter.
In a specific example, when the display screen of the terminal is dark, the backlight parameter is set to be a1, and the mask parameter is set to be B1, and when the display screen of the terminal is bright, the backlight parameter is set to be a2, and the mask parameter is set to be B2. The gray value of the display image with the dark color is smaller than that of the display image with the bright color, the brightness value corresponding to the backlight parameter A1 is smaller than that corresponding to the backlight parameter A2, and the shielding degree corresponding to the mask parameter B1 is stronger than that corresponding to the mask parameter B2.
In other possible implementation manners, the first terminal stores a second corresponding relationship, the first terminal directly searches the backlight parameters corresponding to the display brightness value and the average gray value in the second corresponding relationship to serve as target backlight parameters, and the mask parameters corresponding to the display brightness value and the average gray value serve as target mask parameters. The second correspondence includes correspondence between different gray values, different luminance values, different backlight parameters, and different mask parameters.
Compared with the second corresponding relation, the first corresponding relation is sparser among the gray values and sparser among the brightness values, so that the first corresponding relation is easier to obtain.
Step 203, displaying the fingerprint collection area with a first brightness value based on the target backlight parameter, and displaying the non-fingerprint collection area with a second brightness value based on the target mask parameter.
The fingerprint collection area refers to an area for collecting a fingerprint image. In one possible implementation, the fingerprint collection area is located at a preset position in a screen of the first terminal. In another possible implementation manner, the fingerprint acquisition area may be actually determined according to the trigger position corresponding to the fingerprint acquisition instruction. The size of the fingerprint acquisition area is smaller than the size of the screen of the first terminal.
The non-fingerprint collection area refers to an area other than the fingerprint collection area in the display area of the first terminal. The first brightness value is the brightness value required for the fingerprint acquisition area to meet the fingerprint acquisition requirement. The second luminance value is smaller than the first luminance value.
In this application embodiment, after the terminal determined backlight parameter and mask parameter, displayed fingerprint collection region and non-fingerprint collection region respectively with different brightness values according to above-mentioned two parameters for the regional brightness value of fingerprint collection can satisfy the fingerprint collection demand all the time, and the dazzling problem can not appear in non-fingerprint collection region.
And step 204, collecting a fingerprint image in the fingerprint collection area.
After the terminal reaches the fingerprint collection requirement at the luminance value in fingerprint collection area, gather the fingerprint image in fingerprint collection area, can be so that the fingerprint image of gathering more complete, clear.
Optionally, when the acquired fingerprint image is successfully matched with the pre-stored fingerprint image, the first terminal is controlled to display the fingerprint acquisition area and the non-fingerprint acquisition area at a third brightness value. The third luminance value is smaller than the first luminance value. The third brightness value and the second brightness value may be the same or different. When the matching is completed, the first terminal does not need to perform fingerprint acquisition, and the brightness can be readjusted at the moment, so that the dazzling problem is avoided, and the power consumption of the terminal can be saved.
To sum up, the technical scheme provided by the embodiment of the application formulates the backlight parameter and the mask parameter when the fingerprint is collected through the display brightness value and the average gray value based on the current display picture, and subsequently displays the fingerprint collection area and the non-fingerprint collection area with different brightness values based on the determined backlight parameter and the mask parameter, so that the brightness value of the fingerprint collection area can adapt to the gray value change of the display picture of the terminal, that is, when the gray value of the display picture of the terminal is changed, the brightness value of the fingerprint collection area can always meet the fingerprint collection requirement, and the fingerprint identification efficiency is improved.
In a specific example, the fingerprint acquisition method may include the steps of:
step 301, receiving a pressing operation signal acting on the screen of the first terminal, and waking up the fingerprint sensor according to the pressing operation signal.
Step 302, determining a display brightness value according to the ambient light intensity, and determining a target mask parameter and a target backlight parameter based on the display brightness value and the screen background data (i.e. the average gray value of the current display image).
And 303, displaying based on the target mask parameters and the target backlight parameters.
And 304, collecting fingerprint images through a fingerprint sensor and matching.
In the above embodiment, it is introduced that the first terminal determines the mask parameter and the backlight parameter corresponding to the display brightness value and the average gray-scale value of the current display picture based on the first corresponding relationship. The acquisition process of the first correspondence relationship is explained below.
In an optional embodiment provided based on the embodiment shown in fig. 2, referring to fig. 4, the process of acquiring the first corresponding relationship may include the following steps:
step 401, acquiring n sample images.
In the embodiment of the present application, the sample image is a pure color image, that is, the gray values of the pixel points in the sample image are the same. The average gray values of the n sample images are different from each other, and n is an integer greater than 1. It should be noted that the value of n can be actually set by the terminal according to the range of the gray scale values. Illustratively, n has a value of 256.
And 402, controlling the second terminal to display the ith sample image in m brightness values for the ith sample image in the n sample images, wherein i is a positive integer less than or equal to n.
The m kinds of brightness values are different from each other, and m is an integer greater than 1. It should be noted that the value of m can be actually set by the terminal according to the range of the brightness value. Illustratively, m has a value of 100.
The second terminal may be the same terminal as the first terminal or may be a different terminal.
Step 403, when the second terminal displays the ith sample image with the kth brightness value of the m brightness values, adjusting the backlight parameter and the mask parameter until the brightness value of the fingerprint acquisition area in the second terminal reaches the first brightness value, where k is a positive integer less than or equal to m.
In the embodiment of the application, for each brightness value of each sample image, the terminal firstly adjusts the backlight parameter until the adjusted backlight parameter enables the brightness value of the fingerprint acquisition area of the second terminal to meet the fingerprint acquisition requirement, then adjusts the mask parameter until the brightness value of the non-fingerprint acquisition area meets the display requirement, and when the brightness value of the fingerprint acquisition area meets the display requirement, the dazzling problem can not occur.
And step 404, correspondingly storing the average gray value of the ith image, the kth brightness value, the adjusted backlight parameter and the adjusted mask parameter to obtain a first corresponding relation.
After the adjustment is finished, the second terminal correspondingly stores the average gray value of the ith image, the kth brightness value, the adjusted backlight parameter and the adjusted mask parameter to obtain a first corresponding relation.
To sum up, in the technical solution provided in the embodiment of the present application, for sample images displaying different gray values with different brightness values, the backlight parameter and the mask parameter are adjusted until the brightness value of the fingerprint acquisition area meets the fingerprint acquisition requirement, and the gray value, the brightness value, the adjusted backlight parameter, and the adjusted mask parameter are stored correspondingly to obtain a first corresponding relationship, the subsequent terminal can formulate the backlight parameter and the mask parameter during fingerprint acquisition according to the first corresponding relationship, and display the fingerprint acquisition area and the non-fingerprint acquisition area with different brightness values based on the determined backlight parameter and the mask parameter, so that the brightness value of the fingerprint acquisition area can adapt to the gray value change of the display image of the terminal, that is, when the gray value of the display image of the terminal changes, the brightness value of the fingerprint acquisition area can always meet the fingerprint acquisition requirement, and fingerprint identification efficiency is improved.
In the following, embodiments of the apparatus of the present application are described, and for portions of the embodiments of the apparatus not described in detail, reference may be made to technical details disclosed in the above-mentioned method embodiments.
Referring to fig. 5, a block diagram of a fingerprint acquisition device provided in an exemplary embodiment of the present application is shown. The fingerprint acquisition device can be realized by software, hardware or a combination of the software and the hardware to form all or part of the terminal. This fingerprint collection device includes:
the parameter obtaining module 501 is configured to, when a fingerprint acquisition instruction is received, obtain a display parameter of a current display image of the first terminal, where the display parameter includes a display brightness value and an average gray value of the current display image.
A parameter determining module 502, configured to determine a target backlight parameter and a target mask parameter based on the display parameter of the current display screen.
The display module 503 is configured to display the fingerprint collection area with a first brightness value based on the target backlight parameter, and display the non-fingerprint collection area with a second brightness value based on the target mask parameter, where the first brightness value is a brightness value that the fingerprint collection area needs to meet a fingerprint collection requirement, and the second brightness value is smaller than the first brightness value.
An image collecting module 504, configured to collect a fingerprint image in the fingerprint collecting area.
To sum up, the technical scheme provided by the embodiment of the application formulates the backlight parameter and the mask parameter when the fingerprint is collected through the display brightness value and the average gray value based on the current display picture, and subsequently displays the fingerprint collection area and the non-fingerprint collection area with different brightness values based on the determined backlight parameter and the mask parameter, so that the brightness value of the fingerprint collection area can adapt to the gray value change of the display picture of the terminal, that is, when the gray value of the display picture of the terminal is changed, the brightness value of the fingerprint collection area can always meet the fingerprint collection requirement, and the fingerprint identification efficiency is improved.
In an optional embodiment provided based on the embodiment shown in fig. 5, the parameter determining module 502 is configured to:
determining a target gray value based on the average gray value of the current display picture, wherein the target gray value is a gray value which exists in a first corresponding relation and has a difference value with the average gray value of the current display picture meeting a first preset condition;
determining a target brightness value based on the display brightness value, wherein the target brightness value is a brightness value which exists in the first corresponding relation and has a difference value with the display brightness value meeting a second preset condition;
searching backlight parameters corresponding to the target gray value and the target brightness value in a first corresponding relation to serve as the target backlight parameters, and searching mask parameters corresponding to the target gray value and the target brightness value in the first corresponding relation to serve as the target mask parameters;
the first corresponding relation comprises corresponding relations among different gray values, different brightness values, different backlight parameters and different mask parameters.
Optionally, a positive correlation is formed between the gray-level value and the brightness value corresponding to the backlight parameter, and a negative correlation is formed between the gray-level value and the shading degree corresponding to the mask parameter.
Optionally, the first corresponding relationship is obtained by:
acquiring n sample images, wherein the average gray values of the n sample images are different from each other, and n is an integer greater than 1;
for the ith sample image in the n sample images, controlling a second terminal to display the ith sample image with m brightness values, wherein i is a positive integer less than or equal to n, the m brightness values are different from each other, and m is an integer greater than 1;
when the second terminal displays the ith sample image according to the kth brightness value in the m brightness values, adjusting a backlight parameter and a mask parameter until the brightness value of a fingerprint acquisition area in the second terminal reaches the first brightness value, wherein k is a positive integer less than or equal to m;
and correspondingly storing the average gray value of the ith image, the kth brightness value, the adjusted backlight parameter and the adjusted mask parameter to obtain the first corresponding relation.
In an optional embodiment provided based on the embodiment shown in fig. 5, the display module 504 is configured to control the first terminal to display the fingerprint collection area and the non-fingerprint collection area with a third brightness value when the collected fingerprint image is successfully matched with a pre-stored fingerprint image, where the third brightness value is smaller than the first brightness value.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 6, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 610 and a memory 620.
Processor 610 may include one or more processing cores. The processor 610 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and calling data stored in the memory 620. Alternatively, the processor 610 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 610 may integrate one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a single chip.
Optionally, the processor 610, when executing the program instructions in the memory 620, implements the fingerprinting method provided by the various method embodiments described below.
The Memory 620 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 620 includes a non-transitory computer-readable medium. The memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 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, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a camera, etc., and this embodiment does not limit this.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor of a terminal to implement the fingerprint acquisition method in the above method embodiments.
Alternatively, the computer readable storage medium may be a ROM, a RAM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which, when executed, is adapted to implement the fingerprinting method provided in the above-mentioned method embodiments.
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. As used herein, the terms "first," "second," and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A fingerprint acquisition method, the method comprising:
when a fingerprint acquisition instruction is received, acquiring display parameters of a current display picture of a first terminal, wherein the display parameters comprise a display brightness value and an average gray value of the current display picture;
determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture;
displaying a fingerprint acquisition area with a first brightness value based on the target backlight parameter, and displaying a non-fingerprint acquisition area with a second brightness value based on the target mask parameter, wherein the first brightness value is a brightness value required by the fingerprint acquisition area to meet a fingerprint acquisition requirement, and the second brightness value is smaller than the first brightness value;
and collecting a fingerprint image in the fingerprint collecting area.
2. The method of claim 1, wherein determining the target backlight parameter and the target mask parameter based on the display parameter of the current display comprises:
determining a target gray value based on the average gray value of the current display picture, wherein the target gray value is a gray value which exists in a first corresponding relation and has a difference value with the average gray value of the current display picture meeting a first preset condition;
determining a target brightness value based on the display brightness value, wherein the target brightness value is a brightness value which exists in the first corresponding relation and has a difference value with the display brightness value meeting a second preset condition;
searching backlight parameters corresponding to the target gray value and the target brightness value in a first corresponding relation to serve as the target backlight parameters, and searching mask parameters corresponding to the target gray value and the target brightness value in the first corresponding relation to serve as the target mask parameters;
the first corresponding relation comprises corresponding relations among different gray values, different brightness values, different backlight parameters and different mask parameters.
3. The method of claim 2, wherein a gray-level value is positively correlated with a brightness value corresponding to the backlight parameter, and the gray-level value is negatively correlated with a shading degree corresponding to the mask parameter.
4. The method of claim 2, wherein the first correspondence is obtained by:
acquiring n sample images, wherein the average gray values of the n sample images are different from each other, and n is an integer greater than 1;
for the ith sample image in the n sample images, controlling a second terminal to display the ith sample image with m brightness values, wherein i is a positive integer less than or equal to n, the m brightness values are different from each other, and m is an integer greater than 1;
when the second terminal displays the ith sample image according to the kth brightness value in the m brightness values, adjusting a backlight parameter and a mask parameter until the brightness value of a fingerprint acquisition area in the second terminal reaches the first brightness value, wherein k is a positive integer less than or equal to m;
and correspondingly storing the average gray value of the ith image, the kth brightness value, the adjusted backlight parameter and the adjusted mask parameter to obtain the first corresponding relation.
5. The method according to any one of claims 1 to 4, wherein after the step of acquiring the fingerprint image in the fingerprint acquisition area, the method further comprises:
and when the acquired fingerprint image is successfully matched with a pre-stored fingerprint image, controlling the first terminal to display the fingerprint acquisition area and the non-fingerprint acquisition area by a third brightness value, wherein the third brightness value is smaller than the first brightness value.
6. A fingerprint acquisition device, the device comprising:
the system comprises a parameter acquisition module, a parameter display module and a parameter display module, wherein the parameter acquisition module is used for acquiring display parameters of a current display picture of a first terminal when a fingerprint acquisition instruction is received, and the display parameters comprise a display brightness value and an average gray value of the current display picture;
the parameter determining module is used for determining a target backlight parameter and a target mask parameter based on the display parameter of the current display picture;
a display module, configured to display the fingerprint acquisition area with a first brightness value based on the target backlight parameter, and display a non-fingerprint acquisition area with a second brightness value based on the target mask parameter, where the first brightness value is a brightness value that the fingerprint acquisition area needs to meet a fingerprint acquisition requirement, and the second brightness value is smaller than the first brightness value;
and the image acquisition module is used for acquiring a fingerprint image in the fingerprint acquisition area.
7. The apparatus of claim 6, wherein the parameter determination module is configured to:
determining a target gray value based on the average gray value of the current display picture, wherein the target gray value is a gray value which exists in a first corresponding relation and has a difference value with the average gray value of the current display picture meeting a first preset condition;
determining a target brightness value based on the display brightness value, wherein the target brightness value is a brightness value which exists in the first corresponding relation and has a difference value with the display brightness value meeting a second preset condition;
searching backlight parameters corresponding to the target gray value and the target brightness value in a first corresponding relation to serve as the target backlight parameters, and searching mask parameters corresponding to the target gray value and the target brightness value in the first corresponding relation to serve as the target mask parameters;
the first corresponding relation comprises corresponding relations among different gray values, different brightness values, different backlight parameters and different mask parameters.
8. The apparatus of claim 7, wherein a gray-level value is positively correlated with a brightness value corresponding to the backlight parameter, and the gray-level value is negatively correlated with a shading degree corresponding to the mask parameter.
9. The apparatus of claim 7, wherein the first correspondence is obtained by:
acquiring n sample images, wherein the average gray values of the n sample images are different from each other, and n is an integer greater than 1;
for the ith sample image in the n sample images, controlling a second terminal to display the ith sample image with m brightness values, wherein i is a positive integer less than or equal to n, the m brightness values are different from each other, and m is an integer greater than 1;
when the second terminal displays the ith sample image according to the kth brightness value in the m brightness values, adjusting a backlight parameter and a mask parameter until the brightness value of a fingerprint acquisition area in the second terminal reaches the first brightness value, wherein k is a positive integer less than or equal to m;
and correspondingly storing the average gray value of the ith image, the kth brightness value, the adjusted backlight parameter and the adjusted mask parameter to obtain the first corresponding relation.
10. The apparatus according to any one of claims 6 to 9, wherein the display module is further configured to control the first terminal to display the fingerprint collection area and the non-fingerprint collection area with a third brightness value when the collected fingerprint image is successfully matched with a pre-stored fingerprint image, and the third brightness value is smaller than the first brightness value.
11. A terminal characterized in that it comprises a processor and a memory, said memory storing at least one instruction which is loaded and executed by said processor to implement the fingerprint acquisition method according to any one of claims 1 to 5.
12. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor to implement the fingerprint acquisition method according to any one of claims 1 to 5.
CN202010111986.5A 2020-02-24 2020-02-24 Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium Pending CN113297880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010111986.5A CN113297880A (en) 2020-02-24 2020-02-24 Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010111986.5A CN113297880A (en) 2020-02-24 2020-02-24 Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113297880A true CN113297880A (en) 2021-08-24

Family

ID=77317831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010111986.5A Pending CN113297880A (en) 2020-02-24 2020-02-24 Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113297880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963385A (en) * 2021-09-30 2022-01-21 北京极豪科技有限公司 Fingerprint image acquisition method and device and electronic equipment
WO2023273844A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Display method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295195A (en) * 2017-07-21 2017-10-24 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107688734A (en) * 2017-08-21 2018-02-13 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107798303A (en) * 2017-10-18 2018-03-13 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen backlight
CN108520241A (en) * 2018-04-11 2018-09-11 深圳市万普拉斯科技有限公司 Fingerprint collecting method, device based on optical finger print technology and user terminal
CN109711255A (en) * 2018-11-26 2019-05-03 Oppo广东移动通信有限公司 Fingerprint collecting method and relevant apparatus
CN110020622A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Fingerprint identification method and Related product
CN110188698A (en) * 2019-05-31 2019-08-30 Oppo广东移动通信有限公司 A kind of method for controlling fingerprint identification, device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295195A (en) * 2017-07-21 2017-10-24 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107688734A (en) * 2017-08-21 2018-02-13 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107798303A (en) * 2017-10-18 2018-03-13 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen backlight
CN108520241A (en) * 2018-04-11 2018-09-11 深圳市万普拉斯科技有限公司 Fingerprint collecting method, device based on optical finger print technology and user terminal
WO2019196909A1 (en) * 2018-04-11 2019-10-17 深圳市万普拉斯科技有限公司 Fingerprint collection method and apparatus based on optical fingerprint technology, and user terminal
CN109711255A (en) * 2018-11-26 2019-05-03 Oppo广东移动通信有限公司 Fingerprint collecting method and relevant apparatus
CN110020622A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Fingerprint identification method and Related product
CN110188698A (en) * 2019-05-31 2019-08-30 Oppo广东移动通信有限公司 A kind of method for controlling fingerprint identification, device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273844A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Display method and electronic device
CN113963385A (en) * 2021-09-30 2022-01-21 北京极豪科技有限公司 Fingerprint image acquisition method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111402135B (en) Image processing method, device, electronic equipment and computer readable storage medium
CN108090405B (en) Face recognition method and terminal
KR100556856B1 (en) Screen control method and apparatus in mobile telecommunication terminal equipment
US11431915B2 (en) Image acquisition method, electronic device, and non-transitory computer readable storage medium
US8174611B2 (en) Digital image segmentation using flash
CN112102386A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN104883504B (en) Open the method and device of high dynamic range HDR functions on intelligent terminal
CN111614892B (en) Face image acquisition method, shooting device and computer-readable storage medium
CN107690804B (en) Image processing method and user terminal
WO2022160895A1 (en) Image processing method, image processing apparatus, electronic system and readable storage medium
US11678180B2 (en) Iris recognition workflow
CN112672069B (en) Exposure method and apparatus
CN113297880A (en) Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium
CN113191327A (en) Biological characteristic collection method, chip and computer readable storage medium
CN113408380B (en) Video image adjustment method, device and storage medium
CN111901519B (en) Screen light supplement method and device and electronic equipment
CN112926367B (en) Living body detection equipment and method
CN110826376B (en) Marker identification method and device, terminal equipment and storage medium
CN108805883B (en) Image segmentation method, image segmentation device and electronic equipment
US20060104506A1 (en) Apparatus for processing an image and for character recognition in a mobile communication terminal, and method thereof
CN109672829A (en) Method of adjustment, device, storage medium and the terminal of brightness of image
CN111856759B (en) Lens parameter adjusting method and device
CN113538462A (en) Image processing method and device, computer readable storage medium and electronic device
CN111970501A (en) Pure color scene AE color processing method and device, electronic equipment and storage medium
WO2022246666A1 (en) Biometric collection method and chip, 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