CN114646952A - Distance acquisition method, device, system, storage medium and electronic equipment - Google Patents

Distance acquisition method, device, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN114646952A
CN114646952A CN202210255507.6A CN202210255507A CN114646952A CN 114646952 A CN114646952 A CN 114646952A CN 202210255507 A CN202210255507 A CN 202210255507A CN 114646952 A CN114646952 A CN 114646952A
Authority
CN
China
Prior art keywords
time
ranging signal
equipment
external
distance
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.)
Granted
Application number
CN202210255507.6A
Other languages
Chinese (zh)
Other versions
CN114646952B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210255507.6A priority Critical patent/CN114646952B/en
Publication of CN114646952A publication Critical patent/CN114646952A/en
Application granted granted Critical
Publication of CN114646952B publication Critical patent/CN114646952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/08Systems for determining distance or velocity not using reflection or reradiation using radio waves using synchronised clocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Electric Clocks (AREA)

Abstract

A distance obtaining method, a device, a system, a storage medium and an electronic device are provided, wherein time synchronization is carried out with an external device to obtain a time difference between the electronic device and the external device, a target sending time and a time difference of a ranging signal are transmitted to the external device, the ranging signal is sent to the external device when the target sending time is reached, a space distance between the external device and the electronic device returned by the external device is received, and the space distance is calculated by the external device according to the ranging signal, the target sending time, the time difference and an actual receiving time when the ranging signal is received by the external device. The time difference between the electronic equipment and the external equipment is obtained by performing time synchronization on the electronic equipment and the external equipment, and the distance measurement between the electronic equipment and the external equipment can be realized by sending and receiving a distance measurement signal once by further utilizing the time difference, so that the efficiency of distance measurement and calculation between the equipment is improved.

Description

