CN109740430B - Fingerprint input method and related equipment - Google Patents

Fingerprint input method and related equipment Download PDF

Info

Publication number
CN109740430B
CN109740430B CN201811428248.2A CN201811428248A CN109740430B CN 109740430 B CN109740430 B CN 109740430B CN 201811428248 A CN201811428248 A CN 201811428248A CN 109740430 B CN109740430 B CN 109740430B
Authority
CN
China
Prior art keywords
fingerprint
area
touch
processor
touch position
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
CN201811428248.2A
Other languages
Chinese (zh)
Other versions
CN109740430A (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 CN201811428248.2A priority Critical patent/CN109740430B/en
Publication of CN109740430A publication Critical patent/CN109740430A/en
Application granted granted Critical
Publication of CN109740430B publication Critical patent/CN109740430B/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 first touch signal sent by a Touch Panel (TP); determining a first touch position of a finger touch fingerprint acquisition area based on the first touch signal; controlling a fingerprint sensor to acquire a signal when the first touch position is in a preset area so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area; receiving a second touch signal sent by the TP; determining a second touch position of the finger touch fingerprint acquisition area based on the second touch signal; and adding the fingerprint image into the fingerprint template library when the first touch position and the second touch position are basically the same. By adopting the embodiment of the application, 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 first touch signal sent by a TP of a touch screen;
the processor determines a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal;
when the first touch position is in a preset area, 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 receives a second touch signal sent by the TP;
the processor determines a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
and when the size of an overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value, 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 first touch signal sent by a TP (touch panel) of a touch screen when the touch operation of a finger on the fingerprint acquisition area is detected;
the determining unit is used for determining a first touch position of the fingerprint acquisition area touched by the finger based on the first touch signal;
the acquisition unit is used for controlling the fingerprint sensor to acquire signals when the first touch position is in a preset area so as to obtain a fingerprint image, and the fingerprint acquisition area comprises the preset area;
the signal acquisition unit is further configured to receive a second touch signal sent by the TP;
the determining unit is further configured to determine a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
the fingerprint processing unit is used for adding the fingerprint image into a fingerprint template library when the size of an overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value.
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 first touch signal is sent based on the TP to determine a first touch position of a finger touch fingerprint acquisition area, then, when the first touch position is in a preset area, a signal is acquired by a fingerprint sensor to obtain a fingerprint image, then, a second touch position of the finger touch screen is determined based on a second touch signal sent by the TP, and finally, when the first touch position and the second touch position are substantially the same, the fingerprint image is added to the fingerprint template library. Therefore, when the finger is determined not to move almost in the fingerprint input process, the acquired fingerprint image is stored in the fingerprint template library, 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 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, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and the like, having wireless communication capabilities.
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 first touch signal sent by a TP of the touch screen 50 when a touch operation of a finger on the fingerprint acquisition area is detected; determining a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal; controlling the fingerprint sensor to acquire a signal when the first touch position is in a preset area so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area; receiving a second touch signal sent by the TP; determining a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal; and adding the fingerprint image into a fingerprint template library when the size of the overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value.
It can be seen that the collected fingerprint image is stored in the fingerprint template library only when the finger is determined to be hardly moved in the fingerprint input process, so that the fingerprint image with unqualified quality is prevented from being used as a fingerprint template, and the identification rate of subsequent fingerprint identification is further improved.
In an implementation manner of the present application, the processor 10 is further configured to remove the fingerprint image and perform a prompt operation on the fingerprint image, where the prompt operation is used to prompt to re-enter the fingerprint image, where the size of the overlapping area between the first touch position and the second touch position is smaller than the first threshold value, and the second touch position is not located in the preset area.
In an implementation manner of the present application, the processor 10 is further configured to determine the definition of the fingerprint image when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold and the second touch position is in the preset area; adding the fingerprint image into a fingerprint template library under the condition that the definition of the fingerprint image is greater than or equal to a preset definition; under the condition that the definition of the fingerprint image is smaller than the preset definition, analyzing the fingerprint image to obtain a plurality of fingerprint characteristics; adding the fingerprint image to a fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
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 first touch position is in a preset region, where the first region includes the first 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.
In an implementation manner of the present application, before the processor 10 lights the first area to the first brightness, the processor 10 is further configured to determine that the size of the first touch position is greater than or equal to a third threshold.
In an implementation manner of the present application, the processor 10 is further configured to control the fingerprint collection area to display a reason for failure in fingerprint entry when the prompt operation is performed.
In an implementation manner of the present application, the processor 10 is further configured to highlight the first area when the prompt operation is performed; and performing prompt operation, including: and controlling the fingerprint acquisition area to display information for prompting re-entry of the fingerprint in the first area.
In an implementation of the present application, in highlighting the first area, the processor 10 is specifically configured to: adding a frame to the first area; and/or controlling 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.
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: when the touch operation of a finger on the fingerprint acquisition area is detected, a processor receives a first touch signal sent by a Touch Panel (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 first touch signal comprises capacitance value variable quantities corresponding to each pixel point when touch operation of a finger on the fingerprint acquisition area is detected.
Step 202: the processor determines a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal.
In an implementation manner of the present application, the determining, by a processor, a first touch position of the fingerprint acquisition area by the finger based on the first touch signal includes: the processor determines that the finger touches a first touch position of the fingerprint acquisition area 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 pixel points included in the first touch position is greater than 0, W is greater than or equal to 2, and W is set in advance.
Step 203: and when the first touch position is in a preset area, 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 one area in 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.
Step 204: and the processor receives a second touch signal sent by the TP.
Step 205: the processor determines a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal.
The touch screen comprises a plurality of pixel points, the second touch signal comprises capacitance value variation corresponding to each pixel point at a target moment, and the target moment is a moment after the processor receives the second touch signal sent by the TP and controls the fingerprint sensor to collect signals so as to obtain a fingerprint image.
It should be noted that, a specific implementation manner of the processor determining the second touch position of the finger touch screen based on the second touch signal is the same as a specific implementation manner of the processor determining the first touch position of the finger touch screen based on the first touch signal, which is specifically referred to above and will not be described here.
The TP sends the touch signal to the processor periodically, so the time interval between sending the first touch signal and the second touch signal is the period. The period is, for example, every 5ms, every 10ms, every 15ms, or other values, which are not limited herein.
Step 206: and when the size of the overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value, the processor adds the fingerprint image to a fingerprint template library.
Wherein, the first threshold value ═ [ (size of the first touch position + size of the second touch position)/2 ] × preset percentage. For example, if the size of the first touch location is 5mm × 4.5mm, the size of the first touch location is 5mm × 4mm, and the preset percentage is 90%, the first threshold is 19.125 square millimeters.
It can be seen that the collected fingerprint image is stored in the fingerprint template library only when the finger is determined to be hardly moved in the fingerprint input process, so that the fingerprint image with unqualified quality is prevented from being used as a fingerprint template, and the identification rate of subsequent fingerprint identification is further improved.
In an implementation manner of the present application, the method further includes:
and when the size of the overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is not positioned under the preset area, the processor eliminates the fingerprint image and carries out prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint.
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 to move in the fingerprint input process, the collected fingerprint image is removed, the fingerprint image with unqualified quality is prevented from 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:
when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is in the preset area, the processor determines the definition of the fingerprint image;
the processor adds the fingerprint image to the fingerprint template library under the condition that the definition of the fingerprint image is greater than or equal to a preset definition;
under the condition that the definition of the fingerprint image is smaller than the preset definition, the processor analyzes the fingerprint image to obtain a plurality of fingerprint characteristics; in the event that the number of the plurality of fingerprint features is greater than or equal to a second threshold, the processor adding the fingerprint image to the fingerprint template library; and under the condition that the quantity of the fingerprint features is smaller than the second threshold value, the processor rejects the fingerprint image and carries out prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint.
Wherein the fingerprint features include global features and local features. The overall characteristics include the shape of the lines, the pattern area, the core point, the triangle point, the number of the lines and the like. Local features are orientation, curvature, position, etc. The pattern refers to the direction and distribution of the ridge line, and is generally classified into circular (also called bucket), arc and spiral. The pattern area is an area on the fingerprint including the overall features, from which it can be discriminated which type the fingerprint belongs to. The core point is located at the progressive center of the fingerprint lines and serves as a reference point when the fingerprint is read and compared. The triangle point is located at the first bifurcation or breakpoint from the core point, or at the convergence, solitary point, turning point of the two lines, or points to these singular points. The number of lines refers to the number of fingerprint lines in the pattern area. When calculating the fingerprint lines, the core point and the triangle point are connected first, and the number of the intersection of the connecting line and the fingerprint lines can be regarded as the number of the fingerprint lines. The direction is the direction in which the feature point is located with respect to the core point. Curvature refers to the speed at which the direction of the grain changes. The position refers to the position coordinates of the node, which is described by a coordinate system, and it may be absolute coordinates or relative coordinates with respect to a triangular point (or a feature point).
It can be seen that, when the finger is determined to move in the fingerprint input process, if the fingerprint characteristics contained in the collected fingerprint image are more, the collected fingerprint image is stored in the fingerprint template library, so that the fingerprint image with unqualified quality is prevented from being used as a 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:
when the first touch position is in the preset area, the processor lights a first area to first brightness, the first area comprises the first 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 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 area), and so on), which are 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, before the processor lights up the first area to the first brightness, the method further includes:
the processor determines that a size of the first touch location is greater than or equal to a third threshold.
Further, the method further comprises:
and when the size of the first touch position is smaller than the third threshold value, the processor performs prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint or not performing any operation.
It can be seen that, in this application embodiment, when the size of first touch position exceeded a definite value, just carried out follow-up fingerprint collection and type operation, avoided the condition of mistake touching.
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:
and the processor controls the fingerprint acquisition area to display information for prompting re-entry of the fingerprint in the first area.
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.
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 pops 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.
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: when the touch operation of a finger on the fingerprint acquisition area is detected, a processor receives a first touch signal sent by the TP.
Step 302: the processor determines a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal.
Step 303: and when the first touch position is in a preset area, 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.
Step 304: and the processor receives a second touch signal sent by the TP.
Step 305: the processor determines a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal.
Step 306: and when the size of the overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value, the processor adds the fingerprint image to a fingerprint template library.
Step 307: and when the size of the overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is not positioned under the preset area, the processor eliminates the fingerprint image and carries out prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint.
Step 308: and when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is in the preset area, the processor determines the definition of the fingerprint image.
Step 309: and under the condition that the definition of the fingerprint image is greater than or equal to the preset definition, the processor adds the fingerprint image to the fingerprint template library.
Step 310: under the condition that the definition of the fingerprint image is smaller than the preset definition, the processor analyzes the fingerprint image to obtain a plurality of fingerprint characteristics; the processor adds the fingerprint image to the fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
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.
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 a mobile terminal provided in an embodiment 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 first touch signal sent by a Touch Panel (TP);
determining a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal;
controlling the fingerprint sensor to acquire a signal when the first touch position is in a preset area so as to obtain a fingerprint image, wherein the fingerprint acquisition area comprises the preset area;
receiving a second touch signal sent by the TP;
determining a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
and adding the fingerprint image into a fingerprint template library when the size of the overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
and when the size of the overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is not positioned in the preset area, removing the fingerprint image and carrying out prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is in the preset area, determining the definition of the fingerprint image;
adding the fingerprint image to the fingerprint template library under the condition that the definition of the fingerprint image is greater than or equal to the preset definition;
under the condition that the definition of the fingerprint image is smaller than the preset definition, analyzing the fingerprint image to obtain a plurality of fingerprint characteristics; adding the fingerprint image to the fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
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 first touch position is in the preset area, wherein the first area comprises the first 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 brightness of the area of the fingerprint collection area except the first area is adjusted to a second brightness, and the second brightness is smaller than the first brightness.
In one implementation of the present application, before lighting the first region to the first brightness, the program includes instructions for further performing the following steps:
determining that the size of the first touch position is greater than or equal to a third threshold.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
and controlling the fingerprint acquisition area to display the reason of failure of fingerprint input during the prompt operation.
In an implementation manner of the present application, after the prompt operation is performed, the program includes instructions further configured to:
when the prompt operation is carried out, highlighting the first area;
and performing prompt operation, including: and controlling the fingerprint acquisition area to display information for prompting re-entry of the fingerprint in the first area.
In an implementation of the application, in highlighting the first area, the program comprises instructions specifically for performing the following steps: adding a frame to the first area; and/or controlling 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.
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 first touch signal sent by a TP of a touch screen when a touch operation of a finger on the fingerprint acquisition area is detected;
a determining unit 502, configured to determine, based on the first touch signal, a first touch position where the finger touches the fingerprint acquisition area;
the acquisition unit 503 is configured to control the fingerprint sensor to acquire a signal when the first touch position is in a preset area, so as to obtain a fingerprint image, where the fingerprint acquisition area includes the preset area;
the signal obtaining unit 501 is further configured to receive a second touch signal sent by the TP;
the determining unit 502 is further configured to determine a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
a fingerprint processing unit 504, configured to add the fingerprint image to a fingerprint template library when a size of an overlapping area of the first touch position and the second touch position is greater than or equal to a first threshold.
In an implementation manner of the present application, the fingerprint processing unit 504 is further configured to remove the fingerprint image when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold and the second touch position is not in the preset area;
the device further comprises:
and a prompting unit 505, configured to perform a prompting operation, where the prompting operation is used to prompt to re-enter the fingerprint.
In an implementation manner of the present application, the determining unit 502 is further configured to determine the definition of the fingerprint image when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold and the second touch position is in the preset area;
the fingerprint processing unit 504 is further configured to add the fingerprint image to the fingerprint template library if the definition of the fingerprint image is greater than or equal to a preset definition;
the fingerprint processing unit 504 is further configured to, when the definition of the fingerprint image is smaller than the preset definition, analyze the fingerprint image to obtain a plurality of fingerprint features; adding the fingerprint image to the fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
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 first touch position is in the preset area, where the first area includes the first 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 when the first area is lit to the first 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.
In an implementation manner of the present application, before the first area is lit to the first brightness, the determining unit 502 is further configured to determine that the size of the first touch position is greater than or equal to a third threshold.
In an implementation manner of the present application, the screen control unit 506 is further configured to control the fingerprint collection area to display a reason for failure in fingerprint entry during the prompt operation.
In an implementation manner of the present application, the screen control unit 506 is further configured to highlight the first area when the prompt operation is performed;
in terms of performing the prompting operation, the prompting unit 505 is specifically configured to:
and controlling the fingerprint acquisition area to display information for prompting re-entry of the fingerprint in the first area.
In an implementation manner of the present application, in highlighting the first area, the screen control unit 506 is specifically configured to: adding a frame to the first area; and/or controlling 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.
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 first touch signal sent by a touch panel TP;
the processor determines a first touch position where the finger touches the fingerprint acquisition area based on the first touch signal;
when the first touch position is in a preset area, 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 receives a second touch signal sent by the TP;
the processor determines a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
when the size of an overlapping area of the first touch position and the second touch position is larger than or equal to a first threshold value, the processor adds the fingerprint image to a fingerprint template library;
when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is not located in the preset area, the processor eliminates the fingerprint image and carries out prompt operation, wherein the prompt operation is used for prompting to re-enter the fingerprint;
when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold value and the second touch position is in the preset area, the processor determines the definition of the fingerprint image;
the processor adds the fingerprint image to the fingerprint template library under the condition that the definition of the fingerprint image is greater than or equal to a preset definition;
under the condition that the definition of the fingerprint image is smaller than the preset definition, the processor analyzes the fingerprint image to obtain a plurality of fingerprint characteristics; the processor adds the fingerprint image to the fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
2. The method of claim 1, further comprising:
when the first touch position is in the preset area, the processor lights a first area to first brightness, the first area comprises the first touch position, and the area of the first area is smaller than that of the fingerprint acquisition area.
3. The method of claim 2, 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.
4. The method of claim 2 or 3, wherein before the processor illuminates the first region to the first brightness, the method further comprises:
the processor determines that a size of the first touch location is greater than or equal to a third threshold.
5. The method of claim 4, further comprising:
and when the prompt operation is carried out, the processor controls the fingerprint acquisition area to display the reason of failure in fingerprint input.
6. The method of claim 5, further comprising:
when the prompt operation is carried out, the processor highlights the first area;
the processor performs a hint operation, including:
and the processor controls the fingerprint acquisition area to display information for prompting re-entry of the fingerprint in the first area.
7. The method of claim 6, wherein the processor highlights the first region, comprising:
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.
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 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 first 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 a first touch position of the fingerprint acquisition area touched by the finger based on the first touch signal;
the acquisition unit is used for controlling the fingerprint sensor to acquire signals when the first touch position is in a preset area so as to obtain a fingerprint image, and the fingerprint acquisition area comprises the preset area;
the signal acquisition unit is further configured to receive a second touch signal sent by the TP;
the determining unit is further configured to determine a second touch position where the finger touches the fingerprint acquisition area based on the second touch signal;
the fingerprint processing unit is used for adding the fingerprint image into a fingerprint template library under the condition that the first touch position and the second touch position are the same;
the fingerprint processing unit is further configured to remove the fingerprint image when the size of an overlapping area of the first touch position and the second touch position is smaller than a first threshold value and the second touch position is not in the preset area;
the prompting unit is used for carrying out prompting operation, and the prompting operation is used for prompting to re-input the fingerprint;
the determining unit is further configured to determine the definition of the fingerprint image when the size of an overlapping area of the first touch position and the second touch position is smaller than the first threshold and the second touch position is in the preset area;
the fingerprint processing unit is further used for adding the fingerprint image to the fingerprint template library under the condition that the definition of the fingerprint image is greater than or equal to the preset definition;
the fingerprint processing unit is further configured to analyze the fingerprint image to obtain a plurality of fingerprint features when the definition of the fingerprint image is smaller than the preset definition; adding the fingerprint image to the fingerprint template library if the number of the plurality of fingerprint features is greater than or equal to a second threshold.
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.
CN201811428248.2A 2018-11-27 2018-11-27 Fingerprint input method and related equipment Active CN109740430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811428248.2A CN109740430B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811428248.2A CN109740430B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Publications (2)

