CN108491834B - Fingerprint identification method and device - Google Patents

Fingerprint identification method and device Download PDF

Info

Publication number
CN108491834B
CN108491834B CN201810595969.6A CN201810595969A CN108491834B CN 108491834 B CN108491834 B CN 108491834B CN 201810595969 A CN201810595969 A CN 201810595969A CN 108491834 B CN108491834 B CN 108491834B
Authority
CN
China
Prior art keywords
finger
preset
position information
fingerprint identification
identification area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810595969.6A
Other languages
Chinese (zh)
Other versions
CN108491834A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810595969.6A priority Critical patent/CN108491834B/en
Publication of CN108491834A publication Critical patent/CN108491834A/en
Application granted granted Critical
Publication of CN108491834B publication Critical patent/CN108491834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The disclosure relates to a fingerprint identification method and device. The method comprises the following steps: when a pressure signal of a finger on the touch screen is monitored, position information of the finger is obtained, when the position information of the finger and a preset fingerprint identification area meet a preset position relation, a fingerprint image is obtained, and corresponding operation is controlled and executed according to a matching result of the fingerprint image and the preset fingerprint image. Whether a fingerprint image needs to be acquired or not can be determined based on the position relation between the position information of the finger and the preset fingerprint identification area, and therefore the fingerprint identification rate is prompted.

Description

