CN112840227A - Positioning method and device - Google Patents

Positioning method and device Download PDF

Info

Publication number
CN112840227A
CN112840227A CN201880098068.4A CN201880098068A CN112840227A CN 112840227 A CN112840227 A CN 112840227A CN 201880098068 A CN201880098068 A CN 201880098068A CN 112840227 A CN112840227 A CN 112840227A
Authority
CN
China
Prior art keywords
positioning
mode
frequency
display
indication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201880098068.4A
Other languages
Chinese (zh)
Inventor
余尚春
王伟刚
陈杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112840227A publication Critical patent/CN112840227A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A positioning method and a positioning device relate to the field of terminals, and are applied to the positioning process of a terminal, so that the power consumption of the terminal can be reduced in the positioning process. The positioning method comprises the following steps: the first device determines a first distance between the first device and the second device; when the first distance is greater than or equal to a first threshold value, the first equipment sends first indication information to the second equipment, wherein the first indication information is used for indicating the second equipment to adopt a first positioning mode; when the first distance is smaller than a second threshold value, the first equipment sends second indication information to the second equipment, wherein the second indication information is used for indicating the second equipment to adopt a second positioning mode; and the second threshold is less than or equal to the first threshold, and the positioning precision of the first positioning mode is less than that of the second positioning mode.

Description

