CN108604294A - Fingerprint processing method and terminal in terminal - Google Patents

Fingerprint processing method and terminal in terminal Download PDF

Info

Publication number
CN108604294A
CN108604294A CN201680080801.0A CN201680080801A CN108604294A CN 108604294 A CN108604294 A CN 108604294A CN 201680080801 A CN201680080801 A CN 201680080801A CN 108604294 A CN108604294 A CN 108604294A
Authority
CN
China
Prior art keywords
fingerprint
terminal
finger print
fingerprint device
labeled
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.)
Pending
Application number
CN201680080801.0A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108604294A publication Critical patent/CN108604294A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Abstract

Fingerprint processing method and terminal in a kind of terminal, this method include:Obtain the first finger print information (S101) to be certified, first finger print information to be certified is compared with fingerprint template, get the first finger print identifying result, wherein, the fingerprint characteristic set (S102) of the first user is saved in fingerprint template, first finger print identifying result is judged, succeed if the first finger print identifying result is certification and need to update fingerprint template, it can then judge whether the fingerprint device of terminal is labeled, if the fingerprint device of terminal is labeled, fingerprint template (S103) will not be updated.This method can prevent attacker that the feature being artificially arranged is written in fingerprint template, ensure that fingerprint template will not be contaminated, and then ensure the safe to use of terminal by the way that judgement is marked to fingerprint device.

Description

Fingerprint processing method and terminal in terminal Technical field
The present invention relates to fingerprint processing method and terminals in the communication technology more particularly to a kind of terminal.
Background technique
Existing part terminal, such as on mobile phone, finger print identifying function is provided, user saves the finger print information of oneself in the terminal in advance, form fingerprint template, when user needs to unlock terminal, the fingerprint device in terminal is touched with finger, fingerprint device can acquire finger print information to be certified, finger print information to be certified is compared terminal with fingerprint template, if compared successfully, illustrate finger print identifying success, terminal can unlock terminal for users to use for user.The result of finger print identifying generally may include three classes: authenticate successfully, authentification failure, authenticate successfully and need to update fingerprint template.Wherein, it authenticates successfully and needs to update fingerprint template and refer to that finger print information to be certified and fingerprint template are the same fingerprint, and carry fingerprint feature information not stored in fingerprint template in finger print information to be certified.
In the prior art, when authentication result is to authenticate successfully and need to update fingerprint template, terminal updates the new feature in finger print information to be certified into fingerprint template, form new fingerprint template, when user inputs fingerprint again, terminal can be compared based on new fingerprint template with the fingerprint that user inputs.
But there are security breaches for currently existing scheme, will lead to attacker using security breaches to unlock terminal, to cause serious consequence.
Summary of the invention
The embodiment of the present invention provides fingerprint processing method and terminal in a kind of terminal, for solving in the prior art due to safety problem caused by there are security breaches.
First aspect of the embodiment of the present invention provides fingerprint processing method in a kind of terminal, this method comprises:
The first finger print information to be certified is obtained first, in turn, first finger print information to be certified is compared with fingerprint template, to get the first finger print identifying result, wherein, the fingerprint characteristic set of the first user is saved in fingerprint template, in turn, first finger print identifying result is judged, if the first finger print identifying result is to authenticate successfully and need to update fingerprint template, whether the fingerprint device for then judging terminal is labeled, if the fingerprint device of terminal is labeled, not will be updated fingerprint template.
In a kind of possible design, it can judge whether the fingerprint device of terminal is labeled in the following way:
According to the feature of the fingerprint device of terminal in the unloaded state, to judge whether the fingerprint device of terminal is labeled.
In a kind of possible design, it can also judge whether the fingerprint device of terminal is labeled in the following way:
First, obtain the second finger print information to be certified and the corresponding second finger print identifying result of the second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining the first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template.Secondly, determining the first fingerprint characteristic set, which is combined into the first finger print information to be certified and the second finger print information to be certified, the identical fingerprint characteristic set in absolute position in fingerprint device.In turn, judge whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of terminal is labeled.
In a kind of possible design, after not updating fingerprint template, following processes can be also executed:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check fingerprint device surface.
In a kind of possible design, after not updating fingerprint template, following processes can be also executed:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than second threshold and is less than third threshold value, the fingerprint template more new function of terminal is closed.
In a kind of possible design, after not updating fingerprint template, following processes can be also executed:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than third threshold value, the finger print identifying function of terminal is closed.
In a kind of possible design, after not updating fingerprint template, following processes can be also executed:
Firstly, obtaining third finger print information to be certified.
Secondly, determining the corresponding third finger print identifying result of third finger print information to be certified according to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in fingerprint device.
In a kind of possible design, it can be realized by following methods and judge whether the fingerprint device of terminal is labeled according to the feature of fingerprint device in the unloaded state:
Firstly, obtain the unloaded image of the fingerprint device, the zero load image is fingerprint device institute's acquired image in the unloaded state;
Secondly, determining the image gradient value of the unloaded image;
In turn, judge whether the image gradient value of the unloaded image exceeds preset range, if so, determining that the fingerprint device of the terminal is labeled.
In a kind of possible design, it can be realized by following methods and judge whether the fingerprint device of terminal is labeled according to the feature of fingerprint device in the unloaded state:
Firstly, obtaining the unloaded image of the fingerprint device and the factory image of the fingerprint device;
Secondly, the first difference of the first pixel and the pixel value of the corresponding pixel points in the factory image in the unloaded image is calculated, if first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in the unloaded image is calculated, if the difference of first difference and second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
In a kind of possible design, it can be realized by following methods and judge whether the fingerprint device of terminal is labeled according to the feature of fingerprint device in the unloaded state:
Firstly, carrying out ultrasound examination to the fingerprint device under light condition, the thickness and surface smoothness of the fingerprint device are obtained;
Secondly, judge whether the surface of the fingerprint device is smooth, and, whether the thickness of the fingerprint device is identical as the original thickness of the fingerprint device, if not, it is determined that the fingerprint device of the terminal is labeled.
In a kind of possible design, it can be realized by following methods and judge whether the fingerprint device of terminal is labeled according to the feature of fingerprint device in the unloaded state:
Firstly, carrying out electrical characteristics detection to the fingerprint device under light condition, the electrical characteristics detection is for detecting capacitance and resistance value in the fingerprint device;
Secondly, if the variable quantity of the capacitance in the fingerprint device is greater than preset capacitance variation amount or the variable quantity of the resistance value in the fingerprint device is greater than preset resistance change amount, it is determined that the fingerprint device of the terminal is labeled.
In a kind of possible design, if it is judged that the fingerprint device of terminal is not labeled, then the fingerprint template is updated according to the described first finger print information to be certified.
Second aspect of the embodiment of the present invention provides a kind of terminal, which has the function of realizing the above method.These functions can also execute corresponding software realization by hardware realization by hardware.The hardware or software include one or more modules corresponding with above-mentioned function.
In a kind of possible design, the device includes the first acquisition module and processing module, wherein, first acquisition module can be used for obtaining the first finger print information to be certified, processing module is for the described first finger print information to be certified to be compared with fingerprint template, obtain the first finger print identifying result, wherein, the fingerprint template is used to save the fingerprint characteristic set of the first user, processing module is also used to when the first finger print identifying result is to authenticate successfully and need to update fingerprint template, judge whether the fingerprint device of the terminal is labeled, if, the fingerprint template is not updated then.
In a kind of possible design, processing module is specifically used for:
According to the feature of the fingerprint device of the terminal in the unloaded state, judge whether the fingerprint device of the terminal is labeled.
In a kind of possible design, processing module includes:
First acquisition unit, for obtaining the second finger print information to be certified and the corresponding second finger print identifying result of second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template;
First determination unit, for determining the first fingerprint characteristic set, the first fingerprint characteristic collection is combined into the described first finger print information to be certified and the second finger print information to be certified, the identical fingerprint characteristic set in absolute position in the fingerprint device;
Second determination unit, for judging whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of the terminal is labeled.
In a kind of possible design, the terminal further include:
Display module, when the score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check the fingerprint device surface.
In a kind of possible design, the terminal further include:
First closedown module closes the fingerprint template more new function of the terminal when score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than the second threshold and is less than third threshold value.
In a kind of possible design, the terminal further include:
First closedown module closes the fingerprint template more new function of the terminal when score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than the second threshold and is less than third threshold value.
In a kind of possible design, the terminal further include:
Second obtains module, for obtaining third finger print information to be certified;
The processing module is also used to determine the corresponding third finger print identifying result of third finger print information to be certified according to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in the fingerprint device.
In a kind of possible design, processing module further include:
Second acquisition unit, for obtaining the unloaded image of the fingerprint device, the zero load image is fingerprint device institute's acquired image in the unloaded state;
Third determination unit, for determining the image gradient value of the unloaded image;
4th determination unit, for judging whether the image gradient value of the unloaded image exceeds preset range, if so, determining that the fingerprint device of the terminal is labeled.
In a kind of possible design, processing module further include:
Third acquiring unit, for obtaining the unloaded image of the fingerprint device and the factory image of the fingerprint device;
Computing unit, the first difference of the pixel value for calculating the corresponding pixel points in the unloaded image in the first pixel and the factory image, if first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in the unloaded image is calculated, if the difference of first difference and second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
In a kind of possible design, processing module further include:
4th acquiring unit obtains the thickness and surface smoothness of the fingerprint device for carrying out ultrasound examination to the fingerprint device under light condition;
5th determination unit, whether the surface for judging the fingerprint device is smooth, and, whether the thickness of the fingerprint device is identical as the original thickness of the fingerprint device, if not, it is determined that the fingerprint device of the terminal is labeled.
In a kind of possible design, processing module further include:
Detection unit, for carrying out electrical characteristics detection to the fingerprint device under light condition, the electrical characteristics detection is for detecting capacitance and resistance value in the fingerprint device;
6th determination unit when being greater than the variable quantity of the resistance value in preset capacitance variation amount or the fingerprint device greater than preset resistance change amount for the variable quantity in the capacitance in the fingerprint device, determines that the fingerprint device of the terminal is labeled.
In a kind of possible design, processing module is specifically also used to when the fingerprint device of the terminal is not labeled, updates the fingerprint template according to the described first finger print information to be certified.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory and processor;
The memory is used to call the program instruction in the memory for storing program instruction, the processor, executes method above-mentioned.
Compared to the prior art, scheme provided by the embodiment of the present invention, can prevent attacker by the feature being artificially arranged be written fingerprint template in, ensure that fingerprint template will not be contaminated, so guarantee terminal using safe.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, a brief description of the drawings needed to be used in the description of the embodiments or the prior art will be given below, apparently, drawings in the following description are some embodiments of the invention, for those of ordinary skill in the art, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of finger print identifying;
Fig. 2 is the exemplary diagram that finger print identifying attack is carried out using prior art security breaches;
Fig. 3 is the flow diagram of fingerprint processing method embodiment one in terminal provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of fingerprint processing method embodiment two in terminal provided in an embodiment of the present invention;
Fig. 5 is the exemplary diagram of the present embodiment;
Fig. 6 is the flow diagram of fingerprint processing method embodiment three in terminal provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of fingerprint processing method example IV in terminal provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of fingerprint processing method embodiment five in terminal provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of fingerprint processing method embodiment six in terminal provided in an embodiment of the present invention;
Figure 10 is the process signal of fingerprint processing method embodiment seven in terminal provided in an embodiment of the present invention Figure;
Figure 11 is the function structure chart of terminal embodiment one provided in an embodiment of the present invention;
Figure 12 is the function structure chart of terminal embodiment two provided in an embodiment of the present invention;
Figure 13 is the function structure chart of terminal embodiment three provided in an embodiment of the present invention;
Figure 14 is the function structure chart of terminal embodiment four provided in an embodiment of the present invention;
Figure 15 is the function structure chart of terminal embodiment five provided in an embodiment of the present invention;
Figure 16 is the function structure chart of terminal embodiment six provided in an embodiment of the present invention;
Figure 17 is the function structure chart of terminal embodiment seven provided in an embodiment of the present invention;
Figure 18 is the function structure chart of terminal embodiment eight provided in an embodiment of the present invention;
Figure 19 is the function structure chart of terminal embodiment nine provided in an embodiment of the present invention;
Figure 20 is the function structure chart of terminal embodiment ten provided in an embodiment of the present invention;
Figure 21 is the function structure chart of terminal embodiment one provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, following will be combined with the drawings in the embodiments of the present invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.
Fingerprint refers to the streakline that the convex recessed injustice of the positive surface skin of the finger tips of people generates, and the streakline of fingerprint is not continuous and smooth straight, but interruption, bifurcated or turnover often occurs.The entirety of streakline moves towards the feature that distribution, line curvature of a curve position, starting point, terminal, binding site, bifurcation, image grayscale, image border, image outline etc. are referred to as fingerprint, these features are different but have the characteristics that uniqueness and unchangeable property, therefore can be utilized for authentication.
Fig. 1 is the flow diagram of finger print identifying, as shown in Figure 1, finger print identifying can be divided into two processes of fingerprint register and fingerprint authentication.The fingerprint register stage, the fingerprint image of the finger obtained by fingerprint device (such as sensor) carries out feature extraction after simple image is handled, and the feature extracted is stored, form fingerprint template, that is, including the characteristic set of the fingerprint of a specific finger in fingerprint template.Fingerprint authentication stage, fingerprint image to be certified acquired in fingerprint device extract fingerprint characteristic after image procossing, fingerprint characteristic in the fingerprint characteristic and fingerprint template are compared, according to feature The height of similarity is given a mark, and the fingerprint to be certified that score is higher than threshold value is determined as to the primary fingerprint of fingerprint template, and authentication authorization and accounting result is to authenticate successfully, and score is determined as non-protogenous fingerprint lower than the fingerprint to be certified of threshold value, and authentication authorization and accounting result is authentification failure.
In addition to above two authentication result, there is also a kind of authentication results for finger print identifying are as follows: authenticates successfully and needs to update fingerprint template.The authentication result indicates that fingerprint to be certified is the primary fingerprint of fingerprint template, also, includes not existing new feature in some fingerprint templates in fingerprint to be certified.This authentication result is since the finger of people can change with the variation of the internal and external factors such as time, weather, physical condition.In the prior art, for this result, other than carrying out the operations such as the unlock after finger print identifying success, the new feature in fingerprint to be certified can also be updated into fingerprint template, to guarantee after the same finger print appearance variation of the same person, it can equally authenticate and pass through, to improve the accuracy rate of finger print identifying.
But the prior art is for the treatment process of above-mentioned authentication result that there may be security breaches.Specifically, when finger print identifying result is to authenticate successfully and need to update fingerprint template, the prior art can directly update the feature in fingerprint to be certified into fingerprint template." the new finger print information " if of attacker's label " certain amount " the artificial in advance and fixation position for being fixed in fingerprint device, when original user carries out finger print identifying, pass through the self-contained finger print data information of original user, success can be authenticated, simultaneously, these " new finger print informations " are updated also due to from not appearing in original fingerprint template into fingerprint template.In turn, attacker can be updated into " the new finger print information " in fingerprint template using these and be attacked.Specifically, due to being to give a mark when finger print identifying according to whether feature matches, and attacker updates in advance into fingerprint template into specific fingerprint characteristic, when attacker attacks, no matter what fingerprint that attacker uses, these fingerprint characteristics specifically artificially marked can be matched, i.e. no matter attacker uses any fingerprint, these specific fingerprint characteristics can obtain certain score, on the basis of these scores, attacker can authenticate success by adjusting the pressing, touch or scraping position etc. of finger easily.
Fig. 2 is the exemplary diagram that finger print identifying attack is carried out using prior art security breaches, three width picture A, B, C in Fig. 2 are respectively that finger pressing in same fingerprint device surface is formed by picture, wherein, A picture is the fingerprint of legitimate user, i.e. primary fingerprint, B picture and C picture are the fingerprint of attacker.A, there are identical two regions 1 and 2 in B, C, the two regions are that attacker is formed by label after fingerprint device surface instills the markers such as glue in advance.When attacker is after fingerprint device surface marks, and original user carries out finger print identifying, certification can pass through, also, due to being not present in fingerprint template before these labeled features, these labeled features will be by more Newly into fingerprint template.In turn, when the attacker in picture B or C carries out finger print identifying using oneself finger, these labeled features can match, on the basis of these are labeled feature, the angle that attacker passes through change finger and marked area, it can be readily achieved the score of characteristic matching required for finger print identifying, to authenticate success.In addition to above-mentioned uses glue other than fingerprint device surface forms label, attacker is also possible to attack by other means, including but not limited to: fingerprint device surface being covered on by the film of special preparation and forms label, alternatively, causing pixel point failure to achieve the purpose that label using electric shock or laser irradiation.
Since the prior art is there are above-mentioned security breaches, when providing finger print identifying unlocking function in terminal, attacker will lead to using security breaches to unlock terminal, to cause serious consequence.
The embodiment of the present invention based on the above issues, proposes fingerprint processing method in a kind of terminal, the legitimacy of fingerprint characteristic is verified before updating fingerprint characteristic into fingerprint template, to guarantee the safety of finger print identifying.
Fig. 3 is the flow diagram of fingerprint processing method embodiment one in terminal provided in an embodiment of the present invention, and the executing subject of this method is terminal with finger print identifying function, such as mobile phone, tablet computer etc..As shown in figure 3, this method comprises:
S101, the first finger print information to be certified is obtained.
When user presses, touches or scrapes on the fingerprint device of terminal, i.e. user is when inputting fingerprint on fingerprint device, the fingerprint device of terminal will acquire a fingerprint image, terminal extracts various fingerprint characteristics from the fingerprint image, to form a fingerprint characteristic set, which constitutes finger print information to be certified.
Optionally, terminal can carry out image preprocessing to fingerprint image before the feature that takes the fingerprint in fingerprint image.
S102, the above-mentioned first finger print information to be certified is compared with fingerprint template, obtains the first finger print identifying result, wherein the fingerprint template is used to save the fingerprint characteristic set of the first user.
Wherein, the fingerprint characteristic set of the first user is for unlocking terminal.
As previously described, it include the characteristic set of the fingerprint of a specific finger in fingerprint template, the terminal A of finger print identifying function is supported for one, include in fingerprint template is exactly the fingerprint characteristic set of some finger for the legitimate user that the terminal is belonged to, i.e. the fingerprint characteristic set of the first user.Fingerprint template can be obtained by fingerprint register process above-mentioned.
After terminal gets the first finger print information to be certified, by the first finger print information to be certified and fingerprint mould Plate is compared, and the first finger print information and fingerprint template to be certified is all the set of fingerprint characteristic, therefore, is compared to the first finger print information and fingerprint template to be certified, exactly feature therein is compared.Specifically, terminal can give a mark according to the similarity height of feature, such as fingerprint integrally moves towards these features such as distribution, line curvature of a curve position, starting point, terminal, binding site, bifurcation, image grayscale, image border, image outline and gives a mark, and obtains a final score.The threshold value that a feature score is preset in terminal determines the corresponding first finger print identifying result of the first finger print information to be certified with the relationship of the preset threshold according to the final score of the first finger print information to be certified.
If S103, above-mentioned first finger print identifying result are to authenticate successfully and need to update fingerprint template, judge whether the fingerprint device of terminal is labeled, if so, not updating fingerprint template.
If the final score of the first finger print information to be certified is higher than threshold value, then the first fingerprint to be certified of explanation is the primary fingerprint of fingerprint template, on this basis, if in the first fingerprint to be certified including not existing new feature in some fingerprint templates, illustrate that the authentication result of this finger print identifying is to authenticate successfully and need to update fingerprint template.
When the authentication result of this finger print identifying is to authenticate successfully and need to update fingerprint template, whether the fingerprint device that terminal judges terminal at this time is labeled, if it is judged that the fingerprint device of terminal is labeled, then illustrate that terminal exists by the possibility of malicious attack, terminal will not be updated fingerprint template.If it is judged that the fingerprint device of terminal is not labeled, then illustrate terminal not by malicious attack, terminal can update fingerprint template according to the first finger print information to be certified.Specifically, the new feature that the fingerprint template identified in progress aspect ratio clock synchronization is not present can be added in fingerprint template by terminal, form new fingerprint template.When user carries out finger print identifying again, terminal will be compared according to new fingerprint template, to promote the accuracy rate of finger print identifying.
In another case, if judging, the fingerprint device of terminal is not labeled, updates fingerprint template according to the above-mentioned first finger print information to be certified.
In the present embodiment, when finger print identifying result is to authenticate successfully and need to update fingerprint template, whether the fingerprint device that terminal judges terminal first is labeled, if labeled, then illustrate that terminal exists by the possibility of malicious attack, therefore, terminal not will be updated fingerprint template, i.e., by the way that judgement is marked to fingerprint device, can prevent attacker by the feature being artificially arranged be written fingerprint template in, ensure that fingerprint template will not be contaminated, so guarantee terminal using safe.
On the basis of the above embodiments, the present embodiment be related to judging terminal fingerprint device whether a kind of Bei Biaoji specific implementation, that is, judge whether the fingerprint device of terminal is labeled in above-mentioned steps S103, It specifically includes:
According to the feature in the unloaded state of the fingerprint device of terminal, judge whether the fingerprint device of the terminal is labeled.
Wherein, the light condition of fingerprint device is that the input state detection of fingerprint device returns to the state without input, i.e. user does not press, do not touch or do not scrape.It is that object amount (area coverage) is not enough to trigger the state that fingerprint input is interrupted above state that user's finger does not input or fingerprint device under normal circumstances.Fingerprint device some features obtained, such as image, electrical characteristics, thickness of detector value etc. in the unloaded state can be used to accurately determine whether fingerprint device be labeled.
On the basis of the above embodiments, the present embodiment be related to judging terminal fingerprint device whether Bei Biaoji another specific implementation, i.e., Fig. 4 is the flow diagram of fingerprint processing method embodiment two in terminal provided in an embodiment of the present invention, as shown in Figure 4, judge whether the fingerprint device of terminal is labeled in above-mentioned steps S103, specifically include:
S201, the second finger print information to be certified and the corresponding second finger print identifying result of the second finger print information to be certified are obtained, wherein, second finger print information to be certified is accessed after obtaining the first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template.
Specifically, when terminal obtains the first finger print information to be certified and the authentication result for determining the first fingerprint to be certified is to authenticate successfully and need to update fingerprint template, terminal can save the first finger print information to be certified, and waiting has user to input finger print information again, when there is user to input finger print information again, terminal can obtain its corresponding finger print identifying result by the comparison with fingerprint template, if finger print identifying result is authentification failure, then terminal can abandon this finger print information that user inputs again, and user is waited to input finger print information again next time, until the authentication result of the finger print information of user's input is to authenticate successfully or authenticate successfully and need to update fingerprint template, the finger print information of user's input at this time is the second finger print information to be certified, terminal, which can preserve the second finger print information to be certified, is used for subsequent and the first finger to be certified Line information is compared.
S202, the first fingerprint characteristic set is determined, which is combined into the first finger print information to be certified and the second finger print information to be certified, the set of the fingerprint characteristic with same position feature.
Wherein, position feature is used for absolute position of the identification fingerprint feature in fingerprint device.
As an example it is assumed that a fingerprint characteristic B position feature having the same in a fingerprint characteristic A and the second fingerprint to be certified in the first finger print information to be certified, i.e. fingerprint characteristic A and fingerprint characteristic B Absolute position in fingerprint device is identical, then fingerprint characteristic A and fingerprint characteristic B is added in the first fingerprint characteristic set.
S203, judge whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of the terminal is labeled.
Terminal is carrying out aspect ratio clock synchronization, the feature compared can be fingerprint and integrally move towards these features such as distribution, line curvature of a curve position, starting point, terminal, binding site, bifurcation, image grayscale, image border, image outline, therefore, " location information " is an important parameter of fingerprint characteristic.Since the precision of fingerprint device acquisition finger print information is very high, under normal circumstances, when user using the same finger carry out twice fingerprint input when, even if user feel position do not change, fingerprint device institute collected two finger print informations in the same feature position difference all can very greatly.Therefore, under normal circumstances, the identical probability in absolute position of the feature in the finger print information of success identity is very low twice.If terminal judges the score value (the sum of the score value of each feature i.e. in characteristic set) of the characteristic set in the finger print information of success identity twice with identical absolute position beyond certain threshold value, then it is assumed that the fingerprint device of terminal may be labeled.
Fig. 5 is the exemplary diagram of the present embodiment, in Fig. 5 picture C and screen D be respectively same user same finger carry out twice finger print identifying be formed by finger print information to be certified, region 1 and region 2 in picture C and screen D are the region marked by attacker, as can be drawn from Figure 5, when user carries out finger print identifying twice, there is significant change in the position of the normal fingerprint of user, but the absolute position in labeled region 1 and region 2 does not have any variation, therefore, it can be concluded that, it is characterized in two features artificially marked corresponding to region 1 and region 2, when the score value of the characteristic set composed by two features is greater than preset point threshold, terminal is assured that fingerprint device is labeled.
In the present embodiment, the change in location principle based on finger print identifying can accurately determine out whether fingerprint device is labeled by judging the score value of absolute position is constant in the successful finger print information of double probate fingerprint characteristic set.
It should be noted that judging whether the fingerprint device of terminal is labeled is not limited to above two method, it can also judge whether the fingerprint device of terminal is labeled using other methods.
On the basis of the above embodiments, the present embodiment is related to detailed process of the terminal after not updating fingerprint template.That is, when terminal judges that fingerprint device is labeled, and after not updating fingerprint template, terminal can be according to the score value for the fingerprint characteristic set being labeled on fingerprint device and the relationship of preset threshold, to execute corresponding operation.
Specifically, in an embodiment, when the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than First threshold and it is less than second threshold, then display alarm information, the prompting message is for reminding user to check fingerprint device surface.
When the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than first threshold and is less than second threshold, show there is the fingerprint characteristic remembered, but its quantity very little, therefore, it is considered that these features may be caused by being attached on fingerprint device due to dust, spot etc., rather than caused by malicious attack.Therefore, terminal can issue prompting message, to remind user to check the surface of fingerprint device, clean in time to fingerprint device surface, quick and precisely and can be safely completed finger print identifying when guaranteeing that user's next time carries out finger print identifying.
Specifically, in another embodiment, when the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than above-mentioned second threshold and is less than third threshold value, then the fingerprint template more new function of terminal is closed.
When the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than second threshold and is less than third threshold value, show that the labeled degree of fingerprint device is some higher, at this time, terminal can close the fingerprint template more new function of terminal, i.e. terminal will not update fingerprint template again, but be all compared using original fingerprint template in each finger print identifying, can either guarantee that legitimate user continues to use finger print identifying function in this way, it can guarantee that fingerprint template is not contaminated, and avoids the occurrence of safety problem again.
Specifically, in another embodiment, when on fingerprint device be labeled fingerprint characteristic set score value be greater than above-mentioned third threshold value, then close the finger print identifying function of terminal.
When the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than third threshold value, show that the labeled degree of fingerprint device has had exceeded safe range, caused by the attack that can be determined that attacker's malice, at this time, terminal can directly close the finger print identifying function of terminal, to avoiding attacker using finger print identifying to attack terminal, guarantee terminal using safe.
It should be noted that the specific setting of above-mentioned first threshold, second threshold and third threshold value can carry out flexible setting according to the actual situation, it is not specifically limited herein, it is only necessary to guarantee that second threshold is greater than first threshold, third threshold value is greater than second threshold.
Fig. 6 is the flow diagram of fingerprint processing method embodiment three in terminal provided in an embodiment of the present invention, as shown in fig. 6, another kind specific implementation procedure of the terminal after not updating fingerprint template are as follows:
S301, third finger print information to be certified is obtained.
S302, according in above-mentioned third finger print information to be certified except in fingerprint device be labeled fingerprint characteristic set in addition to finger print information, determine the corresponding third finger print identifying result of third finger print information to be certified.
Specifically, after terminal judges that fingerprint device is labeled, it not will be updated fingerprint template, meanwhile, Terminal can get labeled set of fingerprint information during judgement, i.e. terminal can know that specifically which is characterized in labeled the score value of these features is how many respectively.When there is user to carry out finger print identifying again, i.e., when terminal gets third finger print information to be certified, terminal can automatic shield fall those and have been identified as labeled feature, without these features are compared with fingerprint template.
This method is shielded labeled feature, therefore is not in the case where labeled feature is updated to fingerprint template, ensure that fingerprint template is not contaminated, so ensure that terminal using safe.
On the basis of the above embodiments, the present embodiment be related to being judged according to fingerprint device feature in the unloaded state fingerprint device whether a kind of Bei Biaoji specific method, i.e., Fig. 7 is the flow diagram of fingerprint processing method example IV in terminal provided in an embodiment of the present invention, as shown in fig. 7, above-mentioned one kind for judging whether fingerprint device is labeled according to fingerprint device feature in the unloaded state method particularly includes:
S401, the unloaded image for obtaining fingerprint device, the zero load image are fingerprint device institute's acquired image in the unloaded state.
S402, the image gradient value for determining unloaded image.
Optionally, terminal acquires a unloaded image when fingerprint device is in light condition, then the parameter of fingerprint device is adjusted, such as yield value etc., so that the image that device is adopted is partially white, the parameter of adjustment fingerprint device is then proceeded to, so that the image that device is adopted is partially black, to obtain three figures of respectively normogram, Bai Tu, black figure.For each corresponding pixel points in three figures, it is obtained as pixel value according to the pixel value of each corresponding pixel points in three figures obtains the gradient value of pixel.For example, pixel value of some pixel A in three figures is respectively 160,170,180, then it can be concluded that the gradient value of the pixel is 10.
S403, judge whether the image gradient value of above-mentioned unloaded image exceeds preset range, if so, determining that the fingerprint device of terminal is labeled.
For normal fingerprint device, the gradient value of each pixel and whole range are more uniform variations in three figures, such as, the gradient value of all pixels is all in the range of 10 or its left and right very little, and if fingerprint device is labeled, the gradient value for being then formed by pixel in three figures can differ greatly with normal gradient value, such as, for the pixel A in above-mentioned example, when fingerprint device is normal, pixel value in three figures is respectively 160, 170, 180, i.e. gradient value is 10, and after fingerprint device is labeled, the pixel value being formed by three figures is respectively 145 150 155, i.e. gradient value is 5, it differs greatly with normal gradient value.Therefore, it can determine therefrom that fingerprint device is labeled.
Further, according to the gradient value of each pixel, terminal is assured that out which is characterized in labeled feature, it can obtains labeled fingerprint characteristic set.
Fig. 8 is the flow diagram of fingerprint processing method embodiment five in terminal provided in an embodiment of the present invention, as shown in figure 8, the above-mentioned another kind for judging whether fingerprint device is labeled according to fingerprint device feature in the unloaded state method particularly includes:
The factory image of S501, the unloaded image for obtaining fingerprint device and fingerprint device.
Wherein, the factory image of fingerprint device refers to the unloaded image of fingerprint device when leaving the factory, is completely normal unloaded image.
S502, the first difference for calculating the first pixel and the pixel value of the corresponding pixel points in factory image in unloaded image, if first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in unloaded image is calculated, if the difference of the first difference and the second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
Wherein, the first pixel refers to that any one pixel in unloaded image, the second pixel are any one pixel in unloaded image in addition to the first pixel.
Under normal circumstances, unloaded image accessed by terminal should be equal or very close with the pixel value of corresponding pixel points in factory image, and when fingerprint device is labeled, the pixel value of certain pixels can have larger difference with the pixel value of corresponding pixel points in factory image in unloaded image accessed by terminal, terminal can determine whether fingerprint device is labeled using this difference, and it can determine which is characterized in labeled feature, it can obtain labeled fingerprint characteristic set.And even if the difference of the pixel value of corresponding pixel points is in the normal range in the pixel value and factory image of some pixel of unloaded image, it not can determine that fingerprint device is not labeled yet.Such as, when the temperature of terminal local environment varies widely, the difference of unloaded image slices vegetarian refreshments and factory image slices vegetarian refreshments can float, at this point, cannot guarantee that fingerprint device is safe even if judging difference in the normal range, therefore, further pass through the pixel value for obtaining each pixel and corresponding pixel points in factory image in unloaded image in the present embodiment, by judging the difference of these differences, to determine whether fingerprint device is safe.Under normal circumstances, even if terminal local environment changes, the variation degree of the pixel value of each pixel should be consistent, and if some pixel is labeled, the difference of itself and corresponding pixel points in factory image can deviate from the normal range (NR) of variation, therefore, it is assured that out whether fingerprint device is labeled by this method.
Fig. 9 is the process signal of fingerprint processing method embodiment six in terminal provided in an embodiment of the present invention Figure, as shown in figure 9, it is above-mentioned judged according to fingerprint device feature in the unloaded state fingerprint device whether Bei Biaoji another method particularly includes:
S601, ultrasound examination is carried out to the fingerprint device under light condition, obtains the thickness and surface smoothness of fingerprint device.
Optionally, the fingerprint device of terminal is the device with ultrasound examination function, when terminal determines that fingerprint device is in light condition, can indicate that fingerprint device carries out ultrasound examination, to get the thickness and surface smoothness information of fingerprint device.
S602, judge whether the surface of fingerprint device is smooth, and, whether the thickness of fingerprint device is identical as the original thickness of fingerprint device, if not, it is determined that the fingerprint device of terminal is labeled.
The thickness of fingerprint device is one of the parameter of fingerprint device, the thickness information when factory of fingerprint device can be saved in terminal, and, its surface should be smooth to fingerprint device when leaving the factory, if the original thickness when thickness of accessed fingerprint device dispatches from the factory from fingerprint device after ultrasound examination is different, alternatively, the surface smoothness of fingerprint device is inadequate, then terminal can determine that fingerprint device is labeled.For example, the flatness of fingerprint device will be affected, and thickness can be different from original thickness when attacking attacker after fingerprint device surface instills glue.
In turn, according to the position of out-of-flatness or the discrepant position of thickness, labeled fingerprint characteristic set can be determined.
Figure 10 is the flow diagram of fingerprint processing method embodiment seven in terminal provided in an embodiment of the present invention, as shown in Figure 10, it is above-mentioned judged according to fingerprint device feature in the unloaded state fingerprint device whether Bei Biaoji another method particularly includes:
S701, electrical characteristics detection is carried out to the fingerprint device under light condition, which detects for detecting capacitance and resistance value in fingerprint device.
If the variable quantity of S702, capacitance in fingerprint device is greater than preset capacitance variation amount or the variable quantity of the resistance value in fingerprint device is greater than preset resistance change amount, it is determined that the fingerprint device of terminal is labeled.
Under normal circumstances, the electrical characteristics of fingerprint device can have certain " temperature drift " with temperature, but whole variation has zone of reasonableness.If fingerprint device is labeled, the electrical property change amount of fingerprint device can exceed zone of reasonableness, and the variation including capacitance and resistance value can all exceed zone of reasonableness.If the electrical property change amount of fingerprint device in the unloaded state has exceeded the reasonable amount of the variation due to caused by the simple external force factor such as temperature, determine that fingerprint device is labeled.
Those of ordinary skill in the art will appreciate that: realizing all or part of the steps of above method embodiment, this can be accomplished by hardware associated with program instructions, program above-mentioned can be stored in a computer readable storage medium, the program when being executed, executes step including the steps of the foregoing method embodiments;And storage medium above-mentioned includes: the various media that can store program code such as ROM, RAM, magnetic or disk.
Figure 11 is the function structure chart of terminal embodiment one provided in an embodiment of the present invention, and as shown in figure 11, which includes:
First obtains module 501, for obtaining the first finger print information to be certified.
Processing module 502 obtains the first finger print identifying result for the first finger print information to be certified to be compared with fingerprint template, wherein the fingerprint template is used to save the fingerprint characteristic set of the first user, and the fingerprint characteristic set of the first user is for unlocking terminal.
Processing module 502 is also used to judge whether the fingerprint device of terminal is labeled, if so, not updating fingerprint template when the first finger print identifying result is to authenticate successfully and need to update fingerprint template.
The terminal is for realizing embodiment of the method above-mentioned, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
In another embodiment, processing module 502 is specifically used for:
According to the feature of the fingerprint device of terminal in the unloaded state, judge whether the fingerprint device of terminal is labeled.
Figure 12 is the function structure chart of terminal embodiment two provided in an embodiment of the present invention, and as shown in figure 12, processing module 502 includes:
First acquisition unit 5021, for obtaining the second finger print information to be certified and the corresponding second finger print identifying result of the second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining the first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template.
First determination unit 5022, for determining the first fingerprint characteristic set, the first fingerprint characteristic collection is combined into the first finger print information to be certified and the second finger print information to be certified, the set of fingerprint characteristic with same position feature, wherein, which is used for absolute position of the identification fingerprint feature in fingerprint device.
Second determination unit 5023, for judging whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of terminal is labeled.
Figure 13 is the function structure chart of terminal embodiment three provided in an embodiment of the present invention, as shown in figure 13, on the basis of Figure 11, the optical module further include:
Display module 503, when the score value of the fingerprint characteristic set for being labeled on fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check fingerprint device surface.
Figure 14 is the function structure chart of terminal embodiment four provided in an embodiment of the present invention, as shown in figure 14, on the basis of Figure 13, the optical module further include:
First closedown module 504 closes the fingerprint template more new function of terminal when the score value of the fingerprint characteristic set for being labeled on fingerprint device is greater than second threshold and is less than third threshold value.
Figure 15 is the function structure chart of terminal embodiment five provided in an embodiment of the present invention, as shown in figure 15, on the basis of Figure 14, the optical module further include:
Second closedown module 505 closes the finger print identifying function of terminal when the score value of the fingerprint characteristic set for being labeled on fingerprint device is greater than third threshold value.
Figure 16 is the function structure chart of terminal embodiment six provided in an embodiment of the present invention, as shown in figure 16, on the basis of Figure 15, the optical module further include:
Second obtains module 506, for obtaining third finger print information to be certified.
Processing module 502 is also used to determine the corresponding third finger print identifying result of third finger print information to be certified according to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in fingerprint device.
Figure 17 is the function structure chart of terminal embodiment seven provided in an embodiment of the present invention, as shown in figure 17, on the basis of Figure 12, processing module 502 further include:
Second acquisition unit 5024, for obtaining the unloaded image of fingerprint device, which is fingerprint device institute's acquired image in the unloaded state.
Third determination unit 5025, for determining the image gradient value of unloaded image.
4th determination unit 5026, for judging whether the image gradient value of unloaded image exceeds preset range, if so, determining that the fingerprint device of terminal is labeled.
Figure 18 is the function structure chart of terminal embodiment eight provided in an embodiment of the present invention, as shown in figure 18, on the basis of Figure 17, processing module 502 further include:
Third acquiring unit 5027, for obtaining the unloaded image of fingerprint device and the factory image of fingerprint device.
Computing unit 5028, the first difference of the pixel value for calculating the corresponding pixel points in unloaded image in the first pixel and factory image, if the first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in unloaded image is calculated, if the difference of the first difference and the second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
Figure 19 is the function structure chart of terminal embodiment nine provided in an embodiment of the present invention, as shown in figure 19, on the basis of Figure 18, processing module 502 further include:
4th acquiring unit 5029 obtains the thickness and surface smoothness of fingerprint device for carrying out ultrasound examination to the fingerprint device under light condition.
5th determination unit 50210, whether the surface for judging fingerprint device is smooth, and, whether the thickness of fingerprint device is identical as the original thickness of fingerprint device, if not, it is determined that the fingerprint device of terminal is labeled.
Figure 20 is the function structure chart of terminal embodiment ten provided in an embodiment of the present invention, as shown in figure 20, on the basis of Figure 19, processing module 502 further include:
Detection unit 50211, for carrying out electrical characteristics detection to the fingerprint device under light condition, which is detected for detecting capacitance and resistance value in fingerprint device.
6th determination unit 50212 when being greater than the variable quantity of the resistance value in preset capacitance variation amount or fingerprint device greater than preset resistance change amount for the variable quantity in the capacitance in fingerprint device, determines that the fingerprint device of terminal is labeled.
In another embodiment, processing module 502 is specifically also used to when the fingerprint device of terminal is not labeled, updates fingerprint template according to the first finger print information to be certified.
Figure 21 is the function structure chart of terminal embodiment one provided in an embodiment of the present invention, and as shown in figure 21, which includes:
Memory 91 and processor 92.
Memory 91 is used to call the program instruction in memory 91 for storing program instruction, processor 92, executes following methods:
Obtain the first finger print information to be certified;
First finger print information to be certified is compared with fingerprint template, obtains the first finger print identifying result, wherein fingerprint template is used to save the fingerprint characteristic set of the first user.
If the first finger print identifying result is to authenticate successfully and need to update fingerprint template, the finger of terminal is judged Whether line device is labeled, if so, not updating fingerprint template.
In another embodiment, processor 92 is also used to:
According to the feature of the fingerprint device of terminal in the unloaded state, judge whether the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
Obtain the second finger print information to be certified and the corresponding second finger print identifying result of the second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining the first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template;
Determine the first fingerprint characteristic set, the first fingerprint characteristic collection is combined into the first finger print information to be certified and the second finger print information to be certified, the identical fingerprint characteristic set in absolute position in fingerprint device;
Judge whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check fingerprint device surface.
In another embodiment, processor 92 is also used to:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than second threshold and is less than third threshold value, the fingerprint template more new function of terminal is closed.
In another embodiment, processor 92 is also used to:
If the score value for the fingerprint characteristic set being labeled on fingerprint device is greater than third threshold value, the finger print identifying function of terminal.
In another embodiment, processor 92 is also used to:
Obtain third finger print information to be certified;
According to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in fingerprint device, the corresponding third finger print identifying result of third finger print information to be certified is determined.
In another embodiment, processor 92 is also used to:
The unloaded image of fingerprint device is obtained, which is fingerprint device institute's acquired image in the unloaded state;
Determine the image gradient value of zero load image;
Judge whether the image gradient value of unloaded image exceeds preset range, if so, determining that the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
Obtain the unloaded image of fingerprint device and the factory image of fingerprint device;
The first difference of the first pixel and the pixel value of the corresponding pixel points in factory image in unloaded image is calculated, if the first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in unloaded image is calculated, if the difference of the first difference and the second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
Ultrasound examination is carried out to the fingerprint device under light condition, obtains the thickness and surface smoothness of fingerprint device;
Judge whether the surface of fingerprint device is smooth, and, whether the thickness of fingerprint device is identical as the original thickness of fingerprint device, if not, it is determined that the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
Electrical characteristics detection is carried out to the fingerprint device under light condition, electrical characteristics are detected for detecting capacitance and resistance value in fingerprint device;
If the variable quantity of the capacitance in fingerprint device is greater than preset capacitance variation amount or the variable quantity of the resistance value in fingerprint device is greater than preset resistance change amount, it is determined that the fingerprint device of terminal is labeled.
In another embodiment, processor 92 is also used to:
If the fingerprint device of terminal is not labeled, fingerprint template is updated according to the first finger print information to be certified.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;Although present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it is still possible to modify the technical solutions described in the foregoing embodiments, or equivalent substitution of some or all of the technical features;And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (25)

  1. Fingerprint processing method in a kind of terminal characterized by comprising
    Obtain the first finger print information to be certified;
    Described first finger print information to be certified is compared with fingerprint template, obtains the first finger print identifying result, wherein the fingerprint template is used to save the fingerprint characteristic set of the first user, and the fingerprint characteristic set of first user is for unlocking the terminal;
    If the first finger print identifying result is to authenticate successfully and need to update fingerprint template, judge whether the fingerprint device of the terminal is labeled, if so, not updating the fingerprint template.
  2. The method according to claim 1, wherein whether the fingerprint device for judging the terminal is labeled, comprising:
    According to the feature of the fingerprint device of the terminal in the unloaded state, judge whether the fingerprint device of the terminal is labeled.
  3. The method according to claim 1, wherein whether the fingerprint device for judging the terminal is labeled, comprising:
    Obtain the second finger print information to be certified and the corresponding second finger print identifying result of second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template;
    Determine the first fingerprint characteristic set, the first fingerprint characteristic collection is combined into the described first finger print information to be certified and second finger print information to be certified, the set of fingerprint characteristic with same position feature, wherein, the position feature is for identifying absolute position of the fingerprint characteristic in the fingerprint device;
    Judge whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of the terminal is labeled.
  4. Method according to claim 1-3, which is characterized in that it is described do not update fingerprint template after, further includes:
    If the score value for the fingerprint characteristic set being labeled on the fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check the fingerprint device surface.
  5. Method according to claim 1-3, which is characterized in that it is described do not update fingerprint template after, further includes:
    If the score value for the fingerprint characteristic set being labeled on the fingerprint device is greater than the second threshold and is less than third threshold value, the fingerprint template more new function of the terminal is closed.
  6. Method according to claim 1-3, which is characterized in that it is described do not update fingerprint template after, further includes:
    If the score value for the fingerprint characteristic set being labeled on the fingerprint device is greater than the third threshold value, the finger print identifying function of the terminal is closed.
  7. Method according to claim 1-6, which is characterized in that it is described do not update fingerprint template after, further includes:
    Obtain third finger print information to be certified;
    According to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in the fingerprint device, the corresponding third finger print identifying result of third finger print information to be certified is determined.
  8. According to the method described in claim 2, it is characterized in that, the feature in the unloaded state of the fingerprint device according to the terminal, judges whether the fingerprint device of the terminal is labeled, comprising:
    Obtain the unloaded image of the fingerprint device, the zero load image is fingerprint device institute's acquired image in the unloaded state;
    Determine the image gradient value of the unloaded image;
    Judge whether the image gradient value of the unloaded image exceeds preset range, if so, determining that the fingerprint device of the terminal is labeled.
  9. According to the method described in claim 2, it is characterized in that, the feature in the unloaded state of the fingerprint device according to the terminal, judges whether the fingerprint device of the terminal is labeled, comprising:
    Obtain the unloaded image of the fingerprint device and the factory image of the fingerprint device;
    The first difference for calculating the first pixel and the pixel value of the corresponding pixel points in the factory image in the unloaded image, if first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of at least one second pixel and corresponding pixel points in factory image in the unloaded image is calculated, if the difference of first difference and second difference is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
  10. According to the method described in claim 2, it is characterized in that, the feature in the unloaded state of the fingerprint device according to the terminal, judges whether the fingerprint device of the terminal is labeled, comprising:
    Ultrasound examination is carried out to the fingerprint device under light condition, obtains the thickness and surface smoothness of the fingerprint device;
    Judge whether the surface of the fingerprint device is smooth, and, whether the thickness of the fingerprint device is identical as the original thickness of the fingerprint device, if not, it is determined that the fingerprint device of the terminal is labeled.
  11. According to the method described in claim 2, it is characterized in that, the feature in the unloaded state of the fingerprint device according to the terminal, judges whether the fingerprint device of the terminal is labeled, comprising:
    Electrical characteristics detection is carried out to the fingerprint device under light condition, the electrical characteristics detection is for detecting capacitance and resistance value in the fingerprint device;
    If the variable quantity of the capacitance in the fingerprint device is greater than preset capacitance variation amount or the variable quantity of the resistance value in the fingerprint device is greater than preset resistance change amount, it is determined that the fingerprint device of the terminal is labeled.
  12. - 11 described in any item methods according to claim 1, which is characterized in that further include:
    If the fingerprint device of the terminal is not labeled, the fingerprint template is updated according to the described first finger print information to be certified.
  13. A kind of terminal characterized by comprising
    First obtains module, for obtaining the first finger print information to be certified;
    Processing module obtains the first finger print identifying result for the described first finger print information to be certified to be compared with fingerprint template, wherein the fingerprint template is used to save the fingerprint characteristic set of the first user;
    The processing module is also used to judge whether the fingerprint device of the terminal is labeled, if so, not updating the fingerprint template when the first finger print identifying result is to authenticate successfully and need to update fingerprint template.
  14. Terminal according to claim 13, which is characterized in that the processing module is specifically used for:
    According to the feature of the fingerprint device of the terminal in the unloaded state, judge whether the fingerprint device of the terminal is labeled.
  15. Terminal according to claim 13, which is characterized in that the processing module includes:
    First acquisition unit, for obtaining the second finger print information to be certified and the corresponding second finger print identifying result of second finger print information to be certified, wherein, second finger print information to be certified is accessed after obtaining first finger print information to be certified, also, the second finger print identifying result is to authenticate successfully or authenticate successfully and need to update fingerprint template;
    First determination unit, for determining the first fingerprint characteristic set, the first fingerprint characteristic collection is combined into the described first finger print information to be certified and the second finger print information to be certified, the identical fingerprint characteristic set in absolute position in the fingerprint device;
    Second determination unit, for judging whether the score value of the first fingerprint characteristic set is greater than preset point threshold, if so, determining that the fingerprint device of the terminal is labeled.
  16. The described in any item terminals of 3-15 according to claim 1, which is characterized in that further include:
    Display module, when the score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than first threshold and is less than second threshold, display alarm information, the prompting message is for reminding user to check the fingerprint device surface.
  17. The described in any item terminals of 3-15 according to claim 1, which is characterized in that further include:
    First closedown module closes the fingerprint template more new function of the terminal when score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than the second threshold and is less than third threshold value.
  18. The described in any item terminals of 3-15 according to claim 1, which is characterized in that further include:
    Second closedown module closes the finger print identifying function of the terminal when score value of the fingerprint characteristic set for being labeled on the fingerprint device is greater than the third threshold value.
  19. The described in any item terminals of 3-18 according to claim 1, which is characterized in that further include:
    Second obtains module, for obtaining third finger print information to be certified;
    The processing module is also used to determine the corresponding third finger print identifying result of third finger print information to be certified according to the finger print information in third finger print information to be certified in addition to the fingerprint characteristic set being labeled in the fingerprint device.
  20. Terminal according to claim 14, which is characterized in that the processing module further include:
    Second acquisition unit, for obtaining the unloaded image of the fingerprint device, the zero load image is fingerprint device institute's acquired image in the unloaded state;
    Third determination unit, for determining the image gradient value of the unloaded image;
    4th determination unit, for judging whether the image gradient value of the unloaded image exceeds preset range, if so, determining that the fingerprint device of the terminal is labeled.
  21. Terminal according to claim 14, which is characterized in that the processing module further include:
    Third acquiring unit, for obtaining the unloaded image of the fingerprint device and the factory image of the fingerprint device;
    Computing unit, the first difference of the pixel value for calculating the corresponding pixel points in the unloaded image in the first pixel and the factory image, if first difference is greater than the first preset threshold, it is determined that the fingerprint device of terminal is labeled;Otherwise, at least one second difference of corresponding pixel points at least one second pixel and factory image in the unloaded image is calculated, if first difference and described second poor The difference of value is greater than the second preset threshold, it is determined that the fingerprint device of terminal is labeled.
  22. Terminal according to claim 14, which is characterized in that the processing module further include:
    4th acquiring unit obtains the thickness and surface smoothness of the fingerprint device for carrying out ultrasound examination to the fingerprint device under light condition;
    5th determination unit, whether the surface for judging the fingerprint device is smooth, and, whether the thickness of the fingerprint device is identical as the original thickness of the fingerprint device, if not, it is determined that the fingerprint device of the terminal is labeled.
  23. Terminal according to claim 14, which is characterized in that the processing module further include:
    Detection unit, for carrying out electrical characteristics detection to the fingerprint device under light condition, the electrical characteristics detection is for detecting capacitance and resistance value in the fingerprint device;
    6th determination unit when being greater than the variable quantity of the resistance value in preset capacitance variation amount or the fingerprint device greater than preset resistance change amount for the variable quantity in the capacitance in the fingerprint device, determines that the fingerprint device of the terminal is labeled.
  24. The described in any item terminals of 3-23 according to claim 1, which is characterized in that the processing module is specifically also used to when the fingerprint device of the terminal is not labeled, updates the fingerprint template according to the described first finger print information to be certified.
  25. A kind of terminal characterized by comprising
    Memory and processor;
    The memory is used to call the program instruction in the memory for storing program instruction, the processor, executes following methods:
    Obtain the first finger print information to be certified;
    Described first finger print information to be certified is compared with fingerprint template, obtains the first finger print identifying result, wherein the fingerprint template is used to save the fingerprint characteristic set of the first user;
    If the first finger print identifying result is to authenticate successfully and need to update fingerprint template, judge whether the fingerprint device of the terminal is labeled, if so, not updating the fingerprint template.