Publication Number Publication Date
CN109740430A CN109740430A (en) 2019-05-10
CN109740430B true CN109740430B (en) 2021-05-11

Family

ID=66358290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811428248.2A Active CN109740430B (en) 2018-11-27 2018-11-27 Fingerprint input method and related equipment

Country Status (1)

Country Link
CN (1) CN109740430B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076789A (en) * 2020-01-06 2021-07-06 北京小米移动软件有限公司 Fingerprint information processing method and device, terminal and storage medium
CN113391710B (en) * 2020-03-10 2023-06-20 华为技术有限公司 Method for detecting touch position of active pen and electronic terminal
CN112329561A (en) * 2020-10-23 2021-02-05 上海箩箕技术有限公司 Finger abnormity detection method and system for optical fingerprint acquisition under screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440477A (en) * 2013-08-26 2013-12-11 北京天诚盛业科技有限公司 Scratching type fingerprint acquisition device
WO2016095615A1 (en) * 2014-12-19 2016-06-23 比亚迪股份有限公司 Fingerprint recognition system and fingerprint recognition method and electronic device
CN107122721A (en) * 2017-04-13 2017-09-01 维沃移动通信有限公司 A kind of fingerprint identification method and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2749955B1 (en) * 1996-06-14 1998-09-11 Thomson Csf FINGERPRINT READING SYSTEM
CN101908143B (en) * 2010-08-09 2012-05-09 哈尔滨工程大学 Method for inspecting living body fingerprint slippage defect based on subband feature fusion
US20160246396A1 (en) * 2015-02-20 2016-08-25 Qualcomm Incorporated Interactive touchscreen and sensor array
CN107273780A (en) * 2016-04-06 2017-10-20 深圳指芯智能科技有限公司 A kind of fingerprint control ignition method and device
CN106407952A (en) * 2016-09-30 2017-02-15 北京小米移动软件有限公司 Fingerprint entry method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440477A (en) * 2013-08-26 2013-12-11 北京天诚盛业科技有限公司 Scratching type fingerprint acquisition device
WO2016095615A1 (en) * 2014-12-19 2016-06-23 比亚迪股份有限公司 Fingerprint recognition system and fingerprint recognition method and electronic device
CN107122721A (en) * 2017-04-13 2017-09-01 维沃移动通信有限公司 A kind of fingerprint identification method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于特征参数的指纹质量分类方法及应用研究;罗洋;《中国优秀硕士学位论文全文数据库信息科技辑》;20130215;12-28 *
指纹识别技术发展现状;顾陈磊等;《中国生物医学工程学报》;20170820;第36卷(第04期);470-482 *

