Pressure determination method and device and fingerprint recognition method and device
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorJu Tang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a pressure determination method and device. The pressure determination method includes: fingerprint information from a preset region of a terminal is acquired, and the fingerprint information includes multiple first signals corresponding to ridges of a fingerprint and multiple second signals corresponding to valleys of the fingerprint; and a pressure on the preset region is determined according to a relationship between the first signals and the second signals.
Claims18
A pressure determination method applied to a terminal, comprising:
- acquiring fingerprint information from a preset region of the terminal, the fingerprint information comprising a plurality of first signals corresponding to ridges of a fingerprint and a plurality of second signals corresponding to valleys of the fingerprint;
- and
- determining a pressure on the preset region according to a relationship between the first signals and the second signals,
- wherein determining the pressure on the preset region according to the relationship between the first signals and the second signals comprises:
- calculating a difference value between the first signals and the second signals;
- and
- when the difference value is smaller than a preset difference value threshold, determining that the pressure on the preset region is higher than a preset pressure threshold;
- or
- wherein determining the pressure on the preset region according to the relationship between the first signals and the second signals comprises:
- calculating a first mean value of a maximum first signal and a minimum first signal of the plurality of first signals and a second mean value of a maximum second signal and a minimum second signal of the plurality of second signals;
- and
- determining a first number of signals corresponding to the first mean value and a second number of signals corresponding to the second mean value, and
- wherein, when the first number is larger than a first preset number and the second number is larger than a second preset number, it is determined that the pressure on the preset region is higher than the preset pressure threshold.
Electronic equipment, comprising:
- a processor;
- and
- a memory configured to store an instruction executable by the processor,
- wherein the processor is configured to:
- acquire fingerprint information from a preset region of a terminal, the fingerprint information comprising a plurality of first signals corresponding to ridges of a fingerprint and a plurality of second signals corresponding to valleys of the fingerprint;
- and
- determine a pressure on the preset region according to a relationship between the first signals and the second signals,
- wherein, in order to determine the pressure on the preset region according to the relationship between the first signals and the second signals, the processor is further configured to:
- calculate a difference value between the first signals and the second signals;
- and
- when the difference value is smaller than a preset difference value threshold, determine that the pressure on the preset region is higher than a preset pressure threshold;
- or
- wherein, in order to determine the pressure on the preset region according to the relationship between the first signals and the second signals, the processor is further configured to:
- calculate a first mean value of a maximum first signal and a minimum first signal of the plurality of first signals and a second mean value of a maximum second signal and a minimum second signal of the plurality of second signals;
- and
- determine a first number of signals corresponding to the first mean value and a second number of signals corresponding to the second mean value, and
- wherein, when the first number is larger than a first preset number and the second number is larger than a second preset number, it is determined that the pressure on the preset region is higher than the preset pressure threshold.
A non-transitory computer-readable storage medium having stored therein a computer program that, when executed by a processor, causes the processor to implement:
- acquiring fingerprint information from a preset region of a terminal, the fingerprint information comprising a plurality of first signals corresponding to ridges of a fingerprint and a plurality of second signals corresponding to valleys of the fingerprint;
- and
- determining a pressure on the preset region according to a relationship between the first signals and the second signals,
- wherein the computer program caused the processor to implement determining the pressure on the preset region according to the relationship between the first signals and the second signals further causes the processor to implement:
- calculating a difference value between the first signals and the second signals;
- and
- when the difference value is smaller than a preset difference value threshold, determining that the pressure on the preset region is higher than a preset pressure threshold;
- or
- wherein the computer program caused the processor to implement determining the pressure on the preset region according to the relationship between the first signals and the second signals further causes the processor to implement:
- calculating a first mean value of a maximum first signal and a minimum first signal of the plurality of first signals and a second mean value of a maximum second signal and a minimum second signal of the plurality of second signals;
- and
- determining a first number of signals corresponding to the first mean value and a second number of signals corresponding to the second mean value, and
- wherein, when the first number is larger than a first preset number and the second number is larger than a second preset number, it is determined that the pressure on the preset region is higher than the preset pressure threshold.
Dependencies are inferred from the claim text.