Distance acquisition method, device, system, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a distance obtaining method, a distance obtaining device, a distance obtaining system, a storage medium and electronic equipment.
Background
With the rapid development of computer technology, the measurement of the distance between the objects does not rely on manual field measurement, but the measurement and the calculation of the distance between the objects are realized through the time of signal transmission and signal reception. However, in the related art, the time for transmitting and receiving the ranging signal needs to be exchanged among the devices for multiple times to realize ranging, which is inefficient.
Disclosure of Invention
The application provides a distance obtaining method, a distance obtaining device, a distance obtaining system, a storage medium and electronic equipment, and the efficiency of distance measurement and calculation can be improved.
In a first aspect, the present application provides a distance obtaining method applied to an electronic device, including:
carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
transmitting the target sending time of the ranging signal and the time difference to the external equipment;
transmitting the ranging signal to the external device when the target transmission time is reached;
and receiving a spatial distance between the external equipment and the electronic equipment, wherein the spatial distance is obtained by calculating by the external equipment according to the ranging signal, the target sending time, the time difference and the actual receiving time when the external equipment receives the ranging signal.
In a second aspect, the present application provides a distance obtaining apparatus, applied to an electronic device, including:
the acquisition module is used for carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
the time information transmission module is used for transmitting the target sending time of the ranging signal and the time difference to the external equipment;
the ranging signal sending module is used for sending the ranging signal to the external equipment when the target sending time is reached;
and the spatial distance receiving module is used for receiving a spatial distance between the external device and the electronic device, which is returned by the external device, wherein the spatial distance is calculated by the external device according to the ranging signal, the target sending time, the time difference and the actual receiving time of the ranging signal received by the external device.
In a third aspect, the present application provides a distance obtaining method applied to an electronic device, including:
carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
receiving the target sending time of the ranging signal transmitted by the external equipment;
receiving the ranging signal sent by the external equipment;
and calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of receiving the ranging signal, and sending the space distance to the external equipment.
In a fourth aspect, the present application provides a distance obtaining apparatus, applied to an electronic device, including:
the synchronization module is used for carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
the time information receiving module is used for receiving the target sending time of the ranging signal transmitted by the external equipment;
the ranging signal receiving module is used for receiving the ranging signal sent by the external equipment;
and the space distance sending module is used for calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal, and sending the space distance to the external equipment.
In a fifth aspect, the present application provides a distance obtaining system, including an electronic device and an external device, where the electronic device is configured to perform time synchronization with the external device to obtain a time difference between the electronic device and the external device, transmit a target sending time of a ranging signal and the time difference to the external device, send the ranging signal to the external device when the target sending time is reached, and receive a spatial distance between the external device and the electronic device, where the spatial distance is returned by the external device;
the external device is used for receiving the ranging signal sent by the electronic device and the time difference, calculating a spatial distance between the external device and the electronic device according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal, and sending the spatial distance to the electronic device.
In a sixth aspect, the present application provides a storage medium having stored thereon a computer program which, when loaded by a processor of an electronic device, performs the steps of any of the distance acquisition methods as provided herein.
In a seventh aspect, the present application further provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores a computer program, and the processor executes the steps in any one of the distance obtaining methods provided in the present application by loading the computer program stored in the memory.
In the application, time synchronization is carried out through the electronic equipment and the external equipment, the time difference between the electronic equipment and the external equipment is obtained, the time difference is further utilized, ranging between the electronic equipment and the external equipment can be realized through one-time ranging signal sending and receiving, compared with the related technology, sending of the ranging signal receiving moment is not needed, the external equipment directly calculates the space distance between the external equipment and the electronic equipment according to the target sending moment, the actual receiving moment and the time difference, the data sending times are reduced, and the efficiency of distance measurement and calculation between the equipment can be improved. The external equipment can conveniently prepare for receiving the ranging signal according to the target sending time by sending the target sending time of the ranging signal to the external equipment, so that the ranging signal can be sent and received smoothly, and the smooth sending and receiving of the ranging signal provide a basis for accurately measuring and calculating the distance between the equipment. The distance measurement signal sender can obtain the spatial distance between the distance measurement signal sender and the external equipment after sending the distance measurement signal by returning the measured spatial distance to the distance measurement signal sender, so that the subsequent application of the spatial distance is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a distance obtaining method according to an embodiment of the present application;
fig. 2 is an interaction diagram of an electronic device and an external device in a distance obtaining method provided in an embodiment of the present application;
fig. 3 is another schematic flow chart diagram of a distance obtaining method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a specific process of time synchronization between devices and distance measurement between the devices in the distance obtaining method according to the embodiment of the present application;
fig. 5 is a schematic flow chart of data transmission in a distance obtaining process according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a distance acquisition system provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a distance acquisition device provided in an embodiment of the present application;
fig. 8 is another schematic structural diagram of a distance obtaining apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It should be noted that the terms "first", "second", and "third", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An embodiment of the present application provides a distance obtaining method, a distance obtaining apparatus, a distance obtaining system, a storage medium, and an electronic device, where an execution subject of the distance obtaining method may be the distance obtaining apparatus provided in the embodiment of the present application, or the electronic device integrated with the distance obtaining apparatus, and the distance obtaining apparatus may be implemented in a hardware or software manner. The electronic device may be a device with data processing capability and configured with a processor, such as a smart phone, a tablet computer, a palm computer, and a notebook computer.
Referring to fig. 1, fig. 1 is a schematic flowchart of a distance obtaining method provided in an embodiment of the present application, and as shown in fig. 1, the distance obtaining method is applied to an electronic device, and a flow of the distance obtaining method provided in the embodiment of the present application may be as follows:
101. and carrying out time synchronization with external equipment to obtain the time difference between the electronic equipment and the external equipment.
In the embodiment of the application, the external device is an opposite-end device performing spatial distance measurement and calculation with the electronic device, and the spatial measurement and calculation of the position of the electronic device and the position of the external device can be realized by measuring and calculating the distance between the electronic device and the external device.
The timing rates and the operating environments of the local clocks of different devices are different, so that the timing time of different devices is different. The time difference can be acquired conveniently, so that the actual propagation time of the ranging signal can be acquired subsequently according to the time difference, and further the space distance between the electronic equipment and the external equipment can be effectively measured and calculated.
In this embodiment of the present application, time synchronization between the electronic device and the external device may be implemented through a data transmission link, for example, by establishing a data transmission link between the electronic device and the external device, so that time information may be exchanged between the electronic device and the external device through the data transmission link, so as to implement time synchronization between the electronic device and the external device, that is, optionally, in some embodiments of the present application, the step "time synchronization with the external device" includes:
establishing a data transmission link with a communication chip of the external device through the communication chip of the electronic device;
and carrying out time synchronization with the external equipment through the data transmission link.
For example, please refer to fig. 2, fig. 2 is an interaction schematic diagram of the electronic device and the external device provided in the embodiment of the present application, wherein a data transmission link between the electronic device and the external device is established through the communication chip, for example, address information can be exchanged between the communication chips, and the data transmission link between the electronic device and the external device is established according to the address information.
After the electronic device and the external device exchange time information with each other through the data transmission link, the electronic device and the external device can respectively acquire the time information of the other side, realize the time synchronization of the electronic device and the external device, and further realize the acquisition of the time difference between the electronic device and the external device.
102. And transmitting the target sending time of the ranging signal and the time difference to the external equipment.
The propagation time of the ranging signal between the two objects can be used for calculating the distance between the two objects, for example, the calculation of the moving distance of the ranging signal within the propagation time can be realized through the propagation time and the propagation rate of the ranging signal between the two objects, wherein the moving distance of the ranging signal is the spatial distance between the two objects.
In the embodiment of the application, the target sending time is the time for sending the ranging signal, and the target sending time is transmitted to the external device, so that the external device can make preparation for receiving the ranging signal according to the sending time after receiving the sending time for sending the ranging signal by the electronic device, the external device can conveniently and smoothly receive the ranging signal, the ranging signal can be smoothly sent and received, the accurate acquisition of the propagation time of the ranging signal can be realized, and the measurement and calculation of the space distance between the subsequent electronic device and the external device are convenient.
In this embodiment, the target sending time may be determined by means of two-party negotiation, for example, the electronic device and the external device may exchange time information first, determine respective idle times of the electronic device and the external device, and determine the target sending time from the idle times. In the embodiment of the present application, the target sending time is located after the node time during time synchronization, that is, after the time synchronization between the electronic device and the external device, the sending of the ranging signal is performed, so as to ensure effective acquisition of the propagation time of the ranging signal.
In the embodiment of the application, the time difference is sent to the external device, so that after the external device receives the ranging signal, the actual time of the ranging signal transmitted between the electronic device and the external device can be determined according to the target sending time, the actual receiving time and the time difference, and the actual transmission time of the ranging signal can be quickly acquired.
103. And transmitting the ranging signal to the external equipment when the target transmission time is reached.
Since the ranging signal is sent from the electronic device, the target sending time is based on the time of the local clock of the electronic device, that is, when the local clock of the electronic device reaches the target sending time, the electronic device sends the ranging signal and sends the ranging signal to the external device.
In this embodiment of the present application, a ranging signal may be sent or received through a ranging chip, that is, optionally, in some embodiments of the present application, the step "sending the ranging signal to the external device when the target sending time is reached" includes:
and when the target sending time is reached, sending the ranging signal to a ranging chip of the external equipment through the ranging chip of the electronic equipment.
The ranging chip in the electronic equipment can be used for sending ranging signals to the external equipment, and the ranging chip in the external equipment can be used for receiving the ranging signals sent by the ranging chip in the electronic equipment.
In this embodiment, the communication chip may be different from the ranging chip, for example, in some embodiments of the present application, the communication chip and the ranging chip transmit and receive different types of signals.
The time synchronization task and the ranging task can be distinguished obviously by the difference of the types of the signals to be transmitted and received, for example, the data transmission link is established through one type of signal to carry out time synchronization, and the distance calculation is carried out through the other type of signal to avoid the signal confusion to interfere with the distance measurement result.
For example, in the embodiment of the present application, the communication chip includes at least one of a bluetooth chip, a zigbee protocol chip, a wireless fidelity network chip, an ultra-wideband chip, or a near field communication chip; the distance measuring chip comprises at least one of an ultrasonic distance measuring chip, an electromagnetic wave distance measuring chip or an audio chip. For example, a data transmission link between the electronic device and the external device is established through bluetooth, and then time synchronization between the electronic device and the external device is performed according to the data transmission link, and calculation of a spatial distance between the electronic device and the external device is achieved through transmission and reception of ultrasonic waves. The calculation of the spatial distance between the electronic device and the external device is realized by the transmission and the reception of the ultrasonic signals, and the ultrasonic ranging chips can be arranged on the electronic device and the external device to transmit and receive the ultrasonic signals.
In the embodiment of the present application, the audio chip is an audio device component carried by the electronic device and the external device, and when the audio device component can transmit and receive corresponding signals (such as ultrasonic signals), the audio device component can directly transmit and receive corresponding signals through the electronic device and the external device, without additionally configuring corresponding ranging chips.
In this embodiment, the ranging chip corresponds to the audio module, for example, in this embodiment, the audio module of the electronic device sends a ranging signal (e.g., an ultrasonic signal) to the external device, and the external device receives the ranging signal (e.g., an ultrasonic signal sent by the corresponding electronic device) sent by the audio module of the electronic device through the audio module of the external device.
As shown in fig. 2, for the electronic device, the local time of the communication chip in the electronic device is also different from the audio time of the ranging chip in the electronic device in terms of timing difference; for an external device, the local time of the communication chip in the external device is also different from the audio time of the ranging chip in the external device in timing.
However, in order to obtain the propagation time of the ranging signal, it is necessary to specify the transmission time of the audio module in the electronic device that transmits the ranging signal and the reception time of the external device that receives the ranging signal.
For example, referring to fig. 2, since the sending and receiving of the ranging signal are completed through the audio module (corresponding ranging chip), the time difference between the electronic device and the external device is a time difference for the audio module timing, and since the communication chip is used for time synchronization in the embodiment of the present application, the time difference for the audio module timing between the electronic device and the external device needs to be determined according to the time difference for the two communication chips and the time difference between the communication chip and the audio module in each device, that is, optionally, in some embodiments of the present application, the step "obtaining the time difference between the electronic device and the external device" includes:
obtaining a local time difference according to the local time of the communication chip of the electronic equipment and the local time of the communication chip of the external equipment;
obtaining a first communication audio time difference according to the local time of the communication chip of the electronic equipment and the audio time of the ranging chip of the electronic equipment;
obtaining a second communication audio time difference according to the local time of the communication chip of the external equipment and the audio time of the ranging chip of the external equipment;
and obtaining the time difference between the electronic equipment and the external equipment according to the local time difference, the first communication audio time difference and the second communication audio time difference.
In the embodiment of the present application, the local time is a timing time of the communication chip, and the audio time is a timing time of the ranging chip.
For example, when the timing time difference between the local time of the electronic device and the local time of the external device is 100ms, the timing time difference between the local time of the electronic device and the audio time of the electronic device is 100ms, and the timing time difference between the local time of the external device and the audio time of the external device is 200ms, the timing time difference between the audio time of the electronic device and the audio time of the external device is 400ms (i.e., 100ms +100ms +200 ms).
104. And receiving a space distance between the external equipment and the electronic equipment, wherein the space distance is obtained by the external equipment through calculation according to the ranging signal, the target sending time, the time difference and the actual receiving time of the ranging signal received by the external equipment.
After receiving the ranging signal, the external device side already acquires the sending time, the receiving time, the time difference and the type of the ranging signal, so that the external device can directly calculate the spatial distance between the external device and the electronic device according to the sending time, the receiving time, the time difference and the ranging signal of the ranging signal, and the calculation of the spatial distance between the electronic device and the external device is accelerated.
The electronic equipment obtains the spatial distance by the distance measuring signal sending party by receiving the spatial distance between the external equipment and the electronic equipment returned by the external equipment, and the distance measuring signal sending party can conveniently apply the spatial distance.
According to the method and the device, time synchronization is carried out between the electronic device and the external device, the time difference between the electronic device and the external device is obtained, the time difference is further utilized, ranging between the electronic device and the external device can be achieved through one-time ranging signal sending and receiving, compared with the related technology, sending of the ranging signal receiving moment is not needed, the external device directly calculates the space distance between the electronic device and the position according to the target sending moment, the actual receiving moment and the time difference, the data sending times are reduced, and the efficiency of distance measurement and calculation between the devices can be improved. The external equipment can conveniently prepare for receiving the ranging signal according to the target sending time by sending the target sending time of the ranging signal to the external equipment, so that the ranging signal can be sent and received smoothly, and the smooth sending and receiving of the ranging signal provide a basis for accurately measuring and calculating the distance between the equipment. The distance measurement signal sender can obtain the spatial distance between the distance measurement signal sender and the external equipment after sending the distance measurement signal by returning the measured spatial distance to the distance measurement signal sender, so that the subsequent application of the spatial distance is facilitated.
Referring to fig. 3, fig. 3 is another schematic flow chart of a distance obtaining method provided in an embodiment of the present application, where the distance obtaining method is applied to an electronic device, and the flow of the distance obtaining method provided in the embodiment of the present application may be as follows:
201. and carrying out time synchronization with external equipment to obtain the time difference between the electronic equipment and the external equipment.
In the embodiment of the application, the external device is an opposite-end device performing spatial distance measurement and calculation with the electronic device, and the spatial measurement and calculation of the position of the electronic device and the position of the external device can be realized by measuring and calculating the distance between the electronic device and the external device.
The timing rates and the operating environments of the local clocks of different devices are different, so that the timing time of different devices is different. The time difference can be acquired conveniently, so that the actual propagation time of the ranging signal can be acquired subsequently according to the time difference, and further the space distance between the electronic equipment and the external equipment can be effectively measured and calculated.
202. And receiving the target sending time of the ranging signal transmitted by the external equipment.
The propagation time of the ranging signal between the two objects can be obtained by transmitting and receiving the ranging signal by the two objects respectively, and the propagation time of the ranging signal between the two objects can be used for calculating the distance between the two objects, for example, the calculation of the moving distance of the ranging signal within the propagation time can be realized by the propagation time and the propagation rate of the ranging signal between the two objects, wherein the moving distance of the ranging signal is the space distance between the two objects.
In the embodiment of the application, the target sending time is the time of sending the ranging signal, and by receiving the target sending time sent by the external device before sending the ranging signal, preparation for receiving the ranging signal can be made according to the target sending time, so that the ranging signal sent by the external device can be received smoothly, the ranging signal can be received smoothly, the receiving time of the ranging signal can be obtained, the propagation time of the ranging signal can be further calculated, and the measurement and calculation of the spatial distance between the subsequent electronic device and the external device can be facilitated.
In this embodiment, the target sending time may be determined by means of two-party negotiation, for example, the electronic device and the external device may exchange time information first, determine respective idle times of the electronic device and the external device, and determine the target sending time from the idle times. In the embodiment of the present application, the target sending time is located after the node time during time synchronization, that is, after the time synchronization between the electronic device and the external device, the sending of the ranging signal is performed, so as to ensure smooth receiving of the ranging signal.
203. And receiving the ranging signal sent by the external equipment.
The time of receiving the ranging signal can be used as the actual receiving time by receiving the ranging signal sent by the external device, wherein the acquisition of the actual receiving time is convenient for the calculation of the propagation time of the subsequent ranging signal.
Since the ranging signal is received by the electronic device, the actual receiving time is timed by the clock of the electronic device. In consideration of the timing time difference between the electronic device and the external device, the propagation time of the ranging signal needs to be calculated from the target transmission time, the actual reception time, and the time difference of the ranging signal.
204. And calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of receiving the ranging signal, and sending the space distance to the external equipment.
After receiving the ranging signal, the electronic device side already acquires the sending time, the receiving time, the time difference and the type of the ranging signal, so that the electronic device can directly calculate the spatial distance between the electronic device and the external device according to the sending time, the receiving time, the time difference and the ranging signal of the ranging signal, and the calculation of the spatial distance between the electronic device and the external device is accelerated.
The electronic device returns the spatial distance between the electronic device and the external device to the external device, so that the external device can directly obtain the spatial distance between the electronic device and the external device after sending the ranging signal, and the ranging signal sender can conveniently obtain and apply the spatial distance.
In this embodiment, because the ranging signal is affected by the external environment during the propagation process, when the spatial distance between the electronic device and the external device is calculated according to the propagation time and the ranging signal, the spatial distance may be calculated according to the attenuation coefficient of the ranging signal during the propagation process, so as to improve the accuracy of the spatial distance measurement, that is, optionally, in some embodiments of the present application, the step "calculating the spatial distance between the electronic device and the external device according to the target transmission time, the time difference, the ranging signal, and the actual reception time when the ranging signal is received" includes:
determining a propagation attenuation coefficient of the ranging signal;
and calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the propagation attenuation coefficient and the actual receiving time of the received ranging signal.
The propagation attenuation coefficient in the embodiment of the present application may be obtained through multiple experiments, and the propagation attenuation coefficient is different based on different external environments, where specific numerical values and an obtaining manner of the propagation attenuation coefficient are not limited in the embodiment of the present application.
In this embodiment of the present application, when calculating the spatial distance between the electronic device and the external device, the accuracy of calculating the spatial distance between the devices may also be improved in a verification manner, that is, optionally, in some embodiments of the present application, the step "calculating the spatial distance between the electronic device and the external device according to the target sending time, the time difference, the ranging signal, and the actual receiving time at which the ranging signal is received" includes:
demodulating the ranging signal to obtain equipment identification information;
and if the equipment identification information is preset equipment identification information, calculating the spatial distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal.
For example, in the embodiment of the present application, the preset device identification information is identification information of a device for which authorization is established in advance with the electronic device, and the authorization operation can ensure reliability, security, and validity of a ranging signal source.
In the embodiment of the present application, the device of the opposite side that establishes the data communication link may be set as an authorized device, and the sender of the ranging signal and the opposite side of the data communication link are set to be identical, so that the validity of information such as the sending time, the time difference, and the like of the ranging signal can be ensured, and the effective measurement and calculation of the propagation time and the spatial distance can be favorably realized.
According to the embodiment of the application, time synchronization is carried out between the electronic equipment and the external equipment, and the time difference between the electronic equipment and the external equipment is determined, so that the effective time of the ranging signal transmitted between the electronic equipment and the external equipment is calculated according to the time difference, and the space distance between the electronic equipment and the external equipment is calculated according to the effective transmission time. The spatial distance obtained through calculation is returned to the external device, so that the external device sending the ranging signal can directly obtain the spatial distance between the electronic device and the external device after sending the ranging signal, and the spatial distance can be conveniently obtained and applied.
Referring to fig. 4, fig. 4 is a schematic diagram of a specific process of time synchronization between devices and performing ranging between the devices according to an embodiment of the present application, where the specific process of time synchronization between the devices and performing ranging between the devices is as follows:
301. the electronic equipment and the external equipment are connected through Bluetooth; the bluetooth connection mode may include a conventional bluetooth (classic BT) or a Bluetooth Low Energy (BLE);
302. aligning a Bluetooth local clock (RTC) of the electronic equipment and external equipment through a time synchronization mechanism of a Bluetooth link layer (linklayer) to obtain a time difference between the Bluetooth local time of the electronic equipment and the Bluetooth local time of the external equipment;
303. aiming at the electronic equipment, the time synchronization of microsecond (us) level is realized by the local time of the Bluetooth and the local time of the audio frequency in the electronic equipment in a soft bus or hard bus mode, and the time difference between the local time of the Bluetooth and the local time of the audio frequency in the electronic equipment is obtained; similarly, obtaining the time difference between the local time of the Bluetooth and the local time of the audio in the external equipment;
304. acquiring a time difference between the local Bluetooth time of the other party and the local audio time through Bluetooth, and acquiring an audio time difference between the electronic equipment and the external equipment according to the time difference between the local Bluetooth time of the electronic equipment and the local Bluetooth time of the external equipment, the time difference between the local Bluetooth time of the electronic equipment and the audio time and the time difference between the local Bluetooth time of the external equipment and the local audio time of the external equipment, wherein the audio time difference is a time difference (synchronous time parameter) Tsys between the electronic equipment and the external equipment;
305. the electronic equipment issues an instruction and sends a data packet to the external equipment through Bluetooth, wherein the data packet comprises instruction information and time information TS1 of ultrasonic wave emission;
306. when receiving the data packet, the external device analyzes the data packet to obtain instruction information and ultrasonic transmitting time information TS1, and triggers an ultrasonic receiving instruction according to the ultrasonic transmitting time TS1 to start receiving ultrasonic signals;
307. when the ultrasonic wave emission time TS1 is reached, the electronic equipment sends ultrasonic wave signals to external equipment, and the Bluetooth address information or equipment identification information of the electronic equipment is modulated by ultrasonic waves;
308. when the external equipment receives the ultrasonic signal, recording the receiving time TS2 of the received ultrasonic signal, and demodulating the ultrasonic signal to obtain the Bluetooth address information or equipment identification information of the electronic equipment;
309. when the Bluetooth address information or the device identification information obtained by demodulating the ultrasonic signal by the external device is consistent with the Bluetooth address information or the device identification information of the electronic device (the electronic device establishing Bluetooth connection), calculating the space distance between the electronic device and the external device according to the transmitting time TS1 of the ultrasonic signal, the receiving time TS2 of the ultrasonic signal and the time difference Tsys;
310. the external device transmits the spatial distance to the electronic device.
In this embodiment of the present application, the spatial distance L between the electronic device and the external device may be calculated by the following formula, which specifically includes:
L=340*K*(TS2-TS1+Tsys)
k is a sound velocity propagation factor influenced by external factors, namely a propagation attenuation coefficient of ultrasonic waves during propagation between the electronic equipment and the external equipment; tsys is a synchronization time parameter of the audio time of the electronic device and the external device.
The method comprises the steps that the Bluetooth link between the electronic equipment and the external equipment is established, exchange of Bluetooth local time and audio local time can be achieved according to the Bluetooth link, time synchronization between the electronic equipment and the external equipment is further achieved, effective acquisition of propagation time of ranging signals between the electronic equipment and the external equipment can be achieved through the electronic equipment and the external equipment after the time synchronization, and measurement and calculation of space distance between the electronic equipment and the external equipment can be achieved through acquisition of the propagation time of the ranging signals.
Referring to fig. 5, fig. 5 is a schematic diagram of a data transmission process in a distance obtaining process according to an embodiment of the present application, where the data transmission process in the distance obtaining process includes the following steps:
401. the electronic equipment sends a Bluetooth connection request to the external equipment;
402. the external device establishes a Bluetooth connection link with the electronic device based on the Bluetooth connection request;
403. the electronic equipment sends the local Bluetooth time of the electronic equipment to the external equipment through the Bluetooth connection link;
404. the external equipment sends the local Bluetooth time of the external equipment to the electronic equipment after receiving the local Bluetooth time of the electronic equipment sent by the electronic equipment;
405. the electronic equipment sends the local audio time of the electronic equipment to the external equipment through the Bluetooth connection link;
406. the external equipment sends the local audio time of the external equipment to the electronic equipment after receiving the local audio time of the electronic equipment sent by the electronic equipment; calculating the audio time difference (namely the time difference Tsys) between the external equipment and the electronic equipment according to the Bluetooth local time and the audio local time of the electronic equipment and the Bluetooth local time and the audio local time of the external equipment;
407. target sending time TS1 when the electronic device sends the ranging signal to the external device; the external equipment makes ultrasonic signal receiving preparation after receiving the target sending time; the electronic equipment makes ultrasonic signal transmission preparation;
408. after a period of time reaches the target sending time TS1, the electronic equipment sends ultrasonic signals to external equipment;
409. the external equipment receives the ultrasonic signal and analyzes the ultrasonic signal to obtain equipment identification information;
410. when the device identification information is consistent with the device identification of the electronic device, calculating the spatial distance between the external device and the electronic device according to the target sending time TS1, the ultrasonic wave receiving time TS2 and the time difference Tsys;
411. the external device transmits the spatial distance to the electronic device.
The Bluetooth local time and the audio local time can be conveniently sent or exchanged between the electronic equipment and the external equipment through the establishment of the Bluetooth connection link between the electronic equipment and the external equipment, and the time difference between the electronic equipment and the external equipment can be calculated through the exchange of the Bluetooth local time and the audio local time between the electronic equipment and the external equipment, so that the accurate calculation of the propagation time of the ranging signal is facilitated. After the external equipment receives the ranging signal, the spatial distance between the external equipment and the electronic equipment is obtained through calculation directly according to the sending time, the receiving time and the time difference of the ranging signal, and the spatial distance is calculated quickly. The space distance is returned to the electronic equipment, so that a sender of the ranging signal directly obtains the space distance after sending the ranging signal, the application of the space distance is facilitated, meanwhile, the manual field measurement is avoided in the mode of remotely measuring and calculating the space distance between the objects, and the distance measurement efficiency is improved.
In order to better implement the distance acquisition method of the present application, the present application further provides a distance acquisition system based on the distance acquisition method. The meaning of the words in the distance acquisition device is the same as that in the distance acquisition method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a distance obtaining system provided in the present application, where the distance obtaining system may include:
the electronic device 501 is configured to perform time synchronization with the external device, obtain a time difference between the electronic device and the external device, transmit a target sending time of a ranging signal and the time difference to the external device, send the ranging signal to the external device when the target sending time is reached, and receive a spatial distance between the external device and the electronic device, where the spatial distance is returned by the external device;
the external device 502 is configured to receive the ranging signal and the time difference sent by the electronic device, calculate a spatial distance between the external device and the electronic device according to the target sending time, the time difference, the ranging signal, and an actual receiving time at which the ranging signal is received, and send the spatial distance to the electronic device.
In order to better implement the distance acquisition method, the application also provides a distance acquisition device based on the distance acquisition method. The meaning of the words in the distance acquisition device is the same as that in the distance acquisition method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a distance obtaining apparatus according to an embodiment of the present disclosure, where the distance obtaining apparatus is applied to an electronic device, and the distance obtaining apparatus may include:
an obtaining module 601, configured to perform time synchronization with an external device, so as to obtain a time difference between the electronic device and the external device;
a time information transmission module 602, configured to transmit a target sending time of a ranging signal and the time difference to the external device;
a ranging signal sending module 603, configured to send the ranging signal to the external device when the target sending time is reached;
a spatial distance receiving module 604, configured to receive a spatial distance between the external device and the electronic device, where the spatial distance is calculated by the external device according to the ranging signal, the target sending time, the time difference, and an actual receiving time at which the external device receives the ranging signal.
Optionally, in an embodiment of the present application, the obtaining module 601 includes:
the link unit is used for establishing a data transmission link with a communication chip of the external equipment through a communication chip of the electronic equipment;
and the synchronization unit is used for carrying out time synchronization with the external equipment through the data transmission link.
Optionally, in an embodiment of the present application, the ranging signal sending module 603 includes:
the ranging signal sending unit is used for sending the ranging signal to a ranging chip of the external equipment through the ranging chip of the electronic equipment when the target sending time is reached; wherein, the communication chip and the ranging chip send and receive signals of different types.
Optionally, in some embodiments of the present application, the communication chip includes at least one of a bluetooth chip, a zigbee protocol chip, a wireless fidelity network chip, an ultra-wideband chip, or a near field communication chip, and the ranging chip includes at least one of an ultrasonic ranging chip, an electromagnetic wave ranging chip, or an audio chip.
Optionally, in some embodiments of the present application, the obtaining module 601 includes:
the first acquisition unit is used for acquiring a local time difference according to the local time of the communication chip of the electronic equipment and the local time of the communication chip of the external equipment;
the second acquisition unit is used for acquiring a first communication audio time difference according to the local time of the communication chip of the electronic equipment and the audio time of the ranging chip of the electronic equipment;
the third acquisition unit is used for acquiring a second communication audio time difference according to the local time of the communication chip of the external equipment and the audio time of the ranging chip of the external equipment;
and the fourth obtaining unit is used for obtaining the time difference between the electronic equipment and the external equipment according to the local time difference, the first communication audio time difference and the second communication audio time difference.
Referring to fig. 8, fig. 8 is another schematic structural diagram of a distance obtaining apparatus according to an embodiment of the present disclosure, where the distance obtaining apparatus is applied to an electronic device, and the distance obtaining apparatus may include:
a synchronization module 701, configured to perform time synchronization with an external device, to obtain a time difference between the electronic device and the external device;
a time information receiving module 702, configured to receive a target sending time of a ranging signal transmitted by the external device;
a ranging signal receiving module 703, configured to receive the ranging signal sent by the external device;
a spatial distance sending module 704, configured to calculate a spatial distance between the electronic device and the external device according to the target sending time, the time difference, the ranging signal, and an actual receiving time at which the ranging signal is received, and send the spatial distance to the external device.
Optionally, in some embodiments of the present application, the spatial distance sending module 704 includes:
a determining unit for determining a propagation attenuation coefficient of the ranging signal;
and the first calculation unit is used for calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the propagation attenuation coefficient and the actual receiving time of the received ranging signal.
Optionally, in some embodiments of the present application, the spatial distance sending module 704 further includes:
the demodulation unit is used for demodulating the ranging signal to obtain equipment identification information;
and the second calculating unit is used for calculating the spatial distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of receiving the ranging signal if the equipment identification information is preset equipment identification information.
It should be noted that the distance obtaining device provided in the embodiment of the present application and the distance obtaining method in the foregoing embodiment belong to the same concept, and specific implementation processes thereof are detailed in the foregoing related embodiments, and are not described herein again.
The embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program stored in the storage medium is executed on a processor of an electronic device provided in the embodiment of the present application, the processor of the electronic device is caused to execute any of the steps in the distance obtaining method suitable for the electronic device. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
Referring to fig. 9, an electronic device 800 includes a processor 810 and a memory 820.
The processor 810 in the embodiments of the present application may be a general purpose processor, such as an ARM architecture processor.
The memory 820 stores a computer program, which may be a high speed random access memory, and may also be a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid state storage device. Accordingly, the memory 820 may also include a memory controller to provide the processor 810 with access to the memory 820. The processor 810 is operable to execute any of the above distance acquisition methods by executing the computer program in the memory 820, such as:
carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
transmitting the target sending time of the ranging signal and the time difference to the external equipment;
transmitting the ranging signal to the external device when the target transmission time is reached;
and receiving a space distance between the external equipment and the electronic equipment, wherein the space distance is obtained by the external equipment through calculation according to the ranging signal, the target sending time, the time difference and the actual receiving time of the ranging signal received by the external equipment.
The distance obtaining method, device, system, storage medium and electronic device provided by the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A distance acquisition method is applied to electronic equipment and is characterized by comprising the following steps:
carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
transmitting the target sending time of the ranging signal and the time difference to the external equipment;
transmitting the ranging signal to the external device when the target transmission time is reached;
and receiving a space distance between the external equipment and the electronic equipment, wherein the space distance is obtained by the external equipment through calculation according to the ranging signal, the target sending time, the time difference and the actual receiving time of the ranging signal received by the external equipment.
2. The distance acquisition method according to claim 1, wherein said time-synchronizing with the external device comprises:
establishing a data transmission link with a communication chip of the external device through the communication chip of the electronic device;
time synchronization is carried out with the external equipment through the data transmission link;
the sending the ranging signal to the external device when the target sending time is reached includes:
when the target sending time is reached, sending the ranging signal to a ranging chip of the external equipment through the ranging chip of the electronic equipment;
the communication chip and the ranging chip send and receive signals of different types.
3. The distance obtaining method according to claim 2, wherein the communication chip comprises at least one of a bluetooth chip, a zigbee protocol chip, a wireless fidelity network chip, an ultra-wideband chip, or a near field communication chip, and the distance measuring chip comprises at least one of an ultrasonic distance measuring chip, an electromagnetic wave distance measuring chip, or an audio chip.
4. The distance acquisition method according to claim 2, wherein said obtaining a time difference between the electronic device and the external device comprises:
obtaining a local time difference according to the local time of the communication chip of the electronic equipment and the local time of the communication chip of the external equipment;
obtaining a first communication audio time difference according to the local time of a communication chip of the electronic equipment and the audio time of a distance measuring chip of the electronic equipment;
obtaining a second communication audio time difference according to the local time of the communication chip of the external equipment and the audio time of the ranging chip of the external equipment;
and obtaining the time difference between the electronic equipment and the external equipment according to the local time difference, the first communication audio time difference and the second communication audio time difference.
5. A distance acquisition method is applied to electronic equipment and is characterized by comprising the following steps:
carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
receiving the target sending time of the ranging signal transmitted by the external equipment;
receiving the ranging signal sent by the external equipment;
and calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of receiving the ranging signal, and sending the space distance to the external equipment.
6. The method according to claim 5, wherein the calculating a spatial distance between the electronic device and the external device according to the target transmission time, the time difference, the ranging signal, and an actual reception time at which the ranging signal is received comprises:
determining a propagation attenuation coefficient of the ranging signal;
and calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the propagation attenuation coefficient and the actual receiving time of the received ranging signal.
7. The method according to claim 5, wherein the calculating a spatial distance between the electronic device and the external device according to the target transmission time, the time difference, the ranging signal, and an actual reception time at which the ranging signal is received comprises:
demodulating the ranging signal to obtain equipment identification information;
if the equipment identification information is preset equipment identification information, calculating the spatial distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal.
8. A distance obtaining system comprises an electronic device and an external device, and is characterized in that the electronic device is used for carrying out time synchronization with the external device to obtain a time difference between the electronic device and the external device, transmitting a target sending time of a ranging signal and the time difference to the external device, sending the ranging signal to the external device when the target sending time is reached, and receiving a space distance between the external device and the electronic device, wherein the space distance is returned by the external device;
the external device is used for receiving the ranging signal sent by the electronic device and the time difference, calculating a spatial distance between the external device and the electronic device according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal, and sending the spatial distance to the electronic device.
9. A distance acquisition device is applied to electronic equipment and is characterized by comprising:
the acquisition module is used for carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
the time information transmission module is used for transmitting the target sending time of the ranging signal and the time difference to the external equipment;
the ranging signal sending module is used for sending the ranging signal to the external equipment when the target sending time is reached;
and the spatial distance receiving module is used for receiving a spatial distance between the external equipment and the electronic equipment, wherein the spatial distance is obtained by the external equipment through calculation according to the ranging signal, the target sending time, the time difference and the actual receiving time when the external equipment receives the ranging signal.
10. A distance acquisition device is applied to electronic equipment and is characterized by comprising:
the synchronization module is used for carrying out time synchronization with external equipment to obtain a time difference between the electronic equipment and the external equipment;
the time information receiving module is used for receiving the target sending time of the ranging signal transmitted by the external equipment;
the ranging signal receiving module is used for receiving the ranging signal sent by the external equipment;
and the space distance sending module is used for calculating the space distance between the electronic equipment and the external equipment according to the target sending time, the time difference, the ranging signal and the actual receiving time of the ranging signal, and sending the space distance to the external equipment.
11. A storage medium having stored thereon a computer program for performing the steps of the distance acquisition method according to any one of claims 1-7 when the computer program is loaded by a processor of an electronic device.
12. An electronic device comprising a processor and a memory, said memory storing a computer program, wherein said processor performs the steps in the distance acquisition method according to any one of claims 1-4 or 5-7 by loading said computer program.
CN202210255507.6A 2022-03-15 2022-03-15 Distance acquisition method, device, system, storage medium and electronic equipment Active CN114646952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210255507.6A CN114646952B (en) 2022-03-15 2022-03-15 Distance acquisition method, device, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210255507.6A CN114646952B (en) 2022-03-15 2022-03-15 Distance acquisition method, device, system, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114646952A true CN114646952A (en) 2022-06-21
CN114646952B CN114646952B (en) 2024-10-11

