Patent ID: 11875598
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. An electronic device, comprising:
a fingerprint sensor;
a touch sensor;
one or more processors; and
one or more memories, wherein the one or more memories store one or more computer programs that are executable by the one or more processors to cause the electronic device to:
detect a touch operation in a fingerprint unlocking area;
collect, by the fingerprint sensor, a fingerprint image;
collect, by the touch sensor, a multi-frame touch signal; and
determine, based on the fingerprint image and the multi-frame touch signal, whether the fingerprint image is of a real finger or of a fake finger;

wherein the electronic device stores a multi-modal network, and the multi-modal network comprises a fingerprint image subnetwork and a touch signal subnetwork; and
wherein the one or more computer programs are further executable by the one or more processors to cause the electronic device to:
input the fingerprint image into the fingerprint image subnetwork for processing, to obtain a first eigenvector;
input the multi-frame touch signal into the touch signal subnetwork for processing, to obtain a second eigenvector;
fuse the first eigenvector with the second eigenvector to obtain a third eigenvector;
classify the third eigenvector to obtain a classification result; and
determine, based on the classification result, whether the fingerprint image is a of a real finger or of a fake finger.