CN107015879A - Unlocked by fingerprint method and device - Google Patents

Unlocked by fingerprint method and device Download PDF

Info

Publication number
CN107015879A
CN107015879A CN201710236841.6A CN201710236841A CN107015879A CN 107015879 A CN107015879 A CN 107015879A CN 201710236841 A CN201710236841 A CN 201710236841A CN 107015879 A CN107015879 A CN 107015879A
Authority
CN
China
Prior art keywords
fingerprint
unlocked
threshold value
value
activation threshold
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
CN201710236841.6A
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.)
Shanghai Yude Technology Co Ltd
Original Assignee
Shanghai Yude Technology 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 Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201710236841.6A priority Critical patent/CN107015879A/en
Publication of CN107015879A publication Critical patent/CN107015879A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor

Abstract

The embodiment of the invention discloses a kind of unlocked by fingerprint method and device, wherein this method includes:When the unlocked by fingerprint of terminal triggers failure, the activation threshold value prestored is updated according to current environment;Under the present circumstances using the activation threshold value triggering hardware interrupts after updating, unlocked by fingerprint is carried out.The embodiment of the present invention is when environmental difference causes the unlocked by fingerprint of terminal to trigger failure, activation threshold value is updated according to current environment, so that activation threshold value is matched with current environment, so as to the hardware interrupts of triggered as normal unlocked by fingerprint under the present circumstances, and then unlocked by fingerprint can be normally carried out.

Description