Fingerprint identification method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a fingerprint identification method and apparatus.
Background
With the rapid development of information technology, the use of terminal devices (such as mobile phones, tablet computers, and the like) is becoming more and more popular. Fingerprint identification technology is widely applied to unlocking, awakening, mobile payment and the like of terminal equipment as a standard matching technology on the terminal equipment.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a fingerprint identification method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a fingerprint identification method, including:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
and controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when a pressure signal of a finger on the touch screen is monitored, position information of the finger is obtained, when the position information of the finger and a preset fingerprint identification area meet a preset position relation, a fingerprint image is obtained, and corresponding operation is controlled and executed according to a matching result of the fingerprint image and the preset fingerprint image. Whether a fingerprint image needs to be acquired or not can be determined based on the position relation between the position information of the finger and the preset fingerprint identification area, and therefore the fingerprint identification rate is prompted.
In one embodiment, the position information of the finger and the preset fingerprint identification area satisfy a preset position relationship, including:
when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger, determining the distance between the finger and the edge of the preset fingerprint identification area closest to the preset fingerprint identification area according to the position information of the finger;
and when the distance is smaller than a preset distance threshold value, determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation.
In one embodiment, the method comprises:
and when the finger is determined to be positioned in the preset fingerprint identification area according to the position information of the finger, determining that the position information of the finger and the preset fingerprint identification area meet a preset position relation.
In one embodiment, when the position information of the finger and the preset fingerprint identification area satisfy a preset position relationship, acquiring a fingerprint image includes:
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a pressure value of the finger;
when the pressure value meets a preset pressure value, controlling the touch screen to be switched to a background highlight mode;
and acquiring the fingerprint image after the touch screen is switched to a background highlight mode.
In one embodiment, the acquiring the fingerprint image after the touch screen is switched to the background highlight mode includes:
after the touch screen is detected to be switched to a background highlight mode, re-acquiring the pressure value of the finger;
and when the newly acquired pressure value meets the preset pressure value, acquiring the fingerprint image.
According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint identification device, including:
the monitoring module is used for monitoring whether a pressure signal of a finger on the touch screen is received or not;
the first acquisition module is used for acquiring the position information of the finger after the monitoring module monitors a pressure signal of the finger on the touch screen;
the detection module is used for detecting whether the position information of the finger acquired by the first acquisition module and a preset fingerprint identification area meet a preset position relation or not;
the second acquisition module is used for acquiring a fingerprint image when the detection module detects that the position information of the finger and a preset fingerprint identification area meet a preset position relation;
and the control module is used for controlling and executing corresponding operation according to the matching result of the fingerprint image acquired by the second acquisition module and a preset fingerprint image.
In one embodiment, the detection module comprises: a first determination submodule and a second determination submodule;
the first determining submodule is used for determining the distance between the finger and the edge of the preset fingerprint identification area closest to the finger according to the position information of the finger when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger;
the second determining submodule is configured to determine that the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship when the distance determined by the first determining submodule is smaller than a preset distance threshold.
In one embodiment, the detection module further comprises: a third determination submodule;
and the third determining submodule is used for determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation when the finger is determined to be located in the preset fingerprint identification area according to the position information of the finger.
In one embodiment, the second obtaining module includes: the device comprises a first acquisition submodule, a control submodule and a second acquisition submodule;
the first obtaining sub-module is used for obtaining the pressure value of the finger when the detection module detects that the position information of the finger and a preset fingerprint identification area meet a preset position relation;
the control submodule is used for controlling the touch screen to be switched into a background highlight mode when the pressure value acquired by the first acquisition submodule meets a preset pressure value;
and the second acquisition sub-module is used for acquiring the fingerprint image after the control sub-module controls the touch screen to be switched to a background highlight mode.
In one embodiment, the second obtaining sub-module includes: a third obtaining submodule and a fourth obtaining submodule;
the third obtaining submodule is used for obtaining the pressure value of the finger again after the control submodule is detected to control the touch screen to be switched to a background highlight mode;
the fourth obtaining sub-module is configured to obtain the fingerprint image when the pressure value obtained by the third obtaining sub-module again meets the preset pressure value.
According to a third aspect of the embodiments of the present disclosure, there is provided a fingerprint identification device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
and controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a fingerprint identification method according to an example embodiment.
FIG. 2 is a flow diagram illustrating a fingerprint identification method according to an example embodiment.
FIG. 3 is a block diagram illustrating a fingerprint recognition device according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a detection module in a fingerprint recognition device according to an example embodiment.
FIG. 5 is a block diagram illustrating a detection module in a fingerprint recognition device according to an example embodiment.
FIG. 6 is a block diagram illustrating a second acquisition module in a fingerprint recognition device according to an example embodiment.
FIG. 7 is a block diagram illustrating a second acquisition submodule in a fingerprint recognition device according to an example embodiment.
Fig. 8 is a block diagram illustrating an apparatus 80 for fingerprinting in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a fingerprint identification method according to an exemplary embodiment, which is applied to a terminal device, as shown in fig. 1, and includes the following steps S101-S103:
in step S101, after a pressure signal of the finger on the touch screen is monitored, position information of the finger is obtained.
When a user wants to perform an operation (such as unlocking a touch screen or paying money) requiring fingerprint authentication on a mobile phone, the user presses the touch screen of the terminal device with a finger, and when the terminal device monitors a pressure signal of the finger of the user on the touch screen, the user knows that the user possibly wants to perform the operation requiring fingerprint authentication on the mobile phone, and at the moment, the position information of the finger of the user is obtained.
Wherein the position information of the finger can be expressed in the form of coordinates.
When a user presses a finger on the touch screen, the touch screen can be monitored to be touched by the finger, and then the position information of the finger can be acquired.
In step S102, when the position information of the finger and the preset fingerprint identification area satisfy a preset position relationship, a fingerprint image is acquired.
Since the fingerprint needs to be used for authentication, the fingerprint image needs to be acquired, and therefore, when the position information of the finger and the preset fingerprint identification area meet the preset position relationship, the fingerprint image is acquired.
And after the touch acquires the position information of the finger, the position information of the finger is carried in a touch signal and transmitted to the pressure sensor, and after the pressure sensor receives the touch signal, whether the position information of the finger and the preset fingerprint identification area meet a preset position relation or not is judged.
In step S103, corresponding operations are controlled to be performed according to the matching result of the fingerprint image and the preset fingerprint image.
A preset fingerprint image is preset for different operations of the terminal device, and the preset fingerprint image is used for executing corresponding operations, such as: a preset fingerprint image can be preset for the operation of unlocking the touch screen, and another preset fingerprint image can also be preset for the operation of paying by the payment bank; of course, the same preset fingerprint image may also be preset for different operations of the terminal device, where the preset fingerprint image is used to start the current operation to be executed, for example: the same preset fingerprint image can be preset for the operations of unlocking the touch screen and paying by the payment device.
After the fingerprint image is acquired, matching is performed based on the acquired fingerprint image and a preset fingerprint image to obtain a matching result, and corresponding operation can be executed based on different matching results.
For example, the matching result may be whether the acquired fingerprint image is the same as the preset fingerprint image; alternatively, the matching result may be a percentage of similarity between the acquired fingerprint image and the preset fingerprint image.
Taking unlocking the touch screen as an example, when the matching result of the acquired fingerprint image and the preset fingerprint image is that the fingerprint image is the same as the preset fingerprint image, unlocking the touch screen of the terminal device; or when the similarity is greater than 70%, the touch screen of the terminal device is unlocked, and when the similarity between the acquired fingerprint image and the preset fingerprint image is 80%, the touch screen of the terminal device is unlocked.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when a pressure signal of a finger on the touch screen is monitored, position information of the finger is obtained, when the position information of the finger and a preset fingerprint identification area meet a preset position relation, a fingerprint image is obtained, and corresponding operation is controlled and executed according to a matching result of the fingerprint image and the preset fingerprint image. Whether a fingerprint image needs to be acquired or not can be determined based on the position relation between the position information of the finger and the preset fingerprint identification area, and therefore the fingerprint identification rate is prompted.
In the related art, when it is determined that the finger is located in the preset fingerprint identification area according to the position information of the finger, it is determined that the position information of the finger and the preset fingerprint identification area satisfy a preset position relationship, and normal fingerprint identification is performed once.
However, since the terminal device is in the screen-off state, the user cannot accurately locate the preset fingerprint identification area in the terminal device, and may press the finger at the edge of the preset fingerprint identification area, the position information of the finger may be outside the preset fingerprint identification area, but the area of the finger falling in the preset fingerprint area is large enough to meet the requirement of fingerprint matching by a fingerprint algorithm, and the above scheme may miss a normal fingerprint identification.
In one embodiment, the step of enabling the position information of the finger to satisfy the preset position relationship with the preset fingerprint identification area comprises the following steps A1-A3:
in a1, when it is determined that the finger is located outside the preset fingerprint identification area according to the position information of the finger, the distance from the finger to the edge of the preset fingerprint identification area closest to the finger is determined according to the position information of the finger.
In a2, when the distance is less than the preset distance threshold, it is determined that the position information of the finger and the preset fingerprint identification area satisfy the preset position relationship.
In a3, when it is determined that the finger is located within the preset fingerprint identification area based on the position information of the finger, it is determined that the position information of the finger and the preset fingerprint identification area satisfy a preset positional relationship.
By the method, the condition that the finger is pressed in the preset fingerprint identification area and the condition that the finger is pressed on the edge of the preset fingerprint identification area can be compatible, and the fingerprint identification rate is effectively improved.
In one embodiment, when the position information of the finger and the preset fingerprint identification area satisfy the preset position relationship, acquiring a fingerprint image, including the following steps B1-B3:
in B1, when the position information of the finger and the preset fingerprint identification area satisfy a preset positional relationship, a pressure value of the finger is acquired.
In B2, when the pressure value satisfies the preset pressure value, the touch screen is controlled to switch to the background highlighting mode.
In B3, after the touch screen is switched to the background highlight mode, the fingerprint image is acquired.
In order to avoid that the user accidentally touches the touch screen with a finger to start primary fingerprint identification, when the position information of the finger and the preset fingerprint identification area meet the preset position relation, whether the pressure value of the finger meets the preset pressure value needs to be detected, and the primary fingerprint identification is started when the pressure value meets the preset pressure value.
When fingerprint collection is performed, optical fingerprint collection is commonly performed, and optical fingerprint collection utilizes the phenomena of total reflection and diffuse reflection, light is emitted from a light source under the condition that no finger is pressed, the whole fingerprint surface is totally reflected, the totally reflected light is parallelly emitted into a convex lens, the convex lens is imaged on a Complementary Metal Oxide Semiconductor (CMOS), and the collected image is blank. When a finger presses, the fingerprint protrusion part generates a diffuse reflection phenomenon, and the intensity of the diffuse reflection light is much lower than that of total reflection, so that a fingerprint image with high contrast and clear black and white is finally formed.
The term "total reflection" refers to a phenomenon in which light is totally reflected back into an original medium when the light strikes an interface between an optically dense medium (i.e., a medium having a large refractive index) and an optically sparse medium (i.e., a medium having a small refractive index). Two conditions must be met for total reflection to occur, one being that the angle of incidence is greater than the critical angle. The second is that light must be transmitted from the optically dense medium to the optically thinner medium.
Diffuse reflection refers to the phenomenon in which light incident on a rough surface is reflected in various directions. When a parallel incident light beam strikes a rough surface, the surface reflects the light beam in all directions, although the incident light beams are parallel to each other, the reflected light beam is randomly reflected in different directions due to the non-uniform normal direction of each point.
The in-plane optical fingerprint is self-luminous by means of an Organic Light-Emitting Diode (OLED) screen, a fingerprint sensor can be arranged below the screen, a Light source of the OLED is used for irradiating the fingerprint, and the phenomena of total reflection and diffuse reflection are utilized to form a fingerprint image with high contrast ratio and clear black and white.
Therefore, in order to make the acquired fingerprint image clearer, the touch screen is controlled to be switched to the background highlight mode before the fingerprint image is acquired, and the fingerprint image is acquired after the touch screen is switched to the background highlight mode.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after the touch screen is switched to the background highlight mode, the fingerprint image is acquired, and the quality of the acquired fingerprint image can be improved due to the fact that the touch screen is switched to the background highlight mode.
In one embodiment, after the touch screen is switched to the background highlighting mode, the fingerprint image is acquired, and the method comprises the following sub-steps of C1-C2:
in C1, after detecting that the touch screen is switched to the background highlight mode, the pressure value of the finger is obtained again.
In C2, when the newly acquired pressure value satisfies the preset pressure value, a fingerprint image is acquired.
After the touch screen is switched to the background highlight mode, if the user finger leaves the touch screen at the moment, the step of acquiring the fingerprint image is not needed, and the fingerprint identification procedure is avoided to be performed for one time, so that the pressure value of the finger can be acquired again after the touch screen is switched to the background highlight mode, and when the pressure value of the finger at the moment meets the preset pressure value, the fingerprint image is acquired.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after detecting that the touch screen switches to the background highlight mode, reacquire the pressure value of finger, when reacquiring the pressure value and satisfying preset pressure value, just go to acquire the fingerprint image to promote the reliability of fingerprint identification procedure execution.
Fig. 2 is a flow chart illustrating a method of fingerprinting, according to an exemplary embodiment, the method comprising the steps of, as shown in fig. 2:
in step S201, after a pressure signal of the finger on the touch screen is monitored, position information of the finger is obtained.
In step S202, determining whether the finger is located in the preset fingerprint identification area according to the position information of the finger, and executing steps S203-S204 when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger; when it is determined that the finger is located within the preset fingerprint identification area according to the position information of the finger, step S205 is performed.
In step S203, the distance between the finger and the nearest edge of the preset fingerprint identification area is determined according to the position information of the finger.
In step S204, detecting whether the distance is smaller than a preset distance threshold, and if the detected distance is smaller than the preset distance threshold, executing step S205; when the detected distance is greater than or equal to the preset distance threshold, no operation is performed.
In step S205, the pressure value of the finger is acquired.
In step S206, when the pressure value satisfies the preset pressure value, the touch screen is controlled to switch to the background highlighting mode.
In step S207, after the touch screen is switched to the background highlighting mode, the pressure value of the finger is obtained again.
In step S208, when the newly acquired pressure value satisfies the preset pressure value, a fingerprint image is acquired.
In step S209, the corresponding operation is controlled to be performed according to the matching result of the fingerprint image and the preset fingerprint image.
For clearly explaining the technical solution in the present disclosure, the following description takes the function of the acquired fingerprint image to unlock the screen as an example:
the user presses the screen with the finger, and after touch detects that there is the finger to press the screen, obtain the positional information of finger, carry the positional information of finger in the touch signal and transmit for pressure sensor.
After receiving the touch signal, the pressure sensor judges whether the position information of the finger is in a preset fingerprint area, if so, the pressure value of the finger is obtained, and an event is reported, wherein the reported event carries the type and the value of the event, the type of the event is the event corresponding to the pressure value, and the value is the pressure value; and if the judgment result is that the finger is positioned outside the preset fingerprint area, calculating the distance between the finger and the edge closest to the preset fingerprint area, and if the distance is smaller than a preset distance threshold value, still reporting the event by the pressure sensor.
The screen locking program can poll the event node of the pressure sensor, when the event is received after being sent, whether the type and the value of the event are the event corresponding to the pressure value is detected, if yes, a preset pressure threshold value is obtained from system setting, then whether the pressure value carried by the event is larger than the preset pressure threshold value is detected, if the pressure value carried by the event is larger than the preset pressure threshold value, the screen locking program can inform the display module to switch the screen into a background highlight mode, and after the background highlight mode is switched, the screen locking program can transmit information that the background is successfully switched into the highlight mode to the fingerprint module through an interface provided by the fingerprint module.
When the steps are executed, the fingerprint module polls an event node of the pressure sensor, when the event is polled and received, firstly, whether the type and the value of the event are the event corresponding to the pressure value is detected, if so, a preset pressure threshold value is obtained from system setting, then, whether the pressure value carried by the event is larger than the preset pressure threshold value is detected, and if the pressure value carried by the event is larger than the preset pressure threshold value, the fingerprint module starts to work after receiving information that the background is successfully switched into a highlight mode and transmitted by a screen locking program.
The fingerprint module firstly captures a fingerprint image of a user, then transmits the fingerprint image to a back-end algorithm program, the algorithm program starts to extract characteristic value information of the fingerprint image, the characteristic value information is matched with preset fingerprint information stored in a fingerprint template library, and the fingerprint module finally transmits a matching result back to the fingerprint calling program.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 is a block diagram illustrating a fingerprint recognition apparatus that may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 3, the fingerprint recognition device includes:
the monitoring module 11 is configured to monitor whether a pressure signal of a finger on the touch screen is received;
the first obtaining module 12 is configured to obtain position information of a finger after the monitoring module 11 monitors a pressure signal of the finger on the touch screen;
the detection module 13 is configured to detect whether the position information of the finger acquired by the first acquisition module 12 and a preset fingerprint identification area satisfy a preset position relationship;
a second obtaining module 14, configured to obtain a fingerprint image when the detecting module 13 detects that the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship;
and the control module 15 is configured to control to execute a corresponding operation according to a matching result between the fingerprint image acquired by the second acquiring module 14 and a preset fingerprint image.
In one embodiment, as shown in fig. 4, the detection module 13 includes: a first determination submodule 131 and a second determination submodule 132;
the first determining submodule 131 is configured to determine, according to the position information of the finger, a distance between the finger and an edge of the preset fingerprint identification area closest to the preset fingerprint identification area when it is determined that the finger is located outside the preset fingerprint identification area according to the position information of the finger;
the second determining submodule 132 is configured to determine that the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship when the distance determined by the first determining submodule 131 is smaller than a preset distance threshold.
In one embodiment, as shown in fig. 5, the detection module 13 further includes: a third determination submodule 133;
the third determining submodule 133 is configured to determine that the position information of the finger and a preset fingerprint identification area meet a preset position relationship when it is determined that the finger is located in the preset fingerprint identification area according to the position information of the finger.
In one embodiment, as shown in fig. 6, the second obtaining module 14 includes: a first acquisition submodule 141, a control submodule 142 and a second acquisition submodule 143;
the first obtaining sub-module 141 is configured to obtain a pressure value of the finger when the detection module 13 detects that the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship;
the control submodule 142 is configured to control the touch screen to switch to a background highlight mode when the pressure value obtained by the first obtaining submodule 141 meets a preset pressure value;
the second obtaining sub-module 143 is configured to obtain the fingerprint image after the control sub-module 142 controls the touch screen to switch to the background highlight mode.
In one embodiment, as shown in fig. 7, the second obtaining sub-module 143 includes: a third acquisition sub-module 1431 and a fourth acquisition sub-module 1432;
the third obtaining sub-module 1431 is configured to obtain the pressure value of the finger again after the control sub-module is detected to control the touch screen to switch to the background highlight mode;
the fourth obtaining sub-module 1432 is configured to obtain the fingerprint image when the pressure value obtained by the third obtaining sub-module 1431 again meets the preset pressure value.
According to a third aspect of the embodiments of the present disclosure, there is provided a fingerprint identification device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
and controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image.
The processor may be further configured to:
the position information of the finger and the preset fingerprint identification area meet the preset position relation, and the method comprises the following steps:
when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger, determining the distance between the finger and the edge of the preset fingerprint identification area closest to the preset fingerprint identification area according to the position information of the finger;
and when the distance is smaller than a preset distance threshold value, determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation.
The method comprises the following steps:
and when the finger is determined to be positioned in the preset fingerprint identification area according to the position information of the finger, determining that the position information of the finger and the preset fingerprint identification area meet a preset position relation.
When the position information of the finger and the preset fingerprint identification area meet the preset position relation, acquiring a fingerprint image, including:
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a pressure value of the finger;
when the pressure value meets a preset pressure value, controlling the touch screen to be switched to a background highlight mode;
and acquiring the fingerprint image after the touch screen is switched to a background highlight mode.
After the touch screen is switched to the background highlight mode, acquiring the fingerprint image, including:
after the touch screen is detected to be switched to a background highlight mode, re-acquiring the pressure value of the finger;
and when the newly acquired pressure value meets the preset pressure value, acquiring the fingerprint image.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an apparatus 80 for fingerprint recognition, which is suitable for a terminal device, according to an exemplary embodiment. For example, the apparatus 80 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 80 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the device 80. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a touch screen that provides an output interface between the device 80 and the user. In some embodiments, the touch screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the touch screen includes a touch panel, the touch screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of the components, such as a display and keypad of the device 80, the change in position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and the change in temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 80 and other devices. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of an apparatus 80, enable the apparatus 80 to perform the above-described fingerprinting method, the method comprising:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
and controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image.
The position information of the finger and the preset fingerprint identification area meet the preset position relation, and the method comprises the following steps:
when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger, determining the distance between the finger and the edge of the preset fingerprint identification area closest to the preset fingerprint identification area according to the position information of the finger;
and when the distance is smaller than a preset distance threshold value, determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation.
The method comprises the following steps:
and when the finger is determined to be positioned in the preset fingerprint identification area according to the position information of the finger, determining that the position information of the finger and the preset fingerprint identification area meet a preset position relation.
When the position information of the finger and the preset fingerprint identification area meet the preset position relation, acquiring a fingerprint image, including:
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a pressure value of the finger;
when the pressure value meets a preset pressure value, controlling the touch screen to be switched to a background highlight mode;
and acquiring the fingerprint image after the touch screen is switched to a background highlight mode.
After the touch screen is switched to the background highlight mode, acquiring the fingerprint image, including:
after the touch screen is detected to be switched to a background highlight mode, re-acquiring the pressure value of the finger;
and when the newly acquired pressure value meets the preset pressure value, acquiring the fingerprint image.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A fingerprint identification method, comprising:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image;
the position information of the finger and the preset fingerprint identification area meet the preset position relation, and the method comprises the following steps:
when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger, determining the distance between the finger and the edge of the preset fingerprint identification area closest to the preset fingerprint identification area according to the position information of the finger;
and when the distance is smaller than a preset distance threshold value, determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation.
2. The method according to claim 1, characterized in that it comprises:
and when the finger is determined to be positioned in the preset fingerprint identification area according to the position information of the finger, determining that the position information of the finger and the preset fingerprint identification area meet a preset position relation.
3. The method according to claim 1, wherein when the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship, acquiring a fingerprint image comprises:
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a pressure value of the finger;
when the pressure value meets a preset pressure value, controlling the touch screen to be switched to a background highlight mode;
and acquiring the fingerprint image after the touch screen is switched to a background highlight mode.
4. The method of claim 3, wherein the acquiring the fingerprint image after the touch screen is switched to the background highlight mode comprises:
after the touch screen is detected to be switched to a background highlight mode, re-acquiring the pressure value of the finger;
and when the newly acquired pressure value meets the preset pressure value, acquiring the fingerprint image.
5. A fingerprint recognition device, comprising:
the monitoring module is used for monitoring whether a pressure signal of a finger on the touch screen is received or not;
the first acquisition module is used for acquiring the position information of the finger after the monitoring module monitors a pressure signal of the finger on the touch screen;
the detection module is used for detecting whether the position information of the finger acquired by the first acquisition module and a preset fingerprint identification area meet a preset position relation or not;
the second acquisition module is used for acquiring a fingerprint image when the detection module detects that the position information of the finger and a preset fingerprint identification area meet a preset position relation;
the control module is used for controlling and executing corresponding operation according to the matching result of the fingerprint image acquired by the second acquisition module and a preset fingerprint image;
the detection module comprises: a first determination submodule and a second determination submodule;
the first determining submodule is used for determining the distance between the finger and the edge of the preset fingerprint identification area closest to the finger according to the position information of the finger when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger;
the second determining submodule is configured to determine that the position information of the finger and a preset fingerprint identification area satisfy a preset position relationship when the distance determined by the first determining submodule is smaller than a preset distance threshold.
6. The apparatus of claim 5, wherein the detection module further comprises: a third determination submodule;
and the third determining submodule is used for determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation when the finger is determined to be located in the preset fingerprint identification area according to the position information of the finger.
7. The apparatus of claim 5, wherein the second obtaining module comprises: the device comprises a first acquisition submodule, a control submodule and a second acquisition submodule;
the first obtaining sub-module is used for obtaining the pressure value of the finger when the detection module detects that the position information of the finger and a preset fingerprint identification area meet a preset position relation;
the control submodule is used for controlling the touch screen to be switched into a background highlight mode when the pressure value acquired by the first acquisition submodule meets a preset pressure value;
and the second acquisition sub-module is used for acquiring the fingerprint image after the control sub-module controls the touch screen to be switched to a background highlight mode.
8. The apparatus of claim 7, wherein the second acquisition submodule comprises: a third obtaining submodule and a fourth obtaining submodule;
the third obtaining submodule is used for obtaining the pressure value of the finger again after the control submodule is detected to control the touch screen to be switched to a background highlight mode;
the fourth obtaining sub-module is configured to obtain the fingerprint image when the pressure value obtained by the third obtaining sub-module again meets the preset pressure value.
9. A fingerprint recognition device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a pressure signal of a finger on the touch screen is monitored, acquiring position information of the finger;
when the position information of the finger and a preset fingerprint identification area meet a preset position relation, acquiring a fingerprint image;
controlling to execute corresponding operation according to the matching result of the fingerprint image and a preset fingerprint image;
the position information of the finger and the preset fingerprint identification area meet the preset position relation, and the method comprises the following steps:
when the finger is determined to be located outside the preset fingerprint identification area according to the position information of the finger, determining the distance between the finger and the edge of the preset fingerprint identification area closest to the preset fingerprint identification area according to the position information of the finger;
and when the distance is smaller than a preset distance threshold value, determining that the position information of the finger and a preset fingerprint identification area meet a preset position relation.
10. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to any one of claims 1 to 4.
CN201810595969.6A 2018-06-11 2018-06-11 Fingerprint identification method and device Active CN108491834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810595969.6A CN108491834B (en) 2018-06-11 2018-06-11 Fingerprint identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810595969.6A CN108491834B (en) 2018-06-11 2018-06-11 Fingerprint identification method and device

Publications (2)

Publication Number Publication Date
CN108491834A CN108491834A (en) 2018-09-04
CN108491834B true CN108491834B (en) 2022-03-08

Family

ID=63342502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810595969.6A Active CN108491834B (en) 2018-06-11 2018-06-11 Fingerprint identification method and device

Country Status (1)

Country Link
CN (1) CN108491834B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389090A (en) * 2018-10-19 2019-02-26 北京小米移动软件有限公司 Fingerprint input method and device
CN112506414A (en) * 2020-12-23 2021-03-16 成都师范学院 Image input/output switching method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326711A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Mobile terminal control method and device
CN107491677A (en) * 2017-08-15 2017-12-19 北京小米移动软件有限公司 Fingerprint recognition processing method, device, equipment and storage medium
CN107566628A (en) * 2017-08-28 2018-01-09 京东方科技集团股份有限公司 Display module and its display methods, terminal
CN108133180A (en) * 2017-12-11 2018-06-08 北京小米移动软件有限公司 Fingerprint identification method, device and terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102177150B1 (en) * 2014-02-19 2020-11-10 삼성전자 주식회사 Apparatus and method for recognizing a fingerprint
KR102212632B1 (en) * 2014-05-12 2021-02-08 삼성전자주식회사 Fingerprint Recognition method and electronic device performing thereof
CN105893955B (en) * 2016-03-30 2019-07-26 努比亚技术有限公司 Fingerprint identification device and method
CN106096359B (en) * 2016-05-30 2017-10-31 广东欧珀移动通信有限公司 One kind solution lock control method and mobile terminal
CN106503657A (en) * 2016-10-31 2017-03-15 深圳市金立通信设备有限公司 A kind of fingerprint collecting method and terminal
CN106874846A (en) * 2017-01-03 2017-06-20 上海创功通讯技术有限公司 A kind of fingerprint identification method and identifying device based on terminal screen
CN106960146A (en) * 2017-03-20 2017-07-18 宇龙计算机通信科技(深圳)有限公司 Control method and device for the electronic equipment with full frame fingerprint recognition
CN107038364A (en) * 2017-03-31 2017-08-11 努比亚技术有限公司 Identification authentication system and method
CN107480609B (en) * 2017-07-31 2020-01-14 Oppo广东移动通信有限公司 Fingerprint identification method and related product
CN108052877B (en) * 2017-11-28 2020-08-07 Oppo广东移动通信有限公司 Optical fingerprint identification method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326711A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Mobile terminal control method and device
CN107491677A (en) * 2017-08-15 2017-12-19 北京小米移动软件有限公司 Fingerprint recognition processing method, device, equipment and storage medium
CN107566628A (en) * 2017-08-28 2018-01-09 京东方科技集团股份有限公司 Display module and its display methods, terminal
CN108133180A (en) * 2017-12-11 2018-06-08 北京小米移动软件有限公司 Fingerprint identification method, device and terminal

Also Published As

Publication number Publication date
CN108491834A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
EP3331226B1 (en) Method and device for reading messages
CN106570442B (en) Fingerprint identification method and device
US20170123587A1 (en) Method and device for preventing accidental touch of terminal with touch screen
US10216976B2 (en) Method, device and medium for fingerprint identification
JP2020512604A (en) Fingerprint unlock method, device, program and recording medium
CN107391995B (en) Unlocking operation processing method and device
US20170116451A1 (en) Terminal device with function of fingerprint identification
CN109324863B (en) Fingerprint identification method and device and computer readable storage medium
WO2022110614A1 (en) Gesture recognition method and apparatus, electronic device, and storage medium
EP3232301A1 (en) Mobile terminal and virtual key processing method
CN107643818B (en) Function opening method and device
CN108898126B (en) Fingerprint identification method and device
CN106778169B (en) Fingerprint unlocking method and device
CN108491834B (en) Fingerprint identification method and device
CN110765813B (en) Fingerprint identification method and device
CN107688765B (en) Fingerprint acquisition method and device
CN107562350B (en) Method and device for reporting key event
US10671827B2 (en) Method and device for fingerprint verification
CN107133551B (en) Fingerprint verification method and device
CN110929550A (en) Fingerprint identification method and device, electronic equipment and storage medium
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys
CN114724196A (en) False touch prevention method and device, electronic equipment and storage medium
CN107292155B (en) Fingerprint information verification method and device and computer readable storage medium
CN106843691B (en) Operation control method and device of mobile terminal

Legal Events

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