# US 9,310,486 B2 · Method and apparatus for terminal to determine approach of object

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

- Number: US 9,310,486 B2
- Document ID: US9310486B2
- Status: Granted
- Kind: B2
- Application number: 14/139,006
- Filed: 2013-12-23
- Published: 2014-04-24
- Granted: 2016-04-12
- Earliest claimed: 2011-06-24
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Lei Guo
- Web page: https://patentgrep.com/patent/US9310486B2

## CPC

- G01S 17/04: Systems determining the presence of a target
- H03K 17/941: {using an optical detector (H03K17/968 takes precedence)}
- H03K 17/9631: {using a light source as part of the switch}
- H03K 17/9636: {using a pulsed light source}
- H04M 1/026: {Details of the structure or mounting of specific components}
- H03K 2217/94026: Automatic threshold calibration; e.g. threshold automatically adapts to ambient conditions or follows variation of input
- H03K 2217/94108: making use of reflection
- H03K 2217/94116: increasing reliability, fail-safe
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Embodiments of the present invention provide a method and an apparatus for a terminal to determine whether an object is approaching, wherein the method includes: reading, by an infrared receiver, a first infrared intensity value when an infrared emitting diode does not work, and reading, by the infrared receiver, a second infrared intensity value when the infrared emitting diode works; obtaining a first difference value between the second infrared intensity value and the first infrared intensity value as an intensity value of a reflected infrared ray; determining whether a second difference value between the intensity value of the reflected infrared ray and an infrared intensity threshold is greater than a preset second threshold; and determining that an object is approaching the terminal when the second difference value is greater than the preset second threshold value. The present invention enables each terminal to accurately determine whether there is an object approaching.

## Claims

### Claim 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.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
comparing the intensity value of the reflected infrared ray and the infrared intensity threshold that is stored by the terminal; and
when the intensity value of the reflected infrared ray is smaller than the stored infrared intensity threshold, replacing the stored infrared intensity threshold with the intensity value of the reflected infrared ray as a new infrared intensity threshold, and saving the new infrared intensity threshold at the terminal.

### Claim 3

A non-transitory computer readable medium including computer-executable instructions for execution on a terminal, which is configured to determine whether an object is approaching, such that when the computer-executable instructions are executed by the terminal a method is carried out comprising:
reading a first infrared intensity value when an infrared emitting diode is off and reading a second infrared intensity value when the infrared emitting diode is on;
obtaining a first difference value between the second infrared intensity value and the first infrared intensity value as an intensity value of a reflected infrared ray;
determining whether a second difference value between the intensity value of a reflected infrared ray and an infrared intensity threshold that is stored by the terminal itself is greater than a preset second threshold; and
determining when the second difference value is greater than the preset second threshold, that there is an object 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 during initial activation.

### Claim 4

A non-transitory computer readable medium including computer-executable instructions for execution on a terminal, which is configured to determine whether an object is approaching, such that when the computer-executable instructions are executed by the terminal a method is carried out comprising:
reading when an infrared emitting diode of the terminal is activated an intensity value of a received infrared ray;
caching the intensity value of the received infrared ray;
reading when an additional infrared ray is received from the outside an intensity value of the additional infrared ray;
calculating a difference value between the intensity value of the additional infrared ray and the cached intensity value; and
determining, when the calculated difference value is greater than a preset threshold, 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 during initial activation.
