CN107622193B - fingerprint unlocking method and related product - Google Patents

fingerprint unlocking method and related product Download PDF

Info

Publication number
CN107622193B
CN107622193B CN201710865055.2A CN201710865055A CN107622193B CN 107622193 B CN107622193 B CN 107622193B CN 201710865055 A CN201710865055 A CN 201710865055A CN 107622193 B CN107622193 B CN 107622193B
Authority
CN
China
Prior art keywords
fingerprint
fingerprint image
data values
areas
normal
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.)
Expired - Fee Related
Application number
CN201710865055.2A
Other languages
Chinese (zh)
Other versions
CN107622193A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710865055.2A priority Critical patent/CN107622193B/en
Publication of CN107622193A publication Critical patent/CN107622193A/en
Application granted granted Critical
Publication of CN107622193B publication Critical patent/CN107622193B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Collating Specific Patterns (AREA)
  • Image Input (AREA)

Abstract

The embodiment of the invention discloses a fingerprint unlocking method and a related product, wherein the method comprises the following steps: acquiring a fingerprint image; adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent; determining a first center of the fingerprint image and a second center of the preset fingerprint template; dividing the fingerprint image into a plurality of first areas based on the first center and a first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode; matching the plurality of first areas with the plurality of second areas in parallel; and when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal. By implementing the embodiment of the invention, the fingerprint matching time can be reduced, and the unlocking efficiency can be improved.

Description

