Location processing method and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsYixiang Qiao, Xuan Zhou, Qiang Xu, Jie Xu, Jiayu Long, Siju Wu, Mingjie Dong
Life of this patent
Estimating the term…
Abstract
A location processing method implemented by a first terminal includes: obtaining a first operation for a phone number of a second terminal using a first display interface, where the first display interface is a communication interface between the first terminal and the second terminal; sending a first request to the second terminal to request to obtain a location of the second terminal; and when the second terminal authorizes the first terminal to access the location of the second terminal, obtaining the location of the second terminal and displaying the location of the second terminal.
Claims20
A method implemented by a first terminal, the method comprising:
- obtaining, using a first display interface, a first operation for a phone number of a second terminal, wherein the first display interface is a communication interface between the first terminal and the second terminal;
- obtaining a first operation instruction corresponding to the first operation;
- sending, to the second terminal in response to the first operation instruction, a first request to obtain a location of the second terminal;
- obtaining the location of the second terminal in response to the first request, wherein the location of the second terminal is based on a long-distance wireless positioning technology when a distance between the first terminal and the second terminal is greater than a distance threshold, wherein the location of the second terminal is based on a short-distance wireless communication technology relative to the first terminal when the distance between the first terminal and the second terminal is less than the distance threshold, and wherein the distance threshold is a communication range of the short-distance wireless communication technology;
- and
- displaying the location of the second terminal, wherein displaying the location of the second terminal comprises:
- displaying absolute locations of the first terminal and the second terminal on a map when the location of the second terminal is obtained based on the long-distance wireless positioning technology;
- and
- displaying the location of the second terminal relative to the first terminal when the location of the second terminal is obtained based on the short-distance wireless communication technology.
A method implemented by a second terminal, the method comprising:
- receiving, using a first display interface, a first request from a first terminal, wherein the first request is associated with a first phone number of the second terminal, wherein the first display interface is a communication interface between the first terminal and the second terminal, and wherein the first request requests a location of the second terminal;
- and
- obtaining the location of the second terminal in response to the first request, wherein obtaining the location of the second terminal comprises:
- obtaining the location of the second terminal based on a long-distance wireless positioning technology when a distance between the first terminal and the second terminal is greater than a distance threshold;
- obtaining the location of the second terminal relative to the first terminal based on a short-distance wireless communication technology by establishing a direct short-distance wireless communication connection with the first terminal when the distance between the first terminal and the second terminal is less than the distance threshold, wherein the distance threshold is a communication range of the short-distance wireless communication technology;
- and
- sending the location of the second terminal to the first terminal when authorizing the first terminal to access the location of the second terminal.
A first terminal comprising memory configured to store instructions;
- and a processor coupled to the memory and configured to execute the instructions to cause the first terminal to:
- obtain, using a first display interface, a first operation for a phone number of a second terminal, wherein the first display interface is a communication interface between the first terminal and the second terminal;
- obtain a first operation instruction corresponding to the first operation;
- send, to the second terminal based on the first operation instruction, a first request requesting location sharing with the second terminal;
- receive, from the second terminal, a location of the second terminal in response to the first request, wherein the location of the second terminal is based on a long-distance wireless positioning technology when a distance between the first terminal and the second terminal is greater than a distance threshold, wherein the location of the second terminal is based on a short-distance wireless communication technology relative to the first terminal when the distance between the first terminal and the second terminal is less than the distance threshold, and wherein the distance threshold is a communication range of the short-distance wireless communication technology;
- and
- display the location of the second terminal, wherein displaying the location of the second terminal comprises:
- displaying absolute locations of the first terminal and the second terminal on a map when the location of the second terminal is obtained based on the long-distance wireless positioning technology;
- and
- displaying the location of the second terminal relative to the first terminal when the location of the second terminal is obtained based on the short-distance wireless communication technology.
Dependencies are inferred from the claim text.