CN201680080801.0A 2016-08-04 2016-08-04 Fingerprint processing method and terminal in terminal Pending CN108604294A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/093273 WO2018023549A1 (en) 2016-08-04 2016-08-04 Terminal fingerprint-processing method and terminal

Publications (1)

Publication Number Publication Date
CN108604294A true CN108604294A (en) 2018-09-28

Family

ID=61073302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680080801.0A Pending CN108604294A (en) 2016-08-04 2016-08-04 Fingerprint processing method and terminal in terminal

Country Status (2)

Country Link
CN (1) CN108604294A (en)
WO (1) WO2018023549A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969746A (en) * 2019-11-19 2020-04-07 深圳市俊达通办公智能科技有限公司 Fingerprint identification device with sterilization function for access control system
CN112949361B (en) * 2019-12-11 2023-07-25 杭州萤石软件有限公司 Fingerprint identification method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140304514A1 (en) * 2012-03-24 2014-10-09 Mach 1 Development, Inc. Application programming interface for web application platform security system
CN105303173A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Method and device for reducing misrecognition rate
CN105389566A (en) * 2015-11-13 2016-03-09 广东欧珀移动通信有限公司 Fingerprint identification method, fingerprint template updating method, fingerprint template updating device and mobile terminal
CN105631443A (en) * 2016-03-11 2016-06-01 广东欧珀移动通信有限公司 Fingerprint template updating method and terminal device
CN105809133A (en) * 2016-03-08 2016-07-27 广东欧珀移动通信有限公司 Fingerprint feature information updating method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693420B (en) * 2012-05-25 2014-09-17 深圳市亚略特生物识别科技有限公司 Automatic updating method for fingerprint template
CN104715178B (en) * 2013-12-11 2020-04-03 深圳富泰宏精密工业有限公司 Unlocking system and method of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140304514A1 (en) * 2012-03-24 2014-10-09 Mach 1 Development, Inc. Application programming interface for web application platform security system
CN105303173A (en) * 2015-10-19 2016-02-03 广东欧珀移动通信有限公司 Method and device for reducing misrecognition rate
CN105389566A (en) * 2015-11-13 2016-03-09 广东欧珀移动通信有限公司 Fingerprint identification method, fingerprint template updating method, fingerprint template updating device and mobile terminal
CN105809133A (en) * 2016-03-08 2016-07-27 广东欧珀移动通信有限公司 Fingerprint feature information updating method and device
CN105631443A (en) * 2016-03-11 2016-06-01 广东欧珀移动通信有限公司 Fingerprint template updating method and terminal device

