CN106650625A - Quick fingerprint comparison method and device used for fingerprint lock - Google Patents

Quick fingerprint comparison method and device used for fingerprint lock Download PDF

Info

Publication number
CN106650625A
CN106650625A CN201611022249.8A CN201611022249A CN106650625A CN 106650625 A CN106650625 A CN 106650625A CN 201611022249 A CN201611022249 A CN 201611022249A CN 106650625 A CN106650625 A CN 106650625A
Authority
CN
China
Prior art keywords
fingerprint
storehouse
fingerprint characteristic
guest
characteristic
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
CN201611022249.8A
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.)
Model Music (beijing) Technology Development Co Ltd
Original Assignee
Model Music (beijing) Technology Development 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 Model Music (beijing) Technology Development Co Ltd filed Critical Model Music (beijing) Technology Development Co Ltd
Priority to CN201611022249.8A priority Critical patent/CN106650625A/en
Publication of CN106650625A publication Critical patent/CN106650625A/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
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a quick fingerprint comparison method and device used for a fingerprint lock. The invention can realize quick unlocking of a host, optimize average unlocking rate of guests, avoids erasion of host storage zone in frequency use and prolong use time of a storage as much as possible. The method is characterized in that fingerprint features of the host and the guests are stored separately and host library comparison is performed in sequence at first. If host library comparison is performed and matching success is indicated, a matching result is returned immediately and guest library comparison is saved. If host library comparison is performed and matching failure is indicated, guest library comparison is performed in sequence. During the whole process, host fingerprint feature storage sequence is not in dynamic adjustment. In guest library comparison, if matching success is indicated, the guest fingerprint feature rolls forward to the top of the guest library. Namely, storage according to a dynamic sequence of the last time use is made.

Description

