IP Library Granted Patent US 9,974,026
Granted Patent B2
US 9,974,026 · App. 15/544,823 · Granted May 15, 2018

Terminal control method and terminal

Inventor: Lei Chen (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04W52/0254H04B1/3888H04M1/0202H04M2250/12
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,974,026
App. No.
15/544,823
Granted
May 15, 2018
Kind
B2
Abstract

The present invention provides a terminal control method and a terminal, and relates to the field of electronic devices. The method includes when a magnetic field sensed by a Hall device of a terminal in a standby state is less than or equal to a first preset threshold, activating a sensor of the terminal, where the Hall device is configured to sense a magnetic field generated by a magnet in a protective case of the terminal. The method also includes obtaining, by using detection data of the sensor, whether the terminal is obstructed, and maintaining the standby state of the terminal when it is obtained that the terminal is obstructed. The method and the terminal provided in the present invention are applied to the terminal.

Claims (44)

1. A method, comprising:

sensing, by a Hall device of a terminal, that a magnetic field is less than or equal to a first preset threshold;

activating a sensor of a terminal, in response to sensing that the magnetic field is less than or equal to the first preset threshold, the sensing performed while the terminal is in a standby state, wherein the Hall device is configured to sense a magnetic field generated by a magnet in a protective case of the terminal; and

maintaining the standby state of the terminal, in response to determining, using detection data of the sensor, that the terminal is obstructed.

2. The method according to claim 1 , the method further comprising:

changing the terminal from the standby state to a working state, in response to determining that the terminal is not obstructed.

3. The method according to claim 2 , the method further comprising:

disabling the sensor after changing the terminal from the standby state to the working state.

4. The method according to claim 1 , further comprising:

determining, using the sensor, a distance between a flip side of the protective case of the terminal and the sensor;

determining that the terminal is obstructed, in response to determining that the distance is less than or equal to a second preset threshold; and

determining that the terminal is not obstructed, in response to determining that the distance is greater than the second preset threshold.

5. The method according to claim 4 , wherein the second preset threshold is 1 to 2 centimeters.

6. The method according to claim 4 , wherein the sensor is a proximity sensor.

7. The method according to claim 1 , further comprising:

performing, by the sensor, periodic detection, to obtain periodic detection data, after the sensor is activated.

8. A terminal, comprising:

a protective case comprising a magnet;

a Hall device, configured to sense a magnetic field generated by the magnet in the protective case; and

a sensor, configured to obtain detection data while activated;

a processor; and

a non-transitory computer readable storage medium storing a program for execution by the processor, the program including instructions to:

activate the sensor, in response to determining that the terminal is in a standby state and that a strength of the sensed magnetic field is less than or equal to a first preset threshold; and

maintain the standby state of the terminal in response to determining, using detection data of the sensor, that the terminal is obstructed.

9. The terminal according to claim 8 , wherein the instructions further comprise instructions to:

change the terminal from the standby state to a working state, in response to determining that the terminal is not obstructed.

10. The terminal according to claim 9 , wherein the instructions further comprise instructions to:

disable the sensor, after changing the terminal from the standby state to the working state.

11. The terminal according to claim 8 , wherein the instructions further comprise instructions to:

obtain, using the sensor, a distance between a flip side of the protective case of the terminal and the sensor;

determine that the terminal is obstructed, in response to determining that the distance is less than or equal to a second preset threshold; and

determine that the terminal is not obstructed, in response to determining that the distance is greater than the second preset threshold.

12. The terminal according to claim 11 , wherein the second preset threshold is 1 to 2 centimeters.

13. The terminal according to claim 8 , wherein the sensor is further configured to perform periodic detection, to determine periodic detection data, after being activated.

14. The terminal according to claim 8 , wherein the sensor is a proximity sensor.

15. A terminal, comprising:

a protective case comprising a magnet;

a Hall device, configured to sense a magnetic field generated by the magnet in the protective case; and

a sensor, configured to generate, while activated, detection data indicating whether the terminal is obstructed;

a processor; and

a non-transitory computer readable storage medium storing a program for execution by the processor, the program including instructions to:

disable the sensor, in response to determining that the terminal is in a working state; and

maintain the working state of the terminal in response to determining, using detection data of the sensor, that the terminal is not obstructed.

16. The terminal of claim 15 , wherein the sensor is a proximity sensor.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2017
From: CHEN, LEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 043494/0361 →
Continuity (1)
Related Publication 20180007632A1 · Jan 4, 2018