CN114648784B - Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching - Google Patents
Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching Download PDFInfo
- Publication number
- CN114648784B CN114648784B CN202210559615.2A CN202210559615A CN114648784B CN 114648784 B CN114648784 B CN 114648784B CN 202210559615 A CN202210559615 A CN 202210559615A CN 114648784 B CN114648784 B CN 114648784B
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- information
- authenticated
- library
- matching
- 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.)
- Active
Links
Images
Landscapes
- Collating Specific Patterns (AREA)
Abstract
The invention belongs to the technical field of data processing, and discloses a fingerprint verification method, a fingerprint verification device, fingerprint verification equipment and a storage medium for fingerprint library pre-matching. The method comprises the following steps: when a fingerprint to be authenticated is detected, acquiring fingerprint verification information of the fingerprint to be authenticated; traversing and opening a preset fingerprint library according to the fingerprint verification information, and performing internal matching on the preset fingerprint library to determine a target fingerprint library; and matching the fingerprint to be authenticated based on the target fingerprint database. By means of the method, when the fingerprint to be authenticated is detected, the preset fingerprint libraries are opened in a traversing mode according to the fingerprint verification information of the fingerprint to be authenticated, so that after the target fingerprint library is determined in a matching mode, the target fingerprint library is directly opened to match the fingerprint to be authenticated, and therefore the fingerprint to be authenticated does not need to be compared and matched by opening the fingerprint libraries in sequence, and the method is simple, convenient and fast.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a fingerprint verification method, a fingerprint verification device, fingerprint verification equipment and a storage medium for fingerprint library pre-matching.
Background
At present, different fingerprint libraries can only be opened sequentially by traversing arrays to match corresponding fingerprints, so that the method is simple and rough, when a large number of fingerprint libraries are compatible, a plurality of fingerprint libraries need to be opened in a traversing mode when a correct fingerprint library needs to be matched, CPU resources are occupied, matching efficiency is low, whether matching is successful or not depends on judgment of internal programs (non-open source codes) of the fingerprint libraries, the method is single, when an error occurs in processing matching of the internal fingerprint libraries, and the error is not returned all the time, the fingerprint library is opened all the time and is not traversed all the time, and therefore the fingerprint library is used as the correct fingerprint and cannot be used normally.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a fingerprint verification method, a fingerprint verification device, fingerprint verification equipment and a fingerprint verification storage medium for fingerprint library pre-matching, and aims to solve the technical problem that matching fingerprints of different fingerprint libraries needs to be opened in sequence when matching fingerprints in the prior art.
In order to achieve the above object, the present invention provides a fingerprint verification method for pre-matching a fingerprint database, comprising the following steps:
when a fingerprint to be authenticated is detected, acquiring fingerprint verification information of the fingerprint to be authenticated;
traversing a preset fingerprint database according to the fingerprint verification information, and performing internal matching on the preset fingerprint database to determine a target fingerprint database;
and matching the fingerprint to be authenticated based on the target fingerprint database.
Optionally, the traversing to open a preset fingerprint library according to the fingerprint verification information, and performing internal matching on the preset fingerprint library to determine a target fingerprint library includes:
determining to-be-authenticated configuration information and fingerprint content information of the to-be-authenticated fingerprint according to the fingerprint verification information;
calling a plurality of pre-stored preset fingerprint libraries;
and matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database.
Optionally, matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database, including:
acquiring pre-stored configuration file information stored in an equipment file system;
comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result;
and when the first comparison result is that the comparison is successful, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database.
Optionally, the matching, according to the fingerprint content information, of each preset fingerprint library to determine a target fingerprint library includes:
acquiring prestored fingerprint information of each preset fingerprint library;
and determining a target fingerprint database from each preset fingerprint database according to the fingerprint content information and the pre-stored fingerprint information.
Optionally, the determining a target fingerprint database from each of the preset fingerprint databases according to the fingerprint content information and the pre-stored fingerprint information includes:
comparing the fingerprint content information with prestored fingerprint information;
and taking a preset fingerprint database in which the pre-stored fingerprint information consistent with the fingerprint content information is located as a target fingerprint database.
Optionally, after comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result, the method further includes:
and when the first comparison result is that the comparison fails, generating newly added configuration file information corresponding to the fingerprint to be authenticated, and storing the newly added configuration file information to the equipment file system.
Optionally, the obtaining pre-stored configuration file information stored in the device file system includes:
acquiring drive code information;
and reading the chip id from the probe function in the drive code information through SPI communication to obtain the information of the pre-stored configuration file.
In addition, in order to achieve the above object, the present invention further provides a fingerprint authentication device for pre-matching a fingerprint database, the fingerprint authentication device for pre-matching a fingerprint database comprising:
the fingerprint authentication system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring fingerprint verification information of a fingerprint to be authenticated when the fingerprint to be authenticated is detected;
the matching module is used for traversing a preset fingerprint database according to the fingerprint verification information to determine a target fingerprint database;
and the calling module is used for matching the fingerprint to be authenticated based on the target fingerprint database.
In addition, in order to achieve the above object, the present invention further provides a fingerprint verification device for pre-matching a fingerprint library, including: a memory, a processor and a fingerprint verification program stored on the memory and executable on the processor, the fingerprint repository pre-matched fingerprint verification program being configured to implement the steps of the fingerprint verification method of fingerprint repository pre-matching as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, on which a fingerprint verification program for pre-matching a fingerprint library is stored, and the fingerprint verification program for pre-matching a fingerprint library implements the steps of the fingerprint verification method for pre-matching a fingerprint library as described above when executed by a processor.
When a fingerprint to be authenticated is detected, fingerprint verification information of the fingerprint to be authenticated is acquired; traversing a preset fingerprint database according to the fingerprint verification information, and performing internal matching on the preset fingerprint database to determine a target fingerprint database; and matching the fingerprint to be authenticated based on the target fingerprint database. By the method, when the fingerprint to be authenticated is detected, the preset fingerprint libraries are traversed according to the fingerprint verification information of the fingerprint to be authenticated, so that after the target fingerprint library is determined in a matching mode, the target fingerprint library is directly opened to match the fingerprint to be authenticated, the fingerprint to be authenticated does not need to be sequentially opened to compare and match the fingerprint to be authenticated, and the method is simpler, more convenient and quicker.
Drawings
Fig. 1 is a schematic structural diagram of a fingerprint verification device for pre-matching a fingerprint library of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for pre-matching fingerprint databases according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for fingerprint verification of pre-matching fingerprint libraries according to the present invention;
fig. 4 is a block diagram of a first embodiment of a fingerprint authentication device for pre-matching a fingerprint library according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fingerprint verification device for pre-matching a fingerprint library in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the fingerprint verification device for pre-matching the fingerprint database may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
It will be appreciated by those skilled in the art that the arrangement shown in figure 1 does not constitute a limitation of a fingerprint verification device for which a fingerprint repository is pre-matched, and may comprise more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a fingerprint verification program for fingerprint library pre-matching.
In the fingerprint verification device for pre-matching fingerprint libraries shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the fingerprint verification device for pre-matching a fingerprint library of the present invention may be disposed in the fingerprint verification device for pre-matching a fingerprint library, and the fingerprint verification device for pre-matching a fingerprint library calls a fingerprint verification program stored in the memory 1005 through the processor 1001, and executes the fingerprint verification method for pre-matching a fingerprint library provided in the embodiment of the present invention.
An embodiment of the present invention provides a fingerprint verification method for pre-matching a fingerprint database, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a fingerprint verification method for pre-matching a fingerprint database according to the present invention.
In this embodiment, the fingerprint verification method for pre-matching a fingerprint database includes the following steps:
step S10: and when the fingerprint to be authenticated is detected, acquiring the fingerprint verification information of the fingerprint to be authenticated.
It should be noted that the execution subject of this embodiment is a terminal, and the terminal may be a terminal based on an android system, such as a smart phone, a tablet computer, and the like, which can detect and identify a fingerprint, or other devices capable of implementing this function, which is not limited in this embodiment.
It should be understood that the basic flow of the application of fingerprint identification technology at present is: when receiving the fingerprint needing authentication and matching, only traversing the array to open different fingerprint libraries in turn to match the corresponding fingerprint, and the method occupies CPU resources, has low matching efficiency, depends on the judgment of the internal program (non-open source code) of the fingerprint library whether the matching is successful, is relatively single, and opens the fingerprint library all the time without traversing when the matching in the fingerprint internal library is wrong and the error is not returned all the time, thereby using the fingerprint library as the correct fingerprint and causing the fingerprint to be incapable of being used normally. According to the scheme of the embodiment, the fingerprint verification information based on the fingerprint to be authenticated is firstly screened, the target fingerprint library is determined under the condition that the preset fingerprint library is not opened, and the target fingerprint library is opened to match and authenticate the fingerprint to be authenticated, so that the preset fingerprint libraries do not need to be opened in sequence, CPU (Central processing Unit) resources are saved, and matching efficiency is improved.
In specific implementation, the fingerprint to be authenticated may be collected by a fingerprint collection device connected to the terminal, and the fingerprint collection device may be any device capable of implementing the function. When the fingerprint to be authenticated is detected, the following steps are carried out: when the fingerprint information input by the user is collected by the fingerprint collecting device, the input fingerprint information is used as the fingerprint to be authenticated.
It should be noted that the fingerprint verification information includes, but is not limited to, configuration information to be authenticated and fingerprint content information of the fingerprint to be authenticated, and there may be other related information about the fingerprint to be authenticated, for example: the recording time and the recording area of the fingerprint to be authenticated and the like.
Step S20: and traversing a preset fingerprint library according to the fingerprint verification information, and performing internal matching on the preset fingerprint library to determine a target fingerprint library.
It should be understood that traversing the preset fingerprint library according to the fingerprint verification information, performing internal matching of the preset fingerprint library, to determine the target fingerprint library refers to: the fingerprint authentication method comprises the steps of extracting to-be-authenticated configuration information and fingerprint content information of a to-be-authenticated fingerprint according to fingerprint authentication information, firstly comparing the to-be-authenticated configuration information with prestored configuration file information stored in an equipment file system, then comparing the fingerprint content information with each preset fingerprint library to determine whether the to-be-authenticated fingerprint is a configured fingerprint, and when the two comparisons are successful, using the traversed and matched preset fingerprint library as a target fingerprint library.
It should be noted that the operation of traversing the array is implemented by traversing the array through the offset pointer based on the for loop.
Step S30: and matching the fingerprint to be authenticated based on the target fingerprint database.
In specific implementation, after the target fingerprint library is determined, the hw _ get _ module function is called to acquire and open the target fingerprint library, so that the fingerprint to be verified can be matched and authenticated in the target fingerprint library.
The embodiment acquires the fingerprint verification information of the fingerprint to be authenticated when the fingerprint to be authenticated is detected; traversing a preset fingerprint database according to the fingerprint verification information, and performing internal matching on the preset fingerprint database to determine a target fingerprint database; and matching the fingerprint to be authenticated based on the target fingerprint database. By the method, when the fingerprint to be authenticated is detected, the preset fingerprint libraries are traversed according to the fingerprint verification information of the fingerprint to be authenticated, so that after the target fingerprint library is determined in a matching mode, the target fingerprint library is directly opened to match the fingerprint to be authenticated, the fingerprint to be authenticated does not need to be sequentially opened to compare and match the fingerprint to be authenticated, and the method is simpler, more convenient and quicker.
Referring to fig. 3, fig. 3 is a flowchart illustrating a fingerprint verification method for pre-matching a fingerprint database according to a second embodiment of the present invention.
Based on the first embodiment, the fingerprint verification method for pre-matching a fingerprint database in this embodiment includes, in step S20:
step S201: and determining the configuration information to be authenticated and the fingerprint content information of the fingerprint to be authenticated according to the fingerprint verification information.
It should be noted that the configuration information to be authenticated refers to the device file corresponding to the fingerprint to be authenticated, and the fingerprint content information refers to the fingerprint content of the fingerprint to be authenticated, that is, the related information of the fingerprint body, for example: fingerprint lines, etc.
Step S202: and calling a plurality of pre-stored preset fingerprint libraries.
It should be understood that the preset fingerprint library refers to: the fingerprint database is pre-stored in a hard disk or a storage space, and comprises a plurality of fingerprint libraries which are configured and store fingerprints. The number of the preset fingerprint database may be any number, and is preset by the user, which is not limited in this embodiment.
Step S203: and matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database.
In specific implementation, traversing each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database refers to: firstly, comparing the configuration information to be authenticated with prestored configuration file information stored in an equipment file system, then comparing the fingerprint content information with each preset fingerprint library to determine whether the fingerprint is a configured fingerprint, and when the two comparisons are successful, using the traversed and matched preset fingerprint library as a target fingerprint library.
Further, in order to accurately determine the target fingerprint database, step S203 includes: acquiring pre-stored configuration file information stored in an equipment file system; comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result; and when the first comparison result is that the comparison is successful, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database.
It should be noted that, acquiring the pre-stored profile information stored in the device file system refers to: and acquiring prestored configuration file information in a device file system, wherein the device file system refers to a devfs device file system for managing/dev directories, and the prestored configuration file information refers to a configuration file corresponding to fingerprints which are already stored in the device file system.
It should be understood that, comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result means: and comparing the configuration information to be authenticated with prestored configuration file information stored in an equipment file system to determine whether the equipment file corresponding to the fingerprint in devfs exists or not, wherein the final result is a first comparison result.
In a specific implementation, when the first comparison result is that the comparison is successful, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database refers to: and when the first comparison result is that the comparison is successful, judging that the configuration file corresponding to the fingerprint to be authenticated exists in the equipment file system, and traversing each preset fingerprint library according to the fingerprint content information to determine the target fingerprint library from all the preset fingerprint libraries.
Through this kind of mode, realized judging whether the equipment file that corresponds the fingerprint in devfs exists, reduced the number of times of opening the fingerprint storehouse, quick accurate fingerprint module to the current hardware installation of matching.
Further, in order to accurately compare the fingerprint contents, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database includes: acquiring prestored fingerprint information of each preset fingerprint library; and determining a target fingerprint database from each preset fingerprint database according to the fingerprint content information and the pre-stored fingerprint information.
It should be noted that the pre-stored fingerprint information refers to the related information of the fingerprint stored in each preset fingerprint library and having the corresponding configuration file. Then, determining the target fingerprint database from each preset fingerprint database according to the fingerprint content information and the pre-stored fingerprint information refers to comparing the fingerprint content information with the pre-stored fingerprint information in each preset fingerprint database, so as to determine which preset fingerprint database the fingerprint to be authenticated specifically corresponds to, namely the target fingerprint database.
By the method, the specific target fingerprint database is determined according to the pre-stored fingerprint information and the fingerprint content information of each preset fingerprint database, so that the fingerprint databases do not need to be opened in sequence for fingerprint authentication and matching.
Further, in order to quickly determine a target fingerprint database according to the fingerprint content information and the pre-stored fingerprint information, the step of determining the target fingerprint database from each of the pre-stored fingerprint databases according to the fingerprint content information and the pre-stored fingerprint information includes: comparing the fingerprint content information with prestored fingerprint information; and taking a preset fingerprint database in which the pre-stored fingerprint information consistent with the fingerprint content information is located as a target fingerprint database.
It should be understood that, after the fingerprint content information and the pre-stored fingerprint information are obtained, the fingerprint content information is compared with the pre-stored fingerprint information corresponding to each fingerprint to determine whether a consistent fingerprint exists, and after the pre-stored fingerprint information consistent with the fingerprint content information is determined, a corresponding pre-stored fingerprint library is determined after the pre-stored fingerprint information consistent with the fingerprint content information is determined, and then the pre-stored fingerprint library is used as a target fingerprint library.
By the method, the target fingerprint library which needs to be opened for fingerprint matching is quickly locked according to the fingerprint content information and the pre-stored fingerprint information.
Further, in order to enable the fingerprint matching to be continuously performed when the comparison between the configuration information to be authenticated and the pre-stored configuration file information fails, the step of comparing the configuration information to be authenticated and the pre-stored configuration file information to obtain a first comparison result further includes: and when the first comparison result is that the comparison fails, generating newly added configuration file information corresponding to the fingerprint to be authenticated, and storing the newly added configuration file information to the equipment file system.
It should be noted that, when the first comparison result is that the comparison fails, that is, there is no file corresponding to the configuration information to be authenticated in the pre-stored configuration file information, at this time, new configuration file information is generated and stored, that is, when there is no configuration file corresponding to the fingerprint to be authenticated in the device file system, the new configuration file information is automatically generated and stored, so that the device file system holds the device configuration file corresponding to the fingerprint to be authenticated.
By the method, the automatic generation is realized when the equipment file system has no corresponding configuration file, and meanwhile, the configuration file corresponding to the fingerprint does not need to be generated forcibly every time the equipment is started.
Further, the step of obtaining the pre-stored profile information stored in the device file system for obtaining the pre-stored profile information comprises: acquiring drive code information; and reading the chip id from the probe function in the drive code information through SPI communication to obtain the information of the pre-stored configuration file.
By the method, the information of the pre-stored configuration file is directly acquired from the code, so that the information of the pre-stored configuration file can be acquired without opening each preset fingerprint library.
The embodiment determines the to-be-authenticated configuration information and the fingerprint content information of the to-be-authenticated fingerprint according to the fingerprint verification information; calling a plurality of pre-stored preset fingerprint libraries; and matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database. Through the method, the comparison and traversal of the configuration information to be authenticated and the fingerprint content information in the fingerprint verification information with the preset fingerprint libraries are realized, so that the matching can be performed by only traversing and matching before the preset fingerprint libraries are opened without opening each preset fingerprint library in sequence, and the matching of opening the fingerprint libraries is determined after the target fingerprint library is opened.
In addition, an embodiment of the present invention further provides a storage medium, where a fingerprint verification program for pre-matching a fingerprint library is stored on the storage medium, and when executed by a processor, the steps of the fingerprint verification method for pre-matching a fingerprint library as described above are implemented.
Since the storage medium adopts all technical solutions of all the embodiments described above, at least all the beneficial effects brought by the technical solutions of the embodiments described above are achieved, and are not described in detail herein.
Referring to fig. 4, fig. 4 is a block diagram illustrating a first embodiment of a fingerprint verification device for pre-matching a fingerprint database according to the present invention.
As shown in fig. 4, the fingerprint verification apparatus for pre-matching a fingerprint library according to an embodiment of the present invention includes:
the acquiring module 10 is configured to acquire fingerprint verification information of a fingerprint to be authenticated when the fingerprint to be authenticated is detected.
And the matching module 20 is configured to traverse a preset fingerprint library according to the fingerprint verification information, and perform internal matching on the preset fingerprint library to determine a target fingerprint library.
And the calling module 30 is configured to match the fingerprint to be authenticated based on the target fingerprint library.
In the embodiment, when the fingerprint to be authenticated is detected, the fingerprint verification information of the fingerprint to be authenticated is acquired; traversing a preset fingerprint database according to the fingerprint verification information, and performing internal matching on the preset fingerprint database to determine a target fingerprint database; and matching the fingerprint to be authenticated based on the target fingerprint database. By the method, when the fingerprint to be authenticated is detected, the preset fingerprint libraries are traversed according to the fingerprint verification information of the fingerprint to be authenticated, so that after the target fingerprint library is determined in a matching mode, the target fingerprint library is directly opened to match the fingerprint to be authenticated, the fingerprint to be authenticated does not need to be sequentially opened to compare and match the fingerprint to be authenticated, and the method is simpler, more convenient and quicker.
In an embodiment, the matching module 20 is further configured to determine, according to the fingerprint verification information, to-be-authenticated configuration information and fingerprint content information of the to-be-authenticated fingerprint; calling a plurality of pre-stored preset fingerprint libraries; and matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database.
In an embodiment, the matching module 20 is further configured to obtain pre-stored configuration file information stored in the device file system; comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result; and when the first comparison result is that the comparison is successful, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database.
In an embodiment, the matching module 20 is further configured to obtain pre-stored fingerprint information of each of the pre-stored fingerprint libraries; and determining a target fingerprint database from each preset fingerprint database according to the fingerprint content information and the pre-stored fingerprint information.
In an embodiment, the matching module 20 is further configured to compare the fingerprint content information with pre-stored fingerprint information; and taking a preset fingerprint database in which the pre-stored fingerprint information consistent with the fingerprint content information is located as a target fingerprint database.
In an embodiment, the matching module 20 is further configured to generate new configuration file information corresponding to the fingerprint to be authenticated when the first comparison result is that the comparison fails, and store the new configuration file information in the device file system.
In an embodiment, the matching module 20 is further configured to obtain driver code information; and reading the chip id from the probe function in the drive code information through SPI communication to obtain the information of the pre-stored configuration file.
Since the present apparatus employs all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described in detail herein.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in the specific application, those skilled in the art can set the solution according to the needs, and the present invention is not limited to this
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the fingerprint verification method for fingerprint library pre-matching provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A fingerprint verification method for pre-matching a fingerprint library, the fingerprint verification method for pre-matching a fingerprint library comprising:
when a fingerprint to be authenticated is detected, acquiring fingerprint verification information of the fingerprint to be authenticated, wherein the fingerprint verification information comprises configuration information to be authenticated and fingerprint content information of the fingerprint to be authenticated;
traversing and opening a preset fingerprint library according to the fingerprint verification information, and performing internal matching on the preset fingerprint library to determine a target fingerprint library;
the step of traversing and opening a preset fingerprint database according to the fingerprint verification information to perform internal matching of the preset fingerprint database so as to determine a target fingerprint database comprises the following steps:
extracting the configuration information to be authenticated and the fingerprint content information of the fingerprint to be authenticated according to the fingerprint verification information, comparing the configuration information to be authenticated with prestored configuration file information stored in an equipment file system, then comparing the fingerprint content information with each preset fingerprint library to determine whether the fingerprint is a configured fingerprint, and when the two comparisons are successful, using the traversed and matched preset fingerprint library as a target fingerprint library;
and matching the fingerprint to be authenticated based on the target fingerprint database.
2. The method of claim 1, wherein traversing and opening a preset fingerprint library according to the fingerprint verification information, and performing internal matching of the preset fingerprint library to determine a target fingerprint library comprises:
determining to-be-authenticated configuration information and fingerprint content information of the to-be-authenticated fingerprint according to the fingerprint verification information;
calling a plurality of pre-stored preset fingerprint libraries;
and matching each preset fingerprint database according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint database.
3. The method of claim 2, wherein the matching each preset fingerprint library according to the configuration information to be authenticated and the fingerprint content information to determine a target fingerprint library comprises:
acquiring pre-stored configuration file information stored in an equipment file system;
comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result;
and when the first comparison result is that the comparison is successful, matching each preset fingerprint database according to the fingerprint content information to determine a target fingerprint database.
4. The method according to claim 3, wherein the matching each of the preset fingerprint libraries according to the fingerprint content information to determine a target fingerprint library comprises:
acquiring prestored fingerprint information of each preset fingerprint library;
and determining a target fingerprint database from each preset fingerprint database according to the fingerprint content information and the pre-stored fingerprint information.
5. The method according to claim 4, wherein the determining a target fingerprint database from each of the preset fingerprint databases according to the fingerprint content information and the pre-stored fingerprint information comprises:
comparing the fingerprint content information with prestored fingerprint information;
and taking a preset fingerprint database in which the pre-stored fingerprint information consistent with the fingerprint content information is located as a target fingerprint database.
6. The method of claim 3, wherein after comparing the configuration information to be authenticated with the pre-stored configuration file information to obtain a first comparison result, further comprising:
and when the first comparison result is that the comparison fails, generating newly added configuration file information corresponding to the fingerprint to be authenticated, and storing the newly added configuration file information to the equipment file system.
7. The method of claim 3, wherein the obtaining pre-stored profile information stored in the device file system comprises:
acquiring drive code information;
and reading the chip id from the probe function in the drive code information through SPI communication to obtain the information of the pre-stored configuration file.
8. A fingerprint authentication device for pre-matching a fingerprint library, said fingerprint authentication device comprising:
the fingerprint authentication system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring fingerprint authentication information of a fingerprint to be authenticated when the fingerprint to be authenticated is detected, and the fingerprint authentication information comprises configuration information to be authenticated and fingerprint content information of the fingerprint to be authenticated;
the matching module is used for traversing a preset fingerprint library according to the fingerprint verification information and performing internal matching of the preset fingerprint library so as to determine a target fingerprint library;
the matching module is further configured to extract the configuration information to be authenticated and the fingerprint content information of the fingerprint to be authenticated according to the fingerprint verification information, compare the configuration information to be authenticated with prestored configuration file information stored in an equipment file system, compare the fingerprint content information with each preset fingerprint library to determine whether the fingerprint is a configured fingerprint, and when both comparisons are successful, use the traversed and matched preset fingerprint library as a target fingerprint library;
and the calling module is used for matching the fingerprint to be authenticated based on the target fingerprint database.
9. A fingerprint verification device for pre-matching a fingerprint library, said device comprising: a memory, a processor and a fingerprint database pre-matched fingerprint verification program stored on the memory and executable on the processor, the fingerprint database pre-matched fingerprint verification program configured to implement the fingerprint database pre-matched fingerprint verification method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a fingerprint authentication program for fingerprint library pre-matching, which when executed by a processor implements the fingerprint authentication method for fingerprint library pre-matching according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210559615.2A CN114648784B (en) | 2022-05-23 | 2022-05-23 | Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210559615.2A CN114648784B (en) | 2022-05-23 | 2022-05-23 | Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114648784A CN114648784A (en) | 2022-06-21 |
CN114648784B true CN114648784B (en) | 2022-09-09 |
Family
ID=81997103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210559615.2A Active CN114648784B (en) | 2022-05-23 | 2022-05-23 | Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114648784B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3460717A1 (en) * | 2017-09-22 | 2019-03-27 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus, terminal, and computer-readable storage medium for processing fingerprints |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107484240B (en) * | 2016-06-07 | 2020-03-13 | 中兴通讯股份有限公司 | Method and device for positioning based on fingerprint |
CN111368120B (en) * | 2020-05-28 | 2020-09-15 | 广东博智林机器人有限公司 | Target fingerprint database construction method and device, electronic equipment and storage medium |
CN114095235B (en) * | 2021-11-17 | 2024-03-19 | 恒安嘉新(北京)科技股份公司 | System identification method, device, computer equipment and medium |
-
2022
- 2022-05-23 CN CN202210559615.2A patent/CN114648784B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3460717A1 (en) * | 2017-09-22 | 2019-03-27 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus, terminal, and computer-readable storage medium for processing fingerprints |
Also Published As
Publication number | Publication date |
---|---|
CN114648784A (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3457322B1 (en) | Identity authentication by using specific human biological characteristics collection algorithms | |
CN110737881B (en) | Fingerprint verification method and device for intelligent equipment | |
CN101192931A (en) | Authentication system, authentication device, and authentication method | |
CN112615873B (en) | Internet of things equipment safety detection method, equipment, storage medium and device | |
CN113434395A (en) | Automatic generation method, device, equipment and medium of test case | |
CN114648784B (en) | Fingerprint verification method, device, equipment and storage medium for fingerprint library pre-matching | |
CN110691090B (en) | Website detection method, device, equipment and storage medium | |
CN111124545A (en) | Application program starting method and device, electronic equipment and storage medium | |
CN114531340B (en) | Log acquisition method and device, electronic equipment, chip and storage medium | |
CN115543816A (en) | Software regression test result verification method, device, equipment and storage medium | |
CN112395594B (en) | Method, device and equipment for processing instruction execution sequence | |
CN110941814B (en) | Behavior verification compatible method, device, storage medium and apparatus | |
CN115618350A (en) | Industrial control asset vulnerability detection method, equipment, storage medium and device | |
CN114489661A (en) | Asset and fingerprint identification method based on feedback mechanism and related equipment | |
CN114465926A (en) | Recursive server monitoring method, device, equipment and storage medium | |
CN110377499B (en) | Method and device for testing application program | |
CN112395619A (en) | Vulnerability scanning method and device | |
CN112541182B (en) | Kernel VFS layer system repairing method, device, equipment and storage medium | |
CN113641964B (en) | Repackaging application detection method, electronic device and storage medium | |
CN116842093A (en) | Data acquisition method and system for large-scale user screening | |
CN117520206A (en) | UI test method, system, equipment and storage medium of software | |
CN115344438A (en) | Automatic memory test method, device, equipment and storage medium | |
CN116415234A (en) | Interface crawling prevention method, device, equipment and storage medium | |
CN112035310A (en) | USB flash disk ID detection method, device, equipment and storage medium | |
CN114020365A (en) | Parameter configuration method of stream computing processing engine and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |