IP Library Granted Patent US 9,310,486
Granted Patent B2
US 9,310,486 · App. 14/139,006 · Granted Apr 12, 2016

Method and apparatus for terminal to determine approach of object

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,310,486
App. No.
14/139,006
Granted
Apr 12, 2016
Kind
B2
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 (23)

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.

2. 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.

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.

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.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI DEVICE CO.,LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 056413/0883 →
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2015
From: GUO, LEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 034833/0827 →