Unlocked by fingerprint method and device
Technical field
The present embodiments relate to fingerprint identification technology field, more particularly to a kind of unlocked by fingerprint method and device.
Background technology
With the diversification of development and the user's request of electronic technology, increasing user terminal has used unlocked by fingerprint Technology.
Want to use unlocked by fingerprint, it is necessary first to which typing fingerprint, the detailed process of typing fingerprint is as follows:According to carrying for terminal Show, user places finger intermittently on fingerprint sensor and takes away finger, wherein, when placing finger, terminal passes through fingerprint Sensor gathers fingerprint image, gathers after complete fingerprint image, image is handled, finger print data is obtained and stores;Take When opening finger, terminal gathers a blank gray-scale map by fingerprint sensor, and calculates the blank gray scale according to preset algorithm The interrupting value of figure, the interrupting value is written in the register of fingerprint sensor, and the interrupting value is used as triggering unlocked by fingerprint hardware The threshold value of interruption.During follow-up unlocked by fingerprint, user's finger pressing fingerprint sensor successfully triggers interruption, software control Fingerprint sensor processed carries out fingerprint collecting, after handling the fingerprint image of collection, is carried out with the finger print data that stores before Matching, if the match is successful, can unlock, otherwise can not unlock.
But, after user's typing fingerprint, if into other environment (such as temperature and/or humidity difference for differing greatly It is larger), now finger pressing fingerprint sensor, terminal is reactionless, i.e., unlocked by fingerprint can not triggered as normal, and then can not pass through and refer to Line is unlocked.For example, the north cold winter, indoor temperature is 20 to 25 degrees Celsius, outdoor temperature is subzero 15 to 25 degrees Celsius, User's carried terminal goes to outdoor from interior, and in outdoor carry out unlocked by fingerprint, terminal occurs that finger touch is reactionless, it is impossible to Pass through the situation of unlocked by fingerprint.Likewise, user abruptly enters high temperature (such as 50 degree or so) from 20 degree or so of normal temperature, also without Method uses unlocked by fingerprint.For above mentioned problem, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of unlocked by fingerprint method and device, can avoid environmental difference to unlocked by fingerprint just The influence often triggered, so as to be normally carried out unlocked by fingerprint.
In a first aspect, the embodiments of the invention provide a kind of unlocked by fingerprint method, including:
When the unlocked by fingerprint of terminal triggers failure, the activation threshold value prestored is updated according to current environment;
Using the activation threshold value triggering hardware interrupts after updating under the current environment, unlocked by fingerprint is carried out.
Further, the activation threshold value prestored is updated according to current environment, including:
Obtain the blank gray-scale map under the current environment;
Calculated according to the blank gray-scale map and obtain interrupting value corresponding with the current environment;
Judge whether the difference of the interrupting value and the activation threshold value prestored exceeds preset range;
If the difference exceeds the preset range, the activation threshold value prestored is updated to the interrupting value.
Further, before the activation threshold value prestored is updated according to current environment, methods described also includes:
When the unlocked by fingerprint of terminal triggers failure, detect whether the screen of the terminal becomes to turn to from OFF state and light State;
If it is, the activation threshold value prestored according to updating the current environment.
Further, detect whether the screen of the terminal becomes from OFF state and turn to illuminating state, including:
Detect the screen attribute value of the terminal;
If it is the value corresponding to illuminating state that the screen attribute, which is worth from the value changes corresponding to OFF state, it is determined that The screen of the terminal becomes from OFF state turns to illuminating state;
If the screen attribute value is always the value corresponding to OFF state, it is determined that the screen state of the terminal is not Change.
Further, before the activation threshold value prestored is updated according to current environment, methods described also includes:
When the unlocked by fingerprint of terminal triggers failure, unlocked by fingerprint is reported to trigger failed message to processor;
The control signal that the processor is issued is received, wherein, the control signal is used to indicate to work as front ring according to The activation threshold value prestored described in the renewal of border.
Further, fingerprint solution is carried out using the activation threshold value triggering hardware interrupts after updating under the current environment Lock, including:
Detect pressing operation of the user in unlocked by fingerprint region;
Hardware interrupts are triggered according to the activation threshold value after the pressing operation and the renewal, and obtain current finger print figure Picture;
Unlocked by fingerprint is carried out according to the current finger print image and the finger print data prestored.
Second aspect, the embodiment of the present invention additionally provides a kind of unlocked by fingerprint device, including:
Threshold value update module, what is prestored for when the unlocked by fingerprint of terminal triggers failure, being updated according to current environment touches Send out threshold value;
Unlocked by fingerprint module, for triggering hardware interrupts using the activation threshold value after updating under the current environment, enters Row unlocked by fingerprint.
Further, the threshold value update module includes:
Image acquisition unit, for obtaining the blank gray-scale map under the current environment;
Interrupting value computing unit, interrupt corresponding with the current environment is obtained for being calculated according to the blank gray-scale map Value;
Judging unit, for judging the interrupting value with the difference of the activation threshold value prestored whether beyond default model Enclose;
Threshold value updating block, in the case of exceeding the preset range in the difference, by the triggering prestored Threshold value is updated to the interrupting value.
Further, described device also includes:
Screen detection module, for when the unlocked by fingerprint of terminal triggers failure, detect the terminal screen whether from OFF state, which becomes, turns to illuminating state;If it is, what the threshold value update module prestored according to updating the current environment Activation threshold value.
Further, the screen detection module specifically for:
Detect the screen attribute value of the terminal;If the screen attribute value is from the value changes corresponding to OFF state Corresponding to the value of illuminating state, it is determined that the screen of the terminal becomes from OFF state turns to illuminating state;If the screen Property value is always the value corresponding to OFF state, it is determined that the screen state of the terminal does not change.
Further, described device also includes:
Information reporting module, for when the unlocked by fingerprint of terminal triggers failure, reporting unlocked by fingerprint to trigger to processor Failed message;
Signal receiving module, for receiving the control signal that the processor is issued, wherein, the control signal is used to refer to Show the activation threshold value prestored according to updating the current environment.
Further, the unlocked by fingerprint module includes:
Detection unit is operated, for detecting pressing operation of the user in unlocked by fingerprint region;
Fingerprint acquiring unit, for triggering hardware interrupts according to the activation threshold value after the pressing operation and the renewal, And obtain current finger print image;
Unlocked by fingerprint unit, for carrying out unlocked by fingerprint according to the current finger print image and the finger print data prestored.
The unlocked by fingerprint method and device of the embodiment of the present invention, the unlocked by fingerprint for causing terminal in environmental difference triggers failure When, activation threshold value is updated according to current environment so that activation threshold value is matched with current environment, so as under the present circumstances just The often hardware interrupts of triggering unlocked by fingerprint, and then unlocked by fingerprint can be normally carried out.
Brief description of the drawings
Fig. 1 is the flow chart for the unlocked by fingerprint method that the embodiment of the present invention one is provided;
Fig. 2 is the particular flow sheet of step S110 in the unlocked by fingerprint method that the embodiment of the present invention two is provided;
Fig. 3 is the structured flowchart for the unlocked by fingerprint device that the embodiment of the present invention three is provided;
Fig. 4 is the preferred flow charts for the unlocked by fingerprint method that the embodiment of the present invention four is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
In the case of terminal screen locking, it is desirable to carry out unlocked by fingerprint, it is necessary to trigger fingerprint sensor this hardware to CPU's Interrupt so that CPU can control fingerprint sensor to carry out fingerprint collecting, can just perform follow-up fingerprint matching and unblock.Refer to Line sensor can be capacitor induction type sensor.
In the prior art, after user's typing fingerprint, if into other environment (such as temperature and/or wet differed greatly Degree differs greatly), now user's finger pressing (can touch, press lightly on or firmly press) fingerprint sensor, terminal There is no any reaction, continue to keep screen locking, it is impossible to pass through unlocked by fingerprint.This shows under the present circumstances can not triggered as normal fingerprint Interruption of the sensor to CPU, CPU can not control fingerprint sensor to gather fingerprint, and then can not pass through unlocked by fingerprint.It is existing to refer to Line unlock trigger process is as follows:Terminal detects user's pressing fingerprint sensor, the hardware interrupts activation threshold value that has stored with Whether current environment (matches and is determined by the material of fingerprint sensor) in the case of matching, and fingerprint sensor sends interrupt signal (for example, due to capacitive sensing, low level is changed into high level, this high level is interrupt signal), CPU receives interruption letter Number, control fingerprint sensor collection fingerprint is carried out after image procossing to the fingerprint image of collection, carried out with the finger print data of typing Match to realize unlocked by fingerprint.
By analysis, the reason for causing above mentioned problem be:The sky gathered under varying environment (i.e. different temperatures and humidity) The brightness of white gray figure, contrast are different, and its essence is the difference of pixel gray value, for example, temperature is higher, pixel Point gray value is bigger.During typing fingerprint, collection blank gray-scale map, which is calculated, obtains activation threshold value, in the environmental difference with typing fingerprint Under larger environment, activation threshold value does not match current environment, therefore, and fingerprint sensor can not send interrupt signal to CPU, The triggering failure of the uncontrollable fingerprint sensors of CPU, i.e. unlocked by fingerprint.
Embodiment one
Fig. 1 be the embodiment of the present invention one provide unlocked by fingerprint method flow chart, the present embodiment be applicable to temperature and/ Or the excessive environment of humidity difference cause unlocked by fingerprint can not triggered as normal situation, this method can by unlocked by fingerprint device Lai Perform, for example, smart mobile phone, tablet personal computer with unlocked by fingerprint function, intelligent wearable device etc..As shown in figure 1, this refers to Line unlocking method specifically includes following steps:
Step S110, when the unlocked by fingerprint of terminal triggers failure, the activation threshold value prestored is updated according to current environment.
In this step, unlocked by fingerprint triggering unsuccessfully refers to successfully trigger firmly according to existing unlocked by fingerprint trigger process Part is interrupted, and CPU can not control fingerprint sensor to gather fingerprint, and terminal does not have any reaction, continues to keep screen locking, it is impossible to by referring to Line is unlocked.Current environment includes temperature and/or humidity, in the present context, the unlocked by fingerprint triggering failure of terminal.Current environment is It is more than the environment of preset value with the difference of the environment of typing fingerprint, the preset value can be obtained according to many experiments.Using temperature as Example, temperature is 20 degrees Celsius during typing fingerprint, by many experiments, below 0 degree Celsius or more than 40 degrees Celsius, the finger of terminal Line unlock trigger fails, then it is 20 degrees Celsius that can determine preset value.The activation threshold value prestored can be stored in fingerprint sensor Register in, blank gray-scale map that the activation threshold value is gathered when being according to typing fingerprint is calculated and obtained, and activation threshold value can To be the average ash of the average gray value of blank gray-scale map, the contrast of blank gray-scale map, a certain predeterminable area of blank gray-scale map Angle value, to brightness and contrast calculate obtained value or calculate obtained value according to other preset algorithms.
Step S120, under the present circumstances using the activation threshold value triggering hardware interrupts after updating, carries out unlocked by fingerprint.
In this step, update after activation threshold value, under the present circumstances can be into according to existing unlocked by fingerprint trigger process Work(triggering is interrupted, i.e., terminal detects user's pressing fingerprint sensor, because the activation threshold value after renewal is matched with current environment, Fingerprint sensor sends interrupt signal to CPU, and CPU is received after interrupt signal, and hardware interrupts are successfully triggered, CPU control fingerprints Sensor gathers fingerprint image, and the fingerprint image of collection is carried out after image procossing, matched with the finger print data of typing with Realize unlocked by fingerprint.Unlocked by fingerprint in this step includes:Collection, image procossing and the fingerprint matching of fingerprint image.
The unlocked by fingerprint method of the embodiment of the present invention, when causing the unlocked by fingerprint triggering failure of terminal in environmental difference, Activation threshold value is updated according to current environment so that activation threshold value is matched with current environment, so as to normal under the present circumstances The hardware interrupts of unlocked by fingerprint are triggered, and then unlocked by fingerprint can be normally carried out.
On the basis of above-mentioned technical proposal, it is preferred that step S120 can include:User is detected in unlocked by fingerprint area The pressing operation in domain;Hardware interrupts are triggered according to the activation threshold value after pressing operation and renewal, and obtain current finger print image;Root Unlocked by fingerprint is carried out according to current finger print image and the finger print data prestored.
Wherein, unlocked by fingerprint region can be the virtual interface that is set by means of touch-screen or by means of physics The region that button is set.Unlocked by fingerprint region can be arranged on the home keys of terminal, the optional position after terminal on shell, terminal Side optional position etc..It is preferred that, the region that the fingerprint sensor that unlocked by fingerprint region can be provided in terminal is presented. User, according to its degree of exerting oneself, can touch, can also press lightly on, can also be to the pressing operation in unlocked by fingerprint region Firmly press, this belongs to pressing operation in embodiments of the present invention.
Terminal detects the pressing operation of user, in the case where activation threshold value is matched with current environment, fingerprint sensor Interrupt signal is sent, hardware interrupts are triggered.So that activation threshold value is average gray value as an example, according to current finger print image and prestore Finger print data, which carries out unlocked by fingerprint, to be included:Carrying out image procossing to current finger print image (for example strengthens filtering, binaryzation, segmentation Deng), 100 pixels are obtained, the gray value of each pixel is compared with activation threshold value, gray value are selected less than firing level The pixel of value, as the characteristic point of current finger print image, is matched with the finger print data prestored, if matching rate reach it is pre- If being worth (such as 80%), then it is assumed that fingerprint matching, unlock successfully.Specific fingerprint matching process is same as the prior art, herein Without being described in detail.
Embodiment two
On the basis of above-described embodiment one, the activation threshold value for updating and prestoring according to current environment is present embodiments provided A kind of preferred embodiment.As shown in Fig. 2 updating comprising the following steps that for the activation threshold value prestored according to current environment:
Step S111, obtains the blank gray-scale map under current environment.
In this step, blank gray-scale map can be gathered by fingerprint sensor.Blank gray-scale map includes the temperature of current environment Degree and/or humidity information, for example, the temperature and/or humidity of environment can be shown by the brightness of blank gray-scale map, contrast Come.
Step S112, calculates according to blank gray-scale map and obtains interrupting value corresponding with current environment.
In this step, interrupting value is calculated using the activation threshold value identical algorithm with prestoring, for example, calculating blank gray-scale map Average gray value, the contrast of blank gray-scale map or calculated according to other algorithms.
Whether step S113, the difference for the activation threshold value for judging interrupting value and prestoring exceeds preset range.
In this step, preset range can be configured according to actual conditions, for example, [- 10,10] are set to, [- 8,8] Deng.
Step S114, if difference exceeds preset range, interrupting value is updated to by the activation threshold value prestored.
In this step, if difference exceeds preset range, represent that environmental difference is excessive, it is necessary to update threshold value.If difference In preset range, then activation threshold value is not updated.In theory, if activation threshold value need not be updated, hardware interrupts should be energy Enough triggerings are successful, are probably that other reasonses cause triggering to fail here, for example, hardware or software failure, can carry out correlation Experiment determines the concrete reason of triggering failure, and carries out respective handling.
In this preferred embodiment mode, the blank gray-scale map under collection current environment, to update threshold value, it is ensured that update Threshold value afterwards is matched with current environment, so as to triggered as normal hardware interrupts under the present circumstances.
During unlocked by fingerprint triggering failure, terminal now needs to take measures to refer to still in screen lock state and without any reaction Show that terminal carries out the renewal of activation threshold value.The following mode for indicating to update threshold value is provided in the present embodiment.Carry out separately below Explanation.
(1) before the activation threshold value prestored is updated according to current environment, the above method can also include:In the finger of terminal When line unlock trigger fails, detect whether the screen of terminal becomes from OFF state and turn to illuminating state;If it is, according to current The activation threshold value that environmental renewal prestores.
In mode (1), the renewal that instruction terminal carries out activation threshold value is lighted using screen.Specifically, user is according to making Failure can be triggered by lighting the problem of screen solves unlocked by fingerprint triggering failure in the unlocked by fingerprint of terminal by being learnt with explanation When, what terminal reception user inputted lights screen command, and lights screen according to the instruction, wherein lighting screen command can be User is inputted by pressing the mode such as power key or home keys.Terminal detects screen and lighted, then can perform threshold value renewal Step.
It is preferred that, terminal can be worth the change for judging screen state by screen attribute.Specifically, the screen of detection terminal Whether become from OFF state and turn to illuminating state, including:Detect the screen attribute value of terminal;If screen attribute value from corresponding to The value changes of OFF state are the value corresponding to illuminating state, it is determined that the screen of terminal becomes to turn to from OFF state lights shape State;If screen attribute value is always the value corresponding to OFF state, it is determined that the screen state of terminal does not change.In reality In the application of border, screen attribute value can be 0 or 1, for example, 0 corresponds to OFF state, 1 corresponds to illuminating state.Belonged to by screen Property value judges the change of screen state, and method is simple and reliable.
(2) before the activation threshold value prestored is updated according to current environment, the above method can also include:In the finger of terminal When line unlock trigger fails, unlocked by fingerprint is reported to trigger failed message to processor;The control signal that reception processing device is issued, its In, control signal is used to indicate to update the activation threshold value prestored according to current environment.
In mode (2), the control signal instruction terminal issued using processor carries out the renewal of activation threshold value.It is simple and Say, unlocked by fingerprint triggering failed message can be 0 or 1, for example, 0 represents triggering failure, 1 representative is triggered successfully.Certainly, Other message contents can be used to represent to trigger success or not.
The present embodiment provides two ways instruction terminal and carries out threshold value renewal, and method is simple, and adds the flexible of method Property.In actual applications, can with as needed use any mode.
Embodiment three
Fig. 3 is the structured flowchart of the unlocked by fingerprint device of the offer of the embodiment of the present invention three, and the present embodiment is applicable to temperature Degree and/or the excessive environment of humidity difference cause unlocked by fingerprint can not triggered as normal situation, as shown in figure 3, the device includes: Threshold value update module 31 and unlocked by fingerprint module 32.
Threshold value update module 31, for when the unlocked by fingerprint of terminal triggers failure, updating what is prestored according to current environment Activation threshold value;Unlocked by fingerprint module 32, for triggering hardware interrupts using the activation threshold value after updating under the present circumstances, is carried out Unlocked by fingerprint.
The unlocked by fingerprint device of the embodiment of the present invention, failure is triggered in the excessive unlocked by fingerprint for causing terminal of environmental difference When, activation threshold value is updated according to current environment so that activation threshold value is matched with current environment, so as under the present circumstances just The often hardware interrupts of triggering unlocked by fingerprint, and then unlocked by fingerprint can be normally carried out.
It is preferred that, threshold value update module 31 includes:Image acquisition unit, interrupting value computing unit, judging unit and threshold value Updating block.Wherein, image acquisition unit, for obtaining the blank gray-scale map under current environment;Interrupting value computing unit, is used for Calculated according to blank gray-scale map and obtain interrupting value corresponding with current environment;Judging unit, for judging interrupting value and prestoring Whether the difference of activation threshold value exceeds preset range;Threshold value updating block, will in the case of exceeding preset range in difference The activation threshold value prestored is updated to interrupting value.In this preferred embodiment mode, the blank gray-scale map under collection current environment, with more New threshold value, it is ensured that the threshold value after renewal is matched with current environment, so as in triggered as normal hardware under the present circumstances It is disconnected.
In a preferred embodiment, said apparatus can also include:Screen detection module, for the fingerprint in terminal When unlock trigger fails, detect whether the screen of terminal becomes from OFF state and turn to illuminating state;If it is, threshold value update module 31 update the activation threshold value prestored according to current environment.The renewal that instruction terminal carries out activation threshold value, method are lighted using screen Simply, it is easy to accomplish.
It is preferred that, screen detection module specifically for:Detect the screen attribute value of terminal;If screen attribute is worth from correspondence In OFF state value changes be corresponding to illuminating state value, it is determined that the screen of the terminal from OFF state become turns to a little Bright state;If screen attribute value corresponds always to OFF state, it is determined that the screen state of terminal does not change.Pass through screen Curtain property value judges the change of screen state, and method is simple and reliable.
In another preferred embodiment, said apparatus can also include:Information reporting module and signal receiving module. Wherein, information reporting module, for when the unlocked by fingerprint of terminal triggers failure, unlocked by fingerprint triggering failure to be reported to processor Message;Signal receiving module, the control signal issued for reception processing device, wherein, control signal is used to indicate according to current The activation threshold value that environmental renewal prestores.The control signal instruction terminal issued using processor carries out threshold value renewal, and method is simple, It is easily achieved.
On the basis of above-mentioned technical proposal, it is preferred that unlocked by fingerprint module 32 can include:Operate detection unit, refer to Line acquiring unit and unlocked by fingerprint unit.Wherein, detection unit is operated, for detecting that pressing of the user in unlocked by fingerprint region is grasped Make;Fingerprint acquiring unit, for triggering hardware interrupts according to the activation threshold value after pressing operation and renewal, and obtains current finger print Image;Unlocked by fingerprint unit, for carrying out unlocked by fingerprint according to current finger print image and the finger print data prestored.
Above-mentioned unlocked by fingerprint device can perform the unlocked by fingerprint method that any embodiment of the present invention is provided, and possessing execution should The corresponding functional module of method and beneficial effect.
Example IV
Fig. 4 is the preferred flow charts for the unlocked by fingerprint method that the embodiment of the present invention four is provided, and the present embodiment is with above-mentioned each reality Apply based on example that there is provided a kind of preferred embodiment.
As shown in figure 4, comprising the following steps:
Step S410, user is in 20 degrees Celsius of typing fingerprints of normal temperature, storage activation threshold value A.
Step S420, user's pressing fingerprint sensor.
Step S430, if successfully trigger hardware interruptsIf it is, performing step S450;If not, being probably that user enters In the environment for entering more than 20 degree of the temperature difference, such as less than 0 degree or more than 50 degree, environmental change causes fingerprint not use, and performs Step S440.
Step S440, screen is lighted by power key, and terminal grabs the property value that screen lights when being 1, controls fingerprint Blank gray-scale map under sensor collection current environment, and interrupting value (such as average gray value) is calculated, B is designated as, the A with storage Contrasted, if the two difference exceedes [- 10,10], then updated B into the register of fingerprint sensor, before replacing it A, is used as the hardware interrupts activation threshold value of current environment.It is then back to the pressing operation that step S420 detects user.
Step S450, CPU control fingerprint sensor collection fingerprint image.
Step S460, carries out image procossing to the fingerprint image of collection, is matched with the fingerprint of typing before, if It with then unlocking, otherwise can not unlock, can be failed by sound or the unblock of vibration prompting user fingerprints.
So that activation threshold value is average gray value as an example, by experiment, the corresponding activation threshold value of 20 degrees centigrades is about For 50, less than 0 degree Celsius of the corresponding activation threshold value of low temperature is about that more than 30,50 degree of the corresponding activation threshold value of high temperature is about 70。
It should be noted that only when unlocked by fingerprint triggers failure, just meeting activation threshold value updates various embodiments of the present invention, just It will not be updated under normal service condition.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. a kind of unlocked by fingerprint method, it is characterised in that including:
When the unlocked by fingerprint of terminal triggers failure, the activation threshold value prestored is updated according to current environment;
Using the activation threshold value triggering hardware interrupts after updating under the current environment, unlocked by fingerprint is carried out.
2. according to the method described in claim 1, it is characterised in that update the activation threshold value prestored according to current environment, including:
Obtain the blank gray-scale map under the current environment;
Calculated according to the blank gray-scale map and obtain interrupting value corresponding with the current environment;
Judge whether the difference of the interrupting value and the activation threshold value prestored exceeds preset range;
If the difference exceeds the preset range, the activation threshold value prestored is updated to the interrupting value.
3. according to the method described in claim 1, it is characterised in that updated according to current environment the activation threshold value that prestores it Before, methods described also includes:
When the unlocked by fingerprint of terminal triggers failure, detect whether the screen of the terminal becomes to turn to from OFF state and light shape State;
If it is, the activation threshold value prestored according to updating the current environment.
4. method according to claim 3, it is characterised in that whether the screen of the detection terminal changes from OFF state For illuminating state, including:
Detect the screen attribute value of the terminal;
If it is the value corresponding to illuminating state that the screen attribute, which is worth from the value changes corresponding to OFF state, it is determined that described The screen of terminal becomes from OFF state turns to illuminating state;
If the screen attribute value is always the value corresponding to OFF state, it is determined that the screen state of the terminal does not occur Change.
5. according to the method described in claim 1, it is characterised in that updated according to current environment the activation threshold value that prestores it Before, methods described also includes:
When the unlocked by fingerprint of terminal triggers failure, unlocked by fingerprint is reported to trigger failed message to processor;
The control signal that the processor is issued is received, wherein, the control signal is used to indicate according to the current environment more The new activation threshold value prestored.
6. method according to any one of claim 1 to 5, it is characterised in that renewal is utilized under the current environment Activation threshold value triggering hardware interrupts afterwards, carry out unlocked by fingerprint, including:
Detect pressing operation of the user in unlocked by fingerprint region;
Hardware interrupts are triggered according to the activation threshold value after the pressing operation and the renewal, and obtain current finger print image;
Unlocked by fingerprint is carried out according to the current finger print image and the finger print data prestored.
7. a kind of unlocked by fingerprint device, it is characterised in that including:
Threshold value update module, for when the unlocked by fingerprint of terminal triggers failure, the firing level prestored to be updated according to current environment Value;
Unlocked by fingerprint module, for triggering hardware interrupts using the activation threshold value after updating under the current environment, is referred to Line is unlocked.
8. device according to claim 7, it is characterised in that the threshold value update module includes:
Image acquisition unit, for obtaining the blank gray-scale map under the current environment;
Interrupting value computing unit, interrupting value corresponding with the current environment is obtained for being calculated according to the blank gray-scale map;
Judging unit, for judging whether the difference of the interrupting value and the activation threshold value prestored exceeds preset range;
Threshold value updating block, in the case of exceeding the preset range in the difference, by the activation threshold value prestored It is updated to the interrupting value.
9. device according to claim 7, it is characterised in that described device also includes:
Screen detection module, for when the unlocked by fingerprint of terminal triggers failure, detecting the screen of the terminal whether from extinguishing State change is illuminating state;If it is, the triggering that the threshold value update module prestores according to updating the current environment Threshold value.
10. device according to claim 9, it is characterised in that the screen detection module specifically for:
Detect the screen attribute value of the terminal;If the screen attribute value is corresponding from the value changes corresponding to OFF state In the value of illuminating state, it is determined that the screen of the terminal becomes from OFF state turns to illuminating state;If the screen attribute Value is always the value corresponding to OFF state, it is determined that the screen state of the terminal does not change.
11. device according to claim 7, it is characterised in that described device also includes:
Information reporting module, for when the unlocked by fingerprint of terminal triggers failure, unlocked by fingerprint triggering failure to be reported to processor Message;
Signal receiving module, for receiving the control signal that the processor is issued, wherein, the control signal is used to indicate root According to the activation threshold value prestored described in current environment renewal.
12. the device according to any one of claim 7 to 11, it is characterised in that the unlocked by fingerprint module includes:
Detection unit is operated, for detecting pressing operation of the user in unlocked by fingerprint region;
Fingerprint acquiring unit, for triggering hardware interrupts according to the activation threshold value after the pressing operation and the renewal, and is obtained Take current finger print image;
Unlocked by fingerprint unit, for carrying out unlocked by fingerprint according to the current finger print image and the finger print data prestored.
CN201710236841.6A 2017-04-12 2017-04-12 Unlocked by fingerprint method and device Pending CN107015879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710236841.6A CN107015879A (en) 2017-04-12 2017-04-12 Unlocked by fingerprint method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710236841.6A CN107015879A (en) 2017-04-12 2017-04-12 Unlocked by fingerprint method and device

Publications (1)

Publication Number Publication Date
CN107015879A true CN107015879A (en) 2017-08-04

Family

ID=59446044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710236841.6A Pending CN107015879A (en) 2017-04-12 2017-04-12 Unlocked by fingerprint method and device

Country Status (1)

Country Link
CN (1) CN107015879A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537917A (en) * 2018-02-07 2018-09-14 青岛海尔智能家电科技有限公司 Identification success rate improvement method and intelligent door lock, doorway machine and server
CN109145800A (en) * 2018-08-13 2019-01-04 Oppo广东移动通信有限公司 Fingerprint template update method and Related product
CN111402454A (en) * 2018-12-29 2020-07-10 云丁网络技术(北京)有限公司 Method and device for associating intelligent lock with environmental parameters
CN113505824A (en) * 2019-01-23 2021-10-15 北京影谱科技股份有限公司 Judgment updating method and device and face card punching system
US11743336B2 (en) 2018-07-04 2023-08-29 Yunding Network Technology (Beijing) Co., Ltd. Method and system for operating an electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080266737A1 (en) * 2007-04-25 2008-10-30 Conway Patrick R Biometric reader protection system and method
CN105808122A (en) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 Unlocking control method and terminal device
WO2016168982A1 (en) * 2015-04-21 2016-10-27 华为技术有限公司 Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080266737A1 (en) * 2007-04-25 2008-10-30 Conway Patrick R Biometric reader protection system and method
WO2016168982A1 (en) * 2015-04-21 2016-10-27 华为技术有限公司 Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device
CN105808122A (en) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 Unlocking control method and terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537917A (en) * 2018-02-07 2018-09-14 青岛海尔智能家电科技有限公司 Identification success rate improvement method and intelligent door lock, doorway machine and server
US11743336B2 (en) 2018-07-04 2023-08-29 Yunding Network Technology (Beijing) Co., Ltd. Method and system for operating an electronic device
CN109145800A (en) * 2018-08-13 2019-01-04 Oppo广东移动通信有限公司 Fingerprint template update method and Related product
CN109145800B (en) * 2018-08-13 2021-06-01 Oppo广东移动通信有限公司 Fingerprint template updating method and related product
CN111402454A (en) * 2018-12-29 2020-07-10 云丁网络技术(北京)有限公司 Method and device for associating intelligent lock with environmental parameters
CN113505824A (en) * 2019-01-23 2021-10-15 北京影谱科技股份有限公司 Judgment updating method and device and face card punching system
CN113505824B (en) * 2019-01-23 2024-01-09 北京影谱科技股份有限公司 Judgment updating method and device and face card punching system

Similar Documents

Publication Publication Date Title
CN107015879A (en) Unlocked by fingerprint method and device
CN108427876B (en) Fingerprint identification method and mobile terminal
CN107908334B (en) Fingerprint icon display method and device and mobile terminal
KR101242620B1 (en) Method for processing a touch signal by the touch sensor controller and apparatus thereof
WO2017156964A1 (en) Terminal unlocking method and terminal
CN102495768B (en) Instruction processing method and terminal equipment
CN108196714B (en) Electronic equipment
CN104750296B (en) The touch-sensing system and method close to sensing function are provided using touch panel
CN105528099A (en) Electronic device provided with touch screen having fingerprint identification function and control method thereof
CN110287666B (en) Fingerprint unlocking method and related device
CN105303172A (en) Calibration parameter obtaining method and device of fingerprint sensor and mobile terminal
CN105426091B (en) Method and terminal for controlling black screen gesture processing
CN110730298A (en) Display control method and electronic equipment
CN109521920B (en) Application icon control method and terminal equipment
CN110895934A (en) Household appliance control method and device
CN106919824A (en) A kind of control method of unlocked by fingerprint, device and computer equipment
CN107967418B (en) Face recognition method and mobile terminal
WO2017185667A1 (en) Method and apparatus for controlling fingerprint sensor, and electronic device
CN108629280B (en) Face recognition method and mobile terminal
CN109522706B (en) Information prompting method and terminal equipment
US20210232286A1 (en) Control execution method and device, storage medium and electronic apparatus
CN107908307A (en) The false-touch prevention of mobile terminal and its touch-screen controls method, apparatus
CN113835558A (en) Screen parameter adjusting method and device and electronic equipment
CN107704173B (en) Application program display method, terminal and computer readable storage medium
CN106775174B (en) Control method and device for capacitive touch screen terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170804

RJ01 Rejection of invention patent application after publication