# US 2025/0166419 A1 · Fingerprint recognition method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0166419 A1
- Document ID: US20250166419A1
- Status: Published application
- Kind: A1
- Application number: 18/838,316
- Filed: 2023-05-05
- Published: 2025-05-22
- Earliest claimed: 2022-08-18
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Mingjin GUO; Danhong Li; Haoxuan Di; Junlong GUO
- Web page: https://patentgrep.com/patent/US20250166419A1

## CPC

- G06V 40/1318: {using electro-optical elements or layers, e.g. electroluminescent sensing}
- G06V 40/50: Maintenance of biometric data or enrolment thereof
- G06V 10/993: {Evaluation of the quality of the acquired pattern}
- G06V 40/1365: {Matching; Classification}
- G06V 40/1382: {Detecting the live character of the finger, i.e. distinguishing from a fake or cadaver finger}
- G06V 40/45: {Detection of the body part being alive}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A fingerprint recognition method and apparatus are provided. The method is applied to the field of fingerprint recognition technologies. The method includes: when a first fingerprint image is successfully matched, judging whether matching information of the first fingerprint image satisfies a first preset condition; when the matching information of the first fingerprint image satisfies the first preset condition, judging whether a cumulative update count of a second fingerprint template is greater than a first quantity threshold; when the cumulative update count of the second fingerprint template is greater than the first quantity threshold, judging whether priority information of the second fingerprint template satisfies a second preset condition; and when the priority information of the second fingerprint template satisfies the second preset condition, updating the second fingerprint template with the first fingerprint image. A high-quality fingerprint image is selected through a plurality of judgment conditions to update a fingerprint template library. Matching is performed based on an updated fingerprint template library. This can increase a fingerprint unlocking rate and an unlocking speed, so that user experience in unlocking is improved.

## Claims

### Claim 1

A fingerprint recognition method, wherein the method is applied to an electronic device, and the method comprises:
acquiring a first fingerprint image, and matching the first fingerprint image with a fingerprint template library;
judging whether the first fingerprint image is successfully matched;
after the first fingerprint image is successfully matched, obtaining matching information of the first fingerprint image, wherein the matching information is used to represent a matching degree between the first fingerprint image and a first fingerprint template, and the first fingerprint template is a fingerprint template that is in the fingerprint template library and that is successfully matched with the first fingerprint image;
determining whether the matching information satisfies a first preset condition;
when the matching information satisfies the first preset condition, determining whether a first quantity is greater than a first quantity threshold, wherein the first quantity is used to represent a cumulative update count of a second fingerprint template in the fingerprint template library;
when the first quantity is greater than the first quantity threshold, judging whether priority information of the second fingerprint template satisfies a second preset condition;
when the priority information of the second fingerprint template satisfies the second preset condition, obtaining index information of the second fingerprint template; and
updating the second fingerprint template with the first fingerprint image based on the index information of the second fingerprint template.

### Claim 2 (depends on 1)

The method according to claim 1, wherein when the first quantity is greater than the first quantity threshold, the method further comprises:
determining whether a second quantity is less than or equal to a second quantity threshold, wherein the second quantity is used to represent a recognition failure count of the first fingerprint image during fingerprint matching;
when the second quantity is less than or equal to the second quantity threshold, determining whether a third quantity is less than a third quantity threshold, wherein the third quantity is used to represent a total quantity of fingerprint templates currently stored in the fingerprint template library; and
when the third quantity is less than the third quantity threshold, adding the first fingerprint image to the fingerprint template library.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the method further comprises:
when the third quantity is greater than or equal to the third quantity threshold, updating the second fingerprint template with the first fingerprint image.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the matching information comprises a matching score, a matching area, and a quality score; and whether the matching information satisfies the first preset condition comprises: the matching score is greater than a first score threshold, the matching area is greater than an area threshold, and the quality score is greater than a second score threshold.

### Claim 5 (depends on 1)

The method according to claim 1, wherein that the priority information of the second fingerprint template satisfies the second preset condition comprises:
a weight value of the second fingerprint template is greater than a weight threshold, a value obtained by automatically adding one to the first quantity is less than a fourth quantity threshold, and a matching success rate of the second fingerprint template is less than a ratio threshold, wherein one is automatically added to the first quantity when whether the first quantity is greater than the first quantity threshold is determined.

### Claim 6 (depends on 1)

The method according to claim 1, wherein a fingerprint template update function of the electronic device is on.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the method further comprises:
performing real/fake finger anti-fake judgment on the first fingerprint image; and
the determining whether the matching information satisfies a first preset condition comprises:
when the first fingerprint image is of a real finger, determining whether the matching information satisfies the first preset condition.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
displaying a first interface, wherein the first interface comprises a first option, and the first option is used to select to turn on or turn off the fingerprint template update function.

### Claim 9 (depends on 1)

An electronic device, comprising a processor and a memory, wherein the processor and the memory are coupled, the memory is configured to store a computer program, and when the computer program is executed by the processor, the electronic device is enabled to perform the method according to claim 1.

### Claim 10 (depends on 1)

A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to perform the method according to claim 1.

### Claim 11 (depends on 1)

A chip, comprising a processor, wherein when the processor executes instructions, the processor performs the method according to claim 1.
