Device searching method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsYanshan He, Qiang Xu, Xuan Zhou
Life of this patent
Estimating the term…
Abstract
A device searching method includes a first device that obtains a relative location between a second device and the first device is based on location information of the first device and the location information of the second device; if it is determined, based on the relative location, that the second device is not within a shooting range of the first device, the first device indicates to move the first device toward the second device until the second device is within the shooting range of the first device; and the first device highlights the area in which the second device is located in the shooting range of the first device.
Claims21
A device searching method implemented by a first device, wherein the device searching method comprises:
- obtaining first location information of a second device;
- obtaining second location information of the first device;
- obtaining a relative location between the second device and the first device based on the second location information and the first location information;
- determining, based on the relative location, whether the second device is within a shooting range of the first device;
- indicating, when the second device is not within the shooting range, to move the first device toward the second device until the second device is within the shooting range;
- determining an area on a display interface of first device in which the second device is located;
- and
- highlighting the area on the display interface.
A first device, comprising:
- a camera;
- a display;
- a transceiver configured to obtain first location information of a second device;
- and
- a processor coupled to the camera, the display, and the transceiver and configured to:
- obtain second location information of the first device;
- obtain a relative location between the second device and the first device based on the second location information and the first location information;
- determine, based on the relative location, whether the second device is within a shooting range of the camera;
- indicate, when the second device is not within the shooting range, to move the first device toward the second device until the second device is within the shooting range;
- determine an area on the display in which the second device is located;
- and
- highlight the area on the display.
A first device, comprising:
- a display;
- a memory configured to store instructions comprising code for a graphical user interface (GUI) of an application;
- and
- one or more processors coupled to the display and the memory and configured to execute the instructions to cause the first device to:
- display, using the display and in the GUI, information about a to-be-searched second device;
- obtain first location information of the to-be-searched second device;
- obtain second location information of the first device;
- obtain a relative location between the to-be-searched second device and the first device based on the second location information and the first location information;
- determine, in response to an operation on the to-be-searched second device and based on the relative location, whether the to-be-searched second device is within a shooting range of the first device;
- display, using the display and in the GUI and when the to-be-searched second device is not within the shooting range, prompting information indicating to move the first device toward the to-be-searched second device until the to-be-searched second device is within the shooting range;
- and
- highlight, using the display and in the GUI, an area in which the to-be-searched second device is located.
A non-transitory computer-readable storage medium comprising a program, that when executed by one or more processors, causes a first device to:
- obtain first location information of a second device;
- obtain a relative location between the second device and the first device based on second location information of the first device and the first location information;
- determine, based on the relative location, whether the second device is within a shooting range of the first device;
- indicate, when the first device determines that the second device is not within the shooting range, to move the first device toward the second device until the second device is within the shooting range;
- determining an area of a display interface of first device in which the second device is located;
- and
- highlight the area on the display interface.
Dependencies are inferred from the claim text.