CN108664929B - Fingerprint acquisition method and terminal - Google Patents

Fingerprint acquisition method and terminal Download PDF

Info

Publication number
CN108664929B
CN108664929B CN201810445124.9A CN201810445124A CN108664929B CN 108664929 B CN108664929 B CN 108664929B CN 201810445124 A CN201810445124 A CN 201810445124A CN 108664929 B CN108664929 B CN 108664929B
Authority
CN
China
Prior art keywords
fingerprint
preset
target
area
acquisition area
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.)
Active
Application number
CN201810445124.9A
Other languages
Chinese (zh)
Other versions
CN108664929A (en
Inventor
熊年登
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810445124.9A priority Critical patent/CN108664929B/en
Publication of CN108664929A publication Critical patent/CN108664929A/en
Application granted granted Critical
Publication of CN108664929B publication Critical patent/CN108664929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • 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/1347Preprocessing; Feature extraction

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Collating Specific Patterns (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a fingerprint acquisition method and a terminal, relates to the technical field of terminals, and aims to solve the problem of high power consumption in the process of fingerprint identification by the terminal. The method comprises the following steps: under the condition that a preset fingerprint acquisition area on a display screen of a terminal detects a target operation, determining a target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area, wherein the target fingerprint acquisition area meets a first condition; collecting a fingerprint corresponding to a target operation in a target fingerprint collection area; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.

Description

Fingerprint acquisition method and terminal
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a fingerprint acquisition method and a terminal.
Background
With the development of terminal technology, the application of fingerprint identification technology in terminals is increasing.
Generally, when a terminal identifies a fingerprint by using an optical fingerprint identification technology under a screen, firstly, the terminal detects that a finger of a user touches a fingerprint identification area; then the terminal can display a highlight picture in a fingerprint identification area on a display screen to provide a light source for fingerprint acquisition; and finally, the terminal collects the fingerprint in the fingerprint identification area.
However, in fingerprint identification, the terminal generally acquires data acquired by the whole fingerprint identification area, the larger the area of the fingerprint identification area on the display screen is, the larger the area of the displayed highlight picture is, and the acquired useful area is only a part of the fingerprint identification area, which results in larger power consumption in the process of identifying the fingerprint by the terminal.
Disclosure of Invention
The embodiment of the invention provides a fingerprint acquisition method and a terminal, and aims to solve the problem of high power consumption in the process of fingerprint identification by the terminal.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a fingerprint acquisition method, where when a preset fingerprint acquisition area on a display screen of a terminal detects a target operation, a target fingerprint acquisition area corresponding to the target operation is determined in the preset fingerprint acquisition area, and the target fingerprint acquisition area meets a first condition; collecting a fingerprint corresponding to the target operation in the target fingerprint collection area; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises a determining module and an acquisition module; the determining module is used for determining a target fingerprint acquisition area corresponding to the target operation in a preset fingerprint acquisition area under the condition that the target operation is detected in the preset fingerprint acquisition area on a display screen of the terminal, wherein the target fingerprint acquisition area meets a first condition; the acquisition module is used for acquiring the fingerprint corresponding to the target operation in the target fingerprint acquisition area determined by the determination module; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the fingerprint acquisition method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the fingerprint acquisition method according to the first aspect.
In the embodiment of the invention, under the condition that a preset fingerprint acquisition area on a display screen of a terminal detects a target operation, the terminal determines a target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area, wherein the target fingerprint acquisition area meets a first condition; collecting a fingerprint corresponding to a target operation in a target fingerprint collection area; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information. Because, because the size information in target fingerprint collection region is the size information of presetting, the positional information in target fingerprint collection region is for presetting positional information, the size of target fingerprint collection region is fixed promptly, consequently the terminal need not to confirm the size of target fingerprint collection region according to user's operation at every turn, and the terminal is according to presetting the regional area of at least one definite target fingerprint collection in size information and the preset positional information less for the regional area of whole fingerprint collection in the terminal, at the fingerprint collection in-process, the terminal only need gather the data in the target fingerprint collection region can, thereby make the terminal consumption when fingerprint identification reduce, user experience has been promoted.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a fingerprint acquisition method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a target fingerprint collection area according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of determining a target fingerprint identification area according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of enlarging the area of an alternative fingerprint acquisition area according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating fingerprint feature points according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a possible structure of a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another possible terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a possible structure of another terminal according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means 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. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the fingerprint acquisition method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention, in fig. 1, the architecture of the android operating system includes 4 layers, which are an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, L inux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of the android operating system and belongs to the lowest layer of a software layer of the android operating system, and the kernel layer provides core system services and hardware-related drivers for the android operating system based on L inux kernels.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the fingerprint acquisition method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the fingerprint acquisition method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the fingerprint acquisition method provided by the embodiment of the invention by running the software program in the android operating system.
The fingerprint acquisition method according to the embodiment of the present invention will be described with reference to fig. 2. Fig. 2 is a schematic flowchart of a fingerprint acquisition method according to an embodiment of the present invention, and as shown in fig. 2, the fingerprint acquisition method includes S201 to S202:
s201, under the condition that a preset fingerprint acquisition area on a display screen of the terminal detects a target operation, the terminal determines a target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area, and the target fingerprint acquisition area meets a first condition.
Wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.
Optionally, the "preset fingerprint acquisition area" in the embodiment of the present invention may be located at any position on the display screen of the terminal, and the position of the preset fingerprint acquisition area in the display screen is not specifically limited in the embodiment of the present invention.
It should be noted that the "preset fingerprint collection area" may also be a collection area on a fingerprint pressing plate in the terminal, and the embodiment of the present invention does not limit the position of the preset fingerprint collection area in the terminal.
It should be noted that the target fingerprint collection area may be an area with any shape, such as a circle, a rectangle (square or rectangle), an ellipse, and other irregular figures, which is not specifically limited in the embodiments of the present invention.
Optionally, the shape of the target fingerprint acquisition area is circular, the preset size information is the radius of the circle, and the preset position information is the relative coordinate of the circle center of the circle and the relative coordinate of any point on the circle edge relative to the circle center.
Optionally, the shape of the target fingerprint acquisition area is a rectangle, the preset size information is length values and width values of sides of the rectangle, and the preset position information is relative coordinates of four vertexes of the rectangle.
It is to be understood that, when the rectangle is a square, the preset size information is a side length of one side of the square.
It should be noted that the target operation may be an input such as a press input, a long press input, a hover input (an input by a user near the touch screen) of the terminal by the user, and this is not particularly limited in the embodiment of the present invention.
S202, the terminal collects fingerprints corresponding to target operation in a target fingerprint collection area.
Optionally, when the terminal adopts an off-screen optical fingerprint identification technology, the terminal only needs to store the highlight picture corresponding to the size of the target fingerprint acquisition area, and after the target fingerprint acquisition area is determined, the corresponding highlight picture is displayed in the area.
It can be understood that the size of the highlight picture is certain, so that the terminal does not need to store a large number of highlight pictures, the processing time of the terminal is shortened when the target fingerprint acquisition area is determined, and the processing complexity can be reduced.
According to the fingerprint acquisition method provided by the embodiment of the invention, under the condition that the target operation is detected in the preset fingerprint acquisition area on the display screen of the terminal, the terminal determines the target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area, and the target fingerprint acquisition area meets the first condition. Wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information. And after the target fingerprint acquisition area is determined, the terminal acquires the fingerprint corresponding to the target operation in the target fingerprint acquisition area. Because the size information in the target fingerprint collection area is preset size information, the position information in the target fingerprint collection area is preset position information, namely the size of the target fingerprint collection area is fixed, the terminal does not need to determine the size of the target fingerprint collection area according to the operation of a user at each time, and the area of the target fingerprint collection area determined by at least one of the preset size information and the preset position information is smaller than the area of the whole fingerprint collection area in the terminal, in the fingerprint collection process, the terminal only needs to collect data in the target fingerprint collection area, so that the power consumption of the terminal in fingerprint identification is reduced, and the user experience is improved.
In a possible implementation manner, S201 in the fingerprint acquisition method provided in the embodiment of the present invention may be specifically implemented by S201a and S201 b:
s201a, the terminal determines the position of the touch area corresponding to the target operation.
Alternatively, the position of the touch area may be determined by a sensor, for example, a pressure sensor or an optical sensor, which is not particularly limited by the embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, the target operation may be an operation of contacting the display screen, for example, pressing the display screen, or an operation of not contacting the display screen, for example, suspending the display screen at a position close to the display screen, which is not specifically limited in this embodiment of the present invention.
S201b, the terminal determines a target fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the target information.
Wherein the target information includes at least one of preset size information and preset position information.
Optionally, the position of the touch area may be determined by a central point of the touch area corresponding to the target operation, so that the target fingerprint acquisition area may be determined in the preset fingerprint acquisition area according to the central point of the touch area and the target information.
It should be noted that the terminal may also determine the position of the touch area through other points in the touch area, for example, multiple points on the edge of the touch area, which is not specifically limited in this embodiment of the present invention.
For example, taking the shape of the target fingerprint collection area as a rectangle and the target information as preset size information as an example, fig. 3 is a schematic diagram of the target fingerprint collection area provided in the embodiment of the present invention, and assuming that the target operation of the user is the pressing operation shown in fig. 3, the center point of the touch area determined by the terminal is point a in fig. 3, and the preset size information is a length value of 3 cm and a width value of 2 cm, and a rectangle A1A2A3a4 is the target fingerprint collection area.
In the above description, only the shape of the target fingerprint collection area is described as a rectangle, but the shape of the target fingerprint collection area is not limited in the embodiment of the present invention, and may be other shapes.
Based on the scheme, the terminal can determine the target fingerprint acquisition area according to the position of the touch area and at least one of the preset size information and the preset position information, and the preset size information and the preset position information are information obtained in advance, so that the terminal does not need to acquire the information every time of identification, the total time of fingerprint identification is saved, and the processing resources of the terminal are saved.
In a possible implementation manner, before a preset fingerprint acquisition area on a display screen of the terminal detects a target operation, the fingerprint acquisition method may further include S203 and S204:
s203, the terminal acquires a position information set of the fingerprint when the user inputs the fingerprint.
The position information set comprises position information of M fingerprint characteristic points, the position information of the M fingerprint characteristic points comprises relative distance between any two adjacent fingerprint characteristic points in the M fingerprint characteristic points, the M fingerprint characteristic points are fingerprint characteristic points located at the edges of fingerprint areas corresponding to fingerprints, and M is a positive integer.
Generally, break points, branch points, turning points, branch points, isolated points, loop points, short streaks, etc. occurring in the pattern of a fingerprint are referred to as fingerprint feature points. According to the individual difference of the user, 50-100 fingerprint feature points exist on one fingerprint, and the number of the fingerprint feature points included in the position information set is not particularly limited in the embodiment of the invention.
It can be understood that, when a user inputs a fingerprint, the terminal may input the fingerprint through the fingerprint acquisition area on the display screen, or may input the fingerprint through the fingerprint acquisition area on the physical key, for example, the fingerprint acquisition area on the rear cover of the terminal or the fingerprint acquisition area on the home key of the terminal.
It can be understood that the fingerprint input by the user may be the fingerprint input by the user when the user purchases the terminal, or the fingerprint input by the user after the user uses the terminal for a period of time.
S204, the terminal determines at least one item of preset size information and preset position information according to the position information set.
It should be noted that the terminal may obtain different types of parameters according to the shape of the target fingerprint acquisition area, and for example, table 1 is a table of parameters corresponding to the preset size information and the preset position information corresponding to several kinds of graphics provided in the embodiment of the present invention. The first conditions for determining the target fingerprint acquisition area according to different shapes are different.
TABLE 1
Figure BDA0001656998660000051
The terminal may determine the area, the shape, and the like of the target fingerprint collection area according to each relative coordinate in the position information.
It should be noted that the above table is only an exemplary illustration, and the preset size information and the preset position information of the target fingerprint acquisition areas corresponding to different shapes are different from each other, and are not listed here.
Exemplarily, fig. 4 is a schematic diagram of determining a target fingerprint identification area according to an embodiment of the present invention, assuming that a user enters a fingerprint in an area as shown in (a) in fig. 4, where the determined preset size information of the entered fingerprint is a circle with a radius R, the determined preset position information is a point with a center F1(X1, Y1) on the display screen, and the coordinates of any point on the circle are (X2, Y2), where (X2-X1) are the radii of the circle; when the center point of the operation region corresponding to the target operation of the user is F2(X3, Y3) on the display screen shown in fig. 4 (b), the terminal determines that the target fingerprint acquisition region is the target fingerprint acquisition region determined by taking F2 as the center of a circle and taking a circular region corresponding to the radius of the circle (X2-X1) as the terminal.
It should be noted that, when the terminal deletes the fingerprint after the current fingerprint collection and re-records the fingerprint, the terminal obtains the location information set of the fingerprint feature points according to the re-recorded fingerprint, and the number and the location of the fingerprint feature points corresponding to the location information set of the fingerprint feature points may be the same or different.
Based on the scheme, the terminal can acquire a position information set of the fingerprint when the fingerprint is input, wherein the position information set comprises position information of M fingerprint feature points, the position information of the M fingerprint feature points comprises a relative distance between any two adjacent fingerprint feature points in the M fingerprint feature points, the M fingerprint feature points are fingerprint feature points located at the edge of a fingerprint area corresponding to the fingerprint, and M is a positive integer, so that at least one of preset size information and preset position information can be determined according to information in the position information set, and a target fingerprint acquisition area can be determined according to at least one of the preset size information and the preset position information when the terminal detects target operation.
In a possible implementation manner, S201b in the fingerprint acquisition method may specifically be implemented by S201b1 and S201b 2:
s201b1, the terminal determines an alternative fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the target information.
It should be noted that, in the embodiment of the present invention, the size of the candidate fingerprint collection area has a corresponding relationship with the edge position of the collected fingerprint feature point.
S201b2, the terminal enlarges the area of the alternative fingerprint acquisition area according to the preset multiple to obtain the target fingerprint acquisition area.
It should be noted that the center point of the target fingerprint collection area obtained in step S201b2 may be located at the same position as the center point of the touch area corresponding to the target operation.
Optionally, S201b in the fingerprint acquisition method may also be implemented through S201b3-S201b 5:
s201b3, the terminal determines the area of the alternative fingerprint acquisition area according to the target information.
It should be noted that, in the embodiment of the present invention, when the graph of the candidate fingerprint acquisition region is a circle or a square (that is, a parameter corresponding to the graph can be determined only according to an area, for example, the parameter is a side length or a radius), the target information may be the area of the candidate fingerprint acquisition region, which is not specifically limited in the embodiment of the present invention.
S201b4, the terminal enlarges the area of the alternative fingerprint acquisition area according to the preset multiple to obtain the area of the target fingerprint acquisition area.
S201b5, the terminal determines a target fingerprint acquisition area in a preset fingerprint acquisition area according to the position of the touch area and the area of the target fingerprint acquisition area.
Specifically, the terminal may use a center point of the touch area as a center point of the target fingerprint collection area.
It is to be understood that the terminal may enlarge the alternative fingerprint acquisition area in different manners of execution. The terminal can pre-store the position information and the size information of the alternative fingerprint acquisition area, and when the terminal detects that the fingerprint needs to be acquired, the terminal determines a target fingerprint acquisition area according to one of the position information and the size information of the alternative fingerprint acquisition area, a preset multiple and a central point; the position information and the size information of the target fingerprint acquisition area determined according to the alternative fingerprint acquisition area and the preset multiple can also be stored in advance; and when the terminal detects that the fingerprint needs to be acquired, determining the position of the target acquisition area on the display screen of the terminal according to the position information and the size information of the target fingerprint acquisition area and the central point.
It should be noted that, in order to enlarge the area of the candidate fingerprint acquisition area, the preset multiple is greater than 1 in the embodiment of the present invention.
For example, fig. 5 is a schematic diagram of enlarging the area of the candidate fingerprint collection area according to the embodiment of the present invention, where a preset target fingerprint collection area is assumed to be square, an intersection C of a straight line L1 and a straight line L2 is assumed to be a central point corresponding to the target operation, a square a1a2a3a4 is the candidate fingerprint collection area determined by the terminal according to S201b1 in the fingerprint collection method, and when the terminal enlarges to 1 time of the candidate fingerprint collection area according to a preset enlargement factor, for example, the side length is enlarged to 2 times of the candidate fingerprint collection area, the terminal enlarges the area of the candidate fingerprint collection area by 2 times of the side of the candidate area by using C as the central point, and the enlarged area b1b2b3b4 is the target fingerprint collection area.
Based on the scheme, the terminal amplifies the area of the alternative fingerprint acquisition region according to the preset multiple, and the obtained target fingerprint acquisition region is larger than the area of the determined alternative fingerprint acquisition region, so that the data acquisition is more accurate during fingerprint acquisition.
In a possible implementation manner, after S203, the fingerprint acquisition method further includes S205 and S206:
s205, the terminal acquires position information of N fingerprint feature points of the fingerprint acquired during fingerprint identification in a preset time period, wherein N is a positive integer.
It should be noted that the preset time period may be a time period with a fixed time length, or may also be a time period according to a certain change rule, for example, the interval time is longer and longer, or the interval times are the same, and this is not specifically limited in the embodiment of the present invention.
And S206, the terminal updates the position information set according to the position information of the N fingerprint feature points.
It should be noted that N may be the same as M or different from M, and usually, in the process of recognizing fingerprints for multiple times in a longer time, the number of determined fingerprint feature points may be increased, decreased, or the same, and this is not specifically limited in the embodiment of the present invention.
Further, in the fingerprint acquisition method, S204 may specifically be executed by S204 a:
s204a, the terminal determines at least one item of preset size information and preset position information according to the updated position information set.
It should be noted that the determining at least one of the preset size information and the preset position information in S204a may also be understood as updating at least one of the preset size information and the preset position information.
It is understood that after S204a, the target fingerprint capturing area corresponding to the target operation may be determined according to the preset size information and the preset position information determined in S204a, so that the determined target fingerprint capturing area can better meet the user' S requirement.
For example, fig. 6 is a schematic diagram of fingerprint feature points provided by an embodiment of the present invention, and assuming that a distribution diagram of fingerprint feature points acquired when a fingerprint is entered into the terminal in (a) in fig. 6 includes 11 fingerprint feature points, and assuming that the preset target fingerprint acquisition area is a rectangular area, the terminal may determine, according to the distribution of fingerprint feature points, size information of the target fingerprint acquisition area as the length and width of the rectangle shown in (a) in fig. 6, for example, the length of W1W2 and the length of W2W 3. Of course, the terminal may also determine preset position information of the target fingerprint acquisition area, where the preset position information may be relative coordinates of each vertex with respect to other vertices. When the terminal uses the registered fingerprint feature points, after a preset time period, the terminal may match the fingerprint feature points acquired each time according to the template of the user using the registered fingerprint, and if it is determined that other fingerprint feature points are also the fingerprint feature points of the user fingerprint through a certain rule, for example, when 3 points filled with black in the fingerprint feature point distribution diagram shown in (b) in fig. 6 are determined as the determined other feature points, the terminal determines preset size information or preset position information of the target fingerprint acquisition area according to the re-determined distribution diagram of the fingerprint feature points, for example, the preset size information is the length and width of a rectangle shown in (b) in fig. 6, for example, the length of V1V2 and the length of V2V3, and the preset position information may be the relative coordinates of each vertex with respect to the other vertices.
Based on the scheme, the terminal can update the position information set according to the position information of the N fingerprint feature points of the fingerprint acquired in the preset time period, so that at least one of the preset size information and the preset position information is updated according to the updated position information set, and the target fingerprint acquisition area can be determined to be closer to the use habit of the user.
It should be noted that the fingerprint acquisition method provided by the embodiment of the present invention may be applied to optical fingerprint acquisition, capacitive fingerprint acquisition, and ultrasonic fingerprint acquisition, and the embodiment of the present invention is not particularly limited to this.
Fig. 7 is a schematic diagram of a possible structure of a terminal according to an embodiment of the present invention, and as shown in fig. 7, the terminal 70 includes a determining module 701 and an acquiring module 702; a determining module 701, configured to determine, in a preset fingerprint acquisition area on a display screen of the terminal 70, a target fingerprint acquisition area corresponding to a target operation when the target operation is detected in the preset fingerprint acquisition area, where the target fingerprint acquisition area meets a first condition; an acquiring module 702, configured to acquire a fingerprint corresponding to the target operation in the target fingerprint acquisition area determined by the determining module 701; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.
Optionally, the determining module 701 is specifically configured to: determining the position of a touch area corresponding to the target operation; and determining a target fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the target information, wherein the target information comprises at least one of preset size information and preset position information.
Optionally, with reference to fig. 7, as shown in fig. 8, the terminal 70 further includes an obtaining module 703; an obtaining module 703, configured to obtain, before a target operation is detected in a preset fingerprint acquisition area on a display screen of the terminal 70, a location information set of a fingerprint when a user enters the fingerprint, where the location information set includes location information of M fingerprint feature points, the location information of the M fingerprint feature points includes a relative distance between any two adjacent fingerprint feature points in the M fingerprint feature points, the M fingerprint feature points are fingerprint feature points located at an edge of a fingerprint area corresponding to the fingerprint, and M is a positive integer; the determining module 701 is further configured to determine at least one of preset size information and preset position information according to the position information set acquired by the acquiring module 703.
Optionally, the determining module 701 is specifically configured to: determining an alternative fingerprint acquisition area in a preset fingerprint acquisition area according to the position of the touch area and the target information; and amplifying the area of the alternative fingerprint acquisition area according to a preset multiple to obtain a target fingerprint acquisition area.
Optionally, in conjunction with fig. 8, as shown in fig. 9, the terminal 70 further includes an updating module 704; the obtaining module 703 is further configured to obtain, after obtaining the position information set of the fingerprint when the user enters the fingerprint, position information of N fingerprint feature points of the fingerprint collected during fingerprint identification within a preset time period, where N is a positive integer; an updating module 704, configured to update a location information set according to the location information of the N fingerprint feature points acquired by the acquiring module 703; the determining module 701 is specifically configured to determine at least one of the preset size information and the preset position information according to the position information set updated by the updating module 704.
Optionally, the target fingerprint acquisition area is circular, the preset size information is the radius of the circle, and the preset position information is the relative coordinate of the circle center of the circle and the relative coordinate of any point on the circle edge relative to the circle center; or the shape of the target fingerprint acquisition area is a rectangle, the preset size information is the length value and the width value of the sides of the rectangle, and the preset position information is the relative coordinates of four vertexes of the rectangle.
The terminal 70 provided in the embodiment of the present invention can implement each process implemented by the terminal in the foregoing method embodiments, and is not described here again to avoid repetition.
Fig. 10 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 10 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to determine, in a preset fingerprint acquisition area on a display screen of the terminal, a target fingerprint acquisition area corresponding to a target operation when the target operation is detected in the preset fingerprint acquisition area, where the target fingerprint acquisition area meets a first condition; the sensor 105 is used for collecting the fingerprint corresponding to the target operation in the target fingerprint collection area; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information.
According to the terminal provided by the embodiment of the invention, under the condition that the target operation is detected in the preset fingerprint acquisition area on the display screen of the terminal, the terminal determines the target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area, and the target fingerprint acquisition area meets the first condition; collecting a fingerprint corresponding to a target operation in a target fingerprint collection area; wherein the first condition comprises at least one of: the size information of the target fingerprint acquisition area is preset size information, and the position information of the target fingerprint acquisition area is preset position information. Because, because the size information in target fingerprint collection region is the size information of presetting, the positional information in target fingerprint collection region is for presetting positional information, the size of target fingerprint collection region is fixed promptly, consequently the terminal need not to confirm the size of target fingerprint collection region according to user's operation at every turn, and the regional area of target fingerprint collection through at least one definite in size information and the preset positional information of presetting is less for the regional area of whole fingerprint collection in the terminal, at the fingerprint collection in-process, the terminal only need gather the data in the target fingerprint collection region can, thereby make the terminal consumption when fingerprint identification reduce, user experience has been promoted.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a terminal, which, with reference to fig. 10, includes a processor 110, a memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, and when the computer program is executed by the processor 110, the computer program implements each process of the foregoing fingerprint acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the fingerprint acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A fingerprint acquisition method, the method comprising:
under the condition that a preset fingerprint acquisition area on a display screen of a terminal detects a target operation, determining a target fingerprint acquisition area corresponding to the position of a touch area of the target operation in the preset fingerprint acquisition area, wherein the size information of the target fingerprint acquisition area is preset size information, and the preset size information is determined according to an input fingerprint;
and collecting the fingerprint corresponding to the target operation in the target fingerprint collection area by taking the highlight picture with the display size as the preset size information as a light source.
2. The method according to claim 1, wherein the determining a target fingerprint acquisition area corresponding to the target operation in the preset fingerprint acquisition area comprises:
determining the position of a touch area corresponding to the target operation;
and determining the target fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the preset size information.
3. The method according to claim 2, wherein before the target operation is detected in a preset fingerprint acquisition area on a display screen of the terminal, the method further comprises:
acquiring a position information set of a fingerprint when a user inputs the fingerprint, wherein the position information set comprises position information of M fingerprint characteristic points, the position information of the M fingerprint characteristic points comprises the relative distance between any two adjacent fingerprint characteristic points in the M fingerprint characteristic points, the M fingerprint characteristic points are fingerprint characteristic points located at the edge of a fingerprint area corresponding to the fingerprint, and M is a positive integer;
and determining the preset size information according to the position information set.
4. The method according to claim 2, wherein the determining the target fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the preset size information comprises:
determining an alternative fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the preset size information;
and amplifying the area of the alternative fingerprint acquisition area according to a preset multiple to obtain the target fingerprint acquisition area.
5. The method of claim 3, wherein after the acquiring the set of location information of the fingerprint when the user entered the fingerprint, the method further comprises:
acquiring position information of N fingerprint characteristic points of a fingerprint acquired during fingerprint identification within a preset time period, wherein N is a positive integer;
updating the position information set according to the position information of the N fingerprint feature points;
the determining the preset size information according to the position information set includes:
and determining the preset size information according to the updated position information set.
6. The method of claim 1,
the shape of the target fingerprint acquisition area is a circle, and the preset size information is the radius of the circle; alternatively, the first and second electrodes may be,
the shape of the target fingerprint acquisition area is a rectangle, and the preset size information is the length value and the width value of the sides of the rectangle.
7. A terminal is characterized by comprising a determining module and an acquisition module;
the determining module is used for determining a target fingerprint acquisition area corresponding to the position of a touch area of a target operation in a preset fingerprint acquisition area under the condition that the preset fingerprint acquisition area on a display screen of the terminal detects the target operation, wherein the size information of the target fingerprint acquisition area is preset size information, and the preset size information is determined according to an input fingerprint;
the acquisition module is used for acquiring the fingerprint corresponding to the target operation in the target fingerprint acquisition area determined by the determination module by taking the highlight picture with the display size as the preset size information as a light source.
8. The terminal of claim 7, wherein the determining module is specifically configured to:
determining the position of a touch area corresponding to the target operation;
and determining the target fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the preset size information.
9. The terminal of claim 8, further comprising an acquisition module;
the acquisition module is used for acquiring a position information set of a fingerprint when a user inputs the fingerprint before a preset fingerprint acquisition area on a display screen of a terminal detects a target operation, wherein the position information set comprises position information of M fingerprint characteristic points, the position information of the M fingerprint characteristic points comprises a relative distance between any two adjacent fingerprint characteristic points in the M fingerprint characteristic points, the M fingerprint characteristic points are fingerprint characteristic points located at the edge of a fingerprint area corresponding to the fingerprint, and M is a positive integer;
the determining module is further configured to determine the preset size information according to the position information set acquired by the acquiring module.
10. The terminal of claim 8, wherein the determining module is specifically configured to:
determining an alternative fingerprint acquisition area in the preset fingerprint acquisition area according to the position of the touch area and the preset size information;
and amplifying the area of the alternative fingerprint acquisition area according to a preset multiple to obtain the target fingerprint acquisition area.
11. The terminal of claim 9, further comprising an update module;
the acquisition module is further used for acquiring position information of N fingerprint feature points of the fingerprint acquired during fingerprint identification within a preset time period after acquiring a position information set of the fingerprint when a user inputs the fingerprint, wherein N is a positive integer;
the updating module is configured to update the location information set according to the location information of the N fingerprint feature points acquired by the acquiring module;
the determining module is specifically configured to determine the preset size information according to the location information set updated by the updating module.
12. The terminal of claim 7,
the shape of the target fingerprint acquisition area is a circle, and the preset size information is the radius of the circle; alternatively, the first and second electrodes may be,
the shape of the target fingerprint acquisition area is a rectangle, and the preset size information is the length value and the width value of the sides of the rectangle.
CN201810445124.9A 2018-05-10 2018-05-10 Fingerprint acquisition method and terminal Active CN108664929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810445124.9A CN108664929B (en) 2018-05-10 2018-05-10 Fingerprint acquisition method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810445124.9A CN108664929B (en) 2018-05-10 2018-05-10 Fingerprint acquisition method and terminal

Publications (2)

Publication Number Publication Date
CN108664929A CN108664929A (en) 2018-10-16
CN108664929B true CN108664929B (en) 2020-08-04

Family

ID=63779178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810445124.9A Active CN108664929B (en) 2018-05-10 2018-05-10 Fingerprint acquisition method and terminal

Country Status (1)

Country Link
CN (1) CN108664929B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188698B (en) * 2019-05-31 2021-05-14 Oppo广东移动通信有限公司 Fingerprint identification control method and device and computer readable storage medium
CN110390261B (en) * 2019-06-13 2022-06-17 北京汽车集团有限公司 Target detection method and device, computer readable storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874846A (en) * 2017-01-03 2017-06-20 上海创功通讯技术有限公司 A kind of fingerprint identification method and identifying device based on terminal screen
CN107563165A (en) * 2017-08-25 2018-01-09 广东欧珀移动通信有限公司 Fingerprint identification method, device, storage medium and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160092718A1 (en) * 2014-07-16 2016-03-31 Eric Dean Jensen Fingerprint sensor
CN107025451B (en) * 2017-04-27 2019-11-08 上海天马微电子有限公司 A kind of display panel and display device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874846A (en) * 2017-01-03 2017-06-20 上海创功通讯技术有限公司 A kind of fingerprint identification method and identifying device based on terminal screen
CN107563165A (en) * 2017-08-25 2018-01-09 广东欧珀移动通信有限公司 Fingerprint identification method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN108664929A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN110062105B (en) Interface display method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN110058754B (en) Option display method and terminal device
CN109871164B (en) Message sending method and terminal equipment
CN109933252B (en) Icon moving method and terminal equipment
CN111142723B (en) Icon moving method and electronic equipment
CN108536509B (en) Application body-splitting method and mobile terminal
CN110752981B (en) Information control method and electronic equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109408072B (en) Application program deleting method and terminal equipment
CN109976611B (en) Terminal device control method and terminal device
CN109901761B (en) Content display method and mobile terminal
CN110231972B (en) Message display method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN110750187A (en) Icon moving method of application program and terminal equipment
CN111352547A (en) Display method and electronic equipment
CN110898424A (en) Display control method and electronic equipment
CN110703972A (en) File control method and electronic equipment
CN110309003B (en) Information prompting method and mobile terminal
CN110944113B (en) Object display method and electronic equipment
CN110058686B (en) Control method and terminal equipment
CN108664929B (en) Fingerprint acquisition method and terminal
CN109117037B (en) Image processing method and terminal equipment
CN108449490B (en) Terminal control method and terminal
CN109327605B (en) Display control method and device and mobile terminal

Legal Events

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