CN107609378B - fingerprint unlocking method and related product - Google Patents

fingerprint unlocking method and related product Download PDF

Info

Publication number
CN107609378B
CN107609378B CN201710832792.2A CN201710832792A CN107609378B CN 107609378 B CN107609378 B CN 107609378B CN 201710832792 A CN201710832792 A CN 201710832792A CN 107609378 B CN107609378 B CN 107609378B
Authority
CN
China
Prior art keywords
fingerprint
matching
data values
preset
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.)
Active
Application number
CN201710832792.2A
Other languages
Chinese (zh)
Other versions
CN107609378A (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 CN201710832792.2A priority Critical patent/CN107609378B/en
Publication of CN107609378A publication Critical patent/CN107609378A/en
Application granted granted Critical
Publication of CN107609378B publication Critical patent/CN107609378B/en
Active 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 first fingerprint image; matching the first fingerprint image with a preset fingerprint template to obtain a first matching value; if the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1; matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values; judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value or not; and unlocking the terminal when the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value. By implementing the embodiment of the invention, 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 finds that when the finger is too dry (mainly aiming at the condition that the finger is dry) or too wet (mainly aiming at the condition that the finger has water or an oily object), the fingerprint identification module needs to be pressed for many times, so that the unlocking is possible to be successful, and therefore, 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 improve the efficiency of fingerprint unlocking.
the embodiment of the invention discloses a fingerprint unlocking method, which comprises the following steps:
Acquiring a first fingerprint image;
matching the first fingerprint image with a preset fingerprint template to obtain a first matching value;
If the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
Matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
Judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value, wherein the first preset threshold value exceeds the preset range;
and unlocking the terminal when the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value.
Optionally, the acquiring a first fingerprint image includes:
In the process that a user presses a fingerprint identification module, determining the effective range of the fingerprint identification module pressed by the user;
and controlling the fingerprint identification module to collect pixel points in the effective range as a first fingerprint image.
optionally, the determining the valid range of the fingerprint identification module pressed by the user includes:
Detecting the pressing force of a user contacting each acquisition point in the fingerprint identification module;
And determining the acquisition points with the pressure degree of each acquisition point larger than a second preset threshold value as an effective range.
optionally, the method further comprises:
when the sum of the first matching value and the N second matching values is smaller than the second preset threshold value, keeping a standby state;
Alternatively, the first and second electrodes may be,
And when the sum of the first matching value and the N second matching values is smaller than the second preset threshold value, sending safety prompt information to the account bound by the terminal.
Optionally, after the acquiring the first fingerprint image, the method further includes:
And judging whether the first fingerprint image is an image of a dry finger or an image of a wet finger, if so, executing the step of matching the first fingerprint image with a preset fingerprint template.
Optionally, the determining whether the first fingerprint image is an image of a dry finger or an image of a wet finger includes:
extracting feature points of the first fingerprint image;
and judging whether the number of the characteristic points of the first fingerprint image is smaller than a third preset threshold value, if so, determining that the first fingerprint image is the image of the dry finger or the image of the wet finger.
as an alternative embodiment, the acquiring the first 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 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 first 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 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.
A second aspect of an embodiment of the present invention provides a terminal, including:
an acquisition unit configured to acquire a first fingerprint image;
The matching unit is used for matching the first fingerprint image acquired by the acquisition unit with a preset fingerprint template to obtain a first matching value;
the obtaining unit is further specifically configured to:
if the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
The matching unit is further specifically configured to:
matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
A first determining unit, configured to determine whether an accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold, where the first preset threshold exceeds the preset range;
And the unlocking unit is used for unlocking the terminal when the judgment result of the first judgment unit is that the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value.
Optionally, the obtaining unit includes:
The first determining module is used for determining the effective range of the fingerprint identification module pressed by the user in the process that the user presses the fingerprint identification module;
And the control module is used for controlling the fingerprint identification module to collect the pixel points in the effective range determined by the first determination module as a first fingerprint image.
optionally, the first determining module includes:
the detection module is used for detecting the pressing force of a user contacting each acquisition point in the fingerprint identification module;
and the second determining module is used for determining the acquisition points with the pressure degree of each acquisition point detected by the detecting module, which is greater than a second preset threshold value, as an effective range.
optionally, the terminal further includes:
A holding unit, configured to hold a standby state when a determination result of the first determining unit is that a sum of the first matching value and the N second matching values is smaller than the second preset threshold;
alternatively, the first and second electrodes may be,
the terminal further comprises:
and the sending unit is used for sending safety prompt information to the account bound by the terminal when the judgment result of the first judging unit is that the sum of the first matching value and the N second matching values is smaller than the second preset threshold value.
optionally, the terminal further includes:
and the second judging unit is used for judging whether the first fingerprint image is an image of a dry finger or an image of a wet finger after the acquiring unit acquires the first fingerprint image, and if the judging result of the second judging unit is yes, the matching unit matches the first fingerprint image with a preset fingerprint template.
Optionally, the second judging unit includes:
the extraction module is used for extracting the characteristic points of the first fingerprint image;
and the second judgment module is used for judging whether the number of the characteristic points of the first fingerprint image is smaller than a third preset threshold value, and if so, determining that the first fingerprint image is the image of the dry finger or the image of the wet finger.
as an optional implementation, the first 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;
a repair module, configured 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 acquired by the n2 normal sensing electrodes of the fingerprint identification module;
a generating module for generating a first 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 an embodiment of the present invention 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 some or all of the steps described in any of the methods of the first aspect of the embodiments of the present invention.
The embodiment of the invention has the following beneficial effects:
it can be seen that, by the embodiment of the present invention, a first fingerprint image is obtained, the first fingerprint image is matched with a preset fingerprint template to obtain a first matching value, if the first matching value is within a preset range, N second fingerprint images are obtained within a preset time, where N is an integer greater than or equal to 1, the N second fingerprint images are matched with the preset fingerprint template to obtain N second matching values, and the terminal is unlocked when the sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold. Therefore, the results of multiple fingerprint matching in the preset time can be accumulated, and the fingerprint 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 obtaining unit of the terminal depicted in fig. 3a disclosed in the 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 the first embodiment of the terminal according to the embodiment of the present invention;
fig. 3e is a schematic structural diagram of the first embodiment of the terminal according to the embodiment of the present invention;
Fig. 3f is a schematic structural diagram of a second judging unit of the terminal depicted in fig. 3e according to the 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 schematic flowchart illustrating a fingerprint unlocking method according to an embodiment of the present invention. The fingerprint unlocking method described in the embodiment includes the following steps:
101. A first fingerprint image is acquired.
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; and controlling the fingerprint identification module to collect pixel points in the effective range as a first 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 pressure degree of each acquisition point larger than a second preset threshold value 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 each gathering point in the fingerprint identification module, when the pressing force degree is greater than the second and predetermines the threshold value, determined that the image that the gathering point that the pressing force degree is greater than the second and predetermine the threshold value constitutes is first fingerprint image.
optionally, first fingerprint image can be the fingerprint image of the in-process collection that the user pressed the fingerprint identification module, or, can be the fingerprint image of saving in locally.
Further optionally, the first fingerprint image may be a fingerprint image of one finger or a fingerprint image of a plurality of fingers of the user.
Optionally, the manner of acquiring the first fingerprint image may 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 first 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. That is, in the independent area i, the underlying repair data value is used as the underlying data value of each abnormal sensing electrode. 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 first fingerprint image has better quality, and more characteristic points can be extracted from the first fingerprint image.
102. And matching the first fingerprint image with a preset fingerprint template to obtain a first matching value.
in specific implementation, a preset fingerprint template can be pre-stored, the first fingerprint image can be matched with the preset fingerprint template, and optionally, the whole first fingerprint image is matched with the preset fingerprint template. Or matching a partial area in the first fingerprint image with a preset fingerprint template. In the matching process, the feature points of the first fingerprint image and the feature points of the preset fingerprint template can be respectively extracted, the feature points of the first fingerprint image and the feature points of the preset fingerprint template are matched, and a first matching value can be obtained and is used for representing the similarity of the first fingerprint image and the feature points of the preset fingerprint template. Or, in the matching process, the characteristic lines of the first fingerprint image and the preset fingerprint template can be respectively extracted and matched to obtain a first matching value.
Alternatively, the first fingerprint image may be divided into a plurality of independent areas, and some or all of the plurality of independent areas may be used as the target area. Furthermore, each of the plurality of target regions may be matched with a preset fingerprint template in a parallel mode, and at least one region in each of the plurality of template regions may be matched with the preset fingerprint template. After the matching process is finished, a matching value, namely a first matching value, can be obtained.
further optionally, the plurality of target regions may be divided into at least two groups; all target areas in each of the at least two groups are matched against a preset fingerprint template in parallel. Each of the at least two groups may contain the same number of target regions or may contain the same area of target regions. Alternatively, the number of target regions included in each of the at least two groups may be partially the same, or the area of the target regions included in each of the at least two groups may be partially the same. In a specific implementation, corresponding threads or processes may be set for the number of groups of the target areas, for example, the target areas are divided into 3 groups, a first group matches the target area included in the group with a preset fingerprint template by using one thread or process, a second group matches the target area included in the group with the preset fingerprint template by using one thread or process, and a third group matches the target area included in the group with the preset fingerprint template by using one thread or process.
103. And if the first matching value is in a preset range, acquiring N second fingerprint images within preset time, wherein N is an integer greater than or equal to 1.
in a specific implementation, the preset range may be 10% to 20%, 5% to 10.1%, and the like, which is not limited herein, and when the first matching value is smaller than the preset threshold, the first fingerprint image may be considered as not being an end user. And when the first matching value is within the preset range, the first fingerprint image can be considered to be from the end user. When the first matching value is in the first preset range, at least one second fingerprint image can be acquired within a preset time, and the second fingerprint image can be from the fingerprint of the finger same as the first fingerprint image or from the fingerprint of the finger different from the fingerprint corresponding to the first fingerprint image. N is an integer greater than or equal to 1, and N may be less than a threshold.
104. and matching the N second fingerprint images with the preset fingerprint template to obtain the N second matching values.
In specific implementation, the N second fingerprint images may be matched with the preset fingerprint template, and each second fingerprint image may have a second matching value when being matched with the preset fingerprint template.
optionally, if any one of the N second matching values is smaller than a certain threshold, the second matching value is discarded. In a specific implementation, an upper limit of N may be set, e.g., N-1, N-2, etc.
105. and judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value, wherein the first preset threshold value exceeds the preset range.
in this embodiment, it is obvious that the first preset threshold is an unlocking threshold, and the first preset threshold needs to exceed a preset range. If N may be 1, a second matching value may be obtained within a preset time, the first matching value and the N second matching values may be accumulated, and if the accumulated sum is greater than or equal to a first preset threshold, the terminal may be unlocked, otherwise, the terminal still maintains the state to be unlocked, or may be in a standby state.
106. and unlocking the terminal when the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value.
In a specific implementation, when the sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold, 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, by the embodiment of the present invention, a first fingerprint image is obtained, the first fingerprint image is matched with a preset fingerprint template to obtain a first matching value, if the first matching value is within a preset range, N second fingerprint images are obtained within a preset time, where N is an integer greater than or equal to 1, the N second fingerprint images are matched with the preset fingerprint template to obtain N second matching values, and the terminal is unlocked when the sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold. Therefore, the results of multiple fingerprint matching within the preset time can be accumulated, thereby improving the fingerprint unlocking efficiency
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 first fingerprint image is acquired.
202. determining whether the first 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, whether the fingerprint image is from a dry finger or a wet finger may be determined by extracting a texture feature of the first fingerprint image. 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 second 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.
and if not, matching the first fingerprint image with a preset fingerprint template, if the matching is successful, unlocking the terminal, and if the matching is unsuccessful, keeping the terminal in a standby state.
203. if so, matching the first fingerprint image with a preset fingerprint template to obtain a first matching value.
optionally, the first fingerprint image is directly matched with a preset fingerprint template, if the first fingerprint image is larger than a first preset threshold, the terminal is unlocked, and if the first fingerprint image is smaller than the first preset threshold, the terminal cannot be unlocked.
204. and if the first matching value is in a preset range, acquiring N second fingerprint images within preset time, wherein N is an integer greater than or equal to 1.
optionally, if the first matching value is not within the preset range, the steps after step 204 cannot be continued.
205. And matching the N second fingerprint images with the preset fingerprint template to obtain the N second matching values.
206. And judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value, wherein the first preset threshold value exceeds the preset range.
207. and unlocking the terminal when the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value.
For example, in the case that the finger of the user is too dry or too wet, the user may not unlock the fingerprint identification module by pressing the fingerprint identification module many times. In the embodiment of the present invention, under the above-mentioned circumstances, it may be detected whether a fingerprint image input by a user belongs to a fingerprint image of a dry finger or a fingerprint image of a wet finger, and if not, the fingerprint image may be matched with a preset fingerprint template to obtain a first matching value, the first matching value may be determined, and if the first matching value is lower than a preset range, the fingerprint image may be determined not to be a fingerprint image of a terminal user And unlocking the terminal according to the first preset threshold value. And if the sum of the first matching value and a plurality of second matching values of the first fingerprint image of limited times in the preset time and the preset fingerprint template is less than the first preset threshold value, keeping the standby state.
it can be seen that the terminal described in the embodiment of the present invention may obtain the first fingerprint image, match the first fingerprint image with the preset fingerprint template to obtain the first matching value when the first fingerprint image is an image of a dry finger or an image of a wet finger, obtain N second fingerprint images within a preset time if the first matching value is within a preset range, where N is an integer greater than or equal to 1, match the N second fingerprint images with the preset fingerprint template to obtain N second matching values, and unlock the terminal when the sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold. Therefore, the results of multiple fingerprint matching in the preset time can be accumulated, and the fingerprint unlocking efficiency is improved. Especially, when the finger of the user is a dry finger or a wet finger, the number of times of inputting the fingerprint can be reduced, and therefore, the fingerprint 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 matching unit 302, the first determining unit 303 and the unlocking unit 304 are specifically as follows:
an acquisition unit 301 configured to acquire a first fingerprint image;
a matching unit 302, configured to match the first fingerprint image acquired by the acquiring unit 301 with a preset fingerprint template to obtain a first matching value;
The obtaining unit 301 is further specifically configured to:
If the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
the matching unit 302 is further specifically configured to:
Matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
a first determining unit 303, configured to determine whether an accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold, where the first preset threshold exceeds the preset range;
An unlocking unit 304, configured to unlock the terminal when the determination result of the first determining unit 303 is that the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold.
optionally, as shown in fig. 3b, the obtaining unit 301 of the terminal shown in fig. 3a includes:
The first determining module 3011 is configured to determine, in a process that a user presses a fingerprint identification module, an effective range of the fingerprint identification module pressed by the user;
And the control module 3012 is configured to control the fingerprint identification module to collect the pixel points in the effective range determined by the first determining module 3011 as a first fingerprint image.
further, the first determining module comprises:
the detection module (not shown) is used for detecting the pressing force degree of the user contacting each acquisition point in the fingerprint identification module;
second determining means (not shown) for determining as the valid range the acquisition points detected by said detecting means which are higher than a second preset threshold in degree of pressure per acquisition point.
optionally, as shown in fig. 3c, the terminal shown in fig. 3a may further include:
A holding unit 305, configured to hold a standby state when the determination result of the first determining unit 303 is that the sum of the first matching value and the N second matching values is smaller than the first preset threshold;
Optionally, as shown in fig. 3d, the terminal shown in fig. 3a may further include:
A sending unit 306, configured to send a security prompt message to the account bound to the terminal when the determination result of the first determining unit 303 is that the sum of the first matching value and the N second matching values is smaller than the first preset threshold.
optionally, as shown in fig. 3e, the terminal shown in fig. 3a may further include:
a second determining unit 307, configured to determine whether the first fingerprint image is an image of a dry finger or an image of a wet finger after the acquiring unit 301 acquires the first fingerprint image, and if the determination result of the second determining unit 307 is yes, the matching unit 302 matches the first fingerprint image with a preset fingerprint template.
Alternatively, as shown in fig. 3f, the second judging unit 307 shown in fig. 3e includes:
the extraction module 3071 is configured to extract feature points of the first fingerprint image;
a second determining module 3072, configured to determine whether the number of the feature points of the first fingerprint image is smaller than a third preset threshold, and if so, determine that the first fingerprint image is the image of the dry finger or the image of the wet finger.
As an optional implementation, the obtaining unit 301 includes:
a fourth determining module (not shown in the figure) for determining the collecting area of the fingerprint identification module when the user presses the fingerprint identification module;
a first obtaining module (not shown in the figure), obtaining the n2 normal bottom layer data values through n2 normal sensing electrodes in the collecting area, obtaining the n1 abnormal bottom layer data values through n1 abnormal sensing electrodes in the collecting area, where 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 includes the n1 abnormal sensing electrodes and the n2 normal sensing electrodes, and the n1 and the n2 are positive integers;
a repair module (not shown) for 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;
a generating module (not shown) for generating a fingerprint image from the n2 normal underlying data values and the n1 underlying repair data values.
Optionally, the repair module comprises:
A partitioning module (not shown) for partitioning the collecting region into a plurality of independent regions, wherein each of the independent regions 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 electrodes;
A fifth determining module (not shown in the figure), 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 plurality of independent areas.
it can be seen that the terminal described in the embodiment of the present invention may obtain a first fingerprint image, match the first fingerprint image with a preset fingerprint template to obtain a first matching value, if the first matching value is within a preset range, obtain N second fingerprint images within a preset time, where N is an integer greater than or equal to 1, match the N second fingerprint images with the preset fingerprint template to obtain N second matching values, and unlock the terminal when the sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold. Therefore, the results of multiple fingerprint matching within the preset time can be accumulated, thereby improving the fingerprint unlocking efficiency
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 processor 3000 is configured to:
Acquiring a first fingerprint image;
matching the first fingerprint image with a preset fingerprint template to obtain a first matching value;
if the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
Matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
Judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value or not;
and unlocking the terminal when the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value.
optionally, the processor 3000 acquires a first fingerprint image, including:
In the process that a user presses a fingerprint identification module, determining the effective range of the fingerprint identification module pressed by the user;
and controlling the fingerprint identification module to collect pixel points in the effective range as a first fingerprint image.
optionally, the processor 3000 determines a valid range of the fingerprint identification module pressed by the user, including:
detecting the pressing force of a user contacting each acquisition point in the fingerprint identification module;
and determining the acquisition points with the pressure degree of each acquisition point larger than a second preset threshold value as an effective range.
Optionally, the processor 3000 is further specifically configured to:
when the sum of the first matching value and the N second matching values is smaller than the first preset threshold value, keeping a standby state;
alternatively, the first and second electrodes may be,
And when the sum of the first matching value and the N second matching values is smaller than the first preset threshold value, sending safety prompt information to the account bound by the terminal.
Optionally, after the processor 3000 acquires the first fingerprint image, the processor is further specifically configured to:
And judging whether the first fingerprint image is an image of a dry finger or an image of a wet finger, if so, executing the step of matching the first fingerprint image with a preset fingerprint template.
optionally, the processor 3000 determines whether the first fingerprint image is an image of a dry finger or an image of a wet finger, including:
extracting feature points of the first fingerprint image;
and judging whether the number of the characteristic points of the first fingerprint image is smaller than a third preset threshold value, if so, determining that the first fingerprint image is the image of the dry finger or the image of the wet finger.
Optionally, the processor 3000 acquires a first 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 first fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values.
optionally, the determining, by the processor 3000, 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 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 (10)

1. A fingerprint unlocking method is characterized by comprising the following steps:
acquiring a first fingerprint image;
matching the first fingerprint image with a preset fingerprint template to obtain a first matching value, which specifically comprises the following steps: dividing the first fingerprint image into a plurality of independent areas, taking part or all of the independent areas as target areas, and matching each area in the target areas with a preset fingerprint template in a parallel mode to obtain a first matching value;
If the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
judging whether the accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold value, wherein the first preset threshold value exceeds the preset range;
When the accumulated sum of the first matching value and the N second matching values is larger than or equal to the first preset threshold value, unlocking the terminal;
Wherein the acquiring of the first 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 fingerprint images, 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 the first fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values;
Wherein, 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 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 acquiring a first fingerprint image comprises:
in the process that a user presses a fingerprint identification module, determining the effective range of the fingerprint identification module pressed by the user;
And controlling the fingerprint identification module to collect pixel points in the effective range as a first fingerprint image.
3. The method of claim 2, wherein the determining the effective range of the fingerprint recognition module pressed by the user comprises:
detecting the pressing force of a user contacting each acquisition point in the fingerprint identification module;
And determining the acquisition points with the pressure degree of each acquisition point larger than a second preset threshold value as an effective range.
4. the method according to any one of claims 1 to 3, further comprising:
when the sum of the first matching value and the N second matching values is smaller than the first preset threshold value, keeping a standby state;
Alternatively, the first and second electrodes may be,
and when the sum of the first matching value and the N second matching values is smaller than the first preset threshold value, sending safety prompt information to the account bound by the terminal.
5. A method according to any one of claims 1 to 3, wherein after said acquiring the first fingerprint image, the method further comprises:
And judging whether the first fingerprint image is an image of a dry finger or an image of a wet finger, if so, executing the step of matching the first fingerprint image with a preset fingerprint template.
6. The method of claim 5, wherein determining whether the first fingerprint image is an image of a dry finger or an image of a wet finger comprises:
extracting feature points of the first fingerprint image;
and judging whether the number of the characteristic points of the first fingerprint image is smaller than a third preset threshold value, if so, determining that the first fingerprint image is the image of the dry finger or the image of the wet finger.
7. a terminal, comprising:
An acquisition unit configured to acquire a first fingerprint image;
The matching unit is used for matching the first fingerprint image acquired by the acquisition unit with a preset fingerprint template to obtain a first matching value, and specifically comprises: dividing the first fingerprint image into a plurality of independent areas, taking part or all of the independent areas as target areas, and matching each area in the target areas with a preset fingerprint template in a parallel mode to obtain a first matching value;
the obtaining unit is further specifically configured to:
if the first matching value is in a preset range, acquiring N second fingerprint images within a preset time, wherein N is an integer greater than or equal to 1;
the matching unit is further specifically configured to:
matching the N second fingerprint images with the preset fingerprint template to obtain N second matching values;
a first determining unit, configured to determine whether an accumulated sum of the first matching value and the N second matching values is greater than or equal to a first preset threshold, where the first preset threshold exceeds the preset range;
the unlocking unit is used for unlocking the terminal when the judgment result of the first judgment unit is that the accumulated sum of the first matching value and the N second matching values is greater than or equal to the first preset threshold value;
wherein, in the aspect of acquiring the first 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 fingerprint images, 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 first fingerprint image from the n2 normal underlying data values and the n1 underlying fix data values;
wherein, in the aspect that the n1 underlying repair data values corresponding to the n1 abnormal sensing electrodes are determined according to the n2 normal underlying data values acquired by the n2 normal sensing electrodes of the fingerprint identification module, the acquiring 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.
8. the terminal of claim 7, wherein the obtaining unit comprises:
the first determining module is used for determining the effective range of the fingerprint identification module pressed by the user in the process that the user presses the fingerprint identification module;
and the control module is used for controlling the fingerprint identification module to collect the pixel points in the effective range determined by the first determination module as a first fingerprint image.
9. 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-6.
10. 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-6.
CN201710832792.2A 2016-05-27 2016-05-27 fingerprint unlocking method and related product Active CN107609378B (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610368694.3A CN106022059B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal
CN201710832792.2A CN107609378B (en) 2016-05-27 2016-05-27 fingerprint unlocking method and related product

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN107609378A CN107609378A (en) 2018-01-19
CN107609378B true CN107609378B (en) 2019-12-06

Family

ID=57091272

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710832792.2A Active CN107609378B (en) 2016-05-27 2016-05-27 fingerprint unlocking method and related product
CN201610368694.3A Expired - Fee Related CN106022059B (en) 2016-05-27 2016-05-27 A kind of unlocked by fingerprint method and terminal

Family Applications After (1)

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

Country Status (1)

Country Link
CN (2) CN107609378B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778557B (en) * 2016-11-30 2020-06-23 努比亚技术有限公司 Fingerprint identification device and method
CN107480488B (en) * 2017-07-18 2020-01-14 Oppo广东移动通信有限公司 Unlocking control method and related product
CN108629280B (en) * 2018-03-27 2020-03-10 维沃移动通信有限公司 Face recognition method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005776A (en) * 2015-07-30 2015-10-28 广东欧珀移动通信有限公司 Fingerprint identification method and device
CN105404807A (en) * 2015-12-08 2016-03-16 广东欧珀移动通信有限公司 Method and apparatus for improving fingerprint recognition performance, and mobile terminal
CN105488372A (en) * 2015-11-26 2016-04-13 努比亚技术有限公司 Verification method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10095345B2 (en) * 2014-05-30 2018-10-09 Apple Inc. Low power scan for device wake up and unlock
CN104036177B (en) * 2014-07-03 2017-11-21 南昌欧菲生物识别技术有限公司 Intelligent terminal unlocked by fingerprint device and method
CN104951687A (en) * 2015-07-21 2015-09-30 上海斐讯数据通信技术有限公司 Method and system of unlocking through fingerprint

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005776A (en) * 2015-07-30 2015-10-28 广东欧珀移动通信有限公司 Fingerprint identification method and device
CN105488372A (en) * 2015-11-26 2016-04-13 努比亚技术有限公司 Verification method and device
CN105404807A (en) * 2015-12-08 2016-03-16 广东欧珀移动通信有限公司 Method and apparatus for improving fingerprint recognition performance, and mobile terminal

Also Published As

Publication number Publication date
CN106022059B (en) 2017-10-17
CN107609378A (en) 2018-01-19
CN106022059A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN107563170B (en) Fingerprint unlocking method and related product
CN107622193B (en) fingerprint unlocking method and related product
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
CN106886703B (en) Fingerprint unlocking method and mobile terminal
CN106778707B (en) Fingerprint identification method, display screen and mobile terminal
CN106951767B (en) Unlocking control method and related product
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN106227437B (en) A kind of unlocked by fingerprint method and terminal
WO2017206662A1 (en) Method for updating fingerprint template and terminal device
CN107194224B (en) Unlocking control method and related product
CN107122761B (en) Fingerprint image processing method and related product
CN105975833B (en) A kind of unlocked by fingerprint method and terminal
CN107025395B (en) Fingerprint identification method and mobile terminal
CN105912918B (en) A kind of unlocked by fingerprint method and terminal
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN106022058B (en) A kind of unlocked by fingerprint method and terminal
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106203034B (en) A kind of unlocked by fingerprint method and terminal
CN106874725A (en) A kind of unlocked by fingerprint method and mobile terminal
CN109544172B (en) Display method and terminal equipment
CN106022074B (en) A kind of unlocked by fingerprint method and terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN107609378B (en) fingerprint unlocking method and related product
CN107194223B (en) Fingerprint identification area display method and related product
CN106066764B (en) A kind of unlocked by fingerprint method and 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
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant