WO2023179690A1 - 测距方法及装置 - Google Patents

测距方法及装置 Download PDF

Info

Publication number
WO2023179690A1
WO2023179690A1 PCT/CN2023/083175 CN2023083175W WO2023179690A1 WO 2023179690 A1 WO2023179690 A1 WO 2023179690A1 CN 2023083175 W CN2023083175 W CN 2023083175W WO 2023179690 A1 WO2023179690 A1 WO 2023179690A1
Authority
WO
WIPO (PCT)
Prior art keywords
ranging
resource
information
measurement information
frame
Prior art date
Application number
PCT/CN2023/083175
Other languages
English (en)
French (fr)
Inventor
王康
李卫华
彭澍
Original Assignee
华为技术有限公司
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
Priority claimed from CN202210727259.0A external-priority patent/CN116840822A/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023179690A1 publication Critical patent/WO2023179690A1/zh

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present application relates to the field of communications, and in particular, to a ranging method and device.
  • Ultra wide band (UWB) technology has the characteristics of high transmission rate, large system capacity, and large spectrum bandwidth. These characteristics of UWB technology enable it to have high time resolution, strong multipath resistance, and ranging. The accuracy is high, so UWB technology can be used to achieve ranging.
  • the first device uses the UWB system to broadcast and send ranging parameters
  • the UWB system of at least one second device receives the ranging parameters
  • the UWB system of the first device communicates with the UWB system of at least one second device.
  • the systems complete the ranging between devices based on this ranging parameter.
  • the UWB system of the device not only maintains the ranging parameters, but also performs ranging. This requires the device's UWB system to perform complex tasks for a long time, resulting in excessive power consumption.
  • Embodiments of the present application provide a ranging method and device, which can solve the problem of excessive power consumption of the equipment during the ranging process and save the power consumption of the equipment.
  • the first aspect is to provide a ranging method.
  • the ranging method includes: a first device uses a first resource to send a ranging control frame to a second device, and the first device uses the second resource to interact with the second device to perform ranging based on ranging parameter information.
  • the ranging control frame includes ranging parameter information
  • the ranging parameter information is used for ranging
  • the bandwidth of the second resource is greater than the bandwidth of the first resource.
  • the first device uses a first resource with a lower bandwidth to send a ranging control frame to the second device.
  • the ranging control frame includes ranging parameter information.
  • the second resource is used to perform ranging.
  • the first resource with lower bandwidth is used to perform part of the actions in the ranging process, which reduces the time occupied by the second resource with higher bandwidth, thereby reducing the measurement cost. power consumption during the distance process.
  • the second resource is used to perform ranging, which can reduce power consumption without reducing ranging accuracy.
  • the ranging method provided in the first aspect may further include: the first device using the first resource to send a ranging beacon frame to the second device.
  • the ranging beacon frame can be used to request the establishment of a personal area network.
  • the first device requests to establish a personal area network through the first resource with lower bandwidth, thereby reducing the time of occupying the second resource with higher bandwidth, which can further reduce the power consumption of the first device.
  • the ranging method provided in the first aspect may further include: the first device uses the first resource and the second device to form a personal area network.
  • the first device and the second device establish a personal area network through the first resource with lower bandwidth, reducing the time of occupying the second resource with higher bandwidth, and further reducing power consumption.
  • the ranging method provided in the first aspect may further include: the first device using the first resource to receive identification information from the second device.
  • the identification information may be used to identify the second device. That is to say, after the first device and the second device establish a personal area network, the second device can use the first resource to send the identifier or address of the second device to the first device, so that the first device can learn about the established personal area network. equipment included.
  • the first device uses the second resource and the ranging parameter information according to the ranging parameter information.
  • the second device interacts to perform ranging, which may include: the first device uses the second resource to receive the first measurement report from the second device; the first device uses the second resource to obtain the first measurement report based on the first measurement information and the second measurement information.
  • First distance information may include first measurement information, and the first measurement information indicates the period between when the second device receives the first ranging initiation frame from the first device and when the second device sends the first ranging response frame to the first device. time period.
  • the second measurement information may indicate a time period between the first device sending the first ranging initiation frame and the first device receiving the first ranging response frame, and the first distance information may include the distance between the first device and the second device. . In this way, when the first device is the ranging initiator, the first device can use the second resource to obtain the first distance information with higher accuracy.
  • the first measurement report may also include third measurement information, and the third measurement information may instruct the second device to send a first ranging response frame to the second device to receive the first measurement from the first device.
  • the first ranging final frame is sent by the first device after receiving the first ranging response frame. In this way, the estimation error caused by clock drift can be reduced through the first ranging final frame, thereby improving ranging accuracy.
  • the above-mentioned first device uses a second resource to obtain the first distance information based on the first measurement information and the second measurement information, which may include: the first device uses the second resource, and obtains the first distance information based on the first measurement information. , the second measurement information, the third measurement information and the fourth measurement information to obtain the first distance information.
  • the fourth measurement information may indicate a time period between the first device receiving the first ranging response frame and the first device sending the first ranging final frame. In this way, the first device can obtain the first distance information with higher accuracy through the first ranging final frame.
  • the ranging method provided in the first aspect may further include: the first device using the first resource to send the first distance information to the second device. That is to say, the first device sends the ranging result to the second device through the first resource with lower power consumption, which can further reduce power consumption.
  • the first device uses the second resource and the ranging parameter information according to the ranging parameter information.
  • the second device interacts to perform ranging, which may include: the first device uses a second resource to send a second measurement report to the second device.
  • the second measurement report includes fifth measurement information, and the fifth measurement information may indicate the period between the first device receiving the second ranging initiation frame from the second device and the first device sending the second ranging response frame to the second device. time period.
  • the method provided by the embodiments of the present application can be applied in a one-to-many or many-to-many scenario.
  • the first device is the ranging initiator, or the second device is the ranging initiator.
  • both the first device and the second device may be ranging initiators.
  • the second measurement report may also include seventh measurement information, and the seventh measurement information may instruct the first device to send a second ranging response frame to the first device to receive the second measurement from the second device.
  • the time period between last frames In this way, the estimation error caused by clock drift can be reduced through the second ranging final frame, Thereby improving the ranging accuracy.
  • the ranging method provided in the first aspect may further include: the first device using the first resource to receive the second distance information from the second device.
  • the second distance information may include the distance between the first device and the second device. That is to say, the first device can receive the second distance information through the first resource with lower power consumption, which can further reduce power consumption.
  • the second aspect is to provide a ranging method.
  • the ranging method includes: the second device uses a first resource to receive a ranging control frame from the first device, and the second device uses the second resource to interact with the first device to perform ranging based on the ranging parameter information.
  • the ranging control frame includes ranging parameter information, and the ranging parameter information is used for ranging.
  • the bandwidth of the second resource is greater than the bandwidth of the first resource.
  • the ranging method provided in the second aspect may further include: the second device uses the first resource to receive the ranging beacon frame from the first device.
  • the ranging beacon frame can be used to request the establishment of a personal area network.
  • the ranging method provided in the second aspect may further include: the second device uses the first resource to establish a personal area network with the first device.
  • the ranging method provided in the second aspect may further include: in response to the second device using the first resource to establish a personal area network with the first device, the second device using the first resource to send a request to the first device.
  • the device sends identification information.
  • the identification information may be used to identify the second device.
  • the second device uses the second resource and the ranging parameter information according to the ranging parameter information.
  • the first device interacts to perform ranging, which may include: the second device uses a second resource to send a first measurement report to the first device.
  • the first measurement report may include first measurement information, and the first measurement information may indicate that the second device receives the first ranging initiation frame from the first device and the second device sends the first ranging response frame to the first device. time period in between.
  • the first measurement report may also include third measurement information, and the third measurement information may instruct the second device to send a first ranging response frame to the second device to receive the first measurement from the first device. The time period between last frames.
  • the ranging method provided in the second aspect may further include: the second device uses the first resource to receive the first distance information from the first device.
  • the first distance information may include the distance between the first device and the second device.
  • the second device uses the second resource and the ranging parameter information according to the ranging parameter information.
  • the first device interacts to perform ranging, which may also include: the second device uses a second resource to receive a second measurement report from the first device, and the second device uses the second resource to obtain according to the fifth measurement information and the sixth measurement information.
  • Second distance information may also include: the second device uses a second resource to receive a second measurement report from the first device, and the second device uses the second resource to obtain according to the fifth measurement information and the sixth measurement information.
  • Second distance information includes fifth measurement information
  • the fifth measurement information indicates the time between the first device receiving the second ranging initiation frame from the second device and the first device sending the second ranging response frame to the second device. period.
  • the sixth measurement information indicates a time period between the second device sending the second ranging initiation frame and the second device receiving the second ranging response frame
  • the second distance information includes the distance between the first device and the second device.
  • the second measurement report may also include seventh measurement information, and the seventh measurement information may instruct the first device to send a second ranging response frame to the first device to receive the second measurement from the second device. The time period between last frames.
  • the second device uses the second resource to obtain the second distance information based on the fifth measurement information and the sixth measurement information, which may include: the second device uses the second resource, and obtains the second distance information based on the fifth measurement information. , the sixth measurement information, the seventh measurement information and the eighth measurement information to obtain the second distance information.
  • the eighth measurement information may indicate a time period between the second device receiving the second ranging response frame and the second device sending the second ranging final frame.
  • the ranging method provided in the second aspect may further include: the second device uses the first resource to send the second distance information to the first device.
  • a communication device in a third aspect, includes: a first communication module and a second communication module. Wherein, the first communication module is used to wake up the second communication module.
  • the first communication module is configured to use the first resource to perform the method performed using the first resource in any one of the possible implementations of the first aspect to the second aspect.
  • the second communication module is used to use the second resource to perform the method performed by using the second resource in any of the possible implementations of the first aspect to the second aspect, and the bandwidth of the first resource is smaller than the bandwidth of the second resource. .
  • first communication module 201 and the second communication module 202 can be set up separately or integrated into one module. This application is not limited to this, as long as they can realize corresponding functions.
  • the communication device described in the third aspect may further include a storage module and/or a transceiver module, and the storage module stores computer programs or instructions.
  • the communication device described in the third aspect can perform the ranging method described in the first to second aspects.
  • a transceiver module can be used for the communication device to communicate with other devices or communication devices.
  • the transceiver module can be integrated with the first communication module and/or the second communication module, or can exist independently.
  • the transceiver module may include a receiving module and a sending module.
  • the receiving module is used to receive data and/or signaling from other devices; the sending module is used to send data and/or signaling to other devices.
  • This application does not specifically limit the specific implementation of the transceiver module.
  • the communication device described in the third aspect may be the first device or the second device, or may be a chip or chip system provided in the first device or the second device, which is not limited in this application.
  • a fourth aspect provides a communication device.
  • the communication device includes a processor coupled to a memory for storing a computer program.
  • the processor is configured to execute a computer program stored in the memory, so that the method described in any possible implementation manner of the first aspect to the second aspect is executed.
  • the communication device described in the fourth aspect may further include a transceiver.
  • the transceiver can be a transceiver circuit or an input/output port.
  • the transceiver may be used for the communication device to communicate with other devices.
  • the input port can be used to implement the receiving function involved in the first aspect to the second aspect
  • the output port can be used to implement the sending function involved in the first aspect to the second aspect
  • the communication device described in the fourth aspect may be the first device or the second device, or a chip or chip system provided inside the first device or the second device.
  • a fifth aspect provides a communication system.
  • the communication system includes a first device and a second device.
  • the number of first devices may be one or more, and the number of second devices may be one or more.
  • the first device is used to implement the method described in the first aspect.
  • the first device is used to implement the method described in the second aspect.
  • the communication system includes a communication device as described in the third aspect for implementing the method as described in the first aspect (the communication device is a first device), and a communication device as described in the third aspect for implementing the method as described in the second aspect.
  • the communication device of the method (the communication device is the second device).
  • a chip system which includes a logic circuit and an input/output port.
  • the logic circuit is used to implement the processing functions involved in the first aspect to the second aspect
  • the input/output port is used to implement the transceiver functions involved in the first aspect to the second aspect.
  • the input port can be used to implement the receiving function involved in the first aspect to the second aspect
  • the output port can be used to implement the sending function involved in the first aspect to the second aspect.
  • the chip system further includes a memory, which is used to store program instructions and data for implementing the functions involved in the first to second aspects.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a computer-readable storage medium stores a computer program or instructions; when the computer program or instructions are run on a computer, any one of the first aspect to the second aspect is enabled. Possible implementations of the described method are executed.
  • An eighth aspect provides a computer program product, including a computer program or instructions.
  • the computer program or instructions are run on a computer, the method described in any one of the possible implementations of the first to second aspects is implemented. implement.
  • Figure 1 is a schematic architectural diagram of a communication system provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • Figure 4 is a schematic diagram of a ranging process provided by an embodiment of the present application.
  • Figure 5 is a schematic flow chart of a ranging method provided by an embodiment of the present application.
  • Figure 6 is a schematic flow chart of another ranging method provided by an embodiment of the present application.
  • Figure 7 is a schematic diagram of another ranging process provided by an embodiment of the present application.
  • Figure 8 is a schematic flow chart of another ranging method provided by an embodiment of the present application.
  • Figure 9 is an application schematic diagram of a ranging method provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of the application of a ranging method provided by an embodiment of the present application.
  • FIG. 1 is a schematic architectural diagram of a communication system to which the ranging method provided by the embodiment of the present application is applicable.
  • a communication system applicable to the embodiments of the present application is first described in detail, taking the communication system shown in FIG. 1 as an example. It should be noted that the solutions in the embodiments of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced with the names of corresponding functions in other mobile communication systems.
  • the communication system includes a first device and a second device.
  • the number of first devices may be one or more, and the number of second devices may be one or more.
  • the above-mentioned first device or second device may be a terminal with ranging or positioning functions or a chip or chip system that may be disposed in the terminal.
  • the first device or the second device may also be called user equipment (UE), user device, access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal , mobile device, user terminal, terminal, terminal unit, terminal station, terminal device, wireless communication device, user agent or user device.
  • UE user equipment
  • MS mobile station
  • remote station remote terminal
  • mobile device user terminal, terminal, terminal unit, terminal station, terminal device, wireless communication device, user agent or user device.
  • the first device or the second device in the embodiment of the present application may be a mobile phone, a wireless data card, a personal digital assistant (personal digital assistant, PDA) computer, a laptop computer, or a tablet.
  • MTC machine type communication
  • VR virtual reality
  • AR augmented reality
  • IoT Internet of things
  • wireless terminals in industrial control wireless terminals in self-driving
  • wireless terminals in remote medical smart grids Wireless
  • the access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) , handheld devices (handsets) with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, wearable devices, etc.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the first device or the second device in the embodiment of the present application may be an express delivery terminal in smart logistics (such as a device that can monitor the location of cargo vehicles, a device that can monitor the temperature and humidity of cargo, etc.), or a wireless terminal in smart agriculture.
  • an express delivery terminal in smart logistics such as a device that can monitor the location of cargo vehicles, a device that can monitor the temperature and humidity of cargo, etc.
  • a wireless terminal in smart agriculture such as a device that can monitor the location of cargo vehicles, a device that can monitor the temperature and humidity of cargo, etc.
  • the terminal device of this application may be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit built into the vehicle as one or more components or units.
  • the vehicle uses the built-in vehicle-mounted module, vehicle-mounted module , vehicle-mounted components, vehicle-mounted chips or vehicle-mounted units can implement the method provided by this application.
  • the ranging method provided by the embodiment of the present application can be applied in various ranging or positioning scenarios. It should be understood that the scenarios described in the embodiments of this application are to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art will know that with the network architecture evolution and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
  • FIG. 1 is only a simplified schematic diagram for ease of understanding.
  • the communication system may also include other network devices, which are not shown in FIG. 1 .
  • this application provides a communication device for performing the ranging method provided in the following embodiments of this application.
  • the communication device is used to implement various methods described below. It can be understood that, in order to implement the following functions, the communication device includes corresponding hardware structures and/or software modules for performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
  • Embodiments of the present application can divide the communication device into functional modules according to the following method embodiments.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
  • FIG. 2 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device 200 may be a first device or a second device, or may be a chip or other component with a ranging function that is applicable to the first device or the second device.
  • the communication device 200 includes a first communication module 201 and a second communication module 202 .
  • the first communication module 201 can wake up the second communication module 202.
  • the first communication module 201 is used to use the first resource to perform related functions performed by using the first resource in the ranging method provided in the following embodiments of this application. For details, please refer to the following method embodiments, which are not mentioned here. Again.
  • the second communication module 202 is used to use the second resource to perform related functions performed by using the second resource in the ranging method provided in the following embodiments of the present application. For details, please refer to the following method embodiments, which are not mentioned here. Again.
  • the bandwidth of the first resource is less than the bandwidth of the second resource.
  • the first communication module 201 may be called a narrowband module or a narrowband system
  • the second communication module 202 may be called a broadband module, a broadband system, a UWB module, or a UWB system, etc. This application does not specifically limit this.
  • the first communication module 201 may include, but is not limited to: Bluetooth low energy (BLE) module, wireless fidelity (Wi-Fi) module, near field communication (near field communication), NFC) module, and/or greentooth low energy (GLE) module.
  • BLE Bluetooth low energy
  • Wi-Fi wireless fidelity
  • NFC near field communication
  • GLE greentooth low energy
  • the second communication module 202 may include, but is not limited to: a UWB module.
  • first communication module 201 and the second communication module 202 can be set up separately or integrated into one module. This application is not limited to this, as long as they can realize corresponding functions.
  • the communication device 200 may also include a storage module and/or a transceiver module (not shown in Figure 2).
  • the first communication module 201 and the second communication module 202 can be coupled with the storage module and/or the transceiver module.
  • the transceiver module can be integrated with the first communication module 201 and/or the second communication module 202, or can exist independently.
  • the storage module is used to store the computer program for executing the solution of the present application, and the execution is controlled by the first communication module 201 and the second communication module 202 .
  • Transceiver module used for communication with other communication devices.
  • the communication device 200 is a first device, and the transceiver module can be used to communicate with the second device.
  • the communication device 200 is a second device, and the transceiver module can be used to communicate with the first device.
  • the transceiver module may include a receiving module and a transmitting module (not shown in Figure 2). Among them, the receiving module is used to implement the receiving function, and the sending module is used to implement the sending function.
  • the structure of the communication device 200 shown in FIG. 2 does not constitute a limitation on the communication device.
  • the actual communication device may include more or less components than shown in the figure, or some components may be combined, or Different component arrangements.
  • FIG. 3 is a schematic structural diagram of another communication device 300 that can be used to perform the ranging method provided by the embodiment of the present application.
  • the communication device 300 may be a first device or a second device, or may be a chip or other component with a ranging function that is applicable to the first device or the second device.
  • the communication device 300 includes a processor 301 .
  • the communication device 300 may also include a memory 302 and/or a transceiver 303.
  • the processor 301 is coupled to the memory 302 and the transceiver 303, for example, through a communication bus.
  • the processor 301 is the control center of the communication device 300 and may be one processor or a collective name for multiple processing elements.
  • the processor 301 is one or more central processing units (CPUs), may also be an application specific integrated circuit (ASIC), or may be configured to implement one or more embodiments of the present application.
  • An integrated circuit such as one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
  • the processor 301 can perform various functions of the communication device 300 by running or executing software programs stored in the memory 302 and calling data stored in the memory 302 .
  • the processor 301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3 .
  • the communication device 300 may also include multiple processors, such as the processor 301 and the processor 304 shown in FIG. 3 .
  • processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • a processor here may refer to one or more communications devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the memory 302 may be a read-only memory (ROM) or other type of static storage communication device that can store static information and instructions, a random access memory (random access memory, RAM) or other type that can store information and instructions.
  • type of dynamic storage communication device which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, Optical disc storage (including compression Optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage communication device, or can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer any other medium, but not limited to this.
  • the memory 302 may be integrated with the processor 301 or may exist independently and be coupled to the processor 301 through the input/output port (not shown in FIG. 3 ) of the communication device 300. This is not specifically limited in the embodiment of the present application.
  • the memory 302 is used to store software programs for executing the solution of the present application, and is controlled by the processor 301 for execution.
  • the processor 301 for executing the solution of the present application, and is controlled by the processor 301 for execution.
  • Transceiver 303 used for communication with other communication devices.
  • the communication device 300 is a first device, and the transceiver 303 can be used to communicate with a second device.
  • the communication device 300 is a second device, and the transceiver 303 can be used to communicate with the first device.
  • the transceiver 303 may include a receiver and a transmitter (not shown separately in FIG. 3). Among them, the receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.
  • the transceiver 303 may be integrated with the processor 301, or may exist independently and be coupled to the processor 301 through the input/output port (not shown in Figure 3) of the communication device 300. This is not specifically limited in the embodiment of the present application. .
  • the structure of the communication device 300 shown in FIG. 3 does not constitute a limitation on the communication device.
  • the actual communication device may include more or less components than shown in the figure, or some components may be combined, or Different component arrangements.
  • ranging parameter information may be used to perform ranging.
  • the ranging parameter information may include, but is not limited to, one or more of the following: ranging role information, ranging moment information, and ranging duration information.
  • the ranging role information may be used to indicate the ranging role of the device in the ranging process.
  • the ranging roles in the ranging process may include: ranging initiator and ranging responder.
  • a ranging initiator can initiate a ranging request, such as sending a ranging initiation frame, and a ranging responder can receive the ranging request.
  • Ranging responders can send ranging response frames, and ranging requesters can receive ranging response frames.
  • the number of ranging initiators may be one or more, and the number of ranging responders may be one or more.
  • the ranging role information may indicate that the first device is the ranging initiator, and correspondingly, the second device is the ranging responder.
  • the ranging role information may also indicate that the second device is the ranging initiator, and correspondingly, the first device is the ranging responder.
  • the ranging role information may indicate that the ranging initiator includes the first device and the second device, and the ranging responder includes the first device and the second device. In this way, both the first device and the second device can initiate ranging.
  • the ranging time information may be used to indicate the time at which the device performs ranging.
  • the ranging time information may indicate the time at which each device in the communication system sends a ranging initiation frame, a ranging response frame, a ranging final frame, and/or a ranging report, and the like.
  • the ranging duration information may be used to indicate the duration for which the device performs ranging.
  • the ranging duration information may indicate the total duration of the ranging phase, and may also indicate the duration of each sub-phase in the ranging phase.
  • the applicable ranging methods for the method provided in this application may include: OWR method, SS-TWR method and DS-TWR method.
  • Figure 4 is a schematic diagram of a ranging process provided by an embodiment of the present application.
  • the OWR method can include the ranging control phase (RCP), the ranging response phase (ranging response phase, RRP), the measurement report phase (measurement report phase, MRP), and the ranging control update phase ( ranging control update phase, RCUP).
  • RCP ranging control phase
  • RRP ranging response phase
  • MRP measurement report phase
  • RCUP ranging control update phase
  • the OWR method can be applied to time difference of arrival (TDOA) systems.
  • TDOA time difference of arrival
  • both the SS-TWR method and the DS-TWR method can be divided into two scenarios: one-to-many and many-to-many.
  • a one-to-many scenario only one device initiates a ranging request, and the number of ranging initiators is one.
  • a many-to-many scenario at least two devices initiate ranging requests, and the number of ranging initiators can be multiple.
  • the SS-TWR method may include the RCP phase, ranging initiation phase (RIP), RRP phase, MRP phase, and RCUP phase.
  • the RCP phase and RIP can be combined, for example, the ranging controller sends the ranging control frame and the ranging initiation frame at the same time.
  • the DS-TWR method may include the RCP phase, the RIP phase, the RRP phase, the ranging final phase (RFP) phase, the MRP phase, and the RCUP phase.
  • the ranging controller can send a ranging control frame, such as a ranging control message (RCM), which can include ranging parameter information.
  • RCM ranging control message
  • the ranging controller may be a device that generates and sends a ranging control frame, and the device that receives the ranging control frame may be a ranging controlled party.
  • the blank grid in Figure 4 may represent an idle time period.
  • the ranging parameter information may include ranging role information, ranging time information, and/or ranging duration information.
  • the ranging role information may include: device 1 is the ranging initiator, and device 2 to device N+1 are the ranging responders.
  • the ranging role information may include: device 1 is the ranging initiator, and device 2 to device N+1 are the ranging responders.
  • the ranging role information may include: M devices (for example, device 1 to device M) are ranging initiators, and N devices (for example, device 1 to device N) are ranging responders.
  • N is an integer less than or equal to N+1, and N is an integer greater than or equal to 1.
  • the device that sends the ranging control frame can be a ranging initiator or a ranging responder.
  • the ranging time information can indicate the corresponding time of sending the ranging response frame of N ranging responders (that is, the time corresponding to R 1 to R N ), and can indicate the ranging responder The corresponding time when the ranging report is sent (that is, the time corresponding to the MR).
  • the ranging time information can indicate the corresponding time when the ranging initiator sends the ranging initiation frame (i.e., the time corresponding to I 1 , or the time corresponding to I 1 to IM ), the ranging responder can be instructed to send the ranging response frame correspondingly (i.e., the time corresponding to R 1 to R N ), and the ranging initiator or the ranging responder can be instructed to send the ranging response frame correspondingly.
  • the reported time that is, the time corresponding to MR 1 moment, or the time corresponding to MR 1 to MR M ).
  • the ranging time information can also indicate the time when the ranging initiator sends the final ranging frame (that is, the time corresponding to F 1 or the time corresponding to F 1 to F M ).
  • the ranging initiator sends the ranging report to the ranging responder, or whether the ranging responder sends the ranging report to the ranging initiator.
  • the ranging duration information may indicate the total duration of the ranging phase corresponding to the OWR mode, SS-TWR mode or DS-TWR mode.
  • the ranging duration information may also indicate the duration of each sub-phase in the ranging phase.
  • the ranging duration information may indicate the total duration from the RCP phase to the RCUP phase.
  • the ranging duration information may also indicate the duration of the RCP phase, the duration of the RRP phase, the duration of the MRP phase, and/or the duration of the RCUP phase.
  • the ranging initiator sends a ranging initiation frame to the ranging responder at the time corresponding to I 1 or the time corresponding to I 1 to IN respectively.
  • the frame may include a timestamp corresponding to sending the ranging initiation frame.
  • the ranging responder adds a timestamp corresponding to receiving the ranging initiation frame to the ranging initiation frame.
  • N ranging controlled persons send ranging response frames to the ranging controller at times corresponding to R 1 to R N.
  • the ranging response frames may include sending the ranging response frames corresponding to the ranging response frames. Timestamp. After receiving the ranging initiation frame, the ranging controller adds a timestamp corresponding to receiving the ranging initiation frame to the ranging initiation frame.
  • the ranging responder sends a ranging response frame to the ranging initiator at the time corresponding to R 1 or the time corresponding to R 1 to R N.
  • the ranging response The frame may include a timestamp corresponding to sending the ranging response frame.
  • the ranging initiator adds a timestamp corresponding to receiving the ranging response frame to the ranging response frame.
  • the ranging controller can send a measurement report to the ranging controller at the time corresponding to the MR.
  • the ranging initiator sends a measurement report to the ranging responder at the time corresponding to MR 1 or the time corresponding to MR 1 to MR M ; or, the ranging response
  • the measurement report is sent to the ranging initiator at the time corresponding to MR 1 or the time corresponding to MR 1 to MR N respectively.
  • measurement results can also be transmitted between the ranging controller and the ranging controlled party.
  • the ranging initiator sends the ranging final frame to the ranging responder at the time corresponding to F 1 or the time corresponding to F 1 to FM .
  • the final ranging frame may include sending The timestamp corresponding to the final frame of this ranging.
  • the ranging responder adds the timestamp corresponding to receiving the final ranging frame to the final ranging frame.
  • the DS-TWR method including the RFP stage can reduce the estimation error caused by clock drift.
  • the ranging control message can be updated.
  • the ranging controller can send a ranging control update message (ranging control update message, RCM).
  • the first device uses a UWB system to broadcast and send the ranging parameters
  • the UWB system of at least one second device receives the ranging parameters.
  • the UWB system of the first device and the UWB system of at least one second device execute the RIP phase, the RRP phase, the RFP phase, and the MRP phase, and the corresponding functions to perform ranging, and then execute the RCUP phase to measure the distance. Control messages are updated.
  • UWB technology has the characteristics of high transmission rate, large system capacity, and large spectrum bandwidth. If the UWB system of the device performs complex tasks for a long time, it will lead to The device's power consumption is too high.
  • Figure 5 is a schematic flowchart of a ranging method provided by an embodiment of the present application. The method shown in Figure 5 is explained by taking the first device sending a ranging control frame as an example.
  • the ranging method includes the following steps:
  • the first device uses the first resource to send a ranging control frame to the second device.
  • the second device uses the first resource to receive the ranging control frame from the first device.
  • the first communication module of the first device sends a ranging control frame to the first communication module of the second device.
  • the first communication module of the second device receives the ranging control frame from the first communication module of the first device.
  • the ranging control frame may include ranging parameter information.
  • ranging parameter information may be used to perform ranging.
  • the ranging parameter information may be obtained through first resource negotiation between the first device and the second device.
  • the ranging parameter information may include but is not limited to one or more of the following: the first device is the ranging initiator, and correspondingly, the second device is the ranging responder; the second device is the ranging initiator, Correspondingly, the first device is a ranging responder; the first initiation time, the first response time, the first reporting time, the second initiation time, the second response time, the second reporting time, the first final time, and the second The final moment.
  • the first initiation time may be the time when the first device sends the ranging initiation frame.
  • the first initiation time may be the time corresponding to I 1 in the SS-TWR mode and the DS-TWR mode.
  • the first response time may be a time corresponding to the second device sending the ranging response frame.
  • the first response time may be the time corresponding to R 1 in the OWR mode, SS-TWR mode and DS-TWR mode.
  • the first reporting time may be the time when the second device sends the measurement report.
  • the first reporting time may be the time corresponding to MR 1 in the SS-TWR mode and the DS-TWR mode.
  • the second initiation time may be the time when the second device sends the ranging initiation frame.
  • the second initiation time may be the time corresponding to I2 in the many-to-many scenario of SS-TWR mode and DS-TWR mode.
  • the second response time may be a time corresponding to the first device sending the ranging response frame.
  • the second response time may be the time corresponding to R2 in the many-to-many scenario of SS-TWR mode and DS-TWR mode.
  • the second reporting time may be the time when the first device sends the measurement report.
  • the second response moment can be a many-to-many field in SS-TWR mode and DS-TWR mode.
  • the first final moment may be the moment when the first device sends the final ranging frame.
  • the first final time may be the time corresponding to F 1 in the DS-TWR mode.
  • the second final time may be the time when the second device sends the final ranging frame.
  • the second final time may be the time corresponding to F2 in the DS-TWR mode.
  • the ranging parameter information may also include ranging duration information.
  • the first device and the second device may perform ranging according to the duration indicated by the ranging duration information.
  • the first device uses the first resource with lower power consumption to send the ranging parameters to the second device, thereby reducing the time occupied by the second resource with higher power consumption, thereby reducing power consumption during the ranging process.
  • the method provided by the embodiment of the present application may also include: S503, the first device uses the first resource to send a ranging beacon frame to the second device.
  • the second device uses the first resource to receive the ranging beacon frame from the first device.
  • the first communication module of the first device sends a ranging beacon frame to the first communication module of the second device.
  • the first communication module of the second device receives the ranging beacon frame from the first communication module of the first device.
  • the ranging beacon frame can be used to request the establishment of a personal area network.
  • the first device uses the first resource to initiate establishment of the personal area network.
  • the ranging beacon frame can also be used for time synchronization between devices in the personal area network and/or broadcast of network parameter information.
  • the network parameter information can indicate parameters used for networking.
  • ranging beacon frames may be sent periodically.
  • the second device may also initiate the establishment of a personal area network.
  • Figure 5 takes the first device initiating the establishment of a personal area network as an example for explanation.
  • the method provided by the embodiment of the present application may also include: S504, using the first resource to establish a personal area network between the second device and the first device.
  • a personal area network is established between the first communication module of the first device and the first communication module of the second device.
  • the first device and the second device establish a personal area network through the first resource with lower power consumption, reduce the time of occupying the second resource with higher power consumption, and further reduce power consumption.
  • the method provided by the embodiment of the present application may also include: S505, in response to the second device using the first resource to establish a personal area network with the first device, the second device using the first resource to establish a personal area network with the first device.
  • a device sends identification information.
  • the first device uses the first resource to receive identification information from the second device.
  • the first communication module of the second device sends identification information to the first communication module of the first device.
  • the first communication module of the first device receives identification information from the first communication module of the second device.
  • the identification information may be used to identify the second device.
  • the identification information may include an identification of the second device and/or a medium access control (MAC) address of the second device.
  • MAC medium access control
  • the second device can use the first resource to send the identifier or address of the second device to the first device, so that the first device can learn about the established personal area network. equipment included.
  • the first device may send the ranging control frame to the second device 1 and the second device 2 in a broadcast manner.
  • Figure 7 is a schematic diagram of another ranging process provided by an embodiment of the present application.
  • a personal area network can be established by sending ranging beacon frames, and ranging parameters can be managed.
  • the ranging control access phase RCAP
  • the first device and the second device can competitively access the personal area network during the RCAP period.
  • the ranging control free phase RCFP
  • RCFP ranging control free phase
  • devices on the personal area network can use the first resource to negotiate ranging parameters and obtain ranging parameter information.
  • the second device using the first resource to send the identification information to the first device may be executed during the RCFP period.
  • the first device and the second device use the first resource with lower power consumption to establish a personal area network, obtain the ranging parameter information through the first resource negotiation, and transmit the ranging parameter information through the first resource, which can reduce the cost of The second resource with higher power consumption works longer, thereby further reducing power consumption.
  • the second resource After using the first resource to obtain ranging parameter information between the first device and the second device, the second resource can be used to perform ranging. In this way, power consumption can be reduced without reducing ranging accuracy.
  • the method provided by the embodiment of the present application may also include: S606-S607.
  • S606 After the first communication module of the first device sends the ranging control frame, the first communication module of the first device wakes up the second communication module of the first device.
  • S607 When the first communication module of the second device receives the ranging control frame, the first communication module of the second device wakes up the second communication module of the second device.
  • the second resource can be used to perform ranging between the first device and the second device, and a higher-precision ranging result can be obtained.
  • the functions of establishing a personal area network, negotiating to obtain ranging parameter information, and transmitting ranging parameter information are all performed by the first communication module.
  • the second communication module is used to perform ranging.
  • the group does not need to establish a personal area network, negotiate to obtain ranging parameter information, etc., which can reduce the complexity of the second communication module in the ranging process, thereby improving ranging efficiency.
  • the first device uses the second resource to interact with the second device to perform ranging based on the ranging parameter information.
  • the second device uses the second resource to interact with the first device to perform ranging based on the ranging parameter information.
  • the bandwidth of the second resource is greater than the bandwidth of the first resource.
  • the second communication module of the first device and the second communication module of the second device perform ranging based on the ranging parameter information.
  • the second resource may be used between the first device and the second device to perform ranging in OWR mode, SS-TWR mode or DS-TWR mode.
  • the first device and the second device can use the second resource to execute the RIP phase, the RRP phase, the RFP phase, and/or the MRP phase to obtain the distance between the first device and the second device.
  • the second resource may be used between the first device and the second device to perform ranging in an OWR manner.
  • the above S502 may include: step 1 to step 2.
  • Step 1 The second device uses the second resource to send a first ranging response frame to the first device.
  • the first device uses the second resource to receive the first ranging response frame from the second device.
  • the first ranging response frame carries a timestamp corresponding to the second device sending the first ranging response frame. For example, time 1.
  • the first device receives the first ranging response frame and adds a timestamp corresponding to receiving the first ranging response frame to the ranging response frame. For example, time 2.
  • the ranging parameter information may include the first response time.
  • the second device in the OWR mode, can use the second resource to send the first ranging response frame to the first device at the first corresponding time.
  • Step 2 The first device uses the second resource to send a measurement report to the second device.
  • the second device uses the second resource to receive the measurement report from the first device.
  • the measurement report may include a time when the first device receives the first ranging response frame from the second device. For example, time 2.
  • Figure 8 is another ranging method provided by an embodiment of the present application. The following describes the method shown in Figure 8 for using the second resource to measure distance between the first device and the second device in the SS-TWR mode or the DS-TWR mode.
  • the ranging parameter information includes the case where the first device is the ranging initiator and the second device is the ranging responder, the above S502 may include: S801 to S802.
  • the second device uses the second resource to send the first measurement report to the first device.
  • the first device uses the second resource to receive the first measurement report from the second device.
  • the second communication module of the second device may send the first measurement report to the second communication module of the first device.
  • the second communication module of the first device receives the first measurement report from the second communication module of the second device.
  • the first measurement report may include first measurement information.
  • the first measurement information may indicate a time period between the second device receiving the first ranging initiation frame from the first device and the second device sending the first ranging response frame to the first device.
  • Figure 9 is a schematic diagram of the application of a ranging method provided by an embodiment of the present application.
  • the first measurement information may indicate the T2 time period.
  • the ranging parameter information may include the first reporting time.
  • the above S801 may include: the second device uses the second resource to send the first measurement report to the first device at the first reporting moment.
  • the personal area network includes a second device, a first device 1 and a first device 2.
  • the second device may use the second resource to send a first ranging initiation to the first device 1 and the first device 2 at the first reporting moment. frame.
  • the first device uses the second resource to obtain the first distance information based on the first measurement information and the second measurement information.
  • the second communication module of the first device obtains the first measurement information based on the first measurement information and the second measurement information. distance information.
  • the second measurement information may indicate a time period between the first device sending the first ranging initiation frame and the first device receiving the first ranging response frame.
  • the first distance information may include a distance between the first device and the second device.
  • the second measurement information may indicate the T1 time period.
  • the first device may determine that the signal flight time between the first device and the second device is The first device can use the formula The distance L between the first device and the second device is obtained, where T1 is the time period indicated by the second measurement information, T2 is the time period indicated by the first measurement information, and v light is the speed of light.
  • T1 is the time period indicated by the second measurement information
  • T2 is the time period indicated by the first measurement information
  • v light is the speed of light.
  • the SS-TWR method can be used to complete ranging between the first device and the second device.
  • the above-mentioned S802 may include: the first device uses the second resource to obtain the first distance information according to the first measurement information, the second measurement information, the third measurement information and the fourth measurement information.
  • the first measurement report may also include third measurement information.
  • the third measurement information may indicate a time period between the second device sending the first ranging response frame and the second device receiving the first ranging final frame from the first device.
  • Figure 10 is a schematic diagram of the application of a ranging method provided by an embodiment of the present application.
  • the third measurement information may indicate the T4 time period.
  • the first ranging final frame may be sent by the first device after receiving the first ranging response frame.
  • the fourth measurement information may indicate a time period between the first device receiving the first ranging response frame and the first device sending the first ranging final frame.
  • the fourth measurement information may indicate the T3 time period.
  • the first device may determine that the signal flight time between the first device and the second device is The first device can use the formula Obtain the distance L between the first device and the second device, where T1 is the time period indicated by the second measurement information, T2 is the time period indicated by the first measurement information, T3 is the time period indicated by the fourth measurement information, and T4 is the time period indicated by the third measurement information, and v light is the speed of light.
  • the DS-TWR method can be used to complete ranging between the first device and the second device.
  • the above S502 may also include: S803 to S804.
  • the first device uses the second resource to send the first ranging initiation frame to the second device.
  • the second device uses the second resource to receive the first ranging initiation frame from the first device.
  • the second communication module of the first device sends the first ranging initiation frame to the second communication module of the second device.
  • the second communication module of the second device receives the first ranging initiation frame from the second communication module of the first device.
  • the ranging parameter information may include the first initiation time.
  • the above S803 may include: the first device uses the second resource to send the first ranging initiation frame to the second device at the first initiation moment.
  • the personal area network includes a first device, a second device 1 and a second device 2.
  • the first device can use the second resource to broadcast and send the first ranging to the second device 1 and the second device 2 at the first initiation moment. Initiate frame.
  • the first device may add a time corresponding to sending the first ranging initiation frame to the first ranging initiation frame. stamp.
  • the second device may receive the first ranging initiation frame, and add a timestamp corresponding to receiving the first ranging initiation frame to the first ranging initiation frame.
  • the second device uses the second resource to send the first ranging response frame to the first device.
  • the first device uses the second resource to receive the first ranging response frame from the second device.
  • the second communication module of the second device sends the first ranging response frame to the second communication module of the first device.
  • the second communication module of the first device receives the first ranging response frame from the second communication module of the second device.
  • the ranging parameter information may include the first response time.
  • the above S804 may include: the second device uses the second resource to send the first ranging response frame to the first device at the first response moment.
  • the second device may add a timestamp corresponding to sending the first ranging response frame to the first ranging response frame.
  • the first device may receive the first ranging response frame and add a timestamp corresponding to receiving the first ranging response frame to the first ranging response frame.
  • the above S502 may also include: S805.
  • S805 The first device uses the second resource to send the first ranging final frame to the second device.
  • the second device uses the second resource to receive the first ranging final frame from the first device.
  • the second communication module of the first device sends the first ranging final frame to the second communication module of the second device.
  • the second communication module of the second device receives the first ranging final frame from the second communication module of the first device.
  • the ranging parameter information may include the first final moment.
  • the above S805 may include: the first device uses the second resource to send the first ranging final frame to the second device at the first initiation moment.
  • the personal area network includes a first device, a second device 1 and a second device 2.
  • the first device can use the second resource to send the first ranging final result to the second device 1 and the second device 2 at the first final moment. frame.
  • the first device may add a timestamp corresponding to sending the first ranging final frame to the first ranging final frame.
  • the second device may receive the first ranging final frame, and add a timestamp corresponding to receiving the first ranging final frame to the first ranging final frame.
  • the specific implementation of the above S502 may include the above S801 to S804, and may also include S805; or, the specific implementation of the above S502 Implementation may include the following S806 to S809, and may also include S810.
  • the specific implementation of the above S502 may include the above S801 to S804 and the following S806 to S809, and may also include S805 and/or S810.
  • the ranging parameter information includes the case where the second device is the ranging initiator and the first device is the ranging responder, the above S502 may include: S806 to S807.
  • the first device uses the second resource to send the second measurement report to the second device.
  • the second device uses the second resource to receive the second measurement report from the first device.
  • the second communication module of the first device may send the second measurement report to the second communication module of the second device.
  • the second communication module of the second device receives the second measurement report from the second communication module of the first device.
  • the second measurement report may include fifth measurement information.
  • the fifth measurement information may indicate a time period between the first device receiving the second ranging initiation frame from the second device and the first device sending the second ranging response frame to the second device.
  • the fifth measurement information may indicate the T2 time period.
  • the ranging parameter information may include the second reporting time.
  • the above S806 may include: the first device uses the second resource to send the second measurement report to the second device at the second reporting moment.
  • the personal area network includes a first device, a second device 1 and a second device 2.
  • the first device may use a second resource to send a second measurement report to the second device 1 and the second device 2 at the second reporting moment.
  • the second device uses the second resource to obtain the second distance information based on the fifth measurement information and the sixth measurement information.
  • the second communication module of the first device obtains the first distance information based on the first measurement information and the second measurement information.
  • the sixth measurement information may indicate a time period between the second device sending the second ranging initiation frame and the second device receiving the second ranging response frame.
  • the sixth measurement information may indicate the T1 time period.
  • the second distance information may include the distance between the first device and the second device.
  • the above S807 may include: the second device uses the second resource to obtain the second distance information based on the fifth measurement information, the sixth measurement information, the seventh measurement information, and the eighth measurement information.
  • the second measurement report may also include seventh measurement information.
  • the seventh measurement information may indicate a time period between the first device sending the second ranging response frame and the first device receiving the second ranging final frame from the second device.
  • the seventh measurement information may indicate the T4 time period.
  • the second ranging final frame may be sent by the second device after receiving the second ranging response frame.
  • the eighth measurement information may indicate a time period between the second device receiving the second ranging response frame and the second device sending the second ranging final frame.
  • the fourth measurement information may indicate the T3 time period.
  • the second device uses the second resource to obtain the second distance information based on the fifth measurement information, the sixth measurement information, the seventh measurement information, and the eighth measurement information
  • it is the same as the above-mentioned S802 in which the first device uses the second resource according to the third measurement information.
  • the examples corresponding to obtaining the first distance information from the first measurement information, the second measurement information, the third measurement information and the fourth measurement information are similar and will not be described again here.
  • the above S502 may also include: S808 to S809.
  • the second device uses the second resource to send the second ranging initiation frame to the first device.
  • the first device uses the second resource to receive the second ranging initiation frame from the second device.
  • the ranging parameter information may include the second initiation time.
  • the first device uses the second resource to send the first ranging response frame to the second device.
  • the second device uses the second resource to receive the first ranging response frame from the first device.
  • the above S502 may also include: S810. S810, the second device uses the second resource to The first device sends a second ranging final frame. Correspondingly, the first device uses the second resource to receive the second ranging final frame from the second device.
  • the ranging parameter information may include the second final time.
  • S808 to S810 is similar to the above-mentioned S803 to S805, and will not be described again here.
  • the method provided by the embodiment of the present application may further include: the first device uses the first resource to send the first distance information to the second device.
  • the second device uses the first resource to receive the first distance information from the first device.
  • the first communication module of the first device may send the first distance information to the first communication module of the second device.
  • the first device can send the first distance information to the second device through the first resource with lower power consumption, which can further reduce power consumption.
  • the second communication module of the first device may send the first distance information to the first communication module of the first device. That is to say, after the second communication module of the first device obtains the first distance information, it can send the first distance information to its own first communication module, and the first communication module of the first device sends the first distance information to the second communication module. The first communication module of the device sends the first distance information to further reduce power consumption.
  • the first device can broadcast the measurement results to multiple second devices in a non-conflicting manner according to time periods.
  • the method provided by the embodiment of the present application may also include: the second device uses the first resource to send the second distance information to the first device.
  • the first device uses the first resource to receive the second distance information from the second device.
  • the first communication module of the second device may send the second distance information to the first communication module of the first device.
  • the second device can send the second distance information to the first device through the first resource with lower power consumption, which can further reduce power consumption.
  • the second communication module of the second device may send the second distance information to the first communication module of the second device.
  • the second communication module of the second device after the second communication module of the second device obtains the second distance information, it can send the second distance information to its own first communication module, and the first communication module of the second device sends the second distance information to the first communication module.
  • the first communication module of the device sends the second distance information to further reduce power consumption.
  • the first device uses a first resource with a lower bandwidth to send a ranging control frame to the second device.
  • the ranging control frame includes ranging parameter information.
  • the first device and the second device According to the ranging parameter information, the second resource is used for ranging.
  • the first resource with lower bandwidth is used to perform part of the actions in the ranging process, which reduces the time occupied by the second resource with higher bandwidth, thereby reducing the cost. Power consumption during ranging.
  • the second resource is used to perform ranging, which can reduce power consumption without reducing ranging accuracy.
  • An embodiment of the present application provides a communication system.
  • the system includes one or more first devices as described above, and one or more second devices.
  • Embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium includes a computer program or instructions; when the computer program or instructions are run on a computer, the computer is caused to perform the ranging described in the above method embodiments. method.
  • Embodiments of the present application provide a computer program product, which includes a computer program or instructions.
  • the computer program or instructions When the computer program or instructions are run on a computer, the computer performs the ranging method described in the above method embodiment.
  • An embodiment of the present application provides a communication system.
  • the communication system includes: one or more first devices, and one or more second devices.
  • the first device is used to perform the actions of the first device in the above method embodiment.
  • the second device is used to perform the actions of the second device in the above method embodiment.
  • Embodiments of the present application provide a chip system, which includes a logic circuit and an input/output port.
  • the logic circuit can be used to implement the processing functions involved in the methods provided by the embodiments of the present application, and the input/output ports can be used for the transceiver functions involved in the methods provided by the embodiments of the present application.
  • the input port can be used to implement the receiving function involved in the method provided by the embodiment of the present application
  • the output port can be used to implement the sending function involved in the method provided by the embodiment of the present application.
  • the chip system further includes a memory, which is used to store program instructions and data for implementing the functions involved in the methods provided by the embodiments of the present application.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • Embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer programs or instructions. When the computer program or instructions are run on a computer, the method provided by the embodiments of the present application is executed.
  • An embodiment of the present application provides a computer program product.
  • the computer program product includes: a computer program or instructions. When the computer program or instructions are run on a computer, the method provided by the embodiment of the present application is executed.
  • the processor in the embodiment of the present application can be a central processing unit (CPU).
  • the processor can also be other general-purpose processors, digital signal processors (DSP), special-purpose integrated processors, etc.
  • Circuit application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), Erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • RAM random access memory
  • RAM random access memory
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM synchronous dynamic random access memory
  • synchronous DRAM synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory access memory serial DRAM, SLDRAM
  • direct memory bus random access memory direct rambus RAM, DR RAM
  • the above embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination.
  • the above-described embodiments may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmit to another website, computer, server or data center through wired (such as infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or a data center that contains one or more sets of available media.
  • the usable media may be magnetic media (eg, floppy disk, hard disk, tape), optical media (eg, DVD), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • At least one refers to one or more, and “plurality” refers to two or more.
  • At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
  • at least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

Landscapes

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

Abstract

一种测距方法及装置,能够解决测距过程中设备功耗过高的问题,可以节省设备的功耗。该方法包括:第一设备采用带宽较低的第一资源向第二设备发送测距控制帧,该测距控制帧包括测距参数信息,第一设备与第二设备之间根据测距参数信息,采用第二资源进行测距,这样,采用带宽较低的第一资源执行测距过程中的部分动作,降低占用带宽更高的第二资源的时间,从而可以降低测距过程中的功耗。

Description

测距方法及装置
本申请要求于2022年03月25日提交国家知识产权局、申请号为202210301507.5、申请名称为“一种宽窄带融合的多节点测距方法”以及要求于2022年06月24日提交国家知识产权局、申请号为202210727259.0、申请名称为“测距方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种测距方法及装置。
背景技术
超宽带(ultra wide band,UWB)技术具有传输速率高、系统容量大、和频谱带宽大等特点,UWB技术的这些特点使得其具有很高的时间分辨率、抗多径能力强、以及测距精度高,从而可采用UWB技术实现测距。
示例性地,在测距过程中,第一设备采用UWB系统广播发送测距参数,至少一个第二设备的UWB系统接收该测距参数,第一设备的UWB系统与至少一个第二设备的UWB系统之间根据该测距参数完成设备间的测距。也就使说,设备的UWB系统不但要维护测距参数,还要进行测距。这使设备的UWB系统需要长时间执行复杂的任务,会导致功耗过高。
发明内容
本申请实施例提供一种测距方法及装置,能够解决测距过程中设备功耗过高的问题,可以节省设备的功耗。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供一种测距方法。该测距方法包括:第一设备采用第一资源向第二设备发送测距控制帧,第一设备根据测距参数信息,采用第二资源与第二设备交互以进行测距。其中,测距控制帧包括测距参数信息,测距参数信息用于进行测距,第二资源的带宽大于第一资源的带宽。
基于第一方面提供的测距方法,第一设备采用带宽较低的第一资源向第二设备发送测距控制帧,该测距控制帧包括测距参数信息,第一设备与第二设备之间根据测距参数信息,采用第二资源进行测距,这样,采用带宽较低的第一资源执行测距过程中的部分动作,降低占用带宽更高的第二资源的时间,从而可以降低测距过程中的功耗。
另外,第一设备与第二设备之间采用第一资源交互测距参数信息后,采用第二资源进行测距,可以实现在不降低测距精度的基础上降低功耗。
在一种可能的设计方式中,第一方面提供的测距方法,还可以包括:第一设备采用第一资源向第二设备发送测距信标帧。其中,测距信标帧可用于请求组建个域网。如此,第一设备通过带宽更低的第一资源请求建立个域网,降低占用带宽更高的第二资源的时间,可以进一步降低第一设备的功耗。
在一种可能的设计方式中,第一方面提供的测距方法,还可以包括:第一设备采用第一资源与第二设备组建个域网。如此,第一设备和第二设备通过带宽更低的第一资源建立个域网,降低占用带宽更高的第二资源的时间,可以进一步降低功耗。
在一种可能的设计方式中,第一方面提供的测距方法,还可以包括:第一设备采用第一资源接收来自第二设备的标识信息。其中,标识信息可用于标识第二设备。也就是说,第一设备与第二设备组建个域网后,第二设备可以采用第一资源向第一设备发送第二设备的标识或地址,从而第一设备可以获知已建立的个域网中包括的设备。
在一种可能的设计方式中,测距参数信息包括第一设备为测距发起者和第二设备为测距响应者的情况下,上述第一设备根据测距参数信息,采用第二资源与第二设备交互以进行测距,可以包括:第一设备采用第二资源,接收来自第二设备的第一测量报告,第一设备采用第二资源,根据第一测量信息和第二测量信息获得第一距离信息。其中,第一测量报告可以包括第一测量信息,第一测量信息指示第二设备接收来自第一设备的第一测距发起帧至第二设备向第一设备发送第一测距响应帧之间的时间段。第二测量信息可指示第一设备发送第一测距发起帧至第一设备接收第一测距响应帧之间的时间段,第一距离信息可以包括第一设备与第二设备之间的距离。如此,第一设备为测距发起者的情况下,第一设备可以采用第二资源获得精度较高的第一距离信息。
在一种可能的设计方式中,第一测量报告还可以包括第三测量信息,第三测量信息可指示第二设备发送第一测距响应帧至第二设备接收来自第一设备的第一测距最终帧之间的时间段,第一测距最终帧为第一设备在接收第一测距响应帧后发送的。如此,可以通过第一测距最终帧降低时钟漂移所引起的估计误差,从而提高测距精度。
在一种可能的设计方式中,上述第一设备采用第二资源,根据第一测量信息和第二测量信息获得第一距离信息,可以包括:第一设备采用第二资源,根据第一测量信息、第二测量信息、第三测量信息和第四测量信息获得第一距离信息。其中,第四测量信息可指示第一设备接收第一测距响应帧至第一设备发送第一测距最终帧之间的时间段。如此,第一设备可以通过第一测距最终帧获得精度更高的第一距离信息。
在一种可能的设计方式中,第一方面提供的测距方法,还可以包括:第一设备采用第一资源向第二设备发送第一距离信息。也就是说,第一设备通过功耗更低的第一资源向第二设备发送测距结果,可以进一步降低功耗。
在一种可能的设计方式中,测距参数信息包括第二设备为测距发起者和第一设备为测距响应者的情况下,上述第一设备根据测距参数信息,采用第二资源与第二设备交互以进行测距,可以包括:第一设备采用第二资源向第二设备发送第二测量报告。其中,第二测量报告包括第五测量信息,第五测量信息可指示第一设备接收来自第二设备的第二测距发起帧至第一设备向第二设备发送第二测距响应帧之间的时间段。
如此,本申请实施例提供的方法可以适用于一对多或多对多的场景中,在一对多场景中,第一设备为测距发起者,或者第二设备为测距发起者。在多对多场景中,第一设备和第二设备均可以为测距发起者。
在一种可能的设计方式中,第二测量报告还可以包括第七测量信息,第七测量信息可指示第一设备发送第二测距响应帧至第一设备接收来自第二设备的第二测距最终帧之间的时间段。如此,可以通过第二测距最终帧降低时钟漂移所引起的估计误差, 从而提高测距精度。
在一种可能的设计方式中,第一方面提供的测距方法,还可以包括:第一设备采用第一资源接收来自第二设备的第二距离信息。其中,第二距离信息可以包括第一设备与第二设备之间的距离。也就是说,第一设备可以通过功耗更低的第一资源接收第二距离信息,可以进一步降低功耗。
第二方面,提供一种测距方法。该测距方法包括:第二设备采用第一资源接收来自第一设备的测距控制帧,第二设备根据测距参数信息,采用第二资源与第一设备交互以进行测距。其中,测距控制帧包括测距参数信息,测距参数信息用于进行测距。第二资源的带宽大于第一资源的带宽。
在一种可能的设计方式中,第二方面提供的测距方法,还可以包括:第二设备采用第一资源接收来自第一设备的测距信标帧。其中,测距信标帧可用于请求组建个域网。
在一种可能的设计方式中,第二方面提供的测距方法,还可以包括:第二设备采用第一资源与第一设备组建个域网。
在一种可能的设计方式中,第二方面提供的测距方法,还可以包括:响应于第二设备采用第一资源与第一设备组建个域网,第二设备采用第一资源向第一设备发送标识信息。其中,标识信息可用于标识第二设备。
在一种可能的设计方式中,测距参数信息包括第一设备为测距发起者和第二设备为测距响应者的情况下,上述第二设备根据测距参数信息,采用第二资源与第一设备交互以进行测距,可以包括:第二设备采用第二资源向第一设备发送第一测量报告。其中,第一测量报告可以包括第一测量信息,第一测量信息可指示第二设备接收来自第一设备的第一测距发起帧至第二设备向第一设备发送第一测距响应帧之间的时间段。
在一种可能的设计方式中,第一测量报告还可以包括第三测量信息,第三测量信息可指示第二设备发送第一测距响应帧至第二设备接收来自第一设备的第一测距最终帧之间的时间段。
在一种可能的设计方式中,第二方面提供的测距方法,还可以包括:第二设备采用第一资源接收来自第一设备的第一距离信息。其中,第一距离信息可以包括第一设备与第二设备之间的距离。
在一种可能的设计方式中,测距参数信息包括第二设备为测距发起者和第一设备为测距响应者的情况下,上述第二设备根据测距参数信息,采用第二资源与第一设备交互以进行测距,还可以包括:第二设备采用第二资源接收来自第一设备的第二测量报告,第二设备采用第二资源,根据第五测量信息和第六测量信息获得第二距离信息。其中,第二测量报告包括第五测量信息,第五测量信息指示第一设备接收来自第二设备的第二测距发起帧至第一设备向第二设备发送第二测距响应帧之间的时间段。第六测量信息指示第二设备发送第二测距发起帧至第二设备接收第二测距响应帧之间的时间段,第二距离信息包括第一设备与第二设备之间的距离。
在一种可能的设计方式中,第二测量报告还可以包括第七测量信息,第七测量信息可指示第一设备发送第二测距响应帧至第一设备接收来自第二设备的第二测距最终帧之间的时间段。
在一种可能的设计方式中,上述第二设备采用第二资源,根据第五测量信息和第六测量信息获得第二距离信息,可以包括:第二设备采用第二资源,根据第五测量信息、第六测量信息、第七测量信息和第八测量信息获得第二距离信息。其中,第八测量信息可指示第二设备接收第二测距响应帧至第二设备发送第二测距最终帧之间的时间段。
在一种可能的设计方式中,第二方面提供的测距方法,还可以包括:第二设备采用第一资源向第一设备发送第二距离信息。
此外,第二方面所述的测距方法的技术效果可以参考第一方面所述的测距方法的技术效果,此处不再赘述。
第三方面,提供一种通信装置。该通信装置包括:第一通信模组和第二通信模组。其中,第一通信模组用于唤醒第二通信模组。
第一通信模组,用于采用第一资源,执行如第一方面至第二方面中任一种可能的实现方式中采用第一资源执行的方法。
第二通信模组,用于采用第二资源,执行如第一方面至第二方面中任一种可能的实现方式中采用第二资源执行的方法,第一资源的带宽小于第二资源的带宽。
需要说明的是,第一通信模组201和第二通信模组202可以分开设置,也可以集成在一个模块中,本申请对此不限定,能够实现相应的功能即可。
可选地,第三方面所述的通信装置还可以包括存储模组和/或收发模组,该存储模组存储有计算机程序或指令。当第一通信模组和/或第二通信模组执行该程序或指令时,使得第三方面所述的通信装置可以执行第一方面至第二方面所述的测距方法。
可选地,收发模组可用于该通信装置与其他设备或通信装置通信。收发模组可以与第一通信模组和/或第二通信模组集成在一起,也可以独立存在。
可选地,收发模组可以包括接收模块和发送模块。其中,接收模块用于接收来自其他设备的数据和/或信令;发送模块用于向其他设备发送数据和/或信令。本申请对于收发模组的具体实现方式,不做具体限定。
需要说明的是,第三方面所述的通信装置可以是第一设备或第二设备,也可以是设置于第一设备或第二设备中的芯片或芯片系统,本申请对此不做限定。
此外,第三方面所述的通信装置的技术效果可以参考第一方面所述的测距方法的技术效果,此处不再赘述。
第四方面,提供一种通信装置。该通信装置包括:处理器,该处理器与存储器耦合,存储器用于存储计算机程序。
处理器用于执行存储器中存储的计算机程序,以使得如第一方面至第二方面中任一种可能的实现方式所述的方法被执行。
在一种可能的设计中,第四方面所述的通信装置还可以包括收发器。该收发器可以为收发电路或输入/输出端口。所述收发器可以用于该通信装置与其他设备通信。
需要说明的是,输入端口可用于实现第一方面至第二方面所涉及的接收功能,输出端口可用于实现第一方面至第二方面所涉及的发送功能。
在本申请中,第四方面所述的通信装置可以为第一设备或第二设备,或者设置于第一设备或第二设备内部的芯片或芯片系统。
此外,第四方面所述的通信装置的技术效果可以参考第一方面中任一种实现方式所述的方法的技术效果,此处不再赘述。
第五方面,提供一种通信系统。该通信系统包括第一设备和第二设备。第一设备的数量可以为一个或多个,第二设备的数量可以为一个或多个。第一设备,用于实现如第一方面所述方法。第一设备,用于实现如第二方面所述方法。
或者,该通信系统包括如第三方面所述的用于实现如第一方面所述方法的通信装置(通信装置为第一设备)、和如第三方面所述的用于实现如第二方面所述方法的通信装置(通信装置为第二设备)。
第六方面,提供了一种芯片系统,该芯片系统包括逻辑电路和输入/输出端口。其中,逻辑电路用于实现第一方面至第二方面所涉及的处理功能,输入/输出端口用于实现第一方面至第二方面所涉及的收发功能。具体地,输入端口可用于实现第一方面至第二方面所涉及的接收功能,输出端口可用于实现第一方面至第二方面所涉及的发送功能。
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现第一方面至第二方面所涉及功能的程序指令和数据。
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
第七方面,提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令;当该计算机程序或指令在计算机上运行时,使得第一方面至第二方面中任意一种可能的实现方式所述的方法被执行。
第八方面,提供一种计算机程序产品,包括计算机程序或指令,当该计算机程序或指令在计算机上运行时,使得第一方面至第二方面中任意一种可能的实现方式所述的方法被执行。
附图说明
图1为本申请实施例提供的一种通信系统的架构示意图;
图2为本申请实施例提供的一种通信装置的结构示意图;
图3为本申请实施例提供的另一种通信装置的结构示意图;
图4为本申请实施例提供的一种测距流程示意图;
图5为本申请实施例提供的一种测距方法的流程示意图;
图6为本申请实施例提供的另一种测距方法的流程示意图;
图7为本申请实施例提供的另一种测距流程示意图;
图8为本申请实施例提供的又一种测距方法的流程示意图;
图9为本申请实施例提供的一种测距方法的应用示意图;
图10为本申请实施例提供的一种测距方法的应用示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。
另外,在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
图1为本申请实施例提供的测距方法所适用的一种通信系统的架构示意图。为便于理解本申请实施例,首先以图1中示出的通信系统为例详细说明适用于本申请实施例的通信系统。应当指出的是,本申请实施例中的方案还可以应用于其他移动通信系统中,相应的名称也可以用其他移动通信系统中的对应功能的名称进行替代。
如图1所示,该通信系统包括第一设备和第二设备。其中,第一设备的数量可以为一个或多个,第二设备的数量可以为一个或多个。
其中,上述第一设备或第二设备可以为具有测距或定位功能的终端或可设置于该终端的芯片或芯片系统。第一设备或第二设备也可以称为用户设备(user equipment,UE)、用户装置、接入终端、用户单元、用户站、移动站、移动台(mobile station,MS)、远方站、远程终端、移动设备、用户终端、终端、终端单元、终端站、终端装置、无线通信设备、用户代理或用户装置。
例如,本申请的实施例中的第一设备或第二设备可以是手机(mobile phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、膝上型电脑(laptop computer)、平板电脑(Pad)、无人机、带无线收发功能的电脑、机器类型通信(machine type communication,MTC)终端、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、物联网(internet of things,IoT)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端(例如游戏机、智能电视、智能音箱、智能冰箱和健身器材等)、车载终端、具有终端功能的RSU。接入终端可以是蜂窝电话(cellular phone)、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备(handset)、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备等。
又例如,本申请实施例中的第一设备或第二设备可以是智慧物流中的快递终端(例如可监控货物车辆位置的设备、可监控货物温湿度的设备等)、智慧农业中的无线终端(例如可收集禽畜的相关数据的可穿戴设备等)、智慧建筑中的无线终端(例如智慧电梯、消防监测设备、以及智能电表等)、智能医疗中的无线终端(例如可监测人或动物的生理状态的可穿戴设备)、智能交通中的无线终端(例如智能公交车、智能车辆、共享单车、充电桩监测设备、智能红绿灯、以及智能监控以及智能停车设备等)、智能零售中的无线终端(例如自动售货机、自助结账机、以及无人便利店等)。又例 如,本申请的终端设备可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请提供的方法。
需要说明的是,本申请实施例提供的测距方法可应用于各类测距或定位场景中。应理解,本申请实施例描述的场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
应理解,图1仅为便于理解而示例的简化示意图,该通信系统中还可以包括其他网络设备,图1中未予以画出。
可选地,本申请提供了用于执行本申请下述实施例提供的测距方法的通信装置。该通信装置用于实现下述各种方法。可以理解的是,该通信装置为了实现下述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据下述方法实施例对通信装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图2为本申请实施例提供的一种通信装置的结构示意图。通信装置200可以是第一设备或第二设备,也可以是可适用于第一设备或第二设备的芯片或者其他具有测距功能的部件。
如图2所示,通信装置200包括第一通信模组201和第二通信模组202。
其中,第一通信模组201可唤醒第二通信模组202。
第一通信模组201,用于采用第一资源,执行本申请下述实施例中提供的测距方法中的采用第一资源执行的相关功能,具体可参考下述方法实施例,此处不再赘述。
第二通信模组202,用于采用第二资源,执行本申请下述实施例中提供的测距方法中的采用第二资源执行的相关功能,具体可参考下述方法实施例,此处不再赘述。
示例性地,第一资源的带宽小于第二资源的带宽。
例如,第一通信模组201可以称为窄带模块或窄带系统等,第二通信模组202可以称为宽带模块、宽带系统、UWB模块、或UWB系统等,本申请对此不做具体限定。
示例性地,第一通信模组201可以包括但不限于:低功耗蓝牙(bluetooth low energy,BLE)模块、无线保真(wireless fidelity,Wi-Fi)模块、近场通信(near field communication,NFC)模块、和/或低功耗绿牙(greentooth low energy,GLE)模块。
示例性地,第二通信模组202可以包括但不限于:UWB模块。
需要说明的是,第一通信模组201和第二通信模组202可以分开设置,也可以集成在一个模块中,本申请对此不限定,能够实现相应的功能即可。
可选地,通信装置200还可以包括存储模组和/或收发模组(图2中未示出)。其中,第一通信模组201和第二通信模组202可与存储模组和/或收发模组耦合。收发模组可以与第一通信模组201和/或第二通信模组202集成在一起,也可以独立存在。
其中,存储模组用于存储执行本申请方案的计算机程序,并由第一通信模组201和第二通信模组202来控制执行。
收发模组,用于与其他通信装置之间的通信。例如,通信装置200为第一设备,收发模组可以用于与第二设备通信。又例如,通信装置200为第二设备,收发模组可以用于与第一设备通信。此外,收发模组可以包括接收模组和发送模组(图2中未示出)。其中,接收模组用于实现接收功能,发送模组用于实现发送功能。
需要说明的是,图2中示出的通信装置200的结构并不构成对该通信装置的限定,实际的通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
图3为可用于执行本申请实施例提供的测距方法的另一种通信装置300的结构示意图。通信装置300可以是第一设备或第二设备,也可以是可适用于第一设备或第二设备的芯片或者其他具有测距功能的部件。如图3所示,通信装置300包括处理器301。可选地,通信装置300还可以包括存储器302和/或收发器303。其中,处理器301与存储器302和收发器303耦合,如可以通过通信总线连接。
下面结合图3对通信装置300的各个构成部件进行具体的介绍:
处理器301是通信装置300的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器301是一个或多个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。
其中,处理器301可以通过运行或执行存储在存储器302内的软件程序,以及调用存储在存储器302内的数据,执行通信装置300的各种功能。
在具体的实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图3中所示的CPU0和CPU1。
在具体实现中,作为一种实施例,通信装置300也可以包括多个处理器,例如图3中所示的处理器301和处理器304。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
存储器302可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储通信设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储通信设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩 光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储通信设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器302可以和处理器301集成在一起,也可以独立存在,并通过通信装置300的输入/输出端口(图3中未示出)与处理器301耦合,本申请实施例对此不作具体限定。
其中,所述存储器302用于存储执行本申请方案的软件程序,并由处理器301来控制执行。上述具体实现方式可以参考下述方法实施例,此处不再赘述。
收发器303,用于与其他通信装置之间的通信。例如,通信装置300为第一设备,收发器303可以用于与第二设备通信。又例如,通信装置300为第二设备,收发器303可以用于与第一设备通信。此外,收发器303可以包括接收器和发送器(图3中未单独示出)。其中,接收器用于实现接收功能,发送器用于实现发送功能。收发器303可以和处理器301集成在一起,也可以独立存在,并通过通信装置300的输入/输出端口(图3中未示出)与处理器301耦合,本申请实施例对此不作具体限定。
需要说明的是,图3中示出的通信装置300的结构并不构成对该通信装置的限定,实际的通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
为方便理解,下面对本申请涉及的技术术语以及相关技术做简单介绍。
第一,测距参数信息
示例性地,测距参数信息可用于进行测距。
可选地,测距参数信息可以包括但不限于如下一项或多项:测距角色信息、测距时刻信息、和测距时长信息。
可选地,测距角色信息可用于指示设备在测距过程中的测距角色。
示例性地,测距过程中的测距角色可以包括:测距发起者和测距响应者。
例如,测距发起者可以发起测距请求,例如发送测距发起帧,测距响应者可以接收测距请求。测距响应者可以发送测距响应帧,测距请求这可以接收测距响应帧。
一些实施例中,测距发起者的数量可以为一个或多个,测距响应者的数量可以为一个或多个。
示例性地,假设通信系统包括第一设备和第二设备,测距角色信息可指示第一设备为测距发起者,对应的,第二设备为测距响应者。测距角色信息还可指示第二设备为测距发起者,对应的,第一设备为测距响应者。或者,测距角色信息可指示测距发起者包括第一设备和第二设备,测距响应者包括第一设备和第二设备。如此,第一设备和第二设备均可以发起测距。
可选地,测距时刻信息可用于指示设备进行测距的时刻。
例如,测距时刻信息可指示通信系统中每个设备发送测距发起帧、测距响应帧、测距最终帧、和/或测距报告等的时刻。
可选地,测距时长信息可用于指示设备进行测距的时长。
例如,测距时长信息可指示测距阶段的总时长,还可以指示测距阶段中各个子阶段的时长。
第二,单向测距(one way ranging,OWR)、单侧双向测距(single side two way  ranging,SS-TWR)和双侧双向测距(double side two way ranging,DS-TWR)
本申请提供的方法可适用的测距方式可以包括:OWR方式、SS-TWR方式和DS-TWR方式。
图4为本申请实施例提供的一种测距流程示意图。
结合图4,OWR方式可以包括测距控制阶段(ranging control phase,RCP)、测距响应阶段(ranging response phase,RRP)、测量报告阶段(measurement report phase,MRP)、和测距控制更新阶段(ranging control update phase,RCUP)。
可选地,OWR方式可应用于到达时间差(time difference of arrival,TDOA)系统。
结合图4,SS-TWR方式和DS-TWR方式均可以分为一对多和多对多这两种场景。在一对多场景中,只有一个设备发起对测距请求,测距发起者的数量为一个。在多对多场景中,至少两个设备发起测距请求,测距发起者的数量可以为多个。
SS-TWR方式可以包括RCP阶段、测距发起阶段(ranging initiation phase,RIP)、RRP阶段、MRP阶段、和RCUP阶段。其中,RCP阶段与RIP可以结合,例如测距控制者同时发送测距控制帧和测距发起帧。
DS-TWR方式可以包括RCP阶段、RIP阶段、RRP阶段、测距最终阶段(ranging final phase,RFP)阶段、MRP阶段、和RCUP阶段。
下面对测距方式中的各个阶段进行简单介绍。
在RCP阶段,测距控制者可以发送测距控制帧,例如测距控制消息(ranging control message,RCM),该测距控制帧可以包括测距参数信息。其中,测距控制者可以为生成并发送测距控制帧的设备,接收该测距控制帧的设备可以为测距被控者。可选地,图4中的空白格子可以表示空闲时间段。
可选地,测距参数信息可以包括测距角色信息、测距时刻信息、和/或测距时长信息。
示例性地,对于OWR方式,测距角色信息可以包括:设备1为测距发起者,设备2至设备N+1为测距响应者。对于SS-TWR方式和DS-TWR方式,在一对多场景中,测距角色信息可以包括:设备1为测距发起者,设备2至设备N+1为测距响应者。在多对多场景中,测距角色信息可以包括:M个设备(例如设备1至设备M)为测距发起者,N个设备(例如设备1至设备N)为测距响应者。
本申请不限定N与M的取值,假设系统中包括N+1个设备,则M为小于或等于N+1的整数,N为大于或等于1的整数。
需要说明的是,分配测距角色后,发送测距控制帧的设备可以为测距发起者或测距响应者。
结合图4,对于OWR方式,测距时刻信息可以指示N个测距响应者分别对应的发送测距响应帧的时刻(即R1至RN对应的时刻),以及,可以指示测距响应者对应的发送测距报告的时刻(即MR对应的时刻)。
结合图4,对于SS-TWR方式和DS-TWR方式,测距时刻信息可以指示测距发起者分别对应的发送测距发起帧的时刻(即I1对应的时刻、或I1至IM对应的时刻)、可以指示测距响应者分别对应的发送测距响应帧的时刻(即R1至RN对应的时刻),以及,可以指示测距发起者或测距响应者对应的发送测距报告的时刻(即MR1对应的时 刻、或MR1至MRM对应的时刻)。对于DS-TWR方式,测距时刻信息还可以指示测距发起者发送测距最终帧的时刻(即F1对应的时刻、或F1至FM对应的时刻)。
需要说明的是,对于SS-TWR方式和DS-TWR方式,不限定是由测距发起者向测距响应者发送测距报告,还是由测距响应者向测距发起者发送测距报告。
结合图4,测距时长信息可以指示OWR方式、SS-TWR方式或DS-TWR方式对应的测距阶段的总时长。测距时长信息还可以指示测距阶段中各个子阶段的时长。
例如,以OWR方式为例,测距时长信息可以指示RCP阶段至RCUP阶段的总时长。测距时长信息还可以指示RCP阶段的时长、RRP阶段的时长、MRP阶段的时长、和/或RCUP阶段的时长。
在SS-TWR方式和DS-TWR方式的RIP阶段,测距发起者分别在I1对应的时刻、或I1至IN对应的时刻,向测距响应者发送测距发起帧,测距发起帧可以包括发送该测距发起帧对应的时间戳。测距响应者接收该测距发起帧后,向测距发起帧中添加接收该测距发起帧对应的时间戳。
在OWR方式的RRP阶段,N个测距被控者分别在R1至RN对应的时刻,向测距控制者发送测距响应帧,测距响应帧可以包括发送该测距响应帧对应的时间戳。测距控制者接收该测距发起帧后,向测距发起帧中添加接收该测距发起帧对应的时间戳。
在SS-TWR方式和DS-TWR方式的RRP阶段,测距响应者分别在R1对应的时刻、或R1至RN对应的时刻,向测距发起者发送测距响应帧,测距响应帧可以包括发送该测距响应帧对应的时间戳。测距发起者接收该测距响应帧后,向测距响应帧中添加接收该测距响应帧对应的时间戳。
在OWR方式的MRP阶段,测距控制者可以在MR对应的时刻,向测距被控者发送测量报告。
在SS-TWR方式和DS-TWR方式的MRP阶段,测距发起者分别在MR1对应的时刻、或MR1至MRM对应的时刻,向测距响应者发送测量报告;或者,测距响应者分别在MR1对应的时刻、或MR1至MRN对应的时刻,向测距发起者发送测量报告。
可选地,在MRP阶段,测距控制者与测距被控者之间还可以传输测量结果,例如下述方法实施例中阐述的第一距离信息或第二距离信息。
在DS-TWR方式的RFP阶段,测距发起者分别在F1对应的时刻、或F1至FM对应的时刻,向测距响应者发送测距最终帧,该测距最终帧可以包括发送该测距最终帧对应的时间戳。测距响应者接收该测距最终帧后,向测距最终帧中添加接收该测距最终帧对应的时间戳。包括RFP阶段的DS-TWR方式可以降低时钟漂移所引起的估计误差。
在OWR方式的RCUP阶段,如果测距控制消息有更新,可以对测距控制消息进行更新,例如测距控制者可以发送测距控制更新消息(ranging control update message,RCM)。
第一设备采用UWB系统广播发送测距参数,至少一个第二设备的UWB系统接收该测距参数。第一设备的UWB系统与至少一个第二设备的UWB系统之间根据该测距参数,执行RIP阶段、RRP阶段、RFP阶段、和MRP阶段、对应的功能进行测距,之后执行RCUP阶段对测距控制消息进行更新。
由此可见,整个测距过程均由设备的UWB系统执行,然而,UWB技术具有传输速率高、系统容量大、和频谱带宽大等特点,长时间使设备的UWB系统执行复杂的任务,会导致设备的功耗过高。
下面将结合图5-图10对本申请实施例提供的测距方法进行具体阐述。
图5为本申请实施例提供的一种测距方法的流程示意图。图5所示的方法以第一设备发送测距控制帧为例进行阐述。
如图5所示,该测距方法包括如下步骤:
S501,第一设备采用第一资源向第二设备发送测距控制帧。相应地,第二设备采用第一资源接收来自第一设备的测距控制帧。
示例性地,结合图6,S601,第一设备的第一通信模组向第二设备的第一通信模组发送测距控制帧。相应地,第二设备的第一通信模组接收来自第一设备的第一通信模组的测距控制帧。
关于第一资源、和第一通信模组的具体实现方式可参照上述图2中的阐述,此处不再赘述。
示例性地,测距控制帧可以包括测距参数信息。
示例性地,测距参数信息可用于进行测距。
可选地,测距参数信息可以是第一设备与第二设备之间采用第一资源协商获得的。
可选地,测距参数信息可以包括但不限于如下一项或多项:第一设备为测距发起者,对应的,第二设备为测距响应者;第二设备为测距发起者,对应的,第一设备为测距响应者;第一发起时刻、第一响应时刻、第一报告时刻、第二发起时刻、第二响应时刻、第二报告时刻、第一最终时刻、和第二最终时刻。
关于测距参数信息的实现方式可参照上述图2中的阐述,此处不再赘述。
可选地,第一发起时刻可以为第一设备对应的发送测距发起帧的时刻。
例如,结合图4,第一发起时刻可以为SS-TWR方式和DS-TWR方式中I1对应的时刻。
可选地,第一响应时刻可以为第二设备对应的发送测距响应帧的时刻。
例如,结合图4,第一响应时刻可以为OWR方式、SS-TWR方式和DS-TWR方式中R1对应的时刻。
可选地,第一报告时刻可以为第二设备对应的发送测量报告的时刻。
例如,结合图4,第一报告时刻可以为SS-TWR方式和DS-TWR方式中MR1对应的时刻。
可选地,第二发起时刻可以为第二设备对应的发送测距发起帧的时刻。
例如,结合图4,第二发起时刻可以为SS-TWR方式和DS-TWR方式的多对多场景中I2对应的时刻。
可选地,第二响应时刻可以为第一设备对应的发送测距响应帧的时刻。
例如,结合图4,第二响应时刻可以为SS-TWR方式和DS-TWR方式的多对多场景中R2对应的时刻。
可选地,第二报告时刻可以为第一设备对应的发送测量报告的时刻。
例如,结合图4,第二响应时刻可以为SS-TWR方式和DS-TWR方式的多对多场 景中MR2对应的时刻。
可选地,第一最终时刻可以为第一设备对应的发送测距最终帧的时刻。
例如,结合图4,第一最终时刻可以为DS-TWR方式中F1对应的时刻。
可选地,第二最终时刻可以为第二设备对应的发送测距最终帧的时刻。
例如,结合图4,第二最终时刻可以为DS-TWR方式中F2对应的时刻。
可选地,测距参数信息还可以包括测距时长信息,具体可参照上述阐述,此处不再赘述。第一设备和第二设备可以根据测距时长信息所指示的时长进行测距。
如此,第一设备采用功耗更低的第一资源向第二设备发送该测距参数,降低占用功耗更高的第二资源的时间,从而可以降低测距过程中的功耗。
在一种可能的设计方法中,本申请实施例提供的方法,还可以包括:S503,第一设备采用第一资源向第二设备发送测距信标帧。相应地,第二设备采用第一资源接收来自第一设备的测距信标帧。
示例性地,结合图6,S603,第一设备的第一通信模组向第二设备的第一通信模组发送测距信标帧。相应地,第二设备的第一通信模组接收来自第一设备的第一通信模组的测距信标帧。
可选地,测距信标帧可用于请求组建个域网。
也就是说,第一设备采用第一资源发起建立个域网。
可选地,测距信标帧还可用于个域网的设备之间的时间同步、和/或网络参数信息的播发,网络参数信息可指示用于组网的参数。
可选地,测距信标帧可以是周期性发送的。
需要说明的是,也可以由第二设备发起建立个域网,图5以第一设备发起建立个域网为例进行阐述。
在一种可能的设计方法中,本申请实施例提供的方法,还可以包括:S504,第二设备与第一设备之间采用第一资源组建个域网。
示例性地,结合图6,S604,第一设备的第一通信模组与第二设备的第一通信模组之间组建个域网。
需要说明的是,上述S503-S504可以在上述S501之前执行,在发起测距前,可以先组建个域网。
如此,第一设备和第二设备通过功耗更低的第一资源建立个域网,降低占用功耗更高的第二资源的时间,可以进一步降低功耗。
在一种可能的设计方法中,本申请实施例提供的方法,还可以包括:S505,响应于第二设备采用第一资源与第一设备组建个域网,第二设备采用第一资源向第一设备发送标识信息。相应地,第一设备采用第一资源接收来自第二设备的标识信息。
示例性地,结合图6,S605,第二设备的第一通信模组向第一设备的第一通信模组发送标识信息。相应地,第一设备的第一通信模组接收来自第二设备的第一通信模组的标识信息。
可选地,标识信息可用于标识第二设备。
例如,标识信息可以包括第二设备的标识、和/或第二设备的媒体访问控制(medium access control,MAC)地址。
也就是说,第一设备与第二设备组建个域网后,第二设备可以采用第一资源向第一设备发送第二设备的标识或地址,从而第一设备可以获知已建立的个域网中包括的设备。
可选地,若个域网中包括第一设备、第二设备1和第二设备2,则第一设备可以通过广播的方式向第二设备1和第二设备2发送测距控制帧。
需要说明的是,上述S505可以在上述S501之前执行。
图7为本申请实施例提供的另一种测距流程示意图。
如图7所示,在进行测距之前,可以通过发送测距信标帧建立个域网,并可以对测距参数进行管理。在测距管理阶段,测距控制接入阶段(ranging control access phase,RCAP)为竞争期,第一设备与第二设备可以在RCAP这一时间段竞争性地接入个域网。测距控制空闲阶段(ranging control free phase,RCFP)为非竞争期,例如定义第一设备和第二设备可以在图7中的左数第一个RCFP时间段交互,则第三设备不会抢占这一时间段发送信号。在RCFP这一时间段,个域网的设备间可以采用第一资源协商测距参数,获得测距参数信息。
可选地,上述第二设备采用第一资源向第一设备发送标识信息可以在RCFP这一时间段执行。
如此,第一设备和第二设备之间采用功耗更低的第一资源建立个域网,并通过第一资源协商获得测距参数信息,通过第一资源传输测距参数信息,可以降低采用功耗更高的第二资源工作的时间,从而进一步降低功耗。
第一设备与第二设备之间采用第一资源获得测距参数信息后,可以采用第二资源进行测距,如此,可以在不降低测距精度的基础上降低功耗。
可选地,结合图6,本申请实施例提供的方法还可以包括:S606-S607。S606,在第一设备的第一通信模组发送测距控制帧后,第一设备的第一通信模组唤醒第一设备的第二通信模组。S607,在第二设备的第一通信模组收到测距控制帧的情况下,第二设备的第一通信模组唤醒第二设备的第二通信模组。
如此,第一设备与第二设备之间可以采用第二资源进行测距,获得精度较高的测距结果。另外,建立个域网、协商获得测距参数信息以及传输测距参数信息这些功能均由第一通信模组来执行,在此基础上,采用第二通信模组进行测距,第二通信模组不需要建立个域网、协商获得测距参数信息等,可以降低第二通信模组在测距过程中的复杂度,从而提高测距效率。
S502,第一设备根据测距参数信息,采用第二资源与第二设备交互以进行测距。相应地,第二设备根据测距参数信息,采用第二资源与第一设备交互以进行测距。
示例性地,第二资源的带宽大于第一资源的带宽。
如图6所示,S602,第一设备的第二通信模组与第二设备的第二通信模组根据测距参数信息进行测距。
示例性地,第一设备与第二设备之间可以采用第二资源,以OWR方式、SS-TWR方式或DS-TWR方式等测距方式进行测距。
例如,结合图4,第一设备与第二设备之间可以采用第二资源执行RIP阶段、RRP阶段、RFP阶段、和/或MRP阶段,获得第一设备与第二设备之间的距离。
在一些实施例中,第一设备与第二设备之间可以采用第二资源,以OWR方式测距,上述S502可以包括:步骤一至步骤二。
步骤一,第二设备采用第二资源向第一设备发送第一测距响应帧。相应地,第一设备采用第二资源接收来自第二设备的第一测距响应帧。
可选地,第一测距响应帧携带第二设备发送该第一测距响应帧对应的时间戳。例如时刻1。第一设备接收该第一测距响应帧,并向该测距响应帧中添加接收该第一测距响应帧对应的时间戳。例如时刻2。
可选地,测距参数信息可以包括第一响应时刻。
结合图4,OWR方式中,第二设备可以采用第二资源,在第一相应时刻向第一设备发送第一测距响应帧。
步骤二,第一设备采用第二资源向第二设备发送测量报告。相应地,第二设备采用第二资源接收来自第一设备的测量报告。
可选地,测量报告可以包括第一设备接收来自第二设备的第一测距响应帧的时刻。例如时刻2。
可选地,第二设备可以根据时刻1和时刻2,确定第一设备与第二设备之间的信号飞行时间为T=时刻2-时刻1,确定第一设备与第二设备之间的距离为L=(时刻2-时刻1)×光速。
图8为本申请实施例提供的另一种测距方法。下面结合图8所示的方法对第一设备与第二设备之间采用第二资源,以SS-TWR方式或DS-TWR方式测距进行阐述。
在另一些实施例中,测距参数信息包括第一设备为测距发起者和第二设备为测距响应者的情况下,上述S502可以包括:S801至S802。
S801,第二设备采用第二资源向第一设备发送第一测量报告。相应地,第一设备采用第二资源,接收来自第二设备的第一测量报告。
示例性地,第二设备的第二通信模组可以向第一设备的第二通信模组发送第一测量报告。相应地,第一设备的第二通信模组接收来自第二设备的第二通信模组的第一测量报告。
可选地,第一测量报告可以包括第一测量信息。
可选地,第一测量信息可指示第二设备接收来自第一设备的第一测距发起帧至第二设备向第一设备发送第一测距响应帧之间的时间段。
图9为本申请实施例提供的一种测距方法的应用示意图。
结合图9,第一测量信息可指示T2时间段。
可选地,测距参数信息可以包括第一报告时刻。
可选地,上述S801可以包括:第二设备在第一报告时刻,采用第二资源向第一设备发送第一测量报告。
假设个域网中包括第二设备、第一设备1和第一设备2,第二设备可以在第一报告时刻,采用第二资源向第一设备1和第一设备2发送第一测距发起帧。
S802,第一设备采用第二资源,根据第一测量信息和第二测量信息获得第一距离信息。
示例性地,第一设备的第二通信模组根据第一测量信息和第二测量信息获得第一 距离信息。
可选地,第二测量信息可指示第一设备发送第一测距发起帧至第一设备接收第一测距响应帧之间的时间段。
可选地,第一距离信息可以包括第一设备与第二设备之间的距离。
结合图9,第二测量信息可指示T1时间段。
示例性地,第一设备可以确定第一设备与第二设备之间的信号飞行时间为第一设备可以采用公式获得第一设备与第二设备之间的距离L,其中,T1为第二测量信息指示的时间段,T2为第一测量信息指示的时间段,v为光速。如此,第一设备和第二设备之间可以采用SS-TWR方式完成测距。
在一些实施例中,上述S802可以包括:第一设备采用第二资源,根据第一测量信息、第二测量信息、第三测量信息和第四测量信息获得第一距离信息。
可选地,第一测量报告还可以包括第三测量信息。
可选地,第三测量信息可指示第二设备发送第一测距响应帧至第二设备接收来自第一设备的第一测距最终帧之间的时间段。
图10为本申请实施例提供的一种测距方法的应用示意图。
结合图10,第三测量信息可指示T4时间段。
可选地,第一测距最终帧可以为第一设备在接收第一测距响应帧后发送的。
可选地,第四测量信息可指示第一设备接收第一测距响应帧至第一设备发送第一测距最终帧之间的时间段。
结合图10,第四测量信息可指示T3时间段。
示例性地,第一设备可以确定第一设备与第二设备之间的信号飞行时间为第一设备可以采用公式获得第一设备与第二设备之间的距离L,其中,T1为第二测量信息指示的时间段,T2为第一测量信息指示的时间段,T3为第四测量信息指示的时间段,T4为第三测量信息指示的时间段,v为光速。
如此,第一设备和第二设备之间可以采用DS-TWR方式完成测距。
一些实施例中,上述S502还可以包括:S803至S804。
S803,第一设备采用第二资源向第二设备发送第一测距发起帧。相应地,第二设备采用第二资源接收来自第一设备的第一测距发起帧。
示例性地,第一设备的第二通信模组向第二设备的第二通信模组发送第一测距发起帧。相应地,第二设备的第二通信模组接收来自第一设备的第二通信模组的第一测距发起帧。
可选地,测距参数信息可以包括第一发起时刻。
可选地,上述S803可以包括:第一设备在第一发起时刻,采用第二资源向第二设备发送第一测距发起帧。
假设个域网中包括第一设备、第二设备1和第二设备2,第一设备可以在第一发起时刻,采用第二资源向第二设备1和第二设备2广播发送第一测距发起帧。
可选地,第一设备可以向第一测距发起帧添加发送该第一测距发起帧对应的时间 戳。第二设备可以接收该第一测距发起帧,并向该第一测距发起帧中添加接收该第一测距发起帧对应的时间戳。
S804,第二设备采用第二资源向第一设备发送第一测距响应帧。相应地,第一设备采用第二资源接收来自第二设备的第一测距响应帧。
示例性地,第二设备的第二通信模组向第一设备的第二通信模组发送第一测距响应帧。相应地,第一设备的第二通信模组接收来自第二设备的第二通信模组的第一测距响应帧。
可选地,测距参数信息可以包括第一响应时刻。
可选地,上述S804可以包括:第二设备在第一响应时刻,采用第二资源向第一设备发送第一测距响应帧。
可选地,第二设备可以向第一测距响应帧添加发送该第一测距响应帧对应的时间戳。第一设备可以接收该第一测距响应帧,并向该第一测距响应帧中添加接收该第一测距响应帧对应的时间戳。
一些实施例中,上述S502还可以包括:S805。S805,第一设备采用第二资源向第二设备发送第一测距最终帧。相应地,第二设备采用第二资源接收来自第一设备的第一测距最终帧。
示例性地,第一设备的第二通信模组向第二设备的第二通信模组发送第一测距最终帧。相应地,第二设备的第二通信模组接收来自第一设备的第二通信模组的第一测距最终帧。
可选地,测距参数信息可以包括第一最终时刻。
可选地,上述S805可以包括:第一设备在第一发起时刻,采用第二资源向第二设备发送第一测距最终帧。
假设个域网中包括第一设备、第二设备1和第二设备2,第一设备可以在第一最终时刻,采用第二资源向第二设备1和第二设备2发送第一测距最终帧。
可选地,第一设备可以向第一测距最终帧添加发送该第一测距最终帧对应的时间戳。第二设备可以接收该第一测距最终帧,并向该第一测距最终帧中添加接收该第一测距最终帧对应的时间戳。
需要说明的是,在本申请实施例提供的方法用于图4中所示的一对多场景时,上述S502的具体实现可包括上述S801至S804,还可以包括S805;或者,上述S502的具体实现可包括下述S806至S809,还可以包括S810。在本申请实施例提供的方法用于图4中所示的多对多场景时,上述S502的具体实现可包括上述S801至S804、以及下述S806至S809,还可以包括S805和/或S810。
在一种可能的设计方法中,测距参数信息包括第二设备为测距发起者和第一设备为测距响应者的情况下,上述S502可以包括:S806至S807。
S806,第一设备采用第二资源向第二设备发送第二测量报告。相应地,第二设备采用第二资源接收来自第一设备的第二测量报告。
示例性地,第一设备的第二通信模组可以向第二设备的第二通信模组发送第二测量报告。相应地,第二设备的第二通信模组接收来自第一设备的第二通信模组的第二测量报告。
可选地,第二测量报告可以包括第五测量信息。
可选地,第五测量信息可指示第一设备接收来自第二设备的第二测距发起帧至第一设备向第二设备发送第二测距响应帧之间的时间段。
结合图9,第五测量信息可指示T2时间段。
可选地,测距参数信息可以包括第二报告时刻。
可选地,上述S806可以包括:第一设备在第二报告时刻,采用第二资源向第二设备发送第二测量报告。
假设个域网中包括第一设备、第二设备1和第二设备2,第一设备可以在第二报告时刻,采用第二资源向第二设备1和第二设备2发送第二测量报告。
S807,第二设备采用第二资源,根据第五测量信息和第六测量信息获得第二距离信息。
示例性地,第一设备的第二通信模组根据第一测量信息和第二测量信息获得第一距离信息。
可选地,第六测量信息可指示第二设备发送第二测距发起帧至第二设备接收第二测距响应帧之间的时间段。
结合图9,第六测量信息可指示T1时间段。
可选地,第二距离信息可以包括第一设备与第二设备之间的距离。
关于S807的具体示例可参照上述S802中对应的示例,此处不再赘述。
在一些实施例中,上述S807可以包括:第二设备采用第二资源,根据第五测量信息、第六测量信息、第七测量信息和第八测量信息获得第二距离信息。
可选地,第二测量报告还可以包括第七测量信息。
可选地,第七测量信息可指示第一设备发送第二测距响应帧至第一设备接收来自第二设备的第二测距最终帧之间的时间段。
结合图10,第七测量信息可指示T4时间段。
可选地,第二测距最终帧可以为第二设备在接收第二测距响应帧后发送的。
可选地,第八测量信息可指示第二设备接收第二测距响应帧至第二设备发送第二测距最终帧之间的时间段。
结合图10,第四测量信息可指示T3时间段。
关于第二设备采用第二资源根据第五测量信息、第六测量信息、第七测量信息和第八测量信息获得第二距离信息的具体示例,与上述S802中第一设备采用第二资源根据第一测量信息、第二测量信息、第三测量信息和第四测量信息获得第一距离信息对应的示例类似,此处不再赘述。
一些实施例中,上述S502还可以包括:S808至S809。
S808,第二设备采用第二资源向第一设备发送第二测距发起帧。相应地,第一设备采用第二资源接收来自第二设备的第二测距发起帧。
可选地,测距参数信息可以包括第二发起时刻。
S809,第一设备采用第二资源向第二设备发送第一测距响应帧。相应地,第二设备采用第二资源接收来自第一设备的第一测距响应帧。
一些实施例中,上述S502还可以包括:S810。S810,第二设备采用第二资源向 第一设备发送第二测距最终帧。相应地,第一设备采用第二资源接收来自第二设备的第二测距最终帧。
可选地,测距参数信息可以包括第二最终时刻。
关于S808至S810的具体实现方式与上述S803至S805类似,此处不再赘述。
在一种可能的设计方法中,本申请实施例提供的方法,还可以包括:第一设备采用第一资源向第二设备发送第一距离信息。相应地,第二设备采用第一资源接收来自第一设备的第一距离信息。
示例性地,第一设备的第一通信模组可以向第二设备的第一通信模组发送第一距离信息。
也就是说,第一设备可以通过功耗更低的第一资源向第二设备发送第一距离信息,可以进一步降低功耗。
可选地,第一设备的第二通信模组可以向第一设备的第一通信模组发送第一距离信息。也就是说,第一设备的第二通信模组获得第一距离信息后,可以将该第一距离信息发给自身的第一通信模组,由第一设备的第一通信模组向第二设备的第一通信模组发送第一距离信息,以进一步降低功耗。
需要说明的是,当第二设备的数量为多个时,第一设备可以将测量结果按时间段以不冲突的形式播发给多个第二设备。
在一种可能的设计方法中,本申请实施例提供的方法,还可以包括:第二设备采用第一资源向第一设备发送第二距离信息。相应地,第一设备采用第一资源接收来自第二设备的第二距离信息。
示例性地,第二设备的第一通信模组可以向第一设备的第一通信模组发送第二距离信息。
也就是说,第二设备可以通过功耗更低的第一资源向第一设备发送第二距离信息,可以进一步降低功耗。
可选地,第二设备的第二通信模组可以向第二设备的第一通信模组发送第二距离信息。
也就是说,第二设备的第二通信模组获得第二距离信息后,可以将该第二距离信息发给自身的第一通信模组,由第二设备的第一通信模组向第一设备的第一通信模组发送第二距离信息,以进一步降低功耗。
基于本申请实施例提供的测距方法,第一设备采用带宽较低的第一资源向第二设备发送测距控制帧,该测距控制帧包括测距参数信息,第一设备与第二设备之间根据测距参数信息,采用第二资源进行测距,这样,采用带宽较低的第一资源执行测距过程中的部分动作,降低占用带宽更高的第二资源的时间,从而可以降低测距过程中的功耗。
另外,第一设备与第二设备之间采用第一资源交互测距参数信息后,采用第二资源进行测距,可以实现在不降低测距精度的基础上降低功耗。
本申请中,除特殊说明外,各个实施例之间相同或相似的部分可以互相参考。在本申请中各个实施例、以及各实施例中的各个实施方式/实施方法/实现方法中,如果没有特殊说明以及逻辑冲突,不同的实施例之间、以及各实施例中的各个实施方式/实施 方法/实现方法之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例、以及各实施例中的各个实施方式/实施方法/实现方法中的技术特征根据其内在的逻辑关系可以组合形成新的实施例、实施方式、实施方法、或实现方法。以下所述的本申请实施方式并不构成对本申请保护范围的限定。
本申请实施例提供一种通信系统。该系统包括上述一个或多个第一设备,以及一个或多个第二设备。
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质包括计算机程序或指令;当该计算机程序或指令在计算机上运行时,使得该计算机执行上述方法实施例所述的测距方法。
本申请实施例提供一种计算机程序产品,包括计算机程序或指令,当该计算机程序或指令在计算机上运行时,使得该计算机执行上述方法实施例所述的测距方法。
本申请实施例提供一种通信系统。该通信系统包括:一个或多个第一设备,以及一个或多个第二设备。
其中,第一设备用于执行上述方法实施例中第一设备的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。
第二设备用于执行上述方法实施例中第二设备的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。
本申请实施例提供一种芯片系统,该芯片系统包括逻辑电路和输入/输出端口。其中,逻辑电路可用于实现本申请实施例提供的方法所涉及的处理功能,输入/输出端口可用于本申请实施例提供的方法所涉及的收发功能。
示例性地,输入端口可用于实现本申请实施例提供的方法所涉及的接收功能,输出端口可用于实现本申请实施例提供的方法所涉及的发送功能。
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现本申请实施例提供的方法所涉及功能的程序指令和数据。
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得本申请实施例提供的方法被执行。
本申请实施例提供一种计算机程序产品,该计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得本申请实施例提供的方法被执行。
应理解,在本申请实施例中的处理器可以是中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、 可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
上述实施例,可以全部或部分地通过软件、硬件(如电路)、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在没有引起矛盾的情况下,本申请中的任意两个或更多个实施例中的任意内容均 可以自由地组合,组合后的技术方案也在本申请的范围内。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (26)

  1. 一种测距方法,其特征在于,包括:
    第一设备采用第一资源向第二设备发送测距控制帧;其中,所述测距控制帧包括测距参数信息,所述测距参数信息用于进行测距;
    所述第一设备根据所述测距参数信息,采用第二资源与所述第二设备交互以进行测距;其中,所述第二资源的带宽大于所述第一资源的带宽。
  2. 根据权利要求1所述的测距方法,其特征在于,所述方法还包括:
    所述第一设备采用所述第一资源向所述第二设备发送测距信标帧;其中,所述测距信标帧用于请求组建个域网。
  3. 根据权利要求2所述的测距方法,其特征在于,所述方法还包括:
    所述第一设备采用所述第一资源与所述第二设备组建所述个域网。
  4. 根据权利要求3所述的测距方法,其特征在于,所述方法还包括:
    所述第一设备采用所述第一资源接收来自所述第二设备的标识信息;其中,所述标识信息用于标识所述第二设备。
  5. 根据权利要求1-4中任一项所述的测距方法,其特征在于,所述测距参数信息包括所述第一设备为测距发起者和所述第二设备为测距响应者的情况下,所述第一设备根据所述测距参数信息,采用第二资源与所述第二设备交互以进行测距,包括:
    所述第一设备采用所述第二资源,接收来自所述第二设备的第一测量报告;其中,所述第一测量报告包括第一测量信息,所述第一测量信息指示所述第二设备接收来自所述第一设备的第一测距发起帧至所述第二设备向所述第一设备发送第一测距响应帧之间的时间段;
    所述第一设备采用所述第二资源,根据所述第一测量信息和第二测量信息获得第一距离信息;其中,所述第二测量信息指示所述第一设备发送所述第一测距发起帧至所述第一设备接收所述第一测距响应帧之间的时间段,所述第一距离信息包括所述第一设备与所述第二设备之间的距离。
  6. 根据权利要求5所述的测距方法,其特征在于,所述第一测量报告还包括第三测量信息,所述第三测量信息指示所述第二设备发送所述第一测距响应帧至所述第二设备接收来自所述第一设备的第一测距最终帧之间的时间段,所述第一测距最终帧为所述第一设备在接收所述第一测距响应帧后发送的。
  7. 根据权利要求6所述的测距方法,其特征在于,所述第一设备采用所述第二资源,根据所述第一测量信息和第二测量信息获得第一距离信息,包括:
    所述第一设备采用所述第二资源,根据所述第一测量信息、所述第二测量信息、所述第三测量信息和第四测量信息获得第一距离信息;其中,所述第四测量信息指示所述第一设备接收所述第一测距响应帧至所述第一设备发送所述第一测距最终帧之间的时间段。
  8. 根据权利要求5-7中任一项所述的测距方法,其特征在于,所述方法还包括:
    所述第一设备采用所述第一资源向所述第二设备发送所述第一距离信息。
  9. 根据权利要求1-8中任一项所述的测距方法,其特征在于,所述测距参数信息包括所述第二设备为测距发起者和所述第一设备为测距响应者的情况下,所述第一设备 根据所述测距参数信息,采用第二资源与所述第二设备交互以进行测距,包括:
    所述第一设备采用所述第二资源向所述第二设备发送第二测量报告;其中,所述第二测量报告包括第五测量信息,所述第五测量信息指示所述第一设备接收来自所述第二设备的第二测距发起帧至所述第一设备向所述第二设备发送第二测距响应帧之间的时间段。
  10. 根据权利要求9所述的测距方法,其特征在于,所述第二测量报告还包括第七测量信息,所述第七测量信息指示所述第一设备发送所述第二测距响应帧至所述第一设备接收来自所述第二设备的第二测距最终帧之间的时间段。
  11. 根据权利要求9或10所述的测距方法,其特征在于,所述方法还包括:
    所述第一设备采用所述第一资源接收来自所述第二设备的第二距离信息;其中,所述第二距离信息包括所述第一设备与所述第二设备之间的距离。
  12. 一种测距方法,其特征在于,包括:
    第二设备采用第一资源接收来自第一设备的测距控制帧;其中,所述测距控制帧包括测距参数信息,所述测距参数信息用于进行测距;
    所述第二设备根据所述测距参数信息,采用第二资源与所述第一设备交互以进行测距;其中,所述第二资源的带宽大于所述第一资源的带宽。
  13. 根据权利要求12所述的测距方法,其特征在于,所述方法还包括:
    所述第二设备采用所述第一资源接收来自所述第一设备的测距信标帧;其中,所述测距信标帧用于请求组建个域网。
  14. 根据权利要求13所述的测距方法,其特征在于,所述方法还包括:
    所述第二设备采用所述第一资源与所述第一设备组建所述个域网。
  15. 根据权利要求14所述的测距方法,其特征在于,所述方法还包括:
    响应于所述第二设备采用所述第一资源与所述第一设备组建所述个域网,所述第二设备通过所述第一资源向所述第一设备发送标识信息;其中,所述标识信息用于标识所述第二设备。
  16. 根据权利要求12-15中任一项所述的测距方法,其特征在于,所述测距参数信息包括所述第一设备为测距发起者和所述第二设备为测距响应者的情况下,所述第二设备根据所述测距参数信息,采用第二资源与所述第一设备交互以进行测距,包括:
    所述第二设备采用所述第二资源向所述第一设备发送第一测量报告;其中,所述第一测量报告包括第一测量信息,所述第一测量信息指示所述第二设备接收来自所述第一设备的第一测距发起帧至所述第二设备向所述第一设备发送第一测距响应帧之间的时间段。
  17. 根据权利要求16所述的测距方法,其特征在于,所述第一测量报告还包括第三测量信息,所述第三测量信息指示所述第二设备发送所述第一测距响应帧至所述第二设备接收来自所述第一设备的第一测距最终帧之间的时间段。
  18. 根据权利要求15-17中任一项所述的测距方法,其特征在于,所述方法还包括:
    所述第二设备采用所述第一资源接收来自所述第一设备的第一距离信息;其中,所述第一距离信息包括所述第一设备与所述第二设备之间的距离。
  19. 根据权利要求12-18中任一项所述的测距方法,其特征在于,所述测距参数信 息包括所述第二设备为测距发起者和所述第一设备为测距响应者的情况下,所述第二设备根据所述测距参数信息,采用第二资源与所述第一设备交互以进行测距,还包括:
    所述第二设备采用所述第二资源接收来自所述第一设备的第二测量报告;其中,所述第二测量报告包括第五测量信息,所述第五测量信息指示所述第一设备接收来自所述第二设备的第二测距发起帧至所述第一设备向所述第二设备发送第二测距响应帧之间的时间段;
    所述第二设备采用所述第二资源,根据所述第五测量信息和第六测量信息获得第二距离信息;其中,所述第六测量信息指示所述第二设备发送所述第二测距发起帧至所述第二设备接收所述第二测距响应帧之间的时间段,所述第二距离信息包括所述第一设备与所述第二设备之间的距离。
  20. 根据权利要求19所述的测距方法,其特征在于,所述第二测量报告还包括第七测量信息,所述第七测量信息指示所述第一设备发送所述第二测距响应帧至所述第一设备接收来自所述第二设备的第二测距最终帧之间的时间段。
  21. 根据权利要求20所述的测距方法,其特征在于,所述第二设备采用所述第二资源,根据所述第五测量信息和第六测量信息获得第二距离信息,包括:
    所述第二设备采用所述第二资源,根据所述第五测量信息、所述第六测量信息、所述第七测量信息和第八测量信息获得第二距离信息;其中,所述第八测量信息指示所述第二设备接收所述第二测距响应帧至所述第二设备发送所述第二测距最终帧之间的时间段。
  22. 根据权利要求19-21中任一项所述的测距方法,其特征在于,所述方法还包括:
    所述第二设备采用所述第一资源向所述第一设备发送所述第二距离信息。
  23. 一种通信装置,其特征在于,所述通信装置包括:第一通信模组和第二通信模组,所述第一通信模组用于唤醒所述第二通信模组;
    所述第一通信模组,用于采用第一资源,执行如权利要求1-22中任一项所述的采用所述第一资源执行的方法;
    所述第二通信模组,用于采用第二资源,执行如权利要求1-22中任一项所述的采用所述第二资源执行的方法;所述第一资源的带宽小于所述第二资源的带宽。
  24. 一种通信装置,其特征在于,所述通信装置包括:处理器;所述处理器,用于执行如权利要求1-22中任一项所述的方法。
  25. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得如权利要求1-22中任一项所述的方法被执行。
  26. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得如权利要求1-22中任一项所述的方法被执行。
PCT/CN2023/083175 2022-03-25 2023-03-22 测距方法及装置 WO2023179690A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210301507 2022-03-25
CN202210301507.5 2022-03-25
CN202210727259.0 2022-06-24
CN202210727259.0A CN116840822A (zh) 2022-03-25 2022-06-24 测距方法及装置

Publications (1)

Publication Number Publication Date
WO2023179690A1 true WO2023179690A1 (zh) 2023-09-28

Family

ID=88100062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/083175 WO2023179690A1 (zh) 2022-03-25 2023-03-22 测距方法及装置

Country Status (1)

Country Link
WO (1) WO2023179690A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117607844A (zh) * 2024-01-17 2024-02-27 鹏城实验室 激光通信测距方法、装置、系统及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801612A1 (en) * 2005-12-23 2007-06-27 Essensium Method for estimating distance between transmitter and receiver, and transmitter and receiver implementing same
CN107251621A (zh) * 2015-02-13 2017-10-13 高通股份有限公司 高效测距
CN111278030A (zh) * 2017-08-11 2020-06-12 Oppo广东移动通信有限公司 数据传输的方法、终端设备和网络设备
CN112055982A (zh) * 2020-08-06 2020-12-08 北京小米移动软件有限公司 测距信号的发送、接收方法、装置、设备及可读存储介质
US20220082676A1 (en) * 2019-01-08 2022-03-17 Samsung Electronics Co., Ltd. Electronic device for performing ranging through ultra-wide band (uwb), and method for operating electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801612A1 (en) * 2005-12-23 2007-06-27 Essensium Method for estimating distance between transmitter and receiver, and transmitter and receiver implementing same
US20080291090A1 (en) * 2005-12-23 2008-11-27 Patrick Vandenameele Method For Estimating Distance Between Transmitter and Receiver, and Transmitter and Receiver Implementing Same
CN107251621A (zh) * 2015-02-13 2017-10-13 高通股份有限公司 高效测距
CN111278030A (zh) * 2017-08-11 2020-06-12 Oppo广东移动通信有限公司 数据传输的方法、终端设备和网络设备
US20220082676A1 (en) * 2019-01-08 2022-03-17 Samsung Electronics Co., Ltd. Electronic device for performing ranging through ultra-wide band (uwb), and method for operating electronic device
CN112055982A (zh) * 2020-08-06 2020-12-08 北京小米移动软件有限公司 测距信号的发送、接收方法、装置、设备及可读存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117607844A (zh) * 2024-01-17 2024-02-27 鹏城实验室 激光通信测距方法、装置、系统及存储介质
CN117607844B (zh) * 2024-01-17 2024-04-12 鹏城实验室 激光通信测距方法、装置、系统及存储介质

Similar Documents

Publication Publication Date Title
US20230276430A1 (en) Resource scheduling method and apparatus, communication device and storage medium
US9414311B2 (en) Systems and methods for power savings in wireless communications
US10477583B2 (en) System and method for medium access control enabling both full-duplex and half-duplex communications
WO2023179690A1 (zh) 测距方法及装置
US10386451B2 (en) Method for an enhanced time of arrival positioning system
US10588169B2 (en) Mechanism to enable rejection and cancellation of request actions from wireless peer-to-peer devices
TW202215869A (zh) 使用者設備及其執行的方法
CN116840822A (zh) 测距方法及装置
WO2022078183A1 (zh) 用于确定传输时延的方法和电子设备
CN114698069A (zh) 通信方法和设备
TWI406580B (zh) 可降低無線資源耗費的傳輸方法及其相關裝置
JP6950688B2 (ja) 無線通信装置および無線通信方法
US10433212B2 (en) Unscheduled power save mode with peer device notification
WO2023201946A1 (zh) 短距离无线通信方法、装置及系统
WO2023213159A1 (zh) 通信方法及装置
WO2024007264A1 (zh) 模型训练方法及通信装置
WO2024067043A1 (zh) 电子设备及其感知信息交互方法、介质
WO2024055702A1 (zh) 信道测量方法及相关装置
WO2024027343A1 (zh) 定位方法及装置
WO2024032202A1 (zh) 一种协作传输接收点指示方法及装置
WO2023004834A1 (zh) 资源分配方法、装置及系统
WO2023279266A1 (zh) 一种通信方法和通信装置
US20240130002A1 (en) Technologies for wireless sensor networks
WO2023011261A1 (zh) 数据传输方法和装置
WO2023174413A1 (en) Sensing measurement report frame format

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23773937

Country of ref document: EP

Kind code of ref document: A1