Positioning method and device
The present application claims priority from the chinese patent application filed on 17.10.2018 under the name of "a method and apparatus for positioning" with the chinese patent office, application No. 201811210028.2, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of terminals, and in particular, to a positioning method and apparatus.
Background
Mobile smart hardware (hereinafter referred to as a terminal) such as a smart band, a smart watch, a pet tracker, a luggage tracker, and a mobile phone generally has a position locating function. Generally, in order to accurately position the terminal, a high-precision positioning method may be used to position the terminal multiple times.
However, in the case of finding back a pet, getting a person, tracking a moving object, etc., it is necessary to approach the object accurately and to avoid as much as possible the terminal on the object from being powered off due to the power consumption. In this case, frequent positioning of the terminal by using a high-precision positioning method may increase power consumption of the terminal, and the terminal may be automatically turned off quickly.
Disclosure of Invention
The embodiment of the application provides a positioning method and device, which can reduce the electric quantity consumption of a terminal in the positioning process.
In a first aspect, an embodiment of the present application provides a positioning method, including: the first device determines a first distance between the first device and the second device; when the first distance is greater than or equal to a first threshold value, the first equipment sends first indication information to the second equipment, wherein the first indication information is used for indicating the second equipment to adopt a first positioning mode; when the first distance is smaller than a second threshold value, the first equipment sends second indication information to the second equipment, wherein the second indication information is used for indicating the second equipment to adopt a second positioning mode; and the second threshold is less than or equal to the first threshold, and the positioning precision of the first positioning mode is less than that of the second positioning mode. That is, when the first distance between the first device and the second device is large (greater than or equal to the first threshold), the second device may adopt a positioning manner with lower accuracy (the first positioning manner); when the first distance between the first device and the second device is small (smaller than the second threshold, and the second threshold is smaller than the first threshold), the second device may adopt a positioning manner with higher precision (second positioning manner). Therefore, the second terminal equipment can be prevented from always adopting a high-precision positioning mode, the power consumption of the terminal can be reduced in the positioning process, and the possibility of shutdown of the terminal is reduced.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode. That is, the positioning frequency of the first positioning mode may be greater than, less than or equal to the positioning frequency of the second positioning mode. That is, when a positioning manner with lower accuracy is adopted, a lower positioning frequency may be adopted, and a higher positioning frequency may also be adopted; when a high-precision positioning mode is adopted, a low positioning frequency can be adopted, and a high positioning frequency can also be adopted, and the method is not limited in the application.
In one possible implementation, the positioning frequency of the first positioning manner is smaller than the positioning frequency of the second positioning manner. When a positioning mode with lower precision is adopted, lower positioning frequency is adopted, so that the power consumption of the terminal can be further saved, and the possibility of shutdown of the terminal is reduced. When a high-precision positioning mode is adopted, high positioning frequency is adopted, and the position of the terminal can be positioned more accurately.
In one possible implementation, the method further includes: the method comprises the steps that first equipment receives first positioning information obtained by second equipment in a first positioning mode, wherein the first positioning information is used for indicating a first position of the second equipment; the first device displays a first position of the second device in a first display mode based on the first positioning information; or the first device receives second positioning information obtained by the second device in a second positioning mode, wherein the second positioning information is used for indicating a second position of the second device; the first device displays a second position of the second device in a second display mode based on the second positioning information; and the display precision of the first display mode is smaller than that of the second display mode. The first display mode may be a lower-precision display mode. For example, a geometric figure (e.g., a circle) may be used to represent the first position of the second device within 100m of error. The second display mode may be a higher precision display mode. For example, a first position of the second device may be represented by a point, with an error range of the first position of the second device being within 5 m.
In a possible implementation manner, after the first device displays the position of the second device in the first display manner, the method further includes: and receiving a first operation of the user on the position of the second equipment, and responding to the first operation to display the position of the second equipment in a second display mode. Therefore, when the display precision of the first display mode is not satisfied by a user, the first operation can be performed, so that the first device displays the position of the second device in the second display mode, the display precision of the second display mode is greater than that of the first display mode, and the user experience is improved.
In one possible implementation, the method further includes: if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, the first device sends third indication information to the second device, wherein the third indication information is used for indicating the second device to adopt a third positioning mode; the positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning precision of the third positioning mode is the same as that of the second positioning mode, and the positioning frequency of the third positioning mode is less than that of the second positioning mode.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity (Wifi) positioning, bluetooth positioning and sensor inertial positioning.
In a second aspect, an embodiment of the present application provides a positioning method, including: if the second equipment receives the first indication information sent by the first equipment; the first indication information is used for indicating the second equipment to adopt a first positioning mode; the second equipment adopts a first positioning mode and sends first positioning information obtained by adopting the first positioning mode to the first equipment; the first positioning information is used for indicating a first position of the second device; if the second equipment receives second indication information sent by the first equipment; the second indication information is used for indicating the second equipment to adopt a second positioning mode; the second equipment adopts a second positioning mode and sends second positioning information obtained by adopting the second positioning mode to the first equipment; wherein the second positioning information is used for indicating a second position of the second device; and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning manner is smaller than the positioning frequency of the second positioning manner.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity Wi-Fi positioning, Bluetooth positioning and sensor inertial positioning.
In a third aspect, an embodiment of the present application provides a first device, including: a determining unit for determining a first distance between a first device and a second device; the first distance determining unit is used for determining a first distance between the first device and the second device according to the first positioning mode; the sending unit is further configured to send second indication information to the second device when the first distance is smaller than a second threshold, where the second indication information is used to indicate that the second device adopts a second positioning mode; and the second threshold is less than or equal to the first threshold, and the positioning precision of the first positioning mode is less than that of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning manner is smaller than the positioning frequency of the second positioning manner.
In a possible implementation manner, the method further includes a receiving unit, configured to: receiving first positioning information obtained by the second equipment in a first positioning mode, wherein the first positioning information is used for indicating a first position of the second equipment; the display unit is used for displaying a first position of the second equipment in a first display mode based on the first positioning information; or, the receiving unit is configured to receive second positioning information obtained by the second device in a second positioning manner, where the second positioning information is used to indicate a second position of the second device; the display unit is used for displaying a second position of the second equipment in a second display mode based on the second positioning information; and the display precision of the first display mode is smaller than that of the second display mode.
In one possible implementation, the receiving unit is further configured to: receiving a first operation of a user on the position of a second device; the display unit is further configured to: and responding to the first operation, and displaying the position of the second equipment in a second display mode.
In a possible implementation manner, the sending unit is further configured to: if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, sending third indication information to the second device, wherein the third indication information is used for indicating the second device to adopt a third positioning mode; the positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning precision of the third positioning mode is the same as that of the second positioning mode, and the positioning frequency of the third positioning mode is less than that of the second positioning mode.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity (Wifi) positioning, Bluetooth positioning and sensor inertial positioning.
In a fourth aspect, an embodiment of the present application provides a second device, including: the positioning unit is used for receiving first indication information sent by the first equipment through the receiving unit; the first indication information is used for indicating the second equipment to adopt a first positioning mode; sending first positioning information obtained by adopting the first positioning mode to first equipment through a sending unit by adopting the first positioning mode; the first positioning information is used for indicating a first position of the second device; the positioning unit is also used for receiving second indication information sent by the first equipment through the receiving unit; the second indication information is used for indicating the second equipment to adopt a second positioning mode; a second positioning mode is adopted, and second positioning information obtained by adopting the second positioning mode is sent to the first equipment through the sending unit; wherein the second positioning information is used for indicating a second position of the second device; and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is smaller than the positioning frequency of the second positioning mode.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity Wi-Fi positioning, Bluetooth positioning and sensor inertial positioning.
In a fifth aspect, an embodiment of the present application provides a first device, including: a processor to determine a first distance between a first device and a second device; the transceiver is used for sending first indication information to the second equipment when the first distance is greater than or equal to a first threshold value, wherein the first indication information is used for indicating the second equipment to adopt a first positioning mode; the transceiver is further configured to send second indication information to the second device when the first distance is smaller than a second threshold, where the second indication information is used to indicate that the second device adopts a second positioning mode; and the second threshold is less than or equal to the first threshold, and the positioning precision of the first positioning mode is less than that of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning manner is smaller than the positioning frequency of the second positioning manner.
In one possible implementation, the method further includes a transceiver configured to: receiving first positioning information obtained by the second equipment in a first positioning mode, wherein the first positioning information is used for indicating a first position of the second equipment; the display unit is used for displaying a first position of the second equipment in a first display mode based on the first positioning information; or, the transceiver is configured to receive second positioning information obtained by the second device in a second positioning manner, where the second positioning information is used to indicate a second position of the second device; the display unit is used for displaying a second position of the second equipment in a second display mode based on the second positioning information; and the display precision of the first display mode is smaller than that of the second display mode.
In one possible implementation, the transceiver is further configured to: receiving a first operation of a user on the position of a second device; the display unit is further configured to: and responding to the first operation, and displaying the position of the second equipment in a second display mode.
In one possible implementation, the transceiver is further configured to: if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, sending third indication information to the second device, wherein the third indication information is used for indicating the second device to adopt a third positioning mode; the positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning precision of the third positioning mode is the same as that of the second positioning mode, and the positioning frequency of the third positioning mode is less than that of the second positioning mode.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity (Wifi) positioning, Bluetooth positioning and sensor inertial positioning.
In a sixth aspect, an embodiment of the present application provides a second device, including: the processor is used for receiving first indication information sent by the first equipment through the transceiver; the first indication information is used for indicating the second equipment to adopt a first positioning mode; sending first positioning information obtained by adopting the first positioning mode to first equipment through a transceiver by adopting the first positioning mode; the first positioning information is used for indicating a first position of the second device; the processor is further used for receiving second indication information sent by the first equipment through the transceiver; the second indication information is used for indicating the second equipment to adopt a second positioning mode; sending second positioning information obtained by adopting a second positioning mode to the first equipment through the transceiver by adopting the second positioning mode; wherein the second positioning information is used for indicating a second position of the second device; and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode.
In one possible implementation, the positioning frequency of the first positioning manner is smaller than the positioning frequency of the second positioning manner.
In one possible implementation, the first positioning mode includes at least one of base station positioning and internet protocol IP address positioning; the second positioning mode comprises at least one of satellite positioning, wireless fidelity Wi-Fi positioning, Bluetooth positioning and sensor inertial positioning.
In a seventh aspect, an embodiment of the present invention provides an apparatus, which exists in the form of a chip product, and the apparatus includes a processor and a memory, where the memory is configured to be coupled to the processor and store necessary program instructions and data of the apparatus, and the processor is configured to execute the program instructions stored in the memory, so that the apparatus performs the functions of the first device or the second device in the method.
In an eighth aspect, an embodiment of the present invention provides a first device or a second device, where the first device or the second device may implement a function performed by the first device or the second device in the foregoing method embodiment, where the function may be implemented by hardware, or may be implemented by hardware to execute corresponding software. The hardware or software comprises one or more modules corresponding to the functions.
In one possible design, the first device or the second device includes a processor and a communication interface, and the processor is configured to support the first device or the second device to perform the corresponding functions of the method. The communication interface is used for supporting communication between the first device or the second device and other network elements. The first device or the second device may also include a memory for coupling with the processor that retains program instructions and data necessary for the first device or the second device.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform any one of the methods provided in the first aspect or the second aspect.
In a tenth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, cause the computer to perform any one of the methods provided in the first aspect or the second aspect.
In an eleventh aspect, an embodiment of the present invention provides a positioning system, where the positioning system includes the first device described in any possible implementation manner of the third aspect or the fifth aspect, and the second device described in any possible implementation manner of the fourth aspect or the sixth aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system architecture suitable for a positioning method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a first apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a second apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic signal interaction diagram of a positioning method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a display interface provided in an embodiment of the present application;
FIG. 6 is a schematic view of another display interface provided in the embodiments of the present application;
FIG. 7 is a schematic diagram of yet another display interface provided in an embodiment of the present application;
FIG. 8 is a schematic view of yet another display interface provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a set of display interfaces provided by an embodiment of the present application;
FIG. 10 is a schematic illustration of yet another display interface provided in an embodiment of the present application;
FIG. 11 is a schematic view of yet another display interface provided in an embodiment of the present application;
FIG. 11a is a schematic diagram of another set of display interfaces provided in the embodiments of the present application;
FIG. 11b is a schematic view of another set of display interfaces provided in the embodiments of the present application;
FIG. 11c is a schematic view of another display interface provided in the embodiment of the present application;
FIG. 12 is a schematic view of yet another display interface provided in an embodiment of the present application;
FIG. 13 is a schematic illustration of yet another set of display interfaces provided by an embodiment of the present application;
fig. 14 is a schematic structural diagram of yet another first apparatus provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of another second apparatus provided in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a positioning method, which is applied to a positioning system consisting of first equipment and second equipment. For example, in a positioning system consisting of a mobile phone and a (paired) wearable device (e.g. a smart watch). The first device and the second device may communicate with each other via a New radio access technology (New RAT), Long Term Evolution (LTE), Bluetooth (BT), Wifi, or other protocol.
As shown in fig. 1, a schematic architecture of a communication system suitable for a positioning method provided in an embodiment of the present application includes a first device (e.g., a mobile phone 10a), a second device (e.g., a smart watch 10b), and a network device (e.g., a cloud server 11). The cloud server 11 may be a server corresponding to a positioning Application (APP) installed on the mobile phone 10a and the smart watch 10b, or may be a server corresponding to a positioning program integrated in another APP, which is not limited in this application. The first device may adjust (the positioning accuracy and/or the positioning frequency of) the positioning mode of the second device through the cloud server 11, and receive positioning information obtained by the second device according to the corresponding positioning mode, where the positioning information is used to indicate the position of the second device.
The first device and the cloud server 11, and the second device and the cloud server 11 may communicate with each other in a wireless communication manner, for example, in a wireless access network device (e.g., a base station), or may communicate with each other in a wired communication manner. In an LTE network, the base station may be an evolved node base station (eNB). In a fifth Generation mobile communication technology (5-Generation, 5G) network, a base station may be a next Generation base station (gNB), a new radio base station (new radio eNB), a macro base station, a micro base station, a high frequency base station, or a Transmission and Reception Point (TRP), etc. Wired communication may be, for example, communication via overhead lines and cable works (including overhead, underground, submarine cables, optical cables, etc.) as communication conductors.
The first device provided in this embodiment of the present application may be a User Equipment (UE), and for example, may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a Personal Digital Assistant (PDA), and other devices. The second device may be various wearable electronic devices or IoT devices or UEs, for example, may be a smart watch, a smart collar, smart glasses, a smart glove, a smart apparel, a smart shoe, or a vehicle terminal, among others.
As shown in fig. 2, the first terminal in the communication system architecture may be specifically a mobile phone 100. The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a radio frequency module 150, a communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a SIM card interface 195, and the like. The sensor module may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor, and the like.
The structure illustrated in the embodiment of the present invention is not limited to the mobile phone 100. It may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a Neural-Network Processing Unit (NPU), etc. The different processing units may be independent devices or may be integrated in the same processor.
The controller may be a decision maker directing the various components of the handset 100 to work in concert as instructed. Is the neural center and command center of the handset 100. The controller generates an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. Instructions or data that have just been used or recycled by the processor may be saved. If the processor needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses and reducing the latency of the processor, thereby increasing the efficiency of the system.
In some embodiments, the processor 110 may include an interface. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, the processor may include multiple sets of I2C buses. The processor may be coupled to the touch sensor, charger, flash, camera, etc. via different I2C bus interfaces. For example: the processor may be coupled to the touch sensor via an I2C interface, such that the processor and the touch sensor communicate via an I2C bus interface to implement the touch functionality of the cell phone 100.
The I2S interface may be used for audio communication. In some embodiments, the processor may include multiple sets of I2S buses. The processor may be coupled to the audio module via an I2S bus to enable communication between the processor and the audio module. In some embodiments, the audio module can transmit audio signals to the communication module through the I2S interface, so as to realize the function of answering the call through the bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module and the communication module may be coupled by a PCM bus interface. In some embodiments, the audio module may also transmit the audio signal to the communication module through the PCM interface, so as to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication, with different sampling rates for the two interfaces.
The UART interface is a universal serial data bus used for asynchronous communications. The bus is a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor with the communication module 160. For example: the processor communicates with the Bluetooth module through the UART interface to realize the Bluetooth function. In some embodiments, the audio module may transmit the audio signal to the communication module through the UART interface, so as to realize the function of playing music through the bluetooth headset.
The MIPI interface can be used to connect a processor with peripheral devices such as a display screen and a camera. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, the processor and the camera communicate through a CSI interface to implement the camera function of the handset 100. The processor and the display screen communicate through a DSI interface to implement the display function of the mobile phone 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor with a camera, display screen, communication module, audio module, sensor, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface may be used to connect a charger to charge the mobile phone 100, or may be used to transmit data between the mobile phone 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. But may also be used to connect other electronic devices such as AR devices, etc.
The interface connection relationship between the modules in the embodiment of the present invention is only schematically illustrated, and does not limit the structure of the mobile phone 100. The mobile phone 100 may adopt different interface connection modes or a combination of multiple interface connection modes in the embodiment of the present invention.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module may receive charging input from a wired charger via a USB interface. In some wireless charging embodiments, the charging management module may receive a wireless charging input through a wireless charging coil of the cell phone 100. The charging management module can also supply power to the terminal device through the power management module 141 while charging the battery.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module receives the input of the battery and/or the charging management module and supplies power to the processor, the internal memory, the external memory, the display screen, the camera, the communication module and the like. The power management module may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some embodiments, the power management module 141 may also be disposed in the processor 110. In some embodiments, the power management module 141 and the charging management module may also be disposed in the same device.
The wireless communication function of the mobile phone 100 can be implemented by the antenna module 1, the antenna module 2, the rf module 150, the communication module 160, a modem, and a baseband processor.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the cellular network antenna may be multiplexed into a wireless local area network diversity antenna. In some embodiments, the antenna may be used in conjunction with a tuning switch.
The rf module 150 may provide a communication processing module including a solution of wireless communication such as 2G/3G/4G/5G applied to the mobile phone 100. May include at least one filter, switch, power Amplifier, Low Noise Amplifier (LNA), etc. The radio frequency module receives electromagnetic waves through the antenna 1, and processes the received electromagnetic waves such as filtering, amplification and the like, and transmits the electromagnetic waves to the modem for demodulation. The radio frequency module can also amplify the signal modulated by the modem, and the signal is converted into electromagnetic wave by the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the rf module 150 may be disposed in the processor 150. In some embodiments, at least some functional modules of the rf module 150 may be disposed in the same device as at least some modules of the processor 110.
The modem may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker, a receiver, etc.) or displays an image or video through a display screen. In some embodiments, the modem may be a stand-alone device. In some embodiments, the modem may be separate from the processor, in the same device as the rf module or other functional module.
The communication module 160 may provide a communication processing module including a solution for wireless communication, such as Wireless Local Area Network (WLAN) (e.g., WiFi), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like, which is applied to the mobile phone 100. The communication module 160 may be one or more devices integrating at least one communication processing module. The communication module receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor. The communication module 160 may also receive a signal to be transmitted from the processor, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the handset 100 is coupled to the radio frequency module and the antenna 2 is coupled to the communication module. So that the handset 100 can communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), LTE, 5G New wireless communication (New Radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, and the like. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS). Thus, the cellular phone 100 can acquire positioning (position) information of the cellular phone.
The mobile phone 100 implements the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing and is connected with a display screen and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a miniature, a Micro led, a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the handset 100 may include 1 or N display screens, with N being a positive integer greater than 1.
As also shown in fig. 1, the cell phone 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen, an application processor, and the like.
The ISP is used for processing data fed back by the camera. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the handset 100 may include 1 or N cameras, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the handset 100 is in frequency bin selection, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. Handset 100 may support one or more codecs. Thus, the handset 100 can play or record video in a variety of encoding formats, such as: MPEG1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent recognition of the mobile phone 100, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 100. The external memory card communicates with the processor through the external memory interface to realize the data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the cellular phone 100 and data processing by executing instructions stored in the internal memory 121. The memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, a phonebook, etc.) created during use of the handset 100, and the like. Further, the memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash memory (UFS), and the like.
The mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module is used for converting digital audio information into analog audio signals to be output and converting the analog audio input into digital audio signals. The audio module may also be used to encode and decode audio signals. In some embodiments, the audio module may be disposed in the processor 110, or some functional modules of the audio module may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The cellular phone 100 can listen to music through a speaker or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the handset 100 receives a call or voice information, it can receive voice by placing the receiver close to the ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, a user can input a voice signal into the microphone by making a sound by approaching the microphone through the mouth of the user. The handset 100 may be provided with at least one microphone. In some embodiments, the handset 100 may be provided with two microphones to achieve a noise reduction function in addition to collecting sound signals. In some embodiments, the mobile phone 100 may further include three, four or more microphones to collect sound signals and reduce noise, and may further identify sound sources and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The earphone interface may be a USB interface, or may be an open mobile platform (OMTP) standard interface of 3.5mm, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor may be disposed on the display screen. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The handset 100 determines the intensity of the pressure from the change in capacitance. When a touch operation is applied to the display screen, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor. The cellular phone 100 can also calculate the touched position based on the detection signal of the pressure sensor. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the cellular phone 100. In some embodiments, the angular velocity of the handset 100 about three axes (i.e., the x, y, and z axes) may be determined by a gyroscope sensor. The gyro sensor may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyroscope sensor detects the shake angle of the mobile phone 100, and calculates the distance to be compensated for the lens module according to the shake angle, so that the lens can counteract the shake of the mobile phone 100 through reverse movement, thereby achieving anti-shake. The gyroscope sensor can also be used for navigation and body feeling game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the handset 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by a barometric pressure sensor.
The magnetic sensor 180D includes a hall sensor. The handset 100 may detect the opening and closing of the flip holster using a magnetic sensor. In some embodiments, when the handset 100 is a flip phone, the handset 100 may detect the opening and closing of the flip based on the magnetic sensor. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E can detect the magnitude of acceleration of the cellular phone 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the handset 100 is stationary. The method can also be used for recognizing the terminal gesture, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The handset 100 may measure distance by infrared or laser. In some embodiments, the scene is photographed and the cell phone 100 may utilize a range sensor to measure the distance to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. Infrared light is emitted outward through the light emitting diode. Infrared reflected light from nearby objects is detected using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the cell phone 100. When insufficient reflected light is detected, it can be determined that there is no object near the cellular phone 100. The mobile phone 100 can detect that the user holds the mobile phone 100 close to the ear by using the proximity light sensor, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor can also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The mobile phone 100 may adaptively adjust the display screen brightness according to the perceived ambient light level. The ambient light sensor can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor may also cooperate with the proximity light sensor to detect whether the cell phone 100 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 180H is used to collect a fingerprint. The mobile phone 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a photograph of the fingerprint, answer an incoming call with the fingerprint, and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the handset 100 implements a temperature processing strategy using the temperature detected by the temperature sensor. For example, when the temperature reported by the temperature sensor exceeds the threshold, the mobile phone 100 performs a reduction in the performance of the processor located near the temperature sensor, so as to reduce power consumption and implement thermal protection.
The touch sensor 180K is also referred to as a "touch panel". Can be arranged on the display screen. For detecting a touch operation acting thereon or thereabout. The detected touch operation may be passed to an application processor to determine the touch event type and provide a corresponding visual output via the display screen.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor may acquire a vibration signal of a human voice vibrating a bone mass. The bone conduction sensor can also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor may also be disposed in the earpiece. The audio module 170 may analyze a voice signal based on the vibration signal of the bone block vibrated by the sound part obtained by the bone conduction sensor, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signals acquired by the bone conduction sensor, and a heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, and the like. The keys may be mechanical keys. Or may be touch keys. The cellular phone 100 receives a key input, and generates a key signal input related to user setting and function control of the cellular phone 100.
The motor 191 may generate a vibration cue. The motor can be used for incoming call vibration prompt and can also be used for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The touch operation on different areas of the display screen can also correspond to different vibration feedback effects. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a Subscriber Identity Module (SIM). The SIM card can be attached to and detached from the cellular phone 100 by being inserted into or pulled out from the SIM card interface. The handset 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface can support a Nano SIM card, a Micro SIM card, a SIM card and the like. Multiple cards can be inserted into the same SIM card interface at the same time. The types of the plurality of cards may be the same or different. The SIM card interface may also be compatible with different types of SIM cards. The SIM card interface may also be compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the handset 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
As shown in fig. 3, the second terminal in the above communication system architecture may be, for example, a wearable device 200. Wearable device 200 may include components such as a power source 201, a processor 202, a memory module 203, a communication module 204, a radio frequency module 205, an antenna 01, an antenna 02, a microphone 206 (e.g., a bone conduction microphone), a speaker 207, and a display 208.
In some embodiments, the antenna 01 of the wearable device 200 is coupled to a communication module and the antenna 02 is coupled to a radio frequency module. So that the wearable device 200 can communicate with networks and other devices through wireless communication technology. The wireless communication technologies may include LTE, 5G NR, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, among others. The GNSS may include a GPS, a global navigation satellite system, a beidou satellite navigation system, a quasi-zenith satellite system, and/or a satellite-based augmentation system. Thus, the wearable device 200 can acquire the location information of the wearable device.
It will be appreciated that the wearable device 200 described above may have more or fewer components than shown in fig. 3, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 3 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Where in the description of the present application, "/" indicates an OR meaning, for example, A/B may indicate A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. Also, in the description of the present application, "at least one" means one or more, "a plurality" means two or more, unless otherwise specified. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It should be noted that in the embodiments of the present invention, "of", "corresponding", and "corresponding" may be sometimes used in combination, and it should be noted that the intended meaning is consistent when the difference is not emphasized.
In the following embodiments of the present application, names of messages between devices or names of parameters in messages are only an example, and other names may also be used in specific implementations, and this is not specifically limited in the embodiments of the present application.
For the sake of understanding, the following describes the positioning method provided by the embodiments of the present application in detail with reference to the accompanying drawings.
As shown in fig. 4, an example of a positioning method that takes a first device as a mobile phone and a second device as a target device (i.e., a device to be positioned or tracked, such as a wearable device) includes:
401. the first device determines a first distance between the first device and the second device.
For example, when a user wishes to locate or track a target device through a cell phone, as shown in fig. 5, the user may click on an icon 502 of the cell phone's location APP on the cell phone's desktop 501. When the mobile phone detects that the user clicks the icon 502 of the positioning APP on the desktop 501, the positioning APP may be started, and a Graphical User Interface (GUI) shown in fig. 6 is displayed, where the GUI may be referred to as a positioning interface 601. The location interface 601 can display a map of the area (e.g., region, city or province, etc.) in which the cell phone is located. The positioning interface 601 may further include a control 602 for indicating the target device, a control 603 for enlarging the display level of the current position, a control 604 for reducing the display level of the current position, and the like.
Optionally, the user may locate or track the target device through a location applet in another APP (e.g., WeChat APP) of the mobile phone, which is not limited in this application.
When the cell phone detects an operation of the user clicking on the control 602 of the target device, the cell phone displays a GUI as shown in fig. 7, which may be referred to as a setting interface 605 of the target device. The user may set the selection button 606 to the right side by clicking the selection button 606 to select the wearable device (1A) as the target device. The mobile phone may also use the last selected target device as a default target device (for example, after the user exits the positioning APP, the user enters the setting interface 605 of the positioning target device next time, and the selection button 606 is set to the right by default).
Alternatively, the user may add a new target device at the target device's settings interface 605. For example, a new target device may be added in a bluetooth pairing, a mobile phone number search, or a WeChat friend search manner, which is not limited in the present application. It can be understood that the user may select a plurality of target devices to be located at the same time, and if the mobile phone determines that the user selects a plurality of target devices to be located at the same time, the mobile phone may display the positions of the plurality of target devices at the same time. The number of target devices is explained as one.
After determining that the user selects the target device, the mobile phone may send a positioning request to the cloud server, where the positioning request is used to request the current location of the target device. After receiving the positioning request of the mobile phone, the cloud service notifies the target device to perform positioning and sends (reports) the position information to the cloud server. And after receiving the notification sent by the cloud server, the target equipment starts a positioning function and sends the position (information) obtained by positioning to the cloud server. The cloud server forwards the position information to the mobile phone. The mobile phone receives the position information of the target device, meanwhile, the mobile phone can start a positioning function to acquire the position information of the mobile phone, and the mobile phone determines a first distance between the mobile phone and the target device according to the position information of the target device and the position information of the mobile phone.
When the first device determines that the first distance is greater than or equal to the first threshold, executing step 402 and step 406; when the first device determines that the first distance is less than the second threshold, steps 407 and 411 are performed. Wherein the second threshold is less than or equal to the first threshold.
402. When the first distance is greater than or equal to the first threshold, the first device sends first indication information to the second device, and the first indication information is used for indicating the second device to adopt the first positioning mode.
The first positioning mode has lower positioning accuracy, for example, the first positioning mode may be a positioning mode of base station positioning or a positioning mode of IP address positioning. The positioning frequency of the first positioning mode can be set to be lower (for example, 60 s/time) to save power consumption. The positioning frequency of the first positioning mode can be default or set by a user.
For example, as shown in fig. 7, a user may click on a control 607 on a setting interface 605 of a target device, as shown in fig. 8, after detecting an operation of clicking on the control 607 by the user, the mobile phone may display a target device positioning mode setting interface 801. Where control 802 indicates that the first distance is greater than a first threshold (e.g., the first threshold is 1km), and control 803 indicates that a first positioning manner (e.g., base station positioning) is employed when the first distance is greater than the first threshold. Control 804 represents the positioning accuracy of the first positioning mode (e.g., may be 100m), and control 805 represents the positioning frequency of the first positioning mode (e.g., may be 60 s/time).
As shown in fig. 9 (a), after the user clicks on control 802, the handset can display (drop down) list control 806, and the user can reset (select) the first threshold. As shown in fig. 9 (b), after the user clicks the control 804, the mobile phone may display (pull down) a list control 807, and the user may reset (select) the positioning accuracy of the first positioning manner. As shown in fig. 9 (c), after the user clicks the control 805, the handset may display (drop down) a list control 808, and the user may reset (select) the positioning frequency of the first positioning mode.
403. The second equipment receives the first indication information sent by the first equipment.
The second device may receive the first indication information through the cloud server. That is, the second device may receive the first indication information forwarded by the cloud server.
404. The second equipment adopts the first positioning mode and sends the first positioning information obtained by adopting the first positioning mode to the first equipment.
Wherein the first positioning information is used for indicating a first position of the second device.
405. The first equipment receives first positioning information obtained by the second equipment in a first positioning mode.
The first device may receive the first positioning information through the cloud server. That is, the first device may receive the first positioning information forwarded by the cloud server.
406. The first device displays a first position of the second device in a first display mode based on the first positioning information.
The first display mode may be a low-precision display mode, that is, the error range of the positions of the two devices displayed by the first display mode is large. For example, a geometric representation may be used to indicate a first position of the second device within an error range of 100m (meters). Of course, the error range of the first position of the second device may also be 50m, 200m, or 300m, etc., and the present application is not limited thereto. Wherein the geometric figure can be a circle (circle), an ellipse, a polygon, a sector, an arch, or the like.
For example, as shown in fig. 10, the mobile phone may display an icon 701 of the target device, a location of the target device (the location of the target device may be represented by a circle 702), and a current location mode 703 of the target device in the location interface 601. The current positioning mode of the target device may be a first positioning mode (e.g., base station positioning); the positioning accuracy may be 100m (or less), i.e. the error range of the position represented by the circle 702 is within 100 m; the location frequency may be 60 seconds (s)/time. The handset may also display an icon 704 of the user of the handset and the location of the handset, which may be displayed as a precise point or circle (not shown in fig. 10), depending on the manner in which the handset is positioned. Of course, the mobile phone may not display the icon 704 of the mobile phone user, and the application is not limited.
In one possible design, after the first device displays the first position of the second device in the first display mode based on the first positioning information, the first device receives a first operation of a user on the position of the second device. The first device responds to the first operation and displays the position of the second device in a second display mode, and the display precision of the second display mode is larger than that of the first display mode.
Illustratively, as shown in FIG. 11, the user may click on an icon 701 or circle 702 of the target device and the cell phone may display a function list control 706. The function list control 706 may include a pinpoint control 707. The user can click the accurate positioning control 707, and after the mobile phone detects that the user clicks the accurate positioning control 707, the mobile phone can notify the target device of adopting the second positioning mode, receive positioning information obtained by the target device in the second positioning mode, and then display the position of the target device in the second display mode. As shown in fig. 11a (a), the target device's location may be represented by a smaller geometric figure (e.g., a smaller circle 7021), the circle 7021 representing the location having an error range within 50 m; alternatively, as shown in fig. 11a (b), the position of the target device may be represented by one point 7022, and the error range of the position represented by the point 7022 may be within 5 meters. The positioning frequency of the second positioning means may remain unchanged.
Optionally, as shown in fig. 11, the function list control 706 may further include a distance control 708, a movement speed control 709, a movement direction control 710, a history track control 711, a route control 712, and the like. When the user clicks on the distance control 708, as shown in fig. 11b (a), the handset may display the real-time distance 713 of the handset from the target device. When the user clicks the movement speed control 709, the handset may display the real-time movement speed 714 of the target device as shown in fig. 11b (b). When the user clicks the motion direction control 710, as shown in fig. 11b (c), the mobile phone may display a real-time motion direction 715 of the target device (for example, the real-time motion direction may be indicated by an arrow or a triangle, which is not limited in this application). When the user clicks the history track control 711, as shown in fig. 11b (d), the cell phone may display the history track 716 of the target device (where the circle 717 may represent the location of the target device that the cell phone first acquired). When the user clicks the route control 712, the cell phone may display a preferred travel plan for different travel modes from "my location" (location of the cell phone) to "location of the target device" (e.g., a bus travel plan (as shown in fig. 11 c), a ride (shared bicycle) travel plan, a taxi travel plan, a self-driving travel plan, or a walk travel plan, etc.).
Optionally, after receiving the positioning information sent by the target device according to the positioning frequency of the first positioning mode, the mobile phone may vibrate, send a warning sound, flash a breathing lamp, or actively light a screen to remind the user that the position of the target device is updated. Meanwhile, the mobile phone updates the location of the target device in the positioning interface 601.
407. And when the first distance is smaller than a second threshold value, the first equipment sends second indication information to the second equipment, wherein the second indication information is used for indicating the second equipment to adopt a second positioning mode.
The second positioning mode has higher positioning accuracy, for example, the second positioning mode can be satellite positioning, Wifi positioning, bluetooth positioning, sensor inertial positioning, and the like. The positioning frequency of the second positioning means may be set high (e.g., 10 s/time) to accurately position the target device. The positioning frequency of the second positioning mode may be a default of the system or may be set by the user. The process of setting the second positioning mode by the user may refer to step 402, which is not described herein.
The positioning accuracy of the first positioning method is smaller than that of the second positioning method. The positioning frequency of the first positioning mode is the same as or different from the positioning frequency of the second positioning mode. Optionally, the positioning frequency of the first positioning manner may be smaller than the positioning frequency of the second positioning manner.
In a possible design, if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, the first device sends third indication information to the second device, where the third indication information is used to indicate that the second device adopts a third positioning mode. The positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning precision of the third positioning mode is the same as that of the second positioning mode, and the positioning frequency of the third positioning mode is less than that of the second positioning mode.
408. And the second equipment receives the second indication information sent by the first equipment.
The second device may receive the second indication information through the cloud server. That is, the second device may receive the second indication information forwarded by the cloud server.
409. The second device adopts a second positioning mode and sends second positioning information obtained by adopting the second positioning mode to the first device.
Wherein the second positioning information is used to indicate a second location of the second device.
410. And the first equipment receives second positioning information obtained by the second equipment in a second positioning mode.
The first device may receive the second positioning information through the cloud server. That is, the first device may receive the second positioning information forwarded by the cloud server.
411. And the first device displays the second position of the second device in a second display mode based on the second positioning information.
The display accuracy of the second display mode is greater than that of the first display mode, that is, the error range of the position of the second device displayed in the second display mode is smaller than that of the position of the second device displayed in the first display mode. For example, the first position of the second device may be represented by a smaller geometric figure (as compared to the geometric figure corresponding to the first display), or may be represented by a dot, and the error range of the first position of the second device is within 5m (or 1m, 2m, 3m, etc.).
As shown in fig. 12, the mobile phone may display an icon 701 of the target device, a location of the target device (the location of the target device may be represented by a point 705), and a current location mode 703 of the target device in a location interface 601. The current positioning mode of the target device may be a second positioning mode (e.g., a GPS positioning mode), the positioning accuracy of which may be 5m, that is, the error range of the position represented by the point 104 is within 5m, and the positioning frequency may be 10 s/time. The handset may also display an icon 704 of the user of the handset and the location of the handset, which may be displayed as a precise point or circle (not shown in fig. 12) depending on the manner in which the handset is positioned. Of course, the mobile phone may not display the icon 704 of the mobile phone user, and the application is not limited.
Based on the technical scheme, when the first distance between the first device and the second device is greater than or equal to the first threshold, the first device sends first indication information to the second device to indicate that the second device adopts the first positioning mode; when the first distance is smaller than a second threshold (the second threshold is smaller than or equal to the first threshold), the first device sends second indication information to the second device to indicate that the second device adopts a second positioning mode; the positioning accuracy of the first positioning mode is smaller than that of the second positioning mode, so that the second terminal equipment can be prevented from always adopting a high-accuracy positioning mode, the power consumption of the terminal can be reduced in the positioning process, and the possibility of shutdown of the terminal is reduced.
The positioning method provided by the embodiment of the present application is introduced below with reference to application scenarios and advantageous effects of the embodiment of the present application.
Scene 1: an owner tracks a pet wearing a device with a location function (e.g., a pet location collar with a location function).
When playing in the field, if the pet dog wearing the pet positioning collar with the positioning function is lost, the owner can position the pet dog on the positioning APP of the mobile phone, and the processing logic is as follows:
assume that the second threshold is less than the first threshold, the first threshold being 1 kilometer and the second threshold being 500 meters. When the positioning APP of the mobile phone determines that the distance between the dog and the owner is greater than or equal to 1km, as shown in (a) of fig. 13, the mobile phone (owner, represented by an icon 704) may remotely instruct the positioning collar (pet dog, represented by an icon 701) to adopt a first positioning mode (for example, a base station positioning mode, with a positioning accuracy of 100m), and report the position information every 60 s. When the positioning APP of the mobile phone determines that the distance between the dog and the owner is less than 1km and greater than 500 m, as shown in (b) of fig. 13, the mobile phone may remotely instruct the positioning collar to adopt a third positioning mode, the positioning accuracy of the third positioning mode is the same as that of the first positioning mode (for example, the base station positioning mode, the positioning accuracy is 100m), and the positioning frequency of the third positioning mode is greater than that of the first positioning mode (for example, reporting the position information every 30 s). Or, when the positioning APP of the mobile phone determines that the distance between the dog and the owner is less than 1km and greater than 500 m, as shown in (c) of fig. 13, the mobile phone may remotely instruct the positioning collar to adopt a third positioning mode, where the positioning accuracy of the third positioning mode is the same as that of the second positioning mode (for example, the GPS positioning mode, and the positioning accuracy is 5m), and the positioning frequency of the third positioning mode is less than that of the first positioning mode (for example, reporting the position information every 40 s). When the positioning APP of the mobile phone determines that the distance between the dog and the owner is less than 500 meters, as shown in (d) of fig. 13, the mobile phone may remotely instruct the positioning collar to adopt a second positioning mode (for example, a GPS positioning mode, with a positioning accuracy of 5m), and report the position information every 10 s.
Therefore, the phenomenon that the working time of the positioning collar is sacrificed due to excessive pursuit of positioning accuracy and positioning frequency is avoided, the pet can be found by an owner as soon as possible, and the phenomenon that the owner cannot find the pet due to shutdown of the positioning collar is avoided.
Scene 2: user 1 shares location with user 2 through WeChat.
Assume that user 1 and user 2 are wechat buddies and that both user 1 and user 2 are wechat online. User 1 initiates the position sharing to the smart watch that user 2 wore through little letter on the cell-phone, and user 2 agrees the position sharing on the smart watch. If the first threshold is 1km and the second threshold is equal to the first threshold, when the mobile phone determines that the distance between the user 1 and the user 2 is greater than or equal to 1km, as shown in fig. 10, the mobile phone (the user 1, represented by an icon 704) may remotely instruct the smart watch (the user 2, represented by an icon 701) to adopt a first positioning mode (for example, a base station positioning mode, with a positioning accuracy of 100m) and report the position information every 60 s. When the mobile phone determines that the distance between the user 1 and the user 2 is less than 1km, as shown in fig. 12, the mobile phone may remotely instruct the smart watch to adopt a second positioning mode (for example, a GPS positioning mode with a positioning accuracy of 5m), and report the location information every 10 s. Also, the cell phone may send the location information of the cell phone to the smart watch (e.g., the cell phone may send the location information to the smart watch every 60s, or every 20s, or every 10 s) so that both parties share the location. In addition, the positioning mode of the mobile phone may be the same as or different from the positioning mode of the smart watch (for example, when the smart watch adopts the first positioning mode, the mobile phone may adopt the first positioning mode or the second positioning mode for positioning).
Therefore, compared with the situation that the electric quantity consumption of the target terminal is increased due to the fact that the target terminal is positioned for multiple times in a high-precision positioning mode, the positioning power consumption of the mobile phone and the smart watch can be saved under the condition that the positioning precision and the positioning frequency are adjusted according to the distance, and the mobile phone and the smart watch are prevented from being automatically turned off as much as possible (for example, under the condition that a lost old man or a lost child wearing equipment with a positioning function (for example, wearable equipment) is searched, the situation that the target terminal is close to the target as much as possible and the target equipment is guaranteed not to be automatically turned off is particularly important.
The above description mainly describes the scheme provided by the embodiment of the present application from the perspective of the first device and the second device. It is to be understood that the first device and the second device comprise respective hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those skilled in the art will readily appreciate that the algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the first device and the second device may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 14 shows a first possible structural diagram of the first device 14 according to the foregoing embodiment, where the first device includes: a determination unit 1401, a transmission unit 1402, a reception unit 1403, and a display unit 1404. In the embodiment of the present application, a determining unit 1401 is configured to determine a first distance between a first device and a second device; a sending unit 1402, configured to send first indication information to the second device when the first distance is greater than or equal to a first threshold, where the first indication information is used to indicate that the second device adopts a first positioning manner; the first distance is smaller than a first threshold value, and the first indication information is used for indicating that the first equipment adopts a first positioning mode; and the second threshold is less than or equal to the first threshold, and the positioning precision of the first positioning mode is less than that of the second positioning mode. A receiving unit 1403, configured to: receiving first positioning information obtained by the second equipment in a first positioning mode, wherein the first positioning information is used for indicating a first position of the second equipment; a display unit 1404 configured to display a first position of the second device in a first display manner based on the first positioning information. Or, the receiving unit 1403 is configured to receive second positioning information obtained by the second device by using the second positioning manner, where the second positioning information is used to indicate a second location of the second device; a display unit 1404 for displaying a second position of the second device in a second display manner based on the second positioning information; and the display precision of the first display mode is smaller than that of the second display mode.
Wherein the determining unit 1401 is configured to support the first device to execute the process 401 in fig. 4; the sending unit 1402 is configured to support the first device to execute the process 402 or 407 in fig. 4; the receiving unit 1403 is used for supporting the first device to perform the process 405 or 410 in fig. 4; display unit 1404 is used to support the first device in performing process 406 or 411 in fig. 4.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The first device provided by the embodiment is used for executing the positioning method, so that the same effect as the implementation method can be achieved.
In case an integrated unit is employed, the first device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the first device, for example, may be configured to support the first device to perform the steps performed by the determining unit 1401 and the displaying unit 1404. The communication module may be configured to support the steps executed by the sending unit 1402 and the receiving unit 1403. The memory module may be used to support the first device in storing program code, data, and the like.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, digital signal processing and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or another device that interacts with other first devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the first device according to this embodiment may be a device having the structure shown in fig. 2.
In the case of dividing each functional module by corresponding functions, fig. 15 shows a first possible structural diagram of the second device 15 according to the foregoing embodiment, where the second device includes: a positioning unit 1501, a receiving unit 1502, and a transmitting unit 1503. In this embodiment, the positioning unit 1501 is configured to, if the first indication information sent by the first device is received by the receiving unit 1502; the first indication information is used for indicating the second equipment to adopt a first positioning mode; a first positioning mode is adopted, and first positioning information obtained by adopting the first positioning mode is sent to the first device through a sending unit 1503; the first positioning information is used for indicating a first position of the second device; the positioning unit 1501 is further configured to receive second indication information sent by the first device through the receiving unit 1502; the second indication information is used for indicating the second equipment to adopt a second positioning mode; a second positioning mode is adopted, and second positioning information obtained by adopting the second positioning mode is sent to the first device through the sending unit 1503; wherein the second positioning information is used for indicating a second position of the second device; and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
Wherein the positioning unit 1501 and the sending unit 1503 are configured to support the second device to execute the process 404 or 409 in fig. 4; the receiving unit 1502 is configured to support the second device to perform the process 403 or 408 in fig. 4.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The second device provided by the embodiment is used for executing the positioning method, so that the same effect as the implementation method can be achieved.
In case an integrated unit is employed, the second device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage an action of the second device, for example, may be configured to support the second device to perform the steps performed by the positioning unit 1501. The communication module may be configured to support the second device to perform the steps performed by the receiving unit 1502 and the sending unit 1503. The memory module may be used to support the second device in storing program code, data, and the like.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, digital signal processors, and the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or another device that interacts with other second devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the second device according to this embodiment may be a device having the structure shown in fig. 3.
The present embodiment also provides a computer storage medium, where a computer instruction is stored in the computer storage medium, and when the computer instruction runs on the first device or the second device, the first device or the second device executes the relevant method steps to implement the positioning method in the foregoing embodiments.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the positioning method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the positioning method in the above-mentioned method embodiments.
The first device, the second device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the first device, the second device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (25)

  1. A method of positioning, comprising:
    a first device determining a first distance between the first device and a second device;
    when the first distance is greater than or equal to a first threshold value, the first device sends first indication information to the second device, wherein the first indication information is used for indicating the second device to adopt a first positioning mode;
    when the first distance is smaller than a second threshold value, the first device sends second indication information to the second device, wherein the second indication information is used for indicating that the second device adopts a second positioning mode;
    the second threshold is smaller than or equal to the first threshold, and the positioning accuracy of the first positioning mode is smaller than that of the second positioning mode.
  2. The positioning method according to claim 1, wherein the positioning frequency of the first positioning means is the same as or different from the positioning frequency of the second positioning means.
  3. The positioning method according to claim 1 or 2, wherein a positioning frequency of the first positioning means is smaller than a positioning frequency of the second positioning means.
  4. The positioning method according to any one of claims 1-3, characterized in that the method further comprises:
    the first device receives first positioning information obtained by the second device in the first positioning mode, wherein the first positioning information is used for indicating a first position of the second device;
    the first device displays the first position of the second device in a first display mode based on the first positioning information; or
    The first device receives second positioning information obtained by the second device in the second positioning mode, wherein the second positioning information is used for indicating a second position of the second device;
    the first device displays the second position of the second device in a second display mode based on the second positioning information;
    and the display precision of the first display mode is smaller than that of the second display mode.
  5. The method according to claim 4, wherein after the first device displays the position of the second device in the first display manner, the method further comprises:
    and receiving a first operation of a user on the position of the second equipment, and responding to the first operation to display the position of the second equipment in the second display mode.
  6. The method according to any one of claims 1 to 5, characterized in that the method further comprises:
    if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, the first device sends third indication information to the second device, where the third indication information is used to indicate that the second device adopts a third positioning mode;
    the positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning accuracy of the third positioning mode is the same as the positioning accuracy of the second positioning mode, and the positioning frequency of the third positioning mode is smaller than the positioning frequency of the second positioning mode.
  7. The positioning method according to any one of claims 1 to 6,
    the first positioning mode comprises at least one of base station positioning and Internet Protocol (IP) address positioning;
    the second positioning mode comprises at least one of satellite positioning, wireless fidelity (Wifi) positioning, Bluetooth positioning and sensor inertial positioning.
  8. A method of positioning, comprising:
    if the second equipment receives the first indication information sent by the first equipment; the first indication information is used for indicating the second equipment to adopt a first positioning mode; the second equipment adopts the first positioning mode and sends first positioning information obtained by adopting the first positioning mode to the first equipment; wherein the first positioning information is used to indicate a first location of the second device;
    if the second device receives second indication information sent by the first device; the second indication information is used for indicating the second equipment to adopt a second positioning mode; the second device adopts the second positioning mode and sends second positioning information obtained by adopting the second positioning mode to the first device; wherein the second positioning information is used to indicate a second location of the second device;
    and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
  9. The positioning method according to claim 8, wherein the positioning frequency of the first positioning means is the same as or different from the positioning frequency of the second positioning means.
  10. The positioning method according to claim 8 or 9, wherein a positioning frequency of the first positioning means is smaller than a positioning frequency of the second positioning means.
  11. The positioning method according to any one of claims 8 to 10,
    the first positioning mode comprises at least one of base station positioning and Internet Protocol (IP) address positioning;
    the second positioning mode comprises at least one of satellite positioning, wireless fidelity Wi-Fi positioning, Bluetooth positioning and sensor inertial positioning.
  12. A first device, comprising:
    a determining unit, configured to determine a first distance between the first device and a second device;
    a sending unit, configured to send first indication information to the second device when the first distance is greater than or equal to a first threshold, where the first indication information is used to indicate that the second device adopts a first positioning manner;
    the sending unit is further configured to send second indication information to the second device when the first distance is smaller than a second threshold, where the second indication information is used to indicate that the second device adopts a second positioning manner;
    the second threshold is smaller than or equal to the first threshold, and the positioning accuracy of the first positioning mode is smaller than that of the second positioning mode.
  13. The first apparatus of claim 12, wherein a positioning frequency of the first positioning means is the same as or different from a positioning frequency of the second positioning means.
  14. The first apparatus as claimed in claim 12 or 13, wherein the positioning frequency of the first positioning means is smaller than the positioning frequency of the second positioning means.
  15. The first device according to any of claims 12-14, further comprising a receiving unit configured to:
    receiving first positioning information obtained by the second device in the first positioning mode, wherein the first positioning information is used for indicating a first position of the second device;
    a display unit configured to display the first position of the second device in a first display manner based on the first positioning information; or
    The receiving unit is configured to receive second positioning information obtained by the second device in the second positioning manner, where the second positioning information is used to indicate a second position of the second device;
    the display unit is used for displaying the second position of the second equipment in a second display mode based on the second positioning information;
    and the display precision of the first display mode is smaller than that of the second display mode.
  16. The first device of claim 15, wherein the receiving unit is further configured to: receiving a first operation of a user on the position of the second device;
    the display unit is further configured to: and responding to the first operation, and displaying the position of the second equipment in the second display mode.
  17. The first device according to any of claims 12-16, wherein the sending unit is further configured to:
    if the second threshold is smaller than the first threshold, when the first distance is smaller than the first threshold and larger than the second threshold, sending third indication information to the second device, where the third indication information is used to indicate that the second device adopts a third positioning mode;
    the positioning precision of the third positioning mode is the same as that of the first positioning mode, and the positioning frequency of the third positioning mode is greater than that of the first positioning mode; or the positioning accuracy of the third positioning mode is the same as the positioning accuracy of the second positioning mode, and the positioning frequency of the third positioning mode is smaller than the positioning frequency of the second positioning mode.
  18. The first apparatus according to any one of claims 12-17,
    the first positioning mode comprises at least one of base station positioning and Internet Protocol (IP) address positioning;
    the second positioning mode comprises at least one of satellite positioning, wireless fidelity (Wifi) positioning, Bluetooth positioning and sensor inertial positioning.
  19. A second apparatus, comprising:
    the positioning unit is used for receiving first indication information sent by the first equipment through the receiving unit; the first indication information is used for indicating the second equipment to adopt a first positioning mode; sending first positioning information obtained by adopting the first positioning mode to the first equipment through a sending unit by adopting the first positioning mode; wherein the first positioning information is used to indicate a first location of the second device;
    the positioning unit is further configured to receive second indication information sent by the first device through the receiving unit; the second indication information is used for indicating the second equipment to adopt a second positioning mode; sending second positioning information obtained by adopting the second positioning mode to the first equipment through the sending unit by adopting the second positioning mode; wherein the second positioning information is used to indicate a second location of the second device;
    and the positioning precision of the first positioning mode is smaller than that of the second positioning mode.
  20. The second apparatus as claimed in claim 19, wherein the positioning frequency of the first positioning means is the same as or different from the positioning frequency of the second positioning means.
  21. Second device according to claim 19 or 20, characterized in that the positioning frequency of the first positioning means is smaller than the positioning frequency of the second positioning means.
  22. The second apparatus according to any one of claims 19 to 21,
    the first positioning mode comprises at least one of base station positioning and Internet Protocol (IP) address positioning;
    the second positioning mode comprises at least one of satellite positioning, wireless fidelity Wi-Fi positioning, Bluetooth positioning and sensor inertial positioning.
  23. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the positioning method of any one of claims 1 to 7.
  24. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the positioning method of any one of claims 8 to 11.
  25. A positioning system, characterized in that it comprises a first device according to any of the preceding claims 12 to 18 and a second device according to any of the preceding claims 19 to 22.
CN201880098068.4A 2018-10-17 2018-11-23 Positioning method and device Pending CN112840227A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201811210028 2018-10-17
CN2018112100282 2018-10-17
PCT/CN2018/117256 WO2020077738A1 (en) 2018-10-17 2018-11-23 Positioning method and apparatus

Publications (1)

Publication Number Publication Date
CN112840227A true CN112840227A (en) 2021-05-25

Family

ID=70284450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098068.4A Pending CN112840227A (en) 2018-10-17 2018-11-23 Positioning method and device

Country Status (2)

Country Link
CN (1) CN112840227A (en)
WO (1) WO2020077738A1 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6972719B1 (en) * 2004-09-30 2005-12-06 Motorola, Inc. Location determination system and method therefor
CN102833678A (en) * 2012-09-03 2012-12-19 北京汽车股份有限公司 Vehicle searching device, vehicle searching method, vehicle and intelligent mobile phone
JP2013228310A (en) * 2012-04-26 2013-11-07 Mitsubishi Electric Corp Device and method for tracking target
CN103625427A (en) * 2013-11-29 2014-03-12 东风小康汽车有限公司重庆分公司 Automobile door opening and closing automatic control method and system based on satellite locating technology
CN104678420A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Location method, device and terminal
CN105025437A (en) * 2015-06-02 2015-11-04 北京嘀嘀无限科技发展有限公司 Positioning method, device, and system
CN105334527A (en) * 2015-11-30 2016-02-17 北京奇虎科技有限公司 Locating mode switching method and system for locating device
CN106324630A (en) * 2015-06-30 2017-01-11 华为终端(东莞)有限公司 Positioning method based on wearable device and wearable device
CN106341792A (en) * 2016-11-01 2017-01-18 青岛海信移动通信技术股份有限公司 Positioning method and device
CN106557089A (en) * 2016-11-21 2017-04-05 北京中飞艾维航空科技有限公司 A kind of control method and device of unmanned plane independent landing
CN106658414A (en) * 2017-02-10 2017-05-10 北京拜克洛克科技有限公司 Method for searching reserved bicycle, and user terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6972719B1 (en) * 2004-09-30 2005-12-06 Motorola, Inc. Location determination system and method therefor
JP2013228310A (en) * 2012-04-26 2013-11-07 Mitsubishi Electric Corp Device and method for tracking target
CN102833678A (en) * 2012-09-03 2012-12-19 北京汽车股份有限公司 Vehicle searching device, vehicle searching method, vehicle and intelligent mobile phone
CN104678420A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Location method, device and terminal
CN103625427A (en) * 2013-11-29 2014-03-12 东风小康汽车有限公司重庆分公司 Automobile door opening and closing automatic control method and system based on satellite locating technology
CN105025437A (en) * 2015-06-02 2015-11-04 北京嘀嘀无限科技发展有限公司 Positioning method, device, and system
CN106324630A (en) * 2015-06-30 2017-01-11 华为终端(东莞)有限公司 Positioning method based on wearable device and wearable device
CN105334527A (en) * 2015-11-30 2016-02-17 北京奇虎科技有限公司 Locating mode switching method and system for locating device
CN106341792A (en) * 2016-11-01 2017-01-18 青岛海信移动通信技术股份有限公司 Positioning method and device
CN106557089A (en) * 2016-11-21 2017-04-05 北京中飞艾维航空科技有限公司 A kind of control method and device of unmanned plane independent landing
CN106658414A (en) * 2017-02-10 2017-05-10 北京拜克洛克科技有限公司 Method for searching reserved bicycle, and user terminal

Also Published As

Publication number Publication date
WO2020077738A1 (en) 2020-04-23

Similar Documents

Publication Publication Date Title
CN111369988A (en) Voice awakening method and electronic equipment
CN113395382B (en) Method for data interaction between devices and related devices
CN111182140B (en) Motor control method and device, computer readable medium and terminal equipment
CN111510626B (en) Image synthesis method and related device
CN112637758B (en) Equipment positioning method and related equipment thereof
CN110557740A (en) Electronic equipment control method and electronic equipment
CN112134995A (en) Method, terminal and computer readable storage medium for searching application object
CN111368765A (en) Vehicle position determining method and device, electronic equipment and vehicle-mounted equipment
CN111602108A (en) Application icon display method and terminal
CN112651510A (en) Model updating method, working node and model updating system
CN111556479B (en) Information sharing method and related device
CN111343326A (en) Method and related device for acquiring test log
CN114880251B (en) Memory cell access method, memory cell access device and terminal equipment
CN111580671A (en) Video image processing method and related device
CN112684969B (en) Always displaying method and mobile device
CN114257920B (en) Audio playing method and system and electronic equipment
CN114727220A (en) Equipment searching method and electronic equipment
CN114915721A (en) Method for establishing connection and electronic equipment
CN114554012A (en) Incoming call answering method, electronic equipment and storage medium
CN113467904B (en) Method and device for determining collaboration mode, electronic equipment and readable storage medium
CN114079855B (en) Low-power-consumption positioning method and related device
CN116806013A (en) Message transmission method and corresponding terminal
CN112840227A (en) Positioning method and device
CN114064571A (en) Method, device and terminal for determining file storage position
CN116738033B (en) Method and device for recommending service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination