Error prompting method, device, and electronic apparatus
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorXuebin Huang
Life of this patent
Estimating the term…
Abstract
A method of prompting a failure or error, applicable to a terminal apparatus including a fingerprint recognizer having a sensor array, includes: obtaining electrical signals containing fingerprint information through the sensor array upon a fingerprint recognition being triggered; determining a number of sensors with abnormally-changing electrical signals in the sensor array; and outputting prompt information upon the determined number of sensors exceeds a number threshold.
Claims12
A method of prompting a failure or error applicable to a terminal apparatus comprising a fingerprint recognizer having a sensor array, the method comprising:
- obtaining electrical signals containing fingerprint information through the sensor array upon a fingerprint recognition being triggered;
- generating a fingerprint image according to the electrical signals containing the fingerprint information;
- determining a number of sensors with abnormally-changing electrical signals in the sensor array;
- by:
- determining, for each sensor in the sensor array, an electrical signal changing value by taking a difference between a current electrical signal value and an initial electrical signal value of the sensor;
- and
- determining the number of sensors with electrical signal changing values exceeding a changing value threshold in the sensor array as the number of the sensors with abnormally-changing electrical signals;
- outputting prompt information upon the determined number of sensors with abnormally-changing electrical signals in the sensor array exceeding a number threshold;
- obtaining a corrected fingerprint image by removing abnormal pixels from the fingerprint image when it is determined that the number of sensors with abnormally-changing electrical signals in the sensor array does not exceed the number threshold, wherein the abnormal pixels are pixels corresponding to the number of sensors with abnormally-changing electrical signals in the sensor array;
- and
- performing the fingerprint recognition based on the corrected fingerprint image.
A device configured to prompt a failure or error in a terminal apparatus comprising a fingerprint recognizes having a sensor array, the device comprising:
- a processor;
- and
- memory storing instructions executable by the processor;
- wherein the instructions cause the processor to:
- obtain electrical signals containing fingerprint information through the sensor array upon a finger recognition being triggered;
- generate a fingerprint image according to the electrical signals containing the fingerprint information;
- determine a number of sensors with abnormally-changing electrical signals in the sensor array;
- by:
- determine, for each sensor in the sensor array, an electrical signal changing value by taking a difference between a current electrical signal value and an initial electrical signal value of the sensor;
- and
- determine the number of sensors with electrical signal changing values exceeding a changing value threshold in the sensor array as the number of the sensors with abnormally-changing electrical signals;
- output prompt information upon the number of sensors with abnormally-changing electrical signals in the sensor array exceeding a number threshold;
- obtain a corrected fingerprint image by removing abnormal pixels from the fingerprint image when it is determined that the number of sensors with abnormally-changing electrical signals in the sensor array does not exceed the number threshold, wherein the abnormal pixels are pixels corresponding to the number of sensors with abnormally-changing electrical signals in the sensor array;
- and
- perform the fingerprint recognition based on the corrected fingerprint image.
A non-transitory computer-readable storage medium storing instructions for execution by a processing circuit, the instructions comprising:
- obtaining electrical signals containing fingerprint information through a sensor array in a fingerprint recognizer upon a finger recognition being triggered;
- generating a fingerprint image according to the electrical signals containing the fingerprint information;
- determining a number of sensors with abnormally-changing electrical signals in the sensor array;
- by:
- determining, for each sensor in the sensor array, an electrical signal changing value by taking a difference between a current electrical signal value and an initial electrical signal value of the sensor;
- and
- determining the number of sensors with electrical signal changing values exceeding a changing value threshold in the sensor array as the number of the sensors with abnormally-changing electrical signals;
- outputting prompt information upon the number of sensors with abnormally-changing electrical signals in the sensor array exceeding a number threshold;
- obtaining a corrected fingerprint image by removing abnormal pixels from the fingerprint image when it is determined that the number of sensors with abnormally-changing electrical signals in the sensor array does not exceed the number threshold, wherein the abnormal pixels are pixels corresponding to the number of sensors with abnormally-changing electrical signals in the sensor array;
- and
- performing the fingerprint recognition based on the corrected fingerprint image.
Dependencies are inferred from the claim text.