IP Library › Granted Patent US 10,794,698
Granted Patent B2
US 10,794,698 · App. 15/779,092 · Granted Oct 6, 2020

Method and apparatus for indicating direction

Inventors: Rui Sun (Shenzhen, CN); Teng Zhang (Shanghai, CN); Yi Pan (Shanghai, CN); Renzhi Yang (Shanghai, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G01C17/28G01C17/32G01C17/38H04M1/72519H04M1/725H04M2250/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 10,794,698
App. No.
15/779,092
Granted
Oct 6, 2020
Kind
B2
Abstract

Embodiments of the present invention disclose a method and system for indicating a direction. The method is executed by a mobile terminal, and includes: determining an orientation of a screen of the mobile terminal; determining any direction in four directions east, south, west, and north of a location of the mobile terminal; determining another direction based on the determined direction when the screen of the mobile terminal is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and displaying all the determined directions on the screen of the mobile terminal. By using the solutions in the embodiments, a user can obtain a correct direction indication even when holding the mobile terminal non-horizontally, so that accuracy of the direction indication of the mobile terminal is improved.

Claims (51)

1. A method for indicating a direction, executed by a mobile terminal, comprising:

determining an orientation of a screen of the mobile terminal;

determining any direction in four directions east, south, west, and north of a location of the mobile terminal;

determining another direction based on the determined any direction in the four directions east, south, west, and north of the location of the mobile terminal when the screen of the mobile terminal is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and

displaying all the determined directions on the screen of the mobile terminal.

2. The method according to claim 1 , wherein before the displaying all the determined directions on the screen of the mobile terminal, the method further comprises:

determining another direction based on the determined any direction in the four directions east, south, west, and north of the location of the mobile terminal when the screen of the mobile terminal is determined to be upward, so that directions for every 90° are respectively the east, the south, the west, and the north in a clockwise direction.

3. The method according to claim 2 , wherein the determining another direction based on the determined any direction in the four directions east, south, west, and north of the location of the mobile terminal when the screen of the mobile terminal is determined to be upward, so that directions for every 90° are respectively the east, the south, the west, and the north in a clockwise direction is specifically:

determining a location of 90° clockwise rotation to be the east, determining a location of 180° clockwise rotation to be the south, and determining a location of 270° clockwise rotation to be the west based on a determined location of the north direction of the location of the mobile terminal when the screen of the mobile terminal is determined to be upward.

4. The method according to claim 1 , wherein the determining another direction based on the determined any direction in the four directions east, south, west, and north of the location of the mobile terminal when the screen of the mobile terminal is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction is specifically:

determining a location of 90° clockwise rotation to be the west, determining a location of 180° clockwise rotation to be the south, and determining a location of 270° clockwise rotation to be the east based on a determined location of the north direction of the location of the mobile terminal when the screen of the mobile terminal is determined to be downward.

5. The method according to claim 1 , wherein the determining an orientation of a screen of the mobile terminal and the determining any direction in four directions east, south, west, and north of a location of the mobile terminal specifically comprise:

determining the orientation of the screen of the mobile terminal first, and then determining any direction in the four directions east, south, west, and north of the location of the mobile terminal; or

determining any direction in the four directions east, south, west, and north of the location of the mobile terminal first, and then determining the orientation of the screen of the mobile terminal.

6. The method according to claim 1 , wherein the determining any direction in four directions east, south, west, and north of a location of the mobile terminal is specifically:

determining, by using an acceleration sensor on the mobile terminal, any direction in the four directions east, south, west, and north of the location of the mobile terminal.

7. The method according to claim 1 , wherein the determining an orientation of a screen of the mobile terminal is specifically: determining, by using the acceleration sensor on the mobile terminal, whether the screen of the mobile terminal is upward or downward.

8. A computer program product, comprising program code, wherein when a computer runs the program code, the program code executes the method according to claim 1 .

9. A method for indicating a direction, executed by a mobile terminal, comprising:

determining an orientation of a screen of the mobile terminal;

when the screen of the mobile terminal is determined to be downward, respectively displaying directions east, north, west, and south for every 90° in a clockwise direction on the screen of the mobile terminal, starting with any point on the screen;

determining any direction in four directions east, south, west, and north of a location of the mobile terminal, and determining another direction based on the determined direction, so that the directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and

displaying all the determined directions on the screen of the mobile terminal.

10. The method according to claim 9 , wherein before the displaying all the determined directions on the screen of the mobile terminal, the method further comprises:

when the screen of the mobile terminal is determined to be upward, respectively displaying the directions east, south, west, and north for every 90° in a clockwise direction on the screen of the mobile terminal, starting with any point on the screen; and

determining any direction in the four directions east, south, west, and north of the location of the mobile terminal, and determining another direction based on the determined direction, so that the directions for every 90° are respectively the east, the south, the west, and the north in a clockwise direction.

11. The method according to claim 9 , wherein the respectively displaying directions east, north, west, and south for every 90° in a clockwise direction on the screen of the mobile terminal, starting with any point on the screen specifically comprises:

respectively displaying the directions north, west, south, and east for every 90° in a clockwise direction, starting with a 12 o'clock location of the screen of the mobile terminal.

12. The method according to claim 9 , wherein the determining any direction in four directions east, south, west, and north of a location of the mobile terminal, and determining another direction based on the determined direction, so that the directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction is specifically:

determining a location of the north direction of the location of the mobile terminal, and respectively determining locations of the directions for every 90° in a clockwise direction to be the west, the south, and the east, starting with the location of the north direction.

13. The method according to claim 9 , wherein the determining any direction in four directions east, south, west, and north of a location of the mobile terminal is specifically:

determining, by using an acceleration sensor on the mobile terminal, any direction in the four directions east, south, west, and north of the location of the mobile terminal.

14. The method according to claim 9 , wherein the determining an orientation of a screen of the mobile terminal comprises: determining, by using the acceleration sensor on the mobile terminal, whether the screen of the mobile terminal is upward or downward.

15. An apparatus for indicating a direction, comprising a display, and further comprising:

a sensor, configured to determine any direction in directions east, south, west, and north of a location of the apparatus, and determine an orientation of the display; and

a processor, configured to determine another direction based on the determined any direction in the four directions east, south, west, and north of the location of the apparatus when the display is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and instruct the display to display all the determined directions.

16. The apparatus according to claim 15 , wherein:

the processor is further configured to determine another direction based on the determined any direction in the four directions east, south, west, and north of the location of the terminal when the display is determined to be upward, so that directions for every 90° are respectively the east, the south, the west, and the north in a clockwise direction.

17. The apparatus according to claim 16 , wherein the processor is specifically configured to:

determine a location of 90° clockwise rotation to be the east, determine a location of 180° clockwise rotation to be the south, and determine a location of 270° clockwise rotation to be the west based on a determined location of the north direction of the location of the terminal when a screen of the terminal is determined to be upward.

18. The apparatus according to claim 15 , wherein the processor is specifically configured to:

determine a location of 90° clockwise rotation to be the west, determine a location of 180° clockwise rotation to be the south, and determine a location of 270° clockwise rotation to be the east based on a determined location of the north direction of the location of the terminal when a screen of the terminal is determined to be downward.

19. An apparatus for indicating a direction, comprising a display, and further comprising:

a sensor, configured to determine any direction in directions east, south, west, and north of a location of the apparatus, and determine an orientation of the display; and

a processor, configured to: when the display is determined to be downward, instruct the display to respectively display directions east, north, west, and south for every 90° in a clockwise direction, starting with any point on the display; determine another direction based on the direction determined by using the sensor, so that the directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and instruct the display to display all the determined directions.

20. The apparatus according to claim 19 , wherein the processor is further configured to:

when a screen of the mobile terminal is determined to be upward, instruct the display to respectively display the directions east, south, west, and north for every 90° in a clockwise direction, starting with any point on the display; determine another direction based on the direction determined by using the sensor, so that the directions for every 90° are respectively the east, the south, the west, and the north in a clockwise direction; and instruct the display to display all the determined directions.

21. The apparatus according to claim 19 , wherein the respectively displaying directions east, north, west, and south for every 90° in a clockwise direction, starting with any point on the display specifically comprises:

respectively displaying the directions north, west, south, and east for every 90° in a clockwise direction, starting with a 12 o'clock location of the display.

22. The apparatus according to claim 19 , wherein the determining any direction in directions east, south, west, and north of a location of the apparatus is specifically: determining a location of the north direction of the location of the apparatus; and

the determining another direction based on the direction determined by using the sensor, so that the directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction is specifically: respectively determining locations of the directions for every 90° in a clockwise direction to be the west, the south, and the east, starting with the location of the north direction determined by using the sensor.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2020
From: SUN, RUI; ZHANG, TENG; PAN, YI; YANG, RENZHI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 052969/0921 →
Continuity (1)
Related Publication 20180356225A1 · Dec 13, 2018
Cited By (1)
US 12,287,200