Also Published As

Publication number Publication date
CN109740430A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109711259B (en) Fingerprint input method and related equipment
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN109740430B (en) Fingerprint input method and related equipment
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
CN104978133A (en) Screen capturing method and screen capturing device for intelligent terminal
CN105739868B (en) A kind of method and device that identification terminal is accidentally touched
CN105159581B (en) A kind of picture browsing method and mobile terminal
CN109543378B (en) Fingerprint unlocking method and related equipment
CN109241954B (en) Fingerprint identification method and related equipment
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN110796157A (en) Image difference identification method and device and storage medium
CN106503657A (en) A kind of fingerprint collecting method and terminal
CN105487784A (en) Control method and device of electronic terminal, terminal and system
CN108307068A (en) Pair screen shows interface switching method, mobile terminal and storage medium
CN105739700A (en) Notice opening method and apparatus
CN108717325B (en) Operation gesture setting method and device and mobile terminal
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
CN110298274B (en) Optical fingerprint parameter upgrading method and related product
US20140237338A1 (en) Adjusting layout size of hyperlink
CN109657562B (en) Fingerprint input method and related equipment
CN109032487A (en) Control method of electronic device, device, storage medium and electronic equipment
CN110162372B (en) Virtual key creation method and related equipment
CN109740520B (en) Fingerprint identification method and related equipment

Legal Events

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