CN107643818A - Function open method and device - Google Patents

Function open method and device Download PDF

Info

Publication number
CN107643818A
CN107643818A CN201610581687.1A CN201610581687A CN107643818A CN 107643818 A CN107643818 A CN 107643818A CN 201610581687 A CN201610581687 A CN 201610581687A CN 107643818 A CN107643818 A CN 107643818A
Authority
CN
China
Prior art keywords
fingerprint template
finger print
print information
fingerprint
match
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
CN201610581687.1A
Other languages
Chinese (zh)
Other versions
CN107643818B (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 CN201610581687.1A priority Critical patent/CN107643818B/en
Publication of CN107643818A publication Critical patent/CN107643818A/en
Application granted granted Critical
Publication of CN107643818B publication Critical patent/CN107643818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Present disclose provides a kind of function open method and device, belong to field of terminal technology.Methods described includes:When detecting that physical button is pressed, fingerprint collecting is carried out in fingerprint recognition region corresponding to the physical button, obtains the first finger print information;First finger print information is matched with least one fingerprint template stored, obtains the first matching result;If first matching result opens preset function for the match is successful.The disclosure is during physical button is pressed, by the way that fingerprint collecting is just carried out in fingerprint recognition region when physical button is pressed, and carry out fingerprint recognition, so that physical button recovers that to before home position the unlatching of function can be realized, the time-consuming of function opening process is shortened, improves the efficiency of function unlatching.

Description

Function open method and device
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of function open method and device.
Background technology
With the development of terminal technology, fingerprint identification technology has been widely used in terminal.Fingerprint is known in practical application Physical button of the other function generally with terminal is combined together so that the touch area of physical button and fingerprint recognition region weight It is folded, so can be so that the operating process to physical button (such as Home buttons) and the process of fingerprint recognition be incorporated in into one Rise, to open some functions, such as terminal unlocking function etc..
By taking terminal unlocking function as an example, terminal screen be in go out screen state when, if detect to Home buttons by Press operation, then when Home buttons are pressed, by terminal screen by go out screen State Transferring be bright screen state;When Home buttons recover to During home position, fingerprint is gathered in fingerprint recognition region corresponding to Home buttons, and the fingerprint to collecting is identified, such as Fruit identifies successfully, then terminal is unlocked.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of function open method and device, the technology Scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of function open method, methods described include:
When detecting that physical button is pressed, progress fingerprint is adopted in fingerprint recognition region corresponding to the physical button Collection, obtains the first finger print information;
First finger print information is matched with least one fingerprint template stored, obtains the first matching result;
If first matching result opens preset function for the match is successful.
In a kind of possible embodiment, first finger print information is matched with the fingerprint template stored, obtained To after the first matching result, methods described also includes:
If first matching result for it fails to match, is detecting that the physical button recovers to home position When, fingerprint collecting is carried out in the fingerprint recognition region, obtains the second finger print information;
Second finger print information is matched with least one fingerprint template, obtains the second matching result;
If second matching result opens the preset function for the match is successful.
In a kind of possible embodiment, after opening the preset function, methods described also includes:
Target fingerprint template is determined, the target fingerprint template is to exceed to preset with the similarity of second finger print information The fingerprint template of threshold value;
The target fingerprint template is updated according to second finger print information.
In a kind of possible embodiment, by second finger print information and at least one fingerprint template progress Match somebody with somebody, after obtaining the second matching result, methods described also includes:
If second matching result is it fails to match, the record matching frequency of failure;
When it is described it fails to match number reaches preset times when, lock the preset function.
In a kind of possible embodiment, first finger print information and at least one fingerprint template of storage are carried out Matching, obtaining the first matching result includes:
According to the similarity of each fingerprint template in first finger print information and at least one fingerprint template, judge It whether there is target fingerprint template at least one fingerprint template, the target fingerprint template is to believe with first fingerprint The similarity of breath exceedes the fingerprint template of predetermined threshold value;
If the target fingerprint template at least one fingerprint template be present, it is determined that the match is successful;
If the target fingerprint template is not present at least one fingerprint template, it is determined that it fails to match.
In a kind of possible embodiment, opening preset function includes:
When detecting that the physical button is recovered to home position, the preset function is opened.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of function opening device, described device include:
Finger print acquisition module, for when detecting that physical button is pressed, in fingerprint recognition corresponding to the physical button Fingerprint collecting is carried out in region, obtains the first finger print information;
Matching module, for first finger print information to be matched with least one fingerprint template stored, obtain First matching result;
Opening module, for when first matching result is that the match is successful, opening preset function.
In a kind of possible embodiment, if it is that the finger print acquisition module, which is additionally operable to first matching result, With failure, then when detecting that the physical button is recovered to home position, fingerprint collecting is carried out in the fingerprint recognition region, Obtain the second finger print information;
The matching module is additionally operable to be matched second finger print information with least one fingerprint template, obtains To the second matching result;
If the opening module is additionally operable to second matching result as the match is successful, the preset function is opened.
In a kind of possible embodiment, described device also includes:
Determining module, for determining target fingerprint template, the target fingerprint template is and second finger print information Similarity exceedes the fingerprint template of predetermined threshold value;
Update module, for being updated according to second finger print information to the target fingerprint template.
In a kind of possible embodiment, described device also includes:
Logging modle, if for second matching result for it fails to match, the record matching frequency of failure;
Locking module, for when it is described it fails to match number reaches preset times when, lock the preset function.
In a kind of possible embodiment, the matching module be used for according to first finger print information with it is described at least The similarity of each fingerprint template, judges to whether there is target fingerprint at least one fingerprint template in one fingerprint template Template, the target fingerprint template are to exceed the fingerprint template of predetermined threshold value with the similarity of first finger print information;If The target fingerprint template at least one fingerprint template be present, it is determined that the match is successful;If at least one finger The target fingerprint template is not present in line template, it is determined that it fails to match.
In a kind of possible embodiment, the opening module, which is used to work as, detects that the physical button is recovered to original During position, the preset function is opened.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of function opening device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:When detecting that physical button is pressed, know in the fingerprint of the physical button Fingerprint collecting is carried out in other region, obtains the first finger print information;By first finger print information and at least one fingerprint of storage Template is matched, and obtains the first matching result;If first matching result opens preset function for the match is successful.
The technical scheme provided by this disclosed embodiment can include the following benefits:
During physical button is pressed, by just being referred to when physical button is pressed in fingerprint recognition region Line gathers, and carries out fingerprint recognition so that physical button recovers that to before home position the unlatching of function can be realized, shortens Taking for function opening process, improves the efficiency of function unlatching.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of function open method according to an exemplary embodiment.
Fig. 2A is a kind of flow chart of function open method according to an exemplary embodiment.
Fig. 2 B are a kind of in the prior art to realize the structural representation for being combined together physical button and fingerprint identification function Figure.
Fig. 2 C are a kind of unlatching flow charts of terminal unlocking function according to an exemplary embodiment.
Fig. 3 A are a kind of block diagrams of function opening device according to an exemplary embodiment.
Fig. 3 B are a kind of block diagrams of function opening device according to an exemplary embodiment.
Fig. 3 C are a kind of block diagrams of function opening device according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of function opening device according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of function open method according to an exemplary embodiment, as shown in figure 1, using In terminal, comprise the following steps:
In a step 101, when detecting that physical button is pressed, carried out in fingerprint recognition region corresponding to physical button Fingerprint collecting, obtain the first finger print information.
In a step 102, the first finger print information is matched with least one fingerprint template stored, obtains first With result, if the first matching result for the match is successful, performs step 103.
In step 103, if the first matching result opens preset function for the match is successful.
The method that the embodiment of the present disclosure provides, during physical button is pressed, by when physical button is pressed Just fingerprint collecting is carried out in fingerprint recognition region, and carries out fingerprint recognition so that physical button is recovered to before home position The unlatching of function can be realized, the time-consuming of function opening process is shortened, improves the efficiency of function unlatching.
In a kind of possible embodiment, the first finger print information is matched with the fingerprint template stored, obtains the After one matching result, this method also includes:
If the first matching result is it fails to match, when detecting that physical button is recovered to home position, in fingerprint Identification region carries out fingerprint collecting, obtains the second finger print information;
Second finger print information is matched with least one fingerprint template, obtains the second matching result;
If the second matching result opens preset function for the match is successful.
In a kind of possible embodiment, after opening preset function, method also includes:
Target fingerprint template is determined, target fingerprint template is to exceed the finger of predetermined threshold value with the similarity of the second finger print information Line template;
Target fingerprint template is updated according to the second finger print information.
In a kind of possible embodiment, the second finger print information is matched with least one fingerprint template, obtained After second matching result, this method also includes:
If the second matching result is it fails to match, the record matching frequency of failure;
When it fails to match number reaches preset times when, lock preset function.
In a kind of possible embodiment, by the first finger print information and at least one fingerprint template progress of storage Match somebody with somebody, obtaining the first matching result includes:
According to the similarity of each fingerprint template in the first finger print information and at least one fingerprint template, judge at least one It whether there is target fingerprint template in fingerprint template, target fingerprint template is to exceed default threshold with the similarity of the first finger print information The fingerprint template of value;
If target fingerprint template at least one fingerprint template be present, it is determined that the match is successful;
If target fingerprint template is not present at least one fingerprint template, it is determined that it fails to match.
In a kind of possible embodiment, opening preset function includes:
When detecting that physical button is recovered to home position, preset function is opened.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer Repeat one by one.
Fig. 2A is a kind of flow chart of function open method according to an exemplary embodiment, as shown in Figure 2 A, should For terminal, comprise the following steps:
In step 201, when detecting that physical button is pressed, carried out in fingerprint recognition region corresponding to physical button Fingerprint collecting, obtain the first finger print information.
In the disclosed embodiments, terminal can open corresponding preset function according to the pressing operation to physical button, In order to ensure the security of terminal, other users are avoided to carry out illegal operation to terminal, can be by physical button and fingerprint recognition Function is combined together so that and terminal can carry out fingerprint recognition while the pressing operation to physical button is detected, with Open the preset function.
Wherein, physical button can be Home key, power key, volume key of terminal etc., and the embodiment of the present disclosure is not made to this It is specific to limit.Preset function corresponding to physical button can be:Terminal unlocking function, or terminal screen is turned by screen state of going out Change bright screen state into, current screen interface is either back to desktop or display desktop homepage etc., the disclosure by application interface Embodiment is not especially limited to this.Preset function can be pre-set or changed by terminal or user, and the preset function can Think system build-in function, or function of terminal installation application etc., the embodiment of the present disclosure is not especially limited to this.
So that physical button is Home key as an example, the structure shown in generally use Fig. 2 B is realized physical button and fingerprint recognition Function is combined together.In fig. 2b, fingerprint knows sensor and is arranged at the top of physical button, the fingerprint Identification sensor it is upper Region corresponding to surface is fingerprint recognition region.Fingerprint Identification sensor is used to carry out fingerprint recognition in fingerprint recognition region. When physical button is not pressed, the upper surface of the fingerprint Identification sensor and the upper surface of cover-plate glass maintain an equal level, now physics Position where button is referred to as home position.User can be triggered to physical button by pressing the fingerprint Identification sensor Pressing, now physical button is left home position and moved down.
In the disclosed embodiments, user presses process in the process pressed physical button including physical button With lift process.Due to terminal in the prior art can only after physical button is lifted, recover to home position when could be referred to Line identifies that causing function to be opened, time-consuming, therefore in order to shorten the time-consuming of the preset function opening process, in the embodiment of the present disclosure Terminal just can carry out fingerprint collecting when detecting that physical button is pressed in fingerprint recognition region corresponding to physical button, And the fingerprint to collecting is identified, specific identification process is referring to step 202.Will be in physical button in the embodiment of the present disclosure The finger print information collected when pressing is referred to as the first finger print information.
In step 202, the first finger print information is matched with least one fingerprint template stored, obtains first With result, if the first matching result for the match is successful, performs step 203, if the first matching result for it fails to match, performs Step 204.
Terminal can store at least one fingerprint template, and at least one fingerprint template may be used to indicate the finger of same finger Line, it can also be used to indicate the fingerprint of different fingers, each fingerprint template has the template mark for being uniquely used for identifying the fingerprint template Know.The template identification can be automatically generated by terminal, also can be configured or be changed by user, and the embodiment of the present disclosure is not made to have to this Body limits.Wherein, each fingerprint template can operate generation by terminal according to the multiple fingerprint typing of user.Specifically, Yong Huke So that finger to be placed in fingerprint recognition region repeatedly so that terminal can collect multiple fingerprint letters in fingerprint recognition region Breath, and then generate fingerprint template according to the multiple finger print informations collected.Wherein, user is placing a finger on fingerprint recognition region When, it is not necessary to finger is pressed, such finger will not deform upon.It that is to say, be not send out corresponding to the fingerprint template of terminal storage The finger print of raw deformation.
Specifically, the first finger print information is identified according at least one fingerprint template for terminal, that is to say first Finger print information is matched with least one fingerprint template stored, and process can be:Terminal is according to the first finger print information and extremely The similarity of each fingerprint template, judges to whether there is target fingerprint mould at least one fingerprint template in a few fingerprint template Plate.The target fingerprint template is to exceed the fingerprint template of predetermined threshold value with the similarity of the first finger print information.It is if at least one The target fingerprint template in fingerprint template be present, it is determined that the match is successful;If the mesh is not present at least one fingerprint template Mark fingerprint template, it is determined that it fails to match.
Wherein, predetermined threshold value can be preset or be changed by terminal, and the embodiment of the present disclosure is not especially limited to this. The similarity of first finger print information and fingerprint template refers to the partial fingerprints letter being included in the first finger print information in fingerprint template Breath accounts for the percentage of the first finger print information.For example, the finger print information for having 80% in the first finger print information is included in fingerprint template, Then the similarity of the first finger print information and fingerprint template is 80%.Certainly, above-mentioned similarity can also be calculated by other algorithms Obtain, the embodiment of the present disclosure is not especially limited to this
It should be noted that in order to reduce the amount of calculation of fingerprint recognition, shorten the time-consuming of fingerprint recognition, carry out fingerprint knowledge During not, terminal can not also be matched the first finger print information with each fingerprint template, but in the process of matching In, once finding that the similarity of a certain fingerprint template and the first finger print information exceedes predetermined threshold value, then the fingerprint template is determined For target fingerprint template, and terminate fingerprint identification process.
In step 203, if the first matching result opens preset function, terminate preset function for the match is successful Open flow.
Wherein, preset function can be terminal unlocking function, camera function, payment function etc., when preset function is terminal During unlocking function, open preset function and refer to be unlocked terminal, " unlatching " preset function used in the embodiment of the present disclosure Describing mode be not used to in practical application function open universal description mode limit, such as open terminal unlocking work( The universal description mode of energy is that terminal is unlocked.
In another embodiment, due to the fingerprint deformed upon when physical button is pressed, may be collected, and eventually The finger print not deformed upon corresponding to the fingerprint template for holding storage.Therefore, collected when being pressed to physical button When one finger print information is identified, it may occur that identify unsuccessful situation.In that case, in order to collecting not The fingerprint deformed upon, and then fingerprint recognition is carried out, to improve the success rate of fingerprint recognition, terminal can be in the first matching result When it fails to match, when detecting that physical button is recovered to home position, then to carry out a fingerprint recognition, the process refers to step Rapid 204.And user is thus needed when physical button is lifted, finger is still placed in fingerprint recognition region, therefore, in order to train Support user use habit, and then assurance function open success rate, terminal it is determined that the first matching result for the match is successful when, The first successful result of record matching, when detecting that physical button is recovered to home position, the result that the match is successful is returned again to, To open preset function.User will be so guided to continue finger resting on fingerprint recognition during physical button is lifted Region so that when the first matching result is that it fails to match, can successfully carry out secondary fingerprint identification process.The process is in thing Reason button just completes fingerprint recognition and records recognition result when pressing, and matching result is directly returned after physical button is lifted, To open preset function, with only carrying out fingerprint recognition again after physical button is lifted, compared, contracted with opening the process of preset function The duration that short function is opened, improve the efficiency of function unlatching.
In step 204, if the first matching result is it fails to match, detecting that physical button recovers to raw bits When putting, fingerprint collecting is carried out in fingerprint recognition region, obtains the second finger print information.
In order to improve the success rate of fingerprint recognition, and then the success rate that preset function is opened is improved, in the first matching result For when it fails to match, terminal can also be when physical button be recovered to home position, then to not occurring in fingerprint recognition region The fingerprint of deformation carries out a fingerprint collecting, obtains the second finger print information, and then the fingerprint to collecting is identified, specifically Identification process is referring to step 205.
In another embodiment, during fingerprint recognition, the finger being placed in fingerprint recognition region may at all It is not the finger indicated by fingerprint template, in this case, is impossible to identify successfully no matter carrying out how many times fingerprint recognition. Therefore, in order to simplify the opening process of preset function, the electric quantity consumption brought due to unnecessary fingerprint recognition is reduced, terminal can When being respectively less than minimum similarity threshold with the similarity in the first finger print information and each fingerprint template, step 204 is not performed. It that is to say, when the first matching result is that it fails to match, terminal can refer to without the secondary identification of fingerprint without carrying out second The collection of line information.Specifically, terminal can get the first finger print information and each fingerprint mould of storage in step 202 The similarity of plate, if each similarity got is respectively less than minimum similarity threshold, illustrate the first finger collected Line information and the fingerprint template difference stored are very big, even being also impossible to be identified as in the case where finger does not deform upon Work(.Wherein, minimum similarity threshold can be preset or be changed by terminal, and the embodiment of the present disclosure is not limited specifically this It is fixed.
In step 205, the second finger print information is matched with least one fingerprint template, obtains the second matching knot Fruit, if the second matching result for the match is successful, performs step 206, if the second matching result for it fails to match, performs step 208。
In this step, the second finger print information is carried out in the process and above-mentioned steps 202 of fingerprint recognition to the first fingerprint The process that information is identified similarly, will not be repeated here.
In step 206, if the second matching result opens preset function for the match is successful.
When physical button is recovered to home position, after terminal detects fingerprint recognition success, it is determined that being closed with physical button The preset function of connection, and open the preset function.For example when preset function is terminal unlocking function, terminal is unlocked; When preset function is payment function, opens and page etc. is paid corresponding to payment function.
In step 207, target fingerprint template is determined, target fingerprint template is updated according to the second finger print information.
Wherein, the target fingerprint template is to exceed the fingerprint template of predetermined threshold value with the similarity of the second finger print information.
Terminal is during fingerprint template is generated, and the number of the fingerprint collected is limited so that in fingerprint template The whole finger print information of finger may be not completely included, for example the local finger print information of finger is contains only in fingerprint template. And during preset function is opened, in the finger print information collected may not exclusively with the finger print information in fingerprint template It is identical.If the second finger print information and the similarity of To Template that collect are 90%, illustrate in the second finger print information Have that 90% finger print information is identical with the finger print information indicated by target fingerprint template, and remaining 10% finger print information then with target Finger print information indicated by fingerprint template differs, and 90% finger print information can be referred to as into identical fingerprints information, by this 10% Finger print information be referred to as difference finger print information.
Therefore, in order to expand the finger print information amount indicated by fingerprint template, and then the accuracy of fingerprint recognition, terminal are improved Fingerprint template can be updated according to the second finger print information, detailed process includes but is not limited to following two ways:
First, terminal can extract the difference finger print information different from target fingerprint template in the second finger print information, by this Difference finger print information is updated in target fingerprint template.
Wherein, the mode that the difference finger print information is updated in target fingerprint template can be included:When the difference fingerprint Information is not included in target fingerprint template completely, will when the similarity that is to say the difference finger print information and To Template is 0 The difference finger print information is directly appended in target fingerprint template.Or when the difference finger print information is similar to To Template It is the difference finger print information by the partial replacement similar to the difference finger print information in target fingerprint template when degree is not 0.
2nd, terminal obtains target fingerprint template and the identical fingerprints information of the second finger print information from target fingerprint template, The identical fingerprints information is replaced with into second finger print information.
It should be noted that step 207 is that target fingerprint template is carried out according to the second finger print information not deformed upon The process of renewal.In disclosure example, due to being the finger print information not deformed upon corresponding to the fingerprint template of terminal storage, because This carries out the renewal of fingerprint template using the second finger print information not deformed upon to ensure the quality of fingerprint template, without The renewal of fingerprint template is carried out using the first finger print information that may be deformed upon.
In a step 208, if the second matching result is it fails to match, the record matching frequency of failure, when it fails to match When number reaches preset times, preset function is locked.
Wherein, preset times can be pre-set by terminal, or be set in advance according to the actual requirements by user Put or change, the embodiment of the present disclosure is not especially limited to this.
In order to improve the security of terminal, illegal use of the other users to terminal is prevented, when the second matching result is During with failure, the also recordable number that it fails to match of terminal, and when match cognization number reaches preset times, to preset function Locked.Preset function in the locked state, terminal in the first preset time not to the preset function it is any operate into Row response, for example open operation, unloading operation, icon moving operation etc..Wherein, first preset time can be carried out pre- by terminal First set or change, the embodiment of the present disclosure is not especially limited to this.
In addition, in order to further improve the security of terminal, the also recordable preset function of terminal is in the second preset time Interior locked number, will if the number that preset function is locked in the second preset time exceedes maximum locking number Terminal locking, it that is to say that terminal is not responding to any operation of user, such as touch operation, power supply key operation etc., the disclosure is implemented Example is not especially limited to this.Wherein, second preset time is not less than the first preset time, can be pre-set by terminal Or modification, the embodiment of the present disclosure are not especially limited to this.
Below so that preset function is terminal unlocking function as an example, the process of above-mentioned steps 201 to step 208 is explained Explanation, it is assumed that for terminal in screen lock state, screen is in screen state of going out, then referring to the unlatching flow that Fig. 2 C are terminal unlocking function Figure, including herein below:
Step a, when terminal detects that physical button is pressed, screen is lighted, that is to say screen by the screen State Transferring that goes out For bright screen state, and fingerprint collecting is carried out in fingerprint recognition region, obtain the first finger print information.
Step b, the first finger print information is matched with the fingerprint template stored, if the match is successful, pressed in physics After key lifts, it that is to say when physical button is recovered to home position, terminal be unlocked, updated without fingerprint template.
If step c, it fails to match, after physical button is lifted, secondary fingerprint collecting is carried out in fingerprint recognition region, Obtain the second finger print information.
Step d, the second finger print information is matched with the fingerprint template stored, if the match is successful, terminal entered Row unblock, and fingerprint template is updated according to the second finger print information.
If step e, it fails to match, do not unlock, and the record matching frequency of failure, fingerprint template is not updated now.
Step d, it fails to match, and number reaches preset times, by terminal locking in screen lock state.
The method that the embodiment of the present disclosure provides, during physical button is pressed, by when physical button is pressed Just fingerprint collecting is carried out in fingerprint recognition region, and carries out fingerprint recognition so that physical button is recovered to before home position The unlatching of function can be realized, the time-consuming of function opening process is shortened, improves the efficiency of function unlatching.Further, eventually End can also can also carry out second of fingerprint when first time fingerprint recognition fails when physical button is recovered to home position Collection and identification, and after fingerprint recognition success, corresponding function is opened, improve the success rate of function unlatching.
Fig. 3 A are a kind of block diagrams of function opening device according to an exemplary embodiment.Reference picture 3A, the device Including finger print acquisition module 301, matching module 302 and opening module 303.
Wherein, finger print acquisition module 301 is connected with matching module 302, for when detecting that physical button is pressed, in thing Fingerprint collecting is carried out in fingerprint recognition region corresponding to reason button, obtains the first finger print information;Matching module 302 and opening module 303 connections, for the first finger print information to be matched with least one fingerprint template stored, obtain the first matching result; Opening module 303, for when the first matching result is that the match is successful, opening preset function.
In a kind of possible embodiment, if finger print acquisition module 301 is additionally operable to the first matching result and lost for matching Lose, then when detecting that physical button is recovered to home position, carry out fingerprint collecting in fingerprint recognition region, obtain the second fingerprint Information;Matching module 302 is additionally operable to be matched the second finger print information with least one fingerprint template, obtains the second matching knot Fruit;If opening module 303 is additionally operable to the second matching result as the match is successful, preset function is opened.
In a kind of possible embodiment, referring to Fig. 3 B, the device also includes:
Determining module 304, for determining target fingerprint template, target fingerprint template is the similarity with the second finger print information More than the fingerprint template of predetermined threshold value;
Update module 305, for being updated according to the second finger print information to target fingerprint template.
In a kind of possible embodiment, referring to Fig. 3 C, the device also includes:
Logging modle 306, if for the second matching result for it fails to match, the record matching frequency of failure;
Locking module 307, for when it fails to match number reaches preset times when, lock preset function.
In a kind of possible embodiment, matching module 302 is used for according to the first finger print information and at least one fingerprint The similarity of each fingerprint template in template, judge to whether there is target fingerprint template at least one fingerprint template, target refers to Line template is to exceed the fingerprint template of predetermined threshold value with the similarity of the first finger print information;If deposited at least one fingerprint template In target fingerprint template, it is determined that the match is successful;If target fingerprint template is not present at least one fingerprint template, it is determined that It fails to match.
In a kind of possible embodiment, opening module 303, which is used to work as, detects that physical button is recovered to home position When, open preset function.
The device that the embodiment of the present disclosure provides, during physical button is pressed, by when physical button is pressed Just fingerprint collecting is carried out in fingerprint recognition region, and carries out fingerprint recognition so that physical button is recovered to before home position The unlatching of function can be realized, the time-consuming of function opening process is shortened, improves the efficiency of function unlatching.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of function opening device according to an exemplary embodiment.For example, device 400 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 404, audio-frequency assembly 410, input/output (I/O) interface 412, sensor cluster 414, Yi Jitong Believe component 416.
The integrated operation of the usual control device 400 of processing component 402, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program or method for being operated on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of device 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, the existence or non-existence that user contacts with device 400, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned function open method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.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..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage is situated between Instruction in matter by terminal computing device when so that terminal is able to carry out above-mentioned function open method.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a kind of function open method, it is characterised in that methods described includes:
When detecting that physical button is pressed, fingerprint collecting is carried out in fingerprint recognition region corresponding to the physical button, is obtained To the first finger print information;
First finger print information is matched with least one fingerprint template stored, obtains the first matching result;
If first matching result opens preset function for the match is successful.
2. according to the method for claim 1, it is characterised in that enter first finger print information with the fingerprint template stored Row matching, after obtaining the first matching result, methods described also includes:
If first matching result is it fails to match, when detecting that the physical button is recovered to home position, The fingerprint recognition region carries out fingerprint collecting, obtains the second finger print information;
Second finger print information is matched with least one fingerprint template, obtains the second matching result;
If second matching result opens the preset function for the match is successful.
3. according to the method for claim 2, it is characterised in that after opening the preset function, methods described also includes:
Target fingerprint template is determined, the target fingerprint template is to exceed predetermined threshold value with the similarity of second finger print information Fingerprint template;
The target fingerprint template is updated according to second finger print information.
4. according to the method for claim 2, it is characterised in that by second finger print information and at least one fingerprint Template is matched, and after obtaining the second matching result, methods described also includes:
If second matching result is it fails to match, the record matching frequency of failure;
When it is described it fails to match number reaches preset times when, lock the preset function.
5. according to the method for claim 1, it is characterised in that by first finger print information and at least one finger of storage Line template is matched, and obtaining the first matching result includes:
According to the similarity of each fingerprint template in first finger print information and at least one fingerprint template, described in judgement It whether there is target fingerprint template at least one fingerprint template, the target fingerprint template is and first finger print information Similarity exceedes the fingerprint template of predetermined threshold value;
If the target fingerprint template at least one fingerprint template be present, it is determined that the match is successful;
If the target fingerprint template is not present at least one fingerprint template, it is determined that it fails to match.
6. according to the method for claim 1, it is characterised in that opening preset function includes:
When detecting that the physical button is recovered to home position, the preset function is opened.
7. a kind of function opening device, it is characterised in that described device includes:
Finger print acquisition module, for when detecting that physical button is pressed, in fingerprint recognition region corresponding to the physical button Middle carry out fingerprint collecting, obtains the first finger print information;
Matching module, for first finger print information to be matched with least one fingerprint template stored, obtain first Matching result;
Opening module, for when first matching result is that the match is successful, opening preset function.
8. device according to claim 7, it is characterised in that if the finger print acquisition module is additionally operable to described first With result for it fails to match, then when detecting that the physical button is recovered to home position, enter in the fingerprint recognition region Row fingerprint collecting, obtain the second finger print information;
The matching module is additionally operable to be matched second finger print information with least one fingerprint template, obtains Two matching results;
If the opening module is additionally operable to second matching result as the match is successful, the preset function is opened.
9. device according to claim 8, it is characterised in that described device also includes:
Determining module, for determining target fingerprint template, the target fingerprint template is similar to second finger print information Fingerprint template of the degree more than predetermined threshold value;
Update module, for being updated according to second finger print information to the target fingerprint template.
10. device according to claim 8, it is characterised in that described device also includes:
Logging modle, if for second matching result for it fails to match, the record matching frequency of failure;
Locking module, for when it is described it fails to match number reaches preset times when, lock the preset function.
11. device according to claim 7, it is characterised in that the matching module is used to be believed according to first fingerprint The similarity of breath and each fingerprint template at least one fingerprint template, judge at least one fingerprint template whether Target fingerprint template be present, the target fingerprint template is to exceed the finger of predetermined threshold value with the similarity of first finger print information Line template;If the target fingerprint template at least one fingerprint template be present, it is determined that the match is successful;It is if described The target fingerprint template is not present at least one fingerprint template, it is determined that it fails to match.
12. device according to claim 7, it is characterised in that the opening module be used for when detect the physics by When key is recovered to home position, the preset function is opened.
A kind of 13. function opening device, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:When detecting that physical button is pressed, in the fingerprint identification area of the physical button Fingerprint collecting is carried out in domain, obtains the first finger print information;By first finger print information and at least one fingerprint template of storage Matched, obtain the first matching result;If first matching result opens preset function for the match is successful.
CN201610581687.1A 2016-07-21 2016-07-21 Function opening method and device Active CN107643818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610581687.1A CN107643818B (en) 2016-07-21 2016-07-21 Function opening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610581687.1A CN107643818B (en) 2016-07-21 2016-07-21 Function opening method and device

Publications (2)

Publication Number Publication Date
CN107643818A true CN107643818A (en) 2018-01-30
CN107643818B CN107643818B (en) 2020-08-11

Family

ID=61109946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610581687.1A Active CN107643818B (en) 2016-07-21 2016-07-21 Function opening method and device

Country Status (1)

Country Link
CN (1) CN107643818B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190346A (en) * 2018-08-10 2019-01-11 维沃移动通信有限公司 A kind of starting method, the terminal of functional module
CN109299947A (en) * 2018-09-13 2019-02-01 Oppo(重庆)智能科技有限公司 Fingerprint payment authentication method, electronic device and computer readable storage medium
CN110401771A (en) * 2019-07-19 2019-11-01 努比亚技术有限公司 A kind of double screen method for handover control, terminal and computer readable storage medium
CN113516802A (en) * 2021-04-19 2021-10-19 深圳市龙侨华实业有限公司 Verification method of intelligent door lock
CN114115683A (en) * 2021-11-26 2022-03-01 歌尔科技有限公司 Smart watch control method and device, smart watch and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838992A (en) * 2014-03-03 2014-06-04 宇龙计算机通信科技(深圳)有限公司 Fingerprint identifying method and terminal
CN104699507A (en) * 2015-03-16 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN105260105A (en) * 2015-10-19 2016-01-20 广东欧珀移动通信有限公司 Display screen awakening method and device based on fingerprint sensor, and mobile terminal
CN105487784A (en) * 2015-11-25 2016-04-13 上海斐讯数据通信技术有限公司 Control method and device of electronic terminal, terminal and system
CN105634740A (en) * 2015-06-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Fingerprint password verification method, system and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838992A (en) * 2014-03-03 2014-06-04 宇龙计算机通信科技(深圳)有限公司 Fingerprint identifying method and terminal
CN104699507A (en) * 2015-03-16 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN105634740A (en) * 2015-06-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Fingerprint password verification method, system and terminal
CN105260105A (en) * 2015-10-19 2016-01-20 广东欧珀移动通信有限公司 Display screen awakening method and device based on fingerprint sensor, and mobile terminal
CN105487784A (en) * 2015-11-25 2016-04-13 上海斐讯数据通信技术有限公司 Control method and device of electronic terminal, terminal and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190346A (en) * 2018-08-10 2019-01-11 维沃移动通信有限公司 A kind of starting method, the terminal of functional module
CN109299947A (en) * 2018-09-13 2019-02-01 Oppo(重庆)智能科技有限公司 Fingerprint payment authentication method, electronic device and computer readable storage medium
CN110401771A (en) * 2019-07-19 2019-11-01 努比亚技术有限公司 A kind of double screen method for handover control, terminal and computer readable storage medium
CN113516802A (en) * 2021-04-19 2021-10-19 深圳市龙侨华实业有限公司 Verification method of intelligent door lock
CN114115683A (en) * 2021-11-26 2022-03-01 歌尔科技有限公司 Smart watch control method and device, smart watch and storage medium

Also Published As

Publication number Publication date
CN107643818B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN107643818A (en) Function open method and device
CN104238912B (en) application control method and device
CN105224195A (en) Terminal operation method and device
CN104992091A (en) Method and apparatus for accessing terminal end
CN107545569A (en) Method for recognizing impurities and device
CN106462687A (en) Touch control device, touch control method and electronic equipment
CN106204049A (en) The method and device of payment processes
CN106934320A (en) fingerprint identification method and device
CN107590475A (en) The method and apparatus of fingerprint recognition
CN107391995A (en) Unlock operation processing method and device
CN105956432A (en) Unlocking method and device for mobile terminal, and mobile terminal
CN106774803A (en) Fingerprint identification method and device
CN107491677A (en) Fingerprint recognition processing method, device, equipment and storage medium
CN107102772A (en) Touch control method and device
CN107229915A (en) Biological feather recognition method, device, equipment and storage medium
CN106599666A (en) Method and device for starting child mode
CN107247936A (en) Image-recognizing method and device
CN106557755A (en) Fingerprint template acquisition methods and device
CN106203048A (en) A kind of method and apparatus being unlocked
CN106503628A (en) method and device for fingerprint matching
CN108133180A (en) Fingerprint identification method, device and terminal
CN106681618A (en) Method and device for waking up footprint identification module and mobile terminal
CN106469014A (en) Terminal, fingerprint Identification sensor awakening method and device
CN106888309A (en) The fingerprint recognition reminding method and device of video terminal
CN106529253A (en) Unlocking method and apparatus, and terminal device

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