IP Library Granted Patent US 11,212,652
Granted Patent B2
US 11,212,652 · App. 16/640,851 · Granted Dec 28, 2021

Positioning method and apparatus

Inventors: Qing Huang (Beijing, CN); Zeling Qiu (Beijing, CN)
Assignee: HONOR DEVICE CO., LTD.
H04W4/33G01S5/02521G01S19/48H04W4/02
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 11,212,652
App. No.
16/640,851
Granted
Dec 28, 2021
Kind
B2
Abstract

A positioning method and apparatus include obtaining, by a terminal, an outdoor positioning result using an outdoor positioning service, attempting, by the terminal when information about a satellite that provides the outdoor positioning service meets a preset condition, to obtain an indoor positioning result using an indoor positioning service, where the preset condition indicates that the terminal has an indoor positioning requirement, and switching, by the terminal, from the outdoor positioning service to the indoor positioning service when the indoor positioning result is successfully obtained.

Claims (63)

1. A positioning method implemented by a terminal, comprising:

obtaining an outdoor positioning result from an outdoor positioning service;

attempting to obtain an indoor positioning result from an indoor positioning service when satellite information about a satellite that provides the outdoor positioning service meets a preset condition, wherein the preset condition indicates that the terminal has an indoor positioning requirement, wherein satellite information comprises a quantity of satellites that provide a positioning service, wherein a target satellite among the satellites that provide the positioning service for the terminal sends a satellite signal with a signal-to-noise ratio greater than a preset value;

switching from the outdoor positioning service to the indoor positioning service when the indoor positioning result is successfully obtained;

attempting to again obtain the indoor positioning result; and

after switching from the outdoor positioning service to the indoor positioning service, switching from the indoor positioning service to the outdoor positioning service in response to two consecutive failed attempts to obtain the indoor positioning result.

2. The positioning method of claim 1 , further comprising:

determining a distance between the terminal and a candidate building in a target area, wherein the target area is a preset area to which the outdoor positioning result belongs;

setting the candidate building as a target building when the distance is less than a preset value; and

enabling the indoor positioning service for obtaining the indoor positioning result in the target building.

3. The positioning method of claim 1 , further comprising:

successfully obtaining the indoor positioning result; and

stopping providing the outdoor positioning service.

4. The positioning method of claim 1 , wherein after attempting to obtain the indoor positioning result, the positioning method further comprises:

identifying that the indoor positioning result is not obtained; and

continuing to obtain the outdoor positioning result using the outdoor positioning service.

5. The positioning method of claim 1 , further comprising:

determining a distance between the terminal and a target location, wherein the target location is a destination to which the terminal moves during a current positioning period; and

adjusting a length of the current positioning period based on the distance.

6. The positioning method of claim 5 , wherein a value of the current positioning period increases when the distance increases.

7. The positioning method of claim 5 , wherein before determining the distance between the terminal and a target location, the method further comprises using, from among preset candidate locations, a preset candidate location closest to the terminal as the target location.

8. The positioning method of claim 1 , further comprising:

receiving a target radio signal, wherein the target radio signal meets a preset indoor positioning condition;

extracting a signal feature parameter from the target radio signal; and

sending the signal feature parameter to a location server to enable the location server to determine the indoor positioning result based on the signal feature parameter.

9. The positioning method of claim 8 , wherein after extracting the signal feature parameter, the positioning method further comprises:

determining differences among signal feature parameters in target radio signals obtained at a location in a preset time period and a preset location fingerprint at the location, wherein the preset location fingerprint indicates distribution of a WI-FI signal recorded at the location in a preset WI-FI fingerprint database; and

updating the preset location fingerprint at the location based on the differences.

10. The positioning method of claim 1 , further comprising:

determining a navigation route;

determining, based on the navigation route, a trigger location for attempting to obtain an outdoor positioning result from an outdoor positioning service; and

determining, based on the navigation route, a trigger location for attempting to obtain an indoor positioning result from an indoor positioning service.

11. A terminal, comprising:

a receiver configured to obtain an outdoor positioning result from an outdoor positioning service; and

a processor coupled to the receiver, and configured to determine whether satellite information about a satellite that provides the outdoor positioning service meets a preset condition, wherein the preset condition indicates that the terminal has an indoor positioning requirement, wherein satellite information comprises a quantity of target satellites that provide a positioning service, wherein a target satellite among the satellites that provide a positioning service sends a satellite signal with a signal-to-noise ratio greater than a preset value, and

wherein the processor is further configured to attempt to obtain an indoor positioning result using an indoor positioning service when the information about the satellite that provides the outdoor positioning service meets the preset condition;

switch from the outdoor positioning service to the indoor positioning service when the indoor positioning result is successfully obtained;

identify that the terminal fails to obtain the indoor positioning result for one or more attempts; and

after switching from the outdoor positioning service to the indoor positioning service, switch from the indoor positioning service to the outdoor positioning service in response to two consecutive failed attempts to obtain the indoor positioning result.

12. The terminal of claim 11 , wherein the processor is further configured to:

determine a distance between the terminal and a candidate building in a target area, wherein the target area is a preset area to which the outdoor positioning result belongs;

set the candidate building as a target building when the distance is less than a preset value; and

enable the indoor positioning service to attempt to obtain the indoor positioning result in the target building.

13. The terminal of claim 11 , wherein the processor is further configured to stop providing the outdoor positioning service.

14. The terminal of claim 11 , wherein the processor is further configured to:

identify that the indoor positioning result is not obtained; and

continue to obtain the outdoor positioning result using the outdoor positioning service.

15. The terminal of claim 11 , wherein the processor is further configured to:

determine a distance between the terminal and a target location, wherein the target location is a destination to which the terminal moves during a current positioning period; and

adjust a length of the current positioning period based on the distance.

16. The terminal of claim 15 , wherein a value of the current positioning period increases when the distance increases.

17. The terminal of claim 15 , wherein the processor is further configured to use, from among preset candidate locations, a preset candidate location closest to the terminal as the target location.

18. The terminal of claim 11 , wherein the terminal is further configured to:

receive a target radio signal, wherein the target radio signal meets a preset indoor positioning condition;

extract a signal feature parameter from the target radio signal; and

send the signal feature parameter to a location server to enable the location server to determine the indoor positioning result based on the signal feature parameter.

19. The terminal of claim 18 , wherein the processor is further configured to:

determine differences among signal feature parameters in target radio signals obtained at a location in a preset time period and a preset location fingerprint at the location, wherein the preset location fingerprint indicates distribution of a WI-FI signal recorded at the location in a preset WI-FI fingerprint database; and

update the preset location fingerprint at the location based on the differences.

20. The terminal of claim 11 , wherein the processor is further configured to:

determine a navigation route;

determine, based on the navigation route, a trigger location for attempting to obtain an outdoor positioning result from an outdoor positioning service; and

determine, based on the navigation route, a trigger location for attempting to obtain an indoor positioning result from an indoor positioning service.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 055919/0344 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 19, 2020
From: HUANG, QING; QIU, ZELING
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 052163/0959 →