CN109711259B - Fingerprint input method and related equipment - Google Patents

Fingerprint input method and related equipment Download PDF

Info

Publication number
CN109711259B
CN109711259B CN201811429333.0A CN201811429333A CN109711259B CN 109711259 B CN109711259 B CN 109711259B CN 201811429333 A CN201811429333 A CN 201811429333A CN 109711259 B CN109711259 B CN 109711259B
Authority
CN
China
Prior art keywords
fingerprint
area
processor
finger
touch
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
CN201811429333.0A
Other languages
Chinese (zh)
Other versions
CN109711259A (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.)
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 CN201811429333.0A priority Critical patent/CN109711259B/en
Publication of CN109711259A publication Critical patent/CN109711259A/en
Application granted granted Critical
Publication of CN109711259B publication Critical patent/CN109711259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a fingerprint input method and related equipment, which are applied to a mobile terminal comprising a touch screen, a processor and a fingerprint sensor, wherein the touch screen comprises a fingerprint acquisition area, the fingerprint sensor is arranged below the fingerprint acquisition area, and the method comprises the following steps: when the touch operation of a finger on a fingerprint acquisition area is detected, a processor receives a touch signal sent by a TP of a touch screen; determining a touch position of a finger touching the fingerprint acquisition area based on the touch signal; controlling a fingerprint sensor to acquire a signal to obtain a fingerprint image when the touch position is in a preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, wherein the fingerprint acquisition area comprises the preset area; adding the fingerprint image to a fingerprint template library. By adopting the method and the device, the quality of the input fingerprint image can be improved.

Description

Fingerprint input method and related equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a fingerprint entry method and related device.
Background
The principle is gathered to fingerprint under the screen and is utilized the light that the touch screen sent to shine the finger of putting on the touch screen, and the light that the touch screen sent takes place the reflection when reaching the finger, sets up the fingerprint sensor in the touch screen below and receives the light signal of reflection, because the uneven line of fingerprint, the light absorption range is different to obtain the fingerprint image of light and shade difference. When a fingerprint is recorded, the recorded fingerprint image may be affected due to a certain condition (such as downward sliding or pressing deviation of a finger), and then subsequent fingerprint identification is affected.
Disclosure of Invention
The embodiment of the application provides a fingerprint input method and related equipment, which are used for improving the quality of input fingerprint images and further improving the identification rate of subsequent fingerprint identification.
In a first aspect, an embodiment of the present application provides a fingerprint input method, which is applied to a mobile terminal including a touch screen, a processor, and a fingerprint sensor, where the touch screen includes a fingerprint acquisition area, and the fingerprint sensor is disposed below the fingerprint acquisition area, and includes:
when the touch operation of a finger on the fingerprint acquisition area is detected, the processor receives a touch signal sent by the TP of the touch screen;
the processor determines a touch position where the finger touches the fingerprint acquisition area based on the touch signal;
when the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, the processor controls the fingerprint sensor to acquire signals so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area;
the processor adds the fingerprint image to a fingerprint template library.
In a second aspect, an embodiment of the present application provides a device is typeeed to fingerprint, is applied to the mobile terminal including touch-control screen and fingerprint sensor, the touch-control screen includes that the fingerprint gathers regionally, fingerprint sensor locates the regional below of fingerprint collection, the device includes:
the signal acquisition unit is used for receiving a touch signal sent by the TP of the touch screen when the touch operation of a finger on the fingerprint acquisition area is detected;
the determining unit is used for determining the touch position of the finger touching the fingerprint acquisition area based on the touch signal;
the acquisition unit is used for being positioned in the preset area at the touch position, and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area;
and the adding unit is used for adding the fingerprint image into a fingerprint template library.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in the method according to the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, a touch position of a finger touch fingerprint acquisition area is determined based on a touch signal sent by a TP, and when the touch position is in a preset area and a ratio of an area of the touch position to an area of the preset area is greater than or equal to a preset threshold, a signal is acquired by a fingerprint sensor to obtain a fingerprint image, and then the fingerprint image is added to a fingerprint template library. Therefore, the collected fingerprint images are added into the fingerprint template library only when the finger is determined to be pressed to meet certain conditions, so that the fingerprint images with unqualified quality are prevented from being used as fingerprint templates, and the recognition rate of subsequent fingerprint recognition is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
FIG. 1B is a schematic diagram of a position relationship between a fingerprint sensor and a fingerprint collection area according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a fingerprint entry method provided in an embodiment of the present application;
FIG. 3 is a schematic flowchart of another fingerprint entry method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another mobile terminal provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a fingerprint input device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. 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 application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Mobile terminals may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems having wireless communication capabilities, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal), and the like.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure, where the mobile terminal includes a processor 10, a Memory 20, a signal processor 30, a communication interface 40, a touch screen 50, a speaker 60, a microphone 70, a Random Access Memory (RAM) 80, a camera 90, a sensor 100, and the like.
The processor 10 may be an AP processor, or may be another processor.
The memory 20, the signal processor 30, the touch screen 50, the speaker 60, the microphone 70, the RAM80, the camera 80, and the sensor 100 are connected to the processor 10, and the communication interface 40 is connected to the signal processor 30.
The Touch screen 50 includes a display screen and a Touch Panel (TP), and the Touch screen 50 includes a fingerprint collection area. The fingerprint acquisition area is an area in the touch screen, namely a large area with the size capable of being pressed by a plurality of fingers at the same time, and is not a small area capable of being pressed by a single finger. The position of the fingerprint collection area may be a middle area of the touch screen, an upper partial area of the touch screen, a lower partial area of the touch screen, and the like, which is not limited herein.
The sensor 100 includes a fingerprint sensor, an infrared sensor, a gyroscope, and the like. The fingerprint sensor is disposed below the fingerprint collecting area (as shown in fig. 1B), and the fingerprint sensor can collect a signal in the fingerprint collecting area, and the fingerprint sensor may be an optical fingerprint sensor, a capacitive fingerprint sensor, or an ultrasonic fingerprint sensor, which is not limited herein. When the fingerprint sensor is an optical fingerprint sensor, the signal acquired by the fingerprint sensor is an optical signal.
In this embodiment of the present application, the processor 10 is configured to receive a touch signal sent by a TP when a touch operation of a finger on the fingerprint acquisition area is detected; determining a touch position where the finger touches the fingerprint acquisition area based on the touch signal; when the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, controlling the fingerprint sensor to acquire a signal so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area; and adding the fingerprint image to a fingerprint template library.
It can be seen that the collected fingerprint image is added into the fingerprint template library only when the finger is determined to be pressed to meet a certain condition, so that the fingerprint image with unqualified quality is prevented from being used as the fingerprint template, and the recognition rate of subsequent fingerprint recognition is further improved.
In an implementation manner of the present application, the processor 10 is further configured to enable the touch position to be in the preset region, and enable a ratio of an area of the touch position to an area of the preset region to be smaller than a preset threshold value, and perform a prompt operation, where the prompt operation is used to prompt that a finger is put in again to perform fingerprint input.
In an implementation manner of the present application, the processor 10 is further configured to analyze the fingerprint image to obtain a plurality of fingerprint features; determining a source of the finger based on the plurality of fingerprint features;
adding the fingerprint image to a fingerprint template library, comprising: adding the fingerprint image to a child fingerprint template library under the condition that the finger is sourced from a child; adding the fingerprint image to a library of adult fingerprint templates in the event that the finger originates from an adult.
In an implementation of the present application, the fingerprint features include ridges, valleys, and ridge-line distances between each ridge and its adjacent valley, and the processor 10 is specifically configured to determine an average ridge-line distance; determining that the finger of the fingerprint image originates from a child when the average ridge distance is smaller than a preset ridge distance; determining that the finger of the fingerprint image originates from an adult when the average ridge distance is greater than or equal to the preset ridge distance.
In an implementation of the present application, the plurality of fingerprint features includes a plurality of ridges, a plurality of valleys, and a ridge depth between each ridge and its adjacent valley, and the processor 10 is specifically configured to determine an average ridge depth; determining that the finger of the fingerprint image originates from a child when the average ridge depth is less than a preset ridge depth; determining that the finger of the fingerprint image originates from an adult, when the average ridge depth is greater than or equal to the preset ridge depth.
In an implementation manner of the present application, the processor 10 is further configured to light a first region to a first brightness when the touch position is in the preset region, where the first region includes the touch position, and an area of the first region is smaller than an area of the fingerprint acquisition region.
In an implementation manner of the present application, if the area of the fingerprint acquisition area other than the first area is not in the screen-off state, the processor 10 is further configured to adjust the brightness of the area of the fingerprint acquisition area other than the first area to a second brightness when the first area is lit to the first brightness, where the second brightness is smaller than the first brightness.
It should be noted that, specific implementation procedures of the steps executed by the modules may refer to specific implementation procedures described in the following methods, and are not described herein.
Referring to fig. 2, fig. 2 is a schematic flowchart of a fingerprint entry method provided in an embodiment of the present application, and the method is applied to the mobile terminal, and the method includes:
step 201: and when the touch operation of the finger on the fingerprint acquisition area is detected, the processor receives a touch signal sent by the TP.
The touch operation may be, for example, a pressing operation, a clicking operation, or the like.
The touch screen comprises a plurality of pixel points, and the touch signal comprises capacitance value variable quantities corresponding to each pixel point when the touch operation of a finger on the fingerprint acquisition area is detected.
Step 202: the processor determines a touch position where the finger touches the fingerprint acquisition area based on the touch signal.
In an implementation manner of the present application, the determining, by a processor, a touch position of the fingerprint acquisition area by the finger based on the touch signal includes: the processor determines the touch position of the fingerprint acquisition area through finger touch based on the capacitance variation corresponding to each pixel point included in the fingerprint acquisition area, wherein the capacitance variation corresponding to W pixel points in the pixel points included in the touch position is larger than 0, W is larger than or equal to 2, and W is set in advance.
Step 203: and under the condition that the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, the processor controls the fingerprint sensor to acquire signals so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area.
The preset area may be the whole fingerprint acquisition area or a part of the fingerprint acquisition area. The shape of the predetermined area may be square, circular, rectangular, or elliptical, and is not limited herein.
In an implementation manner of the present application, in a case that a fingerprint sensor is an optical fingerprint sensor, a processor controls the fingerprint sensor to acquire a signal to obtain a fingerprint image, including: the processor sends a signal acquisition instruction to the fingerprint sensor, wherein the signal acquisition instruction is used for indicating to acquire an optical signal; after receiving the signal acquisition instruction, the fingerprint sensor acquires an optical signal to obtain an image, and performs image processing on the image to obtain a fingerprint image in the image.
The preset threshold is, for example, 75%, 80%, 85%, 90% or other values, which are not limited herein.
Step 204: the processor adds the fingerprint image to a fingerprint template library.
It can be seen that the collected fingerprint image is added into the fingerprint template library only when the finger is determined to be pressed to meet a certain condition, so that the fingerprint image with unqualified quality is prevented from being used as the fingerprint template, and the recognition rate of subsequent fingerprint recognition is further improved.
In an implementation manner of the present application, the method further includes:
the processor carries out prompting operation when the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is smaller than the preset threshold value or the touch position is not in the preset area, and the prompting operation is used for prompting that a finger is put in again for fingerprint input.
Wherein the prompt operation comprises at least one of: vibration prompt operation, voice prompt operation, text prompt operation and video prompt operation. The content of the prompt operation may be preset or customized, and is not limited herein.
Therefore, when the finger is determined not to be pressed under a certain condition, the fingerprint image is not collected, the fingerprint image with unqualified quality is avoided being used as a fingerprint template, and the recognition rate of subsequent fingerprint recognition is improved.
In an implementation manner of the present application, the method further includes:
the processor analyzes the fingerprint image to obtain a plurality of fingerprint characteristics;
a processor determines a source of the finger based on the plurality of fingerprint features;
the processor adds the fingerprint image to a fingerprint template library, including:
the processor adding the fingerprint image to a child fingerprint template library if the finger originates from a child;
in the event that the finger originates from an adult, the processor adds the fingerprint image to a library of adult fingerprint templates.
Further, the processor analyzes the fingerprint image to obtain a plurality of fingerprint features, including: the processor performs first preprocessing on the fingerprint image to obtain a first fingerprint image, wherein the first preprocessing comprises at least one of the following steps: matting, adjusting light sensitivity and removing noise; the processor performs algorithm-side preprocessing on the first fingerprint image to obtain a plurality of fingerprint features, wherein the algorithm-side preprocessing comprises at least one of the following steps: extracting contrast, extracting and processing feature points.
The child fingerprint template library and the adult fingerprint template library are located in different storage spaces and are not interfered with each other.
Therefore, the child fingerprint and the adult fingerprint are separately collected and added to the respective fingerprint template libraries, so that the fingerprint image with qualified quality is prevented from being deleted by mistake; meanwhile, during subsequent fingerprint identification, the source of the finger is determined and then the finger is compared with the corresponding fingerprint template library, so that the comparison data volume is reduced, and the identification speed of the subsequent fingerprint identification is improved.
In an implementation manner of the present application, the plurality of fingerprint features include a plurality of ridges, a plurality of valleys, and a ridge distance between each ridge and its adjacent valley, and the specific implementation manner of the processor determining the origin of the finger based on the plurality of fingerprint features is: the processor determining an average ridge distance; when the average ridge distance is smaller than a preset ridge distance, the processor determines that the finger of the fingerprint image comes from a child; when the average ridge distance is greater than or equal to the preset ridge distance, the processor determines that the finger of the fingerprint image originates from an adult.
Wherein, the ridge line distance refers to a distance from the center of the ridge line to the center of the valley line adjacent to the ridge line.
Further, the specific implementation manner of the processor determining the average ridge distance is as follows: the processor acquires a ridge distance between each ridge and its adjacent valley, and then determines an average ridge distance based on the acquired ridge distances. For example, if 30 line distances are acquired, then the average line distance is equal to the sum of the 30 line distances divided by 30.
Further, the ridge line distance between one ridge line and the valley line adjacent to the ridge line is determined in the following manner: the processor determines a first pixel point corresponding to the center of the ridge line and a second pixel point corresponding to the center of the valley line adjacent to the ridge line; and taking the distance between the first pixel point and the second pixel point as the ridge line distance between the ridge line and the valley line adjacent to the ridge line.
It should be noted that, please refer to the above description for the specific way of the ridge line distance between the other ridge line and the valley line adjacent to the other ridge line, which is not described herein.
Wherein the preset streak line distance is set by the processor based on empirical parameters.
In an implementation manner of the present application, the plurality of fingerprint features include a plurality of ridges, a plurality of valleys, and a ridge depth between each ridge and its adjacent valley, and the specific implementation manner of the processor determining the origin of the finger based on the plurality of fingerprint features is: the processor determining an average streak depth; when the average ridge depth is smaller than a preset ridge depth, the processor determines that the finger of the fingerprint image originates from a child; when the average ridge depth is greater than or equal to the preset ridge depth, the processor determines that the finger of the fingerprint image originates from an adult.
The ridge depth is a distance from a highest point of the ridge to a lowest point of the valley adjacent to the ridge.
Further, the specific implementation manner of the processor determining the average streak line depth is as follows: the processor acquires a ridge depth between each ridge and its adjacent valley, and then determines an average ridge distance based on the acquired ridge depths. For example, 30 streak depths are acquired, and then the average streak depth is equal to the sum of these 30 streak depths divided by 30.
Further, the ridge depth between one ridge line and the valley line adjacent to the ridge line is determined in the following manner: the processor determines a third pixel point corresponding to the highest point of the ridge line and a fourth pixel point corresponding to the lowest point of the valley line adjacent to the ridge line; determining a first capacitance value variation corresponding to the third pixel point and a second capacitance value variation corresponding to the third pixel point; determining a difference between the first capacitance value variation and the second capacitance value variation; and determining the streak depth corresponding to the difference value based on the mapping relation between the capacitance value variation and the streak depth.
It should be noted that, for the specific way of the ridge depth between the other ridge line and the valley line adjacent to the other ridge line, please refer to the above description, and it is not described here.
Wherein the preset streak line depth is set by the processor based on empirical parameters.
In an implementation manner of the present application, the method further includes:
when the touch position is in the preset area, the processor lights a first area to a first brightness, wherein the first area comprises the touch position, and the area of the first area is smaller than that of the fingerprint acquisition area.
Wherein the first luminance is a luminance with a higher luminance. The first brightness may be user-defined or determined by the mobile terminal (e.g., the first brightness is determined by the mobile terminal according to the brightness of the environment in which the mobile terminal is currently located, e.g., the first brightness corresponding to the brightness of the environment is determined according to the mapping relationship between the brightness of the environment and the brightness of the fingerprint collection area, or the first brightness is determined by the mobile terminal according to the current geographic location of the mobile terminal, e.g., the first brightness corresponding to the current geographic location is determined according to the mapping relationship between the geographic location and the brightness of the fingerprint collection area, etc.), which is not limited herein.
It can be seen that, before the fingerprint image is collected, the first area is lightened to a higher brightness, so that the quality of the collected fingerprint image can be improved, and the recognition rate of subsequent fingerprint recognition is further improved.
In an implementation manner of the present application, if an area of the fingerprint acquisition area other than the first area is not in a screen-off state, the method further includes:
when the first area is lightened to the first brightness, the processor adjusts the brightness of the area of the fingerprint collection area except the first area to a second brightness, and the second brightness is smaller than the first brightness.
The second brightness may be the lowest brightness that can be displayed by the touch screen, or may be 0 (i.e., a black screen), which is not limited herein.
It can be seen that in the embodiment of the application, the brightness of the first area is increased, and the brightness of the other areas of the fingerprint acquisition area is decreased, so that the power consumption is reduced.
In an implementation manner of the present application, after the processor adds the fingerprint image to a fingerprint template library, the method further includes:
the processor controls the touch screen to pop up a dialog box, and the dialog box comprises at least one of the following: the fingerprint image processing system comprises an application item, a user name item and a finger item, wherein the application item is used for setting an application to which the fingerprint image is applied, the user name item is used for setting a user from which the fingerprint image comes, and the finger item is used for setting a finger from which the fingerprint image comes;
the processor acquires a target application input in the application item, and/or a target user name input in the user name item, and/or a target finger input in the finger item;
the processor binds the target application, and/or the target user name, and/or the target finger with the fingerprint image.
In an implementation manner of the present application, before the processor adds the fingerprint image to the fingerprint template library, the method further includes:
the processor controls the touch screen to display an input completion interface, the input completion interface is used for prompting that fingerprint input is completed, and the input completion interface comprises fingerprint image patterns;
the processor determines that a touch operation for the fingerprint image pattern is detected.
The touch operation may be, for example, a pressing operation, a clicking operation, or the like.
It can be seen that, after the fingerprint is input, a dialog box is triggered through a specific action, the dialog box is used for setting the fingerprint which is just input, the operation is simple, and the efficiency of fingerprint setting is improved.
In an implementation manner of the present application, the method further includes:
and when the prompt operation is carried out, the processor controls the fingerprint acquisition area to display the reason of failure in fingerprint input.
Therefore, the reason for the failure of fingerprint input is displayed in the fingerprint acquisition area, so that a user can notice the reason for the failure of fingerprint input, and the success rate of fingerprint input again is improved.
In an implementation manner of the present application, the method further includes:
when the prompt operation is carried out, the processor highlights the first area;
the processor performs a hint operation, including:
the processor controls the fingerprint acquisition area to display a prompt for putting a finger into the first area again for fingerprint input.
Further, the specific implementation manner of highlighting the first area by the processor is as follows:
the processor adds a frame to the first area; and/or the processor controls the first area to emit light of a single color, wherein the single color comprises a single green color, a single red color or a single blue color.
Wherein the color of the added frame may be red, green, black, blue, etc.
It can be seen that, because the prompt operation is used for prompting to re-enter the fingerprint in the first area, the prompt effect is improved by highlighting the first area.
Referring to fig. 3, fig. 3 is a schematic flowchart of another fingerprint entry method provided in the embodiment of the present application, and is applied to the mobile terminal, where the fingerprint entry method includes:
step 301: and when the touch operation of the finger on the fingerprint acquisition area is detected, the processor receives a touch signal sent by the TP.
Step 302: the processor determines a touch position where the finger touches the fingerprint acquisition area based on the touch signal.
Step 303: the processor determines whether the touch position is in a preset area, and the fingerprint acquisition area comprises the preset area.
If so, go to step 304.
If not, go to step 315.
Step 304: the processor lights a first area to a first brightness, the first area comprises the touch position, and the area of the first area is smaller than that of the fingerprint acquisition area.
Step 305: when the first area is lightened to the first brightness, the processor adjusts the brightness of the area of the fingerprint collection area except the first area to a second brightness, and the second brightness is smaller than the first brightness.
Step 306: the processor determines whether the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold.
If yes, go to step 307.
If not, go to step 315.
Step 307: and the processor controls the fingerprint sensor to acquire signals so as to obtain a fingerprint image.
Step 308: the processor analyzes the fingerprint image to obtain a plurality of fingerprint features, wherein the fingerprint features comprise a plurality of ridges, a plurality of valleys and ridge distances between each ridge and the valley adjacent to the ridge.
Step 309: the processor determines an average fringe distance.
Step 310: the processor determines whether the average fringe distance is less than a preset fringe distance.
If yes, go to step 311.
If not, go to step 313.
Step 311: a processor determines that the finger of the fingerprint image originated from a child.
Step 312: the processor adds the fingerprint image to a library of child fingerprint templates.
Step 313: a processor determines that the finger of the fingerprint image originates from an adult.
Step 314: the processor adds the fingerprint image to a library of adult fingerprint templates.
Step 315: and the processor carries out prompt operation, and the prompt operation is used for prompting that the finger is put again for fingerprint input.
It should be noted that, in fig. 3, the step 306 is after the step 304 and the step 305, but in other embodiments, the step 306 may also be before the step 304 and the step 305, and is not limited herein. In addition, the specific implementation process of this embodiment may refer to the specific implementation process described in the above method embodiment, and will not be described here.
Consistent with the embodiments shown in fig. 2 and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of another mobile terminal provided in the embodiments of the present application, as shown, the mobile terminal includes a touch screen, a processor, and a fingerprint sensor, where the touch screen includes a fingerprint acquisition area, the fingerprint sensor is disposed below the fingerprint acquisition area, the mobile terminal further includes a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
when the touch operation of a finger on the fingerprint acquisition area is detected, receiving a touch signal sent by the TP;
determining a touch position where the finger touches the fingerprint acquisition area based on the touch signal;
when the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, controlling the fingerprint sensor to acquire a signal so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area;
and adding the fingerprint image to a fingerprint template library.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
and when the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is smaller than the preset threshold value, performing prompt operation, wherein the prompt operation is used for prompting that a finger is put in again for fingerprint input.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
analyzing the fingerprint image to obtain a plurality of fingerprint characteristics;
determining a source of the finger based on the plurality of fingerprint features;
adding the fingerprint image to a fingerprint template library, comprising:
adding the fingerprint image to a child fingerprint template library under the condition that the finger is sourced from a child; adding the fingerprint image to a library of adult fingerprint templates in the event that the finger originates from an adult.
In an implementation of the application, the plurality of fingerprint features comprises a plurality of ridges, a plurality of valleys and a ridge distance between each ridge and its adjacent valley, and the program comprises instructions for performing the following steps in particular in determining the origin of the finger based on the plurality of fingerprint features:
determining an average ridge distance;
determining that the finger of the fingerprint image originates from a child when the average ridge distance is smaller than a preset ridge distance; determining that the finger of the fingerprint image originates from an adult when the average ridge distance is greater than or equal to the preset ridge distance.
In an implementation of the application, the plurality of fingerprint features comprises a plurality of ridges, a plurality of valleys and a ridge depth between each ridge and its adjacent valley, and the program comprises instructions for performing the following steps in particular in determining the origin of the finger based on the plurality of fingerprint features:
determining the average streak line depth;
determining that the finger of the fingerprint image originates from a child when the average ridge depth is less than a preset ridge depth; determining that the finger of the fingerprint image originates from an adult, when the average ridge depth is greater than or equal to the preset ridge depth.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
and lighting a first area to first brightness when the touch position is in the preset area, wherein the first area comprises the touch position, and the area of the first area is smaller than that of the fingerprint acquisition area.
In an implementation manner of the present application, if an area of the fingerprint acquisition area other than the first area is not in a screen-off state, the program includes instructions further configured to perform the following steps:
when the first area is lightened to the first brightness, the processor adjusts the brightness of the area of the fingerprint collection area except the first area to a second brightness, and the second brightness is smaller than the first brightness.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 5, fig. 5 is a fingerprint input device provided in an embodiment of the present application, and is applied to a mobile terminal including a touch screen and a fingerprint sensor, where the touch screen includes a fingerprint acquisition area, the fingerprint sensor is disposed below the fingerprint acquisition area, and the fingerprint input device includes:
a signal obtaining unit 501, configured to receive a touch signal sent by a TP when a touch operation of a finger on the fingerprint acquisition area is detected;
a determining unit 502, configured to determine, based on the touch signal, a touch position at which the finger touches the fingerprint acquisition area;
the acquisition unit 503 is configured to control the fingerprint sensor to acquire a signal to obtain a fingerprint image when the touch position is in the preset region and a ratio of an area of the touch position to an area of the preset region is greater than or equal to a preset threshold, where the fingerprint acquisition region includes the preset region;
a fingerprint processing unit 504, configured to add the fingerprint image to a fingerprint template library.
In an implementation manner of the present application, the apparatus further includes:
and the prompting unit 505 is used for performing prompting operation when the touch position is in the preset region, and the ratio of the area of the touch position to the area of the preset region is smaller than the preset threshold value, wherein the prompting operation is used for prompting that a finger is put in again for fingerprint input.
In an implementation manner of the present application, the fingerprint processing unit 504 is further configured to analyze the fingerprint image to obtain a plurality of fingerprint features;
a determining unit 502, further configured to determine a source of the finger based on the plurality of fingerprint features;
the fingerprint processing unit 504 is further configured to add the fingerprint image to a fingerprint template library, including: a fingerprint processing unit 504, further configured to add the fingerprint image to a child fingerprint template library if the finger originates from a child; a fingerprint processing unit 504, further configured to add the fingerprint image to an adult fingerprint template library if the finger originates from an adult.
In an implementation manner of the present application, the plurality of fingerprint features includes a plurality of ridges, a plurality of valleys, and a ridge distance between each ridge and its adjacent valley, and in terms of determining the source of the finger based on the plurality of fingerprint features, the determining unit 502 is specifically configured to:
determining an average ridge distance;
determining that the finger of the fingerprint image originates from a child when the average ridge distance is smaller than a preset ridge distance; determining that the finger of the fingerprint image originates from an adult when the average ridge distance is greater than or equal to the preset ridge distance.
In an implementation manner of the present application, the plurality of fingerprint features include a plurality of ridges, a plurality of valleys, and a ridge depth between each ridge and its adjacent valley, and in terms of determining the source of the finger based on the plurality of fingerprint features, the determining unit 502 is specifically configured to:
determining the average streak line depth;
determining that the finger of the fingerprint image originates from a child when the average ridge depth is less than a preset ridge depth; determining that the finger of the fingerprint image originates from an adult, when the average ridge depth is greater than or equal to the preset ridge depth.
In an implementation manner of the present application, the apparatus further includes:
the screen control unit 506 is configured to light a first area to a first brightness when the touch position is in a preset area, where the first area includes the touch position, and an area of the first area is smaller than an area of the fingerprint acquisition area.
In an implementation manner of the present application, the screen control unit 506 is further configured to adjust the brightness of the area of the fingerprint collection area other than the first area to a second brightness if the area of the fingerprint collection area other than the first area is not in a screen-off state, where the second brightness is smaller than the first brightness.
It should be noted that the signal acquiring unit 501, the determining unit 502, the collecting unit 503, the fingerprint processing unit 504, the prompting unit 505, and the screen control unit 506 may be implemented by a processor.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores a computer program, the computer program is executed by a processor to perform part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The fingerprint input method is applied to a mobile terminal comprising a touch screen, a processor and a fingerprint sensor, wherein the touch screen comprises a fingerprint acquisition area, the fingerprint sensor is arranged below the fingerprint acquisition area, and the method comprises the following steps:
when the touch operation of a finger on the fingerprint acquisition area is detected, the processor receives a touch signal sent by a touch panel TP of the touch screen;
the processor determines a touch position where the finger touches the fingerprint acquisition area based on the touch signal;
when the touch position is in a preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, the processor controls the fingerprint sensor to acquire signals so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises a preset area which is a part of a fingerprint acquisition area;
the processor adding the fingerprint image to a fingerprint template library;
and when the touch position is not in the preset area, the processor performs prompt operation, wherein the prompt operation is used for prompting that a finger is put in again for fingerprint input.
2. The method of claim 1, further comprising:
and under the condition that the touch position is in the preset area and the ratio of the area of the touch position to the area of the preset area is smaller than the preset threshold value, the processor performs prompt operation, wherein the prompt operation is used for prompting that a finger is put in again for fingerprint input.
3. The method of claim 1, further comprising:
the processor analyzes the fingerprint image to obtain a plurality of fingerprint characteristics;
the processor determining a source of the finger based on the plurality of fingerprint features;
the processor adding the fingerprint image to a fingerprint template library, including:
the processor adding the fingerprint image to a child fingerprint template library if the finger originates from a child; the processor adds the fingerprint image to a library of adult fingerprint templates in the event that the finger originates from an adult.
4. The method of claim 3, wherein the plurality of fingerprint features includes a plurality of ridges, a plurality of valleys, and a ridge distance between each ridge and its adjacent valley, and wherein the processor determines the origin of the finger based on the plurality of fingerprint features, including:
the processor determining an average ridge distance;
when the average ridge distance is smaller than a preset ridge distance, the processor determines that the finger of the fingerprint image comes from a child;
when the average ridge distance is greater than or equal to the preset ridge distance, the processor determines that the finger of the fingerprint image originates from an adult.
5. The method of claim 3, wherein the plurality of fingerprint features includes a plurality of ridges, a plurality of valleys, and a ridge depth between each ridge and its adjacent valley, and wherein the processor determines the origin of the finger based on the plurality of fingerprint features, including:
the processor determining an average streak depth;
when the average ridge depth is smaller than a preset ridge depth, the processor determines that the finger of the fingerprint image originates from a child;
when the average ridge depth is greater than or equal to the preset ridge depth, the processor determines that the finger of the fingerprint image originates from an adult.
6. The method according to any one of claims 1-5, further comprising:
when the touch position is in the preset area, the processor lights a first area to first brightness, the first area comprises the touch position, and the area of the first area is smaller than that of the fingerprint acquisition area.
7. The method of claim 6, wherein if the area of the fingerprint acquisition area other than the first area is not in the screen-off state, the method further comprises:
when the first area is lightened to the first brightness, the processor adjusts the brightness of the area of the fingerprint collection area except the first area to a second brightness, and the second brightness is smaller than the first brightness.
8. The utility model provides a device is typeeed to fingerprint, its characterized in that is applied to the mobile terminal including touch-control screen, treater and fingerprint sensor, the touch-control screen includes fingerprint collection area, fingerprint sensor locates the regional below of fingerprint collection, the device includes:
the signal acquisition unit is used for receiving a touch signal sent by a touch panel TP of the touch screen when the touch operation of a finger on the fingerprint acquisition area is detected;
the determining unit is used for determining the touch position of the finger touching the fingerprint acquisition area based on the touch signal;
the fingerprint sensor comprises an acquisition unit, a detection unit and a control unit, wherein the acquisition unit is used for controlling the fingerprint sensor to acquire signals to obtain a fingerprint image when the touch position is in a preset area and the ratio of the area of the touch position to the area of the preset area is greater than or equal to a preset threshold value, the fingerprint acquisition area comprises a preset area, and the preset area is one part of a fingerprint acquisition area;
an adding unit, configured to add the fingerprint image to a fingerprint template library;
and the prompting unit is used for prompting the processor to perform prompting operation when the touch position is not in the preset area, and the prompting operation is used for prompting that a finger is put in again for fingerprint input.
9. A mobile terminal, characterized in that the mobile terminal comprises a touch screen comprising a fingerprint acquisition area, a processor and a fingerprint sensor provided below the fingerprint acquisition area, the mobile terminal further comprising a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for carrying out the steps of the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, which is executed by a processor to implement the method according to any of claims 1-7.
CN201811429333.0A 2018-11-27 2018-11-27 Fingerprint input method and related equipment Active CN109711259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811429333.0A CN109711259B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811429333.0A CN109711259B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Publications (2)

Publication Number Publication Date
CN109711259A CN109711259A (en) 2019-05-03
CN109711259B true CN109711259B (en) 2021-04-23

Family

ID=66255066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811429333.0A Active CN109711259B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Country Status (1)

Country Link
CN (1) CN109711259B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110189367B (en) * 2019-05-29 2021-06-01 Oppo广东移动通信有限公司 Calibration method and related equipment
CN110287677B (en) * 2019-06-28 2021-09-24 Oppo广东移动通信有限公司 Control method of application program, electronic device and readable storage medium
CN110414410B (en) * 2019-07-24 2022-03-11 Oppo广东移动通信有限公司 Fingerprint acquisition method and related product
CN112580387A (en) * 2019-09-27 2021-03-30 北京小米移动软件有限公司 Fingerprint input method and device and electronic equipment
CN111062325A (en) * 2019-12-17 2020-04-24 联想(北京)有限公司 Electronic equipment and method for acquiring fingerprint information
CN112381007A (en) * 2020-11-17 2021-02-19 惠州Tcl移动通信有限公司 Fingerprint information acquisition method and device, storage medium and terminal
CN113011374A (en) * 2021-04-01 2021-06-22 德施曼机电(中国)有限公司 Intelligent lock and fingerprint acquisition method thereof
CN113034749A (en) * 2021-04-01 2021-06-25 德施曼机电(中国)有限公司 Intelligent lock and fingerprint acquisition method thereof
CN112991594A (en) * 2021-04-01 2021-06-18 德施曼机电(中国)有限公司 Fingerprint lock and unlocking method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528576A (en) * 2015-12-02 2016-04-27 广东欧珀移动通信有限公司 Method and device for inputting fingerprint
CN105814586A (en) * 2016-03-17 2016-07-27 深圳信炜科技有限公司 Fingerprint registration method, fingerprint identification system and electronic equipment
CN106127129A (en) * 2016-06-17 2016-11-16 北京小米移动软件有限公司 Fingerprint typing reminding method and device
CN107690655A (en) * 2017-09-04 2018-02-13 深圳市汇顶科技股份有限公司 Fingerprint register method, apparatus and electric terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2922790Y (en) * 2006-07-21 2007-07-18 中国科学院合肥物质科学研究院 Device for collecting and identifying information of new-born baby
CN105809122A (en) * 2016-03-03 2016-07-27 深圳市金立通信设备有限公司 Fingerprint registering method and terminal
CN106407952A (en) * 2016-09-30 2017-02-15 北京小米移动软件有限公司 Fingerprint entry method and device
CN108121940A (en) * 2016-11-29 2018-06-05 深圳指芯智能科技有限公司 A kind of method and apparatus of fingerprint image analysis
CN107832594A (en) * 2017-09-28 2018-03-23 芯海科技(深圳)股份有限公司 A kind of virgin lock implementation method of inexpensive fingerprint

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528576A (en) * 2015-12-02 2016-04-27 广东欧珀移动通信有限公司 Method and device for inputting fingerprint
CN105814586A (en) * 2016-03-17 2016-07-27 深圳信炜科技有限公司 Fingerprint registration method, fingerprint identification system and electronic equipment
CN106127129A (en) * 2016-06-17 2016-11-16 北京小米移动软件有限公司 Fingerprint typing reminding method and device
CN107690655A (en) * 2017-09-04 2018-02-13 深圳市汇顶科技股份有限公司 Fingerprint register method, apparatus and electric terminal