Fingerprint unlocking method and related product
Technical Field
the invention relates to the technical field of electronic equipment, in particular to a fingerprint unlocking method and a related product.
background
with the rapid development of information technology, the use of terminals (such as mobile phones, tablet computers, etc.) is becoming more and more popular. The fingerprint identification technology is used as a standard matching technology on the terminal, and can be widely applied to unlocking, awakening, mobile payment and the like of the terminal. While fingerprint identification technology is popular, in order to achieve quick unlocking, the unlocking time of the terminal is also a direct concern for terminal manufacturers.
in practical application, the user often can find that when the finger is too dry or too wet, the fingerprint identification module needs to be pressed many times, and the unlocking is likely to be successful, so that the fingerprint unlocking efficiency is reduced.
disclosure of Invention
the embodiment of the invention provides a fingerprint unlocking method and a related product, which can reduce fingerprint matching time and improve unlocking efficiency.
the embodiment of the invention discloses a fingerprint unlocking method, which comprises the following steps:
acquiring a fingerprint image;
Adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent;
determining a first center of the fingerprint image and a second center of the preset fingerprint template;
Dividing the fingerprint image into a plurality of first areas based on the first center and a first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode;
matching the plurality of first areas with the plurality of second areas in parallel;
and when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal.
as an optional implementation manner, the adjusting the direction of the fingerprint image and the preset fingerprint template to be consistent includes:
extracting a plurality of first characteristics of the preset fingerprint template;
Extracting a plurality of second features of the fingerprint image;
determining a first target feature and a second target feature which have the highest matching degree, wherein the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
and adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature.
as an optional implementation, the extracting a plurality of first features in the preset fingerprint template includes:
Dividing the preset fingerprint template into a plurality of areas;
at least one of the first features is selected from each of the plurality of regions.
As an optional implementation, the parallel matching the plurality of first regions and the plurality of second regions includes:
matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel.
as an optional implementation manner, after the acquiring the fingerprint image and before the adjusting the orientation of the fingerprint image to be consistent with the preset fingerprint template, the method further includes:
and judging whether the fingerprint image is the image of the wet finger or not, if so, executing the step of adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent.
As an optional implementation, the determining whether the fingerprint image is an image of a dry finger or an image of a wet finger includes:
extracting feature points of the fingerprint image;
And judging whether the number of the characteristic points of the fingerprint image is smaller than a first preset threshold value, if so, determining that the fingerprint image is the image of the dry finger or the image of the wet finger.
as an optional implementation, the acquiring the fingerprint image includes:
When a user presses the fingerprint identification module, determining an acquisition area of the fingerprint identification module;
acquiring the n2 normal bottom layer data values through n2 normal sensing electrodes in the acquisition region, acquiring the n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the acquisition region, wherein the n1 abnormal bottom layer data values and the n2 normal bottom layer data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least comprises the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
Determining n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
Generating a fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values.
optionally, the determining n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values collected by the n2 normal sensing electrodes of the fingerprint identification module includes:
dividing the collection area into a plurality of independent areas, wherein each independent area in the plurality of independent areas contains a plurality of the normal underlying data values collected by the normal sensing electrodes and at least one of the abnormal underlying data values collected by the abnormal sensing electrodes;
Determining a mean value of all the normal bottom layer data values in the independent area i, and taking the mean value as a bottom layer repair data value corresponding to the abnormal sensing electrode in the independent area i, wherein the independent area i is any one of the plurality of independent areas.
Correspondingly, the embodiment of the invention also discloses a terminal, which comprises:
An acquisition unit configured to acquire a fingerprint image;
The adjusting unit is used for adjusting the directions of the fingerprint image acquired by the acquiring unit and a preset fingerprint template to be consistent;
The determining unit is used for determining a first center of the fingerprint image and a second center of the preset fingerprint template;
A partitioning unit, configured to partition the fingerprint image into a plurality of first areas based on the first center and the first partitioning manner determined by the determining unit, and partition the preset fingerprint template into a plurality of second areas based on the second center and the first partitioning manner determined by the determining unit;
The matching unit is used for matching the plurality of first areas with the plurality of second areas in parallel;
And the unlocking unit is used for unlocking the terminal when the plurality of first areas and the plurality of second areas are successfully matched.
As an optional implementation, the adjusting unit includes:
The first extraction module is used for extracting a plurality of first characteristics of the preset fingerprint template;
The first extraction module is further specifically configured to:
extracting a plurality of second features of the fingerprint image;
A determining module, configured to determine a first target feature and a second target feature with a highest matching degree, where the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
And the adjusting module is used for adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature.
as an optional implementation, the first extraction module includes:
the blocking module is used for dividing the preset fingerprint template into a plurality of areas;
a selecting module for selecting at least one of the first features from each of the plurality of regions.
as an optional implementation manner, the matching unit is specifically configured to:
Matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel.
As an optional implementation manner, the terminal further includes:
and the judging unit is used for judging whether the fingerprint image is an image of a wet finger or not before the fingerprint image is acquired by the acquiring unit, and if the judgment result of the judging unit is yes, the adjusting unit adjusts the directions of the fingerprint image and a preset fingerprint template to be consistent.
as an optional implementation manner, the determining unit includes:
The second extraction module is used for extracting the characteristic points of the fingerprint image;
and the judging module is used for judging whether the number of the characteristic points of the fingerprint image is smaller than a first preset threshold value, and if so, determining that the fingerprint image is the image of the dry finger or the image of the wet finger.
as an optional implementation, the obtaining unit includes:
the fourth determining module is used for determining the acquisition area of the fingerprint identification module when a user presses the fingerprint identification module;
A first obtaining module, configured to obtain the n2 normal underlying data values through n2 normal sensing electrodes in the collecting region, obtain the n1 abnormal underlying data values through n1 abnormal sensing electrodes in the collecting region, where the n1 abnormal underlying data values and the n2 normal underlying data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least includes the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
the repairing module is used for determining n1 bottom layer repairing data values corresponding to the n1 abnormal sensing electrodes according to n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
a generating module for generating a fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values.
Optionally, the repair module comprises:
A partitioning module, configured to partition the collection area into a plurality of independent areas, where each independent area in the plurality of independent areas includes a plurality of normal underlying data values collected by the normal sensing electrodes and at least one abnormal underlying data value collected by the abnormal sensing electrode;
A fifth determining module, configured to determine a mean value of all the normal underlying data values in the independent area i, and use the mean value as an underlying repair data value corresponding to the abnormal sensing electrode in the independent area i, where the independent area i is any one of the multiple independent areas.
A third aspect of the embodiments of the present invention further provides a terminal, including:
the system comprises a processor, a memory, a communication interface, a fingerprint identification module and a communication bus, wherein the processor, the memory, the fingerprint identification module and the communication interface are connected through the communication bus and complete mutual communication;
the memory is stored with executable program codes, the fingerprint identification module is used for acquiring fingerprint images, and the communication interface is used for wireless communication;
the processor is configured to call the executable program code in the memory to perform any one of the methods provided by the embodiments of the present invention.
a third aspect of the embodiments of the present invention further provides a terminal, including:
the system comprises a processor, a memory, a communication interface, a fingerprint identification module and a communication bus, wherein the processor, the memory, the fingerprint identification module and the communication interface are connected through the communication bus and complete mutual communication;
the memory is stored with executable program codes, the fingerprint identification module is used for acquiring fingerprint images, and the communication interface is used for wireless communication;
the processor is configured to call the executable program code in the memory, and perform part or all of the steps of the first aspect provided by the embodiments of the present invention.
according to the technical scheme, the embodiment of the invention has the following advantages: the direction of the fingerprint image is adjusted to be consistent with that of the preset fingerprint template, the first center of the fingerprint image and the second center of the preset fingerprint template are determined, the fingerprint image is divided into a plurality of first areas based on the first center and the first blocking mode, the preset fingerprint template is divided into a plurality of second areas based on the second center and the first blocking mode, then the plurality of first areas and the plurality of second areas are matched in parallel, and when the matching is successful, the terminal is unlocked. The fingerprint matching time can be reduced, and the unlocking efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
fig. 1 is a schematic flowchart of a first embodiment of a fingerprint unlocking method disclosed in an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second embodiment of a fingerprint unlocking method according to an embodiment of the present invention;
fig. 3a is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention;
fig. 3b is a schematic structural diagram of an adjusting unit of the terminal depicted in fig. 3a according to an embodiment of the present invention;
fig. 3c is a schematic structural diagram of the first embodiment of the terminal according to the embodiment of the present invention;
Fig. 3d is a schematic structural diagram of a determining unit of the terminal depicted in fig. 3c according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second embodiment of a terminal disclosed in the embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a mobile phone disclosed in the embodiment of the present invention.
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 some, not all, embodiments of the present invention. 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 terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The terminal described in the embodiment of the present invention may include a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), a wearable device, and the like, which are merely examples and are not exhaustive, and include but not limited to the above terminals.
fig. 1 is a flowchart illustrating a fingerprint unlocking method according to a first embodiment of the present invention. The fingerprint unlocking method described in the embodiment includes the following steps:
101. a fingerprint image is acquired.
in the concrete realization, press the in-process of fingerprint identification module at the user, but the partial fingerprint of collection user or whole fingerprint be as fingerprint image.
Optionally, the fingerprint image can be the fingerprint image of gathering at the in-process that the user pressed the fingerprint identification module, or, can be the fingerprint image of saving in locally.
further optionally, the fingerprint image may be a fingerprint image of one finger or a fingerprint image of a plurality of fingers of the user.
optionally, in the process that the user presses the fingerprint identification module, the effective range of the fingerprint identification module pressed by the user can be determined; the control fingerprint identification module gathers the pixel point in this effective range as the fingerprint image. Furthermore, the pressing force of a user contacting each acquisition point in the fingerprint identification module can be detected; and determining the acquisition points with the pressing force degree of each acquisition point larger than a certain threshold as an effective range. Can combine fingerprint identification module and pressure sensor together, so, when the fingerprint identification module was pressed, accessible pressure sensor detected out the pressing force degree of every acquisition point in the fingerprint identification module, and it is the fingerprint image to determine that the image that the acquisition point that pressing force degree is greater than this certain threshold value constitutes.
optionally, the above manner of acquiring the fingerprint image may also be as follows:
when a user presses the fingerprint identification module, determining an acquisition area of the fingerprint identification module;
acquiring the n2 normal bottom layer data values through n2 normal sensing electrodes in the acquisition region, acquiring the n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the acquisition region, wherein the n1 abnormal bottom layer data values and the n2 normal bottom layer data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least comprises the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
Determining the n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
Generating a fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values.
optionally, the determining the n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values collected by the n2 normal sensing electrodes of the fingerprint identification module may be:
Dividing the collection area into a plurality of independent areas, wherein each independent area in the plurality of independent areas contains a plurality of the normal underlying data values collected by the normal sensing electrodes and at least one of the abnormal underlying data values collected by the abnormal sensing electrodes;
determining a mean value of all the normal bottom layer data values in the independent area i, and taking the mean value as a bottom layer repair data value corresponding to the abnormal sensing electrode in the independent area i, wherein the independent area i is any one of the plurality of independent areas. By the method, the abnormal bottom layer data value in any independent area can be repaired by utilizing the normal bottom layer data value of the normal induction electrode in the independent area, so that the quality of the fingerprint image is better, and more characteristic points can be extracted from the fingerprint image.
Alternatively, the fingerprint image may be a fingerprint image transmitted from another device.
102. and adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent.
In specific implementation, one of the fingerprint image or the preset fingerprint template can be used as a reference, and affine transformation is adopted to adjust the directions of the fingerprint image and the preset fingerprint template to be consistent.
Optionally, extracting a plurality of first features of the preset fingerprint template; extracting a plurality of second features of the fingerprint image; determining a first target feature and a second target feature which have the highest matching degree, wherein the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features; and adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature. The plurality of features of the preset fingerprint template may be feature points or feature outlines. Preferably, the plurality of features may be stable features in the preset fingerprint template, and the stable features may be understood as features which are used for matching in the matching process and have a large number of matching success times, or the stable features may be features in the preset fingerprint template which can be used for uniquely marking the preset fingerprint template, or the stable features may be prominent features in the preset fingerprint template. In general, features have sizes and directions, and for taking Feature points, there are sizes and directions of Feature points extracted from a preset fingerprint template by Scale Invariant Feature Transform (SIFT). Features in the fingerprint image may be extracted using the same feature extraction algorithm as the preset fingerprint template. The preset fingerprint template and the fingerprint image can be respectively subjected to feature extraction, and then the extracted features of the fingerprint image are matched with the preset fingerprint template. Optionally, the preset fingerprint template and the fingerprint image may be respectively subjected to feature extraction, then, the features of the preset fingerprint template and/or the features of the fingerprint image are screened, after screening, the remaining features screened from the fingerprint image are matched with the remaining features screened from the preset fingerprint template, so that the matching efficiency can be improved, and when a first target feature of a plurality of first features is obtained to be matched with a second target feature of a plurality of second features, the direction of the fingerprint image and the direction of the preset fingerprint template can be adjusted to be consistent according to the direction of the first target feature and the direction of the second target feature.
103. And determining a first center of the fingerprint image and a second center of the preset fingerprint template.
In a specific implementation, the center or the center of gravity of the fingerprint image can be determined, the center or the center of gravity is used as a first center of the fingerprint image, and similarly, the center or the center of gravity of the preset fingerprint template is determined, and the center or the center of gravity is used as a second center of the preset fingerprint template.
optionally, the center of the position where the first target feature is located may be used as the center of the preset fingerprint template, and the position where the second target feature is located may be used as the center of the fingerprint image.
104. and dividing the fingerprint image into a plurality of first areas based on the first center and the first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode.
in the concrete implementation, the fingerprint image can be divided into a plurality of first areas by adopting a first block dividing mode according to the first center of the fingerprint image, and the preset fingerprint template is divided into a plurality of second areas by adopting the first block dividing mode based on the second center of the preset fingerprint template.
105. And matching the plurality of first areas with the plurality of second areas in parallel.
In a specific implementation, in the parallel mode, how many first regions or how many second regions, how many threads or processes may be used, and each thread or process may be used to match one first region with a second region corresponding to the first region.
alternatively, the plurality of first regions may be divided into at least two groups, and in the same manner, the plurality of regions may be divided into at least two groups, each group having a corresponding group of second regions. How many threads or processes are available for each group, each thread or process operable to match a set of first regions to a set of second regions corresponding to the set of first regions.
106. and when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal.
in a specific implementation, when the plurality of first areas and the plurality of second areas are successfully matched, the terminal may be unlocked or an application in the terminal may be unlocked. For example, when the terminal is in a screen-off state, the terminal is unlocked, a display screen of the terminal is lightened, and an unlocked desktop is displayed; or unlocking the terminal when the terminal is in a bright screen state, and displaying the unlocked desktop; or, when the terminal is in an unlocked state, unlocking at least one application of the terminal, namely starting the at least one application or displaying a preset page of one application in the at least one application; or, when the terminal is in the screen-off state, at least one application of the terminal may be unlocked, that is, the at least one application is started or a preset page of one application of the at least one application is displayed.
it can be seen that the direction of the fingerprint image is adjusted to be consistent with that of the preset fingerprint template, the first center of the fingerprint image and the second center of the preset fingerprint template are determined, the fingerprint image is divided into a plurality of first areas based on the first center and the first blocking mode, the preset fingerprint template is divided into a plurality of second areas based on the second center and the first blocking mode, then the plurality of first areas and the plurality of second areas are matched in parallel, and when the matching is successful, the terminal is unlocked. The fingerprint matching time can be reduced, and the unlocking efficiency is improved.
fig. 2 is a flowchart illustrating a fingerprint unlocking method according to a second embodiment of the present invention. The fingerprint unlocking method described in the embodiment includes the following steps:
201. a fingerprint image is acquired.
202. And judging whether the fingerprint image is an image of a dry finger or an image of a wet finger.
in the concrete implementation, because the fingerprint lines in the fingerprint image of the dry finger are intermittent, and the fingerprint lines of the fingerprint image of the wet finger with a large area are blurred and almost not distinguished, the fingerprint image can be analyzed to judge whether the fingerprint image comes from the dry finger or the wet finger.
Alternatively, the fingerprint image may be extracted to determine whether the fingerprint image is from a dry finger or a wet finger. If the lines of the fingerprint image are intermittent, the fingerprint image belongs to a dry finger, and if the fingerprint lines with larger areas appear in the fingerprint image, the fingerprint image belongs to a wet finger.
Optionally, feature points of the fingerprint image may be extracted; and judging whether the number of the characteristic points of the fingerprint image is smaller than a first preset threshold value, if so, determining that the fingerprint image is the image of the dry finger or the image of the wet finger.
optionally, feature points of a partial region of the fingerprint image may be extracted; and judging whether the number of the characteristic points of the fingerprint image is smaller than a preset threshold value, if so, determining that the fingerprint image is an image of a dry finger or an image of a wet finger. The partial area may be a designated area in the fingerprint image, for example, an area with a preset size and with the center of the fingerprint image as a dot. The partial region may be a random region in the fingerprint image. The preset threshold may be a fixed threshold, or the preset threshold may be related to an area of the fingerprint image.
alternatively, the fingerprint image may be judged to be in the preset range by extracting the number of the feature points of the fingerprint image. The preset range may be smaller than the first threshold, for example, the first threshold may be a certain percentage, for example, 50%, of the number of feature points of the preset fingerprint image, or the first threshold is a certain default value of the system. Further, the preset range may be between a second threshold and a third threshold, where the second threshold is smaller than the third threshold, the third threshold may be a certain percentage, for example, 50%, of the number of feature points of the preset fingerprint image, or the third threshold may be a certain default value of the system, and the second threshold may be a certain percentage, for example, 30%, of the number of feature points of the preset fingerprint image, or the second threshold may be a certain default value of the system. In general, the number of feature points of a dry finger or a wet finger is small, and the number of feature points of a fingerprint extracted by the terminal is small.
203. if yes, the direction of the fingerprint image is adjusted to be consistent with that of a preset fingerprint template.
optionally, if not, the fingerprint image can be directly matched with a preset fingerprint template, and if matching is successful, the terminal is unlocked.
204. Determining a first center of the fingerprint image and a second center of the preset fingerprint template;
205. Dividing the fingerprint image into a plurality of first areas based on the first center and a first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode;
206. matching the plurality of first areas with the plurality of second areas in parallel;
207. and when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal.
step 201, and steps 203-207 may refer to steps 101-106 of the fingerprint unlocking method described in fig. 1.
It can be seen that the direction of the fingerprint image is adjusted to be consistent with that of the preset fingerprint template, when the fingerprint image is a dry finger image or a wet finger image, a first center of the fingerprint image and a second center of the preset fingerprint template are determined, the fingerprint image is divided into a plurality of first areas based on the first center and a first blocking mode, the preset fingerprint template is divided into a plurality of second areas based on the second center and the first blocking mode, the plurality of first areas and the plurality of second areas are matched in parallel, and when the matching is successful, the terminal is unlocked. The fingerprint matching time can be reduced, and the unlocking efficiency is improved.
Please refer to fig. 3a, which is a schematic structural diagram of a terminal according to a first embodiment of the present invention. The terminal described in this embodiment includes: the obtaining unit 301, the adjusting unit 302, the determining unit 303, the blocking unit 304, the matching unit 305, and the unlocking unit 306 are specifically as follows:
An acquisition unit 301 for acquiring a fingerprint image;
an adjusting unit 302, configured to adjust the direction of the fingerprint image acquired by the acquiring unit 301 to be consistent with a preset fingerprint template;
a determining unit 303, configured to determine a first center of the fingerprint image and a second center of the preset fingerprint template;
A partitioning unit 304, configured to partition the fingerprint image into a plurality of first areas based on the first center and the first partitioning manner determined by the determining unit 303, and partition the preset fingerprint template into a plurality of second areas based on the second center and the first partitioning manner determined by the determining unit 303;
a matching unit 305, configured to match the plurality of first regions and the plurality of second regions in parallel;
an unlocking unit 306, configured to unlock the terminal when the multiple first areas and the multiple second areas are successfully matched.
optionally, as shown in fig. 3b, the adjusting unit 302 of the terminal shown in fig. 3a includes:
A first extracting module 3021, configured to extract a plurality of first features of the preset fingerprint template;
the first extracting module 3021 is further specifically configured to:
extracting a plurality of second features of the fingerprint image;
a determining module 3022, configured to determine a first target feature and a second target feature with a highest matching degree, where the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
An adjusting module 3023, configured to adjust the directions of the fingerprint image and the preset fingerprint template to be the same according to the direction of the first target feature and the direction of the second target feature.
further, the first extraction module 3021 includes:
A block module (not shown) for dividing the preset fingerprint template into a plurality of areas;
A selecting module (not shown) for selecting at least one of the first features from each of the plurality of regions.
optionally, the matching unit 305 is specifically configured to:
matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel.
Optionally, as shown in fig. 3c, the terminal shown in fig. 3a may further include:
a determining unit 307, configured to determine whether the fingerprint image is an image of a dry finger or an image of a wet finger after the acquiring unit 301 acquires the fingerprint image, and if the determination result of the determining unit 307 is yes, the adjusting unit 302 adjusts the directions of the fingerprint image and a preset fingerprint template to be the same.
alternatively, as shown in fig. 3d, the determining unit 307 in fig. 3c includes:
the second extraction module 3071, configured to extract feature points of the fingerprint image;
The determining module 3072 is configured to determine whether the number of the feature points of the fingerprint image is smaller than a first preset threshold, and if so, determine that the fingerprint image is the image of the dry finger or the image of the wet finger.
It can be seen that, with the terminal described in the embodiment of the present invention, the directions of the fingerprint image and the preset fingerprint template are adjusted to be consistent, the first center of the fingerprint image and the second center of the preset fingerprint template are determined, the fingerprint image is divided into a plurality of first areas based on the first center and the first blocking manner, the preset fingerprint template is divided into a plurality of second areas based on the second center and the first blocking manner, then the plurality of first areas and the plurality of second areas are matched in parallel, and when the matching is successful, the terminal is unlocked. The fingerprint matching time can be reduced, and the unlocking efficiency is improved.
Fig. 4 is a schematic structural diagram of a terminal according to a second embodiment of the present invention. The terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, e.g., a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, the memory 4000, and a communication interface (not shown) being connected through a bus 5000.
The input device 1000 may be a touch panel, a physical button or a mouse, a fingerprint recognition module, and the like.
the output device 2000 may be a display screen.
the memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 4000 is used for storing a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used for calling the program codes stored in the memory 4000 to execute the following operations:
the input device 1000 is configured to:
acquiring a fingerprint image;
the processor 3000 is configured to:
Adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent;
determining a first center of the fingerprint image and a second center of the preset fingerprint template;
Dividing the fingerprint image into a plurality of first areas based on the first center and a first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode;
matching the plurality of first areas with the plurality of second areas in parallel;
And when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal.
optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call the program code stored in the memory 4000, so as to adjust the orientation of the fingerprint image and the preset fingerprint template to be consistent, including:
extracting a plurality of first characteristics of the preset fingerprint template;
extracting a plurality of second features of the fingerprint image;
Determining a first target feature and a second target feature which have the highest matching degree, wherein the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
And adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature.
Optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call the program code stored in the memory 4000 for extracting a plurality of features from the preset fingerprint template, including:
dividing the preset fingerprint template into a plurality of areas;
At least one of the first features is selected from each of the plurality of regions.
Optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call the program codes stored in the memory 4000 for matching the plurality of first areas and the plurality of second areas in parallel, and include:
Matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel.
optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call the program code stored in the memory 4000, so as to, after acquiring the fingerprint image and before adjusting the orientation of the fingerprint image to be consistent with the preset fingerprint template, include:
And judging whether the fingerprint image is an image of a dry finger or an image of a wet finger, if so, executing the step of adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent.
Optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call program codes stored in the memory 4000 for determining whether the fingerprint image is an image of a dry finger or an image of a wet finger, including:
Extracting feature points of the fingerprint image;
and judging whether the number of the characteristic points of the fingerprint image is smaller than a first preset threshold value, if so, determining that the fingerprint image is the image of the dry finger or the image of the wet finger.
alternatively, the input device 1000, the output device 2000 and the processor 3000 are configured to call program codes stored in the memory 4000 for acquiring a fingerprint image, including:
When a user presses the fingerprint identification module, determining an acquisition area of the fingerprint identification module;
Acquiring the n2 normal bottom layer data values through n2 normal sensing electrodes in the acquisition region, acquiring the n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the acquisition region, wherein the n1 abnormal bottom layer data values and the n2 normal bottom layer data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least comprises the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
determining the n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
generating a fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values.
Optionally, the input device 1000, the output device 2000 and the processor 3000 are configured to call program codes stored in the memory 4000, so as to determine the n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values collected by the n2 normal sensing electrodes of the fingerprint identification module, where the method includes:
Dividing the collection area into a plurality of independent areas, wherein each independent area in the plurality of independent areas contains a plurality of the normal underlying data values collected by the normal sensing electrodes and at least one of the abnormal underlying data values collected by the abnormal sensing electrodes;
determining a mean value of all the normal bottom layer data values in the independent area i, and taking the mean value as a bottom layer repair data value corresponding to the abnormal sensing electrode in the independent area i, wherein the independent area i is any one of the plurality of independent areas.
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
the following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
the memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
the display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
the handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
the handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the terminal. Wherein the sensor 550 or the touch panel 531 can be used as a fingerprint recognition module.
an embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the fingerprint unlocking methods described in the above method embodiments.
while the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. a fingerprint unlocking method is characterized by comprising the following steps:
Acquiring a fingerprint image, wherein the fingerprint image is a fingerprint image of a part of fingerprints;
adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent;
Determining a first center of the fingerprint image and a second center of the preset fingerprint template;
dividing the fingerprint image into a plurality of first areas based on the first center and a first blocking mode, and dividing the preset fingerprint template into a plurality of second areas based on the second center and the first blocking mode;
Matching the plurality of first areas with the plurality of second areas in parallel;
when the plurality of first areas and the plurality of second areas are successfully matched, unlocking the terminal;
Wherein the parallel matching of the plurality of first regions with the plurality of second regions comprises:
matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel;
Wherein the acquiring of the fingerprint image comprises:
when a user presses the fingerprint identification module, determining an acquisition area of the fingerprint identification module;
Acquiring n2 normal bottom layer data values through n2 normal sensing electrodes in the acquisition region, acquiring n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the acquisition region, wherein the n1 abnormal bottom layer data values and the n2 normal bottom layer data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least comprises the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
Determining n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
generating a fingerprint image from the n2 normal underlying data values and the n1 underlying repair data values;
wherein, the determining n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values collected by the n2 normal sensing electrodes of the fingerprint identification module comprises:
dividing the collection area into a plurality of independent areas, wherein each independent area in the plurality of independent areas contains a plurality of the normal underlying data values collected by the normal sensing electrodes and at least one of the abnormal underlying data values collected by the abnormal sensing electrodes;
determining a mean value of all the normal bottom layer data values in the independent area i, and taking the mean value as a bottom layer repair data value corresponding to the abnormal sensing electrode in the independent area i, wherein the independent area i is any one of the plurality of independent areas.
2. the method of claim 1, wherein the adjusting the orientation of the fingerprint image to be consistent with the preset fingerprint template comprises:
Extracting a plurality of first characteristics of the preset fingerprint template;
Extracting a plurality of second features of the fingerprint image;
determining a first target feature and a second target feature which have the highest matching degree, wherein the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
and adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature.
3. the method of claim 2, wherein the extracting the plurality of first features from the preset fingerprint template comprises:
Dividing the preset fingerprint template into a plurality of areas;
At least one of the first features is selected from each of the plurality of regions.
4. the method according to any one of claims 1 to 3, wherein after the acquiring the fingerprint image and before the aligning the fingerprint image with the predetermined fingerprint template, the method further comprises:
And judging whether the fingerprint image is the image of the wet finger or not, if so, executing the step of adjusting the directions of the fingerprint image and a preset fingerprint template to be consistent.
5. The method of claim 4, wherein the determining whether the fingerprint image is an image of a wet finger comprises:
extracting feature points of the fingerprint image;
and judging whether the number of the characteristic points of the fingerprint image is smaller than a first preset threshold value, if so, determining that the fingerprint image is the image of the wet finger.
6. A terminal, comprising:
An acquisition unit configured to acquire a fingerprint image;
the adjusting unit is used for adjusting the directions of the fingerprint image acquired by the acquiring unit and a preset fingerprint template to be consistent;
The determining unit is used for determining a first center of the fingerprint image and a second center of the preset fingerprint template;
a partitioning unit, configured to partition the fingerprint image into a plurality of first areas based on the first center and the first partitioning manner determined by the determining unit, and partition the preset fingerprint template into a plurality of second areas based on the second center and the first partitioning manner determined by the determining unit;
the matching unit is used for matching the plurality of first areas with the plurality of second areas in parallel;
The unlocking unit is used for unlocking the terminal when the plurality of first areas and the plurality of second areas are successfully matched;
Wherein, in the aspect of the parallel matching of the plurality of first regions and the plurality of second regions, the matching unit is specifically configured to:
matching each of the plurality of first regions with the corresponding second region of the plurality of second regions in parallel;
Wherein, in the aspect of acquiring a fingerprint image, the acquiring unit is specifically configured to:
when a user presses the fingerprint identification module, determining an acquisition area of the fingerprint identification module;
Acquiring n2 normal bottom layer data values through n2 normal sensing electrodes in the acquisition region, acquiring n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the acquisition region, wherein the n1 abnormal bottom layer data values and the n2 normal bottom layer data values are the fingerprint image, a sensing electrode array of the fingerprint identification module at least comprises the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
determining n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to n2 normal bottom layer data values acquired by the n2 normal sensing electrodes of the fingerprint identification module;
generating a fingerprint image from the n2 normal underlying data values and the n1 underlying repair data values;
Wherein, in the aspect of determining the n1 bottom layer repair data values corresponding to the n1 abnormal sensing electrodes according to the n2 normal bottom layer data values collected by the n2 normal sensing electrodes of the fingerprint identification module, the obtaining unit is specifically configured to:
Dividing the collection area into a plurality of independent areas, wherein each independent area in the plurality of independent areas contains a plurality of the normal underlying data values collected by the normal sensing electrodes and at least one of the abnormal underlying data values collected by the abnormal sensing electrodes;
determining a mean value of all the normal bottom layer data values in the independent area i, and taking the mean value as a bottom layer repair data value corresponding to the abnormal sensing electrode in the independent area i, wherein the independent area i is any one of the plurality of independent areas.
7. the terminal of claim 6, wherein the adjusting unit comprises:
The first extraction module is used for extracting a plurality of first characteristics of the preset fingerprint template;
The first extraction module is further specifically configured to:
extracting a plurality of second features of the fingerprint image;
a determining module, configured to determine a first target feature and a second target feature with a highest matching degree, where the first target feature is one of the plurality of first features, and the second target feature is one of the plurality of second features;
and the adjusting module is used for adjusting the directions of the fingerprint image and the preset fingerprint template to be consistent according to the direction of the first target feature and the direction of the second target feature.
8. A terminal, comprising:
the system comprises a processor, a memory, a communication interface, a fingerprint identification module and a communication bus, wherein the processor, the memory, the fingerprint identification module and the communication interface are connected through the communication bus and complete mutual communication;
the memory is stored with executable program codes, the fingerprint identification module is used for acquiring fingerprint images, and the communication interface is used for wireless communication;
The processor is configured to call the executable program code in the memory to perform the method of any of claims 1-5.
9. a computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201710865055.2A 2016-05-27 2016-05-27 fingerprint unlocking method and related product Expired - Fee Related CN107622193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710865055.2A CN107622193B (en) 2016-05-27 2016-05-27 fingerprint unlocking method and related product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610368931.6A CN105912916B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal
CN201710865055.2A CN107622193B (en) 2016-05-27 2016-05-27 fingerprint unlocking method and related product

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610368931.6A Division CN105912916B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal

Publications (2)

Publication Number Publication Date
CN107622193A CN107622193A (en) 2018-01-23
CN107622193B true CN107622193B (en) 2019-12-06

Family

ID=56742726

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610368931.6A Expired - Fee Related CN105912916B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal
CN201710865055.2A Expired - Fee Related CN107622193B (en) 2016-05-27 2016-05-27 fingerprint unlocking method and related product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610368931.6A Expired - Fee Related CN105912916B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal

Country Status (1)

Country Link
CN (2) CN105912916B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250887A (en) * 2016-09-09 2016-12-21 深圳市金立通信设备有限公司 A kind of fingerprint identification method and terminal
CN106778557B (en) * 2016-11-30 2020-06-23 努比亚技术有限公司 Fingerprint identification device and method
CN108345824A (en) * 2017-01-24 2018-07-31 创智能科技股份有限公司 Fingerprint authentication method and electronic device
TWI679431B (en) * 2018-07-31 2019-12-11 友達光電股份有限公司 Fingerprint sensing device and detection method thereof
CN109241954B (en) * 2018-11-08 2022-03-29 Oppo广东移动通信有限公司 Fingerprint identification method and related equipment
WO2020172773A1 (en) * 2019-02-25 2020-09-03 深圳市汇顶科技股份有限公司 Fingerprint recognition method, apparatus, and electronic device
CN110084298B (en) * 2019-04-23 2021-09-28 北京百度网讯科技有限公司 Method and device for detecting image similarity
WO2020237481A1 (en) * 2019-05-27 2020-12-03 深圳市汇顶科技股份有限公司 Method for determining color inversion region, fingerprint chip, and electronic device
CN112232157B (en) * 2020-09-30 2022-03-18 墨奇科技(北京)有限公司 Fingerprint area detection method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751040A (en) * 2014-07-25 2015-07-01 北京智膜科技有限公司 Fingerprint detection method based on intelligent mobile information equipment
CN105260696A (en) * 2015-02-13 2016-01-20 比亚迪股份有限公司 Self-learning method and device of fingerprint template
CN105447454A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 Fingerprint template improving method, device and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2821348B2 (en) * 1993-10-21 1998-11-05 日本電気ソフトウェア株式会社 Fingerprint collation device
CN1299230C (en) * 2003-11-10 2007-02-07 北京握奇数据系统有限公司 Finger print characteristic matching method based on inter information
KR102187833B1 (en) * 2014-01-02 2020-12-07 삼성전자 주식회사 Method for executing a function and Electronic device using the same
CN105447437B (en) * 2015-02-13 2017-05-03 比亚迪股份有限公司 fingerprint identification method and device
CN105469106B (en) * 2015-11-13 2018-06-05 广东欧珀移动通信有限公司 fingerprint identification method, device and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751040A (en) * 2014-07-25 2015-07-01 北京智膜科技有限公司 Fingerprint detection method based on intelligent mobile information equipment
CN105260696A (en) * 2015-02-13 2016-01-20 比亚迪股份有限公司 Self-learning method and device of fingerprint template
CN105447454A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 Fingerprint template improving method, device and terminal device

Also Published As

Publication number Publication date
CN107622193A (en) 2018-01-23
CN105912916B (en) 2017-10-31
CN105912916A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN107563170B (en) Fingerprint unlocking method and related product
CN107622193B (en) fingerprint unlocking method and related product
US10169639B2 (en) Method for fingerprint template update and terminal device
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
CN109614865B (en) Fingerprint identification method and related product
CN106951767B (en) Unlocking control method and related product
CN105975833B (en) A kind of unlocked by fingerprint method and terminal
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN105912918B (en) A kind of unlocked by fingerprint method and terminal
CN106227437B (en) A kind of unlocked by fingerprint method and terminal
CN107122761B (en) Fingerprint image processing method and related product
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN106022058B (en) A kind of unlocked by fingerprint method and terminal
CN106203034B (en) A kind of unlocked by fingerprint method and terminal
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106874725A (en) A kind of unlocked by fingerprint method and mobile terminal
CN106127000B (en) A kind of unlocked by fingerprint method and terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN106066764B (en) A kind of unlocked by fingerprint method and terminal
CN107609378B (en) fingerprint unlocking method and related product
CN106022057B (en) A kind of unlocked by fingerprint method and terminal
CN107622235B (en) Fingerprint unlocking method and related product
CN107169472B (en) Fingerprint operation method, mobile terminal and storage medium
CN106845413B (en) Fingerprint identification method and mobile terminal
CN107423170B (en) Fingerprint unlocking time testing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191206

CF01 Termination of patent right due to non-payment of annual fee