The methods, devices and systems that iris information is quickly handled
Technical field
The present invention relates to field of biological recognition, particularly relates to the methods, devices and systems that a kind of iris information is quickly handled.
Background technology
With the development of science and technology, biological identification technology has tended to be ripe, has been applied to different industries and field.
So-called bio-identification is exactly using the intrinsic physiological property of human body, and (such as fingerprint, referring to vein, face, iris) carries out individual
The technology of identity authentication.
Human eyes structure is made up of sclera, iris, pupil three parts, and iris is between black pupil and white sclera
Annular formations, it is special that it includes many interlaced details for being similar to spot, filament, coronal, striped, crypts etc.
Sign, these features can uniquely identify a person's identity.
Iris recognition technology is exactly to determine the identity of people by contrasting the similitude between iris image feature.Largely
The research of medical science and computer science shows that the iris texture of different eyes (including the right and left eyes of people and twinborn eyes) is
It is different, and just stablize within 8 months from after embry ogenesis constant, thus that iris has that uniqueness is high, stability is strong is excellent
Point.In addition, iris is a kind of externally visible internal, thus there is non-offensive advantage again.These advantages cause rainbow
Authentication and identification of the film particularly suitable for people.
In general iris identification equipment with lower unit by being formed:
Collecting unit:Mainly it is made up of optical lens module and infrared light compensating lamp, for gathering client iris image.
Processing unit:Mainly ARM Cortex-A8 embedded microprocessors chip, for people's eye iris to collecting
Image handle the computing circuit of control, including the image to collecting is handled, and extracts iris feature, and it is special to compare iris
Sign provides comparison result.
Memory cell:It is divided into built-in storage and external memory, for the computing circuit of storage program and data, including for
Store the iris feature and relevant information of accredited personnel, and some program codes and temporary variable.
Interface control unit:The interface control unit is by a series of interface electricity that can be connected with external circuit or equipment
Road forms, and mainly has the interfaces such as RS-232, USB, I2C, and it is special can to receive people's eye iris that external command is completed in processing unit
Sign recognition result simultaneously sends control signal or output recognition result and state to external equipment.
Iris identification equipment as the miniaturization for possessing a standalone feature Module-embedding or can be connected to miscellaneous equipment
In, the device upgrade for making to be embedded into or being connected is the product with iris recognition and authentication function, and the equipment mainly includes protecting
Dangerous case, lockset, financial safe deposit box, firearms keeping box, bag storage cabinet, ATM, POS, attendance recorder, access controller, mobile device
Deng.
The formula equipment of being usually embedded mostly is compact electronic device, and system resource is relatively limited, if meeting after operation operating system
Many device resources are taken, real-time can reduce, and specificity is not strong.To solve these problems, consider on embedded device
Operating system is not run, iris recognition program is directly run after only having guided embedded device by bootstrap.But due to
Operand is very big during iris recognition, during which can handle substantial amounts of data, in the equipment for have operating system mostly by means of
Database realizes numerous and diverse data storage, and retrieval compares.But in the equipment without operating system can not installation database, mostly
It is low using traversal formula alignments, processing speed;Simultaneously because the storage reading of data is mostly straight in the equipment without operating system
Operation storage device (external memory, such as flash) is connect, and the erasable life cycle of storage device is generally 100,000 times, due to
Excessive to storage device is erasable so as to cause damaging ahead of time for storage device, has a strong impact on the service life of storage device.
The content of the invention
The present invention provides the methods, devices and systems that a kind of iris information is quickly handled, and this method can be without operation
The quick processing of iris information is realized in the equipment of system, while reduces the erasable number to storage device, improves storage device
Service life.
In order to solve the above technical problems, present invention offer technical scheme is as follows:
On the one hand, the present invention provides a kind of method that iris information is quickly handled, including:
Step 1:The user profile concordance list being stored in advance on external memory and iris feature storage table are loaded into interior
On memory;
Wherein:The user profile concordance list is stored with the user profile of each user, and the iris feature storage table is deposited
The iris feature of each user is contained, is mutually mapped between the user profile of each user and the iris feature of the user;
Step 2:User profile concordance list on the built-in storage and iris feature storage table are respectively processed, wrapped
Include user's checking, user authentication, user deletes, user's renewal and/or user increase;
Step 3:The user profile concordance list and the storage of iris feature storage table for having change after being disposed arrive outer storage
On device.
On the other hand, the present invention provides the device that a kind of iris information is quickly handled, including:
Load-on module, for the user profile being stored in advance on external memory concordance list and iris feature storage table to be added
It is downloaded on built-in storage;
Wherein:The user profile concordance list is stored with the user profile of each user, and the iris feature storage table is deposited
The iris feature of each user is contained, is mutually mapped between the user profile of each user and the iris feature of the user;
Processing module, for being carried out respectively to the user profile concordance list on the built-in storage and iris feature storage table
Processing, including user's checking, user authentication, user's deletion, user's renewal and/or user's increase;
Memory module, for thering is the user profile concordance list of change and iris feature storage table storage to arrive after being disposed
On external memory.
Another further aspect, the present invention provide the system that a kind of iris information is quickly handled, including above-mentioned iris information is quickly located
Safety box that the device of reason and the device one quickly handled with the iris information or split are connected, lockset, finance keeping
Case, firearms keeping box, bag storage cabinet, ATM, POS, attendance recorder, access controller and/or mobile device.
The invention has the advantages that:
In the prior art, a whole user information includes user basic information (ID, right and left eyes sign etc.) and iris is special
Data are levied, because iris feature wants greatly more for user basic information, are compared according to simple traversal formula, comparison
Speed can not ensure so that the processing speed of iris equipment is low.
Compared with prior art, in the method that iris information of the invention is quickly handled, by user profile and iris feature
It is stored separately, forms user profile concordance list and iris feature storage table, and the user profile of each user is with the user's
The relation that mutually maps between iris feature be present, ensure that a pair of the user profile and iris feature 1 of each user profile
Should, it will not obscure;When being handled (user's checking, user authentication, user deletes, user's renewal and/or user increase), point
It is other that separate type processing is carried out to user profile concordance list and iris feature storage table, reduce the information content of processing, realize rainbow
The quick processing of film information;Meanwhile only after all processing are carried out (i.e. before device powers down), just can be user profile rope
Draw table and the storage of iris feature storage table to external memory, and be only stored with user profile concordance list and the iris spy of change
Storage table is levied, reduces the data volume of storage number and storage, reduces the erasable number to storage device, improve storage and set
Standby service life.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the method that the iris information of the present invention is quickly handled;
Fig. 2 is the structural representation for the device that the iris information of the present invention is quickly handled;
Fig. 3 is a kind of structural representation of embodiment of the processing module in the present invention;
Fig. 4 is the structural representation of the another embodiment of the processing module in the present invention;
Fig. 5 is the data structure schematic diagram of the user profile concordance list and iris feature storage table in the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
On the one hand, the present invention provides a kind of method that iris information is quickly handled, as shown in figure 1, including:
Step 1:The user profile concordance list being stored in advance on external memory and iris feature storage table are loaded into interior
On memory;
Wherein:User profile concordance list is stored with the user profile of each user, and iris feature storage table is stored with each
The iris feature of user, mutually mapped between the user profile of each user and the iris feature of the user;
Before this step, in the first power-up initializing of equipment, user profile rope is established in built-in storage (such as RAM)
Draw table (user basic information, aspect indexing value) and iris feature storage table, and establish mutual mapping relations, by external memory
Reservoir (such as flash) subregion stores two tables respectively, is used for follow-up;, will in this step (when i.e. non-upper for the first time electric)
Each partition data of external memory is loaded into built-in storage corresponding user information concordance list and iris feature table cache;
Step 2:User profile concordance list on built-in storage and iris feature storage table are respectively processed, including with
Family checking, user authentication, user deletes, user's renewal and/or user increase;
In this step, a variety of processing, such as user's checking, user authentication, user's deletion, user's renewal can be carried out
And/or user's increase etc., in processing, separate type processing is carried out to user profile concordance list and iris feature storage table respectively;
Step 3:The user profile concordance list and the storage of iris feature storage table for having change after being disposed arrive outer storage
On device.
In this step, after all processing are carried out, only when user profile concordance list and iris feature storage table have
During change, just store them on external memory.
In the prior art, a whole user information includes user basic information (ID, right and left eyes sign etc.) and iris is special
Data are levied, because iris feature wants greatly more for user basic information, are compared according to simple traversal formula, comparison
Speed can not ensure so that the processing speed of iris equipment is low.
Compared with prior art, in the method that iris information of the invention is quickly handled, by user profile and iris feature
It is stored separately, forms user profile concordance list and iris feature storage table, and the user profile of each user is with the user's
The relation that mutually maps between iris feature be present, ensure that a pair of the user profile and iris feature 1 of each user profile
Should, it will not obscure;When being handled (such as user's checking, user authentication, user deletes, user's renewal and/or user increase),
Separate type processing is carried out to user profile concordance list and iris feature storage table respectively, reduces the information content of processing, realizes
The quick processing of iris information;Meanwhile only after all processing are carried out, just can user profile concordance list and iris is special
Storage table storage is levied to external memory, and is only stored with the user profile concordance list and iris feature storage table of change, is subtracted
The data volume of storage number and storage is lacked, has reduced the erasable number to storage device, improve storage device uses the longevity
Life.
In bio-identification, the iris feature and user basic information of user are given, with given iris feature and the use
Iris feature associated by the information of family, which is compared, judges whether consistent process, referred to as user's checking;Also known as 1:1 compares.
User profile includes user basic information and aspect indexing value, as shown in figure 5, user's checking includes:
Step 11:Obtain the user basic information of user to be verified and the iris feature of the user, user basic information bag
Include ID and right and left eyes sign;
User basic information can be got USB or serial ports from host computer (such as PC) in a manner of instruction, the use
The iris feature at family can be obtained by iris lens;
Step 12:Search in user profile concordance list and believe with the user basic information identical user of user to be verified
Breath;
Step 13:Aspect indexing value in the user profile found, mapping obtains should in iris information storage table
The iris feature of user;
The iris feature of the user can have one, it is possibility to have and it is multiple, all map to obtain by aspect indexing value;
Step 14:The iris feature that mapping obtains is compared with the iris feature of user to be verified, if both are consistent,
User to be verified is judged by checking, otherwise, it is determined that user to be verified is not verified;" consistent " at this is not necessarily referring to complete one
Cause, the similarity for two iris features for being only referred to be compared reaches to a certain degree, similarly hereinafter;If the iris of the user is special
Sign only one, need to only compare once, if having multiple, repeatedly be compared, until comparing consistent or comparing and finish;
Step 15:Output user's checking result simultaneously terminates user's checking;
The result of output can be shown that can also being used as other equipment (such as gate inhibition), further action (is such as opened the door
Deng) foundation.
In this method, the iris for mapping the user prestored by the user basic information of user first is special
Sign, then the iris feature collected is compared, need to only compare once (when being previously stored with multiple iris features, can
Can compare several times, but number is still seldom), comparison speed is fast, so, is compared just for critical data, rejects redundancy
Information, comparison data amount is reduced, improve comparison efficiency;Further, since user basic information data volume is smaller, search very fast;Therefore
The processing speed of iris information can be further increased.
In bio-identification, a number of rainbow being consistent is found out from iris feature storage table with given iris feature
Film feature, and according to corresponding to obtaining iris feature user process, referred to as user authentication, also known as 1:N is compared.
User authentication includes:
Step 21:Obtain the iris feature of user to be certified;
Step 22:The iris feature of user to be certified is compared one by one with the iris feature in iris feature storage table
It is right, if obtaining an iris feature consistent with the iris feature of user to be certified, step 23 is performed, otherwise, goes to step
24;
When being compared one by one, counting variable is set, often compared once, counting variable adds one;Due to making iris
It is tactic during characteristic storage table, the value of counting variable is the sequence number of the iris feature, is also the iris feature pair
ID in the user basic information answered;
Step 23:The iris feature obtained according to comparing is mapped to the user profile of the user in user profile concordance list,
Obtain the user basic information of user to be certified;Wherein, user basic information includes ID and right and left eyes indicate, iris feature
The iris feature sequential storage of each user, its sequence number are identical with ID in storage table;
Pass through the value of counting variable, you can convenient mapping obtains ID corresponding to the iris feature, you can is somebody's turn to do
The essential information of user;
It is of course also possible to mapping obtains the essential information that the iris feature corresponds to user by other means, for example, it is similar
The method of aspect indexing value in mode one, i.e., enclose aspect indexing value behind the data of iris feature, pass through aspect indexing
Value mapping obtains user basic information, simply so can additionally take memory space;
Step 24:Output user authentication result simultaneously terminates user authentication.
The result of output can be shown that can also being used as other equipment (such as gate inhibition), further action (is such as opened the door
Deng) foundation.
In this method, the iris feature of user need to be only gathered, by by the iris feature and being stored in advance in iris feature
Iris feature in storage table is compared one by one, then maps this by the value of the counting variable obtained in comparison process
User basic information corresponding to iris feature, so, it is compared just for critical data, rejects redundancy, is reduced and compare
Data volume, improve comparison efficiency;Meanwhile mapped by the way of counting variable, it will not additionally take memory space.
As a modification of the present invention, whether user profile also includes being used to indicate aspect indexing value and effectively index to have
Criterion shows, includes as shown in figure 5, user deletes:
Step 31:The index of user to be deleted in user profile concordance list effectively sign is arranged to invalid;
Step 3 is further:By in user profile concordance list storage to external memory.
When deleting user, it is only necessary to which the index of user to be deleted in user profile concordance list effectively sign is arranged into nothing
Effect, then user profile concordance list is only write to the corresponding subregion of external memory, without wiping in iris feature storage table
The data of the iris feature, this memory space is directly covered when next time Adds User.So, when deleting user, only need
User profile concordance list is write into external memory, it is not necessary to the data of the iris feature in iris feature storage table are wiped,
Iris feature storage table need not be write external memory, because the data volume of iris feature storage table is much larger than user profile
The data volume of concordance list, therefore the data volume of storage can be greatly reduced, the erasable number to storage device is further reduced,
Improve the service life of storage device.
Another as the present invention improves, and user's renewal includes:
Step 41:Change the user profile and/or iris feature of user to be updated;
Step 3 is further:User profile concordance list and/or iris feature storage table are stored onto external memory.
When updating user, distinguish renewal is user profile concordance list or iris feature storage table, for renewal
Table goes to rewrite data in external memory respectively, further reduces the erasable number to storage device, improves storage device
Service life
As another improvement of the present invention, user's increase includes:
Step 51:The user profile and iris of user to be increased are write in user profile concordance list and iris feature storage table
Feature, and make mutually to map between the user profile of the user and iris feature.
Step 3 is further:User profile concordance list and iris feature storage table are stored onto external memory.
, it is necessary to user profile concordance list and iris feature storage table be write into external memory, this is can not when Adding User
Avoid.
By above-mentioned, when the present invention changes instruction for additions and deletions, user profile concordance list and iris feature storage are realized
The partition type operation of table, writes principle, greatly reduces the read-write number to external memory, extend the equipment longevity when accomplishing to change
Life.
In each method embodiment of the present invention, the priority that the sequence number of each step can not be used to limit each step is suitable
Sequence, for those of ordinary skill in the art, on the premise of not paying creative work, the priority of each step is changed
Within protection scope of the present invention.
On the other hand, the present invention provides the device that a kind of iris information is quickly handled, as shown in Fig. 2 including:
Load-on module 71, for the user profile concordance list and iris feature storage table that will be stored in advance on external memory
It is loaded on built-in storage;
Wherein:User profile concordance list is stored with the user profile of each user, and iris feature storage table is stored with each
The iris feature of user, mutually mapped between the user profile of each user and the iris feature of the user;
Processing module 72, for locating respectively to the user profile concordance list on built-in storage and iris feature storage table
Reason, including user's checking, user authentication, user's deletion, user's renewal and/or user's increase;
Memory module 73, for having the user profile concordance list of change and the storage of iris feature storage table after being disposed
Onto external memory.
Device corresponding with the above method, that iris information of the invention is quickly handled, (such as user can handled
Checking, user authentication, user deletes, user's renewal and/or user increase) when, it is special to user profile concordance list and iris respectively
Levy storage table and carry out separate type processing, reduce the information content of processing, realize the quick processing of iris information;Meanwhile only
After all processing are carried out, user profile concordance list and iris feature storage table can be just stored onto external memory, and
And the user profile concordance list and iris feature storage table of change are only stored with, reduce the data volume of storage number and storage,
Reduce the erasable number to storage device, improve the service life of storage device.
Further, it is corresponding with above-mentioned user's checking, as shown in figure 3, processing module 72 includes:
First acquisition module 721, for obtaining the user basic information of user to be verified and the iris feature of the user, use
Family essential information includes ID and right and left eyes indicate;
Searching modul 722 is identical with the user basic information of user to be verified for being searched in user profile concordance list
User profile;
First mapping block 723, for the aspect indexing value in the user profile found, mapping obtains iris letter
Cease the iris feature of the user in storage table;
First comparing module 724, iris feature and the iris feature of user to be verified for mapping to be obtained are compared
It is right, if both are consistent, user to be verified is judged by checking, otherwise, it is determined that user to be verified is not verified;
First output module 725, for exporting user's checking result and terminating user's checking.
Device corresponding with above-mentioned user's checking, that iris information of the invention is quickly handled, it need to only compare once (in advance
When being stored with multiple iris features, may compare several times, but number is still seldom), comparison speed is fast, so, just for pass
Key data is compared, and rejects redundancy, reduces comparison data amount, improves comparison efficiency;Further, since user basic information
Data volume is smaller, searches very fast;Therefore the processing speed of iris information can be further increased.
Further, it is corresponding with above-mentioned user authentication, as shown in figure 4, processing module 72 includes:
Second acquisition module 721 ', for obtaining the iris feature of user to be certified;
Second comparing module 722 ', iris feature and the iris feature in iris feature storage table for user to be certified
Compared one by one, if obtaining an iris feature consistent with the iris feature of user to be certified, perform the second mapping mould
Block 723 ', otherwise, go to the second output module 724 ';
Second mapping block 723 ', the iris feature for being obtained according to comparison are mapped to the use in user profile concordance list
The user profile at family, obtain the user basic information of user to be certified;Wherein, user basic information includes ID and right and left eyes
Indicate, the iris feature sequential storage of each user, its sequence number are identical with ID in iris feature storage table;
Second output module 724 ', for exporting user authentication result and terminating user authentication.
Device corresponding with above-mentioned user authentication, that iris information of the invention is quickly handled, it need to only gather the rainbow of user
Film feature, by the way that the iris feature is compared one by one with the iris feature being stored in advance in iris feature storage table, so
Map to obtain user basic information corresponding to the iris feature by the value of the counting variable obtained in comparison process afterwards, so,
It is compared just for critical data, rejects redundancy, reduce comparison data amount, improves comparison efficiency;Meanwhile using counting
The mode of variable is mapped, and will not additionally take memory space.
Another further aspect, the present invention provide the system that a kind of iris information is quickly handled, including above-mentioned iris information is quickly located
Safety box, lockset, financial safe deposit box, the rifle that the device of reason and the device one quickly handled with iris information or split are connected
Tool keeping box, bag storage cabinet, ATM, POS, attendance recorder, access controller and/or mobile device.
The device that the iris information of the present invention is quickly handled may apply to every field, embedded (integrative-structure) or connect
(one or Split type structure) arrives other equipment, forms the security system with iris recognition.It is corresponding with the above method and device,
The system can be divided when being handled (such as user's checking, user authentication, user deletes, user's renewal and/or user increase)
It is other that separate type processing is carried out to user profile concordance list and iris feature storage table, reduce the information content of processing, realize rainbow
The quick processing of film information;Meanwhile only after all processing are carried out, just can be user profile concordance list and iris feature
Storage table is stored onto external memory, and is only stored with the user profile concordance list and iris feature storage table of change, is reduced
Storage number and the data volume of storage, reduce the erasable number to storage device, improve the service life of storage device.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.