Also Published As

Publication number Publication date
CN109711259A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN109711259B (en) Fingerprint input method and related equipment
CN108520241B (en) Fingerprint acquisition method and device based on optical fingerprint technology and user terminal
CN107450708B (en) Unlocking control method and related product
TWI619080B (en) Method for calculating fingerprint overlapping region and electronic device
WO2018121428A1 (en) Living body detection method, apparatus, and storage medium
US10489632B2 (en) Electronic device and detection method
CN109614865B (en) Fingerprint identification method and related product
CN107608615B (en) Fingerprint identification function starting method and device, terminal and storage medium
CN109409320B (en) Fingerprint acquisition method and related equipment
KR102271285B1 (en) Image processing apparatus and method for processing image
CN109241954B (en) Fingerprint identification method and related equipment
CN106775085B (en) A kind of method, device and mobile terminal of screen edge false-touch prevention
CN109740430B (en) Fingerprint input method and related equipment
CN109543378B (en) Fingerprint unlocking method and related equipment
CN108108117B (en) Screen capturing method and device and terminal
CN110741387B (en) Face recognition method and device, storage medium and electronic equipment
CN110688973A (en) Equipment control method and related product
CN110045878A (en) Response control mehtod, device, storage medium and the terminal of touch screen
CN105912916A (en) Fingerprint unlocking method and terminal
CN106258009A (en) A kind of gather the method for fingerprint, fingerprint capturer and terminal
CN112560649A (en) Behavior action detection method, system, equipment and medium
CN111080665B (en) Image frame recognition method, device, equipment and computer storage medium
CN110188666B (en) Vein collection method and related products
CN109740520B (en) Fingerprint identification method and related equipment
CN113282317A (en) Optical fingerprint parameter upgrading method and related product

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