WO2018129966A1 - Fingerprint processing method, device and mobile terminal - Google Patents
Fingerprint processing method, device and mobile terminal Download PDFInfo
- Publication number
- WO2018129966A1 WO2018129966A1 PCT/CN2017/106124 CN2017106124W WO2018129966A1 WO 2018129966 A1 WO2018129966 A1 WO 2018129966A1 CN 2017106124 W CN2017106124 W CN 2017106124W WO 2018129966 A1 WO2018129966 A1 WO 2018129966A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fingerprint
- template
- fingerprint template
- user
- area
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/13—Sensors therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/50—Maintenance of biometric data or enrolment thereof
Definitions
- the present disclosure relates to the field of information processing, and in particular, to a fingerprint processing method, apparatus, and mobile terminal.
- the fingerprint recognition function has also been developed from a single unlock to a function of unlocking, paying, and launching various applications, which is also convenient for users to use.
- the fingerprint template stored in the fingerprint database of the mobile terminal is collected when the user starts the fingerprint unlocking or initializes the fingerprint.
- the fingerprint entered by the user fingerprint is matched with the fingerprint template to identify the fingerprint, and after the matching is successful, Unlock it.
- the inventor has found through research that there is a difference between the fingerprint and the fingerprint template entered by the user each time the fingerprint is unlocked, and the difference affects the matching degree between the fingerprint and the fingerprint template, and the fingerprint template and the fingerprint of the user are entered when unlocked.
- the degree of matching between fingerprints will affect the sensitivity of fingerprint unlocking.
- One technical problem solved by the embodiments of the present disclosure is that there is a deviation between the fingerprint entered by the user and the fingerprint template stored in advance, thereby affecting the sensitivity of the fingerprint unlocking.
- a fingerprint collection method including:
- the fingerprint unlocking operation is performed, and the matching degree with the fingerprint feature is not lower than the preset.
- the fingerprint template of the threshold is recorded as the first fingerprint template
- the first fingerprint template in the fingerprint library is replaced with the second fingerprint template.
- the method further includes:
- the initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements required by the second fingerprint template, wherein the initial fingerprint template is for the user to start fingerprint unlocking or initialize the fingerprint.
- the fingerprint template registered at the time;
- the first prompt information is output, where the first prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity;
- the fingerprint unlocking operation is performed.
- the method further includes:
- the initial fingerprint template corresponding to the second fingerprint template is replaced with the extended fingerprint area added by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
- the extended fingerprint area reaches the preset extended fingerprint area, outputting second prompt information, where the second prompt information is used to prompt the user to input at least one other pre-registered finger fingerprint to verify the user identity;
- the fingerprint unlocking operation is performed.
- the fingerprint collection method further includes:
- the second fingerprint template is determined as a final fingerprint template.
- the method further includes:
- the third prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to verify the user identity
- the fingerprint unlocking operation is performed.
- the fingerprint collection method further includes:
- the second fingerprint template is determined as a final fingerprint template.
- a fingerprint collection apparatus includes:
- the collecting unit is configured to collect a fingerprint image of the user when detecting a fingerprint contact of the user;
- An extracting unit configured to extract a fingerprint feature in the fingerprint image
- a matching unit configured to match the fingerprint feature with a fingerprint template in the fingerprint library
- an unlocking unit configured to perform a fingerprint unlocking operation when matching the fingerprint template with the fingerprint feature in a minimum of a preset threshold in the fingerprint database, and the matching degree with the fingerprint feature is not low
- the fingerprint template of the preset threshold is recorded as a first fingerprint template
- An acquiring unit configured to acquire a difference feature between the fingerprint feature and the first fingerprint template
- An adding unit configured to add the difference feature to the first fingerprint template, and modify the first fingerprint template to obtain a second fingerprint template
- a replacement unit configured to replace the first fingerprint template in the fingerprint library with the second fingerprint template.
- the foregoing apparatus further includes:
- a statistical unit configured to: after the first fingerprint template in the fingerprint library is replaced with the second fingerprint template, when the fingerprint contact of the user is detected again, the fingerprint library is counted The initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements required by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
- a first determining unit configured to determine whether the number of replacement times reaches a preset replacement number
- a first output unit configured to: when the first determining unit determines that the message is yes, the first prompt information is used to prompt the user to enter at least one other pre-registered finger fingerprint to Identity verification;
- the first execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
- the foregoing apparatus further includes:
- a first calculating unit configured to: when the first fingerprint template in the fingerprint library is replaced with the second fingerprint template, when the fingerprint contact of the user is detected again, calculate the second fingerprint Template corresponding to the beginning
- the initial fingerprint template is replaced by an extended fingerprint area added by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
- a second determining unit configured to determine whether the extended fingerprint area reaches a preset extended fingerprint area
- a second output unit configured to output a second prompt information, where the second prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to the user Identity verification;
- the second execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
- the foregoing apparatus further includes:
- the first determining unit is configured to determine the second fingerprint template as a final fingerprint template when the extended fingerprint area reaches the preset extended fingerprint area.
- the foregoing apparatus further includes:
- a second calculating unit configured to calculate the second fingerprint template when the fingerprint contact of the user is detected again after the replacing the first fingerprint template in the fingerprint library with the second fingerprint template Overall fingerprint area
- a third determining unit configured to determine whether the total fingerprint area reaches a preset fingerprint area
- a third output unit configured to output a third prompt information, where the third prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to the user Identity verification;
- the third execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
- the foregoing apparatus further includes:
- the second determining unit is configured to determine the second fingerprint template as a final fingerprint template when the total fingerprint area reaches the preset fingerprint area.
- a fingerprint processing apparatus including:
- a memory for storing instructions
- a processor coupled to the memory, the processor being configured to perform the method involved in any of the above embodiments based on the instructions stored in the memory.
- a mobile terminal including the fingerprint processing apparatus according to any of the above embodiments.
- a computer readable storage medium stores computer instructions that, when executed by a processor, implement any of the implementations described above The method involved in the example.
- FIG. 1 is an exemplary flowchart showing a fingerprint processing method in accordance with some embodiments of the present disclosure
- FIG. 2 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method, in accordance with some embodiments of the present disclosure
- FIG. 3 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to further embodiments of the present disclosure
- FIG. 4 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method in accordance with further embodiments of the present disclosure
- FIG. 5 is an exemplary block diagram showing a fingerprint processing apparatus in accordance with some embodiments of the present disclosure
- FIG. 6 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing device, in accordance with some embodiments of the present disclosure
- FIG. 7 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus in accordance with further embodiments of the present disclosure
- FIG. 8 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure.
- FIG. 9 is an exemplary block diagram showing a fingerprint processing apparatus according to further embodiments of the present disclosure.
- FIG. 10 is an exemplary block diagram showing a mobile terminal in accordance with some embodiments of the present disclosure.
- Some embodiments of the present disclosure disclose a fingerprint processing method, apparatus, and mobile terminal, so as to collect fingerprint samples while the user uses the fingerprint operation, and add fingerprints and fingerprint template differences to the fingerprint template to implement the fingerprint.
- the modification of the template enables the fingerprint template to be continuously improved, and the matching degree between the fingerprint entered when the user's fingerprint is unlocked and the fingerprint template is improved, thereby improving the sensitivity of the fingerprint unlocking.
- FIG. 1 is an exemplary flowchart showing a fingerprint processing method in accordance with some embodiments of the present disclosure.
- the method can be applied to a mobile terminal, and the mobile terminal includes but is not limited to a smart phone, an IPAD, and the like.
- the method can include the following steps:
- Step S101 Collect a fingerprint image of the user when detecting that the user performs a touch operation.
- the fingerprint is the line of the protrusion on the epidermis.
- the starting point, the end point, the joint point and the bifurcation point of the line are called the detailed feature points of the fingerprint. Since the fingerprint of the person is the combination of genetics and environment, it is closely related to human health. Therefore, fingerprints are available to everyone, but they are different. Because the fingerprint repetition rate is extremely small, it is called "human identity card.”
- the mobile terminal when the mobile terminal is in a non-working state, the mobile terminal is in a screen lock state.
- the mobile terminal can detect the contact in real time through the fingerprint sensor, and determine whether the contact is a touch operation, that is, a human finger. Fingerprint contact, in the case of determining that the user is performing a touch operation, collecting a fingerprint image of the user.
- Step S102 Extract fingerprint features in the fingerprint image.
- the fingerprint image may be subjected to cropping, image enhancement, refinement, denoising, binarization, etc. by fingerprint algorithm, and fingerprint features capable of uniquely representing the user's biometrics are extracted from the fingerprint image.
- Step S103 Match the fingerprint feature with the fingerprint template in the fingerprint library.
- the fingerprint template needs to be set in advance, and the fingerprint template is associated with the open mobile terminal instruction or the application instruction.
- Step S104 If there is a matching fingerprint template matching the fingerprint feature in the fingerprint database, perform a fingerprint unlocking operation, and record the matching fingerprint template as the first fingerprint template.
- the matching degree between the matching fingerprint template and the fingerprint feature is not lower than a preset threshold.
- the corresponding fingerprint unlocking operation is performed, and the matched fingerprint template is recorded as the first fingerprint template; in the case of determining that the user's fingerprint authentication fails, the refusal is performed.
- Line fingerprint unlocking operation to ensure the security of the mobile terminal and the privacy of the information.
- Step S105 Obtain a difference feature between the fingerprint feature and the first fingerprint template.
- the first fingerprint template is a fingerprint template preset before the application in the mobile terminal or the mobile terminal is unlocked, that is, the fingerprint template pre-recorded by the user.
- the fingerprint template stored by the user in the fingerprint database is a partial fingerprint corresponding to the finger. Therefore, there is usually a difference between the fingerprint feature entered by the user each time the user unlocks and the pre-stored fingerprint template, and the difference can be passed. The fingerprint feature is compared with the first fingerprint template.
- Step S106 Add a difference feature to the first fingerprint template, and modify the first fingerprint template to obtain a second fingerprint template.
- the difference between the fingerprint feature entered by the user each time unlocked and the first fingerprint template affects the degree of matching between the fingerprint feature and the first fingerprint template, and the matching degree affects the sensitivity of the fingerprint unlocking. Therefore, in order to improve the sensitivity of fingerprint unlocking, the present disclosure corrects and perfects the first fingerprint template by adding corresponding differential features to the first fingerprint template. To distinguish the first fingerprint template that adds the difference feature from the first fingerprint template that does not add the difference feature, the first fingerprint template that adds the difference feature is named as the second fingerprint template.
- Step S107 Replace the first fingerprint template in the fingerprint library with the second fingerprint template.
- the fingerprint processing method collects a fingerprint image of a user and detects a fingerprint feature in the fingerprint image when the user performs a touch operation, and if the fingerprint feature is found in the fingerprint database,
- the matching fingerprint template acquires the difference feature between the fingerprint feature and the matching fingerprint template while performing the fingerprint unlocking operation, corrects the matching fingerprint template according to the difference feature, and replaces the corrected matching fingerprint template with the matching fingerprint template before the correction.
- the present disclosure collects fingerprint samples while the user performs the touch operation, and adds the difference features of the fingerprint sample and the matching fingerprint template to the matching fingerprint template to implement the correction of the matching fingerprint template, thereby continuously improving the fingerprint template. Improve the matching degree between the fingerprint entered when the user's fingerprint is unlocked and the fingerprint template, thereby improving the sensitivity of fingerprint unlocking.
- the present disclosure implements the correction of the fingerprint template by adding the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template, so that the fingerprint template is continuously improved.
- the fingerprints between people and people are different, the repetition rate of the fingerprint is extremely small, but in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also realize the fingerprint unlocking.
- the public also sets a threshold for the modification of the fingerprint template, and checks the identity of the user when the fingerprint template changes to the threshold. Certificate to ensure the current identity of the current user.
- Step S201 The statistic replaces the initial fingerprint template corresponding to the second fingerprint template with the number of replacements experienced by the second fingerprint template.
- the initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint.
- the number of times the initial fingerprint template is replaced by the second fingerprint template may be replaced by the number of times the initial fingerprint template is replaced by the second fingerprint template.
- the number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template is “4”, and the number of replacements that the initial fingerprint template corresponding to the second fingerprint template is replaced with the second fingerprint template is determined to be “4”.
- each time the fingerprint template is replaced the number of replacements from the initial fingerprint template to the current new fingerprint template is recorded on the newly replaced fingerprint template. For example, if the initial fingerprint template is replaced with the first fingerprint template, Marking "1" on the first fingerprint template; in the case of replacing the first fingerprint template with the second fingerprint template, it is equivalent to performing two replacements on the initial fingerprint template to obtain a second fingerprint template. In this case, You can mark "2" on the second fingerprint template.
- the number of replacements required to obtain the initial fingerprint template corresponding to the second fingerprint template to be replaced by the second fingerprint template includes, but is not limited to, the above two modes.
- Step S202 Determine whether the number of replacement times reaches a preset replacement number, and if yes, proceed to step S203.
- the specific value of the preset replacement times is determined according to actual needs, such as 5 times, and the disclosure is not limited herein.
- Step S203 Output first prompt information, where the first prompt information is used to prompt the user to input at least one other fingerprint fingerprint registered in advance to verify the user identity.
- the fingerprint cannot be collected, and usually multiple fingerprints are input at a time, so that in the case of a finger entering the fingerprint, the fingerprint may also be used. Other fingerprints are fingerprinted to unlock the fingerprint.
- Step S204 Perform a fingerprint unlocking operation when the user identity verification is passed.
- the fingerprint template matching the other fingerprints entered by the user is matched in the fingerprint database, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- step S202 if it is determined in step S202 whether the number of replacements reaches the preset number of replacements, the fingerprint image currently recorded by the user is collected again according to the embodiment disclosed in FIG. 1 , and according to the fingerprint feature of the fingerprint image and the second The difference feature of the fingerprint template modifies the second fingerprint template.
- the second fingerprint template may be used as the final fingerprint template, and no correction is performed; the second fingerprint template may also be used as a new initial fingerprint template, as shown in FIG.
- the steps disclosed in the embodiment correct the new initial fingerprint template again.
- FIG. 3 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to another embodiment of the present disclosure, the method comprising the following steps:
- Step S301 Calculate an initial fingerprint template corresponding to the second fingerprint template and replace the extended fingerprint area increased by the second fingerprint template.
- the initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint.
- the initial fingerprint template corresponding to the second fingerprint template may be compared with the second fingerprint template, and the difference area between the two is the extended fingerprint area.
- Step S302 Determine whether the area of the extended fingerprint reaches the preset extended fingerprint area, and if yes, execute step S303.
- the fingerprint template is greatly changed, and thus other users can also implement fingerprint unlocking.
- the extended fingerprint area is correspondingly limited, and if the extended fingerprint area is not After the preset extended fingerprint area is reached, the fingerprint template may be further modified according to the embodiment shown in FIG. 1; when the extended fingerprint area reaches the preset extended fingerprint area, the output is used to prompt the user to enter at least one other pre-registered finger. The prompt information of the fingerprint is verified according to the fingerprint of the finger that the user re-enters.
- Step S303 Output second prompt information, where the second prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity.
- Step S304 in the case that the user identity verification is passed, the fingerprint unlocking operation is performed.
- the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to be pre-determined.
- the second fingerprint template can be determined as the final fingerprint template.
- FIG. 4 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to another embodiment of the present disclosure, the method comprising the following steps:
- Step S401 Calculate an overall fingerprint area of the second fingerprint template.
- Step S402 Determine whether the total fingerprint area reaches the preset fingerprint area, and if yes, perform step S403.
- the embodiment sets a preset fingerprint area, and the second fingerprint template is In the case that the overall fingerprint area does not reach the preset fingerprint area, according to the embodiment shown in FIG. 1, the second fingerprint template is further modified; in the case where the overall fingerprint area of the second fingerprint template reaches the preset fingerprint area, The prompt information for prompting the user to enter at least one pre-registered other finger fingerprint is output, and the user identity is verified according to the finger fingerprint that the user re-enters.
- Step S403 Output third prompt information, where the third prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity.
- Step S404 in the case that the user identity verification is passed, the fingerprint unlocking operation is performed.
- the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset.
- the second fingerprint template can be determined as the final fingerprint template.
- the process of verifying the identity of the user in the fingerprint processing method includes, but is not limited to, the embodiments shown in FIG. 2 to FIG. 3, and other similar methods for verifying the identity of the user are also within the protection scope of the present disclosure.
- the fingerprint processing method of the present disclosure collects fingerprint samples while the user uses the fingerprint operation, and adds the difference feature of the fingerprint sample and the fingerprint template to the fingerprint template to implement the correction of the fingerprint template, so that the fingerprint template is continuously Perfect, improve the matching degree between the fingerprint entered by the user's fingerprint and the fingerprint template, thereby improving the sensitivity of fingerprint unlocking.
- the present disclosure also sets a threshold value for the fingerprint template change, and in the fingerprint When the template changes to the threshold, the identity of the user is verified to ensure the current user's legal identity.
- the present disclosure also provides a fingerprint processing apparatus.
- FIG. 5 is an exemplary block diagram of a fingerprint processing apparatus in accordance with some embodiments of the present disclosure.
- the device is applied to a mobile terminal, where the mobile terminal includes but is not limited to a smart phone, an IPAD, etc., and the device includes:
- the collecting unit 501 is configured to collect a fingerprint image of the user when detecting that the user performs a touch operation.
- the mobile terminal may be in a screen lock state.
- the mobile terminal may detect the contact in real time through the fingerprint sensor, and determine whether the contact is a touch contact. That is, the fingerprint contact of the human finger, in the case where it is determined that the fingerprint contact of the user is detected, the fingerprint image of the user is collected.
- the extracting unit 502 is configured to extract fingerprint features in the fingerprint image.
- the fingerprint image may be subjected to cropping, image enhancement, refinement, de-drying, binarization, etc. by fingerprint algorithm, and the fingerprint feature uniquely representing the user biometric is extracted from the fingerprint image.
- the matching unit 503 is configured to match the fingerprint feature with the fingerprint template in the fingerprint library.
- the fingerprint feature of the user is compared with the fingerprint template in the fingerprint database, and if the matching degree of the two is not lower than the preset threshold, the user fingerprint authentication is determined to pass; If the matching degree is lower than the preset threshold, it is determined that the user fingerprint authentication fails, that is, this step is to verify the current identity of the current user by fingerprint verification. It can be understood that before the mobile terminal or the application in the mobile terminal is unlocked, the fingerprint template needs to be set in advance, and the fingerprint template is associated with the open mobile terminal instruction or the application instruction.
- the unlocking unit 504 is configured to perform a fingerprint unlocking operation when the matching fingerprint template matches the fingerprint feature in the fingerprint database, and record the matching fingerprint template as the first fingerprint template, wherein the matching fingerprint template and the fingerprint feature The matching degree is not lower than the preset threshold.
- the fingerprint unlocking operation is performed, and the matched fingerprint template is recorded as the first fingerprint template; if it is determined that the fingerprint authentication of the user fails, the fingerprint unlocking operation is refused to ensure the movement. Terminal security and information privacy.
- the obtaining unit 505 is configured to acquire a difference feature between the fingerprint feature and the first fingerprint template.
- the first fingerprint template is a fingerprint template preset before the application in the mobile terminal or the mobile terminal is unlocked, that is, the fingerprint template pre-recorded by the user. It can be understood that the user stores the fingerprint template in the fingerprint database.
- the fingerprint template is a partial fingerprint of the corresponding finger. Therefore, there is usually a difference between the fingerprint feature entered by the user each time unlocked and the pre-stored fingerprint template, and the difference can be obtained by comparing the fingerprint feature with the first fingerprint template. .
- the adding unit 506 is configured to add the difference feature to the first fingerprint template, and modify the first fingerprint template to obtain the second fingerprint template.
- the difference between the fingerprint feature entered by the user each time the user is unlocked and the first fingerprint template may affect the matching degree between the fingerprint feature and the first fingerprint template, and the matching degree may affect the sensitivity of the fingerprint unlocking.
- the present disclosure corrects and perfects the first fingerprint template by using a technical means of adding a difference feature to the first fingerprint template.
- the first fingerprint template that adds the difference feature is named as the second fingerprint template.
- the replacing unit 507 is configured to replace the first fingerprint template in the fingerprint library with the second fingerprint template.
- the fingerprint processing device collects a fingerprint image of a user and detects a fingerprint feature in the fingerprint image when the fingerprint contact of the user is detected, and finds a fingerprint feature in the fingerprint database.
- the fingerprint template while performing the fingerprint unlocking operation, the difference features of the fingerprint feature and the matched fingerprint template are acquired, the fingerprint template is corrected according to the difference feature, and the corrected fingerprint template is replaced with the fingerprint template before the correction.
- the present disclosure collects fingerprint sampling while the user uses the fingerprint operation, and adds the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template to implement the correction of the fingerprint template, thereby continuously improving the fingerprint template and improving the user fingerprint. The degree of matching between the fingerprint entered and the fingerprint template when unlocking, thereby improving the sensitivity of fingerprint unlocking.
- the present disclosure implements the correction of the fingerprint template by adding the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template, so that the fingerprint template is continuously improved.
- the fingerprints between people are different, the repetition rate of the fingerprint is extremely small, but in order to avoid minor changes to the fingerprint template, the fingerprint is caused.
- the disclosure also sets a threshold value for the fingerprint template change, and in the case that the fingerprint template change reaches the threshold value, the user The identity is verified to ensure the current identity of the current user.
- the fingerprint template is corrected, that is, after the replacement unit 507 replaces the first fingerprint template in the fingerprint library with the second fingerprint template, if the user's touch operation is detected again, the identity of the user is verified.
- FIG. 6 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing device, the device comprising:
- the statistic unit 601 is configured to: after the first fingerprint template in the fingerprint database is replaced with the second fingerprint template, if the touch operation of the user is detected again, the statistics replace the initial fingerprint template corresponding to the second fingerprint template with the first fingerprint template.
- the number of times the initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements performed by the second fingerprint template may be determined by counting the number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template.
- the number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template is “4”
- the number of replacements required to replace the initial fingerprint template corresponding to the second fingerprint template with the second fingerprint template is “4”.
- the fingerprint template may be replaced once, and the number of replacements of the current fingerprint template replaced by the current fingerprint template may be recorded on the newly replaced fingerprint template. For example, if the initial fingerprint template is replaced with the first fingerprint template, the first fingerprint template may be replaced by the first fingerprint template. Marking "1" on the fingerprint template; in the case of replacing the first fingerprint template with the second fingerprint template, it is equivalent to replacing the initial fingerprint template twice to obtain a second fingerprint template. In this case, Mark "2" on the second fingerprint template.
- the number of replacements required to obtain the initial fingerprint template corresponding to the second fingerprint template to be replaced by the second fingerprint template includes, but is not limited to, the above two modes.
- the first determining unit 602 is configured to determine whether the number of replacements reaches a preset number of replacements.
- the specific value of the preset replacement times is determined according to actual needs, such as 5 times, and the disclosure is not limited herein.
- the first output unit 603 is configured to output first prompt information when the first determining unit 602 determines that the yes, the first prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to identify the user. authenticating.
- a finger peeling In order to avoid the appearance of a finger due to a user entering a fingerprint, such as a finger peeling, As the fingerprint cannot be collected, multiple finger fingerprints are usually entered at one time, so that in the case of a finger entering the fingerprint, the finger with other fingerprints can be used to unlock the fingerprint.
- the number of replacements of the fingerprint template reaches the preset number of replacements, in order to ensure that the current user is a legitimate user, when the fingerprint contact of the user is detected, the user is prompted to input other pre-registered others. Finger fingerprint to verify the current user identity.
- the first execution unit 604 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
- the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- the fingerprint image currently recorded by the user is collected again according to the embodiment disclosed in FIG. 5, and according to the fingerprint feature of the fingerprint image.
- the difference feature of the second fingerprint template modifies the second fingerprint template.
- the second fingerprint template may be used as the final fingerprint template, and no modification is performed; or the second fingerprint template may be used as a new initial fingerprint template, and implemented according to FIG.
- the steps disclosed in the example correct the new initial fingerprint template again.
- FIG. 7 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure, the apparatus comprising:
- the first calculating unit 701 is configured to: after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the initial fingerprint template corresponding to the second fingerprint template is replaced with the second fingerprint.
- the initial fingerprint template corresponding to the second fingerprint template may be compared with the second fingerprint template, and the difference area between the two is an extended fingerprint area.
- the second determining unit 702 is configured to determine whether the extended fingerprint area reaches a preset extended fingerprint area.
- the fingerprint template is greatly changed, and thus other users can also implement the fingerprint unlocking.
- the embodiment adopts a technical method for limiting the extended fingerprint area, if the fingerprint is extended. If the area does not reach the preset extended fingerprint area, according to the embodiment shown in FIG. 1 , the fingerprint template is further modified; if the extended fingerprint area reaches the preset extended fingerprint area, the output is used to prompt the user to enter at least one. The prompt information of other finger fingerprints registered in advance, and the user identity is verified according to the fingerprint of the finger that the user re-enters.
- the second output unit 703 is configured to output second prompt information when the second determining unit 702 determines that the yes, the second prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to identify the user. authenticating.
- the second execution unit 704 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
- the user identity verification is determined to perform the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset.
- the second fingerprint template can be determined as the final fingerprint template.
- the device provided in this embodiment may further include a first determining unit (not shown in the figure) configured to determine the second fingerprint template as the final fingerprint if the extended fingerprint area reaches the preset extended fingerprint area. template.
- FIG. 8 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure, the apparatus comprising:
- the second calculating unit 801 is configured to calculate an overall fingerprint area of the second fingerprint template if the fingerprint contact of the user is detected again after replacing the first fingerprint template in the fingerprint database with the second fingerprint template.
- the third determining unit 802 is configured to determine whether the overall fingerprint area reaches a preset fingerprint area.
- the embodiment sets a preset fingerprint area, and the second fingerprint template is In the case that the overall fingerprint area does not reach the preset fingerprint area, according to the embodiment shown in FIG. 5, the second fingerprint template is further modified; in the case where the overall fingerprint area of the second fingerprint template reaches the preset fingerprint area, The prompt information for prompting the user to enter at least one pre-registered other finger fingerprint is output, and the user identity is verified according to the finger fingerprint that the user re-enters.
- the third output unit 803 is configured to output a third prompt information when the third determining unit 802 determines that the yes, the third prompt information is used to prompt the user to enter at least one other fingerprint fingerprint registered in advance, to User identity is verified.
- the third execution unit 804 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
- the user identity verification is determined to perform the fingerprint unlocking operation.
- the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
- the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset.
- the second fingerprint template can be determined as the final fingerprint template.
- the apparatus provided in this embodiment may further include a second determining unit (not shown in the figure) configured to determine the second fingerprint template as the final fingerprint if the extended fingerprint area reaches the preset extended fingerprint area. template.
- the functional unit modules described in the above embodiments may be implemented as a general purpose processor, a programmable logic controller (PLC), a digital signal processor (for example) for performing the functions described in the present disclosure.
- PLC programmable logic controller
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- other programmable logic devices discrete gates or transistors Logic device, discrete hardware component, or any suitable combination thereof.
- FIG. 9 is an exemplary block diagram showing a fingerprint processing apparatus according to further embodiments of the present disclosure. As shown in FIG. 9, the apparatus includes a memory 901 and a processor 902. among them:
- Memory 901 is for storing instructions
- processor 902 is coupled to memory 901, and processor 902 is configured to perform the methods involved in any of the embodiments of FIGS. 1-4 based on instructions stored in the memory.
- the apparatus further includes a communication interface 903 for performing information interaction with other devices.
- the apparatus further includes a bus 904, and the processor 902, the communication interface 903, and the memory 901 complete communication with each other via the bus 904.
- the memory 901 may include a high speed RAM memory, and may also include a non-volatile memory (Non-Volatile Memory, NVM for short), such as at least one disk memory.
- Memory 901 can also be a memory array.
- the memory 901 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
- the processor 902 can be a Central Processing Unit (CPU), or can be an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present disclosure.
- CPU Central Processing Unit
- ASIC application specific integrated circuit
- the present disclosure further provides a mobile terminal.
- the mobile terminal 1001 includes a fingerprint processing device 1002.
- the fingerprint processing device 1002 can be a fingerprint processing device according to any of the embodiments of FIG. 5-9.
- the present disclosure also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions that, when executed by the processor, implement the method of any of the embodiments of FIGS.
- the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects.
- the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code. .
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
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)
Abstract
A fingerprint processing method, a device and a mobile terminal. The method comprises: when a touch operation by a user is detected, acquiring a user fingerprint image (S101); extracting fingerprint features in the fingerprint image (S102); matching the fingerprint features with fingerprint templates in a fingerprint database (S103); if a matching fingerprint template matched with the fingerprint features is found in the fingerprint database, performing a fingerprint unlocking operation, and denoting the matching fingerprint template as a first fingerprint template (S104); and acquiring difference features between the fingerprint features and the first fingerprint template (S105); adding the difference features into the first fingerprint template to correct the first fingerprint template to obtain a second fingerprint template (S106); and replacing the first fingerprint template in the fingerprint database with a second fingerprint template (S107). By using the method, the device and the mobile terminal, the correction of the fingerprint template can be achieved, thereby improving the matching degree between the input fingerprint of a user and the fingerprint templates, and improving the sensitivity of fingerprint unlocking.
Description
本申请是以CN申请号为201710032350.X,申请日为2017年1月16日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。The present application is based on the application number of the Japanese Patent Application No. 201710032350.X, filed on January 16, 2017, and the priority of which is hereby incorporated by reference.
本公开涉及信息处理领域,特别涉及一种指纹处理方法、装置及移动终端。The present disclosure relates to the field of information processing, and in particular, to a fingerprint processing method, apparatus, and mobile terminal.
目前,很多移动终端都具有指纹识别功能,随着科技的发展,指纹识别功能也由之前的单一解锁,发展为具有解锁、支付以及启动各种应用的功能,在方便用户使用的同时也起到了保护用户信息安全的作用。At present, many mobile terminals have fingerprint recognition functions. With the development of technology, the fingerprint recognition function has also been developed from a single unlock to a function of unlocking, paying, and launching various applications, which is also convenient for users to use. The role of protecting user information security.
通常移动终端的指纹库中存储的指纹模板是在用户启动指纹解锁或是初始化指纹时采集的,通过将用户指纹解锁时录入的指纹与指纹模板进行匹配,对指纹进行识别,并在匹配成功后进行解锁。然而,发明人经过研究发现,用户每次指纹解锁时录入的指纹和指纹模板之间都会存在差别,该差别会影响到指纹与指纹模板间的匹配度,而指纹模板与用户指纹解锁时录入的指纹之间的匹配度,又会影响指纹解锁的灵敏度。Generally, the fingerprint template stored in the fingerprint database of the mobile terminal is collected when the user starts the fingerprint unlocking or initializes the fingerprint. The fingerprint entered by the user fingerprint is matched with the fingerprint template to identify the fingerprint, and after the matching is successful, Unlock it. However, the inventor has found through research that there is a difference between the fingerprint and the fingerprint template entered by the user each time the fingerprint is unlocked, and the difference affects the matching degree between the fingerprint and the fingerprint template, and the fingerprint template and the fingerprint of the user are entered when unlocked. The degree of matching between fingerprints will affect the sensitivity of fingerprint unlocking.
发明内容Summary of the invention
本公开的实施例解决的一个技术问题是:用户录入的指纹与预先存储的指纹模板之间存在偏差,从而影响指纹解锁的灵敏度。One technical problem solved by the embodiments of the present disclosure is that there is a deviation between the fingerprint entered by the user and the fingerprint template stored in advance, thereby affecting the sensitivity of the fingerprint unlocking.
依据本公开的一个或多个实施例的一个方面,提供一种指纹采集方法,包括:According to an aspect of one or more embodiments of the present disclosure, a fingerprint collection method is provided, including:
当检测到用户的指纹接触时,采集用户的指纹图像;Collecting a fingerprint image of the user when the fingerprint contact of the user is detected;
提取所述指纹图像中的指纹特征;Extracting fingerprint features in the fingerprint image;
将所述指纹特征与指纹库中的指纹模板进行匹配;Matching the fingerprint feature with a fingerprint template in the fingerprint library;
当在所述指纹库中匹配到与所述指纹特征的匹配度不低于预设阈值的指纹模板时,执行指纹解锁操作,并将与所述指纹特征的匹配度不低于所述预设阈值的指纹模板记为第一指纹模板;When the fingerprint template matching the fingerprint feature is not lower than the preset threshold, the fingerprint unlocking operation is performed, and the matching degree with the fingerprint feature is not lower than the preset. The fingerprint template of the threshold is recorded as the first fingerprint template;
获取所述指纹特征与所述第一指纹模板的差别特征;
Obtaining a difference feature between the fingerprint feature and the first fingerprint template;
将所述差别特征添加到所述第一指纹模板中,对所述第一指纹模板进行修正得到第二指纹模板;Adding the difference feature to the first fingerprint template, and modifying the first fingerprint template to obtain a second fingerprint template;
将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板。The first fingerprint template in the fingerprint library is replaced with the second fingerprint template.
可选的,在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,还包括:Optionally, after the replacing the first fingerprint template in the fingerprint database with the second fingerprint template, when the fingerprint contact of the user is detected again, the method further includes:
统计所述指纹库中,将所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板所需的替换次数,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;In the fingerprint database, the initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements required by the second fingerprint template, wherein the initial fingerprint template is for the user to start fingerprint unlocking or initialize the fingerprint. The fingerprint template registered at the time;
判断所述替换次数是否达到预设替换次数;Determining whether the number of replacements reaches a preset number of replacements;
若所述替换次数达到所述预设替换次数,则输出第一提示信息,所述第一提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;If the number of replacements reaches the preset number of replacements, the first prompt information is output, where the first prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity;
当用户身份验证通过时,执行指纹解锁操作。When the user authentication passes, the fingerprint unlocking operation is performed.
可选的,在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,还包括:Optionally, after the replacing the first fingerprint template in the fingerprint database with the second fingerprint template, when the fingerprint contact of the user is detected again, the method further includes:
计算由所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板增加的扩展指纹面积,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;The initial fingerprint template corresponding to the second fingerprint template is replaced with the extended fingerprint area added by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
判断所述扩展指纹面积是否达到预设扩展指纹面积;Determining whether the extended fingerprint area reaches a preset extended fingerprint area;
若所述扩展指纹面积达到所述预设扩展指纹面积,则输出第二提示信息,所述第二提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;If the extended fingerprint area reaches the preset extended fingerprint area, outputting second prompt information, where the second prompt information is used to prompt the user to input at least one other pre-registered finger fingerprint to verify the user identity;
当用户身份验证通过时,执行指纹解锁操作。When the user authentication passes, the fingerprint unlocking operation is performed.
可选的,当所述扩展指纹面积达到所述预设扩展指纹面积时,所述指纹采集方法还包括:Optionally, when the extended fingerprint area reaches the preset extended fingerprint area, the fingerprint collection method further includes:
将所述第二指纹模板确定为最终指纹模板。The second fingerprint template is determined as a final fingerprint template.
可选的,,在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,还包括:Optionally, after the replacing the first fingerprint template in the fingerprint database with the second fingerprint template, when the fingerprint contact of the user is detected again, the method further includes:
计算所述第二指纹模板的总体指纹面积;Calculating an overall fingerprint area of the second fingerprint template;
判断所述总体指纹面积是否达到预设指纹面积;Determining whether the total fingerprint area reaches a preset fingerprint area;
若所述总体指纹面积达到所述预设指纹面积,则输出第三提示信息,所述第三提
示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;If the total fingerprint area reaches the preset fingerprint area, outputting a third prompt information, where the third
The information is used to prompt the user to enter at least one pre-registered other finger fingerprint to verify the user identity;
当用户身份验证通过时,执行指纹解锁操作。When the user authentication passes, the fingerprint unlocking operation is performed.
可选的,当所述总体指纹面积达到所述预设指纹面积时,所述指纹采集方法还包括:Optionally, when the total fingerprint area reaches the preset fingerprint area, the fingerprint collection method further includes:
将所述第二指纹模板确定为最终指纹模板。The second fingerprint template is determined as a final fingerprint template.
依据本公开的一个或多个实施例的又一方面,提供一种指纹采集装置,包括:According to still another aspect of the one or more embodiments of the present disclosure, a fingerprint collection apparatus includes:
采集单元,用于当检测到用户的指纹接触时,采集用户的指纹图像;The collecting unit is configured to collect a fingerprint image of the user when detecting a fingerprint contact of the user;
提取单元,用于提取所述指纹图像中的指纹特征;An extracting unit, configured to extract a fingerprint feature in the fingerprint image;
匹配单元,用于将所述指纹特征与指纹库中的指纹模板进行匹配;a matching unit, configured to match the fingerprint feature with a fingerprint template in the fingerprint library;
解锁单元,用于当在所述指纹库中匹配到与所述指纹特征的匹配度不低于预设阈值的指纹模板时,执行指纹解锁操作,并将与所述指纹特征的匹配度不低于所述预设阈值的指纹模板记为第一指纹模板;And an unlocking unit, configured to perform a fingerprint unlocking operation when matching the fingerprint template with the fingerprint feature in a minimum of a preset threshold in the fingerprint database, and the matching degree with the fingerprint feature is not low The fingerprint template of the preset threshold is recorded as a first fingerprint template;
获取单元,用于获取所述指纹特征与所述第一指纹模板的差别特征;An acquiring unit, configured to acquire a difference feature between the fingerprint feature and the first fingerprint template;
添加单元,用于将所述差别特征添加到所述第一指纹模板中,对所述第一指纹模板进行修正得到第二指纹模板;An adding unit, configured to add the difference feature to the first fingerprint template, and modify the first fingerprint template to obtain a second fingerprint template;
替换单元,用于将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板。And a replacement unit, configured to replace the first fingerprint template in the fingerprint library with the second fingerprint template.
可选的,上述装置还包括:Optionally, the foregoing apparatus further includes:
统计单元,用于在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,统计所述指纹库中,将所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板所需的替换次数,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;a statistical unit, configured to: after the first fingerprint template in the fingerprint library is replaced with the second fingerprint template, when the fingerprint contact of the user is detected again, the fingerprint library is counted The initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements required by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
第一判断单元,用于判断所述替换次数是否达到预设替换次数;a first determining unit, configured to determine whether the number of replacement times reaches a preset replacement number;
第一输出单元,用于在所述第一判断单元判断为是的情况下,输出第一提示信息,所述第一提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;a first output unit, configured to: when the first determining unit determines that the message is yes, the first prompt information is used to prompt the user to enter at least one other pre-registered finger fingerprint to Identity verification;
第一执行单元,用于当用户身份验证通过时,执行指纹解锁操作。The first execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
可选的,上述装置还包括:Optionally, the foregoing apparatus further includes:
第一计算单元,用于在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,计算由所述第二指纹模板相对应的初
始指纹模板替换成所述第二指纹模板增加的扩展指纹面积,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;a first calculating unit, configured to: when the first fingerprint template in the fingerprint library is replaced with the second fingerprint template, when the fingerprint contact of the user is detected again, calculate the second fingerprint Template corresponding to the beginning
The initial fingerprint template is replaced by an extended fingerprint area added by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint;
第二判断单元,用于判断所述扩展指纹面积是否达到预设扩展指纹面积;a second determining unit, configured to determine whether the extended fingerprint area reaches a preset extended fingerprint area;
第二输出单元,用于在所述第二判断单元判断为是的情况下,输出第二提示信息,所述第二提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;a second output unit, configured to output a second prompt information, where the second prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to the user Identity verification;
第二执行单元,用于当用户身份验证通过时,执行指纹解锁操作。The second execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
可选的,上述装置还包括:Optionally, the foregoing apparatus further includes:
第一确定单元,用于当所述扩展指纹面积达到所述预设扩展指纹面积时,将所述第二指纹模板确定为最终指纹模板。The first determining unit is configured to determine the second fingerprint template as a final fingerprint template when the extended fingerprint area reaches the preset extended fingerprint area.
可选的,上述装置还包括:Optionally, the foregoing apparatus further includes:
第二计算单元,用于在所述将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板后,当再次检测到用户的指纹接触时,计算所述第二指纹模板的总体指纹面积;a second calculating unit, configured to calculate the second fingerprint template when the fingerprint contact of the user is detected again after the replacing the first fingerprint template in the fingerprint library with the second fingerprint template Overall fingerprint area;
第三判断单元,用于判断所述总体指纹面积是否达到预设指纹面积;a third determining unit, configured to determine whether the total fingerprint area reaches a preset fingerprint area;
第三输出单元,用于在所述第三判断单元判断为是的情况下,输出第三提示信息,所述第三提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证;a third output unit, configured to output a third prompt information, where the third prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to the user Identity verification;
第三执行单元,用于当用户身份验证通过时,执行指纹解锁操作。The third execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
可选的,上述装置还包括:Optionally, the foregoing apparatus further includes:
第二确定单元,用于当所述总体指纹面积达到所述预设指纹面积时,将所述第二指纹模板确定为最终指纹模板。The second determining unit is configured to determine the second fingerprint template as a final fingerprint template when the total fingerprint area reaches the preset fingerprint area.
依据本公开的一个或多个实施例的又一方面,提供一种指纹处理装置,包括:According to still another aspect of the one or more embodiments of the present disclosure, a fingerprint processing apparatus is provided, including:
存储器,用于存储指令;a memory for storing instructions;
处理器,耦合到存储器,处理器被配置为基于存储器存储的指令执行实现上述任一实施例涉及的方法。A processor coupled to the memory, the processor being configured to perform the method involved in any of the above embodiments based on the instructions stored in the memory.
依据本公开的一个或多个实施例的又一方面,提供一种移动终端,包括上述任一实施例涉及的指纹处理装置。According to still another aspect of the one or more embodiments of the present disclosure, a mobile terminal is provided, including the fingerprint processing apparatus according to any of the above embodiments.
依据本公开的一个或多个实施例的又一方面,提供一种计算机可读存储介质,其中计算机可读存储介质存储有计算机指令,指令被处理器执行时实现如上述任一实施
例涉及的方法。In accordance with still another aspect of one or more embodiments of the present disclosure, a computer readable storage medium is provided, wherein a computer readable storage medium stores computer instructions that, when executed by a processor, implement any of the implementations described above
The method involved in the example.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features of the present disclosure and its advantages will be apparent from the following detailed description of exemplary embodiments.
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present disclosure, which is a part of the present disclosure, and the description of the present disclosure and the description thereof are not intended to limit the disclosure. In the drawing:
图1为示出根据本公开一些实施例的指纹处理方法的示例性流程图;FIG. 1 is an exemplary flowchart showing a fingerprint processing method in accordance with some embodiments of the present disclosure;
图2为示出根据本公开一些实施例的指纹处理方法中对用户身份进行验证的示例性流程图;2 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method, in accordance with some embodiments of the present disclosure;
图3为示出根据本公开另一些实施例的指纹处理方法中对用户身份进行验证的示例性流程图;FIG. 3 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to further embodiments of the present disclosure; FIG.
图4为示出根据本公开另一些实施例的指纹处理方法中对用户身份进行验证的示例性流程图;4 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method in accordance with further embodiments of the present disclosure;
图5为示出根据本公开一些实施例的指纹处理装置的示例性框图;FIG. 5 is an exemplary block diagram showing a fingerprint processing apparatus in accordance with some embodiments of the present disclosure;
图6为示出根据本公开一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图;6 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing device, in accordance with some embodiments of the present disclosure;
图7为示出根据本公开另一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图;7 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus in accordance with further embodiments of the present disclosure;
图8为示出根据本公开另一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图。FIG. 8 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure.
图9为示出根据本公开另一些实施例的指纹处理装置的示例性框图;FIG. 9 is an exemplary block diagram showing a fingerprint processing apparatus according to further embodiments of the present disclosure;
图10为示出根据本公开一些实施例的移动终端的示例性框图。FIG. 10 is an exemplary block diagram showing a mobile terminal in accordance with some embodiments of the present disclosure.
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
本公开一些实施例公开了一种指纹处理方法、装置及移动终端,以实现在用户使用指纹操作的同时收集指纹采样,通过将指纹采样与指纹模板的差别特征添加到指纹模板中,实现对指纹模板的修正,从而使指纹模板不断完善,提高用户指纹解锁时录入的指纹与指纹模板之间的匹配度,进而提高指纹解锁的灵敏度。Some embodiments of the present disclosure disclose a fingerprint processing method, apparatus, and mobile terminal, so as to collect fingerprint samples while the user uses the fingerprint operation, and add fingerprints and fingerprint template differences to the fingerprint template to implement the fingerprint. The modification of the template enables the fingerprint template to be continuously improved, and the matching degree between the fingerprint entered when the user's fingerprint is unlocked and the fingerprint template is improved, thereby improving the sensitivity of the fingerprint unlocking.
图1为示出根据本公开一些实施例的指纹处理方法的示例性流程图。其中,该方法可应用于移动终端,移动终端包括但不限于智能手机、IPAD等。该方法可包括以下步骤:FIG. 1 is an exemplary flowchart showing a fingerprint processing method in accordance with some embodiments of the present disclosure. The method can be applied to a mobile terminal, and the mobile terminal includes but is not limited to a smart phone, an IPAD, and the like. The method can include the following steps:
步骤S101、在检测到用户进行触摸操作的情况下,采集用户的指纹图像。Step S101: Collect a fingerprint image of the user when detecting that the user performs a touch operation.
指纹是表皮上突起的纹线,纹线的起点、终点、结合点和分叉点,称为指纹的细节特征点,由于人的指纹是遗传与环境共同作用的,其与人体健康也密切相关,因而指纹人人皆有,却各不相同,由于指纹重复率极小,故其称为“人体身份证”。The fingerprint is the line of the protrusion on the epidermis. The starting point, the end point, the joint point and the bifurcation point of the line are called the detailed feature points of the fingerprint. Since the fingerprint of the person is the combination of genetics and environment, it is closely related to human health. Therefore, fingerprints are available to everyone, but they are different. Because the fingerprint repetition rate is extremely small, it is called "human identity card."
例如,在移动终端在非工作状态时会处于屏幕锁定状态,在移动终端处理锁定状态或解锁状态时,移动终端通过指纹传感器可以实时检测接触,并判断该接触是否是触摸操作,即人体手指的指纹接触,在确定用户在进行触摸操作的情况下,采集用户的指纹图像。For example, when the mobile terminal is in a non-working state, the mobile terminal is in a screen lock state. When the mobile terminal processes the locked state or the unlocked state, the mobile terminal can detect the contact in real time through the fingerprint sensor, and determine whether the contact is a touch operation, that is, a human finger. Fingerprint contact, in the case of determining that the user is performing a touch operation, collecting a fingerprint image of the user.
步骤S102、提取指纹图像中的指纹特征。Step S102: Extract fingerprint features in the fingerprint image.
例如,可以通过指纹算法对指纹图像进行裁剪、图像增强、细化、去噪、二值化等处理,从指纹图像中提取出能够唯一代表用户生物特征的指纹特征。For example, the fingerprint image may be subjected to cropping, image enhancement, refinement, denoising, binarization, etc. by fingerprint algorithm, and fingerprint features capable of uniquely representing the user's biometrics are extracted from the fingerprint image.
步骤S103、将指纹特征与指纹库中的指纹模板进行匹配。Step S103: Match the fingerprint feature with the fingerprint template in the fingerprint library.
可选地,将用户的指纹特征与指纹库中的指纹模板进行相似度比较,在二者的匹配度不低于预设阈值的情况下,判定用户指纹身份验证通过;反之,在二者的匹配度低于预设阈值的情况下,判定用户指纹身份验证失败,也就是说,本步骤是通过指纹验证来核实当前使用者的合法身份。可以理解的是,在对移动终端或者使移动终端中的应用进行解锁前,还需预先设置指纹模板,并将该指纹模板与打开移动终端指令或应用指令对应关联。Optionally, comparing the fingerprint feature of the user with the fingerprint template in the fingerprint library, and determining that the user fingerprint authentication passes when the matching degree of the two is not lower than a preset threshold; If the matching degree is lower than the preset threshold, it is determined that the user fingerprint authentication fails, that is, this step is to verify the current identity of the current user by fingerprint verification. It can be understood that before the mobile terminal or the application in the mobile terminal is unlocked, the fingerprint template needs to be set in advance, and the fingerprint template is associated with the open mobile terminal instruction or the application instruction.
步骤S104、在指纹库中存在与指纹特征相匹配的匹配指纹模板的情况下,执行指纹解锁操作,并将与匹配指纹模板记为第一指纹模板。其中匹配指纹模板与指纹特征的匹配度不低于预设阈值。Step S104: If there is a matching fingerprint template matching the fingerprint feature in the fingerprint database, perform a fingerprint unlocking operation, and record the matching fingerprint template as the first fingerprint template. The matching degree between the matching fingerprint template and the fingerprint feature is not lower than a preset threshold.
在判定用户的指纹身份验证通过的情况下,进行相应的指纹解锁操作,并将所匹配的指纹模板记为第一指纹模板;在判定用户的指纹身份验证失败的情况下,拒绝执
行指纹解锁操作,以保证移动终端的安全性和信息的隐私性。In the case that it is determined that the user's fingerprint authentication is passed, the corresponding fingerprint unlocking operation is performed, and the matched fingerprint template is recorded as the first fingerprint template; in the case of determining that the user's fingerprint authentication fails, the refusal is performed.
Line fingerprint unlocking operation to ensure the security of the mobile terminal and the privacy of the information.
步骤S105、获取指纹特征与第一指纹模板的差别特征。Step S105: Obtain a difference feature between the fingerprint feature and the first fingerprint template.
可选地,第一指纹模板是在对移动终端或者移动终端中的应用进行解锁前预先设置的指纹模板,也即用户预先录入的指纹模板。可以理解的是,用户在指纹库中存储的指纹模板为相对应手指的部分指纹,因此,用户每次解锁时录入的指纹特征和预先存储的指纹模板之间通常会存在差别,该差别可通过将指纹特征与第一指纹模板进行比对获取。Optionally, the first fingerprint template is a fingerprint template preset before the application in the mobile terminal or the mobile terminal is unlocked, that is, the fingerprint template pre-recorded by the user. It can be understood that the fingerprint template stored by the user in the fingerprint database is a partial fingerprint corresponding to the finger. Therefore, there is usually a difference between the fingerprint feature entered by the user each time the user unlocks and the pre-stored fingerprint template, and the difference can be passed. The fingerprint feature is compared with the first fingerprint template.
步骤S106、将差别特征添加到第一指纹模板中,对第一指纹模板进行修正得到第二指纹模板。Step S106: Add a difference feature to the first fingerprint template, and modify the first fingerprint template to obtain a second fingerprint template.
可以理解的是,用户每次解锁时录入的指纹特征和第一指纹模板之间的差别会影响指纹特征与第一指纹模板之间的匹配度,该匹配度又会影响指纹解锁的灵敏度。因此,本公开为了提高指纹解锁的灵敏度,通过将相应的差别特征添加到第一指纹模板中,以便对第一指纹模板进行修正和完善。为将添加差别特征的第一指纹模板与未添加差别特征的第一指纹模板进行区别,将添加差别特征的第一指纹模板命名为第二指纹模板。It can be understood that the difference between the fingerprint feature entered by the user each time unlocked and the first fingerprint template affects the degree of matching between the fingerprint feature and the first fingerprint template, and the matching degree affects the sensitivity of the fingerprint unlocking. Therefore, in order to improve the sensitivity of fingerprint unlocking, the present disclosure corrects and perfects the first fingerprint template by adding corresponding differential features to the first fingerprint template. To distinguish the first fingerprint template that adds the difference feature from the first fingerprint template that does not add the difference feature, the first fingerprint template that adds the difference feature is named as the second fingerprint template.
步骤S107、将指纹库中的第一指纹模板替换成第二指纹模板。Step S107: Replace the first fingerprint template in the fingerprint library with the second fingerprint template.
综上可知,本公开提供的指纹处理方法,在检测到用户进行触摸操作的情况下,采集用户的指纹图像,并提取指纹图像中的指纹特征,若在指纹库中查找到与指纹特征相匹配的匹配指纹模板,则在执行指纹解锁操作的同时,获取指纹特征与匹配指纹模板的差别特征,根据差别特征对匹配指纹模板进行修正,并将修正后的匹配指纹模板替换修正之前的匹配指纹模板。由此可知,本公开在用户进行触摸操作的同时收集指纹采样,通过将指纹采样与匹配指纹模板的差别特征添加到匹配指纹模板中,实现对匹配指纹模板的修正,从而使指纹模板不断完善,提高用户指纹解锁时录入的指纹与指纹模板之间的匹配度,进而提高指纹解锁的灵敏度。In summary, the fingerprint processing method provided by the present disclosure collects a fingerprint image of a user and detects a fingerprint feature in the fingerprint image when the user performs a touch operation, and if the fingerprint feature is found in the fingerprint database, The matching fingerprint template acquires the difference feature between the fingerprint feature and the matching fingerprint template while performing the fingerprint unlocking operation, corrects the matching fingerprint template according to the difference feature, and replaces the corrected matching fingerprint template with the matching fingerprint template before the correction. . It can be seen that the present disclosure collects fingerprint samples while the user performs the touch operation, and adds the difference features of the fingerprint sample and the matching fingerprint template to the matching fingerprint template to implement the correction of the matching fingerprint template, thereby continuously improving the fingerprint template. Improve the matching degree between the fingerprint entered when the user's fingerprint is unlocked and the fingerprint template, thereby improving the sensitivity of fingerprint unlocking.
从图1所示的实施例可知,本公开是通过将指纹采样与指纹模板的差别特征添加到指纹模板中,实现对指纹模板的修正,从而使指纹模板不断完善。虽然人和人之间的指纹各不相同,指纹的重复率极小,但是为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本公开还对指纹模板的改动设定了一个门限值,并在指纹模板的改动达到门限值时,对用户的身份进行验
证,以保证当前使用者的合法身份。It can be seen from the embodiment shown in FIG. 1 that the present disclosure implements the correction of the fingerprint template by adding the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template, so that the fingerprint template is continuously improved. Although the fingerprints between people and people are different, the repetition rate of the fingerprint is extremely small, but in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also realize the fingerprint unlocking. The public also sets a threshold for the modification of the fingerprint template, and checks the identity of the user when the fingerprint template changes to the threshold.
Certificate to ensure the current identity of the current user.
因此,在对指纹模板进行修正后,即在执行完上述实施例中的步骤S107之后,若再次检测到用户的指纹接触,会对用户的身份进行验证。如图2所示:Therefore, after the fingerprint template is corrected, that is, after the step S107 in the above embodiment is executed, if the fingerprint contact of the user is detected again, the identity of the user is verified. as shown in picture 2:
步骤S201、统计将与第二指纹模板相对应的初始指纹模板替换成第二指纹模板所经历的替换次数。Step S201: The statistic replaces the initial fingerprint template corresponding to the second fingerprint template with the number of replacements experienced by the second fingerprint template.
其中,初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板。The initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint.
可选地,可以通过统计将初始指纹模板替换成第二指纹模板所添加差别特征的次数,确定将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所经历的替换次数,如将初始指纹模板替换成第二指纹模板所添加差别特征的次数为“4”,则确定将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所经历的替换次数为“4”。Optionally, the number of times the initial fingerprint template is replaced by the second fingerprint template may be replaced by the number of times the initial fingerprint template is replaced by the second fingerprint template. The number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template is “4”, and the number of replacements that the initial fingerprint template corresponding to the second fingerprint template is replaced with the second fingerprint template is determined to be “4”.
可选地,还可以每替换一次指纹模板,都将由初始指纹模板替换成当前新指纹模板的替换次数记录在新替换的指纹模板上,如将初始指纹模板替换成第一指纹模板的情况下,可以在第一指纹模板上标记“1”;在将第一指纹模板替换成第二指纹模板的情况下,相当于对初始指纹模板进行两次替换,得到第二指纹模板,在这种情况下,可以在第二指纹模板上标记“2”。Optionally, each time the fingerprint template is replaced, the number of replacements from the initial fingerprint template to the current new fingerprint template is recorded on the newly replaced fingerprint template. For example, if the initial fingerprint template is replaced with the first fingerprint template, Marking "1" on the first fingerprint template; in the case of replacing the first fingerprint template with the second fingerprint template, it is equivalent to performing two replacements on the initial fingerprint template to obtain a second fingerprint template. In this case, You can mark "2" on the second fingerprint template.
需要说明的是,获取将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所需的替换次数包括但不局限于上述两种方式。It should be noted that the number of replacements required to obtain the initial fingerprint template corresponding to the second fingerprint template to be replaced by the second fingerprint template includes, but is not limited to, the above two modes.
步骤S202、判断上述替换次数是否达到预设替换次数,如果是,则继续执行步骤S203。Step S202: Determine whether the number of replacement times reaches a preset replacement number, and if yes, proceed to step S203.
其中,预设替换次数的具体数值依据实际需要而定,如5次,本公开在此不做限定。The specific value of the preset replacement times is determined according to actual needs, such as 5 times, and the disclosure is not limited herein.
步骤S203、输出第一提示信息,第一提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证。Step S203: Output first prompt information, where the first prompt information is used to prompt the user to input at least one other fingerprint fingerprint registered in advance to verify the user identity.
可选地,为避免因用户录入指纹的手指出现状态,如手指脱皮,导致指纹无法采集,通常会一次录入多个手指指纹,以便在某个录入指纹的手指出现状况的情况下,还可以采用其他录入指纹的手指进行指纹解锁。Optionally, in order to avoid the appearance of a finger entering the fingerprint by the user, such as a finger peeling, the fingerprint cannot be collected, and usually multiple fingerprints are input at a time, so that in the case of a finger entering the fingerprint, the fingerprint may also be used. Other fingerprints are fingerprinted to unlock the fingerprint.
在本步骤中,在指纹模板的替换次数达到预设替换次数的情况下,为保证当前使用者为合法用户,在检测到用户的指纹接触时,会输出提示用户输入其他预先注册的其他手指指纹,以对当前的用户身份进行验证。
In this step, in the case that the number of replacements of the fingerprint template reaches the preset number of replacements, in order to ensure that the current user is a legitimate user, when the user's fingerprint contact is detected, the user is prompted to input other pre-registered other finger fingerprints. To verify the current user identity.
步骤S204、在用户身份验证通过的情况下,执行指纹解锁操作。Step S204: Perform a fingerprint unlocking operation when the user identity verification is passed.
可选地,在在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板的情况下,会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, in the case that the fingerprint template matching the other fingerprints entered by the user is matched in the fingerprint database, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,可依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
可选地,在步骤S202判定替换次数是否达到预设替换次数的情况下,会按照图1公开的实施例,再次采集用户在当前录入的指纹图像,并根据该指纹图像的指纹特征与第二指纹模板的差别特征对第二指纹模板进行修订。Optionally, if it is determined in step S202 whether the number of replacements reaches the preset number of replacements, the fingerprint image currently recorded by the user is collected again according to the embodiment disclosed in FIG. 1 , and according to the fingerprint feature of the fingerprint image and the second The difference feature of the fingerprint template modifies the second fingerprint template.
本实施例中,在判定用户身份验证通过后,可以将第二指纹模板作为最终的指纹模板,并不再进行修正;也可以将第二指纹模板作为新的初始指纹模板,按照图1所示实施例公开的步骤,对新的初始指纹模板再次进行修正。In this embodiment, after determining that the user identity verification is passed, the second fingerprint template may be used as the final fingerprint template, and no correction is performed; the second fingerprint template may also be used as a new initial fingerprint template, as shown in FIG. The steps disclosed in the embodiment correct the new initial fingerprint template again.
图3为示出根据本公开另一个实施例的指纹处理方法中对用户身份进行验证的示例性流程图,该方法包括如下步骤:FIG. 3 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to another embodiment of the present disclosure, the method comprising the following steps:
步骤S301、计算由第二指纹模板相对应的初始指纹模板替换成第二指纹模板增加的扩展指纹面积。Step S301: Calculate an initial fingerprint template corresponding to the second fingerprint template and replace the extended fingerprint area increased by the second fingerprint template.
其中,初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板。The initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint.
例如,可以将第二指纹模板相对应的初始指纹模板,与第二指纹模板进行差别比较,二者间的差别面积即是扩展指纹面积。For example, the initial fingerprint template corresponding to the second fingerprint template may be compared with the second fingerprint template, and the difference area between the two is the extended fingerprint area.
步骤S302、判断扩展指纹面积是否达到预设扩展指纹面积,如果是,则执行步骤S303。Step S302: Determine whether the area of the extended fingerprint reaches the preset extended fingerprint area, and if yes, execute step S303.
可选地,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本实施例对扩展指纹面积进行相应的限定,若扩展指纹面积未达到预设扩展指纹面积,可按照图1所示实施例,对指纹模板继续进行修正;在扩展指纹面积达到预设扩展指纹面积的情况下,输出用于提示用户录入至少一个预先注册的其他手指指纹的提示信息,并根据用户再次录入的手指指纹,对用户身份进行验证。Optionally, in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, and thus other users can also implement fingerprint unlocking. In this embodiment, the extended fingerprint area is correspondingly limited, and if the extended fingerprint area is not After the preset extended fingerprint area is reached, the fingerprint template may be further modified according to the embodiment shown in FIG. 1; when the extended fingerprint area reaches the preset extended fingerprint area, the output is used to prompt the user to enter at least one other pre-registered finger. The prompt information of the fingerprint is verified according to the fingerprint of the finger that the user re-enters.
步骤S303、输出第二提示信息,第二提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证。Step S303: Output second prompt information, where the second prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity.
步骤S304、在用户身份验证通过的情况下,执行指纹解锁操作。
Step S304, in the case that the user identity verification is passed, the fingerprint unlocking operation is performed.
可选地,在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板的情况下,会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, in the case that the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,具体依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
在本实施例中,在判定用户身份验证通过后,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,在判定扩展指纹面积达到预设扩展指纹面积的情况下,可以将第二指纹模板确定为最终指纹模板。In this embodiment, after determining that the user identity verification is passed, in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to be pre-determined. In the case where the extended fingerprint area is set, the second fingerprint template can be determined as the final fingerprint template.
图4为示出根据本公开另一个实施例的指纹处理方法中对用户身份进行验证的示例性流程图,该方法包括以下步骤:FIG. 4 is an exemplary flowchart showing verification of a user identity in a fingerprint processing method according to another embodiment of the present disclosure, the method comprising the following steps:
步骤S401、计算第二指纹模板的总体指纹面积。Step S401: Calculate an overall fingerprint area of the second fingerprint template.
步骤S402、判断总体指纹面积是否达到预设指纹面积,如果是,则执行步骤S403。Step S402: Determine whether the total fingerprint area reaches the preset fingerprint area, and if yes, perform step S403.
可选地,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本实施例设定了一个预设指纹面积,在第二指纹模板的总体指纹面积未达到预设指纹面积的情况下,按照图1所示的实施例,对第二指纹模板继续进行修正;在第二指纹模板的总体指纹面积达到预设指纹面积的情况下,输出用于提示用户录入至少一个预先注册的其他手指指纹的提示信息,并根据用户再次录入的手指指纹,对用户身份进行验证。Optionally, in order to avoid minor changes to the fingerprint template, resulting in a large change of the fingerprint template, and other users can also achieve fingerprint unlocking, the embodiment sets a preset fingerprint area, and the second fingerprint template is In the case that the overall fingerprint area does not reach the preset fingerprint area, according to the embodiment shown in FIG. 1, the second fingerprint template is further modified; in the case where the overall fingerprint area of the second fingerprint template reaches the preset fingerprint area, The prompt information for prompting the user to enter at least one pre-registered other finger fingerprint is output, and the user identity is verified according to the finger fingerprint that the user re-enters.
步骤S403、输出第三提示信息,第三提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证。Step S403: Output third prompt information, where the third prompt information is used to prompt the user to enter at least one other fingerprint fingerprint that is pre-registered to verify the user identity.
步骤S404、在用户身份验证通过的情况下,执行指纹解锁操作。Step S404, in the case that the user identity verification is passed, the fingerprint unlocking operation is performed.
可选地,在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板的情况下,会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, in the case that the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,具体依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
本实施例中,在判定用户身份验证通过后,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,在判定扩展指纹面积达到预设扩展指纹面积的情况下,可以将第二指纹模板确定为最终指纹模板。In this embodiment, after determining that the user identity verification is passed, in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset. In the case of expanding the fingerprint area, the second fingerprint template can be determined as the final fingerprint template.
需要说明的是,在指纹处理方法中对用户身份进行验证的过程包括但不限于图2~图3所示的实施例,其他类似的对用户身份进行验证的方法也属于本公开的保护范围。
It should be noted that the process of verifying the identity of the user in the fingerprint processing method includes, but is not limited to, the embodiments shown in FIG. 2 to FIG. 3, and other similar methods for verifying the identity of the user are also within the protection scope of the present disclosure.
综上可知,本公开的指纹处理方法,在用户使用指纹操作的同时收集指纹采样,通过将指纹采样与指纹模板的差别特征添加到指纹模板中,实现对指纹模板的修正,从而使指纹模板不断完善,提高用户指纹解锁时录入的指纹与指纹模板之间的匹配度,进而提高指纹解锁的灵敏度。并且,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本公开还对指纹模板的改动设定了一个门限值,并在指纹模板的改动达到门限值的情况下,对用户的身份进行验证,以保证当前使用者的合法身份。In summary, the fingerprint processing method of the present disclosure collects fingerprint samples while the user uses the fingerprint operation, and adds the difference feature of the fingerprint sample and the fingerprint template to the fingerprint template to implement the correction of the fingerprint template, so that the fingerprint template is continuously Perfect, improve the matching degree between the fingerprint entered by the user's fingerprint and the fingerprint template, thereby improving the sensitivity of fingerprint unlocking. Moreover, in order to avoid minor changes to the fingerprint template, resulting in a large change in the fingerprint template, and thus other users can also achieve fingerprint unlocking, the present disclosure also sets a threshold value for the fingerprint template change, and in the fingerprint When the template changes to the threshold, the identity of the user is verified to ensure the current user's legal identity.
与上述方法实施例相对应,本公开还提供一种指纹处理装置。Corresponding to the above method embodiment, the present disclosure also provides a fingerprint processing apparatus.
图5为本公开一些实施例的指纹处理装置的示例性框图。可选地,该装置应用于移动终端,移动终端包括但不限于智能手机、IPAD等,该装置包括:FIG. 5 is an exemplary block diagram of a fingerprint processing apparatus in accordance with some embodiments of the present disclosure. Optionally, the device is applied to a mobile terminal, where the mobile terminal includes but is not limited to a smart phone, an IPAD, etc., and the device includes:
采集单元501,被配置为在检测到用户进行触摸操作的情况下,采集用户的指纹图像。The collecting unit 501 is configured to collect a fingerprint image of the user when detecting that the user performs a touch operation.
可选地,在移动终端在非工作状态的情况下会处于屏幕锁定状态,在移动终端处理锁定状态或解锁状态的情况下,移动终端通过指纹传感器可以实时检测接触,并判断接触是否是触摸接触,即人体手指的指纹接触,在确定检测到用户的指纹接触的情况下,采集用户的指纹图像。Optionally, in a case where the mobile terminal is in a non-working state, the mobile terminal may be in a screen lock state. When the mobile terminal processes the locked state or the unlocked state, the mobile terminal may detect the contact in real time through the fingerprint sensor, and determine whether the contact is a touch contact. That is, the fingerprint contact of the human finger, in the case where it is determined that the fingerprint contact of the user is detected, the fingerprint image of the user is collected.
提取单元502,被配置为提取指纹图像中的指纹特征。The extracting unit 502 is configured to extract fingerprint features in the fingerprint image.
可选地,可以通过指纹算法对指纹图像进行裁剪、图像增强、细化、去燥、二值化等处理,从指纹图像中提取出唯一代表用户生物特征的指纹特征。Optionally, the fingerprint image may be subjected to cropping, image enhancement, refinement, de-drying, binarization, etc. by fingerprint algorithm, and the fingerprint feature uniquely representing the user biometric is extracted from the fingerprint image.
匹配单元503,被配置为将指纹特征与指纹库中的指纹模板进行匹配。The matching unit 503 is configured to match the fingerprint feature with the fingerprint template in the fingerprint library.
本实施例中,将用户的指纹特征与指纹库中的指纹模板进行相似度比较,在二者的匹配度不低于预设阈值的情况下,判定用户指纹身份验证通过;反之,在二者的匹配度低于预设阈值的情况下,判定用户指纹身份验证失败,也就是说,本步骤是通过指纹验证来核实当前使用者的合法身份。可以理解的是,在对移动终端或者使移动终端中的应用进行解锁前,还需预先设置指纹模板,并将该指纹模板与打开移动终端指令或应用指令对应关联。In this embodiment, the fingerprint feature of the user is compared with the fingerprint template in the fingerprint database, and if the matching degree of the two is not lower than the preset threshold, the user fingerprint authentication is determined to pass; If the matching degree is lower than the preset threshold, it is determined that the user fingerprint authentication fails, that is, this step is to verify the current identity of the current user by fingerprint verification. It can be understood that before the mobile terminal or the application in the mobile terminal is unlocked, the fingerprint template needs to be set in advance, and the fingerprint template is associated with the open mobile terminal instruction or the application instruction.
解锁单元504,被配置为在指纹库中存在与指纹特征相匹配的匹配指纹模板的情况下,执行指纹解锁操作,并将与匹配指纹模板记为第一指纹模板,其中匹配指纹模板与指纹特征的匹配度不低于预设阈值。
The unlocking unit 504 is configured to perform a fingerprint unlocking operation when the matching fingerprint template matches the fingerprint feature in the fingerprint database, and record the matching fingerprint template as the first fingerprint template, wherein the matching fingerprint template and the fingerprint feature The matching degree is not lower than the preset threshold.
例如,若判定用户的指纹身份验证通过,则进行指纹解锁操作,并将所匹配的指纹模板记为第一指纹模板;若判定用户的指纹身份验证失败,则拒绝执行指纹解锁操作,以保证移动终端的安全性和信息的隐私性。For example, if it is determined that the fingerprint authentication of the user passes, the fingerprint unlocking operation is performed, and the matched fingerprint template is recorded as the first fingerprint template; if it is determined that the fingerprint authentication of the user fails, the fingerprint unlocking operation is refused to ensure the movement. Terminal security and information privacy.
获取单元505,被配置为获取指纹特征与第一指纹模板的差别特征。The obtaining unit 505 is configured to acquire a difference feature between the fingerprint feature and the first fingerprint template.
可选地,第一指纹模板是在对移动终端或者移动终端中的应用进行解锁前,预先设置的指纹模板,也即用户预先录入的指纹模板,可以理解的是,用户在指纹库中存储的指纹模板为相对应手指的部分指纹,因此,用户每次解锁时录入的指纹特征和预先存储的指纹模板之间通常会存在差别,该差别可通过将指纹特征与第一指纹模板进行比对获取。Optionally, the first fingerprint template is a fingerprint template preset before the application in the mobile terminal or the mobile terminal is unlocked, that is, the fingerprint template pre-recorded by the user. It can be understood that the user stores the fingerprint template in the fingerprint database. The fingerprint template is a partial fingerprint of the corresponding finger. Therefore, there is usually a difference between the fingerprint feature entered by the user each time unlocked and the pre-stored fingerprint template, and the difference can be obtained by comparing the fingerprint feature with the first fingerprint template. .
添加单元506,被配置为将差别特征添加到第一指纹模板中,对第一指纹模板进行修正得到第二指纹模板。The adding unit 506 is configured to add the difference feature to the first fingerprint template, and modify the first fingerprint template to obtain the second fingerprint template.
可以理解的是,用户每次解锁时录入的指纹特征和第一指纹模板之间的差别会影响指纹特征与第一指纹模板之间的匹配度,该匹配度又会影响指纹解锁的灵敏度,因此,本公开为提高指纹解锁的灵敏度,采用将差别特征添加到第一指纹模板的技术手段,对第一指纹模板进行修正和完善。为将添加差别特征的第一指纹模板与未添加差别特征的第一指纹模板进行区别,本实施例中,将添加差别特征的第一指纹模板命名为第二指纹模板。It can be understood that the difference between the fingerprint feature entered by the user each time the user is unlocked and the first fingerprint template may affect the matching degree between the fingerprint feature and the first fingerprint template, and the matching degree may affect the sensitivity of the fingerprint unlocking. In order to improve the sensitivity of fingerprint unlocking, the present disclosure corrects and perfects the first fingerprint template by using a technical means of adding a difference feature to the first fingerprint template. To distinguish the first fingerprint template that adds the difference feature from the first fingerprint template that does not add the difference feature, in this embodiment, the first fingerprint template that adds the difference feature is named as the second fingerprint template.
替换单元507,被配置为将指纹库中的第一指纹模板替换成第二指纹模板。The replacing unit 507 is configured to replace the first fingerprint template in the fingerprint library with the second fingerprint template.
综上可知,本公开提供的指纹处理装置,在检测到用户的指纹接触的情况下,采集用户的指纹图像,并提取指纹图像中的指纹特征,在指纹库中查找到与指纹特征相匹配的指纹模板的情况下,在执行指纹解锁操作的同时,获取指纹特征与匹配的指纹模板的差别特征,根据差别特征对指纹模板进行修正,并将修正后的指纹模板替换修正之前的指纹模板。由此可知,本公开在用户使用指纹操作的同时收集指纹采样,通过将指纹采样与指纹模板的差别特征添加到指纹模板中,实现对指纹模板的修正,从而使指纹模板不断完善,提高用户指纹解锁时录入的指纹与指纹模板之间的匹配度,进而提高指纹解锁的灵敏度。In summary, the fingerprint processing device provided by the present disclosure collects a fingerprint image of a user and detects a fingerprint feature in the fingerprint image when the fingerprint contact of the user is detected, and finds a fingerprint feature in the fingerprint database. In the case of the fingerprint template, while performing the fingerprint unlocking operation, the difference features of the fingerprint feature and the matched fingerprint template are acquired, the fingerprint template is corrected according to the difference feature, and the corrected fingerprint template is replaced with the fingerprint template before the correction. It can be seen that the present disclosure collects fingerprint sampling while the user uses the fingerprint operation, and adds the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template to implement the correction of the fingerprint template, thereby continuously improving the fingerprint template and improving the user fingerprint. The degree of matching between the fingerprint entered and the fingerprint template when unlocking, thereby improving the sensitivity of fingerprint unlocking.
从图5所示的实施例可知,本公开是通过将指纹采样与指纹模板的差别特征添加到指纹模板中,实现对指纹模板的修正,从而使指纹模板不断完善。虽然人和人之间的指纹各不相同,指纹的重复率极小,但是为避免对指纹模板的微小改动,导致指纹
模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本公开还对指纹模板的改动设定了一个门限值,并在指纹模板的改动达到门限值的情况下,对用户的身份进行验证,以保证当前使用者的合法身份。As can be seen from the embodiment shown in FIG. 5, the present disclosure implements the correction of the fingerprint template by adding the difference feature of the fingerprint sampling and the fingerprint template to the fingerprint template, so that the fingerprint template is continuously improved. Although the fingerprints between people are different, the repetition rate of the fingerprint is extremely small, but in order to avoid minor changes to the fingerprint template, the fingerprint is caused.
The large change of the template, so that other users can also achieve the fingerprint unlocking situation, the disclosure also sets a threshold value for the fingerprint template change, and in the case that the fingerprint template change reaches the threshold value, the user The identity is verified to ensure the current identity of the current user.
因此,在对指纹模板进行修正后,也即在替换单元507将指纹库中的第一指纹模板替换成第二指纹模板之后,若再次检测到用户的触摸操作,会对用户的身份进行验证。Therefore, after the fingerprint template is corrected, that is, after the replacement unit 507 replaces the first fingerprint template in the fingerprint library with the second fingerprint template, if the user's touch operation is detected again, the identity of the user is verified.
图6为示出根据本公开一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图,该设备包括:6 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing device, the device comprising:
统计单元601,被配置为在将指纹库中的第一指纹模板替换成第二指纹模板后,若再次检测到用户的触摸操作,统计将与第二指纹模板相对应的初始指纹模板替换成第二指纹模板所经历的替换次数,其中,初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板。The statistic unit 601 is configured to: after the first fingerprint template in the fingerprint database is replaced with the second fingerprint template, if the touch operation of the user is detected again, the statistics replace the initial fingerprint template corresponding to the second fingerprint template with the first fingerprint template. The number of replacements that the fingerprint template experiences, wherein the initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint.
可选地,可以通过统计由初始指纹模板替换成第二指纹模板所添加差别特征的次数,确定将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所经历的替换次数,如由初始指纹模板替换成第二指纹模板所添加差别特征的次数为“4”,则确定将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所需的替换次数为“4”。Optionally, the number of times the initial fingerprint template corresponding to the second fingerprint template is replaced with the number of replacements performed by the second fingerprint template may be determined by counting the number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template. The number of times the initial fingerprint template is replaced with the difference feature added by the second fingerprint template is “4”, and the number of replacements required to replace the initial fingerprint template corresponding to the second fingerprint template with the second fingerprint template is “4”.
还可以每替换一次指纹模板,都将由初始指纹模板替换成当前新指纹模板的替换次数记录在新替换的指纹模板上,如将初始指纹模板替换成第一指纹模板的情况下,可以在第一指纹模板上标记“1”;在将第一指纹模板替换成第二指纹模板的情况下,相当于对初始指纹模板进行两次替换,得到第二指纹模板,在这种情况下,可以在第二指纹模板上标记“2”。The fingerprint template may be replaced once, and the number of replacements of the current fingerprint template replaced by the current fingerprint template may be recorded on the newly replaced fingerprint template. For example, if the initial fingerprint template is replaced with the first fingerprint template, the first fingerprint template may be replaced by the first fingerprint template. Marking "1" on the fingerprint template; in the case of replacing the first fingerprint template with the second fingerprint template, it is equivalent to replacing the initial fingerprint template twice to obtain a second fingerprint template. In this case, Mark "2" on the second fingerprint template.
需要说明的是,获取将第二指纹模板相对应的初始指纹模板替换成第二指纹模板所需的替换次数包括但不局限于上述两种方式。It should be noted that the number of replacements required to obtain the initial fingerprint template corresponding to the second fingerprint template to be replaced by the second fingerprint template includes, but is not limited to, the above two modes.
第一判断单元602,被配置为判断替换次数是否达到预设替换次数。The first determining unit 602 is configured to determine whether the number of replacements reaches a preset number of replacements.
其中,预设替换次数的具体数值依据实际需要而定,如5次,本公开在此不做限定。The specific value of the preset replacement times is determined according to actual needs, such as 5 times, and the disclosure is not limited herein.
第一输出单元603,被配置为在第一判断单元602判断为是的情况下,输出第一提示信息,第一提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证。The first output unit 603 is configured to output first prompt information when the first determining unit 602 determines that the yes, the first prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to identify the user. authenticating.
可选地,在一般情况下,为避免因用户录入指纹的手指出现状态,如手指脱皮,
导致指纹无法采集,通常会一次录入多个手指指纹,以便在某个录入指纹的手指出现状况的情况下,还可以采用其他录入指纹的手指进行指纹解锁。Optionally, in general, in order to avoid the appearance of a finger due to a user entering a fingerprint, such as a finger peeling,
As the fingerprint cannot be collected, multiple finger fingerprints are usually entered at one time, so that in the case of a finger entering the fingerprint, the finger with other fingerprints can be used to unlock the fingerprint.
本实施例中,在指纹模板的替换次数达到预设替换次数的情况下,为保证当前使用者为合法用户,在检测到用户的指纹接触的情况下,会输出提示用户输入其他预先注册的其他手指指纹,以对当前的用户身份进行验证。In this embodiment, in the case that the number of replacements of the fingerprint template reaches the preset number of replacements, in order to ensure that the current user is a legitimate user, when the fingerprint contact of the user is detected, the user is prompted to input other pre-registered others. Finger fingerprint to verify the current user identity.
第一执行单元604,被配置为在用户身份验证通过的情况下,执行指纹解锁操作。The first execution unit 604 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
可选地,在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板的情况下,会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, in the case that the fingerprint template matches the fingerprint template matching the other fingerprints entered by the user again, it is determined that the user identity verification passes, thereby performing the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,具体依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
其中,在第一判断单元602判定替换次数是否达到预设替换次数的情况下,会按照图5公开的实施例,再次采集用户在当前录入的指纹图像,并根据该指纹图像的指纹特征与第二指纹模板的差别特征对第二指纹模板进行修订。In the case that the first determining unit 602 determines whether the number of replacements reaches the preset number of replacements, the fingerprint image currently recorded by the user is collected again according to the embodiment disclosed in FIG. 5, and according to the fingerprint feature of the fingerprint image. The difference feature of the second fingerprint template modifies the second fingerprint template.
可选地,在判定用户身份验证通过后,可以将第二指纹模板作为最终的指纹模板,并不再进行修正;也可以将第二指纹模板作为新的初始指纹模板,按照图1所示实施例公开的步骤,对新的初始指纹模板再次进行修正。Optionally, after determining that the user identity verification is passed, the second fingerprint template may be used as the final fingerprint template, and no modification is performed; or the second fingerprint template may be used as a new initial fingerprint template, and implemented according to FIG. The steps disclosed in the example correct the new initial fingerprint template again.
图7为示出根据本公开另一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图,该设备包括:FIG. 7 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure, the apparatus comprising:
第一计算单元701,被配置为在将第一指纹模板替换成第二指纹模板后,若再次检测到用户的触摸操作,计算将与第二指纹模板相对应的初始指纹模板替换成第二指纹模板增加的扩展指纹面积,其中,初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板。The first calculating unit 701 is configured to: after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the initial fingerprint template corresponding to the second fingerprint template is replaced with the second fingerprint. The extended fingerprint area added by the template, wherein the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint.
可选地,可以将第二指纹模板相对应的初始指纹模板,与第二指纹模板进行差别比较,二者间的差别面积即是扩展指纹面积。Optionally, the initial fingerprint template corresponding to the second fingerprint template may be compared with the second fingerprint template, and the difference area between the two is an extended fingerprint area.
第二判断单元702,被配置为判断扩展指纹面积是否达到预设扩展指纹面积。The second determining unit 702 is configured to determine whether the extended fingerprint area reaches a preset extended fingerprint area.
可选地,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本实施例采用对扩展指纹面积进行限定的技术手段,若扩展指纹面积未达到预设扩展指纹面积,按照图1所示实施例,对指纹模板继续进行修正;若扩展指纹面积达到预设扩展指纹面积,输出用于提示用户录入至少一
个预先注册的其他手指指纹的提示信息,并根据用户再次录入的手指指纹,对用户身份进行验证。Optionally, in order to avoid a small change to the fingerprint template, the fingerprint template is greatly changed, and thus other users can also implement the fingerprint unlocking. The embodiment adopts a technical method for limiting the extended fingerprint area, if the fingerprint is extended. If the area does not reach the preset extended fingerprint area, according to the embodiment shown in FIG. 1 , the fingerprint template is further modified; if the extended fingerprint area reaches the preset extended fingerprint area, the output is used to prompt the user to enter at least one.
The prompt information of other finger fingerprints registered in advance, and the user identity is verified according to the fingerprint of the finger that the user re-enters.
第二输出单元703,被配置为在第二判断单元702判断为是的情况下,输出第二提示信息,第二提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对用户身份进行验证。The second output unit 703 is configured to output second prompt information when the second determining unit 702 determines that the yes, the second prompt information is used to prompt the user to enter at least one pre-registered other finger fingerprint to identify the user. authenticating.
第二执行单元704,被配置为在用户身份验证通过的情况下,执行指纹解锁操作。The second execution unit 704 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
可选地,若在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板,则会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, if the fingerprint template matching the other fingerprints entered by the user is matched in the fingerprint database, the user identity verification is determined to perform the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,具体依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
本实施例中,在判定用户身份验证通过后,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,在判定扩展指纹面积达到预设扩展指纹面积的情况下,可以将第二指纹模板确定为最终指纹模板。In this embodiment, after determining that the user identity verification is passed, in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset. In the case of expanding the fingerprint area, the second fingerprint template can be determined as the final fingerprint template.
因此,本实施例提供的设备还可以包括第一确定单元(未在图中示出),被配置为在扩展指纹面积达到预设扩展指纹面积的情况下,将第二指纹模板确定为最终指纹模板。Therefore, the device provided in this embodiment may further include a first determining unit (not shown in the figure) configured to determine the second fingerprint template as the final fingerprint if the extended fingerprint area reaches the preset extended fingerprint area. template.
图8为示出根据本公开另一些实施例的指纹处理装置中对用户身份进行验证的设备的示例性框图,该设备包括:FIG. 8 is an exemplary block diagram showing an apparatus for authenticating a user identity in a fingerprint processing apparatus according to further embodiments of the present disclosure, the apparatus comprising:
第二计算单元801,被配置为在将指纹库中的第一指纹模板替换成第二指纹模板后,若再次检测到用户的指纹接触,则计算第二指纹模板的总体指纹面积。The second calculating unit 801 is configured to calculate an overall fingerprint area of the second fingerprint template if the fingerprint contact of the user is detected again after replacing the first fingerprint template in the fingerprint database with the second fingerprint template.
第三判断单元802,被配置为判断总体指纹面积是否达到预设指纹面积。The third determining unit 802 is configured to determine whether the overall fingerprint area reaches a preset fingerprint area.
可选地,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,本实施例设定了一个预设指纹面积,在第二指纹模板的总体指纹面积未达到预设指纹面积的情况下,按照图5所示的实施例,对第二指纹模板继续进行修正;在第二指纹模板的总体指纹面积达到预设指纹面积的情况下,输出用于提示用户录入至少一个预先注册的其他手指指纹的提示信息,并根据用户再次录入的手指指纹,对用户身份进行验证。Optionally, in order to avoid minor changes to the fingerprint template, resulting in a large change of the fingerprint template, and other users can also achieve fingerprint unlocking, the embodiment sets a preset fingerprint area, and the second fingerprint template is In the case that the overall fingerprint area does not reach the preset fingerprint area, according to the embodiment shown in FIG. 5, the second fingerprint template is further modified; in the case where the overall fingerprint area of the second fingerprint template reaches the preset fingerprint area, The prompt information for prompting the user to enter at least one pre-registered other finger fingerprint is output, and the user identity is verified according to the finger fingerprint that the user re-enters.
第三输出单元803,被配置为在第三判断单元802判断为是的情况下,输出第三提示信息,第三提示信息用于提示用户录入至少一个预先注册的其他手指指纹,以对
用户身份进行验证。The third output unit 803 is configured to output a third prompt information when the third determining unit 802 determines that the yes, the third prompt information is used to prompt the user to enter at least one other fingerprint fingerprint registered in advance, to
User identity is verified.
第三执行单元804,被配置为在用户身份验证通过的情况下,执行指纹解锁操作。The third execution unit 804 is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
可选地,若在指纹库中匹配到与用户再次录入的其他指纹匹配的指纹模板,则会判定用户身份验证通过,从而执行指纹解锁操作。Optionally, if the fingerprint template matching the other fingerprints entered by the user is matched in the fingerprint database, the user identity verification is determined to perform the fingerprint unlocking operation.
需要说明的是,用于判断用户身份的指纹录入可以是一个手指指纹或是多个手指指纹,具体依据实际需要而定,本公开在此不做限定。It should be noted that the fingerprint input for determining the identity of the user may be a finger fingerprint or a plurality of finger fingerprints, which may be determined according to actual needs, and the disclosure is not limited herein.
本实施例中,在判定用户身份验证通过后,为避免对指纹模板的微小改动,导致指纹模板的较大变化,从而出现其他用户也能实现指纹解锁的情况,在判定扩展指纹面积达到预设扩展指纹面积的情况下,可以将第二指纹模板确定为最终指纹模板。In this embodiment, after determining that the user identity verification is passed, in order to avoid minor changes to the fingerprint template, the fingerprint template is greatly changed, so that other users can also implement the fingerprint unlocking situation, and the extended fingerprint area is determined to reach the preset. In the case of expanding the fingerprint area, the second fingerprint template can be determined as the final fingerprint template.
因此,本实施例提供的设备还可以包括第二确定单元(未在图中示出),被配置为在扩展指纹面积达到预设扩展指纹面积的情况下,将第二指纹模板确定为最终指纹模板。Therefore, the apparatus provided in this embodiment may further include a second determining unit (not shown in the figure) configured to determine the second fingerprint template as the final fingerprint if the extended fingerprint area reaches the preset extended fingerprint area. template.
可选地,在上述实施例所描述的功能单元模块可以实现为用于执行本公开所描述功能的通用处理器、可编程逻辑控制器(Programmable Logic Controller,简称:PLC)、数字信号处理器(Digital Signal Processor,简称:DSP)、专用集成电路(Application Specific Integrated Circuit,简称:ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称:FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件或者其任意适当组合。Alternatively, the functional unit modules described in the above embodiments may be implemented as a general purpose processor, a programmable logic controller (PLC), a digital signal processor (for example) for performing the functions described in the present disclosure. Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistors Logic device, discrete hardware component, or any suitable combination thereof.
图9为示出根据本公开另一些实施例的指纹处理装置的示例性框图。如图9所示,该装置包括存储器901和处理器902。其中:FIG. 9 is an exemplary block diagram showing a fingerprint processing apparatus according to further embodiments of the present disclosure. As shown in FIG. 9, the apparatus includes a memory 901 and a processor 902. among them:
存储器901用于存储指令,处理器902耦合到存储器901,处理器902被配置为基于存储器存储的指令执行实现如图1-图4中任一实施例涉及的方法。 Memory 901 is for storing instructions, processor 902 is coupled to memory 901, and processor 902 is configured to perform the methods involved in any of the embodiments of FIGS. 1-4 based on instructions stored in the memory.
如图9所示,该装置还包括通信接口903,用于与其它设备进行信息交互。同时,该装置还包括总线904,处理器902、通信接口903、以及存储器901通过总线904完成相互间的通信。As shown in FIG. 9, the apparatus further includes a communication interface 903 for performing information interaction with other devices. At the same time, the apparatus further includes a bus 904, and the processor 902, the communication interface 903, and the memory 901 complete communication with each other via the bus 904.
存储器901可以包含高速RAM存储器,也可还包括非易失性存储器(Non-Volatile Memory,简称:NVM),例如至少一个磁盘存储器。存储器901也可以是存储器阵列。存储器901还可能被分块,并且块可按一定的规则组合成虚拟卷。
The memory 901 may include a high speed RAM memory, and may also include a non-volatile memory (Non-Volatile Memory, NVM for short), such as at least one disk memory. Memory 901 can also be a memory array. The memory 901 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
此外,处理器902可以是一个中央处理器(Central Processing Unit,简称:CPU),或者可以是专用集成电路ASIC,或者是被配置成实施本公开实施例的一个或多个集成电路。Moreover, the processor 902 can be a Central Processing Unit (CPU), or can be an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present disclosure.
本公开还提供一种移动终端,如图10所示,移动终端1001包括指纹处理装置1002,其中指纹处理装置1002可为图5-图9中任一实施例涉及的指纹处理装置。The present disclosure further provides a mobile terminal. As shown in FIG. 10, the mobile terminal 1001 includes a fingerprint processing device 1002. The fingerprint processing device 1002 can be a fingerprint processing device according to any of the embodiments of FIG. 5-9.
本公开还提供一种计算机可读存储介质,其中计算机可读存储介质存储有计算机指令,指令被处理器执行时实现如图1-图4中任一实施例涉及的方法。本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。The present disclosure also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions that, when executed by the processor, implement the method of any of the embodiments of FIGS. Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code. .
本公开是参照根据本公开实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本公开。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
The above description of the disclosed embodiments enables those skilled in the art to make or use the disclosure. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but the scope of the invention is to be accorded
Claims (15)
- 一种指纹处理方法,包括:A fingerprint processing method comprising:在检测到用户进行触摸操作的情况下,采集用户的指纹图像;Collecting a fingerprint image of the user when detecting that the user performs a touch operation;提取所述指纹图像中的指纹特征;Extracting fingerprint features in the fingerprint image;将所述指纹特征与指纹库中的指纹模板进行匹配;Matching the fingerprint feature with a fingerprint template in the fingerprint library;在所述指纹库中存在与所述指纹特征相匹配的匹配指纹模板的情况下,执行指纹解锁操作,并将与所述匹配指纹模板记为第一指纹模板,其中所述匹配指纹模板与所述指纹特征的匹配度不低于预设阈值;In the case that there is a matching fingerprint template matching the fingerprint feature in the fingerprint database, performing a fingerprint unlocking operation, and recording the matching fingerprint template as a first fingerprint template, wherein the matching fingerprint template is The matching degree of the fingerprint feature is not lower than a preset threshold;获取所述指纹特征与所述第一指纹模板的差别特征;Obtaining a difference feature between the fingerprint feature and the first fingerprint template;将所述差别特征添加到所述第一指纹模板中,对所述第一指纹模板进行修正得到第二指纹模板;Adding the difference feature to the first fingerprint template, and modifying the first fingerprint template to obtain a second fingerprint template;将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板。The first fingerprint template in the fingerprint library is replaced with the second fingerprint template.
- 根据权利要求1所述的指纹处理方法,其中,在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,还包括:The fingerprint processing method according to claim 1, wherein, after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the method further includes:统计将与所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板所经历的替换次数,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;The statistic replaces the initial fingerprint template corresponding to the second fingerprint template with the number of replacements experienced by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint. ;在所述替换次数达到预设替换次数的情况下,输出第一提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证;When the number of replacements reaches the preset number of replacements, the first prompt information is output, so as to prompt the user to input at least one other finger fingerprint registered in advance, thereby verifying the identity of the user;在用户身份验证通过的情况下,执行指纹解锁操作。In the case where the user authentication is passed, the fingerprint unlocking operation is performed.
- 根据权利要求1所述的指纹处理方法,其中,在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,还包括:The fingerprint processing method according to claim 1, wherein, after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the method further includes:计算将与所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板增加的扩展指纹面积,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;The calculation includes replacing the initial fingerprint template corresponding to the second fingerprint template with the extended fingerprint area added by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user starts the fingerprint unlocking or initializes the fingerprint. ;在所述扩展指纹面积达到预设扩展指纹面积的情况下,输出第二提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证; When the extended fingerprint area reaches the preset extended fingerprint area, the second prompt information is output, so as to prompt the user to input at least one other pre-registered finger fingerprint, thereby verifying the user identity;在用户身份验证通过的情况下,执行指纹解锁操作。In the case where the user authentication is passed, the fingerprint unlocking operation is performed.
- 根据权利要求3所述的指纹处理方法,其中,在所述扩展指纹面积达到所述预设扩展指纹面积的情况下,所述指纹处理方法还包括:The fingerprint processing method according to claim 3, wherein, in a case where the extended fingerprint area reaches the preset extended fingerprint area, the fingerprint processing method further includes:将所述第二指纹模板确定为最终指纹模板。The second fingerprint template is determined as a final fingerprint template.
- 根据权利要求1所述的指纹处理方法,其中,在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,还包括:The fingerprint processing method according to claim 1, wherein, after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the method further includes:计算所述第二指纹模板的总体指纹面积;Calculating an overall fingerprint area of the second fingerprint template;在所述总体指纹面积达到预设指纹面积的情况下,输出第三提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证;When the total fingerprint area reaches the preset fingerprint area, the third prompt information is output, so as to prompt the user to input at least one other pre-registered finger fingerprint, thereby verifying the user identity;在用户身份验证通过的情况下,执行指纹解锁操作。In the case where the user authentication is passed, the fingerprint unlocking operation is performed.
- 根据权利要求5所述的指纹处理方法,其中,在所述总体指纹面积达到所述预设指纹面积的情况下,所述指纹处理方法还包括:The fingerprint processing method according to claim 5, wherein, in a case where the total fingerprint area reaches the preset fingerprint area, the fingerprint processing method further includes:将所述第二指纹模板确定为最终指纹模板。The second fingerprint template is determined as a final fingerprint template.
- 一种指纹处理装置,包括:A fingerprint processing device comprising:采集单元,被配置为在检测到用户进行触摸操作的情况下,采集用户的指纹图像;The collecting unit is configured to collect a fingerprint image of the user when detecting that the user performs a touch operation;提取单元,被配置为提取所述指纹图像中的指纹特征;An extracting unit configured to extract a fingerprint feature in the fingerprint image;匹配单元,被配置为将所述指纹特征与指纹库中的指纹模板进行匹配;a matching unit configured to match the fingerprint feature with a fingerprint template in the fingerprint library;解锁单元,被配置为在所述指纹库中存在与所述指纹特征相匹配的匹配指纹模板的情况下,执行指纹解锁操作,并将与所述匹配指纹模板记为第一指纹模板,其中所述匹配指纹模板与所述指纹特征的匹配度不低于预设阈值;The unlocking unit is configured to perform a fingerprint unlocking operation when the matching fingerprint template matches the fingerprint feature in the fingerprint database, and record the matching fingerprint template as the first fingerprint template, where The matching degree between the matching fingerprint template and the fingerprint feature is not lower than a preset threshold;获取单元,被配置为获取所述指纹特征与所述第一指纹模板的差别特征;An acquiring unit, configured to acquire a difference feature between the fingerprint feature and the first fingerprint template;添加单元,被配置为将所述差别特征添加到所述第一指纹模板中,对所述第一指纹模板进行修正得到第二指纹模板;Adding a unit, configured to add the difference feature to the first fingerprint template, and correct the first fingerprint template to obtain a second fingerprint template;替换单元,被配置为将所述指纹库中的所述第一指纹模板替换成所述第二指纹模板。 And a replacement unit configured to replace the first fingerprint template in the fingerprint library with the second fingerprint template.
- 根据权利要求7所述的指纹处理装置,还包括:The fingerprint processing device of claim 7, further comprising:统计单元,被配置为在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,统计将与所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板所经历的替换次数,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;The statistic unit is configured to: after the first fingerprint template is replaced with the second fingerprint template, if the touch operation of the user is detected again, the statistic replaces the initial fingerprint template corresponding to the second fingerprint template with The number of replacements experienced by the second fingerprint template, where the initial fingerprint template is a fingerprint template registered when the user initiates fingerprint unlocking or initializes a fingerprint;第一输出单元,被配置为在所述替换次数达到预设替换次数的情况下,输出第一提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证;The first output unit is configured to output the first prompt information when the number of replacements reaches the preset number of replacements, so as to prompt the user to enter at least one other fingerprint fingerprint registered in advance, thereby verifying the identity of the user;第一执行单元,用于在用户身份验证通过的情况下,执行指纹解锁操作。The first execution unit is configured to perform a fingerprint unlocking operation when the user identity verification is passed.
- 根据权利要求7所述的指纹处理装置,还包括:The fingerprint processing device of claim 7, further comprising:第一计算单元,被配置为在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,计算将与所述第二指纹模板相对应的初始指纹模板替换成所述第二指纹模板增加的扩展指纹面积,其中,所述初始指纹模板为用户启动指纹解锁或是初始化指纹时注册的指纹模板;a first calculating unit, configured to: after replacing the first fingerprint template with the second fingerprint template, if the touch operation of the user is detected again, calculate an initial fingerprint template corresponding to the second fingerprint template And replacing the extended fingerprint area that is added by the second fingerprint template, where the initial fingerprint template is a fingerprint template that is registered when the user starts the fingerprint unlocking or initializes the fingerprint;第二输出单元,被配置为在所述扩展指纹面积达到预设扩展指纹面积的情况下,输出第二提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证;The second output unit is configured to output the second prompt information when the extended fingerprint area reaches the preset extended fingerprint area, so as to prompt the user to input at least one pre-registered other finger fingerprint, thereby verifying the user identity;第二执行单元,被配置为在用户身份验证通过的情况下,执行指纹解锁操作。The second execution unit is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
- 根据权利要求9所述的指纹处理装置,还包括:The fingerprint processing device of claim 9, further comprising:第一确定单元,被配置为在所述扩展指纹面积达到所述预设扩展指纹面积的情况下,将所述第二指纹模板确定为最终指纹模板。The first determining unit is configured to determine the second fingerprint template as a final fingerprint template if the extended fingerprint area reaches the preset extended fingerprint area.
- 根据权利要求7所述的指纹处理装置,还包括:The fingerprint processing device of claim 7, further comprising:第二计算单元,被配置为在将所述第一指纹模板替换成所述第二指纹模板后,若再次检测到用户的触摸操作,计算所述第二指纹模板的总体指纹面积;a second calculating unit, configured to calculate an overall fingerprint area of the second fingerprint template if the touch operation of the user is detected again after replacing the first fingerprint template with the second fingerprint template;第三输出单元,被配置为在所述总体指纹面积达到预设指纹面积的情况下,输出第三提示信息,以便提示用户录入至少一个预先注册的其他手指指纹,从而对用户身份进行验证; The third output unit is configured to output a third prompt information when the total fingerprint area reaches a preset fingerprint area, so as to prompt the user to input at least one pre-registered other finger fingerprint, thereby verifying the user identity;第三执行单元,被配置为在用户身份验证通过的情况下,执行指纹解锁操作。The third execution unit is configured to perform a fingerprint unlocking operation if the user identity verification is passed.
- 根据权利要求11所述的指纹处理装置,还包括:The fingerprint processing device of claim 11, further comprising:第二确定单元,被配置为在所述总体指纹面积达到所述预设指纹面积的情况下,将所述第二指纹模板确定为最终指纹模板。The second determining unit is configured to determine the second fingerprint template as a final fingerprint template if the total fingerprint area reaches the preset fingerprint area.
- 一种指纹处理装置,包括:A fingerprint processing device comprising:存储器,用于存储指令;a memory for storing instructions;处理器,耦合到所述存储器,所述处理器被配置为基于所述存储器存储的指令执行实现如权利要求1-6中任一项所述的方法。A processor coupled to the memory, the processor being configured to perform the method of any of claims 1-6 based on the stored instructions of the memory.
- 一种移动终端,其特征在于,包括:如权利要求7-13中任一项所述的指纹处理装置。A mobile terminal, comprising: the fingerprint processing device according to any one of claims 7-13.
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机指令,所述指令被处理器执行时实现如权利要求1-6中任一项所述的方法。 A computer readable storage medium, wherein the computer readable storage medium stores computer instructions that, when executed by a processor, implement the method of any of claims 1-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710032350.XA CN106650706B (en) | 2017-01-16 | 2017-01-16 | Fingerprint acquisition method and device and mobile terminal |
CN201710032350.X | 2017-01-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018129966A1 true WO2018129966A1 (en) | 2018-07-19 |
Family
ID=58841900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/106124 WO2018129966A1 (en) | 2017-01-16 | 2017-10-13 | Fingerprint processing method, device and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106650706B (en) |
WO (1) | WO2018129966A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106650706B (en) * | 2017-01-16 | 2018-10-19 | 珠海格力电器股份有限公司 | Fingerprint acquisition method and device and mobile terminal |
CN107180181A (en) * | 2017-05-12 | 2017-09-19 | 深圳市乃斯网络科技有限公司 | Application process and system of the fingerprint recognition in terminal |
CN107392154B (en) * | 2017-07-25 | 2019-01-15 | Oppo广东移动通信有限公司 | Fingerprint processing method and device and terminal equipment |
CN107480641B (en) * | 2017-08-16 | 2020-08-25 | 联想(北京)有限公司 | Fingerprint identification method and electronic equipment |
CN107577930B (en) * | 2017-08-22 | 2020-02-07 | 广东小天才科技有限公司 | Unlocking detection method of touch screen terminal and touch screen terminal |
CN107580114B (en) * | 2017-08-24 | 2020-07-28 | Oppo广东移动通信有限公司 | Biometric identification method, mobile terminal, and computer-readable storage medium |
CN110348269B (en) * | 2018-04-02 | 2021-07-20 | 杭州海康威视数字技术股份有限公司 | Fingerprint input method, device and system and electronic equipment |
CN111353423A (en) * | 2019-06-21 | 2020-06-30 | 神盾股份有限公司 | Fingerprint sensing module and fingerprint sensing method |
CN113158837B (en) * | 2021-04-01 | 2024-02-20 | 深圳阜时科技有限公司 | Fingerprint image edge repair method based on orientation field |
CN113312602B (en) * | 2021-08-02 | 2021-11-02 | 飞天诚信科技股份有限公司 | Method and system for realizing fingerprint sharing |
WO2023011168A1 (en) | 2021-08-02 | 2023-02-09 | 飞天诚信科技股份有限公司 | Method and system for implementing fingerprint sharing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389566A (en) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint template updating method, fingerprint template updating device and mobile terminal |
CN105447454A (en) * | 2015-11-13 | 2016-03-30 | 广东欧珀移动通信有限公司 | Fingerprint template improving method, device and terminal device |
US20160147987A1 (en) * | 2013-07-18 | 2016-05-26 | Samsung Electronics Co., Ltd. | Biometrics-based authentication method and apparatus |
CN106650706A (en) * | 2017-01-16 | 2017-05-10 | 珠海格力电器股份有限公司 | Fingerprint acquisition method and device and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105654026A (en) * | 2015-07-16 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint storage method and apparatus thereof, fingerprint identification method and apparatus thereof |
CN105095876A (en) * | 2015-08-11 | 2015-11-25 | 上海箩箕技术有限公司 | Fingerprint identification method, fingerprint input identification method and fingerprint input identification system |
CN105303176A (en) * | 2015-10-19 | 2016-02-03 | 广东欧珀移动通信有限公司 | Fingerprint template updating method and device |
CN105426720B (en) * | 2015-10-31 | 2018-06-15 | 东莞酷派软件技术有限公司 | A kind of method and terminal for changing registered fingerprint |
-
2017
- 2017-01-16 CN CN201710032350.XA patent/CN106650706B/en active Active
- 2017-10-13 WO PCT/CN2017/106124 patent/WO2018129966A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160147987A1 (en) * | 2013-07-18 | 2016-05-26 | Samsung Electronics Co., Ltd. | Biometrics-based authentication method and apparatus |
CN105389566A (en) * | 2015-11-13 | 2016-03-09 | 广东欧珀移动通信有限公司 | Fingerprint identification method, fingerprint template updating method, fingerprint template updating device and mobile terminal |
CN105447454A (en) * | 2015-11-13 | 2016-03-30 | 广东欧珀移动通信有限公司 | Fingerprint template improving method, device and terminal device |
CN106650706A (en) * | 2017-01-16 | 2017-05-10 | 珠海格力电器股份有限公司 | Fingerprint acquisition method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106650706A (en) | 2017-05-10 |
CN106650706B (en) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018129966A1 (en) | Fingerprint processing method, device and mobile terminal | |
US9087228B2 (en) | Method and apparatus for authenticating biometric scanners | |
US8577091B2 (en) | Method and apparatus for authenticating biometric scanners | |
US8369583B2 (en) | Hybrid biometric authentication device, hybrid biometric authentication method, and computer-readable medium storing hybrid biometric authentication program | |
CN111898108A (en) | Identity authentication method and device, terminal and server | |
CN105573614A (en) | Screen unlocking method and user terminal | |
JP5676592B2 (en) | Robust biometric feature extraction with and without reference points | |
US9792421B1 (en) | Secure storage of fingerprint related elements | |
US11552944B2 (en) | Server, method for controlling server, and terminal device | |
Maiorana et al. | User adaptive fuzzy commitment for signature template protection and renewability | |
CN109657528A (en) | Fingerprint identification method and the electronic device for using fingerprint identification method | |
WO2016110024A1 (en) | Terminal unlock method and device based on eye-print identification | |
CN110008670A (en) | Identity identifying method and device based on hand-written password | |
CN102314594A (en) | Biometric authentication device and biometric authentication method | |
Beton et al. | Biometric secret path for mobile user authentication: A preliminary study | |
CN107408208B (en) | Method and fingerprint sensing system for analyzing a biometric of a user | |
CN107438847A (en) | The method, apparatus and equipment of fingerprint recognition | |
WO2017041358A1 (en) | User identity recognition method and apparatus, and mobile terminal | |
US12216748B2 (en) | Authentication device, authentication method, and recording medium | |
KR20180015098A (en) | Methdo and apparatus for user authentication using fingerprint and iris | |
CN110612532B (en) | Post-authentication fingerprint image capture | |
CN111753272A (en) | A fingerprint authentication method, device and storage medium | |
Jeny et al. | Multibiometric cryptosystem with fuzzy vault and fuzzy commitment by feature-level fusion | |
WO2018137286A1 (en) | Fingerprint verification method and electronic device | |
Hooda et al. | Novel chaff generation for fingerprint fuzzy vault |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17891030 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17891030 Country of ref document: EP Kind code of ref document: A1 |