Family

ID=81993957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210255507.6A Active CN114646952B (en) 2022-03-15 2022-03-15 Distance acquisition method, device, system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114646952B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024145947A1 (en) * 2023-01-06 2024-07-11 北京小米移动软件有限公司 Information processing methods and apparatuses, and communication device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006234425A (en) * 2005-02-22 2006-09-07 Mitsubishi Electric Corp Time error computation apparatus and time synchronization system
WO2006093162A1 (en) * 2005-03-01 2006-09-08 Inter-University Research Institute Corporation Research Organization Of Information And Systems Ultrasonic distance measuring system and ultrasonic distance measuring method
JP2007139638A (en) * 2005-11-21 2007-06-07 Nec Viewtechnology Ltd Distance measuring system and distance measuring method
WO2016201952A1 (en) * 2015-06-18 2016-12-22 苏州触达信息技术有限公司 Ranging system, positioning system and method, and wearable device
CN106886028A (en) * 2017-02-28 2017-06-23 四川九洲电器集团有限责任公司 A kind of distance-finding method and terminal device
CN111989592A (en) * 2020-07-16 2020-11-24 北京小米移动软件有限公司 Ranging method, device and equipment in synchronous system and readable storage medium
CN112291710A (en) * 2020-09-21 2021-01-29 宇龙计算机通信科技(深圳)有限公司 Distance measuring method, distance measuring device, storage medium and electronic equipment
WO2021017945A1 (en) * 2019-07-31 2021-02-04 Oppo广东移动通信有限公司 Electronic device control method and apparatus, electronic device, and storage medium
CN113514820A (en) * 2021-03-29 2021-10-19 深圳航天科技创新研究院 Time synchronization and distance measurement method and device, electronic equipment and storage medium
WO2022000354A1 (en) * 2020-06-30 2022-01-06 Oppo广东移动通信有限公司 Method for ranging and terminal device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006234425A (en) * 2005-02-22 2006-09-07 Mitsubishi Electric Corp Time error computation apparatus and time synchronization system
WO2006093162A1 (en) * 2005-03-01 2006-09-08 Inter-University Research Institute Corporation Research Organization Of Information And Systems Ultrasonic distance measuring system and ultrasonic distance measuring method
JP2007139638A (en) * 2005-11-21 2007-06-07 Nec Viewtechnology Ltd Distance measuring system and distance measuring method
WO2016201952A1 (en) * 2015-06-18 2016-12-22 苏州触达信息技术有限公司 Ranging system, positioning system and method, and wearable device
CN106886028A (en) * 2017-02-28 2017-06-23 四川九洲电器集团有限责任公司 A kind of distance-finding method and terminal device
WO2021017945A1 (en) * 2019-07-31 2021-02-04 Oppo广东移动通信有限公司 Electronic device control method and apparatus, electronic device, and storage medium
WO2022000354A1 (en) * 2020-06-30 2022-01-06 Oppo广东移动通信有限公司 Method for ranging and terminal device
CN111989592A (en) * 2020-07-16 2020-11-24 北京小米移动软件有限公司 Ranging method, device and equipment in synchronous system and readable storage medium
CN112291710A (en) * 2020-09-21 2021-01-29 宇龙计算机通信科技(深圳)有限公司 Distance measuring method, distance measuring device, storage medium and electronic equipment
CN113514820A (en) * 2021-03-29 2021-10-19 深圳航天科技创新研究院 Time synchronization and distance measurement method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024145947A1 (en) * 2023-01-06 2024-07-11 北京小米移动软件有限公司 Information processing methods and apparatuses, and communication device and storage medium

Also Published As

Publication number Publication date
CN114646952B (en) 2024-10-11

Similar Documents

Publication Publication Date Title
CN103513230B (en) The position using round-trip delay and arrival angle determines
TWI605262B (en) Polled time-of-flight response
EP4007927B1 (en) Electronic device for determining path of line of sight (los) and method for the same
US8837316B2 (en) RTT based ranging system and method
US7236126B2 (en) AGPS system using NTP server and method for determining the location of a terminal using a NTP server
CN112187627B (en) Interaction control method and system, wearable device, mobile terminal and storage medium
CN109714700B (en) Synchronization method, positioning method, main base station and positioning system
KR20210020616A (en) Electronic device and method for calculating position
CN113009461B (en) Improved single-side two-way distance measuring method, equipment, system and medium based on UWB
CN114646952B (en) Distance acquisition method, device, system, storage medium and electronic equipment
TW202002699A (en) Method and apparatus for determining a position of a terminal
CN112020082A (en) Electronic device for adjusting peak voltage of UWB transmission signal and operation method thereof
CN108351397B (en) Batch fine timing measurement message scheduling
US11297464B2 (en) Method for jiggling compensation during object recognition and electronic device thereof
CN115443665A (en) Method and terminal device for ranging
CN112698311A (en) Ranging method, ranging device, ranging system, intelligent device and computer readable storage medium
CN115665660A (en) UWB-based positioning method, device and medium
CN111149313B (en) Data transmission method and equipment
WO2018035740A1 (en) Time measurement-based positioning method, and relevant device and system
US10104489B2 (en) Method for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers in a setup of a surround sound system
US10856108B2 (en) System and method of locating a radio frequency (RF) tracking device using a calibration routine
TWI837352B (en) Positioning system,method and mobile terminal
CN114222362A (en) Positioning method and positioning device
US20170118587A1 (en) Location detection using bulk fine timing
JP2022084136A (en) Wireless communication device, system, and program

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
GR01 Patent grant