Also Published As

Publication number Publication date
WO2018023549A1 (en) 2018-02-08

Similar Documents

Publication Publication Date Title
US11216546B2 (en) Method for fingerprint authentication using force value
JP5228872B2 (en) Biometric authentication apparatus, biometric authentication method, biometric authentication computer program, and computer system
JP6667802B2 (en) Segment block based handwritten signature authentication system and method
US20160125223A1 (en) Electronic device including multiple speed and multiple accuracy finger biometric matching and related methods
US9842211B2 (en) Systems and methods for biometric authentication
JP5930023B2 (en) Biometric authentication apparatus, biometric authentication method, and biometric authentication computer program
KR20170080617A (en) Fingerprint authentication using touch sensor data
JP6695578B2 (en) Time division segment block based note signature authentication system and method
EP3559847B1 (en) Electronic device for biometric authentication of a user
US10552596B2 (en) Biometric authentication
EP3261023A1 (en) Method, apparatus and terminal device for fingerprint identification
JP2015121874A (en) Biometric authentication device, data verification method for collation, and data verification computer program for collation
US20160321441A1 (en) Secure biometric authentication
US9785863B2 (en) Fingerprint authentication
US20200250297A1 (en) Authentication system, authentication device, authentication method, and program
KR101576557B1 (en) Apparatus for anti-hacking fingerprint recognition means of cell-phone and surface means and method of the same
CN107408208B (en) Method and fingerprint sensing system for analyzing a biometric of a user
EP3786820B1 (en) Authentication system, authentication device, authentication method, and program
CN108604294A (en) Fingerprint processing method and terminal in terminal
JP2014130554A (en) Information apparatus, authentication method, and authentication system
US11928199B2 (en) Authentication system, authentication device, authentication method and program
US11366887B2 (en) Biometric authentication
WO2018164630A1 (en) Methods for enrolling a user and for authentication of a user of an electronic device
CN109583168B (en) Unlocking control method and electronic device
JP6891355B1 (en) Authentication system, authentication device, authentication method, and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication