Patent ID: 9310486
Filing Date: 2016-04-12
CPC Classification: G01S,H03K,H04M

Claim Text:
1. A method, executed by a terminal, for determining whether an object is approaching, comprising: reading, by an infrared receiver, a first infrared intensity value when an infrared emitting diode is off; reading, by the infrared receiver, a second infrared intensity value when the infrared emitting diode is on; obtaining, for an intensity value of a reflected infrared ray, a first difference value between the second infrared intensity value and the first infrared intensity value; determining whether a second difference value between the intensity value of the reflected infrared ray and an infrared intensity threshold that is stored by the terminal itself is greater than a preset second threshold; and when the second difference value is greater than the preset second threshold, determining that an object is approaching the terminal; wherein the stored infrared intensity threshold is the first difference value between the second infrared intensity value and the first infrared intensity value and is obtained when the infrared receiver and the infrared emitting diode are initially activated.