Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a fingerprint identification method and a fingerprint identification device. The method can accurately identify the authenticity of the fingerprint, thereby improving the safety of fingerprint identification. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a fingerprint identification method according to an embodiment of the present invention. The method shown in fig. 1 may be applied to security and settlement systems of terminal devices such as an access attendance system, an e-commerce transaction system, a financial transaction system, a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), an intelligent wearable Device, etc. As shown in fig. 1, the fingerprint identification method may include the steps of:
101. the fingerprint identification device collects a fingerprint image for a target object and determines a target fingerprint pattern from the fingerprint image.
In the embodiment of the present invention, the target fingerprint grain is any grain in the fingerprint image, and the target object may be a user, or a finger of the user or another object having a fingerprint grain. The fingerprint identification device can acquire the fingerprint of a target object through the fingerprint sensor and capture a frame of fingerprint image. At this moment, the collected fingerprint image comprises a plurality of fingerprint lines, and the fingerprint identification device only needs to determine one fingerprint line at will. As shown in fig. 2, fig. 2 is a fingerprint image disclosed in the embodiment of the present invention, and in fig. 2, it can be clearly seen that the fingerprint image is composed of a plurality of fingerprint lines.
102. The fingerprint identification device judges whether sweat pores exist in the target fingerprint lines, if so, step 103 is executed; if not, go to step 104.
In the embodiment of the invention, after the target fingerprint line is determined, the fingerprint identification device searches sweat gland holes in the target fingerprint line, if sweat gland holes exist in the target fingerprint line, the fingerprint can be determined to be true, and if sweat gland holes do not exist in the target fingerprint line, the fingerprint is determined to be false.
Further, the specific manner of the fingerprint identification device determining whether sweat pores exist in the target fingerprint lines may be:
acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image;
judging whether the characteristic information is matched with preset characteristic information or not;
and if the characteristic information is matched with preset characteristic information, searching a target characteristic point in the gray-scale image according to the characteristic information, and determining the target characteristic point as a sweat gland hole.
In a specific implementation, after determining a target fingerprint grain, the fingerprint identification device selects any point on the target fingerprint grain, and with the point as a center, first cuts a section in any direction, calculates gray scale values of all positions on the section, and draws a gray scale map of the section, as shown in fig. 3, where fig. 3 is a gray scale map of a section of the target fingerprint grain disclosed in the embodiment of the present invention. The gray scale map is composed of gray scale values on a section, and the fingerprint identification device can determine the characteristic information of the gray scale map. The characteristic information may refer to a trend of a connection line between gray scale values, such as forming a horizontal straight line, forming a curve (such as the gray scale graph shown in fig. 3) like a "valley" or a "peak", forming a wavy line, or forming an inclined or vertical straight line, and the like, which is not limited in the embodiment of the present invention.
Further, after determining the characteristic information of the gray-scale image, the fingerprint identification device further judges whether the characteristic information is matched with preset characteristic information, if so, the fingerprint identification device searches a target characteristic point in the gray-scale image according to the characteristic information and determines the target characteristic point as the sweat gland hole of the finger of the user. Specifically, the preset feature information may be that a connection line between the gray-scale values is a curve like a "valley" or a "peak". The matching of the characteristic information of the gray-scale map and the preset characteristic information can be understood as follows: the connecting line between the gray scale values in the gray scale map is a curve like a valley or a peak.
Therefore, if the characteristic information of the gray-scale image is matched with the preset characteristic information, the fingerprint identification device can search the target characteristic point in the gray-scale image. If the characteristic information of the gray-scale image is that the connecting line between the gray-scale values is a curve like a valley, the target characteristic point is specifically the lowest point in the gray-scale image; if the characteristic information of the gray scale map is that the connecting line between the gray scale values is a curve like a peak, the target characteristic point specifically refers to the highest point in the gray scale map.
It should be noted that, if the feature information of the grayscale map does not match the preset feature information, the fingerprint identification device may use the current point as the center and use the tangent plane as the start plane, rotate a certain angle and then obtain the tangent plane again, so as to continue to draw the grayscale map of the tangent plane until the feature information of the grayscale map matches the preset feature information.
Further, if the gray-scale map with the matching feature information and the preset feature information is not found after the current point is rotated by 180 degrees, the fingerprint identification device may find the next point near the point and repeat the above determination. If no gray-scale image with characteristic information matched with the preset characteristic information is found in the target fingerprint grain, the sweat pore does not exist in the target fingerprint grain.
103. The fingerprint recognition device determines the fingerprint of the target object as a live fingerprint.
In the embodiment of the invention, when the fingerprint identification device judges that sweat pores exist in the target fingerprint lines, the fingerprint corresponding to the fingerprint image is a true fingerprint, and the fingerprint of the target object can be determined to be a fingerprint living body to a certain extent.
104. The fingerprint identification device determines the fingerprint of the target object as a fingerprint prosthesis.
In the embodiment of the invention, when the fingerprint identification device judges that sweat pores do not exist in the target fingerprint pattern, the fingerprint corresponding to the fingerprint image is a false fingerprint, and the fingerprint of the target object can be determined to be a fingerprint false body to a certain extent.
For example, if a user needs to enter a vault, a fingerprint model made of silica gel is used for fingerprint authentication, although the fingerprint identification device identifies that the right corresponding to the fingerprint can enter the vault, obviously the sweat gland hole cannot be found in any fingerprint line, and the fingerprint identification device can determine that the fingerprint is a false fingerprint, so that the authentication on the fingerprint fails.
It can be seen that, in the method described in fig. 1, after the fingerprint identification device collects the fingerprint image of the target object, it may determine any fingerprint line from the fingerprint image, and determine whether sweat gland holes exist in the fingerprint line, if sweat gland holes exist, it indicates that the fingerprint of the target object is a living fingerprint, and if sweat gland holes do not exist, it indicates that the fingerprint of the target object is a fingerprint prosthesis. By the embodiment of the invention, the fingerprint identification device can identify sweat gland holes in the fingerprint image and identify the authenticity of the fingerprint according to whether the sweat gland holes exist in the fingerprint image, so that the authenticity of the fingerprint can be accurately identified, and the safety of fingerprint identification is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another fingerprint identification method according to an embodiment of the present invention. As shown in fig. 4, the fingerprint identification method may include the steps of:
401. the fingerprint identification device collects a fingerprint image for a target object and determines a target fingerprint pattern from the fingerprint image.
In the embodiment of the present invention, the target fingerprint line is any line in the fingerprint image, and the embodiment of the present invention is not limited.
402. The fingerprint identification device obtains the line width of the target fingerprint line and judges whether the line width is within a preset width range, if so, step 403 is executed; if not, go to step 407.
In the embodiment of the present invention, the preset width range may be 400um to 600um, and the embodiment of the present invention is not limited. After determining the target fingerprint texture, the fingerprint identification device can acquire a gray scale map of the section of the target fingerprint texture. As shown in fig. 2, in a typical gray scale map of a fingerprint section, the gray scale values at the two ends are lower than the gray scale value at the middle portion because the positions represented by the two ends in the gray scale map are the gaps between two fingerprint lines. Therefore, after the fingerprint identification device obtains the gray-scale image of the section of the target fingerprint texture, the texture width of the target fingerprint texture is determined according to the positions corresponding to the two ends in the gray-scale image.
Specifically, the fingerprint identification device determines the line width of the target fingerprint line according to the positions corresponding to the two ends in the gray-scale image, and the determination may be as follows: after the fingerprint identification device acquires the gray scale image, whether a connecting line between all gray scale values in the gray scale image is symmetrical needs to be judged, if the middle position of the connecting line is taken as a central point, the gray scale values of two points which are the same with the central point are basically the same, if the connecting line is symmetrical, the tangent plane is a tangent plane which is vertical to the grain direction of the target fingerprint grain, then the points corresponding to the gray scale values which are positioned at two ends of the connecting line in the gray scale image can be determined to be a gap between the two fingerprint grains, and therefore the distance between the two points can be calculated, and the distance is the grain width of the target fingerprint grain.
Generally, the line width of a normal person fingerprint line is between 400um and 600um, and then the fingerprint identification device can judge whether the line width is in the range after determining the line width of a target fingerprint line, if so, the fingerprint identification device only has to judge whether sweat gland holes exist in the target fingerprint line, and if not, the fingerprint of the target object is a false fingerprint.
In the embodiment of the invention, under the normal condition, the width of each fingerprint line of each user is in a certain range, although the false fingerprint made by silica gel or rubber is almost the same as the line of a real fingerprint, the condition that the width of the fingerprint line is not proper is not eliminated, therefore, the judgment on the width of the fingerprint line is increased, the accuracy of identifying the real and false fingerprints can be improved, and the safety of fingerprint identification is improved.
403. The fingerprint identification device judges whether sweat pores exist in the target fingerprint lines, if so, step 404 is executed; if not, go to step 407.
In the embodiment of the present invention, the way of identifying sweat pores by the fingerprint identification device is the same as the above embodiment, and is not repeated herein.
404. The fingerprint identification device determines the line direction of the target fingerprint line and searches sweat pores in the target fingerprint line along the line direction.
In the embodiment of the present invention, the fingerprint identification device determines the grain direction of the target fingerprint grain, specifically: acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image; judging whether the characteristic information is matched with preset characteristic information or not; and if the characteristic information is matched with the preset characteristic information, determining the direction of the normal of the straight line of the tangent plane in the target fingerprint grain as the grain direction of the target fingerprint grain. The normal line is a straight line perpendicular to the straight line of the tangent plane in the target fingerprint pattern.
Further, after determining the texture direction of the target fingerprint texture, the fingerprint identification device may search sweat pores in the target fingerprint texture along the texture direction, and record the number of sweat pores, and please refer to step 102 for a specific search mode.
Optionally, the fingerprint identification device may search all sweat pores in the target fingerprint grain, or may continuously search for 5 or more sweat pores based on the first found sweat pore.
405. The fingerprint identification device judges whether the number of sweat gland holes in the target fingerprint texture exceeds a preset number threshold, if so, step 406 is executed; if not, go to step 407.
In this embodiment of the present invention, the preset number threshold may be 5, 7, or 10, and the embodiment of the present invention is not limited. After sweat gland holes of target fingerprint lines are found out along the line direction by the fingerprint identification device, whether the number of the sweat gland holes in the target fingerprint lines exceeds a preset number threshold value or not can be judged, if the number of the sweat gland holes exceeds the preset number threshold value, continuous sweat gland holes exist in the line direction of the target fingerprint lines to a certain extent, and then the fingerprint of the target object can be determined as a fingerprint living body. If the number of sweat pores in the target fingerprint pattern does not exceed the preset number threshold, it indicates to some extent that there are no continuous sweat pores in the pattern direction of the target fingerprint pattern, and the fingerprint of the target object may be determined as a fingerprint prosthesis.
In the embodiment of the invention, the judgment of the number of sweat gland holes is added, so that the accidental occurrence of target characteristic points in the section gray-scale image caused by other impurities in the fingerprint acquisition process can be avoided, and the condition of misjudgment of true and false fingerprints can be reduced.
As a possible implementation, after determining that the number of sweat gland holes in the target fingerprint texture exceeds the preset number threshold, the fingerprint identification apparatus may further perform the following operations:
acquiring the distance between any two adjacent sweat gland holes;
judging whether the distance is within a preset distance range;
if the distance is within the preset distance range, determining the fingerprint of the target object as a fingerprint living body;
and if the distance is not within the preset distance range, determining the fingerprint of the target object as the fingerprint prosthesis.
In a specific implementation, the preset distance range may be 150um to 350um, and the sweat gland hole distance of a general person is used as a reference in the embodiment of the present invention, but the preset distance range is not limited in the embodiment of the present invention. Therefore, when the fingerprint identification device judges that the number of sweat gland holes in the target fingerprint texture exceeds a preset number threshold, a sweat gland hole can be determined at will, the distance between the sweat gland hole and the adjacent sweat gland holes is calculated, if the distance is within a preset distance range, the fingerprint of the target object is a fingerprint living body, and if the distance is not within the preset distance range, the fingerprint of the target object is a fingerprint false body.
In the embodiment of the invention, the judgment of the distance between sweat gland holes is added, so that the accuracy of fingerprint identification can be improved, and the safety of fingerprint identification is improved.
Certainly, there may be a special case that the distance between sweat gland holes of the fingerprint of the current user is really not within the preset distance range, in this case, the fingerprint identification device may pre-store the distance between sweat gland holes of the finger corresponding to the real fingerprint, and then when identifying that the feature of the fingerprint is matched with the feature of the fingerprint in the database, obtain the distance between sweat gland holes corresponding to the fingerprint in the database, thereby further determining whether the distance between sweat gland holes of the currently obtained fingerprint is matched with the data stored in the database, and is within the allowable error range, if so, determining that the fingerprint is a living fingerprint.
406. The fingerprint recognition device determines the fingerprint of the target object as a live fingerprint.
407. The fingerprint identification device determines the fingerprint of the target object as a fingerprint prosthesis.
As another possible implementation manner, when the fingerprint identification device identifies that the fingerprint of the target object is a fingerprint prosthesis, the fingerprint identification device may further output an early warning prompt to prompt that the fingerprint is a prosthesis.
For example, some bank insurance systems need to acquire the right to enter the insurance vault through fingerprint identification, and if a criminal makes a fake finger, the fingerprint identification device can identify whether the fingerprint is true or false by determining whether sweat pores exist in fingerprint lines after the fingerprint identification is passed, that is, the fingerprint is identified to have the right to enter the insurance vault. If the fingerprint identification device does not pass through the fingerprint identification, or sweat gland holes do not exist in the fingerprint lines, the fingerprint identification device can send out early warning prompts to prompt bank workers or security department safes that potential safety hazards exist. After receiving the early warning prompt, the bank staff or the public security organization can take corresponding protective measures to ensure the safety of property.
It can be seen that in the method described in fig. 4, the fingerprint identification device can identify sweat pores in the fingerprint image and identify the authenticity of the fingerprint according to whether sweat pores exist in the fingerprint image. Furthermore, the embodiment of the invention increases the judgment on the width of the fingerprint lines, the number of sweat gland holes, the distance between sweat gland holes and the like, and can reduce the error of the judgment of true and false fingerprints, thereby improving the accuracy and the safety of fingerprint identification.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a fingerprint identification device according to an embodiment of the present invention. As shown in fig. 5, the fingerprint recognition device 500 may include the following elements:
an acquiring unit 501, configured to acquire a fingerprint image for a target object.
A first determining unit 502, configured to determine a target fingerprint pattern from the fingerprint image. Wherein, the target fingerprint line is any line in the fingerprint image.
The determining unit 503 is configured to determine whether sweat pores exist in the target fingerprint pattern.
A second determining unit 504, configured to determine that the fingerprint of the target object is a fingerprint living body when the determining unit 503 determines that sweat pores exist in the target fingerprint. Alternatively, when the determining unit 503 determines that sweat pores do not exist in the target fingerprint pattern, it determines that the fingerprint of the target object is a fingerprint prosthesis.
In the embodiment of the present invention, the fingerprint identification apparatus 500 may identify sweat pores in the fingerprint image, and identify the authenticity of the fingerprint according to whether sweat pores exist in the fingerprint image, so as to accurately identify the authenticity of the fingerprint, and improve the security of fingerprint identification.
Specifically, the specific way for determining whether sweat pores exist in the target fingerprint pattern by the determining unit 503 may be:
acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image;
judging whether the characteristic information is matched with preset characteristic information or not;
if the characteristic information is matched with preset characteristic information, detecting whether a target characteristic point exists in the gray-scale image or not according to the characteristic information;
and if the target characteristic point exists, determining the target characteristic point as a sweat pore.
The characteristic information may refer to a trend of a connection line between gray scale values, such as forming a horizontal straight line, forming a curve (such as the gray scale graph shown in fig. 3) like a "valley" or a "peak", forming a wavy line, or forming an inclined or vertical straight line, and the like, which is not limited in the embodiment of the present invention. The preset characteristic information may be that a connection line between the gray-scale values is a curve like a valley or a peak.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another fingerprint identification device according to an embodiment of the present invention. The fingerprint recognition device 500 depicted in fig. 6 is optimized based on the fingerprint recognition device 500 depicted in fig. 5. As shown in fig. 6, the fingerprint identification device 500 may further include an obtaining unit 505 and a searching unit 506, wherein the obtaining unit 505 may perform the operations performed by the first obtaining unit and the second obtaining unit in the claims:
an obtaining unit 505 is configured to obtain a line width of the target fingerprint line.
The determining unit 503 is further configured to determine whether the texture width is within a preset width range, and if the texture width is not within the preset width range, trigger the second determining unit 504 to determine that the fingerprint of the target object is a fingerprint prosthesis. If the line width is in the preset width range, whether sweat pores exist in the target fingerprint line is further judged.
The preset width range may be 400um to 600um, and the embodiment of the present invention is not limited.
As a possible implementation manner, the first determining unit 502 is further configured to determine the line direction of the target fingerprint line when the determining unit 503 determines that sweat pores exist in the target fingerprint line.
And a searching unit 506, configured to search sweat pores in the target fingerprint pattern along the pattern direction.
The determining unit 503 is further configured to determine whether the number of sweat pores in the target fingerprint texture exceeds a preset number threshold, if the number exceeds the preset number threshold, trigger the second determining unit 504 to determine that the fingerprint of the target object is a fingerprint living body, and if the number does not exceed the preset number threshold, trigger the second determining unit 504 to determine that the fingerprint of the target object is a fingerprint prosthesis.
The preset number threshold may be 5, 7, or 10, and the embodiment of the present invention is not limited. The first determining unit 502 may specifically determine the grain direction of the target fingerprint grain as follows: acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image; judging whether the characteristic information is matched with preset characteristic information or not; and if the characteristic information is matched with the preset characteristic information, determining the direction of the normal of the straight line of the tangent plane in the target fingerprint grain as the grain direction of the target fingerprint grain.
As another possible implementation, the obtaining unit 505 is further configured to obtain the distance between any two adjacent sweat pores when the determining unit 503 determines that the number exceeds the preset number threshold.
The determining unit 503 is further configured to determine whether the distance is within a preset distance range, trigger the second determining unit 504 to determine that the fingerprint of the target object is a fingerprint living body if the distance is within the preset distance range, and trigger the second determining unit 504 to determine that the fingerprint of the target object is a fingerprint prosthesis if the distance is not within the preset distance range.
The preset distance range may be 150um to 350um, and the sweat gland hole distance of the general person is taken as a reference in the embodiment of the present invention, but the preset distance range is not limited in the embodiment of the present invention.
It can be seen that in the fingerprint recognition device described in fig. 5 and 6, the fingerprint recognition device can recognize sweat pores in the fingerprint image and recognize the authenticity of the fingerprint according to the presence or absence of sweat pores in the fingerprint image. Furthermore, the embodiment of the invention increases the judgment on the width of the fingerprint lines, the number of sweat gland holes, the distance between sweat gland holes and the like, and can reduce the error of the judgment of true and false fingerprints, thereby improving the accuracy and the safety of fingerprint identification.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a fingerprint identification device according to an embodiment of the present invention. Among them, the fingerprint recognition device 700 shown in fig. 7 may include: one or more processors 701, one or more input devices 702, one or more output devices 703, and memory 704. The processor 701, the input device 702, the output device 703, and the memory are connected by a bus 705. The memory 705 is used for storing instructions and the processor 701 executes the instructions stored in the memory 702 in a language. Wherein:
an input device 702 is used to capture a fingerprint image for a target object.
The processor 701 is configured to determine a target fingerprint pattern from the fingerprint image, determine whether sweat pores exist in the target fingerprint pattern, determine that the fingerprint of the target object is a fingerprint living body if sweat pores exist in the target fingerprint pattern, and determine that the fingerprint of the target object is a fingerprint prosthesis if sweat pores do not exist in the target fingerprint pattern.
Wherein, the target fingerprint line is any line in the fingerprint image.
As a possible implementation manner, the specific way for the processor 701 to determine whether sweat pores exist in the target fingerprint texture may be:
acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image;
judging whether the characteristic information is matched with preset characteristic information or not;
if the characteristic information is matched with preset characteristic information, detecting whether a target characteristic point exists in the gray-scale image or not according to the characteristic information;
and if the target characteristic point exists, determining the target characteristic point as a sweat pore.
The characteristic information may refer to a trend of a connection line between gray scale values, such as forming a horizontal straight line, forming a curve (such as the gray scale graph shown in fig. 3) like a "valley" or a "peak", forming a wavy line, or forming an inclined or vertical straight line, and the like, which is not limited in the embodiment of the present invention. The preset characteristic information may be that a connection line between the gray-scale values is a curve like a valley or a peak.
As another possible implementation manner, the processor 701 is further configured to obtain a line width of the target fingerprint line, determine whether the line width is within a preset width range, determine that the fingerprint of the target object is a fingerprint prosthesis if the line width is not within the preset width range, and further determine whether sweat pores exist in the target fingerprint line if the line width is within the preset width range.
The preset width range may be 400um to 600um, and the embodiment of the present invention is not limited.
As another possible implementation, the processor 701 is further configured to determine a line direction of the target fingerprint line when sweat pores exist in the target fingerprint line, search sweat pores in the target fingerprint line along the line direction, determine whether the number of sweat pores in the target fingerprint line exceeds a preset number threshold, determine that the fingerprint of the target object is a live fingerprint if the number exceeds the preset number threshold, and determine that the fingerprint of the target object is a fingerprint prosthesis if the number does not exceed the preset number threshold.
The preset number threshold may be 5, 7, or 10, and the embodiment of the present invention is not limited. The processor 701 may specifically determine the grain direction of the target fingerprint grain as: acquiring a gray-scale image of a target fingerprint grain section, and determining characteristic information of the gray-scale image; judging whether the characteristic information is matched with preset characteristic information or not; and if the characteristic information is matched with the preset characteristic information, determining the direction of the normal of the straight line of the tangent plane in the target fingerprint grain as the grain direction of the target fingerprint grain.
As another possible implementation, the processor 701 is further configured to, when the number exceeds a preset number threshold, obtain a distance between any two adjacent sweat pores, and determine whether the distance is within a preset distance range, determine that the fingerprint of the target object is a living fingerprint if the distance is within the preset distance range, and determine that the fingerprint of the target object is a fingerprint prosthesis if the distance is not within the preset distance range.
The preset distance range may be 150um to 350um, and the sweat gland hole distance of the general person is taken as a reference in the embodiment of the present invention, but the preset distance range is not limited in the embodiment of the present invention.
It can be seen that in the fingerprint identification apparatus described in fig. 7, the fingerprint identification apparatus can identify sweat pores in the fingerprint image and identify the authenticity of the fingerprint according to whether sweat pores exist in the fingerprint image. Furthermore, the embodiment of the invention increases the judgment on the width of the fingerprint lines, the number of sweat gland holes, the distance between sweat gland holes and the like, and can reduce the error of the judgment of true and false fingerprints, thereby improving the accuracy and the safety of fingerprint identification.
It should be understood that, in the embodiment of the present invention, the Processor 701 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input devices 702 may include a touch pad, a fingerprint sensor (for capturing a fingerprint), a microphone, etc., and the output devices 703 may include a display (LCD, etc.), a speaker, etc.
The memory 704 may include both read-only memory and random-access memory, and provides instructions and data to the processor 701. A portion of the memory 704 may also include non-volatile random access memory. For example, the memory 704 may also store device type information.
In a specific implementation, the processor 701, the input device 702, and the output device 703, which are described in the embodiment of the present invention, may execute the implementation manners described in the first embodiment and the second embodiment of the fingerprint identification method disclosed in the embodiment of the present invention, and may also execute the implementation manner of the fingerprint identification apparatus described in the embodiment of the present invention, which is not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.