For the quick fingerprint comparison method and device of Fingerprint Lock
Technical field
The present invention relates to Fingerprint Lock technical field, and in particular to a kind of quick fingerprint comparison method and dress for Fingerprint Lock Put.
Background technology
Generally in the practical application of Fingerprint Lock, when memorizer is stored, can carry out to each fingerprint characteristic in order Numbering, and whether the labelling fingerprint is owner, conventional storage mode can be found in table 1 below.
Table 1 represents traditional Fingerprint Lock memory storage mode
Fingerprint ID represents the sequence number of fingerprint in table, leads to commonly used digital expression, such as:No. 001 to No. 100.Due to fingerprint it is usual It is to be obtained with the mode of pressing, deformation of the difference in pressing position and direction, the situation of finger and skin etc. all can cause Fingerprint image is undesirable.Therefore, the fingerprint grayscale image for collecting should not be used directly to matching, need to use image processing method The array (fingerprint characteristic i.e. in table, also referred to as fingerprint template) being made up of series of features value is converted it into, then is used In fingerprint matching.
In order to improve the stand-by time of Fingerprint Lock, fingerprint comparison computing chip power consumption is relatively low, and calculating performance is weaker, works as user During using Fingerprint Lock, Fingerprint Lock one by one will be compared the fingerprint for collecting with the fingerprint in storehouse.If fingerprint to be checked Storehouse is large number of, and the time that complete query is one time is longer, and comparing one piece of fingerprint needs 20-50 milliseconds.Occurring in that now various has The technology of Fingerprint Lock, such as a kind of existing intelligent access control system and its control method are closed, using fingerprint and finger venous information ratio To method access control, every time, after checking, memorizer will be substituted the method with current freshly harvested biological information The biological information of initial typing.If authentication failed, by biological information storage to ephemeral data area, same bio information Multiple authentication fails, and will be stored by alarm module and be reported to the police.The method and terminal of another unlocked by fingerprint, in fingerprint ratio Pair when, matched with the finger print information for collecting by the clooating sequence of the fingerprint template for prestoring, wherein, in the fingerprint template One matching fraction of each fingerprint template correspondence, and clooating sequence is to match fraction order from high to low;Matching target During matching value, terminal is unlocked, wherein, object matching value is first matching between finger print information in fingerprint template Fingerprint template corresponding matching value of the value more than the first predetermined threshold value.Can be by the higher fingerprint template row of matching fraction by terminal Above matched with finger print information, thus improved matching efficiency.The method and terminal of also a kind of unlocked by fingerprint, in fingerprint When lock is compared, the display page for unlocking application is waited described in parallel refreshing;The finger print information and the preset fingerprint information into When work(is matched, show the display page after unblock application is refreshed.Because fingerprint matching shows the page with refreshing Process synchronously carry out, thus, can shorten for wait unlock application unblock time, improve unblock efficiency.
Above technology is compared using traversal whole fingerprint characteristic storehouse mode, and owner is special with guest (including nurse etc.) fingerprint Mixing storage is levied, comparison efficiency is low.In addition to the method and terminal of unlocked by fingerprint, the storage order of fingerprint is not adjusted, Commonly used user may come occasionally use and compare behind user, cause comparison time to waste.
Above-mentioned intelligent access control system and its control method replace fingerprint base information after success is compared every time with new fingerprint, Although may improve that effect is compared next time, the erasable service life for reducing storage device repeatedly, and and be not optimised Compare speed;Simultaneously as sensor surface pollution, the pressing reason such as posture is nonstandard, freshly harvested fingerprint clear degree may Without the fingerprint image high definition gathered during initial registration, after being likely to result in new collection image replacement fingerprint base image every time It is continuous to compare.
The all fingerprints of method and terminal-pair of above-mentioned unlocked by fingerprint adjust the storage location in memorizer every time, although excellent Comparison time, but the erasable service life for reducing storage device of high frequency are changed.
The method and terminal of above-mentioned unlocked by fingerprint simply shows fingerprint comparison meeting, fingerprint comparison is calculated has been carried out parallel Process to optimize uncaging time, fingerprint comparison calculating process is not optimized in itself, it is identical with conventional fingerprint comparison method, Comparison time is longer.
The content of the invention
In view of this, the present invention provides a kind of quick fingerprint comparison method and device for Fingerprint Lock, in balancing equipment In service life and the average uncaging time of reduction user, an equilibrium point, maximum lifting Consumer's Experience are found.
On the one hand, the embodiment of the present invention proposes a kind of quick fingerprint comparison method for Fingerprint Lock, including:
S1, the fingerprint characteristic for obtaining fingerprint to be compared, if judging to know the finger that at least one owner is stored in owner storehouse The fingerprint characteristic of stricture of vagina, the then fingerprint characteristic that first piece of fingerprint is taken out from the owner storehouse is special as the current fingerprint for participating in comparing Levy;
S2, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if comparing On, then output compare successful information, if or do not compare, and judge know to exist in the owner storehouse also have neither part nor lot in comparison Fingerprint characteristic, then execution step S3, if or do not compare, and judge to know not existing in the owner storehouse and also have neither part nor lot in comparison Fingerprint characteristic, then execution step S4;
S3, the fingerprint characteristic of next piece of fingerprint is taken out from the owner storehouse as the current fingerprint characteristic for participating in and comparing, And execution step S2;
If S4, judgement know the fingerprint characteristic of the fingerprint that at least one guest is stored in guest storehouse, from the guest The fingerprint characteristic that the fingerprint characteristic of first piece of fingerprint is compared as current participation, and execution step S5 are taken out in storehouse;
S5, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if comparing On, then it is the current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, and export comparison successful information.
Preferably, methods described also includes:
It is S6, special in the fingerprint that will currently participate in comparing every time in the fingerprint characteristic of the fingerprint to be compared and the guest storehouse Levy when comparing, if the fingerprint characteristic of the fingerprint to be compared is not compared with the fingerprint characteristic for currently participating in comparing, from The fingerprint characteristic that the fingerprint characteristic of next piece of fingerprint is compared as current participation, and execution step S5 are taken out in the guest storehouse.
Preferably, methods described also includes:
If the fingerprint characteristic of all fingerprints in S7, the fingerprint characteristic of the fingerprint to be compared and the guest storehouse does not compare To upper, then export and compare failure information.
Preferably, before the S1, methods described also includes:
The fingerprint characteristic of fingerprint to be written is obtained, and exports selection option, wherein, the selection option is for selection The fingerprint characteristic of the fingerprint to be written is write in the owner storehouse or in the guest storehouse;
After user's triggering selection option, according to the selection instruction of user, if selection instruction instruction will be described The fingerprint characteristic of fingerprint to be written is write in the owner storehouse, then judge to know the memory space in the owner storehouse less than When, the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and write successful information is exported, if or described Selection instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, then judging to know the guest The memory space in storehouse less than when, the fingerprint characteristic of the fingerprint to be written is write in the guest storehouse, and output is written to Work(information.
Preferably, methods described also includes:
When judging that the memory space for knowing the owner storehouse is expired, error message has been expired in output owner storehouse, or is being sentenced When the disconnected memory space for knowing the guest storehouse is expired, error message has been expired in output guest storehouse.
Preferably, if judging the fingerprint characteristic for knowing the fingerprint that at least one owner is not stored in owner storehouse, perform Step S4.
Preferably, if judging to know the fingerprint characteristic of the fingerprint that at least one owner is not stored in owner storehouse, and if sentencing The disconnected fingerprint characteristic for knowing the fingerprint that at least one guest is not stored in guest storehouse, then export owner storehouse and guest storehouse do not store Fingerprint characteristic error message.
On the other hand, the embodiment of the present invention proposes a kind of quick fingerprint comparison device for Fingerprint Lock, including:
Acquiring unit, the first comparing unit, selection unit and the second comparing unit;Wherein,
The acquiring unit, for obtaining the fingerprint characteristic of fingerprint to be compared, if judge know store in owner storehouse to The fingerprint characteristic of the fingerprint of a few owner, then take out the fingerprint characteristic of first piece of fingerprint as current ginseng from the owner storehouse With the fingerprint characteristic for comparing;
First comparing unit, for the fingerprint characteristic of the fingerprint to be compared is special with the fingerprint for currently participating in comparing Levy and compare, if compare on, output compare successful information, if or do not compare, take out next from the owner storehouse The fingerprint characteristic of piece fingerprint as the current fingerprint characteristic for participating in and comparing, by the fingerprint characteristic of the fingerprint to be compared and current ginseng Compare with the fingerprint characteristic for comparing, until one piece of fingerprint in the fingerprint characteristic of the fingerprint to be compared and the owner storehouse On fingerprint characteristic is compared, output compares successful information, or until has compared the fingerprint characteristic of all fingerprints in the owner storehouse On not comparing yet, then the selection cell operation is notified;
The selection unit, if special for judging the fingerprint for knowing the fingerprint that at least one guest is stored in guest storehouse Levy, then the fingerprint characteristic of first piece of fingerprint is taken out from the guest storehouse as the current fingerprint characteristic for participating in and comparing, and notify The second comparing unit work;
Second comparing unit, for the fingerprint characteristic of the fingerprint to be compared is special with the fingerprint for currently participating in comparing Levy and compare, if on comparing, the current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, and Output compares successful information.
Preferably, second comparing unit, if being additionally operable to not compare, takes out next piece of finger from the guest storehouse The fingerprint characteristic of the fingerprint to be compared is participated in ratio by the fingerprint characteristic of stricture of vagina as the current fingerprint characteristic for participating in and comparing with current To fingerprint characteristic compare, until the fingerprint of the fingerprint characteristic of the fingerprint to be compared and one piece of fingerprint in the guest storehouse Aspect ratio is to upper, output comparison successful information, or until has compared the fingerprint characteristic of all fingerprints in the guest storehouse not yet In comparison, then output compares failure information.
Preferably, described device also includes:
Output unit, for before the acquiring unit works, obtaining the fingerprint characteristic of fingerprint to be written, and exports Option is selected, wherein, it is described to select option for selecting to be that the fingerprint characteristic of the fingerprint to be written is write into the owner In in the storehouse or guest storehouse;
Writing unit, for after user's triggering selection option, according to the selection instruction of user, if the selection refers to Order indicates the fingerprint characteristic of the fingerprint to be written to be write in the owner storehouse, then judging to know depositing for the owner storehouse Storage space less than when, the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and export write successful information, If or the selection instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, judging to obtain Know the memory space in the guest storehouse less than when, the fingerprint characteristic of the fingerprint to be written is write in the guest storehouse, and Output write successful information.
Quick fingerprint comparison method and device for Fingerprint Lock provided in an embodiment of the present invention, the finger in Fingerprint Lock Stricture of vagina, is separately stored by owner with guest.Preferentially compare with the owner's fingerprint for prestoring during comparison, if owner compares successfully, stand Returning result is carved, fingerprint order is constant in memorizer;If owner compares unsuccessful, then start sequentially to compare the guest for prestoring and refer to Stricture of vagina, if with guest's fingerprint comparison success, owner Qu Zhiwen orders are constant, the rolling of pre-stored fingerprint sequence number in comparing in guest's memorizer It is dynamic preposition, improve the guest and compare speed next time.Owner's quickly unlocking can be realized with the method, optimization guest averagely unlocks Speed, and avoid, to erasable using frequent owner's memory area, the use time of memorizer being extended as far as possible.
Description of the drawings
Fig. 1 is part schematic flow sheet of the present invention for the quick embodiment of fingerprint comparison method one of Fingerprint Lock;
Fig. 2 is overall flow schematic diagram of the present invention for another embodiment of quick fingerprint comparison method of Fingerprint Lock;
Fig. 3 is part schematic flow sheet of the present invention for the another embodiment of quick fingerprint comparison method of Fingerprint Lock;
Fig. 4 is structural representation of the present invention for the quick embodiment of fingerprint comparison device one of Fingerprint Lock.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention A part of embodiment, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, the scope of protection of the invention is belonged to.
Referring to Fig. 1, the present embodiment discloses a kind of quick fingerprint comparison method for Fingerprint Lock, including:
S1, the fingerprint characteristic for obtaining fingerprint to be compared, if judging to know the finger that at least one owner is stored in owner storehouse The fingerprint characteristic of stricture of vagina, the then fingerprint characteristic that first piece of fingerprint is taken out from the owner storehouse is special as the current fingerprint for participating in comparing Levy;
S2, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if comparing On, then output compare successful information, if or do not compare, and judge know to exist in the owner storehouse also have neither part nor lot in comparison Fingerprint characteristic, then execution step S3, if or do not compare, and judge to know not existing in the owner storehouse and also have neither part nor lot in comparison Fingerprint characteristic, then execution step S4;
S3, the fingerprint characteristic of next piece of fingerprint is taken out from the owner storehouse as the current fingerprint characteristic for participating in and comparing, And execution step S2;
If S4, judgement know the fingerprint characteristic of the fingerprint that at least one guest is stored in guest storehouse, from the guest The fingerprint characteristic that the fingerprint characteristic of first piece of fingerprint is compared as current participation, and execution step S5 are taken out in storehouse;
S5, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if comparing On, then it is the current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, and export comparison successful information.
Overall comparison flow process of the invention is as shown in Fig. 2 whole comparison process is as follows:
1st, during fingerprint comparison, if owner storehouse is not sky, takes first piece of owner storehouse fingerprint and compared with the fingerprint for collecting It is right, or, if owner storehouse is sky, being considered as owner storehouse may not compare flow process to upper into guest storehouse.
If the 2, comparing successfully, return and compare successful result, owner storehouse order is constant with guest storehouse fingerprint ID ordinal positions.
If the 3, not than in, judging whether the fingerprint is last piece of owner storehouse fingerprint.If last piece of fingerprint, then enter Enter guest storehouse alignment programs, if it is not, then read owner's second piece of storehouse fingerprint compare with the fingerprint for collecting, with such Push away, until comparing all fingerprints for completing owner storehouse.
If the 4, compare with owner storehouse completing, do not compare yet successfully, then carry out the comparison of guest storehouse.If guest storehouse is not sky, Take first piece of fingerprint of guest's fingerprint base to compare with the fingerprint for collecting, or, if guest storehouse is sky, output is compared loses Lose information.
If the 5, comparing successfully, the fingerprint rolling of this piece of guest storehouse is preposition the first to guest storehouse, while return to compare successfully tying Really.
If the 6, comparison is unsuccessful, judge whether the fingerprint is last piece of owner storehouse fingerprint.If last piece of fingerprint, Return and compare failure result, owner storehouse is constant with guest storehouse fingerprint ID orders.If it is not, then read guest's second piece of storehouse fingerprint with The fingerprint for collecting is compared.By that analogy, until having compared all fingerprints in guest storehouse.
It should be noted that getting after the fingerprint characteristic of fingerprint to be compared, if owner storehouse is sky, store in guest storehouse There is the fingerprint characteristic of the fingerprint of at least one guest, then can compare according to the related comparison flow process in above-mentioned guest storehouse.And If finding in guest storehouse to be empty in comparison process, comparison failure information can be exported.
Owner, guest's fingerprint characteristic are stored separately during storage, first inquire about whether the fingerprint is owner.If owner compares into Work(, immediately returns to, than middle result, no longer compare guest's fingerprint, if owner storehouse is not than in, then compares in guest storehouse order.Entirely The not dynamic adjustment of process owner's fingerprint characteristic storage order.And when guest storehouse compares, if compared successfully, guest's fingerprint is special Levy rolling preposition the first to guest storehouse, i.e., store by last time use time dynamic order.
Further it will be understood that before the embodiment of the present invention is implemented, needing typing owner fingerprint characteristic and guest to refer to Stricture of vagina feature, to build owner storehouse and guest storehouse, referring to Fig. 3, detailed process is as follows:
The fingerprint characteristic of fingerprint to be written is obtained, and exports selection option, wherein, the selection option is for selection The fingerprint characteristic of the fingerprint to be written is write in the owner storehouse or in the guest storehouse;
After user's triggering selection option, according to the selection instruction of user, if selection instruction instruction will be described The fingerprint characteristic of fingerprint to be written is write in the owner storehouse, then judge to know the memory space in the owner storehouse less than When, the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and write successful information is exported, or judging When knowing the memory space in the owner storehouse completely, error message has been expired in output owner storehouse, or
If the selection instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, sentencing The disconnected memory space for knowing the guest storehouse less than when, the fingerprint characteristic of the fingerprint to be written is write into the guest storehouse In, and write successful information is exported, or when judging that the memory space for knowing the guest storehouse is expired, output guest storehouse is full Error message.
It should be noted that during owner storehouse and guest storehouse is built, can be automatically according to write sequence to respectively The fingerprint characteristic in write owner storehouse and guest storehouse is numbered, i.e., every finger print information in owner storehouse and guest storehouse includes numbering And fingerprint characteristic.The fingerprint base memory storage mode for being the present invention as shown in table 2 below, owner memory block and guest in table 2 Memory block stores respectively owner storehouse and guest storehouse, and there is respectively a plurality of finger comprising numbering and fingerprint characteristic in owner storehouse and guest storehouse Stricture of vagina information.
Table 2 represents the fingerprint base memory storage mode of the present invention
Referring to Fig. 4, the present embodiment discloses a kind of quick fingerprint comparison device for Fingerprint Lock, including:
Acquiring unit 1, the first comparing unit 2, the selection comparing unit 4 of unit 3 and second;Wherein,
The acquiring unit 1, for obtaining the fingerprint characteristic of fingerprint to be compared, if judge know store in owner storehouse to The fingerprint characteristic of the fingerprint of a few owner, then take out the fingerprint characteristic of first piece of fingerprint as current ginseng from the owner storehouse With the fingerprint characteristic for comparing;
First comparing unit 2, for by the fingerprint characteristic of the fingerprint to be compared and the fingerprint for currently participating in comparing Feature is compared, if compare on, output compare successful information, if or do not compare, from the owner storehouse take out under The fingerprint characteristic of one piece of fingerprint as the current fingerprint characteristic for participating in and comparing, by the fingerprint characteristic of the fingerprint to be compared with it is current The fingerprint characteristic for participating in comparing is compared, until the fingerprint characteristic of the fingerprint to be compared and one piece of fingerprint in the owner storehouse Fingerprint characteristic compare on, output compare successful information, or until has compared all fingerprints in the owner storehouse fingerprint spy Levy and do not compare yet, then notify that the selection unit 3 works;
The selection unit 3, if special for judging the fingerprint for knowing the fingerprint that at least one guest is stored in guest storehouse Levy, then the fingerprint characteristic of first piece of fingerprint is taken out from the guest storehouse as the current fingerprint characteristic for participating in and comparing, and notify The second comparing unit work 4;
Second comparing unit 4, for by the fingerprint characteristic of the fingerprint to be compared and the fingerprint for currently participating in comparing Feature is compared, if on comparing, the current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, And export comparison successful information.
On the basis of aforementioned means embodiment, second comparing unit 4, if being additionally operable to not compare, from described The fingerprint characteristic of next piece of fingerprint is taken out in guest storehouse as the current fingerprint characteristic for participating in and comparing, by the fingerprint to be compared Fingerprint characteristic is compared with the fingerprint characteristic for currently participating in comparing, until the fingerprint characteristic of the fingerprint to be compared and the visitor On the fingerprint characteristic of one piece of fingerprint is compared in people storehouse, output compares successful information, or until has compared institute in the guest storehouse The fingerprint characteristic for having fingerprint is not compared yet, then output compares failure information.
On the basis of aforementioned means embodiment, described device can also include the structure not shown in following figure:
Output unit 5 is for before the acquiring unit 1 works, obtaining the fingerprint characteristic of fingerprint to be written and defeated Go out to select option, wherein, it is described to select option for selecting to be that the fingerprint characteristic of the fingerprint to be written is write into the master In in the people storehouse or guest storehouse;
Writing unit 6, for after user's triggering selection option, according to the selection instruction of user, if the selection Instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the owner storehouse, then judging to know the owner storehouse Memory space less than when, the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and export to write and successfully believe Breath, if or the selection instruction indicate the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, sentencing The disconnected memory space for knowing the guest storehouse less than when, the fingerprint characteristic of the fingerprint to be written is write into the guest storehouse In, and export write successful information.
It should be noted that the quick fingerprint comparison device that the embodiment of the present invention is used for Fingerprint Lock is used for for the correspondence present invention The device embodiment of the quick fingerprint comparison embodiment of the method for Fingerprint Lock, the i.e. embodiment of the present invention are used for the quick fingerprint of Fingerprint Lock The logic of the handling process for processing the logical AND quick fingerprint comparison embodiment of the method for Fingerprint Lock of the invention of comparison device Identical, the present invention that the embodiment of the present invention is used in the quick fingerprint comparison device of Fingerprint Lock exist but not embody is used for Fingerprint Lock The logic of handling process of quick fingerprint comparison embodiment of the method will not be described here.
In summary, the present invention has the advantages that:
(1) will preferentially be compared using the prior owner's fingerprint of more frequent, Consumer's Experience, guest's fingerprint is placed on lower excellent First level is compared, and quickly compares host user, it is not necessary to all retrievals, significantly shorten the average uncaging time of owner;
(2) guest's fingerprint characteristic presses last time uncaging time sequential storage when due to storing, in the recent period using the ratio of guest The middle time is shorter, and the time is then longer in the ratio of rarely needed guest, thus the average uncaging time of guest is greatly improved;
(3) owner storehouse is accessed compared with frequently but storage capacity is little, the not dynamic adjustment owner library storage order of the present invention, will not dual lock Time affects greatly, while reducing the erasable frequency of owner's base area, improves storage life;
Compared to the prior art, the present invention finds in balancing equipment service life with the average uncaging time of reduction user One equilibrium point, maximum raising Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program Product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the application can be adopted and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) is produced The form of product.
The application is the flow process with reference to method, equipment (system) and computer program according to the embodiment of the present application Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.Term " on ", D score etc. refers to The orientation or position relationship for showing is, based on orientation shown in the drawings or position relationship, to be for only for ease of the description present invention and simplify Description, rather than indicate or imply that the device or element of indication must be with specific orientation, with specific azimuth configuration and behaviour Make, therefore be not considered as limiting the invention.Unless otherwise clearly defined and limited, term " installation ", " connected ", " connection " should be interpreted broadly, for example, it may be being fixedly connected, or being detachably connected, or be integrally connected;Can be It is mechanically connected, or electrically connects;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, can be two The connection of element internal.For the ordinary skill in the art, can as the case may be understand above-mentioned term at this Concrete meaning in invention.
In the description of the present invention, a large amount of details are illustrated.Although it is understood that, embodiments of the invention can To put into practice in the case of without these details.In some instances, known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this description.Similarly, it will be appreciated that disclose and help understand each to simplify the present invention One or more in individual inventive aspect, above in the description of the exemplary embodiment of the present invention, each of the present invention is special Levy and be grouped together into sometimes in single embodiment, figure or descriptions thereof.However, should not be by the method solution of the disclosure Release in the following intention of reflection:The feature that i.e. the present invention for required protection requirement ratio is expressly recited in each claim is more Many features.More precisely, as the following claims reflect, inventive aspect is less than single reality disclosed above Apply all features of example.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, Wherein each claim itself is used as separate embodiments of the invention.It should be noted that in the case where not conflicting, this The feature in embodiment and embodiment in application can be mutually combined.Any single aspect is the invention is not limited in, Any single embodiment is not limited to, combination in any and/or the displacement of these aspects and/or embodiment is also not limited to.And And, can be used alone the present invention each aspect and/or embodiment or with it is one or more other aspect and/or its enforcement Example is used in combination.
Finally it should be noted that:Various embodiments above only to illustrate technical scheme, rather than a limitation;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, either which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, do not make the essence disengaging various embodiments of the present invention technology of appropriate technical solution The scope of scheme, it all should cover in the middle of the claim of the present invention and the scope of description.

Claims (10)

1. a kind of quick fingerprint comparison method for Fingerprint Lock, it is characterised in that include:
S1, the fingerprint characteristic for obtaining fingerprint to be compared, if judging to know the fingerprint that at least one owner is stored in owner storehouse Fingerprint characteristic, then take out the fingerprint characteristic of first piece of fingerprint as the current fingerprint characteristic for participating in and comparing from the owner storehouse;
S2, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if on comparing, Output compare successful information, if or do not compare, and judge know in the owner storehouse there is the fingerprint for also having neither part nor lot in comparison Feature, then execution step S3, if or do not compare, and judge to know in the owner storehouse there is no the finger for also having neither part nor lot in comparison Stricture of vagina feature, then execution step S4;
S3, the fingerprint characteristic of next piece of fingerprint is taken out from the owner storehouse as the current fingerprint characteristic for participating in and comparing, and hold Row step S2;
If S4, judgement know the fingerprint characteristic of the fingerprint that at least one guest is stored in guest storehouse, from the guest storehouse Take out the fingerprint characteristic that the fingerprint characteristic of first piece of fingerprint is compared as current participation, and execution step S5;
S5, the fingerprint characteristic of the fingerprint to be compared is compared with the fingerprint characteristic for currently participating in comparing, if on comparing, The current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, and export comparison successful information.
2. method according to claim 1, it is characterised in that also include:
S6, the fingerprint characteristic for currently participating in comparing in the fingerprint characteristic of the fingerprint to be compared and the guest storehouse entered every time When row is compared, if the fingerprint characteristic of the fingerprint to be compared is not compared with the fingerprint characteristic for currently participating in comparing, from described The fingerprint characteristic that the fingerprint characteristic of next piece of fingerprint is compared as current participation, and execution step S5 are taken out in guest storehouse.
3. method according to claim 2, it is characterised in that also include:
If the fingerprint characteristic of all fingerprints in S7, the fingerprint characteristic of the fingerprint to be compared and the guest storehouse is not compared On, then output compares failure information.
4. method according to claim 1, it is characterised in that before the S1, also include:
The fingerprint characteristic of fingerprint to be written is obtained, and exports selection option, wherein, the selection option is by institute for selection The fingerprint characteristic for stating fingerprint to be written is write in the owner storehouse or in the guest storehouse;
After user's triggering selection option, according to the selection instruction of user, if selection instruction instruction will be described to be written The fingerprint characteristic of the fingerprint for entering is write in the owner storehouse, then judge to know the memory space in the owner storehouse less than when, will The fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and exports write successful information, if or the selection Instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, then judging to know the guest storehouse Memory space less than when, the fingerprint characteristic of the fingerprint to be written is write in the guest storehouse, and export to write and successfully believe Breath.
5. method according to claim 4, it is characterised in that also include:
When judging that the memory space for knowing the owner storehouse is expired, error message has been expired in output owner storehouse, or is judging to obtain When knowing the memory space in the guest storehouse completely, error message has been expired in output guest storehouse.
6. method according to claim 1, it is characterised in that do not store in owner storehouse at least one master if judging to know The fingerprint characteristic of the fingerprint of people, then execution step S4.
7. method according to claim 1, it is characterised in that not store at least one in guest storehouse objective if judging to know The fingerprint characteristic of the fingerprint of people, then output compares failure information.
8. a kind of quick fingerprint comparison device for Fingerprint Lock, it is characterised in that include:
Acquiring unit, the first comparing unit, selection unit and the second comparing unit;Wherein,
The acquiring unit, for obtaining the fingerprint characteristic of fingerprint to be compared, store in owner storehouse at least one if judging to know The fingerprint characteristic of the fingerprint of individual owner, the then fingerprint characteristic that first piece of fingerprint is taken out from the owner storehouse participates in ratio as current To fingerprint characteristic;
First comparing unit, for the fingerprint characteristic of the fingerprint to be compared to be entered with the fingerprint characteristic for currently participating in comparing Row compare, if compare on, output compare successful information, if or do not compare, next piece of finger is taken out from the owner storehouse The fingerprint characteristic of the fingerprint to be compared is participated in ratio by the fingerprint characteristic of stricture of vagina as the current fingerprint characteristic for participating in and comparing with current To fingerprint characteristic compare, until the fingerprint of the fingerprint characteristic of the fingerprint to be compared and one piece of fingerprint in the owner storehouse Aspect ratio is to upper, output comparison successful information, or until has compared the fingerprint characteristic of all fingerprints in the owner storehouse not yet In comparison, then the selection cell operation is notified;
The selection unit, if the fingerprint characteristic for judging to know the fingerprint that at least one guest is stored in guest storehouse, The fingerprint characteristic of first piece of fingerprint is taken out from the guest storehouse as the current fingerprint characteristic for participating in and comparing, and notifies described the Two comparing units work;
Second comparing unit, for the fingerprint characteristic of the fingerprint to be compared to be entered with the fingerprint characteristic for currently participating in comparing Row comparison, if on comparing, the current fingerprint characteristic rolling for participating in comparing in the guest storehouse is preposition to first, and export Compare successful information.
9. device according to claim 8, it is characterised in that second comparing unit, if being additionally operable to not compare, The fingerprint characteristic of next piece of fingerprint is taken out from the guest storehouse as the current fingerprint characteristic for participating in and comparing, will be described to be compared The fingerprint characteristic of fingerprint is compared with the fingerprint characteristic for currently participating in comparing, until the fingerprint characteristic of the fingerprint to be compared with On the fingerprint characteristic of one piece of fingerprint is compared in the guest storehouse, output compares successful information, or until has compared the guest The fingerprint characteristic of all fingerprints is not compared yet in storehouse, then output compares failure information.
10. device according to claim 8, it is characterised in that also include:
Output unit, for before the acquiring unit works, obtaining the fingerprint characteristic of fingerprint to be written, and exports selection Option, wherein, it is described to select option for selecting to be the fingerprint characteristic of the fingerprint to be written to be write in the owner storehouse Or in the guest storehouse;
Writing unit, for after user's triggering selection option, according to the selection instruction of user, if the selection instruction refers to Show and the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, then judging that the storage for knowing the owner storehouse is empty Between less than when, the fingerprint characteristic of the fingerprint to be written is write in the owner storehouse, and export write successful information, or If the selection instruction indicates the fingerprint characteristic of the fingerprint to be written to be write in the guest storehouse, judging to know institute State the memory space in guest storehouse less than when, the fingerprint characteristic of the fingerprint to be written is write in the guest storehouse, and exported Write successful information.
CN201611022249.8A 2016-11-16 2016-11-16 Quick fingerprint comparison method and device used for fingerprint lock Pending CN106650625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611022249.8A CN106650625A (en) 2016-11-16 2016-11-16 Quick fingerprint comparison method and device used for fingerprint lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611022249.8A CN106650625A (en) 2016-11-16 2016-11-16 Quick fingerprint comparison method and device used for fingerprint lock

Publications (1)

Publication Number Publication Date
CN106650625A true CN106650625A (en) 2017-05-10

Family

ID=58808402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611022249.8A Pending CN106650625A (en) 2016-11-16 2016-11-16 Quick fingerprint comparison method and device used for fingerprint lock

Country Status (1)

Country Link
CN (1) CN106650625A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658562A (en) * 2018-12-10 2019-04-19 东浓智能科技(上海)有限公司 A kind of entrance guard controlling method and system responded rapidly to
CN112581671A (en) * 2019-09-29 2021-03-30 杭州海康威视数字技术股份有限公司 Access control method and device and access control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902867A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Information protection method and electronic device
CN105631278A (en) * 2015-06-24 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Identity verification method and device
CN106096361A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902867A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Information protection method and electronic device
CN105631278A (en) * 2015-06-24 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Identity verification method and device
CN106096361A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658562A (en) * 2018-12-10 2019-04-19 东浓智能科技(上海)有限公司 A kind of entrance guard controlling method and system responded rapidly to
CN112581671A (en) * 2019-09-29 2021-03-30 杭州海康威视数字技术股份有限公司 Access control method and device and access control system

Similar Documents

Publication Publication Date Title
JP6419365B1 (en) Book rental return system
WO2018090984A1 (en) Fingerprint recognition method and electronic apparatus
JP2520570B2 (en) Method for offloading committed data extraction from a database system to a controller
CN102375669B (en) Electronic installation and unlock method thereof
CN106326327A (en) Methods and apparatuses for updating user authentication data
US20130275365A1 (en) Multi-Dimensional OLAP Query Processing Method Oriented to Column Store Data Warehouse
CN101419616A (en) Data synchronization method and apparatus
CN106527971B (en) A method of promoting SSD reading performance during garbage reclamation
US20150212741A1 (en) Apparatus for in-memory data management and method for in-memory data management
CN106650625A (en) Quick fingerprint comparison method and device used for fingerprint lock
CN106796589B (en) Indexing method and system for spatial data object
CN100428170C (en) Load-aware IO performance optimization methods based on Bayesian decision
CN102081665A (en) Data synchronization method and device
CN107656689A (en) A kind of exchange method of terminal device, storage medium and terminal device
CN102831441A (en) Comparing device
CN109525794A (en) A kind of video storage and management method and system
CN110442852A (en) Preparing method, storage medium and its intelligent terminal of objective cost
CN105045563B (en) A kind of method for collision management for speculating nested software transaction storage
CN100354844C (en) Bus arbiter and bus arbitrating method
CN105045894A (en) Cache method and system oriented to distributed sequence list
CN105975616A (en) Data quality control system based on public health refinement management
WO2023071766A1 (en) Model compression method, model compression system, server, and storage medium
CN108388910A (en) A kind of high conflicting evidence fusion method based on distance function
CN106021574A (en) Data storage replication method and system
KR20120132878A (en) An Architecture of Real-time, Historical Database System for Industrial Process Control and Monitoring

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200602