WO2017156963A1 - 一种指纹解锁的方法及终端 - Google Patents
一种指纹解锁的方法及终端 Download PDFInfo
- Publication number
- WO2017156963A1 WO2017156963A1 PCT/CN2016/093581 CN2016093581W WO2017156963A1 WO 2017156963 A1 WO2017156963 A1 WO 2017156963A1 CN 2016093581 W CN2016093581 W CN 2016093581W WO 2017156963 A1 WO2017156963 A1 WO 2017156963A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fingerprint
- matching
- templates
- target
- template
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims description 18
- 238000012217 deletion Methods 0.000 claims description 7
- 230000037430 deletion Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
Definitions
- the present invention relates to the field of security technologies, and in particular, to a method and a terminal for unlocking a fingerprint.
- fingerprint recognition technology as a standard technology on the terminal, fingerprint recognition technology can be widely used not only for terminal unlocking, wake-up, mobile payment, and the like. While the fingerprint recognition technology is popular, in order to achieve fast unlocking, the unlocking time of the terminal is also a direct concern of the terminal manufacturer.
- multiple fingerprint templates are pre-stored in the terminal. When the fingerprint information input by the user is obtained, the fingerprint information is matched with the pre-stored fingerprint templates, respectively, until one of the pre-stored fingerprint templates has a fingerprint. If the template matches the fingerprint information successfully, the template is unlocked. This method reduces the efficiency of fingerprint unlocking.
- the embodiment of the invention provides a method and a terminal for unlocking a terminal, which can improve the efficiency of fingerprint unlocking.
- a first aspect of the embodiments of the present invention provides a method for unlocking a terminal, including:
- the sort order is the order of matching scores from high to low, and the N is an integer greater than one;
- the target matching value is the N
- the matching value between the first fingerprint template and the fingerprint information is greater than the matching value of the fingerprint template of the first preset threshold.
- a second aspect of the embodiments of the present invention provides a terminal, including:
- An obtaining unit configured to acquire fingerprint information
- a matching unit configured to match the fingerprint information acquired by the acquiring unit with the N fingerprint templates according to a sorting order of the pre-stored N fingerprint templates, where each of the N fingerprint templates corresponds to the fingerprint template a matching score, and the sorting order of the N fingerprint templates is an order of matching scores from high to low, and the N is an integer greater than 1;
- An unlocking unit configured to perform unlocking when the matching unit matches the target matching value, where the target matching value is greater than a matching value between the first one of the N fingerprint templates and the fingerprint information.
- a third aspect of the embodiments of the present invention provides a terminal, including:
- a processor coupled to the memory
- the processor invokes the executable program code stored in the memory to perform some or all of the steps as described in the first aspect of the embodiments of the present invention.
- the fingerprint information is obtained, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each fingerprint template of the N fingerprint templates corresponds to a matching score.
- the order of the N fingerprint templates is the order of the matching scores from high to low.
- the N is an integer greater than 1.
- FIG. 1 is a schematic flow chart of a first embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention
- FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure
- FIG. 5b is still another schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of still another embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of still another embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
- the embodiment of the invention provides a method and a terminal for unlocking a terminal, which can improve the efficiency of fingerprint unlocking.
- references herein to "embodiments” means specific features, structures, or characteristics described in connection with the embodiments. It can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand 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 mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable device.
- a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
- a tablet computer such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
- a palmtop computer such as a notebook computer
- MID Mobile Internet Devices
- the fingerprint matching data may be stored in the terminal, where the fingerprint matching data includes multiple fingerprint templates, and the matching score of each fingerprint template of the multiple fingerprint templates may further include the multiple The sort order of the fingerprint template.
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention.
- the method for unlocking a fingerprint described in this embodiment includes the following steps:
- the terminal in the process of the user pressing the fingerprint identification module, may collect the fingerprint information of the user through the fingerprint identification module.
- the fingerprint information may be a feature pattern of the fingerprint collected by the user when the fingerprint recognition module is pressed, or the fingerprint information may be a fingerprint image collected when the user presses the fingerprint recognition module.
- the fingerprint information may be a fingerprint image, and then the matching value between the collected fingerprint image and the fingerprint template may be compared. If the matching value reaches a certain threshold, the fingerprint image and the fingerprint template may be successfully matched, and if the matching value is If the threshold is not reached, the fingerprint image may not be considered to match the fingerprint template.
- the fingerprint information may be the characteristic texture of the fingerprint, that is, the characteristic contour of the fingerprint included in the fingerprint image. Then, the matching value between the collected feature texture and the fingerprint template may be compared, and if the matching value reaches a certain threshold, the characteristic texture may be considered. The matching with the fingerprint template succeeds. If the matching value does not reach the certain threshold, the feature pattern and the fingerprint template may be considered as not matching.
- the fingerprint information may be a feature point of the fingerprint, that is, a corner point of the fingerprint included in the fingerprint image, such as a Harris corner, a Scale Invariant Feature Transform (SIFT) corner point, and then the acquired feature points and If the matching value of the fingerprint template reaches a certain threshold, the matching between the feature point and the fingerprint template is considered to be successful. If the matching value does not reach the certain threshold, the feature point and the fingerprint template may be considered as not matching.
- a corner point of the fingerprint included in the fingerprint image such as a Harris corner, a Scale Invariant Feature Transform (SIFT) corner point
- the fingerprint information is matched with the N fingerprint templates according to a sorting order of the pre-stored N fingerprint templates, where each fingerprint template of the N fingerprint templates corresponds to a matching score, and the N
- the sorting order of the fingerprint templates is an order in which the matching scores are from high to low, and the N is an integer greater than one.
- N fingerprint templates may be pre-stored in the terminal, and each fingerprint template corresponds to a matching score, and N is an integer greater than 1.
- the terminal may sort the N fingerprint templates in order of matching scores from high to low. Further, after the sorting is completed, the sorted N fingerprint templates may also be numbered, for example, the fingerprint template number with the highest matching score is 1, and the fingerprint template number with the second highest matching score is 2, ..., the matching score. The lowest fingerprint template number is N.
- the matching score of each fingerprint template can be calculated by the matching value and the number of successes of the fingerprint template being successfully matched.
- the matching value of the fingerprint template that is successfully matched refers to a matching value between the fingerprint template and the fingerprint information when the fingerprint template is matched and successfully unlocked in the process of unlocking the terminal, and the matching value may be 0 to Between 1, for example, a structural similarity (SSIM) can be used to calculate a matching value between the fingerprint template and the fingerprint information. If the number of successful completions of the fingerprint template is that the fingerprint template is matched and successfully unlocked, the number of successes of the fingerprint template is increased by 1 based on the number of successes of the fingerprint template. For example, the original number of successes of the fingerprint template is M, then, the number of successes after the fingerprint template is successfully matched is M+1.
- the matching score of the fingerprint template j is the sum of the matching values of each matching success, and the fingerprint template j is any fingerprint template, and the following formula:
- S represents a matching score
- M represents the number of successful successes in the unlocking process
- i represents that the i-th matching is successful
- P i represents the matching value corresponding to the i-th matching success
- P i can be the i-th time
- the matching score of each fingerprint template may be calculated by the matching value and the number of successes of the matching of the fingerprint template, and the matching score may be the sum of the matching scores of each matching success, and the fingerprint template k is taken as an example to illustrate If the matching value is greater than 0.85, the fingerprint information is considered to be successfully matched with the fingerprint template k. Then, when the matching value is greater than 0.85 and less than 0.9, the matching score is 1, and the matching degree is greater than or equal to Between 0.9 and less than 0.95, the matching score is 2, and the matching score is greater than or equal to 0.95, and the matching score is 3. Then, the score of the fingerprint template k can be the sum of the matching scores when all the matching succeeds. Assuming that the matching is successful 3 times, the matching score of the first matching success is 1, the matching score of the second matching success is 2, and the matching score of the third matching success is 1, then the matching score of the fingerprint template k is 4 .
- the matching score may also be the number of successes that were successfully matched.
- the fingerprint templates having the large sum of matching values are arranged in front of the fingerprint template whose sum of matching values is small. For example, if the success number of the fingerprint template i is successfully matched is 5, the matching score is 5, and when the matching score of the fingerprint template i and the fingerprint template j is the same, the template fingerprint i and the fingerprint template are calculated. If the sum of the matching values of the fingerprint template i is large, the fingerprint template i is arranged in front of the fingerprint template j if the matching scores are sorted in descending order.
- the unlocking is performed, where the target matching value is a fingerprint template in which a matching value between the first one of the N fingerprint templates and the fingerprint information is greater than a first preset threshold. Corresponding match value.
- the terminal may match the fingerprint information with the N fingerprint templates according to the order of the N fingerprint templates. Specifically, the N fingerprint templates have been sorted according to the matching scores from high to low. First, the terminal matches the fingerprint information with the fingerprint template with the highest matching score. If the matching fails, the fingerprint information is matched with the fingerprint template with the second highest matching score, ..., if the fingerprint template with the second lowest score is matched with the fingerprint If the information matching fails, the fingerprint information is matched with the fingerprint template with the lowest matching score. If the fingerprint information fails to match the fingerprint template with the lowest matching score, the fingerprint information cannot be unlocked.
- the matching value between the fingerprint template i and the fingerprint information is greater than the first preset threshold, and then the terminal can unlock.
- the target matching value is matched, the target matching value is a matching value corresponding to the fingerprint template in which the matching value between the first one of the N fingerprint templates and the fingerprint information is greater than a preset threshold.
- the first preset threshold may be 0.65, 0.75, 0.8, 0.8222, 0.85, 0.9, 0.95, etc., which is not limited herein.
- the first preset threshold is greater than 0.5.
- the foregoing process of unlocking may include the following situation: for example, if the terminal is in the off state before step 101, the screen may be illuminated and the unlocked desktop icon may be displayed; for example, Before the terminal is in the bright state, the terminal can display the unlocked desktop icon. For example, if the terminal is in the off state before step 101, the screen can be illuminated, and the successfully matched fingerprint template is started. Associate the application, or open the preset page of the application associated with the fingerprint template; for example, if the terminal is in the bright state before step 101, the application associated with the successfully matched fingerprint template may be started, or may be opened.
- the preset page of the application associated with the fingerprint template wherein the preset page is also applicable to the main page, or the specified page, or the page with the highest frequency of use.
- the fingerprint information is obtained, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each fingerprint template of the N fingerprint templates corresponds to a matching score.
- the order of the N fingerprint templates is the order of the matching scores from high to low.
- the N is an integer greater than 1.
- the unlocking is performed, where the target matching value is the N fingerprint templates.
- a matching value corresponding to the fingerprint template in which the matching value between the first fingerprint and the fingerprint information is greater than the first preset threshold. Therefore, the fingerprint template with higher matching score can be matched with the fingerprint information in front, so that the matching efficiency can be improved, and therefore, the efficiency of fingerprint unlocking can be improved.
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention.
- the method for unlocking a fingerprint described in this embodiment includes the following steps:
- the fingerprint information is matched with the N fingerprint templates according to a sorting order of the pre-stored N fingerprint templates, where each fingerprint template of the N fingerprint templates corresponds to a matching score, and the N
- the sorting order of the fingerprint templates is an order in which the matching scores are from high to low, and the N is an integer greater than one.
- the target matching value is a fingerprint template in which a matching value between the first one of the N fingerprint templates and the fingerprint information is greater than a first preset threshold. Corresponding match value.
- step 201 - step 203 can refer to step 101 - step 103 of the embodiment described in FIG. 1 .
- the N fingerprint templates may be matched according to the sorting order of the N fingerprint templates. If any fingerprint template matches the fingerprint information successfully, then Record the matching score. If any fingerprint template fails to match the fingerprint information, record the matching score as 0. Thereby, a matching value between the fingerprint information and the N fingerprint templates can be calculated, and the matching score is optimized according to the matching value.
- the matching score of each fingerprint template may be calculated by the matching value and the number of successes of the matching of the fingerprint template, and the matching score may be the sum of the matching scores of each matching success, and the fingerprint template k is taken as an example to illustrate the matching value. If the matching between the fingerprint information and the fingerprint template k is greater than 0.85, then the matching score is 1 between the matching value greater than 0.85 and less than 0.9, and the matching score is 2 when the matching degree is greater than or equal to 0.9 and less than 0.95. If the matching value is greater than or equal to 0.95 and the matching score is 3, then the score of the fingerprint template k may be the sum of the matching scores when all the matching succeeds. Assuming that the matching is successful 3 times, the matching score of the first matching success is 1, the matching score of the second matching success is 2, and the matching score of the third matching success is 1, then the matching score of the fingerprint template k is 4 .
- the terminal may calculate the mean value of the N target matching scores, that is, sum all the target matching scores, and then divide by N.
- step 205 may be implemented as follows: acquiring a partial target matching score of the N target matching scores, and calculating an average of the partial target matching scores, where each target matching score corresponds to each target matching score
- the matching value between the fingerprint template and the fingerprint information is greater than the first preset threshold. For example, if there are M fingerprint templates in the N fingerprint templates that do not match the fingerprint information (that is, the matching value between the fingerprint template and the fingerprint information is less than or equal to the first preset threshold), the NM fingerprint templates that are successfully matched can be calculated.
- the terminal may save the fingerprint information as the target fingerprint template, that is, after the matching is successful, the fingerprint template in the terminal may be one more.
- the terminal may also use the matching fingerprint information as the target fingerprint template, and use the average obtained above as the matching score of the target fingerprint template.
- the sorted order is used as the order in which the fingerprint templates are matched in the next fingerprint unlocking process.
- the method further includes the following steps: matching the fingerprint information with the N fingerprint templates, calculating a matching score between the fingerprint information and the N fingerprint templates, and obtaining the N fingerprint templates.
- the matching score of each fingerprint template is recalculated, and the matching scores of the N fingerprint templates are recalculated, and the N fingerprint templates are sorted according to the matching scores in descending order, and the next fingerprint unlocking is performed in the sorting order.
- the above-mentioned recalculation of the matching scores of the N fingerprint templates mainly refers to adding the matching scores of the previous fingerprint templates of the fingerprint matching data to the matching scores of the current fingerprint templates.
- the fingerprint information is obtained, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each fingerprint template of the N fingerprint templates corresponds to a matching score.
- the order of the N fingerprint templates is the order of the matching scores from high to low.
- the N is an integer greater than 1.
- the unlocking is performed, where the target matching value is the N fingerprint templates.
- a matching value corresponding to the fingerprint template in which the matching value between the first fingerprint and the fingerprint information is greater than the first preset threshold. Therefore, the fingerprint template with higher matching score can be matched with the fingerprint information in front, so that the matching efficiency can be improved, and therefore, the efficiency of fingerprint unlocking can be improved.
- FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention.
- the method for unlocking a fingerprint described in this embodiment includes the following steps:
- the fingerprint information is matched with the N fingerprint templates according to a sorting order of the pre-stored N fingerprint templates, where each fingerprint template of the N fingerprint templates corresponds to a matching score, and the N
- the sorting order of the fingerprint templates is an order in which the matching scores are from high to low, and the N is an integer greater than one.
- the target matching value is a fingerprint template in which a matching value between the first one of the N fingerprint templates and the fingerprint information is greater than a first preset threshold. Corresponding match value.
- step 301 - step 307 can refer to step 201 - step 207 of the embodiment described in FIG. 2 .
- the terminal may detect whether the number of fingerprint templates stored in the terminal is greater than a second preset threshold every preset time. Alternatively, when receiving the detection instruction input by the user, the terminal detects whether the number of fingerprint templates stored in the terminal is greater than a second preset threshold.
- the second preset threshold may be 5, 10, 15, 16, 20, 30, 35, 42, 51, etc., which is not limited herein, and the first preset threshold may be set by the user.
- one or more fingerprint templates in the currently stored fingerprint template may be deleted according to the deletion principle of preferentially deleting the low matching scores, so that the remaining The number of fingerprint templates below is less than or equal to the second preset threshold. Therefore, the number of fingerprint templates in the fingerprint matching data can be kept at a certain level, and the fingerprint template with a low matching score can be deleted, thereby improving the matching efficiency of the terminal in the unlocking process.
- the fingerprint information is obtained, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each fingerprint template of the N fingerprint templates corresponds to a matching score.
- the order of the N fingerprint templates is the order of the matching scores from high to low.
- the N is an integer greater than 1.
- the unlocking is performed, where the target matching value is the N fingerprint templates.
- a matching value corresponding to the fingerprint template in which the matching value between the first fingerprint and the fingerprint information is greater than the first preset threshold. Therefore, the fingerprint template with higher matching score can be matched with the fingerprint information in front, so that the matching efficiency can be improved, and therefore, the efficiency of fingerprint unlocking can be improved.
- the number of fingerprint templates reaches a certain number, part of the fingerprint template is deleted, from However, the efficiency of fingerprint unlocking is guaranteed.
- FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for unlocking a fingerprint according to an embodiment of the present invention.
- the method for unlocking a fingerprint described in this embodiment includes the following steps:
- the fingerprint information is matched with the N fingerprint templates according to a sorting order of the pre-stored N fingerprint templates, where each fingerprint template of the N fingerprint templates corresponds to a matching score, and the N
- the sorting order of the fingerprint templates is an order in which the matching scores are from high to low, and the N is an integer greater than one.
- the target matching value is a fingerprint template in which a matching value between the first one of the N fingerprint templates and the fingerprint information is greater than a first preset threshold. Corresponding match value.
- step 401 - step 407 can refer to step 201 - step 207 of the embodiment described in FIG. 2 .
- the terminal may detect, at a preset time, whether the fingerprint matching data stored in the terminal has a matching score lower than a third preset threshold.
- the terminal detects whether the fingerprint matching data stored in the terminal has a matching score lower than a third preset threshold.
- the third preset threshold may be 0.1, 0.01, 0.3, 1, 5, 10, 15, 16, 20, 30, 35, 42, 51, etc., which is not limited herein, and the second preset threshold may be determined by the user. Settings.
- the fingerprint template corresponding to the matching score of the second preset threshold is deleted, and usually, It is considered that the fingerprint template with low matching score is rarely used in the matching process. Therefore, the fingerprint template with low matching score is stored in the terminal, which not only occupies memory, but also may consume the unlocking time during the fingerprint unlocking process.
- the fingerprint template corresponding to the matching score lower than the third preset threshold is deleted.
- the fingerprint information is obtained, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each fingerprint template of the N fingerprint templates corresponds to a matching score.
- the order of the N fingerprint templates is the order of the matching scores from high to low.
- the N is an integer greater than 1.
- FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention.
- the terminal described in this embodiment includes: an obtaining unit 501, a matching unit 502, and an unlocking unit 503, as follows:
- the obtaining unit 501 is configured to acquire fingerprint information.
- the matching unit 502 is configured to match the fingerprint information acquired by the acquiring unit 501 with the N fingerprint templates according to a sort order of the pre-stored N fingerprint templates, where each fingerprint of the N fingerprint templates The template corresponds to a matching score, and the sorting order of the N fingerprint templates is an order in which the matching scores are high to low, and the N is an integer greater than 1.
- the unlocking unit 503 is configured to perform unlocking when the matching unit 502 matches the target matching value, where the target matching value is a matching value between the first one of the N fingerprint templates and the fingerprint information. A matching value corresponding to the fingerprint template that is greater than the first preset threshold.
- the obtaining unit 501 is specifically configured to:
- fingerprint information is collected, and the fingerprint information is a feature texture or a fingerprint image of the fingerprint.
- the terminal described in FIG. 5a may further include:
- a first calculating unit 504 configured to calculate a matching score between the fingerprint information and the N fingerprint templates after the unlocking unit performs unlocking, to obtain N target matching scores;
- the first calculating unit 504 is further configured to calculate a mean value of the N target matching scores
- a saving unit 505 configured to save the fingerprint information as a target fingerprint template, and use the average value as a matching score corresponding to the fingerprint information;
- the first sorting unit 506 is configured to sort the matching scores of the target fingerprint template and the N fingerprint templates saved by the saving unit 505 in descending order.
- the specific implementation manner in which the calculating unit 504 calculates the mean value of the N target matching scores is:
- the matching value is greater than the first preset threshold.
- the terminal described in FIG. 5b may further include:
- the first detecting unit 507 is configured to perform, in descending order, the matching scores of the target fingerprint template saved by the saving unit and the N fingerprint templates acquired by the acquiring unit 501 by the sorting unit 506. After the sorting is performed, detecting whether the number of fingerprint templates currently stored in the terminal is greater than a second preset threshold;
- a first deleting unit 508 configured to delete at least one fingerprint template of the plurality of fingerprint templates according to a deletion principle of preferentially deleting a low matching score, if the detection result of the first detecting unit 507 is YES, so that the remaining fingerprints are The number of templates is less than or equal to the second predetermined threshold.
- the terminal described in FIG. 5b may further include:
- a second detecting unit 509 configured to match the target fingerprint template saved by the saving unit 505 by the sorting unit 506 and the matching scores of the N fingerprint templates acquired by the acquiring unit 501 according to high to low After sequentially sorting, detecting whether the fingerprint matching data stored in the terminal has a matching score lower than a third preset threshold;
- the second deleting unit 510 is configured to delete, if the second detecting unit 509 is, a fingerprint template corresponding to a matching score lower than the third preset threshold.
- the matching score of any one of the N fingerprint templates is calculated by the following formula, and the formula is as follows:
- S is the matching score
- M is the number of successes
- i is the i-th matching is successful
- P i is the matching value corresponding to the i-th matching success.
- the terminal described in FIG. 5a may further include:
- a second calculating unit (not shown) for calculating a matching score between the fingerprint information and the N fingerprint templates, to obtain N target matching scores
- the second calculating unit is further configured to recalculate a matching score of the N fingerprint templates
- the second sorting unit (not shown) is configured to sort the N fingerprint templates in descending order of matching scores, and use the sorting order as a sorting order of the next fingerprint unlocking.
- the fingerprint information is obtained by using the terminal described in the embodiment of the present invention, and the fingerprint information is matched with the N fingerprint templates according to the sorting order of the pre-stored N fingerprint templates, wherein each of the N fingerprint templates corresponds to the fingerprint template.
- a matching score and the sorting order of the N fingerprint templates is an order in which the matching scores are from high to low, and the N is an integer greater than 1, and when the target matching value is matched, the unlocking is performed, wherein the target matching value is the A matching value corresponding to the fingerprint template in which the matching value between the first one of the N fingerprint templates and the fingerprint information is greater than the first preset threshold. Therefore, the fingerprint template with higher matching score can be matched with the fingerprint information in front, so that the matching efficiency can be improved, and therefore, the efficiency of fingerprint unlocking can be improved.
- FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an 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, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 is connected via bus 5000.
- the input device 1000 may be a physical button, a touch panel, a mouse, or a fingerprint recognition module.
- the output device 2000 described above may specifically be a display screen.
- the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a magnetic disk memory.
- the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
- the input device 1000 is configured to:
- the processor 3000 is further specifically configured to:
- the sort order is the order of matching scores from high to low, and the N is an integer greater than one;
- the unlocking is performed, where the target matching value is corresponding to the fingerprint template in which the matching value between the first one of the N fingerprint templates and the fingerprint information is greater than the first preset threshold. Match value.
- the foregoing processor 3000 acquires fingerprint information, including:
- fingerprint information is collected, and the fingerprint information is a feature texture or a fingerprint image of the fingerprint.
- processor 3000 is unlocked, it is further specifically used to:
- the matching scores of the target fingerprint template and the N fingerprint templates are sorted in descending order.
- the processor 3000 calculates an average value of the N target matching scores, including:
- the matching value is greater than the first preset threshold.
- the processor 3000 is further configured to:
- At least one of the plurality of fingerprint templates is deleted according to the deletion principle of preferentially deleting the low matching score, so that the number of remaining fingerprint templates is less than or equal to the second preset threshold.
- the processor 3000 is further configured to:
- the fingerprint template corresponding to the matching score lower than the third preset threshold is deleted.
- the matching score of any one of the N fingerprint templates is calculated by the following formula, and the formula is as follows:
- S is the matching score
- M is the number of successes
- i is the i-th matching success
- P i is the matching value corresponding to the i-th matching success.
- the method is further specifically configured to:
- the N fingerprint templates are sorted in descending order of matching scores, and the sorting order is used as a sorting order of the next fingerprint unlocking.
- the input device 1000, the output device 2000, and the processor 3000 described in the embodiments of the present invention may perform the first embodiment, the second embodiment, and the third method of the fingerprint unlocking method provided by the embodiment of the present invention.
- the implementation manners in the embodiment and the fourth embodiment may also be implemented in the implementation manner of the terminal in the first embodiment of the terminal provided by the embodiment of the present invention, and details are not described herein again.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the method for unlocking the fingerprint according to any one of the foregoing method embodiments.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Collating Specific Patterns (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明实施例提供了一种指纹解锁的方法,所述方法包括:获取指纹信息;按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。本发明实施例还提供了一种终端。通过本发明实施例可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。
Description
本发明要求2016年3月15日递交的发明名称为“一种指纹解锁的方法及终端”的申请号201610147972.2的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
本发明涉及安全技术领域,具体涉及一种指纹解锁的方法及终端。
随着信息技术的快速发展,终端(如手机、平板电脑等等)的使用越来越普及。指纹识别技术作为终端上的标配技术,指纹识别技术不仅可以用于终端的解锁、唤醒、移动支付等等中得到广泛应用。在指纹识别技术流行的同时,为了实现快速解锁,终端的解锁时间也是终端制造商直接关心的问题。通常情况下,终端中会预存多个指纹模板,在获取到用户输入的指纹信息时,将该指纹信息分别与该预存的多个指纹模板进行匹配,直到预存的多个指纹模板中有一个指纹模板与该指纹信息匹配成功,则进行解锁,这种方式,降低了指纹解锁的效率。
发明内容
本发明实施例提供了一种终端解锁的方法及终端,可提高指纹解锁的效率。
本发明实施例第一方面提供了一种终端解锁的方法,包括:
获取指纹信息;
按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;
在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个
指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
本发明实施例第二方面提供了一种终端,包括:
获取单元,用于获取指纹信息;
匹配单元,用于按照预存的N个指纹模板的排序顺序将所述获取单元获取的所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;
解锁单元,用于在所述匹配单元匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
本发明实施例第三方面提供了一种终端,包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面所描述的部分或全部步骤。
实施本发明实施例,具有如下有益效果:
通过本发明实施例,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为该N个指纹模板中第一个与该指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。从而,可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一
些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种指纹解锁的方法的第一实施例流程示意图;
图2是本发明实施例提供的一种指纹解锁的方法的第二实施例流程示意图;
图3是本发明实施例提供的一种指纹解锁的方法的第三实施例流程示意图;
图4是本发明实施例提供的一种指纹解锁的方法的第四实施例流程示意图;
图5a是本发明实施例提供的一种终端的第一实施例结构示意图;
图5b是本发明实施例提供的一种终端的第一实施例又一结构示意图;
图5c是本发明实施例提供的一种终端的第一实施例又一结构示意图;
图5d是本发明实施例提供的一种终端的第一实施例又一结构示意图;
图6是本发明实施例提供的一种终端的第二实施例结构示意图。
本发明实施例提供了一种终端解锁的方法及终端,可提高指纹解锁的效率。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性
可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本发明实施例所描述的终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述终端仅是举例,而非穷举,包含但不限于上述终端。
需要说明的是,本发明实施例中,终端中可存有指纹匹配数据,该指纹匹配数据包含多个指纹模板,该多个指纹模板中每一指纹模板的匹配分数,还可包含该多个指纹模板的排序顺序。
请参阅图1,为本发明实施例提供的一种指纹解锁的方法的第一实施例流程示意图。本实施例中所描述的指纹解锁的方法,包括以下步骤:
101、获取指纹信息。
本发明实施例中,在用户按压指纹识别模组的过程中,终端可通过指纹识别模组采集用户的指纹信息。可选地,该指纹信息可为用户按压指纹识别模组时候采集的指纹的特征纹路,或者,该指纹信息可为用户按压指纹识别模组时采集的指纹图像。
可选地,指纹信息可为指纹图像,那么,可比对采集的指纹图像和指纹模板之间的匹配值,若匹配值达到某个阈值,则可认为指纹图像与指纹模板匹配成功,若匹配值未达到该某个阈值,则可认为指纹图像与指纹模板不匹配。指纹信息可为指纹的特征纹路,即指纹图像中包含的指纹的特征轮廓,那么,可比对采集的特征纹路和指纹模板之间的匹配值,若匹配值达到某个阈值,则可认为特征纹路与指纹模板匹配成功,若匹配值未达到该某个阈值,则可认为特征纹路与指纹模板不匹配。指纹信息可为指纹的特征点,即指纹图像中包含的指纹的角点,例如Harris角点、尺度不变特征变换(Scale Invariant Feature Transform,SIFT)角点,那么,可比对采集的特征点和指纹模板之间的匹配值,若匹配值达到某个阈值,则可认为特征点与指纹模板匹配成功,若匹配值未达到该某个阈值,则可认为特征点与指纹模板不匹配。
102、按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数。
本发明实施例中,终端中可预存N个指纹模板,每个指纹模板对应一个匹配分数,N为大于1的整数。终端可事先对该N个指纹模板按照匹配分数由高到低的顺序进行排序。进一步地,在排序完后,还可对排序后的该N个指纹模板进行编号,例如,匹配分数最高的指纹模板编号为1,匹配分数第二高的指纹模板编号为2,…,匹配分数最低的指纹模板编号为N。
需要说明的是,每一指纹模板的匹配分数可由该指纹模板被匹配成功的匹配值和成功次数计算得到。其中,此处,指纹模板被匹配成功的匹配值是指在终端解锁过程中,该指纹模板被匹配且成功解锁时,该指纹模板与指纹信息之间的匹配值,该匹配值可为0~1之间,例如,可采用结构相似性(structural similarity,SSIM)计算指纹模板与指纹信息之间的匹配值。该指纹模板被匹配成功的成功次数为该指纹模板被匹配且成功解锁时,该指纹模板的成功次数会在原来该指纹模板的成功次数基础上加1,例如,该指纹模板原来的成功次数为M,那么,在该指纹模板被成功匹配后的成功次数为M+1。
一种可能的实施方式,即指纹模板j的匹配分数为每次匹配成功的匹配值之和,指纹模板j为任一指纹模板,如下公式:
其中,S表示匹配分数,M表示在解锁过程中被匹配成功的成功次数,i表示第i次匹配成功,Pi表示第i次匹配成功对应的匹配值,其中,Pi可为第i次匹配成功时候,指纹信息与上述指纹模板j之间的匹配值,两者之间的匹配值可利用SSIM计算得到。
可选地,每一指纹模板的匹配分数可由该指纹模板被匹配成功的匹配值和成功次数计算得到,匹配分数可为每次匹配成功的匹配分数之和,以指纹模板k为例说明,假设匹配值大于0.85才认为指纹信息与指纹模板k匹配成功,那么,在匹配值大于0.85且小于0.9之间,匹配分数为1,在匹配度大于或等于
0.9且小于0.95之间,匹配分数为2,在匹配值大于或等于0.95之间,匹配分数为3,那么,指纹模板k的分数可为所有匹配成功时的匹配分数之和。假设匹配成功3次,第一次匹配成功的匹配分数为1,第二次匹配成功的匹配分数为2,第三次匹配成功的匹配分数为1,那么,指纹模板k对应的匹配分数为4。
可选地,匹配分数还可为被匹配成功的成功次数。在匹配分数相同的情况下,按照匹配分数由高到低的顺序排序的话,匹配值之和大的指纹模板排在匹配值之和小的指纹模板前面。例如,指纹模板i被成功匹配的成功次数为5,则匹配分数为5,同时,在指纹模板i与指纹模板j的匹配分数一样时,还可以,计算该5次是模板指纹i和指纹模板j对应的匹配值之和的大小,若指纹模板i的匹配值之和大,则按照匹配分数由高到低的顺序排序的话,指纹模板i排在指纹模板j前面。
103、在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
本发明实施例中,终端可按照N个指纹模板的排序将指纹信息与N个指纹模板进行匹配,具体地,即:该N个指纹模板已经按照匹配分数由高到低的顺序排序,那么,首先,终端将该指纹信息与匹配分数最高的指纹模板进行匹配,若匹配失败,则将指纹信息与匹配分数第二高的指纹模板进行匹配,…,若匹配分数第二低的指纹模板与指纹信息匹配失败,则将指纹信息与匹配分数最低的指纹模板进行匹配,若指纹信息与匹配分数最低的指纹模板匹配失败,则该指纹信息无法进行解锁。进一步地,若指纹模板i与指纹信息匹配成功,则说明该指纹模板i与指纹信息的匹配值大于第一预设阈值,那么,则终端可进行解锁。在匹配出目标匹配值时,进行解锁,其中,该目标匹配值为该N个指纹模板中第一个与该指纹信息之间的匹配值大于预设阈值的指纹模板对应的匹配值。其中,第一预设阈值可为0.65、0.75、0.8、0.8222、0.85、0.9、0.95等等,在此不作限定,优选地,第一预设阈值大于0.5。
可选地,上述进行解锁的过程可包括如下情况:例如,终端在步骤101之前,处于灭屏状态下,则可点亮屏幕,并展示解锁后的桌面图标;又例如,
终端在步骤101之前,处于亮屏状态下,则可展示解锁后的桌面图标;又例如,终端在步骤101之前,处于灭屏状态下,则可点亮屏幕,则启动与匹配成功的指纹模板关联的应用,或者,打开与该指纹模板关联的应用的预设页面;又例如,终端在步骤101之前,处于亮屏状态下,则可启动与匹配成功的指纹模板关联的应用,或者,打开与该指纹模板关联的应用的预设页面,其中,上述预设页面也可应用的主页面,或者,指定页面,或者,使用频率最高的页面。
通过本发明实施例,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。从而,可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。
请参阅图2,为本发明实施例提供的一种指纹解锁的方法的第二实施例流程示意图。本实施例中所描述的指纹解锁的方法,包括以下步骤:
201、获取指纹信息。
202、按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数。
203、在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
其中,步骤201-步骤203可参考图1中所描述的实施例步骤101-步骤103。
204、计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数。
本发明实施例中,在解锁后,可在后面继续按照N个指纹模板的排序顺序对该N个指纹模板进行匹配,若任一指纹模板与指纹信息匹配成功,则记
录该匹配分数,若任一指纹模板与指纹信息匹配失败,则记录该匹配分数为0。从而,可计算指纹信息与N个指纹模板之间的匹配值,根据该匹配值优化出匹配分数。
例如,每一指纹模板的匹配分数可由该指纹模板被匹配成功的匹配值和成功次数计算得到,匹配分数可为每次匹配成功的匹配分数之和,以指纹模板k为例说明,假设匹配值大于0.85才认为指纹信息与指纹模板k匹配成功,那么,在匹配值大于0.85且小于0.9之间,匹配分数为1,在匹配度大于或等于0.9且小于0.95之间,匹配分数为2,在匹配值大于或等于0.95之间,匹配分数为3,那么,指纹模板k的分数可为所有匹配成功时的匹配分数之和。假设匹配成功3次,第一次匹配成功的匹配分数为1,第二次匹配成功的匹配分数为2,第三次匹配成功的匹配分数为1,那么,指纹模板k对应的匹配分数为4。
205、计算所述N个目标匹配分数的均值。
本发明实施例中,终端可计算N个目标匹配分数的均值,即对所有的目标匹配分数进行求和,然后除以N。
进一步可选地,步骤205还可按照如下方式实施:获取N个目标匹配分数中的部分目标匹配分数,并计算该部分目标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与指纹信息之间的匹配值大于上述第一预设阈值。例如,若N个指纹模板中有M个指纹模板与指纹信息不匹配(即指纹模板与指纹信息之间的匹配值小于或等于上述第一预设阈值),可计算匹配成功的N-M个指纹模板所对应的目标匹配分数的均值,其中,M为小于N的正整数。
206、将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数。
本发明实施例中,终端可将指纹信息保存为目标指纹模板,即在匹配成功后,终端中的指纹模板会多一个。终端还可将匹配成功的指纹信息的作为目标指纹模板,并将上述得到的均值作为该目标指纹模板的匹配分数。
207、对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
可选地,目标指纹模板和N个指纹模板的匹配分数按照由高到低的顺序排序之后,即该排序后的顺序作为下一次指纹解锁过程中指纹模板被匹配的顺序。
当然,可选地,步骤203之后,还可包括如下步骤:将该指纹信息与N个指纹模板进行匹配,计算该指纹信息与N个指纹模板之间的匹配分数,得到该N个指纹模板中每一指纹模板的匹配分数,重新计算N个指纹模板的匹配分数,并对该N个指纹模板按照匹配分数由高到低的顺序进行排序,并以该排序顺序进行下一次指纹解锁。上述重新计算N个指纹模板的匹配分数主要是指,将指纹匹配数据中本次以前的某一指纹模板的匹配分数总和加上当前该指纹模板的匹配分数。
通过本发明实施例,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。从而,可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。
请参阅图3,为本发明实施例提供的一种指纹解锁的方法的第三实施例流程示意图。本实施例中所描述的指纹解锁的方法,包括以下步骤:
301、获取指纹信息。
302、按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数。
303、在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
304、计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个
目标匹配分数。
305、计算所述N个目标匹配分数的均值。
306、将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数。
307、对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
其中,步骤301-步骤307可参考图2中所描述的实施例步骤201-步骤207。
308、检测终端中当前存储的指纹模板的数目是否大于第二预设阈值。
本发明实施例中,终端可每隔预设时间检测该终端中存储的指纹模板的数目是否大于第二预设阈值。或者,终端在接收到用户输入的检测指令时,检测该终端中存储的指纹模板的数目是否大于第二预设阈值。其中,第二预设阈值可为5、10、15、16、20、30、35、42、51等等,在此不作限定,第一预设阈值可由用户自行设置。
309、若是,按照优先删除低匹配分数的删除原则删除所述当前存储的指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
本发明实施例中,在终端中存储的指纹模板的数目大于第二预设阈值时,可按照优先删除低匹配分数的删除原则删除当前存储的指纹模板中的一个或者多个指纹模板,使得剩下的指纹模板的数目小于或等于该第二预设阈值。从而,可保证指纹匹配数据中指纹模板的数量保持在一定水平,并可删除低匹配分数的指纹模板,从而,提高了终端在解锁过程中的匹配效率。
通过本发明实施例,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。从而,可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。并且在指纹模板数量达到一定数目时,删除部分指纹模板,从
而,保证指纹解锁的效率。
请参阅图4,为本发明实施例提供的一种指纹解锁的方法的第四实施例流程示意图。本实施例中所描述的指纹解锁的方法,包括以下步骤:
401、获取指纹信息。
402、按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数。
403、在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
404、计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数。
405、计算所述N个目标匹配分数的均值。
406、将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数。
407、对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
其中,步骤401-步骤407可参考图2中所描述的实施例步骤201-步骤207。
408、检测终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数。
本发明实施例中,终端可每隔预设时间检测该终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数。或者,终端在接收到用户输入的检测指令时,检测该终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数。其中,第三预设阈值可为0.1、0.01、0.3、1、5、10、15、16、20、30、35、42、51等等,在此不作限定,第二预设阈值可由用户自行设置。
409、若是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
本发明实施例中,在终端中存储的指纹匹配数据有低于第二预设阈值的匹配分数时,删除该第二预设阈值的匹配分数对应的指纹模板,通常情况下,可
认为匹配分数低的指纹模板在匹配过程中很少用到,因而,该匹配分数低的指纹模板存储在终端中不仅占用内存,而且在指纹解锁过程中,可能还非常消耗解锁时间,因而,可删除低于第三预设阈值的匹配分数对应的指纹模板。
通过本发明实施例,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。那么,可提高匹配效率,因此,可提高指纹解锁的效率。并且在指纹模板数量达到一定数目时,删除部分指纹模板,从而,保证指纹解锁的效率。
请参阅图5a,为本发明实施例提供的一种终端的第一实施例结构示意图。本实施例中所描述的终端,包括:获取单元501、匹配单元502和解锁单元503,具体如下:
获取单元501,用于获取指纹信息;
匹配单元502,用于按照预存的N个指纹模板的排序顺序将所述获取单元501获取的所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;
解锁单元503,用于在所述匹配单元502匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
可选地,获取单元501具体用于:
在用户按压指纹识别模组的过程中,采集指纹信息,所述指纹信息为指纹的特征纹路或者指纹图像。
进一步地,如图5b所示,图5a中所描述的终端还可包括:
第一计算单元504,用于在所述解锁单元进行解锁后,计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;
所述第一计算单元504,还用于计算所述N个目标匹配分数的均值;
保存单元505,用于将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数;
第一排序单元506,用于对所述保存单元505保存的所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
可选地,计算单元504计算所述N个目标匹配分数的均值的具体实施方式为:
获取所述N个目标匹配分数中的部分目标匹配分数,并计算所述部分目标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与所述指纹信息之间的匹配值大于所述第一预设阈值。
进一步地,如图5c所示,图5b中所描述的终端还可包括:
第一检测单元507,用于在所述排序单元506对所述保存单元保存的所述目标指纹模板和所述获取单元501获取的所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,检测所述终端中当前存储的指纹模板的数目是否大于第二预设阈值;
第一删除单元508,用于若所述第一检测单元507的检测结果为是,按照优先删除低匹配分数的删除原则删除所述多个指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
进一步地,如图5d所示,图5b中所描述的终端还可包括:
第二检测单元509,用于在所述排序单元506对所述保存单元505保存的所述目标指纹模板和所述获取单元501获取的所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,检测所述终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数;
第二删除单元510,用于若所述第二检测单元509的是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
可选地,上述N个指纹模板中任一指纹模板的匹配分数由如下公式计算得到,所述公式如下:
其中,S表示匹配分数,M表示成功次数,i表示第i次匹配成功,Pi表
示第i次匹配成功对应的匹配值。
可选地,图5a所描述的终端还可包括:
第二计算单元(图中未标出),用于计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;
所述第二计算单元,还用于重新计算所述N个指纹模板的匹配分数;
第二排序单元(图中未标出),用于将所述N个指纹模板按照匹配分数由高到低的顺序进行排序,并将所述排序的顺序作为下一次指纹解锁的排序顺序。
通过本发明实施例所描述的终端,获取指纹信息,按照预存的N个指纹模板的排序顺序将该指纹信息与该N个指纹模板进行匹配,其中,该N个指纹模板中每一指纹模板对应一个匹配分数,且该N个指纹模板的排序顺序为匹配分数由高到低的顺序,该N为大于1的整数,在匹配出目标匹配值时,进行解锁,其中,目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。从而,可将匹配分数较高的指纹模板排在前面与指纹信息进行匹配,那么,可提高匹配效率,因此,可提高指纹解锁的效率。
请参阅图6,为本发明实施例提供的一种终端的第二实施例结构示意图。本实施例中所描述的终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。
其中,上述输入设备1000具体可为物理按键、触控面板、鼠标或者指纹识别模组。
上述输出设备2000具体可为显示屏。
上述存储器4000可以是高速RAM存储器,也可为非易失性存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:
上述输入设备1000,用于:
获取指纹信息;
上述处理器3000,还具体用于:
按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;
在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
可选地,上述处理器3000获取指纹信息,包括:
在用户按压指纹识别模组的过程中,采集指纹信息,所述指纹信息为指纹的特征纹路或者指纹图像。
进一步地,上述处理器3000进行解锁之后,还具体用于:
计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;
计算所述N个目标匹配分数的均值;
将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数;
对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
可选地,上述处理器3000计算所述N个目标匹配分数的均值,包括:
获取所述N个目标匹配分数中的部分目标匹配分数,并计算所述部分目标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与所述指纹信息之间的匹配值大于所述第一预设阈值。
进一步地,上述处理器3000对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,还具体用于:
检测所述终端中当前存储的指纹模板的数目是否大于第二预设阈值;
若是,按照优先删除低匹配分数的删除原则删除所述多个指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
进一步地,上述处理器3000对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,还具体用于:
检测所述终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数;
若是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
作为一种可能的实施方式,上述N个指纹模板中任一指纹模板的匹配分数由如下公式计算得到,所述公式如下:
其中,S表示匹配分数,M表示成功次数,i表示第i次匹配成功,Pi表示第i次匹配成功对应的匹配值。
可选地,上述处理器3000进行解锁之后,还具体用于:
计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;
重新计算所述N个指纹模板的匹配分数;
将所述N个指纹模板按照匹配分数由高到低的顺序进行排序,并将所述排序的顺序作为下一次指纹解锁的排序顺序。
具体实现中,本发明实施例中所描述的输入设备1000、输出设备2000和处理器3000可执行本发明实施例提供的一种指纹解锁的方法的第一实施例、第二实施例、第三实施例和第四实施例中所描述的实现方式,也可执行本发明实施例提供的一种终端的第一实施例中所描述的终端的实现方式,在此不再赘述。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任意一种指纹解锁的方法的部分或全部步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施
例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理
解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (25)
- 一种指纹解锁的方法,其特征在于,包括:获取指纹信息;按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
- 根据权利要求1所述的方法,其特征在于,所述获取指纹信息,包括:在用户按压指纹识别模组的过程中,采集指纹信息,所述指纹信息为指纹的特征纹路或者指纹图像。
- 根据权利要求1或2任一项所述的方法,其特征在于,所述进行解锁之后,所述方法还包括:计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;计算所述N个目标匹配分数的均值;将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对应的匹配分数;对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
- 根据权利要求3所述的方法,其特征在于,所述计算所述N个目标匹配分数的均值,包括:获取所述N个目标匹配分数中的部分目标匹配分数,并计算所述部分目 标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与所述指纹信息之间的匹配值大于所述第一预设阈值。
- 根据权利要求3所述的方法,其特征在于,所述对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,所述方法还包括:检测终端中当前存储的指纹模板的数目是否大于第二预设阈值;若是,按照优先删除低匹配分数的删除原则删除所述当前存储的指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
- 根据权利要求3所述的方法,其特征在于,所述对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,所述方法还包括:检测终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数;若是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
- 根据权利要求1或2任一项所述的方法,其特征在于,所述进行解锁之后,所述方法还包括:计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;重新计算所述N个指纹模板的匹配分数;将所述N个指纹模板按照匹配分数由高到低的顺序进行排序,并将所述排序的顺序作为下一次指纹解锁的排序顺序。
- 一种终端,其特征在于,包括:获取单元,用于获取指纹信息;匹配单元,用于按照预存的N个指纹模板的排序顺序将所述获取单元获取的所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;解锁单元,用于在所述匹配单元匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
- 根据权利要求9所述的终端,其特征在于,所述获取单元具体用于:在用户按压指纹识别模组的过程中,采集指纹信息,所述指纹信息为指纹的特征纹路或者指纹图像。
- 根据权利要求9或10任一项所述的终端,其特征在于,所述终端还包括:第一计算单元,用于在所述解锁单元进行解锁后,计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;所述第一计算单元,还用于计算所述N个目标匹配分数的均值;保存单元,用于将所述指纹信息保存为目标指纹模板,并将所述计算单元计算的所述均值作为所述指纹信息对应的匹配分数;第一排序单元,用于对所述保存单元保存的所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
- 根据权利要求11所述的终端,其特征在于,所述计算单元计算所述N个目标匹配分数的均值的具体实施方式为:获取所述N个目标匹配分数中的部分目标匹配分数,并计算所述部分目标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与所述指纹信息之间的匹配值大于所述第一预设阈值。
- 根据权利要求11所述的终端,其特征在于,所述终端还包括:第一检测单元,用于在所述排序单元对所述保存单元保存的所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,检测所述终端中当前存储的指纹模板的数目是否大于第二预设阈值;第一删除单元,用于若所述第一检测单元的检测结果为是,按照优先删除低匹配分数的删除原则删除所述当前存储的指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
- 根据权利要求11所述的终端,其特征在于,所述终端还包括:第二检测单元,用于在所述排序单元对所述保存单元保存的所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,检测所述终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数;第二删除单元,用于若所述第二检测单元的检测结果为是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
- 根据权利要求9或10任一项所述的终端,其特征在于,所述终端还包括:第二计算单元,用于计算所述指纹信息与所述N个指纹模板之间的匹配 分数,得到N个目标匹配分数;所述第二计算单元,还用于重新计算所述N个指纹模板的匹配分数;第二排序单元,用于将所述N个指纹模板按照匹配分数由高到低的顺序进行排序,并将所述排序的顺序作为下一次指纹解锁的排序顺序。
- 一种终端,其特征在于,包括:存储有可执行程序代码的存储器;与所述存储器耦合的处理器;所述处理器调用所述存储器中存储的所述可执行程序代码,执行如下步骤:获取指纹信息;按照预存的N个指纹模板的排序顺序将所述指纹信息与所述N个指纹模板进行匹配,其中,所述N个指纹模板中每一指纹模板对应一个匹配分数,且所述N个指纹模板的排序顺序为匹配分数由高到低的顺序,所述N为大于1的整数;在匹配出目标匹配值时,进行解锁,其中,所述目标匹配值为所述N个指纹模板中第一个与所述指纹信息之间的匹配值大于第一预设阈值的指纹模板对应的匹配值。
- 根据权利要求17所述的终端,其特征在于,所述获取指纹信息,包括:在用户按压指纹识别模组的过程中,采集指纹信息,所述指纹信息为指纹的特征纹路或者指纹图像。
- 根据权利要求17或18任一项所述的终端,其特征在于,所述进行解锁之后,所述处理器还具体用于:计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;计算所述N个目标匹配分数的均值;将所述指纹信息保存为目标指纹模板,并将所述均值作为所述指纹信息对 应的匹配分数;对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序。
- 根据权利要求19所述的终端,其特征在于,所述计算所述N个目标匹配分数的均值,包括:获取所述N个目标匹配分数中的部分目标匹配分数,并计算所述部分目标匹配分数的均值,所述部分目标匹配分数中每一目标匹配分数对应的指纹模板与所述指纹信息之间的匹配值大于所述第一预设阈值。
- 根据权利要求19所述的终端,其特征在于,所述对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,所述处理器还具体用于:检测终端中当前存储的指纹模板的数目是否大于第二预设阈值;若是,按照优先删除低匹配分数的删除原则删除所述当前存储的指纹模板中的至少一个指纹模板,使得剩下的指纹模板的数目小于或等于所述第二预设阈值。
- 根据权利要求19所述的终端,其特征在于,所述对所述目标指纹模板和所述N个指纹模板的匹配分数按照由高到低的顺序进行排序之后,所述处理器还具体用于:检测终端中存储的指纹匹配数据是否有低于第三预设阈值的匹配分数;若是,删除低于所述第三预设阈值的匹配分数对应的指纹模板。
- 根据权利要求17或18任一项所述的终端,其特征在于,所述进行解锁之后,所述处理器还具体用于:计算所述指纹信息与所述N个指纹模板之间的匹配分数,得到N个目标匹配分数;重新计算所述N个指纹模板的匹配分数;将所述N个指纹模板按照匹配分数由高到低的顺序进行排序,并将所述排序的顺序作为下一次指纹解锁的排序顺序。
- 一种程序,其特征在于,所述程序用于存储计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至8任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610147972.2A CN105844129B (zh) | 2016-03-15 | 2016-03-15 | 一种指纹解锁的方法及终端 |
CN201610147972.2 | 2016-03-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017156963A1 true WO2017156963A1 (zh) | 2017-09-21 |
Family
ID=56587998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/093581 WO2017156963A1 (zh) | 2016-03-15 | 2016-08-05 | 一种指纹解锁的方法及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105844129B (zh) |
WO (1) | WO2017156963A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117711032A (zh) * | 2023-08-18 | 2024-03-15 | 荣耀终端有限公司 | 指纹识别方法及电子设备 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446841B (zh) | 2016-09-27 | 2019-08-20 | Oppo广东移动通信有限公司 | 一种指纹模板匹配顺序更新方法及终端 |
CN106778572A (zh) * | 2016-12-05 | 2017-05-31 | 北京小米移动软件有限公司 | 指纹识别方法及装置 |
CN106682608A (zh) * | 2016-12-23 | 2017-05-17 | 努比亚技术有限公司 | 指纹匹配装置及方法 |
CN108399325A (zh) * | 2018-02-01 | 2018-08-14 | 广东欧珀移动通信有限公司 | 解锁控制方法及相关产品 |
CN109671200B (zh) * | 2019-01-12 | 2022-01-04 | 深圳旦倍科技有限公司 | 基于物联网的指纹识别门锁系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050232473A1 (en) * | 2004-04-18 | 2005-10-20 | Zhongqiu Liu | Fingerprint verification method and apparatus based on global ridgeline |
CN101276411A (zh) * | 2008-05-12 | 2008-10-01 | 北京理工大学 | 指纹识别方法 |
CN105389566A (zh) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | 指纹识别方法、指纹模板的更新方法、装置和移动终端 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1217287C (zh) * | 2002-02-22 | 2005-08-31 | 杭州中正生物认证技术有限公司 | 指纹识别方法与系统 |
CN104573451B (zh) * | 2013-10-29 | 2017-02-22 | 深圳市腾讯计算机系统有限公司 | 一种用户验证方法、装置及电子装置 |
CN104463141B (zh) * | 2014-12-24 | 2018-03-13 | 北京大唐智能卡技术有限公司 | 一种基于智能卡的指纹模板录入方法及装置 |
-
2016
- 2016-03-15 CN CN201610147972.2A patent/CN105844129B/zh active Active
- 2016-08-05 WO PCT/CN2016/093581 patent/WO2017156963A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050232473A1 (en) * | 2004-04-18 | 2005-10-20 | Zhongqiu Liu | Fingerprint verification method and apparatus based on global ridgeline |
CN101276411A (zh) * | 2008-05-12 | 2008-10-01 | 北京理工大学 | 指纹识别方法 |
CN105389566A (zh) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | 指纹识别方法、指纹模板的更新方法、装置和移动终端 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117711032A (zh) * | 2023-08-18 | 2024-03-15 | 荣耀终端有限公司 | 指纹识别方法及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN105844129A (zh) | 2016-08-10 |
CN105844129B (zh) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017156963A1 (zh) | 一种指纹解锁的方法及终端 | |
WO2017156965A1 (zh) | 一种指纹解锁的方法及终端 | |
CN108564954B (zh) | 深度神经网络模型、电子装置、身份验证方法和存储介质 | |
WO2017045443A1 (zh) | 一种图像检索方法及系统 | |
US10354117B2 (en) | Fingerprint identification method and apparatus | |
WO2020056980A1 (zh) | 基于人脸识别的业务引导方法、装置及存储介质 | |
WO2019109526A1 (zh) | 人脸图像的年龄识别方法、装置及存储介质 | |
WO2017174010A1 (zh) | 一种指纹解锁的方法及终端 | |
US20160170547A1 (en) | Distinguishing Between Touch Gestures and Handwriting | |
CN110248025B (zh) | 多指纹与掌纹信息的身份识别方法、装置及存储介质 | |
CN107454251B (zh) | 解锁控制方法及相关产品 | |
US10126940B2 (en) | Touch zones on a soft keyboard | |
JP7107598B2 (ja) | 認証用顔画像候補判定装置、認証用顔画像候補判定方法、プログラム、および記録媒体 | |
CN108596079B (zh) | 手势识别方法、装置及电子设备 | |
CN109885831B (zh) | 关键术语抽取方法、装置、设备及计算机可读存储介质 | |
CN111814923A (zh) | 一种图像聚类方法、系统、设备和介质 | |
WO2018161312A1 (zh) | 指纹识别的方法及装置 | |
US20230096921A1 (en) | Image recognition method and apparatus, electronic device and readable storage medium | |
CN112800919A (zh) | 一种检测目标类型视频方法、装置、设备以及存储介质 | |
WO2022268023A1 (zh) | 指纹识别方法、装置、电子设备和可读存储介质 | |
CN107291238B (zh) | 一种数据处理方法与装置 | |
WO2017000341A1 (zh) | 一种信息处理方法、装置以及终端 | |
JP5949903B2 (ja) | 生体認証装置、生体認証方法、および生体認証プログラム | |
WO2020119315A1 (zh) | 人脸采集方法及相关产品 | |
CN103984415B (zh) | 一种信息处理方法及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16894124 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16894124 Country of ref document: EP Kind code of ref document: A1 |