CN109324863A - The method, apparatus and computer readable storage medium of fingerprint recognition - Google Patents

The method, apparatus and computer readable storage medium of fingerprint recognition Download PDF

Info

Publication number
CN109324863A
CN109324863A CN201811240802.4A CN201811240802A CN109324863A CN 109324863 A CN109324863 A CN 109324863A CN 201811240802 A CN201811240802 A CN 201811240802A CN 109324863 A CN109324863 A CN 109324863A
Authority
CN
China
Prior art keywords
fingerprint
identification region
module
finger
fingerprint identification
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
Application number
CN201811240802.4A
Other languages
Chinese (zh)
Other versions
CN109324863B (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 CN201811240802.4A priority Critical patent/CN109324863B/en
Publication of CN109324863A publication Critical patent/CN109324863A/en
Application granted granted Critical
Publication of CN109324863B publication Critical patent/CN109324863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Abstract

The disclosure is directed to a kind of method, apparatus of fingerprint recognition and computer readable storage mediums, are related to field of terminal technology.This method comprises: the callback interface between the third-party application for passing through terminal receives the call instruction that third-party application is sent, and according to fingerprint module in the call instruction opening face.Due to obtaining fingerprint identification region, and fingerprint icon is shown at the fingerprint identification region of current interface, namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, therefore, when detect the fingerprint identification region pressed by finger when, the finger print information of finger in the available fingerprint identification region, and fingerprint recognition is carried out according to the finger print information.In this way, user can also intuitively recognize the fingerprint identification region in terminal screen by the fingerprint icon shown at true fingerprint identification region, and then realize fingerprint recognition even if third-party application does not have fingerprint module in opposite to do compatibility.

Description

The method, apparatus and computer readable storage medium of fingerprint recognition
Technical field
This disclosure relates to the method, apparatus of field of terminal technology more particularly to a kind of fingerprint recognition and computer-readable deposit Storage media.
Background technique
The appearance of fingerprint module further increases the screen accounting of terminal in face, and fingerprint module, which refers to, in face is set to terminal In, and the module that fingerprint recognition is carried out in terminal screen is provided for user.Fingerprint module can be by aobvious in face in terminal Show the fingerprint icon in screen to obtain the finger print information of user and then realize fingerprint identification function.Currently, not only terminal Screen locking program needs to call fingerprint module in face to carry out fingerprint recognition, and the third-party application of terminal is also required to fingerprint mould in calling face Block carries out fingerprint recognition, to carry out authentication to user.
Since fingerprint module is arranged in terminal screen in face, user can not intuitively recognize which region of terminal screen It is the fingerprint identification region of fingerprint module in face.Therefore, third-party application is in calling face when fingerprint module, it will usually current A fingerprint icon is shown on interface, and user is prompted to put on pressing in the fingerprint image.However since third-party application does not have opposite Interior fingerprint module, which does compatibility namely third-party application, can not obtain the fingerprint identification region.Therefore, third-party application usually exists Fingerprint icon is shown in current interface at any position, such as shows a fingerprint icon in the middle position of current interface, And then fingerprint identification function is realized by the fingerprint icon.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides the method, apparatus and computer of a kind of fingerprint recognition Readable storage medium storing program for executing.
In a first aspect, providing a kind of method of fingerprint recognition, which comprises
By the callback interface between the third-party application of terminal, receives the calling that the third-party application is sent and refer to It enables;
According to the call instruction, fingerprint module in the face being integrated on terminal screen is opened;
Obtain fingerprint identification region of the fingerprint module in the terminal screen in the face, and described in the current interface Fingerprint icon is shown at fingerprint identification region, the fingerprint icon is for prompting the finger of user in the fingerprint identification region It is pressed;
When the detection fingerprint identification region is pressed by the finger, the hand in the fingerprint identification region is obtained The finger print information of finger, and fingerprint recognition is carried out according to the finger print information.
In the embodiments of the present disclosure, third-party application hair is received by the callback interface between the third-party application of terminal Then the call instruction sent opens fingerprint module in the face being integrated on terminal screen according to the call instruction.Due to obtaining Fingerprint identification region of the fingerprint module in terminal screen in face, and fingerprint is shown at the fingerprint identification region of current interface Icon namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, and therefore, the finger of user can be with It is pressed in the fingerprint identification region.And then when detect the fingerprint identification region pressed by finger when, obtain the fingerprint knowledge The finger print information of finger in other region, and fingerprint recognition is carried out according to the finger print information.It that is to say, pass through the third with terminal Fingerprint module in callback interface opening face between Fang Yingyong, and fingerprint icon is shown at true fingerprint identification region.Such as This, even if third-party application does not have fingerprint module in opposite to do compatibility, user at true fingerprint identification region by that should show The fingerprint icon shown can also intuitively recognize the fingerprint identification region of fingerprint module in face in terminal screen, and then realize fingerprint Identification.
Optionally, it is described show fingerprint icon at the fingerprint identification region of current interface before, the method is also Include:
When receiving the specific information that fingerprint module is sent in the face, fingerprint mould in the face has successfully been opened in determination Block, execution is described to show fingerprint image target step at the fingerprint identification region of current interface, and the specific information is used for It indicates successfully to open fingerprint module in the face.
In the embodiments of the present disclosure, due to being opened in the face being integrated on terminal screen according to call instruction, fingerprint module can It successful can may also fail, therefore, can determine that having become function opens fingerprint module in face by specific information, and then after execution Continue and shows fingerprint image target step at fingerprint identification region.
Optionally, fingerprint module is before the fingerprint identification region in the terminal screen in the acquisition face, institute State method further include:
Determine whether the call instruction is used to unlock the terminal screen;
When the call instruction is not intended to unlock the terminal screen, fingerprint module in the acquisition face is executed The step of fingerprint identification region in the terminal screen.
In the embodiments of the present disclosure, since the function of unlock terminal screen is usually the included system function of terminal, namely Fingerprint identification region usually can be accurately obtained when unlocking terminal screen.Therefore, it before obtaining fingerprint identification region, first determines Whether the call instruction is used to unlock terminal screen, when not being, illustrates that the call instruction is referred in third-party application Line instruction required when identifying, and then the step of executing subsequent acquisition fingerprint identification region.In this way, being by determining call instruction It is no to be used to unlock terminal screen to carry out fingerprint recognition, improve the efficiency of fingerprint recognition.
It is optionally, described to show fingerprint icon at the fingerprint identification region of current interface, comprising:
One layer of locking screen interface is superimposed in the current interface;
The fingerprint icon is shown at the fingerprint identification region of the locking screen interface.
Optionally, it is described show the fingerprint icon at the fingerprint identification region of the locking screen interface before, institute State method further include:
Transparent processing is carried out to the locking screen interface, the locking screen interface after transparent processing is used for aobvious through the locking screen interface Show the prompt information of the third-party application.
In the embodiments of the present disclosure, be superimposed in current interface one layer of locking screen interface is subjected to transparent processing, namely removed Region except the fingerprint icon shown at the fingerprint identification region of the locking screen interface is transparent region, in this way, not only may be used Really to prompt the finger of user to press in fingerprint identification region by fingerprint image standard, does not influence user also and watch third The prompt information of Fang Yingyong.
Optionally, the method also includes:
The fingerprint identification region is detected;
When detecting the press event that the fingerprint identification region is pressed, the event type of the press event is obtained And pressure value;
When the event type is specified type, and the pressure value is more than preset threshold, the fingerprint recognition is determined Region is pressed by finger.
In the embodiments of the present disclosure, by detecting and judging the event type of press event that fingerprint identification region is pressed And pressure value, it can determine whether fingerprint identification region is pressed by finger, reduce the probability that fingerprint identification region is accidentally touched.
Optionally, the finger print information for obtaining the finger in the fingerprint identification region, comprising:
Hi-bright mode is set by the backlight of the terminal screen;
Under the hi-bright mode, the image of the finger is acquired, and using the image of the finger as the finger Finger print information.
In the embodiments of the present disclosure, by acquiring the image of finger under hi-bright mode, finger-image acquisition is improved Accuracy rate, and then improve the accuracy rate that fingerprint recognition is carried out by finger print information.
Second aspect, provides a kind of device of fingerprint recognition, and described device includes:
Receiving module receives the third-party application for the callback interface between the third-party application by terminal The call instruction of transmission;
Opening module, for opening fingerprint module in the face being integrated on terminal screen according to the call instruction;
Display module, for obtaining fingerprint identification region of the fingerprint module in the terminal screen in the face, and Fingerprint icon is shown at the fingerprint identification region of current interface, the fingerprint icon is for prompting the finger of user described It is pressed in fingerprint identification region;
Identification module, for obtaining the fingerprint recognition when the detection fingerprint identification region is pressed by the finger The finger print information of the finger in region, and fingerprint recognition is carried out according to the finger print information.
In the embodiments of the present disclosure, third-party application hair is received by the callback interface between the third-party application of terminal Then the call instruction sent opens fingerprint module in the face being integrated on terminal screen according to the call instruction.Due to obtaining Fingerprint identification region of the fingerprint module in terminal screen in face, and fingerprint is shown at the fingerprint identification region of current interface Icon namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, and therefore, the finger of user can be with It is pressed in the fingerprint identification region.And then when detect the fingerprint identification region pressed by finger when, obtain the fingerprint knowledge The finger print information of finger in other region, and fingerprint recognition is carried out according to the finger print information.It that is to say, pass through the third with terminal Fingerprint module in callback interface opening face between Fang Yingyong, and fingerprint icon is shown at true fingerprint identification region.Such as This, even if third-party application does not have fingerprint module in opposite to do compatibility, user at true fingerprint identification region by that should show The fingerprint icon shown can also intuitively recognize the fingerprint identification region of fingerprint module in face in terminal screen, and then realize fingerprint Identification.
Optionally, described device further include:
First determining module, for when receiving the specific information that fingerprint module is sent in the face, determination to have succeeded Fingerprint module in the face is opened, the display module is triggered and is shown at the fingerprint identification region of the current interface and refer to Line icon, the specific information, which is used to indicate, successfully opens fingerprint module in the face.
Optionally, described device further include:
Second determining module, for determining whether the call instruction is used to unlock the terminal screen;
Trigger module, for triggering the display mould when the call instruction is not intended to unlock the terminal screen Block obtains fingerprint identification region of the fingerprint module in the terminal screen in the face.
Optionally, the display module includes:
It is superimposed submodule, for being superimposed one layer of locking screen interface in the current interface;
Display sub-module, for showing the fingerprint icon at the fingerprint identification region of the locking screen interface.
Optionally, the display module further include:
Submodule is handled, for carrying out transparent processing to the locking screen interface, the locking screen interface after transparent processing is for saturating Cross the prompt information that the locking screen interface shows the third-party application.
Optionally, the method also includes:
Detection module, for being detected to the fingerprint identification region;
Module is obtained, for obtaining the pressing when detecting the press event that the fingerprint identification region is pressed The event type and pressure value of event;
Third determining module, for when the event type be specified type, and the pressure value be more than preset threshold when, Determine that the fingerprint identification region is pressed by finger.
Optionally, the identification module includes:
Highlighted submodule, for setting hi-bright mode for the backlight of the terminal screen;
Acquisition module is made under the hi-bright mode, acquiring the image of the finger, and by the image of the finger For the finger print information of the finger.
The third aspect, provides a kind of device of fingerprint recognition, and described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of executing any one method described in above-mentioned first aspect.
Fourth aspect provides a kind of computer readable storage medium, finger is stored on the computer readable storage medium It enables, which is characterized in that the step of any one method described in above-mentioned first aspect is realized when described instruction is executed by processor
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes the step of any one of above-mentioned first aspect the method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the schematic diagram of implementation environment involved in the fingerprint identification method that provides in the embodiment of the present disclosure.
Fig. 2 is a kind of method flow diagram of fingerprint recognition shown according to an exemplary embodiment.
Fig. 3 is a kind of method flow diagram of fingerprint recognition shown according to an exemplary embodiment.
Fig. 4 is a kind of device block diagram of fingerprint recognition shown according to an exemplary embodiment.
Fig. 5 is a kind of device block diagram of fingerprint recognition shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they are only and the present invention The consistent device and method of some aspects example.
Firstly, before carrying out detailed explanation to the embodiment of the present disclosure, first to the applied field of the embodiment of the present disclosure Scape is introduced:
The lower section of terminal screen or the back side of terminal is arranged in traditional fingerprint module in terminal.But it is arranged in terminal Fingerprint module below screen will affect the screen accounting of terminal, and the fingerprint module that the terminal back side is arranged in is needed at terminal cutting Reason increases the risk of terminal damage.Therefore, in order to meet user to terminal increasingly higher demands, occur in face at present Fingerprint module is set in terminal and provides for user the module that fingerprint recognition is carried out in terminal screen, fingerprint in the face The screen accounting that module not only increases terminal, which is also avoided, carries out cutting processing to terminal, receives the welcome of users.Mesh Before, not only the screen locking program of terminal needs to call fingerprint module in face to carry out fingerprint recognition, and the third-party application of terminal is also required to Fingerprint module carries out fingerprint recognition in calling face, to carry out authentication to user.
However, third-party application, which does compatibility namely third-party application there is no fingerprint module in opposite, can not obtain this and refer to Line identification region, therefore, third-party application are that display refers at any position in current interface when fingerprint module in calling face Line icon, and then realize fingerprint identification function.But since third-party application can not obtain the fingerprint identification region, working as The fingerprint icon that front interface is shown often is not overlapped with true fingerprint identification region, i.e., fingerprint icon cannot accurately reflect and refer to The position of line identification region causes the effect of fingerprint recognition poor.Therefore, the embodiment of the present disclosure provides a kind of fingerprint recognition Method can accurately reflect fingerprint identification region in the fingerprint icon that current interface is shown by this method third-party application Position, and then improve the accuracy rate of fingerprint recognition.
Secondly, the implementation environment to the embodiment of the present disclosure is introduced:
Referring to Figure 1, it illustrates implementation environments involved in the fingerprint identification method provided in the embodiment of the present disclosure Schematic diagram.The implementation environment may include: terminal 100.Terminal 100 can be smart phone, computer or multimedia player It is illustrated so that terminal 100 is smart phone as an example Deng, Fig. 1.
As shown in Figure 1, fingerprint module 1002 in face can be equipped in the screen 1001 of terminal 100.By referring in the face Line module 1002 can complete the functions such as terminal screen unlock and fingerprint payment.Fingerprint module can be finger in optical surface in the face Line module.
Wherein, touch sensible module and pressure sensor can be set in terminal.Know when user presses with finger fingerprint When other region, the location information of finger can be sent to pressure sensor by touch sensible module.Pressure sensor receives the position Confidence breath, detects fingerprint identification region, determines whether the finger is located at fingerprint identification area according to the location information of finger Domain;When determining that the finger is located at fingerprint identification region, the press event that the fingerprint identification region is pressed has been confirmly detected, And determine the event type and pressure value of the press event, and to screen locking program reported event type and pressure value.Screen locking program The event type and pressure value that pressure sensor reports are received, and is detecting that the event type is specified type and the pressure value When more than preset threshold, determine that the fingerprint identification region is pressed by finger.Wherein, specified type is the corresponding event of fingerprint recognition Type.Then screen locking program indicates that the backlight of terminal screen is set hi-bright mode by display module.Under the hi-bright mode, lock Screen program can acquire the image of finger by fingerprint module in the callback interface control plane between fingerprint module in face, and Using the image of the finger as the finger print information of finger.At this point, the finger print information can be sent to terminal by fingerprint module in face Algorithm routine.Algorithm routine can determine the finger in the finger print information and fingerprint template library when receiving the finger print information Matching degree between line information, and matching result is sent to screen locking program, the matching result is forwarded to by screen locking program Tripartite's application, to complete fingerprint recognition.
Fig. 2 is a kind of flow chart of the method for fingerprint recognition shown according to an exemplary embodiment, and this method is applied to In screen locking program, as shown in Fig. 2, including the following steps.
In step 201, by the callback interface between the third-party application of terminal, third-party application transmission is received Call instruction.
In step 202, according to the call instruction, fingerprint module in the face being integrated on terminal screen is opened.
In step 203, fingerprint identification region of the fingerprint module in the terminal screen in the face is obtained, and is working as prezone Fingerprint icon is shown at the fingerprint identification region in face, and the fingerprint icon is for prompting the finger of user in the fingerprint identification region Inside pressed.
In step 204, it when detecting the fingerprint identification region by finger pressing, obtains in the fingerprint identification region The finger print information of the finger, and fingerprint recognition is carried out according to the finger print information.
Optionally, before showing fingerprint icon at the fingerprint identification region of current interface, this method further include:
When receiving the specific information that fingerprint module is sent in the face, fingerprint module in the face is successfully opened in determination, It executes this and shows fingerprint image target step at the fingerprint identification region of current interface, which, which is used to indicate, successfully opens Open fingerprint module in the face.
Optionally, obtaining fingerprint module in the face, before the fingerprint identification region in the terminal screen, this method is also wrapped It includes:
Determine whether the call instruction is used to unlock the terminal screen;
When the call instruction is not intended to unlock the terminal screen, fingerprint module is executed in the acquisition face in the terminal The step of fingerprint identification region in screen.
Optionally, fingerprint icon is shown at the fingerprint identification region of current interface, comprising:
One layer of locking screen interface is superimposed on interface in this prior;
The fingerprint icon is shown at the fingerprint identification region of the locking screen interface.
Optionally, before the fingerprint icon being shown at the fingerprint identification region of the locking screen interface, this method further include:
Transparent processing is carried out to the locking screen interface, the locking screen interface after transparent processing is used to show this through the locking screen interface The prompt information of third-party application.
Optionally, this method further include:
The fingerprint identification region is detected;
When detecting the press event that the fingerprint identification region is pressed, the event type and pressure of the press event are obtained Force value;
When the event type is specified type, and the pressure value is more than preset threshold, the fingerprint identification region quilt is determined Finger pressing.
Optionally, the finger print information of the finger in the fingerprint identification region is obtained, comprising:
Hi-bright mode is set by the backlight of the terminal screen;
Under the hi-bright mode, the image of the finger is acquired, and using the image of the finger as the finger print information of the finger.
In the embodiments of the present disclosure, third-party application hair is received by the callback interface between the third-party application of terminal Then the call instruction sent opens fingerprint module in the face being integrated on terminal screen according to the call instruction.Due to obtaining Fingerprint identification region of the fingerprint module in terminal screen in face, and fingerprint is shown at the fingerprint identification region of current interface Icon namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, and therefore, the finger of user can be with It is pressed in the fingerprint identification region.And then when detect the fingerprint identification region pressed by finger when, obtain the fingerprint knowledge The finger print information of finger in other region, and fingerprint recognition is carried out according to the finger print information.It that is to say, pass through the third with terminal Fingerprint module in callback interface opening face between Fang Yingyong, and fingerprint icon is shown at true fingerprint identification region.Such as This, even if third-party application does not have fingerprint module in opposite to do compatibility, user at true fingerprint identification region by that should show The fingerprint icon shown can also intuitively recognize the fingerprint identification region of fingerprint module in face in terminal screen, and then realize fingerprint Identification.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real It applies example and this is no longer repeated one by one.
Fig. 3 is a kind of method flow diagram of fingerprint recognition shown according to an exemplary embodiment, and this method is applied to lock Shield in program, as shown in figure 3, the present embodiment will carry out expansion explanation to embodiment shown in Fig. 2.This method includes following step Suddenly.
In step 301, the third-party application of terminal is sent by callback interface between screen locking program to screen locking program Call instruction.
Due to the convenient, fast and safe feature of fingerprint recognition, more and more third-party applications are all integrated with fingerprint It identifies this function, and then completes the authentication of user by fingerprint recognition.When third-party application carries out fingerprint recognition, Need to obtain the fingerprint identification region of fingerprint module in face, and the function of unlocking terminal screen is often the included function of system, Fingerprint identification region usually can be got when unlocking terminal screen.Therefore, the embodiment of the present disclosure is arranged in screen locking program One callback interface, may be implemented the interaction namely third between third-party application and screen locking program by the callback interface Fang Yingyong can obtain the fingerprint identification region of fingerprint module in face based on the callback interface by screen locking program, and then realize Fingerprint recognition.
It should be noted that third-party application may include multiple interfaces, such as home interface and other specified functions pair The interface answered, therefore, third-party application can detecte whether be switched to the corresponding interface of fingerprint identification function.When third party answers With detect be switched to fingerprint identification function corresponding interface when, illustrate that third-party application may need to carry out fingerprint recognition, Third-party application can send call instruction to screen locking program by the callback interface between screen locking program at this time.Certainly, it uses Family may use the fingerprint identification function in third-party application more frequent, and therefore, third-party application can also detect Third-party application is opened to user, i.e., when third-party application is in home interface, the readjustment that will pass through between screen locking program is connect Mouth sends call instruction to screen locking program.The embodiment of the present disclosure sends the execution of call instruction to third-party application to screen locking program Opportunity is not construed as limiting.
Wherein, third-party application can be the application for needing to be verified to user identity using fingerprint identification function, example Such as, payment application.When third-party application be payment in application, third-party application can detect need by fingerprint recognition into When row payment, call instruction is sent to screen locking program, and then carry out the verifying of user identity.In addition, third-party application and screen locking Callback interface between program can be callback interface.
In step 302, screen locking program refers to when receiving the call instruction of third-party application transmission according to the calling It enables, opens fingerprint module in the face being integrated on terminal screen.
Screen locking program can determine at this time after the call instruction for receiving third-party application transmission by callback interface It needs to open fingerprint module in the face being integrated in terminal, therefore, screen locking program can pass through fingerprint mould in screen locking program and face Fingerprint module in the face is opened in interaction between block.In order to which just with description, the embodiment of the present disclosure answers screen locking program with third party Interface between is known as the first callback interface, and the interface between fingerprint module in screen locking program and face is known as the second readjustment and is connect Mouthful.Therefore, screen locking program receive third-party application transmission call instruction and determine need fingerprint module in opening face when, Fingerprint module in opening face can be controlled by the second callback interface.
It should be noted that screen locking program by the second callback interface control opening face in fingerprint module when, Ke Yigen Open command is generated according to the call instruction received, then which refers to the unlatching for fingerprint module in opening face Order is sent to fingerprint module in face, and fingerprint module, can fingerprint module in opening face when receiving the open command in face.
Further, it after interior fingerprint module is successfully opened face to face, can be sent by the second callback interface to screen locking program special Determine information, the specific information is for determining fingerprint module in the opening face that succeeded.Screen locking program when receiving the specific information, It can determine and successfully open fingerprint module in face,
Wherein, the second callback interface and the first callback interface can be the same interface, be also possible to different interfaces, this Open embodiment does not limit this.When the second callback interface and the first callback interface are the same interfaces, third-party application Pass through with fingerprint module in face and interacted between an interface and screen locking program, saves interface resource, and then save The resource that fingerprint recognition is consumed.When the second callback interface and the first callback interface are different interface, third-party application and It is interacted between screen locking program and interacts and can be carried out between fingerprint module in face and screen locking program simultaneously, improve friendship Mutual efficiency, and then improve the efficiency of fingerprint recognition.
In step 303, screen locking program determines whether the call instruction is used to unlock terminal screen, when the call instruction not When being for unlocking terminal screen, fingerprint identification region of the fingerprint module in terminal screen in acquisition face.
Since screen locking program and third-party application can call fingerprint module in face;Therefore, which may be Screen locking program oneself triggering, it is also possible to third-party application triggering.Also, the call instruction of screen locking program oneself triggering is used In unlock terminal screen, and the call instruction of third-party application triggering is for verifying user identity.Therefore, screen locking program The treatment mechanism for the call instruction that the call instruction triggered according to oneself is triggered with third-party application is different.Therefore, screen locking program When receiving call instruction, which can be parsed, determine the call instruction whether be oneself triggering tune With instruction;When the call instruction is the call instruction of oneself triggering, determine the call instruction for unlocking terminal screen;When this When call instruction is not the call instruction of oneself triggering namely the call instruction is the call instruction of third-party application triggering, really The fixed call instruction is not intended to unlock terminal screen.
In a kind of possible embodiment, the call instruction of screen locking program triggering can carry the mark of screen locking program;And the The call instruction of tripartite's applications trigger can carry the mark of third-party application.Namely screen locking program can be carried in the call instruction Mark or third-party application mark.Screen locking program can determine the call instruction according to the mark that the call instruction carries Whether the call instruction of oneself triggering, which can be with are as follows: screen locking program parses call instruction, then according to parsing Obtained mark judges that the call instruction is the tune of the call instruction by screen locking program oneself triggering or third-party application triggering With instruction.When the mark that parsing obtains is the mark of screen locking program, determine that the call instruction is triggered by screen locking program oneself Call instruction;When the instruction that parsing obtains is the mark of third-party application, determine that the call instruction is by third-party application The call instruction of triggering.For example, when third-party application is payment in application, can take in the call instruction that third-party application triggers Mark with payment.
It should be noted that being the call instruction of oneself triggering when screen locking program determines the call instruction not, that is, determine When the call instruction is not intended to unlock terminal screen, then it can determine that the call instruction is that the calling of third-party application triggering refers to It enables, illustrates that third-party application needs to obtain at this time fingerprint identification region by screen locking program, and then realize fingerprint recognition.Cause This, for screen locking program when determining that the call instruction is not intended to unlock terminal screen, fingerprint module is in terminal in available face Fingerprint identification region in screen.
Wherein, screen locking program can determine that whether the call instruction is used to unlock end panel when receiving call instruction Curtain, can also receive call instruction and according to the call instruction open in the face that is integrated on terminal screen fingerprint module it Afterwards, it then determines whether the call instruction is used to unlock terminal screen, call instruction can also received, and open and be integrated in end Determine whether the call instruction is used to unlock terminal screen, the embodiment of the present disclosure again while fingerprint module in face on the screen of end It does not limit this.Wherein, it if screen locking program is receiving call instruction, and is opening in the face being integrated on terminal screen It determines whether the call instruction is used to unlock terminal screen again while fingerprint module, fingerprint identification process can be saved and spent Time, improve the efficiency of fingerprint recognition.
It, can fingerprint mould in first receiving plane in addition, screen locking program is according to call instruction opening face after fingerprint module Fingerprint module in the specific information and the determining opening face that succeeded that block is sent, then determine whether the call instruction is used to unlock terminal Screen, can also first determine the call instruction whether be used to unlock fingerprint module in terminal screen, then receiving plane send it is specific Information simultaneously determines fingerprint module in the opening face that succeeded, can also the specific information of fingerprint module transmission and determination in receiving plane Succeeded fingerprint module in opening face while determine whether the call instruction is used to unlock terminal screen, the embodiment of the present disclosure pair This is without limitation.Wherein, if screen locking program in receiving plane fingerprint module send specific information and determination successfully open When determining whether the call instruction is used to unlock terminal screen while fingerprint module in face, fingerprint identification process institute can be saved The time of cost improves the efficiency of fingerprint recognition.
In step 304, screen locking program shows fingerprint icon at the fingerprint identification region of current interface, the fingerprint icon For prompting the finger of user to press in fingerprint identification region.
Since fingerprint module is arranged in terminal screen in face, user can not intuitively recognize which region of terminal screen It is the fingerprint identification region of fingerprint module in face, therefore, fingerprint identification area can be prompted the user with by fingerprint image target form The position in domain, and then complete fingerprint recognition.
In a kind of possible embodiment, the screen locking program fingerprint recognition of fingerprint module in terminal screen in acquisition face Behind region, one layer of locking screen interface can be superimposed in current interface, and show and refer at the fingerprint identification region of the locking screen interface Line icon.Due to being to show that fingerprint icon namely fingerprint icon can accurately reflect fingerprint recognition at fingerprint identification region The position in region, therefore, the finger of user touch the fingerprint icon and are equivalent to the finger of user at fingerprint identification region It is pressed, fingerprint identification function can be realized at this time, avoid fingerprint image marker tape to the misleading of user, therefore fingerprint recognition Effect it is preferable.
It should be noted that screen locking program can also carry out transparent processing, screen locking circle after transparent processing to locking screen interface Face is used to show the prompt information of third-party application through the locking screen interface.Optionally, screen locking program is superimposed in current interface After one layer of locking screen interface, transparent processing first can be carried out to the locking screen interface, then the finger of the locking screen interface after transparent processing Fingerprint icon is shown at line identification region;Fingerprint icon can also be first shown at the fingerprint identification region of locking screen interface, then Transparent processing is carried out to the locking screen interface after display fingerprint icon, the embodiment of the present disclosure does not limit this.Wherein, to display When locking screen interface after fingerprint icon carries out transparent processing, it can will show in the locking screen interface after fingerprint icon in addition to fingerprint image Region except mark carries out transparent processing.
Since the current interface of third-party application would generally show some prompt informations, such as when third-party application is payment In application, showing the prompt information of " fingerprint please be input, and carry out authentication by fingerprint to complete to pay " in current interface. Therefore, when current interface is superimposed one layer and includes fingerprint image target locking screen interface, the prompt in third-party application in order to prevent The locking screen interface that information is applied blocks, and the embodiment of the present disclosure has made transparent processing to the locking screen interface.In this way, user not only may be used Accurately to carry out fingerprint recognition, can also clearly check shown in the current interface of third-party application it is all in Hold, including prompt information.
It wherein, can also be at fingerprint identification region other than it can show fingerprint icon at fingerprint identification region Show fingerprint icon and fingerprint identification information;The fingerprint identification information is for prompting user to press user's at the fingerprint icon Finger.For example, showing the fingerprint recognition letter of fingerprint icon and " please pressing finger at fingerprint icon " at fingerprint identification region Breath.In this case, user can be through the region in the locking screen interface other than fingerprint icon and fingerprint identification information All the elements for checking third-party application, including prompt information.
In step 305, when screen locking Programmable detection fingerprint identification region is pressed by finger, the fingerprint identification region is obtained In the finger finger print information, and according to the finger print information carry out fingerprint recognition.
Due to showing fingerprint icon at fingerprint identification region, and user can prompt to incite somebody to action according to the fingerprint image target Finger is pressed at the fingerprint identification region, and therefore, it is to be pressed by region by finger that screen locking program, which can detecte fingerprint, And the finger print information of finger at the hand fingerprint identification region is obtained, and then fingerprint recognition is carried out according to the finger print information.Below will Step 305 is described in detail by step (1), (2) and (3):
(1) screen locking program detects fingerprint identification region.
Screen locking program can detect fingerprint identification region, and when detect that the fingerprint identification region is pressed by When pressure event, the event type and pressure value of the press event are obtained, when the event type is specified type, and the pressure value is super When crossing preset threshold, determine that the fingerprint identification region is pressed by finger.Wherein, specified type is the corresponding event class of fingerprint recognition Type.
In a kind of possible embodiment, screen locking program can also be examined fingerprint identification region by pressure sensor It surveys.It that is to say, screen locking program can send acquisition instructions to pressure sensor, and pressure sensor is receiving the acquisition instructions Afterwards, fingerprint identification region can be detected.When pressure sensor detects the pressing thing that the fingerprint identification region is pressed When part, the event type and pressure value of the press event are determined, and report the event type and the pressure value to screen locking program.Lock Shield program in the event type and pressure value for receiving the press event, and works as the event type for specified type, and the pressure When value is more than preset threshold, determine that the fingerprint identification region is pressed by finger.
Wherein, pressure sensor, can during detecting after receiving the acquisition instructions to fingerprint identification region First to detect whether to receive the location information of the finger of touch sensible module transmission, when receiving the location information of finger, Fingerprint identification region is detected, and determines whether the finger is located at fingerprint identification region according to the location information of finger.When When pressure sensor determines that the finger is located at fingerprint identification region, the pressing that the fingerprint identification region is pressed has been confirmly detected Event.
Since user may accidentally touch fingerprint identification region, and generally accidentally the pressure value of touching is usually all smaller, therefore, in order to The event that user is accidentally touched to fingerprint identification region is avoided to need to press the pressing of fingerprint identification region when fingerprint recognition as user Specified type and preset threshold can be set in event, the embodiment of the present disclosure, only when the event type of press event is specified class When type and pressure value are more than preset threshold, just the determination fingerprint identification region is pressed by finger, improves the efficiency of fingerprint recognition.
(2) screen locking program obtains the finger print information of the finger in the fingerprint identification region.
It, can be with when screen locking program detect and determine that the fingerprint identification region is pressed by finger to fingerprint identification region Obtain the finger print information of the finger in the fingerprint identification region.Screen locking program is in the fingerprint for obtaining the finger in fingerprint identification region When information, hi-bright mode can be set by the backlight of terminal screen, the image of the finger be acquired under hi-bright mode, and should Finger print information of the image of finger as finger.
It should be noted that can control face during screen locking program acquires the image of the finger under hi-bright mode Interior fingerprint module acquires the image of finger.It that is to say, screen locking program can pass through second time between fingerprint module in face Adjust interface that the information that hi-bright mode adjustment is completed is sent to fingerprint identification module in face, fingerprint identification module is receiving in face When the information, the image of the finger can be acquired under the hi-bright mode, and using the image of the finger as the fingerprint of finger Information.
It should also be noted that, the safety in order to further ensure that fingerprint recognition, in screen locking program to fingerprint identification area While domain is detected, fingerprint module can also be detected fingerprint identification region in face, and interior fingerprint module inspection face to face When measuring the press event that the fingerprint identification region is pressed, the event type and pressure value of the press event are obtained, when the thing Part type be specified type, and the pressure value be more than preset threshold when, determine that the fingerprint identification region is pressed by finger.Therefore, The information that fingerprint module is completed in the hi-bright mode adjustment for receiving the transmission of screen locking program by the second callback interface in face, and it is same When determining that the fingerprint identification region is pressed by finger according to the detection to fingerprint identification region, just start to work, that is, start The image of finger is acquired under hi-bright mode, and using the image of the finger as the finger print information of finger.
Optionally, screen locking program can also be when obtaining the finger print information of the finger in fingerprint identification region, only by fingerprint Backlight at identification region is set as hi-bright mode, and acquires the image of the finger, and using the image of the finger as finger Finger print information.
In order to obtain the image of clearer finger, the embodiment of the present disclosure can be by end when obtaining the finger print information of finger The backlight of end screen is set as hi-bright mode, can also set the backlight at fingerprint identification region to hi-bright mode, and acquire The image of finger.When setting hi-bright mode for the backlight of terminal screen, the image of finger not only can be clearly acquired, eventually The uniformity of end screen backlight can also bring the certain comfort of user.When setting high for the backlight at fingerprint identification region When bright mode, the image of finger not only can be clearly acquired, electricity can also be saved, and then save the resource of fingerprint recognition.
(3) screen locking program carries out fingerprint recognition according to the finger print information.
Screen locking program can carry out after the finger print information for obtaining the finger in fingerprint identification region according to the finger print information Fingerprint recognition.
It should be noted that since screen locking program can control in face fingerprint module come the image of the finger acquired, and will Finger print information of the image of the finger as finger, therefore, the finger print information can be sent to algorithm journey by fingerprint module in face Sequence.Algorithm routine when receiving the finger print information, can determine finger print information in the finger print information and fingerprint template library it Between matching degree, when the matching degree is spent greater than preset matching, determine matching result be verified;When the matching degree is not more than When preset matching is spent, determine that the matching result does not pass through for verifying.After algorithm routine determines matching result, by the matching result It is sent to screen locking program, the matching result is forwarded to third-party application by screen locking program.
Wherein, at least one finger print information of legitimate user is stored in fingerprint template library, legitimate user is to license this The user of terminal, and at least one finger print information of legitimate user in registration phase typing and is stored in the fingerprint template library.Separately Outside, algorithm routine can determine the matching degree between two finger print informations by any matching degree algorithm.Also, algorithm routine is also The matching degree between two finger print informations can be determined by the characteristic value information of two finger print informations.Correspondingly, referring to for this Each finger print information in line template library, algorithm routine determine that the fingerprint in the finger print information received and fingerprint template library is believed The step of matching degree between breath, can be with are as follows: and algorithm routine extracts the fisrt feature value information of the finger print information received, with And determine the second feature value information of the finger print information in the fingerprint template library, determine fisrt feature value information and Second Eigenvalue Matching degree between information, by the matching degree be determined as the finger print information in the finger print information received and fingerprint template library it Between matching degree.
When algorithm routine is by the characteristic value informations of two finger print informations, the matching degree between two finger print informations is determined When, at least one finger print information of legitimate user can not be stored in the fingerprint template library, and store at least one fingerprint letter The characteristic value information of breath.Certainly, at least one finger print information can also be stored in the fingerprint template library simultaneously and at least one refers to The characteristic value information of line information.Correspondingly, algorithm routine determines the Second Eigenvalue letter of the finger print information in the fingerprint template library The step of breath, can be with are as follows: algorithm routine obtains the second feature value information of the finger print information, Huo Zhecong from the fingerprint template library Second feature value information is extracted in the finger print information in the fingerprint template library.
In the embodiments of the present disclosure, third-party application hair is received by the callback interface between the third-party application of terminal Then the call instruction sent opens fingerprint module in the face being integrated on terminal screen according to the call instruction.Due to obtaining Fingerprint identification region of the fingerprint module in terminal screen in face, and fingerprint is shown at the fingerprint identification region of current interface Icon namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, and therefore, the finger of user can be with It is pressed in the fingerprint identification region.And then when detect the fingerprint identification region pressed by finger when, obtain the fingerprint knowledge The finger print information of finger in other region, and fingerprint recognition is carried out according to the finger print information.It that is to say, pass through the third with terminal Fingerprint module in callback interface opening face between Fang Yingyong, and fingerprint icon is shown at true fingerprint identification region.Such as This, even if third-party application does not have fingerprint module in opposite to do compatibility, user at true fingerprint identification region by that should show The fingerprint icon shown can also intuitively recognize the fingerprint identification region of fingerprint module in face in terminal screen, and then realize fingerprint Identification.
Fig. 4 is a kind of block diagram of the device 400 of fingerprint recognition shown according to an exemplary embodiment.As shown in figure 4, should Device 400 includes receiving module 401, opening module 402, display module 403 and identification module 404.
Receiving module 401 receives the third-party application for the callback interface between the third-party application by terminal The call instruction of transmission;
Opening module 402, for opening fingerprint module in the face being integrated on terminal screen according to the call instruction;
Display module 403 for obtaining fingerprint identification region of the fingerprint module in the terminal screen in the face, and is being worked as Fingerprint icon is shown at the fingerprint identification region of front interface, and the fingerprint icon is for prompting the finger of user in the fingerprint recognition It is pressed in region;
Identification module 404, for obtaining the fingerprint identification region when detecting the fingerprint identification region by finger pressing In the finger finger print information, and according to the finger print information carry out fingerprint recognition.
Optionally, the device further include:
First determining module, for when receiving the specific information that fingerprint module is sent in the face, determination successfully to be opened Fingerprint module in the face is opened, the display module is triggered and shows fingerprint icon at the fingerprint identification region at interface in this prior, it should Specific information, which is used to indicate, successfully opens fingerprint module in the face.
Optionally, the device further include:
Second determining module, for determining whether the call instruction is used to unlock the terminal screen;
Trigger module is obtained for when the call instruction is not intended to unlock the terminal screen, triggering the display module Fingerprint identification region of the fingerprint module in the terminal screen in the face.
Optionally, which includes:
It is superimposed submodule, one layer of locking screen interface is superimposed on interface in this prior;
Display sub-module, for showing the fingerprint icon at the fingerprint identification region of the locking screen interface.
Optionally, the display module further include:
Submodule is handled, for carrying out transparent processing to the locking screen interface, the locking screen interface after transparent processing is for penetrating The locking screen interface shows the prompt information of the third-party application.
Optionally, this method further include:
Detection module, for being detected to the fingerprint identification region;
Module is obtained, for obtaining the press event when detecting the press event that the fingerprint identification region is pressed Event type and pressure value;
Third determining module, for when the event type be specified type, and the pressure value be more than preset threshold when, determine The fingerprint identification region is pressed by finger.
Optionally, which includes:
Highlighted submodule, for setting hi-bright mode for the backlight of the terminal screen;
Acquisition module, for acquiring the image of the finger, and using the image of the finger as the hand under the hi-bright mode The finger print information of finger.
In the embodiments of the present disclosure, third-party application hair is received by the callback interface between the third-party application of terminal Then the call instruction sent opens fingerprint module in the face being integrated on terminal screen according to the call instruction.Due to obtaining Fingerprint identification region of the fingerprint module in terminal screen in face, and fingerprint is shown at the fingerprint identification region of current interface Icon namely the fingerprint icon can accurately prompt the user with the position of fingerprint identification region, and therefore, the finger of user can be with It is pressed in the fingerprint identification region.And then when detect the fingerprint identification region pressed by finger when, obtain the fingerprint knowledge The finger print information of finger in other region, and fingerprint recognition is carried out according to the finger print information.It that is to say, pass through the third with terminal Fingerprint module in callback interface opening face between Fang Yingyong, and fingerprint icon is shown at true fingerprint identification region.Such as This, even if third-party application does not have fingerprint module in opposite to do compatibility, user at true fingerprint identification region by that should show The fingerprint icon shown can also intuitively recognize the fingerprint identification region of fingerprint module in face in terminal screen, and then realize fingerprint Identification.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is a kind of block diagram of device 500 for shooting shown according to an exemplary embodiment.For example, device 500 It can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides power supply for the various assemblies of device 500.Power supply module 506 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of power supply.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, real shown in above-mentioned Fig. 4 or Fig. 5 for executing The method that example offer is provided.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row, a kind of enable the terminal to execute fingerprint recognition method.
A kind of computer program product comprising instruction, when the instruction in the computer program product is by the processor of terminal When execution, the method that enables the terminal to execute fingerprint recognition in above-mentioned Fig. 2 and Fig. 3.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.

Claims (16)

1. a kind of method of fingerprint recognition, which is characterized in that the described method includes:
By the callback interface between the third-party application of terminal, the call instruction that the third-party application is sent is received;
According to the call instruction, fingerprint module in the face being integrated on terminal screen is opened;
Fingerprint identification region of the fingerprint module in the terminal screen in the face is obtained, and in the fingerprint of current interface Fingerprint icon is shown at identification region, the fingerprint icon is for prompting the finger of user to carry out in the fingerprint identification region Pressing;
When the detection fingerprint identification region is pressed by the finger, the finger in the fingerprint identification region is obtained Finger print information, and fingerprint recognition is carried out according to the finger print information.
2. the method as described in claim 1, which is characterized in that described to be shown at the fingerprint identification region of current interface Before fingerprint icon, the method also includes:
When receiving the specific information that fingerprint module is sent in the face, fingerprint module in the face is successfully opened in determination, Fingerprint image target step is shown at the fingerprint identification region of current interface described in executing, the specific information is used to indicate Fingerprint module in the face is opened in success.
3. the method as described in claim 1, which is characterized in that fingerprint module is in the terminal screen in the acquisition face In fingerprint identification region before, the method also includes:
Determine whether the call instruction is used to unlock the terminal screen;
When the call instruction is not intended to unlock the terminal screen, fingerprint module is in institute in the execution acquisition face The step of stating the fingerprint identification region in terminal screen.
4. the method as described in claim 1, which is characterized in that described to be shown at the fingerprint identification region of current interface Fingerprint icon, comprising:
One layer of locking screen interface is superimposed in the current interface;
The fingerprint icon is shown at the fingerprint identification region of the locking screen interface.
5. method as claimed in claim 4, which is characterized in that described at the fingerprint identification region of the locking screen interface Before showing the fingerprint icon, the method also includes:
Transparent processing is carried out to the locking screen interface, the locking screen interface after transparent processing is used to show institute through the locking screen interface State the prompt information of third-party application.
6. the method as described in claim 1, which is characterized in that the method also includes:
The fingerprint identification region is detected;
When detecting the press event that the fingerprint identification region is pressed, the event type and pressure of the press event are obtained Force value;
When the event type is specified type, and the pressure value is more than preset threshold, the fingerprint identification region is determined It is pressed by finger.
7. method as described in claim 1 or 6, which is characterized in that the hand obtained in the fingerprint identification region The finger print information of finger, comprising:
Hi-bright mode is set by the backlight of the terminal screen;
Under the hi-bright mode, the image of the finger is acquired, and using the image of the finger as the fingerprint of the finger Information.
8. a kind of device of fingerprint recognition, which is characterized in that described device includes:
Receiving module receives the third-party application and sends for the callback interface between the third-party application by terminal Call instruction;
Opening module, for opening fingerprint module in the face being integrated on terminal screen according to the call instruction;
Display module, for obtaining fingerprint identification region of the fingerprint module in the terminal screen in the face, and current Fingerprint icon is shown at the fingerprint identification region at interface, the fingerprint icon is for prompting the finger of user in the fingerprint It is pressed in identification region;
Identification module, for obtaining the fingerprint identification region when the detection fingerprint identification region is pressed by the finger In the finger finger print information, and according to the finger print information carry out fingerprint recognition.
9. device as claimed in claim 8, which is characterized in that described device further include:
First determining module, for when receiving the specific information that fingerprint module is sent in the face, determination successfully to be opened Fingerprint module in the face triggers the display module and shows fingerprint image at the fingerprint identification region of the current interface Mark, the specific information, which is used to indicate, successfully opens fingerprint module in the face.
10. device as claimed in claim 8, which is characterized in that described device further include:
Second determining module, for determining whether the call instruction is used to unlock the terminal screen;
Trigger module, for triggering the display module and obtaining when the call instruction is not intended to unlock the terminal screen Take fingerprint identification region of the fingerprint module in the terminal screen in the face.
11. device as claimed in claim 8, which is characterized in that the display module includes:
It is superimposed submodule, for being superimposed one layer of locking screen interface in the current interface;
Display sub-module, for showing the fingerprint icon at the fingerprint identification region of the locking screen interface.
12. device as claimed in claim 11, which is characterized in that the display module further include:
Submodule is handled, for carrying out transparent processing to the locking screen interface, the locking screen interface after transparent processing is used to penetrate institute State the prompt information that locking screen interface shows the third-party application.
13. device as claimed in claim 8, which is characterized in that the method also includes:
Detection module, for being detected to the fingerprint identification region;
Module is obtained, for obtaining the press event when detecting the press event that the fingerprint identification region is pressed Event type and pressure value;
Third determining module, for when the event type be specified type, and the pressure value be more than preset threshold when, determine The fingerprint identification region is pressed by finger.
14. the device as described in claim 8 or 13, which is characterized in that the identification module includes:
Highlighted submodule, for setting hi-bright mode for the backlight of the terminal screen;
Acquisition module, for acquiring the image of the finger, and using the image of the finger as institute under the hi-bright mode State the finger print information of finger.
15. a kind of device of fingerprint recognition, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of perform claim requires any one method described in 1-7.
16. a kind of computer readable storage medium, instruction is stored on the computer readable storage medium, which is characterized in that The step of any one method described in claim 1-7 is realized when described instruction is executed by processor.
CN201811240802.4A 2018-10-23 2018-10-23 Fingerprint identification method and device and computer readable storage medium Active CN109324863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811240802.4A CN109324863B (en) 2018-10-23 2018-10-23 Fingerprint identification method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811240802.4A CN109324863B (en) 2018-10-23 2018-10-23 Fingerprint identification method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109324863A true CN109324863A (en) 2019-02-12
CN109324863B CN109324863B (en) 2022-05-03

Family

ID=65262747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811240802.4A Active CN109324863B (en) 2018-10-23 2018-10-23 Fingerprint identification method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109324863B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948576A (en) * 2019-03-27 2019-06-28 上海菲戈恩微电子科技有限公司 Fingerprint identification method under a kind of screen suitable for mobile terminal
CN111160228A (en) * 2019-12-26 2020-05-15 武汉天马微电子有限公司 Display panel, control method thereof and display device
CN111832339A (en) * 2019-04-16 2020-10-27 北京小米移动软件有限公司 Fingerprint identification method and device
CN111860037A (en) * 2019-04-25 2020-10-30 北京小米移动软件有限公司 Calibration method and device for fingerprint acquisition area
CN112861095A (en) * 2019-11-27 2021-05-28 上海箩箕技术有限公司 Fingerprint verification method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881667A (en) * 2014-02-28 2015-09-02 阿里巴巴集团控股有限公司 Characteristic information extraction method and apparatus
CN106716431A (en) * 2016-12-26 2017-05-24 深圳市汇顶科技股份有限公司 A fingerprint identification guide method and device
CN106845199A (en) * 2017-01-24 2017-06-13 北京小米移动软件有限公司 Object authentication method and device
US20170213019A1 (en) * 2015-08-10 2017-07-27 Boe Technology Group Co., Ltd. Fingerprint identification system and method and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881667A (en) * 2014-02-28 2015-09-02 阿里巴巴集团控股有限公司 Characteristic information extraction method and apparatus
US20170213019A1 (en) * 2015-08-10 2017-07-27 Boe Technology Group Co., Ltd. Fingerprint identification system and method and display device
CN106716431A (en) * 2016-12-26 2017-05-24 深圳市汇顶科技股份有限公司 A fingerprint identification guide method and device
CN106845199A (en) * 2017-01-24 2017-06-13 北京小米移动软件有限公司 Object authentication method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948576A (en) * 2019-03-27 2019-06-28 上海菲戈恩微电子科技有限公司 Fingerprint identification method under a kind of screen suitable for mobile terminal
CN111832339A (en) * 2019-04-16 2020-10-27 北京小米移动软件有限公司 Fingerprint identification method and device
CN111860037A (en) * 2019-04-25 2020-10-30 北京小米移动软件有限公司 Calibration method and device for fingerprint acquisition area
CN112861095A (en) * 2019-11-27 2021-05-28 上海箩箕技术有限公司 Fingerprint verification method and device and storage medium
CN111160228A (en) * 2019-12-26 2020-05-15 武汉天马微电子有限公司 Display panel, control method thereof and display device
CN111160228B (en) * 2019-12-26 2023-06-30 武汉天马微电子有限公司 Display panel, control method thereof and display device

Also Published As

Publication number Publication date
CN109324863B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN104850769B (en) Operation executes method and device
CN109324863A (en) The method, apparatus and computer readable storage medium of fingerprint recognition
CN104992091B (en) Access the method, apparatus and storage medium of terminal
CN104765552B (en) Right management method and device
US20170053149A1 (en) Method and apparatus for fingerprint identification
CN107025419B (en) Fingerprint template inputting method and device
CN105654302B (en) Payment method and device
CN106210238B (en) Short message storage method and device
CN104571709B (en) The processing method of mobile terminal and virtual key
CN106204046A (en) The method and device that order pays
CN109992946A (en) Solve the method, apparatus and computer readable storage medium of locked application
CN108319836A (en) The method and apparatus for executing processing based on fingerprint recognition
CN107643818B (en) Function opening method and device
CN106529277A (en) Message preview method and device
CN108710791A (en) The method and device of voice control
CN108122020A (en) Two-dimensional code generation method and device and two-dimensional code identification method and device
CN106980836A (en) Auth method and device
CN105955635B (en) Interface display method and device
CN108898126A (en) Fingerprint identification method and device
CN112437189A (en) Identity recognition method, device and medium
CN106789554A (en) The method and device of short message treatment
US10671827B2 (en) Method and device for fingerprint verification
CN107133551B (en) Fingerprint verification method and device
CN111079108A (en) Fingerprint identification method and device, electronic equipment and storage medium
CN111104014B (en) Method, device, terminal and storage medium for starting application program

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