CN108009409A - Fingerprint identification method, device, terminal device and computer-readable storage medium - Google Patents
Fingerprint identification method, device, terminal device and computer-readable storage medium Download PDFInfo
- Publication number
- CN108009409A CN108009409A CN201711207425.XA CN201711207425A CN108009409A CN 108009409 A CN108009409 A CN 108009409A CN 201711207425 A CN201711207425 A CN 201711207425A CN 108009409 A CN108009409 A CN 108009409A
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- module
- button operation
- power key
- finger print
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Collating Specific Patterns (AREA)
- Image Input (AREA)
- Telephone Function (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The embodiment of the invention discloses a kind of fingerprint identification method, device, terminal device and computer-readable storage medium, the method is suitable for the terminal device of the position coincidence of finger print acquisition module and power key, the described method includes:Judge whether to detect the button operation of power key;When detecting the button operation, the first notification message is sent to fingerprint Hal modules, first notification message is used to indicate that the fingerprint Hal modules stop sending fingerprint matching result to fingerprint native service modules.This method can accurately distinguish fingerprinting operation and button operation, and then effectively increase user experience.
Description
Technical field
The present embodiments relate to fingerprint identification technology field, more particularly to a kind of fingerprint identification method, device, terminal to set
Standby and computer-readable storage medium.
Background technology
Fingerprint recognition refers to be differentiated by the details feature of more different fingerprints, due to everyone fingerprint not
Together, therefore can be discriminated one's identification with fingerprint.More and more asked as the safety problems such as the development of technology, network payment face
Topic, traditional secure payment based on password, Encryption Algorithm and identifying code can not meet demand in security and convenience.Base
In the uniqueness of fingerprint, fingerprint recognition is widely applied in each terminal device.
The existing terminal device with fingerprint recognition, its finger print acquisition module are arranged on front or the back of the body of terminal device
Face.But when finger print acquisition module is arranged on the front of terminal device, the accounting of display screen can be reduced.When fingerprint collecting mould
When block is arranged on the back side of terminal device, user, which must pick up terminal device, could carry out fingerprinting operation.With comprehensive screen terminal,
Finger print acquisition module, can be arranged on the side of terminal device by the popularization of double screen terminal, be set with the power key of terminal device
In same position, to improve the accounting of display screen, and it is convenient for the user to operate.
But this terminal device for combining fingerprint module and power key, when user's operation power key, refer to
Line operation can work.For example, under screen state of going out, when user presses the bright screen of power key and sees the time, it is complete fingerprinting operation to be carried out
Into unlocked by fingerprint, into main interface.Therefore, the terminal device combined for finger print acquisition module and power key, how
Differentiating button operation and fingerprinting operation becomes urgent problem to be solved.
The content of the invention
The embodiment of the present invention provides a kind of fingerprint identification method, device, terminal device and computer-readable storage medium, to solve
When the finger print acquisition module of terminal device and the position of power key overlap, and then it cannot be distinguished by fingerprinting operation and button operation
Problem.
In a first aspect, the embodiment of the present invention provides a kind of fingerprint identification method, the method is suitable for finger print acquisition module
The terminal device overlapped with the position of power key, the described method includes:
Judge whether to detect the button operation of power key;
When detecting the button operation, the first notification message, first notification message are sent to fingerprint Hal modules
For indicating that the fingerprint Hal modules stop sending fingerprint matching as a result, the fingerprint matching knot to fingerprint local service module
Fruit is the result obtained after the fingerprint image that the finger print acquisition module gathers is matched with default fingerprint image.
Second aspect, the embodiment of the present invention provide a kind of fingerprint identification device, and described device is suitable for finger print acquisition module
The terminal device overlapped with the position of power key, described device include:
Judgment module, for judging whether to detect the button operation of power key;
Sending module, for when the judgment module judges to detect the button operation, being sent to fingerprint Hal modules
First notification message, first notification message are used to indicate that the fingerprint Hal modules stop sending out to fingerprint local service module
Fingerprint matching is sent as a result, the fingerprint matching result is the fingerprint image and default fingerprint for gathering the finger print acquisition module
The result that image obtains after being matched.
The third aspect, the embodiment of the present invention provide a kind of terminal device, including:Processor and be configured as storage processor
The memory of executable instruction;
The processor is configured as performing the fingerprint identification method described in above-mentioned first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, computer are stored in the storage medium
Program, the computer program realize the fingerprint identification method described in above-mentioned first aspect upon execution.
The embodiment of the present invention has the beneficial effect that:
In embodiments of the present invention, by judging whether to detect the button operation of power key, when detecting button operation
When, the first notification message is sent to fingerprint Hal modules, to indicate that fingerprint Hal modules stop sending to fingerprint local service module
Fingerprint matching result.That is the present embodiment, the terminal device overlapped for the position of power key and finger print acquisition module, passes through detection
The button operation of power key, when solving user's operation power key, finger print acquisition module also responsive to the problem of, so as to accurately distinguish
Fingerprinting operation and button operation, improve the user experience of terminal device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is fingerprint identification process schematic diagram in correlation technique;
Fig. 2 is the flow chart for the fingerprint identification method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of fingerprint identification method provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart for the fingerprint identification method that the embodiment of the present invention three provides;
Fig. 5 is the structure schematic diagram for the fingerprint identification device knot that the embodiment of the present invention one provides;
Fig. 6 is the structure diagram of fingerprint identification device provided by Embodiment 2 of the present invention;
Fig. 7 is the structure diagram of terminal device provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
The present embodiments relate to terminal device, can be mobile phone, tablet computer etc. have fingerprint identification function end
End, the terminal device include the equipment for providing a user voice and/or data service.Finger print acquisition module on the terminal device
Overlapped with the position of power key.
Fig. 1 is fingerprint identification process schematic diagram in correlation technique.Fig. 1 is that name is carried out by taking screen locking application module as an example, its
The flow of his application module is identical with the flow of screen locking application module, with reference to.
As shown in Figure 1, KeyguardUpdateMonitor (screen locking renewal monitor) is screen locking application module, belong to use
Family process.Fingerprint Manager (fingerprint management device), Fingerprint Service (fingerprint framework services),
Authentication Client (client certificate) service for fingerprint Android (Android), belong to system service process.
Fingerprintd (fingerprint finger daemon) is fingerprint native (local) service module, Hal (Hardware Abstraction
Layer, hardware abstraction layer) it is fingerprint Hal modules, belong to single daemon (finger daemon) with Fingerprintd.From
Above-mentioned flow, which can be seen that fingerprint recognition, to be completed by way of readjustment.
Screen locking flow is:Screen locking application module calls fingerprint recognition interface, through fingerprint Android services, fingerprint native
Service module is called to fingerprint Hal modules, and fingerprint is in image scanning pattern (wait let go finger) at this time.When detecting finger
Afterwards, Image Acquisition and fingerprint minutiae matching are initiated by fingerprint Hal modules, and fingerprint matching result is notified to take to fingerprint native
Business module, then fingerprint Android services are passed to by way of readjustment, final readjustment arrives screen locking application module, completes to unlock work(
Energy.
But when the finger print acquisition module of terminal device and the position of power key overlap, fingerprint recognition as shown in Figure 1
Method, when power supply key pressing, finger print acquisition module is also responsive to and then cannot be distinguished by fingerprinting operation and button operation.
In order to solve the above-mentioned technical problem, fingerprint identification method provided in an embodiment of the present invention, by detecting power key
Button operation, before fingerprint matching result is sent to fingerprint native service modules by fingerprint Hal modules, to fingerprint Hal modules
Send a notification message, to indicate whether fingerprint Hal modules send fingerprint matching result to fingerprint native service modules.Specifically
It is, when detecting button operation, the first notification message to be sent to fingerprint Hal modules, to indicate that fingerprint Hal modules stop to finger
Line native service modules send fingerprint matching as a result, power key works at this time, and fingerprinting operation does not work, and then accurate area
Divide fingerprinting operation and button operation, improve the user experience of terminal device.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and may be repeated no more for the same or similar concept or process in some embodiments.
Fig. 2 is the flow chart for the fingerprint identification method that the embodiment of the present invention one provides.The executive agent of the present embodiment is eventually
Processor in end equipment, as shown in Fig. 2, the method for the present embodiment can include:
S101, judge whether to detect the button operation of power key.
The power key and finger print acquisition module of the present embodiment can be arranged on the side of terminal device, can also be arranged on end
The front of end equipment, or the back side of terminal device is arranged on, the present embodiment is without limitation.
Finger print acquisition module can be the device that fingerprint sensor etc. can collect fingerprint image.
The terminal device of the present embodiment, when user presses power key, the processor in terminal device detects power key
When a length of first duration used is pressed, finger print acquisition module collects fingerprint image and fingerprint characteristic module completes fingerprint spy
Sign matching when a length of second duration used, wherein, the first duration is less than the second duration.
Based on this, in order to avoid interference of the fingerprinting operation to power button process flow, button of the processor to power key
Operation is detected, and is specifically, and whether detection user presses power key, and the time of pressing power key.
When detecting button operation due to processor, fingerprint matching does not complete also, and such processor can be in fingerprint matching
As a result before generating, i.e., before fingerprint Hal modules send fingerprint matching result to fingerprint native service modules, to fingerprint Hal
Module sends a notification message, to indicate whether fingerprint Hal modules need fingerprint matching result being sent to fingerprint native services
Module.
S102, when detecting the button operation, send the first notification message to fingerprint Hal modules, described first is logical
Know that message is used to indicate that the fingerprint Hal modules stop sending fingerprint matching result to fingerprint native service modules.
Wherein, the fingerprint matching result is the fingerprint image and default fingerprint image for gathering the finger print acquisition module
As the result obtained after being matched.
Specifically, when processor detects that user presses the button operation of power key, illustrate that user is expectation pair at this time
Power key is operated, and to realize the bright screen of terminal device or the processing such as screen of going out, rather than finger print acquisition module is operated.This
When, processor sends the first notification message to fingerprint Hal modules, which is used to indicate that fingerprint Hal modules stop
Fingerprint matching result is sent to fingerprint native service modules.In this way, after fingerprint Hal modules receive the first notification message, then
The fingerprint matching result of generation will not be sent to fingerprint native service modules, fingerprint recognition result will not then adjust back correlation
Application module, fingerprinting operation with regard to this stop.Power key then realizes corresponding operation according to button operation at this time, for example, when eventually
When end equipment is bright screen, after user presses power key, terminal device goes out screen, alternatively, when terminal device shields to go out, in user
After pressing power key, the bright screen of terminal device.
In the present embodiment, when processor is not detected by the button operation of power key, corresponding situation is relatively more, example
It such as can be that user does not carry out any operation to terminal device, alternatively, user touches finger print acquisition module, but not press voltage source
Key, or user do not operate etc. finger print acquisition module and power key.
At this time, processor needs to be analyzed, and judges whether to send a notification message to fingerprint Hal modules.For example, when processing
Device judges that user does not carry out terminal device any operation, or when not carrying out any operation to finger print acquisition module, processor
Do not send a notification message to fingerprint Hal modules.
Optionally, when processor judges that user operates finger print acquisition module, then processor can be to fingerprint Hal
Module sends a notification message, and instruction fingerprint Hal modules adjust back fingerprint matching result to corresponding application module.
Optionally, when processor judges that user operates finger print acquisition module, then processor can not be to fingerprint
Hal modules send a notification message, and at this time, when fingerprint Hal modules do not receive the notification message of processor transmission, indicate fingerprint
Fingerprint matching result can be pulled back to corresponding application module by Hal modules.
Based on foregoing description, when the present embodiment is not detected by processor the button operation of power key, to the tool of processor
Body processing procedure is not limited, and is set with specific reference to actual needs.
Fingerprint identification method provided in an embodiment of the present invention, by judging whether to detect the button operation of power key, when
When detecting button operation, the first notification message is sent to fingerprint Hal modules, to indicate that fingerprint Hal modules stop to fingerprint
Native service modules send fingerprint matching result.That is the present embodiment, overlaps for the position of power key and finger print acquisition module
Terminal device, by detecting the button operation of power key, when solving user's operation power key, fingerprinting operation also responsive to ask
Topic, so as to accurately distinguish fingerprinting operation and button operation, improves the user experience of terminal device.
Fig. 3 is the flow chart of fingerprint identification method provided by Embodiment 2 of the present invention.On the basis of above-described embodiment, this
Embodiment refers to processor and judges whether to detect the detailed process of the button operation of power key.It is as shown in figure 3, above-mentioned
S101 can specifically include:
S201, judge whether application module calls fingerprint recognition interface.
The terminal device of the present embodiment can include multiple application modules, such as wechat, Alipay, switching on and shutting down module etc..
The operating system of terminal device can be the iOS (iPhone Operating System) of apple in the present embodiment
Mobile phone operating system, the Android operation system of Google, Windows Phone (desktop mobile phone) operating system or black of Microsoft
OS (Operating System) system of the certain kind of berries etc., the present embodiment is without limitation.
When the operating system of terminal device is Android operation system, then above-mentioned S201 can be specifically:Judge fingerprint
Whether the application module in Android services calls the fingerprint recognition interface.
S202, when judging that the application module calls the fingerprint recognition interface, then detect the button of the power key
Operation.
In the present embodiment, the accurate of the button operation of power key is detected in order to realize, then the processor of the present embodiment
When having application module calling fingerprint recognition interface in terminal device, the button operation of power key is detected, to reduce processor pair
The detection workload of button operation.
In actual use, when some application module in terminal device opens fingerprint function, then the application module needs
Call third-party fingerprint recognition interface.Paid for example, user setting wechat module can use fingerprint to realize, it is at this time, micro-
Module is believed when carrying out fingerprint payment, then needs to call fingerprint recognition interface.
And working as does not have application module calling instruction identification interface in terminal device, at the finger print acquisition module in terminal device
In halted state, and when finger print acquisition module is stopped, finger print acquisition module also stops starting, and can not sense user's
Fingerprint.At this time, when user presses power key, finger print acquisition module will not interfere power key.
Therefore, the processor of the present embodiment is when detecting the button operation of power key, first determine whether in terminal device whether
There is application module to call fingerprint recognition interface.When processor judges that having application module to have invoked fingerprint recognition in terminal device connects
Mouthful, then processor detects the button operation of power key.When processor judges do not have application module to call fingerprint to know in terminal device
Other interface, then processor do not go the button operation of detection power key, and then less detection work of the processor to button operation
Amount, improves the detection accuracy of processor.
On the basis of foregoing description, above-mentioned S102 sends the when detecting the button operation, to fingerprint Hal modules
One notification message, can be specifically, when processor judge application module call fingerprint recognition interface, and detect power key by
During key operation, processor sends the first notification message to fingerprint Hal modules.
Specifically, processor judges whether have application module to call fingerprint recognition interface in terminal device, when processor is sentenced
Disconnected when having the application module to call fingerprint recognition interface, processor detects the button operation of power key.When processor detects power supply
During the button operation of key, processor sends the first notification message to fingerprint Hal modules, to indicate that fingerprint Hal modules stop referring to
Line matching result is sent to fingerprint native service modules.And then the base accurately distinguished to button operation and fingerprinting operation in realization
On plinth, the detection workload of processor is reduced.
Fingerprint identification method provided in an embodiment of the present invention, processor first determine whether is application module in terminal device
Fingerprint recognition interface is called, if so, the button operation of power key is then detected, and when detecting the button operation of power key, to
Fingerprint Hal modules send the first notification message, and then while realize that accurate difference button operation and fingerprinting operation are accurately distinguished,
The detection workload of processor is reduced, improves the functional reliability of terminal device.
Fig. 4 is the flow chart for the fingerprint identification method that the embodiment of the present invention three provides.On the basis of above-described embodiment, this
Embodiment refers to when processor judges that the application module calls the fingerprint recognition interface, then detect the power key
Button operation detailed process.As shown in figure 4, above-mentioned S202 can specifically include:
S301, when judging that the application module calls the fingerprint recognition interface, judge whether finger print acquisition module is adopted
Collect fingerprint image.
S302, when judging that the finger print acquisition module collects the fingerprint image, then detect pressing for the power key
Key operation.
In actual use, when there is application module to call fingerprint recognition interface, but finger print acquisition module in terminal device
Fingerprint image is not collected, for example, user is not when making to press with finger power key, finger print acquisition module can not carry out fingerprint knowledge
Do not operate, power key will not be interfered.At this time, processor can not remove the button operation of detection power key.
For the above situation, the processor of the present embodiment first determines whether have application module to call fingerprint in terminal device
Identify interface, after judging to there is application module to call fingerprint recognition interface, judge whether finger print acquisition module collects fingerprint image
Picture.When finger print acquisition module collects fingerprint image, illustrate that user touches finger print acquisition module using finger, at this time, place
Reason device removes the button operation of detection power key again, judges whether user has pressed power key.
And when processor judges that finger print acquisition module does not collect fingerprint image, processor can not press power key
Key operation is detected.In this way, the detection workload of processor can be substantially reduced, the detection accuracy of processor is improved.
Optionally, in order to further improve the detection accuracy of processor, then processor judges that finger print acquisition module gathers
Fingerprint image effectively (fingerprint image effectively refers to clearly extract fingerprint feature information from the fingerprint image, carries out
Fingerprint minutiae matching) when, processor detects the button operation of power key.This is because when the fingerprint of finger print acquisition module collection
During fogging image, fingerprint characteristic module can not carry out fingerprint minutiae matching so that whole fingerprinting operation flow stops, and fingerprint is adopted
Collect module without interference with power key.In order to reduce the workload of processor, processor can not grasp the button of power key at this time
It is detected.
S303, when detecting the button operation of the power key, to fingerprint Hal modules send the first notification message.
On the basis of foregoing description, finger print acquisition module is called when processor has determined application module, and judge to refer to
When line acquisition module collects fingerprint image (optional, can be effective fingerprint image), processor detects the button of power key
Operation.When processor detects the button operation of power key, processor sends the first notification message to fingerprint Hal modules, with
Instruction fingerprint Hal modules stop fingerprint matching result being sent to fingerprint native service modules so that fingerprinting operation flow is stopped
Only, terminal device is responded according to the button operation of power key.And then realize accurate control of the processor to fingerprinting operation, it is accurate
Fingerprinting operation and button operation really are distinguished, improves the experience of user.
In the present embodiment, when processor judges that finger print acquisition module collects the fingerprint image, and judge not detect
During to the button operation, illustrate that user is that fingerprint module is operated at this time, it is expected to realize fingerprint recognition.Handle at this time
Device can not send any notification message to fingerprint Hal modules, and fingerprint Hal modules refer to the transmission of fingerprint native service modules
Before line matching result, when not receiving any instruction message of processor, fingerprint Hal modules can be directly by fingerprint matching result
Fingerprint native service modules are sent to, and then fingerprint matching result is pulled back into corresponding application module, so that this applies mould
Block realizes corresponding operation, such as completes to pay or receive calls.
Optionally, in the present embodiment, when judging that finger print acquisition module collects the fingerprint image, and judge not detect
During to the button operation, the step of processor can also carry out following S304.
S304, when judging that the finger print acquisition module collects the fingerprint image, and be not detected by the button operation
When, second notification message is sent to the fingerprint Hal modules, the second notification message is used to indicate the fingerprint Hal modules
The fingerprint matching result is sent to the fingerprint native service modules.
Specifically, when processor judges that finger print acquisition module collects fingerprint image, and is not detected by button operation, place
Manage device and send second notification message to fingerprint Hal modules.Seen from the above description, fingerprint Hal modules are to receive this second logical
When knowing message, fingerprint recognition result does not generate also.After fingerprint Hal modules receive the second notification message, second notice is parsed
Message, when the definite second notification message be instruction its send fingerprint matching result when, then fingerprint Hal modules are by the fingerprint of generation
Recognition result is sent to fingerprint native service modules, and fingerprint recognition result is pulled back to corresponding application module, completes to refer to
Line operates.
Fingerprint identification method provided in an embodiment of the present invention, has application module to call fingerprint recognition to connect in terminal device
Mouthful, and when finger print acquisition module collects fingerprint image, processor detects the button operation of power key, and is grasped in the button of detection
The first notification message is sent to fingerprint Hal modules when making, to indicate that fingerprint Hal modules stop sending out to fingerprint native service modules
Send fingerprint matching result.When being not detected by button operation, second notification message is sent to fingerprint Hal modules, to indicate fingerprint
Hal modules send fingerprint matching result to fingerprint native service modules.And then realization is accurate to button operation and fingerprinting operation
On the basis of differentiation, the workload of processor is reduced.
Fig. 5 is the structure diagram for the fingerprint identification device that the embodiment of the present invention one provides, which is applicable in
In the terminal device that the position of finger print acquisition module and power key overlaps, which can be the place in terminal device
Manage device.The fingerprint identification device can be realized by way of software, hardware or soft/scleroma are closed.As shown in figure 5, the present embodiment
Fingerprint identification device 100 can include:
Judgment module 110, for judging whether to detect the button operation of power key;
Sending module 120, for the judgment module 110 judge detect the button operation when, to fingerprint Hal moulds
Block sends the first notification message, and first notification message is used to indicate that the fingerprint Hal modules stop taking to fingerprint native
Business module send fingerprint matching as a result, the fingerprint matching result be the fingerprint image that gathers the finger print acquisition module with it is pre-
If fingerprint image matched after obtained result.
Fig. 6 is the structure diagram of fingerprint identification device provided by Embodiment 2 of the present invention.On the basis of above-described embodiment
On, the fingerprint identification device 100 of the present embodiment further includes detection module 130;
Judgment module 110, is additionally operable to judge whether application module calls fingerprint recognition interface;
Detection module 130, for judging that the application module calls the fingerprint recognition interface in the judgment module 110
When, then detect the button operation of the power key.
In a kind of possible implementation of the present embodiment, above-mentioned judgment module 110, specifically for judging described answer
When calling the fingerprint recognition interface with module, judge whether finger print acquisition module collects fingerprint image.
Above-mentioned detection module 130, specifically for judging that the finger print acquisition module collects institute in the judgment module 110
When stating fingerprint image, then the button operation of the power key is detected.
In the alternatively possible implementation of the present embodiment, above-mentioned sending module 120, is additionally operable in the judgement mould
Block 110 judges that the finger print acquisition module collects the fingerprint image, and the detection module is not detected by the button behaviour
When making, second notification message is sent to the fingerprint Hal modules, the second notification message is used to indicate the fingerprint Hal moulds
Block sends the fingerprint matching result to the fingerprint native service modules.
In another possible implementation of the present embodiment, above-mentioned judgment module 110, also particularly useful for judging fingerprint
Whether the application module in Android services calls the fingerprint recognition interface.
It should be noted that:Above-described embodiment provide fingerprint identification device when carrying out fingerprint recognition processing, only more than
The division progress of each function module is stated for example, in practical application, can be as needed and by above-mentioned function distribution by difference
Function module complete, i.e., the internal structure of device is divided into different function modules, with complete it is described above whole or
Person's partial function.In addition, the fingerprint identification device that above-described embodiment provides belongs to same design with fingerprint identification method embodiment,
Its specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 7 is the structure diagram of terminal device provided in an embodiment of the present invention, as shown in fig. 7, the terminal device 200 wraps
Include:Processor 210 and the memory 804 for being configured as storage 220 executable instruction of processor.
Wherein, processor 210 is configured as performing the fingerprint identification method shown in Fig. 2,3,4.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer program is stored in the storage medium, described
Computer program realizes the fingerprint identification method shown in Fig. 2,3,4 upon execution.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
Can so modify to the technical solution described in foregoing embodiments, either to which part or all technical characteristic into
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of fingerprint identification method, it is characterised in that the method is suitable for the position weight of finger print acquisition module and power key
The terminal device of conjunction, the described method includes:
Judge whether to detect the button operation of power key;
When detecting the button operation, the first notification message is sent to fingerprint Hal modules, first notification message is used for
Indicate that the fingerprint Hal modules stop sending fingerprint matching as a result, the fingerprint matching result is to fingerprint local service module
The result obtained after the fingerprint image that the finger print acquisition module gathers is matched with default fingerprint image.
2. according to the method described in claim 1, it is characterized in that, the button operation for judging whether to detect power key,
Specifically include:
Judge whether application module calls fingerprint recognition interface;
When judging that the application module calls the fingerprint recognition interface, then the button operation of the power key is detected.
3. according to the method described in claim 2, it is characterized in that, described ought judge that the application module calls the fingerprint to know
During other interface, then the button operation of the power key is detected, is specifically included:
When judging that the application module calls the fingerprint recognition interface, judge whether finger print acquisition module collects fingerprint image
Picture;
When judging that the finger print acquisition module collects the fingerprint image, then the button operation of the power key is detected.
It is 4. according to the method described in claim 3, it is characterized in that, described described in judge that the finger print acquisition module collects
During fingerprint image, then the button operation of the power key is detected, is specifically included:
When judging that the finger print acquisition module collects the fingerprint image, and being not detected by the button operation, to described
Fingerprint Hal modules send second notification message, and the second notification message is used to indicate the fingerprint Hal modules to the fingerprint
Local service module sends the fingerprint matching result.
5. according to the method in claim 2 or 3, it is characterised in that described to judge whether application module calls fingerprint recognition
Interface, specifically includes:
Judge whether the application module in fingerprint Android services calls the fingerprint recognition interface.
6. a kind of fingerprint identification device, it is characterised in that described device is suitable for the position weight of finger print acquisition module and power key
The terminal device of conjunction, described device include:
Judgment module, for judging whether to detect the button operation of power key;
Sending module, for when the judgment module judges to detect the button operation, first to be sent to fingerprint Hal modules
Notification message, first notification message are used to indicate that the fingerprint Hal modules stop referring to the transmission of fingerprint local service module
Line matching result, the fingerprint matching result are the fingerprint image and default fingerprint image for gathering the finger print acquisition module
The result obtained after being matched.
7. device according to claim 6, it is characterised in that described device further includes detection module;
The judgment module, is additionally operable to judge whether application module calls fingerprint recognition interface;
The detection module, for when the judgment module judges that the application module calls the fingerprint recognition interface, then
Detect the button operation of the power key.
8. device according to claim 7, it is characterised in that
The judgment module, specifically for when judging that the application module calls the fingerprint recognition interface, judging that fingerprint is adopted
Whether collection module collects fingerprint image;
The detection module, specifically for judging that the finger print acquisition module collects the fingerprint image in the judgment module
When, then detect the button operation of the power key.
A kind of 9. terminal device, it is characterised in that including:Processor and the storage for being configured as storage processor-executable instruction
Device;
The processor is configured as perform claim and requires any fingerprint identification methods of 1-5.
10. a kind of computer-readable storage medium, it is characterised in that computer program, the computer are stored in the storage medium
Program realizes any fingerprint identification method in claim 1-5 upon execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711207425.XA CN108009409B (en) | 2017-11-27 | 2017-11-27 | Fingerprint identification method and device, terminal equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711207425.XA CN108009409B (en) | 2017-11-27 | 2017-11-27 | Fingerprint identification method and device, terminal equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108009409A true CN108009409A (en) | 2018-05-08 |
CN108009409B CN108009409B (en) | 2021-01-26 |
Family
ID=62053894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711207425.XA Active CN108009409B (en) | 2017-11-27 | 2017-11-27 | Fingerprint identification method and device, terminal equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108009409B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113792280A (en) * | 2021-09-24 | 2021-12-14 | 北京鲸鲮信息***技术有限公司 | Fingerprint access method, device, equipment and storage medium |
CN114995676A (en) * | 2021-12-29 | 2022-09-02 | 荣耀终端有限公司 | Fingerprint false touch prevention method, graphical interface and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681777A (en) * | 2012-04-23 | 2012-09-19 | 华为终端有限公司 | Method for lighting up screen and mobile terminal |
CN104917894A (en) * | 2015-06-05 | 2015-09-16 | 上海华豚科技有限公司 | Mobile phone with POWER key fingerprint unlocking function |
CN105117631A (en) * | 2015-08-24 | 2015-12-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105117137A (en) * | 2015-09-16 | 2015-12-02 | 广东欧珀移动通信有限公司 | Photographing method and device used in terminal standby state and mobile terminal |
CN106874728A (en) * | 2017-02-27 | 2017-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Unlocked by fingerprint method and system |
-
2017
- 2017-11-27 CN CN201711207425.XA patent/CN108009409B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681777A (en) * | 2012-04-23 | 2012-09-19 | 华为终端有限公司 | Method for lighting up screen and mobile terminal |
CN104917894A (en) * | 2015-06-05 | 2015-09-16 | 上海华豚科技有限公司 | Mobile phone with POWER key fingerprint unlocking function |
CN105117631A (en) * | 2015-08-24 | 2015-12-02 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105117137A (en) * | 2015-09-16 | 2015-12-02 | 广东欧珀移动通信有限公司 | Photographing method and device used in terminal standby state and mobile terminal |
CN106874728A (en) * | 2017-02-27 | 2017-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Unlocked by fingerprint method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113792280A (en) * | 2021-09-24 | 2021-12-14 | 北京鲸鲮信息***技术有限公司 | Fingerprint access method, device, equipment and storage medium |
CN114995676A (en) * | 2021-12-29 | 2022-09-02 | 荣耀终端有限公司 | Fingerprint false touch prevention method, graphical interface and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108009409B (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100500091C (en) | Identity recognition system and method based on intelligent physical characteristics collecting and processing terminal | |
US10929849B2 (en) | Method and a system for performing 3D-based identity verification of individuals with mobile devices | |
CN103106736B (en) | A kind of identity identifying method, terminal and server | |
CN102779382B (en) | Self-service issuing device for social security financial IC (integrated circuit) card and data processing method thereof | |
CN103679831B (en) | A kind of handheld terminal, Time Attendance Device, electronic attendance system and Work attendance method | |
CN104239815A (en) | Electronic document encryption and decryption method and method based on iris identification | |
CN106846564A (en) | A kind of intelligent access control system and control method | |
CN101325491A (en) | Method and system for controlling user interface of instant communication software | |
WO2019214438A1 (en) | Radio frequency card function calling method and device | |
CN104952117A (en) | Attendance management method | |
CN109472903A (en) | A kind of control of bluetooth access control method and its device | |
CN108009409A (en) | Fingerprint identification method, device, terminal device and computer-readable storage medium | |
CN105117633A (en) | Face recognition login validation system for Windows system | |
CN108009412A (en) | Using the authorization method and electronic equipment of item | |
CN106815502A (en) | The method and apparatus for checking message | |
CN108182351A (en) | A kind of Automatic work system of high safety grade | |
CN107516371A (en) | Verification and identification method and hotel intelligent card system | |
CN106372485A (en) | Method and system for controlling application program based on fingerprint identification | |
CN107770378A (en) | A kind of method based on finger print information unblock mobile phone | |
CN214475130U (en) | Fingerprint card system based on digital currency payment | |
CN109543384A (en) | Using starting method and relevant device | |
CN108063665A (en) | Communication means and terminal device | |
CN111652596A (en) | Credit service anti-fraud method, device, terminal equipment and storage medium | |
CN201601693U (en) | Face identification logging-on system | |
WO2022237550A1 (en) | Access control authentication method, apparatus and system for preventing privacy leak |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |