WO2023179241A1 - Positioning method and apparatus - Google Patents

Positioning method and apparatus Download PDF

Info

Publication number
WO2023179241A1
WO2023179241A1 PCT/CN2023/075797 CN2023075797W WO2023179241A1 WO 2023179241 A1 WO2023179241 A1 WO 2023179241A1 CN 2023075797 W CN2023075797 W CN 2023075797W WO 2023179241 A1 WO2023179241 A1 WO 2023179241A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
ranging signal
message
positioning
network
Prior art date
Application number
PCT/CN2023/075797
Other languages
French (fr)
Chinese (zh)
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 CN202210768674.0A external-priority patent/CN116847277A/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023179241A1 publication Critical patent/WO2023179241A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

Embodiments of the present application provide a positioning method and apparatus. The method comprises: a first device receives a first message from a second device on a first bandwidth, the first message being used for requesting position information of the first device, a source end device of the first message being a third device, the first device and the second device being located in a first sub-network in a wireless mesh network, and the third device being located in a second sub-network in the mesh network; and the first device sends a ranging signal and/or receives a ranging signal on a second bandwidth, the ranging signal being used for determining the position information of the first device, and the first bandwidth being smaller than the second bandwidth. According to the solution, different stages in a positioning process are executed by using different bandwidths in combination, so that the working time of the second bandwidth can be reduced while the positioning precision is ensured. Thus, power consumption can be reduced, and the solution has a flexible application space in the fields of indoor positioning and the like.

Description

一种定位方法和装置A positioning method and device
相关申请的交叉引用Cross-references to related applications
本申请要求在2022年03月25日提交中国专利局、申请号为202210307704.8、申请名称为“一种定位方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中;本申请要求在2022年06月30日提交中国专利局、申请号为202210768674.0、申请名称为“一种定位方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application submitted to the China Patent Office on March 25, 2022, with the application number 202210307704.8 and the application title "A positioning method and device", the entire content of which is incorporated into this application by reference; This application claims priority to the Chinese patent application filed with the China Patent Office on June 30, 2022, with application number 202210768674.0 and application title "A positioning method and device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种定位方法和装置。The present application relates to the field of communication technology, and in particular, to a positioning method and device.
背景技术Background technique
随着通信技术及其应用的飞速发展,基于无线通信的定位技术受到越来越多的关注,尤其是室内定位技术,在智能家居、工业生产、物流管理等应用场景中有广阔的应用前景。其中,室内定位是利用各种支持测角、测距、测时或特征识别等功能的设备,确定目标的位置或姿态的过程。With the rapid development of communication technology and its applications, positioning technology based on wireless communication has received more and more attention, especially indoor positioning technology, which has broad application prospects in smart homes, industrial production, logistics management and other application scenarios. Among them, indoor positioning is the process of determining the position or attitude of a target by using various devices that support functions such as angle measurement, ranging, timing, or feature recognition.
当前的室内定位应用场景一般基于超宽带(ultra wide band,UWB)技术。UWB技术作为短距离通信技术,采用脉冲宽度仅为纳秒级的脉冲作为其基础信号,具有传输速率高、系统容量大、频谱带宽大等特点,功率谱密度极低,可以与其他短距离通信技术实现共存。UWB技术的上述特点使得其具有很高的时间分辨率、抗多径能力强,测距、定位精度高,可达厘米级。Current indoor positioning application scenarios are generally based on ultra wide band (UWB) technology. As a short-distance communication technology, UWB technology uses pulses with a pulse width of only nanoseconds as its basic signal. It has the characteristics of high transmission rate, large system capacity, large spectrum bandwidth, etc. The power spectral density is extremely low, and it can communicate with other short-distance Technology enables coexistence. The above characteristics of UWB technology enable it to have high time resolution, strong anti-multipath ability, and high ranging and positioning accuracy, which can reach centimeter level.
基于UWB技术的定位系统应用在室内定位场景中,具有精度高的特点,但却存在网络部署成本高、人工成本高、维护成本等高、功耗大等问题。Positioning systems based on UWB technology are used in indoor positioning scenarios and have the characteristics of high accuracy, but there are problems such as high network deployment costs, high labor costs, high maintenance costs, and high power consumption.
发明内容Contents of the invention
第一方面,提供一种定位方法,包括:第一设备在第一带宽上从第二设备接收的第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和第二设备位于无线网格Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;第一设备在第二带宽上发送测距信号和/或接收测距信号,测距信号用于确定第一设备的位置信息;其中,第一带宽的带宽小于第二带宽的带宽。In a first aspect, a positioning method is provided, including: a first message received by a first device from a second device on a first bandwidth, where the first message is used to request location information of the first device, and the source of the first message The device is a third device. The first device and the second device are located in the first sub-network of the wireless mesh Mesh network. The third device is located in the second sub-network of the Mesh network. The first device sends ranging on the second bandwidth. signals and/or receives a ranging signal, and the ranging signal is used to determine the location information of the first device; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
上述方案中,参与定位的设备之间组成Mesh网络,且基于Mesh网络实现定位,可以降低网络部署成本和复杂度;Mesh网络中的设备在跨子网络定位时(如位于第二子网络的第三设备对位于第一子网络的第一设备进行定位时),融合使用不同的带宽执行定位过程中的不同阶段(例如在带宽较小的第一带宽上传递第一消息,在带宽较大的第二带宽上发送测距信号和/或接收测距信号),可以在保证定位精度的同时,减少第二带宽的工作时间,因而可以降低功耗,在室内定位领域具有灵活的应用空间。In the above solution, devices participating in positioning form a Mesh network, and positioning is implemented based on the Mesh network, which can reduce network deployment costs and complexity; when the devices in the Mesh network are positioned across sub-networks (such as those located in the second sub-network), When the three devices locate the first device located in the first sub-network), they use different bandwidths to perform different stages of the positioning process (for example, transmit the first message on the first bandwidth with a smaller bandwidth, and transmit the first message on the first bandwidth with a larger bandwidth). Sending ranging signals and/or receiving ranging signals on the second bandwidth can reduce the working time of the second bandwidth while ensuring positioning accuracy, thereby reducing power consumption and having flexible application space in the field of indoor positioning.
一种可能的设计中,在第一设备在第一带宽上从第二设备接收第一消息之后、以及第一设备在第二带宽上发送测距信号和/或接收测距信号之前,第一设备在第一带宽上向第二设备发送第二消息,第二消息中包含用于指示第一设备位于第一子网络的指示信息,第二 消息的目的端设备为第三设备。相应的,当第三设备位于第一子网络时,第一设备在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号。In a possible design, after the first device receives the first message from the second device on the first bandwidth and before the first device sends and/or receives the ranging signal on the second bandwidth, the first The device sends a second message to the second device on the first bandwidth. The second message contains indication information indicating that the first device is located in the first subnetwork. The destination device of the message is a third device. Correspondingly, when the third device is located in the first sub-network, the first device sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth.
该设计中,发起定位的设备(第三设备)先将被定位设备(第一设备)的消息(即第一消息)发布至全网,发起定位的设备收到被定位设备的大概位置(如第一设备位于第一子网络的指示信息)后,移动至被定位设备附近之后,第三设备对第一设备执行定位测量过程,实现精准定位,可以实现对目标的精准查找。在一些场景下,还可以让用户可以参与查找过程(例如用户控制移动被定位设备),可以提高用户体验。In this design, the device initiating positioning (the third device) first publishes the message (i.e., the first message) of the device being located (the first device) to the entire network, and the device initiating positioning receives the approximate location of the device being located (such as After the first device is located in the first sub-network (instruction information) and moves near the located device, the third device performs a positioning measurement process on the first device to achieve precise positioning and accurate target search. In some scenarios, users can also be allowed to participate in the search process (for example, the user controls the movement of the located device), which can improve the user experience.
可以理解的,参与定位测量过程的设备不限于只有第三设备,例如第一设备所在子网络中的其它设备也可以对第一设备执行定位测量过程,具体方法可以参考第三设备对第一设备执行的定位测量过程,此处不再赘述。It can be understood that the devices participating in the positioning measurement process are not limited to only the third device. For example, other devices in the subnetwork where the first device is located can also perform the positioning measurement process on the first device. For specific methods, please refer to the third device on the first device. The positioning measurement process performed will not be described again here.
一种可能的设计中,在第一设备在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号之前,第一设备在第一带宽上与第三设备建立通信链路;第一设备在第一带宽上,与第三设备协商定位参数。相应的,第一设备基于通信链路和定位参数,在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号。In a possible design, before the first device sends a ranging signal to the third device on the second bandwidth and/or receives a ranging signal from the third device, the first device communicates with the third device on the first bandwidth. A communication link is established; the first device negotiates positioning parameters with the third device on the first bandwidth. Correspondingly, the first device sends the ranging signal to the third device and/or receives the ranging signal from the third device on the second bandwidth based on the communication link and the positioning parameter.
该设计中,第一设备在第一带宽上与第三设备建立通信链路,以及与第三设备协商定位参数,为后续定位测量过程提供了保障,同时可以进一步减少功耗。In this design, the first device establishes a communication link with the third device on the first bandwidth and negotiates positioning parameters with the third device, which provides guarantee for the subsequent positioning measurement process and can further reduce power consumption.
一种可能的设计中,第一设备在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号,其中第四设备位于第一子网络。In a possible design, the first device sends the ranging signal to the fourth device and/or receives the ranging signal from the fourth device on the second bandwidth, where the fourth device is located in the first sub-network.
该设计中,发起定位的设备(第三设备)先将查找被定位设备(第一设备)的消息(即第一消息)发布至全网,第一设备收到消息后,通过第一设备所在的子网络中的其它设备(如第四设备)对第一设备进行定位测量,实现精准定位,最后将定位结果返回给第三设备,可以实现对目标的精准查找。并且,不需要第一设备移动位置,方案适用性强。In this design, the device that initiates positioning (the third device) first publishes a message (i.e., the first message) to find the device being located (the first device) to the entire network. After the first device receives the message, it Other devices (such as the fourth device) in the sub-network perform positioning measurements on the first device to achieve precise positioning, and finally return the positioning results to the third device, thereby achieving accurate target search. Moreover, there is no need for the first device to move, and the solution has strong applicability.
可以理解的,参与定位测量过程的设备不限于只有第四设备,例如第一设备所在子网络中处第一设备和第四设备外的其它设备也可以对第一设备执行定位测量过程,具体方法可以参考第四设备对第一设备执行的定位测量过程,此处不再赘述。It can be understood that the devices participating in the positioning measurement process are not limited to only the fourth device. For example, other devices other than the first device and the fourth device in the subnetwork where the first device is located can also perform the positioning measurement process on the first device. The specific method is Reference may be made to the positioning measurement process performed by the fourth device on the first device, which will not be described again here.
一种可能的设计中,在第一设备在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号之前,第一设备在第一带宽上与第四设备建立通信链路;第一设备在第一带宽上,与第四设备协商定位参数。相应的,第一设备基于通信链路和定位参数,在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号。In a possible design, before the first device sends a ranging signal to the fourth device on the second bandwidth and/or receives a ranging signal from the fourth device, the first device communicates with the fourth device on the first bandwidth. A communication link is established; the first device negotiates positioning parameters with the fourth device on the first bandwidth. Correspondingly, the first device sends the ranging signal to the fourth device and/or receives the ranging signal from the fourth device on the second bandwidth based on the communication link and the positioning parameter.
该设计中,第一设备在第一带宽上与第四设备建立通信链路,以及与第四设备协商定位参数,为后续定位测量过程提供了保障,同时可以进一步减少功耗。In this design, the first device establishes a communication link with the fourth device on the first bandwidth and negotiates positioning parameters with the fourth device, which provides guarantee for the subsequent positioning measurement process and can further reduce power consumption.
一种可能的设计中,在第一设备在第二带宽上发送测距信号和/或接收测距信号之后,第一设备在第一带宽上发送第三消息,第三消息中包括第一设备的定位结果,定位结果用于指示第一设备的位置信息,第三消息的目的端设备为第三设备。In a possible design, after the first device sends and/or receives the ranging signal on the second bandwidth, the first device sends a third message on the first bandwidth, and the third message includes the first device The positioning result is used to indicate the location information of the first device, and the destination device of the third message is the third device.
一种可能的设计中,第一带宽为窄带通信技术对应的带宽,例如包括但不限于是无线网络Wi-Fi、蓝牙或近场通信NFC中至少一种通信技术对应的带宽;第二带宽为宽带通信技术对应的带宽,例如包括但不限于是超宽带UWB对应的带宽。In one possible design, the first bandwidth is a bandwidth corresponding to a narrowband communication technology, including but not limited to a bandwidth corresponding to at least one communication technology among wireless networks Wi-Fi, Bluetooth, or near field communication NFC; the second bandwidth is The bandwidth corresponding to broadband communication technology includes, but is not limited to, the bandwidth corresponding to ultra-wideband UWB.
当然,以上几种仅为示例,而非具体限定。Of course, the above are only examples and not specific limitations.
第二方面,提供一种定位方法,包括:第三设备在第一带宽上向第五设备发送第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为第三设备,第一 设备位于Mesh网络中的第一子网络,第三设备和第五设备位于Mesh网络中的第二子网络;第三设备在第一带宽上从第五设备接收第二消息,第二消息中包含用于指示第一设备位于第一子网络的指示信息,第二消息的源端设备为第一设备,第二消息的目的端设备为第三设备;当第三设备位于第一子网络时,第三设备在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。In a second aspect, a positioning method is provided, including: a third device sending a first message to a fifth device on a first bandwidth, where the first message is used to request location information of the first device, and the source device of the first message for the third device, the first The device is located in the first sub-network of the Mesh network, and the third device and the fifth device are located in the second sub-network of the Mesh network; the third device receives the second message from the fifth device on the first bandwidth, and the second message contains Instruction information used to indicate that the first device is located in the first sub-network, the source device of the second message is the first device, and the destination device of the second message is the third device; when the third device is located in the first sub-network, The third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,第三设备根据指示信息,向第一子网络移动。In a possible design, the third device moves to the first sub-network according to the instruction information.
一种可能的设计中,在第三设备在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之前,第三设备在第一带宽上与第一设备建立通信链路;第三设备在第一带宽上,与第一设备协商定位参数。相应的,第三设备基于通信链路和定位参数,在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号。In a possible design, before the third device sends a ranging signal to the first device on the second bandwidth and/or receives a ranging signal from the first device, the third device communicates with the first device on the first bandwidth. A communication link is established; the third device negotiates positioning parameters with the first device on the first bandwidth. Correspondingly, the third device sends the ranging signal to the first device and/or receives the ranging signal from the first device on the second bandwidth based on the communication link and the positioning parameter.
一种可能的设计中,在第三设备在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之后,第三设备在第一带宽上从第一设备接收第三消息,第三消息中包括第一设备的定位结果,定位结果用于指示第一设备的位置信息,第三消息的目的端设备为第三设备。In a possible design, after the third device sends the ranging signal to the first device on the second bandwidth and/or receives the ranging signal from the first device, the third device transmits the ranging signal from the first device on the first bandwidth. A third message is received, the third message includes a positioning result of the first device, the positioning result is used to indicate the location information of the first device, and the destination device of the third message is the third device.
一种可能的设计中,第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;第二带宽为UWB对应的带宽。In a possible design, the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB.
第三方面,提供一种定位方法,包括:第四设备在第一带宽上与第一设备建立通信链路;其中,第四设备和第一设备均位于Mesh网络中的第一子网络;第四设备在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。In a third aspect, a positioning method is provided, including: a fourth device establishes a communication link with the first device on a first bandwidth; wherein both the fourth device and the first device are located in the first subnetwork of the Mesh network; The four devices send ranging signals to the first device and/or receive ranging signals from the first device on the second bandwidth; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,在第四设备在第一带宽上与第一设备建立通信链路之后、以及第四设备在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之前,第四设备在第一带宽上,与第一设备协商定位参数。相应的,第四设备基于通信链路和定位参数,在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号。In a possible design, after the fourth device establishes a communication link with the first device on the first bandwidth, and the fourth device sends a ranging signal to the first device on the second bandwidth and/or receives a ranging signal from the first device. Before receiving the ranging signal of the device, the fourth device negotiates positioning parameters with the first device on the first bandwidth. Correspondingly, the fourth device sends the ranging signal to the first device and/or receives the ranging signal from the first device on the second bandwidth based on the communication link and the positioning parameter.
一种可能的设计中,第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;第二带宽为UWB对应的带宽。In a possible design, the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB.
第四方面,提供一种定位方法,包括:第二设备在第一带宽上接收第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和第二设备位于Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;第二设备在第一带宽上向第一设备发送第一消息;其中,第一带宽的带宽小于第二带宽的带宽。In a fourth aspect, a positioning method is provided, including: a second device receiving a first message on a first bandwidth, where the first message is used to request location information of the first device, and the source device of the first message is a third device. , the first device and the second device are located in the first sub-network in the Mesh network, and the third device is located in the second sub-network in the Mesh network; the second device sends the first message to the first device on the first bandwidth; wherein, The bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,第二设备在第一带宽上从第一设备接收第二消息,并在第一带宽上向第二设备发送第二消息;其中,第二消息中包含第一设备所在区域的信息,第二消息的目的端设备为第三设备。In a possible design, the second device receives the second message from the first device on the first bandwidth, and sends the second message to the second device on the first bandwidth; wherein the second message contains the location of the first device. area information, the destination device of the second message is the third device.
第五方面,提供一种定位装置,包括用于执行上述第一方面或第一方面任一种可能的设计中所述方法的模块。In a fifth aspect, a positioning device is provided, including a module for executing the method described in the above-mentioned first aspect or any possible design of the first aspect.
示例性的,装置包括收发模块,用于在第一带宽上从第二设备接收的第一消息,其中第一消息用于请求装置所在的第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和第二设备位于无线网格Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;收发模块,还用于在第二带宽上发送测距信号和/或接收测距信号,测距信号用于确定第一设备的位置信息;其中,第一带宽的带宽小于第二带宽的带宽。 Exemplarily, the device includes a transceiver module for receiving a first message from a second device on a first bandwidth, where the first message is used to request location information of the first device where the device is located, and the source device of the first message is a third device, the first device and the second device are located in the first sub-network in the wireless mesh Mesh network, and the third device is located in the second sub-network in the Mesh network; the transceiver module is also used to send on the second bandwidth The ranging signal and/or the ranging signal is received, and the ranging signal is used to determine the location information of the first device; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,收发模块,还用于:在第一带宽上从第二设备接收第一消息之后、以及在第二带宽上发送测距信号和/或接收测距信号之前,在第一带宽上向第二设备发送第二消息,第二消息中包含用于指示第一设备位于第一子网络的指示信息,第二消息的目的端设备为第三设备;收发模块在第二带宽上发送测距信号和/或接收测距信号时,具体用于:当第三设备位于第一子网络时,在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号。In a possible design, the transceiver module is also configured to: after receiving the first message from the second device on the first bandwidth and before sending the ranging signal and/or receiving the ranging signal on the second bandwidth, Send a second message to the second device on a bandwidth, the second message includes indication information indicating that the first device is located in the first subnetwork, and the destination device of the second message is a third device; the transceiver module operates on the second bandwidth When sending ranging signals and/or receiving ranging signals on the second bandwidth, it is specifically used for: when the third device is located in the first sub-network, sending ranging signals to the third device and/or receiving ranging signals from the third device on the second bandwidth. ranging signal.
一种可能的设计中,收发模块还用于:在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号之前,在第一带宽上与第三设备建立通信链路;在第一带宽上,与第三设备协商定位参数;收发模块在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号时,具体用于:基于通信链路和定位参数,在第二带宽上向第三设备发送测距信号和/或接收来自第三设备的测距信号。In a possible design, the transceiver module is also configured to: establish a connection with the third device on the first bandwidth before sending the ranging signal to the third device on the second bandwidth and/or receiving the ranging signal from the third device. Communication link; on the first bandwidth, negotiate positioning parameters with the third device; when the transceiver module sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth, it is specifically used : Based on the communication link and positioning parameters, send the ranging signal to the third device and/or receive the ranging signal from the third device on the second bandwidth.
一种可能的设计中,收发模块在第二带宽上发送测距信号和/或接收测距信号时,具体用于:在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号,其中第四设备位于第一子网络。In a possible design, when the transceiver module sends the ranging signal and/or receives the ranging signal on the second bandwidth, it is specifically used to: send the ranging signal to the fourth device on the second bandwidth and/or receive the ranging signal from the third device. Ranging signals of four devices, where the fourth device is located in the first sub-network.
一种可能的设计中,收发模块在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号之前,还用于:在第一带宽上与第四设备建立通信链路;在第一带宽上,与第四设备协商定位参数;收发模块在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号时,具体用于:基于通信链路和定位参数,在第二带宽上向第四设备发送测距信号和/或接收来自第四设备的测距信号。In a possible design, before sending the ranging signal to the fourth device on the second bandwidth and/or receiving the ranging signal from the fourth device, the transceiver module is also configured to: establish a connection with the fourth device on the first bandwidth. Communication link; on the first bandwidth, negotiate positioning parameters with the fourth device; when the transceiver module sends a ranging signal to the fourth device and/or receives a ranging signal from the fourth device on the second bandwidth, it is specifically used : Based on the communication link and the positioning parameter, send the ranging signal to the fourth device and/or receive the ranging signal from the fourth device on the second bandwidth.
一种可能的设计中,收发模块还用于:在第二带宽上发送测距信号和/或接收测距信号之后,在第一带宽上发送第三消息,第三消息中包括第一设备的定位结果,定位结果用于指示第一设备的位置信息,第三消息的目的端设备为第三设备。In a possible design, the transceiver module is further configured to: after sending the ranging signal and/or receiving the ranging signal on the second bandwidth, send a third message on the first bandwidth, where the third message includes the information of the first device. The positioning result is used to indicate the location information of the first device, and the destination device of the third message is the third device.
一种可能的设计中,第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;第二带宽为UWB对应的带宽。In a possible design, the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB.
第六方面,提供一种定位装置,包括用于执行上述第二方面或第二方面任一种可能的设计中所述方法的模块。In a sixth aspect, a positioning device is provided, including a module for executing the method described in the above second aspect or any possible design of the second aspect.
示例性的,装置包括:收发模块,用于在第一带宽上向第五设备发送第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为装置所在的第三设备,第一设备位于Mesh网络中的第一子网络,第三设备和第五设备位于Mesh网络中的第二子网络;收发模块,还用于在第一带宽上从第五设备接收第二消息,第二消息中包含用于指示第一设备位于第一子网络的指示信息,第二消息的源端设备为第一设备,第二消息的目的端设备为第三设备;当第三设备位于第一子网络时,收发模块,还用于在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, the device includes: a transceiver module, configured to send a first message to a fifth device on a first bandwidth, where the first message is used to request location information of the first device, and the source device of the first message is where the device is located. The third device, the first device is located in the first sub-network in the Mesh network, the third device and the fifth device are located in the second sub-network in the Mesh network; the transceiver module is also used to transmit data from the fifth device on the first bandwidth Receive a second message, the second message includes indication information indicating that the first device is located in the first subnetwork, the source device of the second message is the first device, and the destination device of the second message is the third device; when When the third device is located in the first sub-network, the transceiver module is also configured to send a ranging signal to the first device and/or receive a ranging signal from the first device on the second bandwidth; wherein the bandwidth of the first bandwidth is smaller than The bandwidth of the second bandwidth.
一种可能的设计中,装置还包括:处理模块,用于根据指示信息,控制第三设备向第一子网络移动。In a possible design, the device further includes: a processing module, configured to control the third device to move to the first sub-network according to the instruction information.
一种可能的设计中,收发模块还用于:在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之前,在第一带宽上与第一设备建立通信链路;在第一带宽上,与第一设备协商定位参数;收发模块在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号时,具体用于:基于通信链路和定位参数,在第二带宽上向第一设备 发送测距信号和/或接收来自第一设备的测距信号。In a possible design, the transceiver module is also configured to: establish a connection with the first device on the first bandwidth before sending the ranging signal to the first device on the second bandwidth and/or receiving the ranging signal from the first device. Communication link; on the first bandwidth, negotiate positioning parameters with the first device; when the transceiver module sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, it is specifically used : Based on the communication link and positioning parameters, send data to the first device on the second bandwidth Send ranging signals and/or receive ranging signals from the first device.
一种可能的设计中,收发模块还用于:在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之后,在第一带宽上从第一设备接收第三消息,第三消息中包括第一设备的定位结果,定位结果用于指示第一设备的位置信息,第三消息的目的端设备为第三设备。In a possible design, the transceiver module is also configured to: after sending the ranging signal to the first device on the second bandwidth and/or receiving the ranging signal from the first device, receive the ranging signal from the first device on the first bandwidth. The third message includes the positioning result of the first device. The positioning result is used to indicate the location information of the first device. The destination device of the third message is the third device.
一种可能的设计中,第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;第二带宽为UWB对应的带宽。In a possible design, the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB.
第七方面,提供一种定位装置,包括用于执行上述第三方面或第三方面任一种可能的设计中所述方法的模块。In a seventh aspect, a positioning device is provided, including a module for executing the method described in the above third aspect or any possible design of the third aspect.
示例性的,装置包括:收发模块,用于在第一带宽上与第一设备建立通信链路;其中,装置所在的第四设备和第一设备均位于Mesh网络中的第一子网络;收发模块,还用于在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, the device includes: a transceiver module, configured to establish a communication link with the first device on the first bandwidth; wherein the fourth device and the first device where the device is located are both located in the first sub-network in the Mesh network; transceiver A module, further configured to send a ranging signal to the first device and/or receive a ranging signal from the first device on a second bandwidth; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,收发模块还用于:在第一带宽上与第一设备建立通信链路之后、以及在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号之前,在第一带宽上,与第一设备协商定位参数;收发模块在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号时,具体用于:基于通信链路和定位参数,在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号。In a possible design, the transceiver module is also configured to: after establishing a communication link with the first device on the first bandwidth, and on the second bandwidth, send the ranging signal to the first device and/or receive the ranging signal from the first device. Before sending the ranging signal, negotiate positioning parameters with the first device on the first bandwidth; when the transceiver module sends the ranging signal to the first device and/or receives the ranging signal from the first device on the second bandwidth, specifically Used for: sending a ranging signal to the first device and/or receiving a ranging signal from the first device on the second bandwidth based on the communication link and the positioning parameter.
一种可能的设计中,第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;第二带宽为UWB对应的带宽。In a possible design, the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB.
第八方面,提供一种定位装置,包括用于执行上述第四方面或第四方面任一种可能的设计中所述方法的模块。In an eighth aspect, a positioning device is provided, including a module for executing the method described in the above fourth aspect or any possible design of the fourth aspect.
示例性的,装置包括:收发模块,用于在第一带宽上接收第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和装置所在的第二设备位于Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;收发模块,还用于在第一带宽上向第一设备发送第一消息;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, the apparatus includes: a transceiver module, configured to receive a first message on a first bandwidth, where the first message is used to request location information of the first device, the source device of the first message is a third device, and the first The device and the second device where the device is located are located in the first sub-network in the Mesh network, and the third device is located in the second sub-network in the Mesh network; the transceiver module is also used to send the first message to the first device on the first bandwidth. ; Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,收发模块,还用于在第一带宽上从第一设备接收第二消息,并在第一带宽上向第二设备发送第二消息;其中,第二消息中包含第一设备所在区域的信息,第二消息的目的端设备为第三设备。In a possible design, the transceiver module is also configured to receive a second message from the first device on the first bandwidth, and send the second message to the second device on the first bandwidth; wherein the second message contains the second message. Information about the area where the first device is located, and the destination device of the second message is the third device.
第九方面,提供一种定位装置,包括:至少一个处理器;以及与所述至少一个处理器通信连接的通信接口;所述至少一个处理器通过执行存储器存储的指令,使得所述装置通过所述通信接口执行如第一方面或第一方面任一种可能的设计或第二方面或第二方面任一种可能的设计或第三方面或第三方面任一种可能的设计或第四方面或第四方面任一种可能的设计中所述方法。A ninth aspect provides a positioning device, including: at least one processor; and a communication interface communicatively connected to the at least one processor; the at least one processor executes instructions stored in a memory, causing the device to pass through the The communication interface implements the first aspect or any possible design of the first aspect or the second aspect or any possible design of the second aspect or the third aspect or any possible design of the third aspect or the fourth aspect. Or the method described in any possible design of the fourth aspect.
可选的,所述存储器位于所述装置之外。Optionally, the memory is located outside the device.
可选的,所述装置包括所述存储器,所述存储器与所述至少一个处理器相连,所述存储器存储有可被所述至少一个处理器执行的指令。Optionally, the device includes the memory, the memory is connected to the at least one processor, and the memory stores instructions that can be executed by the at least one processor.
第十方面,提供一种计算机可读存储介质,包括程序或指令,当所述程序或指令在计算机上运行时,使得如第一方面或第一方面任一种可能的设计或第二方面或第二方面任一 种可能的设计或第三方面或第三方面任一种可能的设计或第四方面或第四方面任一种可能的设计中所述方法被执行。In a tenth aspect, a computer-readable storage medium is provided, including a program or instructions. When the program or instructions are run on a computer, the first aspect or any possible design of the first aspect or the second aspect or Any of the second aspects The method described in a possible design or the third aspect or any possible design of the third aspect or the fourth aspect or any possible design of the fourth aspect is executed.
第十一方面,提供一种计算机程序产品,包括指令,当其在计算机上运行时,使得如第一方面或第一方面任一种可能的设计或第二方面或第二方面任一种可能的设计或第三方面或第三方面任一种可能的设计或第四方面或第四方面任一种可能的设计中所述方法被执行。An eleventh aspect provides a computer program product, including instructions that, when run on a computer, enable the design of the first aspect or any of the first aspects or the second aspect or any of the possibilities of the second aspect. The method described in the design or the third aspect or any possible design of the third aspect or the fourth aspect or any possible design of the fourth aspect is executed.
上述第二方面至第十一方面中各设计方式的具体描述及有益效果参考第一方面对应设计的具体描述及有益效果,不再赘述。For detailed descriptions and beneficial effects of each design method in the above-mentioned second to eleventh aspects, refer to the specific description and beneficial effects of the corresponding design in the first aspect, and will not be described again.
附图说明Description of the drawings
图1为一种室内定位系统的结构示意图;Figure 1 is a schematic structural diagram of an indoor positioning system;
图2为TDOA定位解算示意图;Figure 2 is a schematic diagram of TDOA positioning solution;
图3A为本申请实施例提供的一种可能的应用场景示意图;Figure 3A is a schematic diagram of a possible application scenario provided by the embodiment of the present application;
图3B为本申请实施例提供的一种可能的Mesh网络的结构示意图;Figure 3B is a schematic structural diagram of a possible Mesh network provided by the embodiment of the present application;
图4为本申请实施例提供的一种定位方法的流程图;Figure 4 is a flow chart of a positioning method provided by an embodiment of the present application;
图5A为本申请实施例提供的一种具体的定位场景的示意图;Figure 5A is a schematic diagram of a specific positioning scenario provided by an embodiment of the present application;
图5B为本申请实施例提供的另一种具体的定位场景的示意图;Figure 5B is a schematic diagram of another specific positioning scenario provided by the embodiment of the present application;
图6为本申请实施例提供的第三设备对第一设备进行定位的流程图;Figure 6 is a flow chart of a third device locating a first device provided by an embodiment of the present application;
图7为本申请实施例提供的第三设备移动后的网络结构图;Figure 7 is a network structure diagram after the third device is moved according to the embodiment of the present application;
图8本申请实施例提供的一种可能的智能家庭场景示意图;Figure 8 is a schematic diagram of a possible smart home scenario provided by the embodiment of this application;
图9为本申请实施例提供的第四设备对第一设备进行定位的流程图;Figure 9 is a flow chart of the fourth device locating the first device provided by the embodiment of the present application;
图10为本申请实施例提供的一种定位装置的结构示意图;Figure 10 is a schematic structural diagram of a positioning device provided by an embodiment of the present application;
图11为本申请实施例提供的另一种定位装置的结构示意图。Figure 11 is a schematic structural diagram of another positioning device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了便于理解,以下对本申请实施例涉及的部分术语进行介绍:For ease of understanding, some terms involved in the embodiments of this application are introduced below:
1)、短距离无线通信技术,为在较小范围内的通信双方通过无线电波传输信息的通信技术。例如,短距离无线通信技术可以但不限于包括:射频识别(radio frequency identification,RFID)技术,蓝牙(Bluetooth,BT)技术(例如,普通的BT技术、低功耗蓝牙(Bluetooth low energy,BLE)技术)、近场通信(near field communication,NFC)技术、绿牙(greentooth)技术、无线保真(wireless-fidelity,WIFI)技术、紫蜂(ZigBee)技术、超宽带(ultra wide band,UWB)技术,以及基于上述通信技术演进的通信技术,和与上述通信技术功能相同或相似、能够互相替代的通信技术等。1) Short-distance wireless communication technology is a communication technology that transmits information through radio waves between communicating parties within a small range. For example, short-range wireless communication technologies may include, but are not limited to: radio frequency identification (RFID) technology, Bluetooth (BT) technology (for example, ordinary BT technology, Bluetooth low energy (BLE)) technology), near field communication (NFC) technology, greentooth technology, wireless-fidelity (WIFI) technology, ZigBee technology, ultra wide band (UWB) technology, as well as communication technologies based on the evolution of the above-mentioned communication technologies, and communication technologies that have the same or similar functions as the above-mentioned communication technologies and can replace each other, etc.
2)、超宽带(Ultra wide band,UWB)是一种超宽带的通信技术,采用脉冲宽度仅为纳秒级的脉冲作为其基础信号,它占用带宽极大,具有传输速率高、系统容量大等特点,并且标准中定义它的功率谱密度极低,达-41.25dBm/MHz,能与现有的通信系统实现共存。基于这些特点,UWB可以实现比现有无线定位技术更高的测距、定位精度,可达厘米级的定位精度;并且其时间辨率高,使其具有较好的抗多径能力,在复杂的多径环境中仍可以实现测距、定位,当前已成为研究热点。 2) Ultra wide band (UWB) is an ultra-wideband communication technology. It uses pulses with a pulse width of only nanoseconds as its basic signal. It occupies a huge bandwidth, has high transmission rate and large system capacity. and other characteristics, and its power spectral density defined in the standard is extremely low, reaching -41.25dBm/MHz, and can coexist with existing communication systems. Based on these characteristics, UWB can achieve higher ranging and positioning accuracy than existing wireless positioning technology, up to centimeter-level positioning accuracy; and its high time resolution makes it have better anti-multipath capabilities and can be used in complex environments. Ranging and positioning can still be achieved in a multipath environment, and it has become a research hotspot.
3)、窄带通信技术,是相对于UWB技术中的宽带的概念提出的无线载波通信技术。窄带通信技术可以使用的频谱范围比UWB技术使用的频谱范围要窄。示例性的,窄带通信技术可以为短距离无线通信技术中除UWB技术以外的其他通信技术,可以但不限于包括以下至少一项:BT技术、BLE技术、WIFI技术或NFC技术。设备中用于实现窄带通信技术通信的系统/芯片/模块可以称为窄带系统/芯片/模块。3) Narrowband communication technology is a wireless carrier communication technology proposed relative to the concept of broadband in UWB technology. The spectrum range that narrowband communication technology can use is narrower than that used by UWB technology. For example, the narrowband communication technology may be other communication technologies other than UWB technology among short-distance wireless communication technologies, and may include, but is not limited to, at least one of the following: BT technology, BLE technology, WIFI technology or NFC technology. The system/chip/module used in the device to implement narrowband communication technology communication can be called a narrowband system/chip/module.
相对应的,UWB技术还可以称为宽带通信技术。设备中用于实现宽带通信技术通信的系统/芯片/模块可以称为窄带系统/芯片/模块。Correspondingly, UWB technology can also be called broadband communication technology. The system/chip/module used in the device to implement broadband communication technology communication can be called a narrowband system/chip/module.
4)、无线网格网络(Mesh)网是一种多对多的通信网络结构,网络中大量终端设备能自动通过无线方式连成网状结构,网络中的每个终端设备都具备自动路由功能,每个终端设备和其邻近的终端设备进行通信。它是一个动态可以不断扩展的网络结构,任意的两个设备都可以保持无线互联。4) Wireless mesh network (Mesh) network is a many-to-many communication network structure. A large number of terminal devices in the network can automatically connect into a mesh structure wirelessly. Each terminal device in the network has automatic routing function. , each terminal device communicates with its neighboring terminal devices. It is a dynamic and continuously expandable network structure, and any two devices can maintain wireless interconnection.
Mesh网络中的每个网格对应一个子网络(或者称为“子网”或其它名称,本申请不做限制),在子网络中的任意两个通信设备之间可以通过短距离无线通信技术直接通信(可以理解的,直接通信是指数据在两个设备之间直接传输,不需要其它设备中转),相邻的两个子网络具有相同的至少一个通信设备(即该至少一个通信设备为相邻两个子网络的交集设备)。当然,在具体实现时,同一子网络内的两个设备之间传输数据也可以经由其它设备中转,本申请不做限制。Each grid in the Mesh network corresponds to a subnetwork (or "subnet" or other name, which is not limited by this application). Any two communication devices in the subnetwork can use short-distance wireless communication technology. Direct communication (it can be understood that direct communication means that data is transmitted directly between two devices without being transferred by other devices). Two adjacent sub-networks have at least one communication device in common (that is, the at least one communication device is the same communication device). The intersection device of two adjacent subnetworks). Of course, during specific implementation, data transmitted between two devices in the same subnetwork can also be transferred through other devices, which is not limited by this application.
5)、通信设备,为支持短距离无线通信技术、向用户提供语音和/或数据连通性的设备。在本申请实施例中,通信设备还可以称为终端设备或设备等。5) Communication equipment, which is equipment that supports short-range wireless communication technology and provides voice and/or data connectivity to users. In the embodiment of this application, the communication device may also be called a terminal device or a device, etc.
例如,通信设备可以为具有无线连接功能的手持式设备、车载设备等。目前,一些终端设备的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、智能销售终端(point of sale,POS)、可穿戴设备(双耳真无线(true wireless stereo,TWS)蓝牙耳机),虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端(智能电视、使能冰箱、扫地机等)、各类智能仪表(智能水表、智能电表、智能燃气表)等。For example, the communication device may be a handheld device, a vehicle-mounted device, etc. with a wireless connection function. At present, some examples of terminal devices are: mobile phones, tablets, laptops, PDAs, mobile Internet devices (MID), smart point of sale terminals (POS), wearable devices ( Binaural true wireless (true wireless stereo, TWS) Bluetooth headsets), virtual reality (VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), driverless ( Wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city Wireless terminals, wireless terminals in smart homes (smart TVs, enabled refrigerators, sweepers, etc.), various smart meters (smart water meters, smart electricity meters, smart gas meters), etc.
6)、本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。“包括A,B和C中的至少一个”可以表示:包括A;包括B;包括C;包括A和B;包括A和C;包括B和C;包括A、B和C。6). In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the relationship between associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the related objects before and after are an "or" relationship; in the formula of this application, the character "/" indicates that the related objects before and after are a kind of "division" Relationship. "Including at least one of A, B and C" may mean: including A; including B; including C; including A and B; including A and C; including B and C; including A, B and C.
随着智能设备和无线网络的普及,越来越多的电子设备通过无线接入成为网络中的一个节点,进而可以实现对智能设备的远程控制和管理。在众多智能设备应用中,设备的位置信息是至关重要的。利用无线网络实现室内定位是支撑位置服务和智能家居应用的关键技术。With the popularity of smart devices and wireless networks, more and more electronic devices have become a node in the network through wireless access, thereby enabling remote control and management of smart devices. In many smart device applications, device location information is crucial. Using wireless networks to achieve indoor positioning is a key technology supporting location services and smart home applications.
目前室内无线定位技术包括基于接收信号强度指示器(Received signal strength  indicator,RSSI)指纹匹配定位、基于测角的定位和基于测距的定位这三类。基于RSSI指纹匹配的方法受限于大量的离线采集工作,并且指纹库容易受到定位环境内人员和物体变化的影响。基于测角的定位方法需要设备部署多个天线,在功耗和硬件尺寸上难以满足实际应用。相对而言,基于测距的方法则受到广泛关注。代表性的测距定位方法有基于达到时间(Time of arrival,TOA)的方法、基于到达时间差(Time difference of arrival,TDOA)的方法和基于双边测距的方法。TOA方法需要待定位节点与锚节点之间严格的时间同步,TDOA方法不需要待定位节点与锚节点同步,但是要求各锚节点之间同步,精确的时间同步给定位系统带来额外的成本和负担。Current indoor wireless positioning technology includes received signal strength indicator (Received signal strength indicator) indicator, RSSI) fingerprint matching positioning, angle-based positioning and ranging-based positioning. Methods based on RSSI fingerprint matching are limited by a large amount of offline collection work, and the fingerprint database is easily affected by changes in people and objects in the positioning environment. The positioning method based on angle measurement requires the device to deploy multiple antennas, which is difficult to meet practical applications in terms of power consumption and hardware size. Relatively speaking, ranging-based methods have received widespread attention. Representative ranging and positioning methods include methods based on time of arrival (TOA), methods based on time difference of arrival (TDOA) and methods based on bilateral ranging. The TOA method requires strict time synchronization between the node to be located and the anchor node. The TDOA method does not require synchronization between the node to be located and the anchor node, but requires synchronization between anchor nodes. Precise time synchronization brings additional cost and cost to the positioning system. burden.
参见图1,为一种室内定位系统的结构示意图。该室内定位系统实现技术详细说明如下:时钟产生器发送一个脉冲源,一般产生38.4MHz的时钟信号,实现各个锚点的时钟同步;时钟产生器与各锚点间的连接使用有线连接;定位引擎用于接收各锚点输出的时间信号,计算TDOA和设备E(待测设备)的位置;定位引擎与各锚点间的连接使用有线连接,并进行数据传输;设备E(待测设备)向各锚点广播测距信号,各锚点根据接收到的信号时间差确定设备E的位置。Refer to Figure 1, which is a schematic structural diagram of an indoor positioning system. The detailed description of the implementation technology of the indoor positioning system is as follows: the clock generator sends a pulse source, generally generating a 38.4MHz clock signal to achieve clock synchronization of each anchor point; the connection between the clock generator and each anchor point uses a wired connection; the positioning engine Used to receive the time signal output by each anchor point, calculate the TDOA and the position of device E (device under test); the connection between the positioning engine and each anchor point uses a wired connection and perform data transmission; device E (device under test) Each anchor point broadcasts a ranging signal, and each anchor point determines the location of device E based on the time difference of the received signals.
图2为TDOA定位解算示意图。如图2所示,(x1,y1),(x2,y2),(x3,y3)为锚点,且坐标已知,(x,y)为被定位坐标,解算方程如下:
Figure 2 is a schematic diagram of TDOA positioning solution. As shown in Figure 2, (x 1 , y 1 ), (x 2 , y 2 ), (x 3 , y 3 ) are anchor points, and the coordinates are known, (x, y) is the positioned coordinates, solve The equation is as follows:
其中r1,2为坐标(x1,y1)与(x2,y2)间的已知距离,r2,3为坐标(x2,y2)与(x3,y3)间的已知距离。Where r 1,2 is the known distance between coordinates (x 1 , y 1 ) and (x 2 , y 2 ), r 2,3 is the distance between coordinates (x 2 , y 2 ) and (x 3 , y 3 ) known distance.
上述系统在定位过程中,需要事先标定锚点A、锚点B、锚点C、锚点D的坐标,来完成设备E的坐标定位。锚点间、设备间的测距通信技术可以使用UWB、Wi-Fi、蓝牙等。During the positioning process of the above system, the coordinates of anchor point A, anchor point B, anchor point C, and anchor point D need to be calibrated in advance to complete the coordinate positioning of device E. Ranging communication technology between anchor points and devices can use UWB, Wi-Fi, Bluetooth, etc.
上述方案存在如下缺点:The above solution has the following shortcomings:
1)锚点间使用TDOA技术,需要严格执行时间同步,实现复杂;1) Using TDOA technology between anchor points requires strict time synchronization, which is complex to implement;
2)锚点的坐标需要事先标定,实现复杂;2) The coordinates of the anchor point need to be calibrated in advance, which is complicated to implement;
3)定位引擎与各锚点间以有线方式传输时间同步信息、解算所需数据(至定位引擎),成本高;3) The cost of transmitting time synchronization information and solving the required data (to the positioning engine) between the positioning engine and each anchor point is high in a wired manner;
4)各锚点与设备E之间以无线方式传输时间同步信息、解算所需数据(至定位引擎),精度差;4) Each anchor point and device E wirelessly transmit time synchronization information and solve the required data (to the positioning engine), but the accuracy is poor;
5)跨区域(如跨房间)的定位,每个区域(如每个房间)都需要部署至少3个锚点,成本高;5) For cross-region (such as cross-room) positioning, each area (such as each room) needs to deploy at least 3 anchor points, which is costly;
6)锚点需要时刻插电,功耗高。6) The anchor point needs to be plugged in at all times and consumes high power.
室内定位场景中,应用最为广泛的便是基于UWB的室内定位系统,即锚点间、设备间使用UWB技术进行测距通信,其具有精度高的特点。但在实现时,存在网络部署成本高,锚点设备成本高,人工成本高,维护成本高,锚点标定不便捷,功耗高等诸多问题,不适用于家庭等智能领域的应用场景。In indoor positioning scenarios, the most widely used indoor positioning system based on UWB is the UWB technology used for ranging communication between anchor points and devices, which has the characteristics of high accuracy. However, when implemented, there are many problems such as high network deployment costs, high anchor point equipment costs, high labor costs, high maintenance costs, inconvenient anchor point calibration, and high power consumption. It is not suitable for application scenarios in smart fields such as homes.
为了解决上述一个或多个技术问题,提供本申请实施例技术方案。In order to solve one or more of the above technical problems, technical solutions in the embodiments of this application are provided.
可以理解的,本申请实施例提供的技术方案可以应用于各类定位/测距/感知场景,例如在如智能家居、智能运输、智能制造、物流管理等,本申请不做限制。可以理解的是,在本申请实施例中,由于实现定位、测距、测角、感知等具有类似的步骤,因而“定位”、“测 距”、“测角”、“感知”等术语之间可以相互替换。It can be understood that the technical solutions provided by the embodiments of the present application can be applied to various positioning/ranging/sensing scenarios, such as smart homes, smart transportation, smart manufacturing, logistics management, etc., and are not limited by this application. It can be understood that in the embodiments of the present application, since there are similar steps to implement positioning, ranging, angle measurement, sensing, etc., "positioning" and "measurement" are Terms such as "distance", "angiometry" and "perception" can be used interchangeably.
示例性的,参见图3A,为本申请实施例提供的一种可能的应用场景示意图。该场景中包括多个设备,如设备A、设备B、设备C、设备D、设备E、设备F、设备G、设备H。每个设备均具备短距离无线通信的能力,例如支持窄带通信技术和宽带通信技术,每个设备可以和其邻近的设备基于短距离无线通信技术进行直接通信(具体的通信距离需根据设备所采用的通信技术、环境状况等确定)。For example, see FIG. 3A , which is a schematic diagram of a possible application scenario provided by the embodiment of the present application. This scenario includes multiple devices, such as device A, device B, device C, device D, device E, device F, device G, and device H. Each device has the capability of short-range wireless communication, such as supporting narrowband communication technology and broadband communication technology. Each device can communicate directly with its adjacent devices based on short-range wireless communication technology (the specific communication distance depends on the device used). communication technology, environmental conditions, etc.).
例如,设备A可以和设备B、设备C通信,设备C可以和设备A、设备B、设备D、设备E、设备F通信,设备F可以和设备C、设备D、设备E、设备G、设备H通信,设备H可以和设备F、设备G通信,等等。For example, device A can communicate with device B and device C, device C can communicate with device A, device B, device D, device E, and device F, and device F can communicate with device C, device D, device E, device G, and device H communication, device H can communicate with device F, device G, and so on.
可以理解的,图3A仅为示例而非限定,在具体实现时,还可以更多或更少数量的设备。It can be understood that FIG. 3A is only an example and not a limitation. In specific implementation, a greater or lesser number of devices may be used.
在本申请实施例中,多个设备可以组成Mesh网络,在子网络内的任意两个通信设备之间可以通过无线通信技术(如窄带通信技术和/或宽带通信技术)进行通信。In this embodiment of the present application, multiple devices can form a Mesh network, and any two communication devices in the sub-network can communicate through wireless communication technology (such as narrowband communication technology and/or broadband communication technology).
示例性的,参见图3B,为本申请实施例提供的一种可能的Mesh网络的结构示意图,设备A、设备B、设备C组成子网络a,设备F、设备G、设备H组成子网络b,设备C、设备D、设备E、设备F组成子网络c,其中设备C同时位于子网络a和子网络c中,设备F同时位于子网络b和子网络c中。For example, see Figure 3B, which is a schematic structural diagram of a possible Mesh network provided by the embodiment of the present application. Device A, device B, and device C form subnetwork a, and device F, device G, and device H form subnetwork b. , device C, device D, device E, and device F form subnetwork c, where device C is located in subnetwork a and subnetwork c at the same time, and device F is located in subnetwork b and subnetwork c at the same time.
在本申请实施例中,Mesh网络中的通信设备可以对同一子网络内的其它设备进行定位,也可以跨子网络对其它通信设备进行定位,所谓的跨子网,是指发起定位的设备和被定位的设备位于不同的子网络中(即通信设备对其它子网络内的通信设备进行定位)。例如,子网络b中的设备H可以对子网络b中的设备G定位,子网络b中的设备H可以对子网络c中的设备E定位,或者子网络b中的设备H可以对子网络a中的设备A定位,等等。具体的定位方法,将在后文详细介绍。In the embodiment of this application, the communication device in the Mesh network can locate other devices in the same subnetwork, and can also locate other communication devices across subnetworks. The so-called cross-subnet refers to the device that initiates positioning and The located device is located in a different sub-network (that is, the communication device locates the communication device in another sub-network). For example, device H in subnetwork b can locate device G in subnetwork b, device H in subnetwork b can locate device E in subnetwork c, or device H in subnetwork b can locate device G in subnetwork b. Device A is positioned in a, and so on. The specific positioning method will be introduced in detail later.
可以理解的,上述图3B仅为示例,在具体实现过程中,Mesh网络还可以有其它组建形式,例如包括更多或更少数量的子网络,本申请不做限制。It can be understood that the above-mentioned Figure 3B is only an example. During the specific implementation process, the Mesh network can also have other construction forms, such as including a greater or lesser number of sub-networks, which is not limited by this application.
参见图4,为本申请实施例提供的一种定位方法的流程图,方法包括:Refer to Figure 4, which is a flow chart of a positioning method provided by an embodiment of the present application. The method includes:
S401、第三设备在第一带宽上发送第一消息,第一消息经由至少一个设备传输至第一设备,相应的,第一设备在第一带宽上接收第一消息。S401. The third device sends the first message on the first bandwidth. The first message is transmitted to the first device via at least one device. Correspondingly, the first device receives the first message on the first bandwidth.
其中,第一消息的源端设备为第三设备,换而言之,第一消息由第三设备发出。第一消息用于请求第一设备的位置信息,换而言之,第三设备请求对第一设备进行定位。可以理解的,本文中位置信息可以是绝对位置信息,例如在某个坐标系中的具体坐标,也可以是相对位置信息,例如第一设备相对于第三设备的距离、方位或角度等信息,本申请不做限制。The source device of the first message is the third device. In other words, the first message is sent by the third device. The first message is used to request location information of the first device. In other words, the third device requests positioning of the first device. It can be understood that the location information herein can be absolute location information, such as specific coordinates in a certain coordinate system, or relative location information, such as the distance, orientation or angle of the first device relative to the third device. There are no restrictions on this application.
第一设备、第三设备以及至少一个设备位于同一Mesh网络中。Mesh网络中包括多个子网络,每个子网络中的任意两个设备可以使用第一带宽直接通信,即某个子网络中的某个设备在第一带宽上发送消息,则该子网络中的其它设备可以在第一带宽上接收到该消息。可以理解的,设备发送消息的方式可以是广播、组播或单播等,本申请不做限制。一种可能的示例中,第三设备在第一带宽上广播第一消息,收到第一消息的每个设备都在第一带宽上对第一消息进行转发,使得第一消息可以达到Mesh网络中的所有设备,进而保证第一设备可以收到第一消息。 The first device, the third device and at least one device are located in the same Mesh network. The Mesh network includes multiple sub-networks. Any two devices in each sub-network can communicate directly using the first bandwidth. That is, if a device in a certain sub-network sends a message on the first bandwidth, other devices in the sub-network will The message can be received on the first bandwidth. It can be understood that the device can send messages in broadcast, multicast, unicast, etc., which is not limited in this application. In a possible example, the third device broadcasts the first message on the first bandwidth, and each device that receives the first message forwards the first message on the first bandwidth so that the first message can reach the Mesh network. All devices in the system ensure that the first device can receive the first message.
第一设备和第三设备位于该Mesh网络中的不同子网络中,本文以第一设备位于第一子网络且第三设备位于第二子网络为例。根据上文对Mesh网络的相关介绍,位于不同子网络中的两个设备不能直接通信,需要经由其它设备中转,因此第三设备发出的第一消息需要经由至少一个设备转发才能到达第一设备。其中,该至少一个设备中每个设备在转发第一消息时,也是在第一带宽上转发第一消息。The first device and the third device are located in different sub-networks in the Mesh network. This article takes the first device being located in the first sub-network and the third device being located in the second sub-network as an example. According to the above introduction to Mesh networks, two devices located in different subnetworks cannot communicate directly and need to be relayed through other devices. Therefore, the first message sent by the third device needs to be forwarded by at least one device before it can reach the first device. Wherein, when each device in the at least one device forwards the first message, it also forwards the first message on the first bandwidth.
示例性的,第一子网络和第二子网络为相邻的两个子网络(即第三设备跨一个子网络对第一设备定位),至少一个设备的设备数量可以为1,如第二设备,第二设备为第一子网络和第二子网络的交集设备(即第二设备同时位于第一子网络和第二子网络中),第一消息的传递路径可以为:第三设备在第一带宽上发送第一消息,第二设备在第一带宽上接收第一消息;第二设备在第一带宽上发送第一消息,第一设备在第一带宽上接收第一消息。For example, the first sub-network and the second sub-network are two adjacent sub-networks (that is, the third device locates the first device across one sub-network), and the number of devices of at least one device may be 1, such as the second device , the second device is the intersection device of the first sub-network and the second sub-network (that is, the second device is located in the first sub-network and the second sub-network at the same time). The transmission path of the first message may be: the third device is in the first sub-network. The first message is sent on one bandwidth, and the second device receives the first message on the first bandwidth; the second device sends the first message on the first bandwidth, and the first device receives the first message on the first bandwidth.
以图3B所示的Mesh网络为例,一个具体的示例中,参见图5A,第一子网络为子网络c,第二子网络为子网络b,第一设备为设备E,第二设备为设备F,第三设备为设备H,第一消息的传输路径为:设备H→设备F→设备E,其中设备F在第一带宽上接收并转发第一消息。当然,在具体实现时,同一子网络内的两个设备之间传输数据也可以经由其它设备中转,本申请不做限制,例如第一消息的传输路径还可以为:设备H→设备G→设备F→设备E。Taking the Mesh network shown in Figure 3B as an example. In a specific example, see Figure 5A, the first subnetwork is subnetwork c, the second subnetwork is subnetwork b, the first device is device E, and the second device is Device F, the third device is device H, and the transmission path of the first message is: device H → device F → device E, where device F receives and forwards the first message on the first bandwidth. Of course, during specific implementation, the data transmitted between two devices in the same subnetwork can also be transferred through other devices. This application does not limit it. For example, the transmission path of the first message can also be: device H→device G→device F→Equipment E.
示例性的,第一子网络和第二子网络之间间隔一个子网络(如第三子网络)(即第三设备跨两个子网络对第一设备定位),至少一个设备的设备数量可以为2,如第五设备和第二设备,第二设备为第一子网络和第三子网络的交集设备(即第二设备同时位于第一子网络和第三子网络中),第五设备为第二子网络和第三子网络的交集设备(即第五设备同时位于第三子网络和第二子网络中),第一消息的传递路径可以为:第三设备在第一带宽上发送第一消息,第五设备在第一带宽上接收第一消息;第五设备在第一带宽上发送第一消息,第二设备在第一带宽上接收第一消息;第二设备在第一带宽上发送第一消息,第一设备在第一带宽上接收第一消息。Exemplarily, a subnetwork (such as a third subnetwork) is separated between the first subnetwork and the second subnetwork (that is, the third device locates the first device across the two subnetworks). The number of devices of at least one device can be 2. For example, the fifth device and the second device, the second device is the intersection device of the first subnetwork and the third subnetwork (that is, the second device is located in the first subnetwork and the third subnetwork at the same time), and the fifth device is For the intersection device of the second sub-network and the third sub-network (that is, the fifth device is located in the third sub-network and the second sub-network at the same time), the transmission path of the first message may be: the third device sends the first message on the first bandwidth. A message, the fifth device receives the first message on the first bandwidth; the fifth device sends the first message on the first bandwidth, and the second device receives the first message on the first bandwidth; the second device The first message is sent and the first device receives the first message on the first bandwidth.
以图3B所示的Mesh网络为例,一个具体的示例中,参见图5B,第一子网络为子网络a,第二子网络为子网络b,第三子网络为子网络c,第一设备为设备A,第二设备为设备C,第五设备为设备F,第三设备为设备H,第一消息的传输路径为:设备H→设备F→设备C→设备A,其中设备F、设备C在第一带宽上接收并转发第一消息。当然,在具体实现时,同一子网络内的两个设备之间传输数据也可以经由其它设备中转,本申请不做限制,例如第一消息的传输路径还可以为:设备H→设备F→设备E→设备C→设备A。Taking the Mesh network shown in Figure 3B as an example. In a specific example, see Figure 5B, the first subnetwork is subnetwork a, the second subnetwork is subnetwork b, the third subnetwork is subnetwork c, and the first The device is device A, the second device is device C, the fifth device is device F, and the third device is device H. The transmission path of the first message is: device H → device F → device C → device A, where device F, Device C receives and forwards the first message on the first bandwidth. Of course, during specific implementation, the data transmitted between two devices in the same subnetwork can also be transferred through other devices. This application does not limit it. For example, the transmission path of the first message can also be: device H → device F → device E→Device C→Device A.
当然,以上仅为示例,本申请对第一消息的传输路径不做具体限定。Of course, the above are only examples, and this application does not specifically limit the transmission path of the first message.
在本申请实施例中,第一带宽为窄带通信技术所对应的带宽,例如包括但不限于是BT技术、BLE技术、WIFI技术或NFC技术等对应的带宽。In this embodiment of the present application, the first bandwidth is a bandwidth corresponding to narrowband communication technology, including but not limited to bandwidth corresponding to BT technology, BLE technology, WIFI technology or NFC technology.
S402、第一设备在第二带宽上发送测距信号和/或接收测距信号,该测距信号用于确定第一设备的位置信息。其中,第一带宽的带宽小于第二带宽的带宽。S402. The first device sends and/or receives a ranging signal on the second bandwidth, and the ranging signal is used to determine the location information of the first device. Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
一种可能的设计中,第二带宽是宽带通信技术(如UWB技术)对应的带宽。In one possible design, the second bandwidth is a bandwidth corresponding to broadband communication technology (such as UWB technology).
一种可能的设计中,第一带宽和第二带宽对应不同的系统/芯片/模块。换而言之,第一设备接收第一消息的通信功能与第一设备发送测距信号和/或接收测距信号的通信功能分别由不同的芯片/模块来实现。例如,第一带宽为UWB技术对应的带宽,第二消息为BLE技术对应的带宽,则第一设备中同时具有UWB系统和BLE系统,第一设备通过BLE系统接收第一消息,通过UWB系统发送测距信号和/或接收测距信号。 In a possible design, the first bandwidth and the second bandwidth correspond to different systems/chips/modules. In other words, the communication function of the first device receiving the first message and the communication function of the first device sending and/or receiving ranging signals are respectively implemented by different chips/modules. For example, the first bandwidth is the bandwidth corresponding to UWB technology, and the second message is the bandwidth corresponding to BLE technology. Then the first device has both a UWB system and a BLE system. The first device receives the first message through the BLE system and sends it through the UWB system. Ranging signals and/or receiving ranging signals.
应理解,第三设备在第一带宽上发送第一消息还可以描述为第三设备基于窄带通信技术或窄带系统发送第一消息,第一设备在第一带宽上接收第一消息还可以描述为第一设备基于窄带通信技术或宽带系统接收第一消息,第一设备在第二带宽上发送测距信号和/或接收测距信号还可以描述为第一设备基于宽带通信技术或宽带系统发送测距信号和/或接收测距信号,等等。It should be understood that the third device sending the first message on the first bandwidth can also be described as the third device sending the first message based on narrowband communication technology or narrowband system, and the first device receiving the first message on the first bandwidth can also be described as The first device receives the first message based on the narrowband communication technology or the broadband system, and the first device sends the ranging signal and/or receives the ranging signal on the second bandwidth. It can also be described as the first device sends the ranging signal based on the broadband communication technology or the broadband system. ranging signals and/or receiving ranging signals, etc.
在具体实现过程中,第一设备发送的测距信号的接收端设备和/或第一设备接收的测距信号的发送端设备可以是第三设备,也可以是第一设备所在子网络中的其它设备。以下针对这两种实现方式分别进行详细说明:In a specific implementation process, the receiving end device of the ranging signal sent by the first device and/or the transmitting end device of the ranging signal received by the first device may be a third device, or may be a device in the subnetwork where the first device is located. Other equipment. The following is a detailed description of these two implementation methods:
实现方式一、第一设备发送的测距信号的接收端设备和/或第一设备接收的测距信号的发送端设备是第三设备。Implementation Mode 1: The receiving end device of the ranging signal sent by the first device and/or the transmitting end device of the ranging signal received by the first device is a third device.
参见图6,第三设备对第一设备进行定位的流程具体可以包括:Referring to Figure 6, the process for the third device to locate the first device may specifically include:
S601、第三设备在第一带宽上发送第一消息,第一消息经由至少一个设备传输至第一设备,相应的,第一设备在第一带宽上接收第一消息。此步骤的具体实现参考S401,此处不再赘述。S601. The third device sends the first message on the first bandwidth. The first message is transmitted to the first device via at least one device. Correspondingly, the first device receives the first message on the first bandwidth. For the specific implementation of this step, refer to S401, which will not be described again here.
S602、第一设备收到第一消息之后,在第一带宽上发送第二消息,第二消息经由至少一个设备传输至第三设备,相应的,第三设备在第一带宽上接收第二消息。其中,第二消息中包含用于指示第一设备位于第一子网络的指示信息。S602. After receiving the first message, the first device sends the second message on the first bandwidth. The second message is transmitted to the third device via at least one device. Correspondingly, the third device receives the second message on the first bandwidth. . The second message includes indication information indicating that the first device is located in the first sub-network.
其中,第二消息的传输路径可以与第一消息的传输路径对应,即经由相同的设备中转,但是传输方向相反。示例性的,以图5B所示的场景为例,第一消息的传输路径为:设备H→设备F→设备C→设备A;第二消息的传输路径为:设备A→设备C→设备F→设备H。The transmission path of the second message may correspond to the transmission path of the first message, that is, it is transferred via the same device, but in the opposite transmission direction. Illustratively, taking the scenario shown in Figure 5B as an example, the transmission path of the first message is: device H→device F→device C→device A; the transmission path of the second message is: device A→device C→device F. →Equipment H.
当然,第二消息的传输路径也可以与第一消息的传输路径不对应,如经由不同的设备中转。示例性的,以图5B所示的场景为例,第一消息的传输路径为:设备H→设备F→设备C→设备A;第二消息的传输路径为:设备A→设备C→设备E→设备F→设备H。Of course, the transmission path of the second message may not correspond to the transmission path of the first message, such as being transferred via different devices. Illustratively, taking the scenario shown in Figure 5B as an example, the transmission path of the first message is: device H→device F→device C→device A; the transmission path of the second message is: device A→device C→device E. →Equipment F→Equipment H.
S603、第三设备收到指示信息后,向第一子网络移动。S603. After receiving the instruction information, the third device moves to the first subnetwork.
若第三设备为可以自主移动的设备,如扫地机器人,则第三设备在收到第二消息之后,可以根据第二消息中的指示信息控制自身向第一子网络移动。If the third device is a device that can move autonomously, such as a sweeping robot, then after receiving the second message, the third device can control itself to move to the first subnetwork according to the instruction information in the second message.
若第三设备不可以自主移动,例如第三设备为智能手机、智能穿戴设备等,则可以由用户控制第三设备移动至第一子网络中。例如,第三设备通过显示屏或语音播报等方式提醒用户第一设备在第一子网络中(或者说提醒第一设备所在的在区域,该区域为第一子网络覆盖的区域),则用户收到提醒后,可以将第三设备移动至第一子网络中。以图5B所示的场景为例,则设备H从子网络b移动至子网络a,移动后的网络结构图如图7所示。If the third device cannot move autonomously, for example, the third device is a smartphone, a smart wearable device, etc., the user can control the third device to move to the first sub-network. For example, if the third device reminds the user that the first device is in the first sub-network (or reminds the user that the first device is in the area, which is the area covered by the first sub-network) through a display screen or voice broadcast, etc., the user After receiving the reminder, the third device can be moved to the first subnetwork. Taking the scenario shown in Figure 5B as an example, device H moves from subnetwork b to subnetwork a, and the network structure diagram after the move is shown in Figure 7 .
S604、第三设备位于第一子网络后,第三设备在第一带宽上与第一设备建立通信链路。S604. The third device is located behind the first subnetwork, and the third device establishes a communication link with the first device on the first bandwidth.
可以理解的,这里的通信链路是对应第二带宽的通信链路,换而言之,建立好的通信链路是用于传输第三设备和/或第一设备在第二带宽上发送的消息。例如,第一带宽为BLE技术对应的带宽,第二带宽为UWB技术对应的带宽,则第三设备与第一设备基于BLE技术交互建立UWB连接的信息(例如包括但不限于第一设备和第三设备的地址信息)。It can be understood that the communication link here is a communication link corresponding to the second bandwidth. In other words, the established communication link is used to transmit information sent by the third device and/or the first device on the second bandwidth. information. For example, the first bandwidth is the bandwidth corresponding to the BLE technology, and the second bandwidth is the bandwidth corresponding to the UWB technology, then the third device and the first device interact to establish UWB connection information based on the BLE technology (for example, including but not limited to the first device and the third device). three device address information).
S605、第三设备在第一带宽上,与第一设备协商定位参数。S605. The third device negotiates positioning parameters with the first device on the first bandwidth.
其中,定位参数用于对设备的定位测量过程进行配置。示例性的,定位参数包括但不限于以下任意一项或多项:测距信号的控制参数(如信号频段6~9GHz),测距方法(如单边测量或双边测量),设备的地址(第三设备的地址、第一设备的地址等)、交互过程((第 一设备和第三设备发送测距信号的先后顺序)、时隙参数(如第一设备发送和/或接收测距信号的时间,和/或,第三设备接收和/或发送测距信号的时间)、测量量(即需要测量的参数,例如角度、距离、信号飞行时间)等。Among them, the positioning parameters are used to configure the positioning measurement process of the device. Exemplarily, the positioning parameters include but are not limited to any one or more of the following: control parameters of the ranging signal (such as signal frequency band 6 ~ 9GHz), ranging method (such as unilateral measurement or bilateral measurement), device address ( The address of the third device, the address of the first device, etc.), the interaction process ((No. The order in which the first device and the third device send ranging signals), time slot parameters (such as the time when the first device sends and/or receives the ranging signal, and/or the time when the third device receives and/or sends the ranging signal time), measurement quantity (i.e. parameters that need to be measured, such as angle, distance, signal flight time), etc.
S606、第三设备基于通信链路和定位参数在第二带宽上发送测距信号,第一设备基于通信链路和定位参数在第二带宽上接收测距信号;和/或,第一设备基于通信链路和定位参数在第二带宽上发送测距信号,第三设备基于通信链路和定位参数在第二带宽上接收测距信号。S606. The third device sends a ranging signal on the second bandwidth based on the communication link and positioning parameters, and the first device receives the ranging signal on the second bandwidth based on the communication link and positioning parameters; and/or, the first device The communication link and the positioning parameters send the ranging signal on the second bandwidth, and the third device receives the ranging signal on the second bandwidth based on the communication link and the positioning parameters.
可以理解的,在S606之前,如果宽带系统未处于唤醒状态,则在S606之前还可以包括以下步骤:第三设备的窄带系统唤醒第三设备的窄带系统,第一设备的窄带系统唤醒第一设备的窄带系统。例如,BLE系统向UWB系统发送指令,UWB系统收到指令后开启UWB相关的射频功能。It can be understood that before S606, if the broadband system is not in the awake state, the following steps may also be included before S606: the narrowband system of the third device wakes up the narrowband system of the third device, and the narrowband system of the first device wakes up the first device narrowband system. For example, the BLE system sends instructions to the UWB system, and the UWB system turns on UWB-related radio frequency functions after receiving the instructions.
在第一设备的UWB系统和第三设备的UWB系统被唤醒之后,第一设备的UWB系统和第三设备的UWB系统控制测距信号的传输。After the UWB system of the first device and the UWB system of the third device are awakened, the UWB system of the first device and the UWB system of the third device control the transmission of the ranging signal.
进一步的,如果第三设备接收测距信号,则第三设备还对接收到的测距信号进行测量,得到第一测量结果;如果第一设备接收测距信号,则第一设备还对接收到的测距信号进行测量,得到第二测量结果。第一测量结果和/或第二测量结果最终汇集到做定位计算的设备上,由该设备计算出定位结果(定位结果用于指示第一设备的位置信息,例如第一设备相对于第三设备的距离、方向等)。其中,做定位计算的设备可以是第一设备,也可以是第三设备,还可以是其它设备(例如第一设备和第三设备当前所在子网络中的控制中心设备),本申请不做限制。Further, if the third device receives the ranging signal, the third device also measures the received ranging signal to obtain the first measurement result; if the first device receives the ranging signal, the first device also measures the received ranging signal. The ranging signal is measured to obtain the second measurement result. The first measurement result and/or the second measurement result are finally aggregated to a device that does positioning calculation, and the device calculates the positioning result (the positioning result is used to indicate the location information of the first device, such as the first device relative to the third device distance, direction, etc.). Among them, the device that performs positioning calculation may be the first device, the third device, or other devices (such as the control center device in the subnetwork where the first device and the third device are currently located). This application does not limit .
需要说明的是,S604~S606仅介绍了一个设备(即第三设备)与第一设备进行定位测量为例,实际实现时,可以有多个设备对第一设备进行定位测量,例如,在图7所示的场景中,设备C、设备B也可以对设备H进行定位测量。具体多少个设备参与定位测量,可以根据定位所采用的算法确定,例如,对于TDOA算法,则需要三个设备参与定位测量。相应的,在多个设备对第一设备进行定位测量时,该多个设备中每个设备与第一设备的交互过程可以参考S604~S606中第三设备与第一设备的交互过程,此处不再赘述。最终,各个设备获得的测量结果都汇集到做定位计算的设备上,由该设备计算出定位结果(定位结果用于指示第一设备的位置信息,例如第一设备相对于第三设备的距离、方向等)。其中,做定位计算的设备可以是第一设备,也可以是第三设备,还可以是其它设备(例如第一设备所在子网络中的控制中心设备),本申请不做限制。It should be noted that S604 to S606 only introduce an example of one device (i.e., the third device) performing positioning measurement with the first device. In actual implementation, multiple devices can perform positioning measurement on the first device. For example, in Figure In the scenario shown in 7, device C and device B can also perform positioning measurements on device H. The specific number of devices participating in positioning measurement can be determined according to the algorithm used for positioning. For example, for the TDOA algorithm, three devices are required to participate in positioning measurement. Correspondingly, when multiple devices perform positioning measurements on the first device, the interaction process between each device in the multiple devices and the first device can refer to the interaction process between the third device and the first device in S604 to S606, where No longer. Finally, the measurement results obtained by each device are gathered into the device that performs positioning calculation, and the positioning result is calculated by the device (the positioning result is used to indicate the location information of the first device, such as the distance of the first device relative to the third device, direction, etc.). The device that performs positioning calculation may be the first device, the third device, or other devices (such as a control center device in the subnetwork where the first device is located), which is not limited by this application.
S607、第一设备在第一带宽上发送第三消息,第三设备在第一带宽上接收第三消息,第三消息中包括第一设备的定位结果,该定位结果用于指示第一设备的位置信息。S607. The first device sends a third message on the first bandwidth, and the third device receives the third message on the first bandwidth. The third message includes the positioning result of the first device, and the positioning result is used to indicate the location of the first device. location information.
可以理解的,这里是以第一设备返回定位结果为例,实际还可以由其它设备返回定位结果给第一设备,本申请不做限制,因此S607为可选步骤。It can be understood that here, the first device returns the positioning result as an example. In fact, other devices can also return the positioning result to the first device. This application does not limit it, so S607 is an optional step.
为了更加清楚的理解上述实施方式,这里再举一个具体的例子:In order to understand the above implementation more clearly, here is another specific example:
参见图8,为本申请实施例提供的一种可能的智能家庭场景示意图,在该场景中,通信设备包括智能门锁、顶灯1、耳机、扫地机器人、顶灯2、智能电视、音响、手机,插座1(设置在房间1或房间3墙壁上)、插座2(设置在房间2或房间3墙壁上)等。参照图3B所示的网络结构,将每个房间内的通信设备组成一个子网络,各房间的子网络构成Mesh网络,其中插座可作为相邻子网络的交集设备(例如插座1作为房间1和房间3的交集设备,插座2 作为房间2和房间3的交集设备)。Refer to Figure 8, which is a schematic diagram of a possible smart home scenario provided by an embodiment of the present application. In this scenario, communication devices include smart door locks, ceiling lights 1, headphones, sweeping robots, ceiling lights 2, smart TVs, speakers, and mobile phones. Socket 1 (set on the wall of Room 1 or Room 3), Socket 2 (set on the wall of Room 2 or Room 3), etc. Referring to the network structure shown in Figure 3B, the communication devices in each room form a sub-network, and the sub-networks in each room form a Mesh network, in which the socket can be used as the intersection device of adjacent sub-networks (for example, socket 1 serves as room 1 and Intersection device in room 3, socket 2 As the intersection device of Room 2 and Room 3).
当用户手持手机需要找耳机,手机基于窄带通信技术将第一消息发送至全网,开启找耳机任务;耳机基于窄带通信技术收到第一消息后,返回其大概的位置信息(例如在智能门锁附近);当用户知晓耳机在智能门锁附近后,用户带着手机向智能门锁靠近;当手机进入房间1后,手机与耳机通过窄带通信技术建立通信链路并协商定位参数;手机与耳机通过宽带通信技术完成定位测量过程(如果是手机做定位计算,则手机直接获得定位结果;如果不是手机做定位计算,则做定位计算的设备可以通过窄带通信技术向手机发送定位结果);手机获得定位结果之后,向用户提示耳机的精确位置(如在地图中显示耳机的位置,或者显示耳机相对于手机的距离、方位等)。When the user holds the mobile phone and needs to find the headset, the mobile phone sends the first message to the entire network based on narrowband communication technology to start the task of finding the headset; after the headset receives the first message based on narrowband communication technology, it returns its approximate location information (for example, in a smart door (near the lock); when the user knows that the headset is near the smart door lock, the user brings the mobile phone closer to the smart door lock; when the mobile phone enters room 1, the mobile phone and the headset establish a communication link through narrowband communication technology and negotiate positioning parameters; the mobile phone and The headset completes the positioning measurement process through broadband communication technology (if the mobile phone is doing the positioning calculation, the mobile phone will directly obtain the positioning result; if it is not the mobile phone doing the positioning calculation, the device doing the positioning calculation can send the positioning result to the mobile phone through narrowband communication technology); the mobile phone After obtaining the positioning result, the user is prompted with the precise location of the headset (such as displaying the location of the headset on a map, or displaying the distance and orientation of the headset relative to the mobile phone, etc.).
以上实现方式一中,发起定位的设备(第三设备)先将被定位设备(第一设备)的消息(即第一消息)发布至全网,发起定位的设备收到被定位设备的大概位置后,移动至被定位设备附近之后,再进行精准定位,可以实现对目标的精准查找。在一些场景下,还可以让用户可以参与查找过程(例如移动被定位设备),可以提高用户体验。In the first implementation method above, the device initiating positioning (the third device) first publishes the message (i.e., the first message) of the device being located (the first device) to the entire network, and the device initiating positioning receives the approximate location of the device being located. Finally, after moving to the vicinity of the positioned device, and then performing precise positioning, the target can be accurately found. In some scenarios, users can also be allowed to participate in the search process (such as moving the located device), which can improve the user experience.
实现方式二、第一设备发送的测距信号的接收端设备和/或第一设备接收的测距信号的发送端设备是第四设备。其中,第四设备为第一子网络中除第一设备外的其它任一设备。Implementation Mode 2: The receiving end device of the ranging signal sent by the first device and/or the transmitting end device of the ranging signal received by the first device is the fourth device. Wherein, the fourth device is any other device in the first sub-network except the first device.
参见图9,第三设备对第一设备进行定位的流程具体可以包括:Referring to Figure 9, the process for the third device to locate the first device may specifically include:
901、第三设备在第一带宽上发送第一消息,第一消息经由至少一个设备传输至第一设备,相应的,第一设备在第一带宽上接收第一消息。此步骤的具体实现参考S401,此处不再赘述。901. The third device sends the first message on the first bandwidth. The first message is transmitted to the first device via at least one device. Correspondingly, the first device receives the first message on the first bandwidth. For the specific implementation of this step, refer to S401, which will not be described again here.
902、第一设备收到第一消息之后,在第一带宽上与第四设备建立通信链路。902. After receiving the first message, the first device establishes a communication link with the fourth device on the first bandwidth.
其中,第一设备与第四设备建立通信链路的过程可以参考上文第一设备与第三设备建立通信链路的过程,此处不再赘述。The process of establishing a communication link between the first device and the fourth device may refer to the process of establishing a communication link between the first device and the third device above, which will not be described again here.
903、第一设备在第一带宽上,与第四设备协商定位参数。903. The first device negotiates positioning parameters with the fourth device on the first bandwidth.
其中,第一设备与第四设备协商定位参数的过程可以参考上文第一设备与第三设备协商定位参数的过程,此处不再赘述。The process of negotiating positioning parameters between the first device and the fourth device may refer to the process of negotiating positioning parameters between the first device and the third device above, which will not be described again here.
904、第一设备基于通信链路和定位参数在第二带宽上发送测距信号,第四设备基于通信链路和定位参数在第二带宽上接收第一设备的测距信号;和/或,第四设备基于通信链路和定位参数在第二带宽上发送测距信号,第一设备基于通信链路和定位参数在第二带宽上接收测距信号。904. The first device sends a ranging signal on the second bandwidth based on the communication link and positioning parameters, and the fourth device receives the ranging signal of the first device on the second bandwidth based on the communication link and positioning parameters; and/or, The fourth device sends the ranging signal on the second bandwidth based on the communication link and the positioning parameter, and the first device receives the ranging signal on the second bandwidth based on the communication link and the positioning parameter.
类似的,在S904之前,如果第四设备和/或第一设备的宽带系统未处于唤醒状态,则唤醒宽带系统。Similarly, before S904, if the broadband system of the fourth device and/or the first device is not in the awake state, wake up the broadband system.
需要说明的是,S902~S904仅介绍了一个设备(即第四设备)与第一设备进行定位测量为例,实际实现时,可以有多个设备对第一设备进行定位测量,例如,在图3B所示的场景中,设备C、设备B均可以对设备H进行定位测量。It should be noted that S902 to S904 only introduce one device (i.e., the fourth device) for positioning measurement with the first device as an example. In actual implementation, multiple devices can perform positioning measurement for the first device. For example, in Figure In the scenario shown in 3B, both device C and device B can perform positioning measurements on device H.
可以理解的,具体多少个设备参与定位测量,可以根据定位所采用的算法确定,例如,对于TDOA算法,则需要三个设备参与定位测量。It is understandable that the specific number of devices participating in positioning measurement can be determined according to the algorithm used for positioning. For example, for the TDOA algorithm, three devices are required to participate in positioning measurement.
相应的,在多个设备对第一设备进行定位测量时,该多个设备中每个设备与第一设备的交互过程可以参考S902~S904中第四设备与第一设备的交互过程,此处不再赘述。最终,各个设备获得的测量结果都汇集到做定位计算的设备上,由该设备计算出定位结果(定位结果用于指示第一设备的位置信息,例如第一设备的坐标等)。其中,做定位计算的设备 可以是第一设备,也可以是第四设备,还可以是其它设备(例如第一设备和第四设备所在子网络中的控制中心设备),本申请不做限制。Correspondingly, when multiple devices perform positioning measurements on the first device, the interaction process between each device in the multiple devices and the first device can refer to the interaction process between the fourth device and the first device in S902 to S904, where No longer. Finally, the measurement results obtained by each device are gathered into the device that performs positioning calculation, and the device calculates the positioning result (the positioning result is used to indicate the position information of the first device, such as the coordinates of the first device, etc.). Among them, equipment for positioning calculations It may be the first device, the fourth device, or other devices (such as a control center device in the subnetwork where the first device and the fourth device are located), and is not limited in this application.
S905、第一设备在第一带宽上发送第三消息,第三设备在第一带宽上接收第三消息,第三消息中包括第一设备的定位结果,该定位结果用于指示第一设备的位置信息。S905. The first device sends the third message on the first bandwidth, and the third device receives the third message on the first bandwidth. The third message includes the positioning result of the first device, and the positioning result is used to indicate the location of the first device. location information.
可以理解的,这里是以第一设返回定位结果为例,实际还可以由其它设备返回定位结果给第一设备,因此S905为可选步骤。It can be understood that here, the first device returns a positioning result as an example. In fact, other devices can also return positioning results to the first device, so S905 is an optional step.
其中,第三消息的传输路径可以与第一消息的传输路径对应,即经由相同的设备中转,但是传输方向相反。示例性的,以图5B所示的场景为例,第一消息的传输路径为:设备H→设备F→设备C→设备A;第三消息的传输路径为:设备A→设备C→设备F→设备H。The transmission path of the third message may correspond to the transmission path of the first message, that is, it is transferred via the same device, but in the opposite transmission direction. Illustratively, taking the scenario shown in Figure 5B as an example, the transmission path of the first message is: device H → device F → device C → device A; the transmission path of the third message is: device A → device C → device F →Equipment H.
当然,第三消息的传输路径也可以与第一消息的传输路径不对应,如经由不同的设备中转。示例性的,以图5B所示的场景为例,第一消息的传输路径为:设备H→设备F→设备C→设备A;第三消息的传输路径为:设备A→设备C→设备E→设备F→设备H。Of course, the transmission path of the third message may not correspond to the transmission path of the first message, such as being transferred via different devices. Illustratively, taking the scenario shown in Figure 5B as an example, the transmission path of the first message is: device H→device F→device C→device A; the transmission path of the third message is: device A→device C→device E. →Equipment F→Equipment H.
为了更加清楚的理解上述方案,这里再举一个具体的例子:In order to understand the above solution more clearly, here is another specific example:
仍以图8所示的智能家庭场景为例,当用户手持手机需要找耳机,手机基于窄带通信技术将第一消息发送至全网,开启找耳机任务;耳机基于窄带通信技术收到第一消息后,耳机所在子网络中智能门锁、顶灯1和插座1均对耳机执行定位测量,获得智能门锁、顶灯1和插座1与耳机的相对位置信息(如距离、方位等);做定位计算的设备(如耳机)根据智能门锁、顶灯1和插座1的位置信息(例如智能门锁、顶灯1和插座1的坐标分别为(x1,y1),(x2,y2),(x3,y3),以及智能门锁、顶灯1和插座1与耳机的相对位置信息,计算得到耳机的位置信息(例如坐标为(x0,y0));做定位计算的设备获得耳机的位置信息后,基于窄带通信技术将耳机的位置信息传递给手机,手机可以向用户提示耳机的精确位置(如在地图中显示耳机的位置、或者提示耳机的坐标等)。Still taking the smart home scenario shown in Figure 8 as an example, when the user holds a mobile phone and needs to find headphones, the mobile phone sends the first message to the entire network based on narrowband communication technology to start the task of finding headphones; the headset receives the first message based on narrowband communication technology Finally, the smart door lock, ceiling light 1 and socket 1 in the sub-network where the headset is located all perform positioning measurements on the headset, and obtain the relative position information (such as distance, orientation, etc.) of the smart door lock, ceiling light 1, socket 1 and the headset; perform positioning calculations The device (such as earphones) is based on the location information of the smart door lock, ceiling light 1 and socket 1 (for example, the coordinates of the smart door lock, ceiling light 1 and socket 1 are (x 1 , y 1 ), (x 2 , y 2 ), respectively. (x 3 , y 3 ), as well as the relative position information of the smart door lock, ceiling light 1, socket 1 and the headset, the position information of the headset is calculated (for example, the coordinates are (x 0 , y 0 )); the device doing the positioning calculation obtains After receiving the location information of the headset, the location information of the headset is transferred to the mobile phone based on narrowband communication technology. The mobile phone can prompt the user with the precise location of the headset (such as displaying the location of the headset on a map, or prompting the coordinates of the headset, etc.).
以上实现方式二中,发起定位的设备(第三设备)先将查找被定位设备(第一设备)的消息(即第一消息)发布至全网,第一设备收到消息后,通过第一设备所在的子网络中的其它设备对第一设备进行定位测量,并将定位结果返回给第三设备,可以实现对目标的精准查找。并且,不需要第一设备移动位置,方案适用性强。In the second implementation method above, the device initiating positioning (the third device) first publishes a message (i.e., the first message) to search for the located device (the first device) to the entire network. After receiving the message, the first device passes the first Other devices in the subnetwork where the device is located perform positioning measurements on the first device and return the positioning results to the third device, which can achieve accurate search for the target. Moreover, there is no need for the first device to move, and the solution has strong applicability.
本申请实施例提供的技术方案中,设备之间基于窄带系统建立子网,子网间构造Mesh网络,基于Mesh网络实现宽带系统和窄带系统的融合定位方案。组网过程中无需单独设置锚点,而是利用窄带系统对已有设备进行组网,可以降低网络部署成本和复杂度;定位过程无需人工介入即可实现高精度定位,实现简单,人力成本低;定位过程中采用宽带系统和窄带系统融合的方式,在保证定位精度的同时,减少宽带系统的工作时间,可以降低功耗。因此,在室内定位领域具有灵活的应用空间。In the technical solution provided by the embodiment of this application, subnets are established between devices based on the narrowband system, a Mesh network is constructed between the subnets, and an integrated positioning solution of the broadband system and the narrowband system is implemented based on the Mesh network. During the networking process, there is no need to set up separate anchor points. Instead, the narrowband system is used to network existing devices, which can reduce the cost and complexity of network deployment. The positioning process can achieve high-precision positioning without manual intervention, which is simple to implement and has low labor costs. ; During the positioning process, the broadband system and the narrowband system are integrated to ensure positioning accuracy while reducing the working time of the broadband system and reducing power consumption. Therefore, it has flexible application space in the field of indoor positioning.
需要说明的是,在上文所给的宽带系统和窄带系统融合的方式是,设备在发送和/或接收测距信号时使用宽带系统,而在传递消息、建立通信链路以及协商定位参数等过程均使用窄带系统。但在具体实施时,宽带系统和窄带系统融合的方式不限于此,例如设备也可以使用宽带系统协商定位参数以及发送和/或接收测距信号等,使用窄带系统传输消息传递和建立通信链路等。只要是宽带系统和窄带系统融合的定位方案,均在本申请实施例保护范围之内。It should be noted that the way of merging the broadband system and the narrowband system given above is that the device uses the broadband system when sending and/or receiving ranging signals, and uses the broadband system when transmitting messages, establishing communication links, and negotiating positioning parameters, etc. The processes all use narrowband systems. However, in actual implementation, the way in which broadband systems and narrowband systems are integrated is not limited to this. For example, devices can also use the broadband system to negotiate positioning parameters and send and/or receive ranging signals, etc., and use the narrowband system to transmit messages and establish communication links. wait. As long as it is a positioning solution that integrates a broadband system and a narrowband system, it is within the protection scope of the embodiments of this application.
另外,本申请实施例是以室内定位场景为例,但本申请实施例提供的技术方案不限于用于室内定位场景,也可以应用于其它定位场景。 In addition, the embodiments of this application take an indoor positioning scenario as an example, but the technical solution provided by the embodiments of this application is not limited to indoor positioning scenarios and can also be applied to other positioning scenarios.
可以理解的,上述各实施方式可以相互结合以实现不同的技术效果。It can be understood that the above-mentioned embodiments can be combined with each other to achieve different technical effects.
基于同一技术构思,参见图10,本申请实施例还提供一种定位装置,该装置包括收发模块1001。可选的,还包括处理模块1002。收发模块1001可以和处理模块1002配合以执行上述方法实施例中任一设备执行的部分或全部操作。Based on the same technical concept, see FIG. 10 , an embodiment of the present application also provides a positioning device, which includes a transceiver module 1001 . Optionally, a processing module 1002 is also included. The transceiver module 1001 can cooperate with the processing module 1002 to perform some or all of the operations performed by any device in the above method embodiments.
示例性的,当该定位装置用于实现上述方法实施例中第一设备的功能时,收发模块1001,用于在第一带宽上从第二设备接收的第一消息,其中第一消息用于请求装置所在的第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和第二设备位于无线网格Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;收发模块1001,还用于在第二带宽上发送测距信号和/或接收测距信号,测距信号用于确定第一设备的位置信息;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, when the positioning device is used to implement the functions of the first device in the above method embodiment, the transceiver module 1001 is used to receive the first message from the second device on the first bandwidth, where the first message is used to The location information of the first device where the requesting device is located, the source device of the first message is the third device, the first device and the second device are located in the first sub-network of the wireless mesh Mesh network, and the third device is located in the Mesh network The second sub-network; the transceiver module 1001 is also used to send ranging signals and/or receive ranging signals on the second bandwidth, and the ranging signals are used to determine the location information of the first device; wherein, the bandwidth of the first bandwidth A bandwidth smaller than the second bandwidth.
可选的,处理模块1002用于生成测距信号或处理测距信号。Optionally, the processing module 1002 is used to generate a ranging signal or process a ranging signal.
示例性的,当该定位装置用于实现上述方法实施例中第三设备的功能时,收发模块1001,用于在第一带宽上向第五设备发送第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为装置所在的第三设备,第一设备位于Mesh网络中的第一子网络,第三设备和第五设备位于Mesh网络中的第二子网络;收发模块1001,还用于在第一带宽上从第五设备接收第二消息,第二消息中包含用于指示第一设备位于第一子网络的指示信息,第二消息的源端设备为第一设备,第二消息的目的端设备为第三设备;当第三设备位于第一子网络时,收发模块1001,还用于在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, when the positioning device is used to implement the function of the third device in the above method embodiment, the transceiver module 1001 is used to send the first message to the fifth device on the first bandwidth, where the first message is used to request Location information of the first device. The source device of the first message is the third device where the device is located. The first device is located in the first sub-network of the Mesh network. The third device and the fifth device are located in the second sub-network of the Mesh network. Network; the transceiver module 1001 is also configured to receive a second message from the fifth device on the first bandwidth. The second message contains indication information indicating that the first device is located in the first sub-network. The source device of the second message is the first device, and the destination device of the second message is the third device; when the third device is located in the first sub-network, the transceiver module 1001 is also configured to send ranging signals and/or to the first device on the second bandwidth. Or receiving a ranging signal from the first device; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
可选的,处理模块1002用于生成测距信号或处理测距信号。Optionally, the processing module 1002 is used to generate a ranging signal or process a ranging signal.
示例性的,当该定位装置用于实现上述方法实施例中第四设备的功能时,收发模块1001,用于在第一带宽上与第一设备建立通信链路;其中,装置所在的第四设备和第一设备均位于Mesh网络中的第一子网络;收发模块1001,还用于在第二带宽上向第一设备发送测距信号和/或接收来自第一设备的测距信号;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, when the positioning device is used to implement the functions of the fourth device in the above method embodiment, the transceiver module 1001 is used to establish a communication link with the first device on the first bandwidth; wherein, the fourth device where the device is located The device and the first device are both located in the first sub-network in the Mesh network; the transceiver module 1001 is also used to send ranging signals to the first device and/or receive ranging signals from the first device on the second bandwidth; wherein , the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
可选的,处理模块1002用于生成测距信号或处理测距信号。Optionally, the processing module 1002 is used to generate a ranging signal or process a ranging signal.
示例性的,当该定位装置用于实现上述方法实施例中第二设备的功能时,收发模块1001,用于在第一带宽上接收第一消息,其中第一消息用于请求第一设备的位置信息,第一消息的源端设备为第三设备,第一设备和装置所在的第二设备位于Mesh网络中的第一子网络,第三设备位于Mesh网络中的第二子网络;收发模块1001,还用于在第一带宽上向第一设备发送第一消息;其中,第一带宽的带宽小于第二带宽的带宽。Exemplarily, when the positioning device is used to implement the functions of the second device in the above method embodiment, the transceiver module 1001 is used to receive the first message on the first bandwidth, where the first message is used to request the first device. Location information, the source device of the first message is the third device, the first device and the second device where the device is located are located in the first sub-network in the Mesh network, and the third device is located in the second sub-network in the Mesh network; transceiver module 1001. Also configured to send the first message to the first device on the first bandwidth; wherein the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All relevant content of each step involved in the above method embodiments can be quoted from the functional description of the corresponding functional module, and will not be described again here.
基于同一技术构思,参见图11,本申请实施例还提供一种定位装置,包括:至少一个处理器1101;以及与所述至少一个处理器1101通信连接的存储器1102、通信接口1103;其中,所述存储器1102存储有可被所述至少一个处理器1101执行的指令,所述至少一个处理器1101通过执行所述存储器1102存储的指令,使得所述装置通过所述通信接口1103执行上述方法实施例中任一设备执行的部分或全部操作。Based on the same technical concept, referring to Figure 11, an embodiment of the present application also provides a positioning device, including: at least one processor 1101; and a memory 1102 and a communication interface 1103 communicatively connected to the at least one processor 1101; wherein, The memory 1102 stores instructions that can be executed by the at least one processor 1101. By executing the instructions stored in the memory 1102, the at least one processor 1101 causes the device to execute the above method embodiment through the communication interface 1103. Some or all of the operations performed by any of the devices.
本申请实施例中不限定上述处理器1101、存储器1102以及通信接口1103之间的具体连接介质。本申请实施例在图11中以处理器1101、存储器1102以及通信接口1103之间 通过总线1104连接,总线在图11中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The embodiment of the present application does not limit the specific connection medium between the processor 1101, the memory 1102 and the communication interface 1103. In the embodiment of the present application, in Figure 11, the processor 1101, the memory 1102 and the communication interface 1103 They are connected through a bus 1104, which is represented by a thick line in Figure 11. The connection methods between other components are only schematically illustrated and are not limiting. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 11, but it does not mean that there is only one bus or one type of bus.
应理解,本申请实施例中提及的处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。It should be understood that the processor mentioned in the embodiments of this application can be implemented by hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in memory.
示例性的,处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。For example, the processor can be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, DSP), or application specific integrated 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.
应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Eate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。It should be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase 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. By way of illustration, but not limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Eate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
基于同一技术构思,本申请实施例还提供一种计算机可读存储介质,包括程序或指令,当所述程序或指令在计算机上运行时,使得上述方法实施例中任一设备执行的部分或全部操作被执行。Based on the same technical concept, embodiments of the present application also provide a computer-readable storage medium, including a program or instructions, which when the program or instructions are run on a computer, cause part or all of the execution of any device in the above method embodiments. The operation is executed.
基于同一技术构思,本申请实施例还提供一种芯片,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,使得上述方法实施例中由任一设备执行的部分或全部操作被执行。Based on the same technical concept, embodiments of the present application also provide a chip, which is coupled to a memory and used to read and execute program instructions stored in the memory, so that the part executed by any device in the above method embodiments or all operations are performed.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指 令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions are available causing a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine such that instructions executed by the processor of the computer or other programmable data processing device produce instructions for implementing the flowchart A process or processes and/or a block diagram means the functionality specified in a block or blocks.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (30)

  1. 一种定位方法,其特征在于,包括:A positioning method, characterized by including:
    第一设备在第一带宽上从第二设备接收的第一消息,其中所述第一消息用于请求所述第一设备的位置信息,所述第一消息的源端设备为第三设备,所述第一设备和所述第二设备位于无线网格Mesh网络中的第一子网络,所述第三设备位于所述Mesh网络中的第二子网络;a first message received by a first device from a second device on a first bandwidth, wherein the first message is used to request location information of the first device, and the source device of the first message is a third device, The first device and the second device are located in a first sub-network in the wireless mesh Mesh network, and the third device is located in a second sub-network in the Mesh network;
    所述第一设备在第二带宽上发送测距信号和/或接收测距信号,所述测距信号用于确定所述第一设备的位置信息;The first device sends and/or receives a ranging signal on the second bandwidth, and the ranging signal is used to determine the location information of the first device;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  2. 如权利要求1所述的方法,其特征在于,在所述第一设备在第一带宽上从第二设备接收第一消息之后、以及所述第一设备在第二带宽上发送测距信号和/或接收测距信号之前,还包括:The method of claim 1, wherein after the first device receives the first message from the second device on the first bandwidth and the first device sends the ranging signal on the second bandwidth and /or before receiving the ranging signal, also includes:
    所述第一设备在所述第一带宽上向所述第二设备发送第二消息,所述第二消息中包含用于指示所述第一设备位于所述第一子网络的指示信息,所述第二消息的目的端设备为所述第三设备;The first device sends a second message to the second device on the first bandwidth, where the second message contains indication information indicating that the first device is located in the first sub-network, so The destination device of the second message is the third device;
    所述第一设备在第二带宽上发送测距信号和/或接收测距信号,包括:The first device sends ranging signals and/or receives ranging signals on the second bandwidth, including:
    当所述第三设备位于所述第一子网络时,所述第一设备在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号。When the third device is located in the first sub-network, the first device sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth.
  3. 如权利要求2所述的方法,其特征在于,在所述第一设备在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号之前,还包括:The method of claim 2, wherein before the first device sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth, Also includes:
    所述第一设备在所述第一带宽上与所述第三设备建立通信链路;The first device establishes a communication link with the third device on the first bandwidth;
    所述第一设备在所述第一带宽上,与所述第三设备协商定位参数;The first device negotiates positioning parameters with the third device on the first bandwidth;
    所述第一设备在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号,包括:The first device sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth, including:
    所述第一设备基于所述通信链路和所述定位参数,在所述第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号。The first device sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth based on the communication link and the positioning parameter.
  4. 如权利要求1所述的方法,其特征在于,所述第一设备在第二带宽上发送测距信号和/或接收测距信号,包括:The method of claim 1, wherein the first device sends ranging signals and/or receives ranging signals on the second bandwidth, including:
    所述第一设备在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号,其中所述第四设备位于所述第一子网络。The first device sends a ranging signal to a fourth device and/or receives a ranging signal from the fourth device on a second bandwidth, where the fourth device is located in the first sub-network.
  5. 如权利要求4所述的方法,其特征在于,在所述第一设备在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号之前,所述方法还包括:The method of claim 4, wherein before the first device sends a ranging signal to a fourth device on a second bandwidth and/or receives a ranging signal from the fourth device, the Methods also include:
    所述第一设备在所述第一带宽上与所述第四设备建立通信链路;The first device establishes a communication link with the fourth device on the first bandwidth;
    所述第一设备在所述第一带宽上,与所述第四设备协商定位参数;The first device negotiates positioning parameters with the fourth device on the first bandwidth;
    所述第一设备在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号,包括:The first device sends a ranging signal to a fourth device and/or receives a ranging signal from the fourth device on the second bandwidth, including:
    所述第一设备基于所述通信链路和所述定位参数,在所述第二带宽上向所述第四设备发送测距信号和/或接收来自所述第四设备的测距信号。The first device sends a ranging signal to the fourth device and/or receives a ranging signal from the fourth device on the second bandwidth based on the communication link and the positioning parameter.
  6. 如权利要求1-5任一项所述的方法,其特征在于,在所述第一设备在第二带宽上发 送测距信号和/或接收测距信号之后,还包括:The method according to any one of claims 1 to 5, characterized in that when the first device transmits on the second bandwidth After sending and/or receiving ranging signals, it also includes:
    所述第一设备在所述第一带宽上发送第三消息,所述第三消息中包括所述第一设备的定位结果,所述定位结果用于指示所述第一设备的位置信息,所述第三消息的目的端设备为所述第三设备。The first device sends a third message on the first bandwidth, the third message includes a positioning result of the first device, and the positioning result is used to indicate the location information of the first device, so The destination device of the third message is the third device.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述第一带宽为无线网络Wi-Fi、蓝牙或近场通信NFC中至少一种通信技术对应的带宽;所述第二带宽为超宽带UWB对应的带宽。The method according to any one of claims 1 to 6, characterized in that the first bandwidth is a bandwidth corresponding to at least one communication technology among wireless networks Wi-Fi, Bluetooth or near field communication NFC; the second bandwidth The bandwidth is the bandwidth corresponding to ultra-wideband UWB.
  8. 一种定位方法,其特征在于,包括:A positioning method, characterized by including:
    第三设备在第一带宽上向第五设备发送第一消息,其中所述第一消息用于请求第一设备的位置信息,所述第一消息的源端设备为所述第三设备,所述第一设备位于Mesh网络中的第一子网络,所述第三设备和所述第五设备位于所述Mesh网络中的第二子网络;The third device sends a first message to the fifth device on the first bandwidth, where the first message is used to request location information of the first device, and the source device of the first message is the third device, so The first device is located in the first sub-network of the Mesh network, and the third device and the fifth device are located in the second sub-network of the Mesh network;
    所述第三设备在所述第一带宽上从所述第五设备接收第二消息,所述第二消息中包含用于指示所述第一设备位于所述第一子网络的指示信息,所述第二消息的源端设备为所述第一设备,所述第二消息的目的端设备为所述第三设备;The third device receives a second message from the fifth device on the first bandwidth, where the second message contains indication information indicating that the first device is located in the first sub-network, so The source device of the second message is the first device, and the destination device of the second message is the third device;
    当所述第三设备位于所述第一子网络时,所述第三设备在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号;When the third device is located in the first sub-network, the third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8, further comprising:
    所述第三设备根据指示信息,向所述第一子网络移动。The third device moves to the first sub-network according to the instruction information.
  10. 如权利要求8或9所述的方法,其特征在于,在所述第三设备在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号之前,还包括:The method of claim 8 or 9, wherein the third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on a second bandwidth. Previously, this also included:
    所述第三设备在所述第一带宽上与所述第一设备建立通信链路;The third device establishes a communication link with the first device on the first bandwidth;
    所述第三设备在所述第一带宽上,与所述第一设备协商定位参数;The third device negotiates positioning parameters with the first device on the first bandwidth;
    所述第三设备在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号,包括:The third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, including:
    所述第三设备基于所述通信链路和所述定位参数,在所述第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号。The third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth based on the communication link and the positioning parameter.
  11. 如权利要求8-10任一项所述的方法,其特征在于,在所述第三设备在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号之后,还包括:The method according to any one of claims 8 to 10, characterized in that when the third device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, After the ranging signal, it also includes:
    所述第三设备在所述第一带宽上从所述第一设备接收第三消息,所述第三消息中包括所述第一设备的定位结果,所述定位结果用于指示所述第一设备的位置信息,所述第三消息的目的端设备为所述第三设备。The third device receives a third message from the first device on the first bandwidth, the third message includes a positioning result of the first device, and the positioning result is used to indicate that the first device Location information of the device, and the destination device of the third message is the third device.
  12. 如权利要求8-11任一项所述的方法,其特征在于,所述第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;所述第二带宽为UWB对应的带宽。The method according to any one of claims 8 to 11, characterized in that the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB bandwidth.
  13. 一种定位方法,其特征在于,包括:A positioning method, characterized by including:
    第四设备在第一带宽上与第一设备建立通信链路;其中,所述第四设备和所述第一设备均位于Mesh网络中的第一子网络;The fourth device establishes a communication link with the first device on the first bandwidth; wherein the fourth device and the first device are both located in the first subnetwork of the Mesh network;
    所述第四设备在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号;The fourth device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。 Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  14. 如权利要求13所述的方法,其特征在于,在所述第四设备在第一带宽上与第一设备建立通信链路之后、以及所述第四设备在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号之前,所述方法还包括:The method of claim 13, wherein after the fourth device establishes a communication link with the first device on the first bandwidth, and the fourth device sends a message to the first device on the second bandwidth. Before receiving the ranging signal and/or receiving the ranging signal from the first device, the method further includes:
    所述第四设备在所述第一带宽上,与所述第一设备协商定位参数;The fourth device negotiates positioning parameters with the first device on the first bandwidth;
    所述第四设备在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号,包括:The fourth device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, including:
    所述第四设备基于所述通信链路和所述定位参数,在所述第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号。The fourth device sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth based on the communication link and the positioning parameter.
  15. 如权利要求13或14所述的方法,其特征在于,所述第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;所述第二带宽为UWB对应的带宽。The method of claim 13 or 14, wherein the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; and the second bandwidth is a bandwidth corresponding to UWB.
  16. 一种定位装置,其特征在于,包括:A positioning device, characterized by including:
    收发模块,用于在第一带宽上从第二设备接收的第一消息,其中所述第一消息用于请求所述装置所在的第一设备的位置信息,所述第一消息的源端设备为第三设备,所述第一设备和所述第二设备位于无线网格Mesh网络中的第一子网络,所述第三设备位于所述Mesh网络中的第二子网络;A transceiver module, configured to receive a first message from a second device on a first bandwidth, wherein the first message is used to request location information of the first device where the device is located, and the source device of the first message Be a third device, the first device and the second device are located in the first sub-network of the wireless mesh Mesh network, and the third device is located in the second sub-network of the Mesh network;
    所述收发模块,还用于在第二带宽上发送测距信号和/或接收测距信号,所述测距信号用于确定所述第一设备的位置信息;The transceiver module is also configured to send and/or receive ranging signals on the second bandwidth, where the ranging signals are used to determine the location information of the first device;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  17. 如权利要求16所述的装置,其特征在于,所述收发模块,还用于:The device according to claim 16, characterized in that the transceiver module is also used to:
    在第一带宽上从第二设备接收第一消息之后、以及在第二带宽上发送测距信号和/或接收测距信号之前,在所述第一带宽上向所述第二设备发送第二消息,所述第二消息中包含用于指示所述第一设备位于所述第一子网络的指示信息,所述第二消息的目的端设备为所述第三设备;After receiving the first message from the second device over the first bandwidth and before sending and/or receiving the ranging signal over the second bandwidth, sending a second message to the second device over the first bandwidth. message, the second message includes indication information indicating that the first device is located in the first subnetwork, and the destination device of the second message is the third device;
    所述收发模块在第二带宽上发送测距信号和/或接收测距信号时,具体用于:When the transceiver module sends and/or receives ranging signals on the second bandwidth, it is specifically used to:
    当所述第三设备位于所述第一子网络时,在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号。When the third device is located in the first sub-network, a ranging signal is sent to the third device and/or a ranging signal is received from the third device on the second bandwidth.
  18. 如权利要求17所述的装置,其特征在于,所述收发模块还用于:The device according to claim 17, characterized in that the transceiver module is also used for:
    在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号之前,在所述第一带宽上与所述第三设备建立通信链路;Establishing a communication link with the third device on the first bandwidth before sending a ranging signal to the third device and/or receiving a ranging signal from the third device on the second bandwidth;
    在所述第一带宽上,与所述第三设备协商定位参数;Negotiate positioning parameters with the third device on the first bandwidth;
    所述收发模块在第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号时,具体用于:When the transceiver module sends a ranging signal to the third device and/or receives a ranging signal from the third device on the second bandwidth, it is specifically used to:
    基于所述通信链路和所述定位参数,在所述第二带宽上向所述第三设备发送测距信号和/或接收来自所述第三设备的测距信号。Based on the communication link and the positioning parameter, a ranging signal is sent to the third device and/or a ranging signal is received from the third device over the second bandwidth.
  19. 如权利要求16所述的装置,其特征在于,所述收发模块在第二带宽上发送测距信号和/或接收测距信号时,具体用于:The device according to claim 16, wherein the transceiver module is specifically used to: when sending and/or receiving ranging signals on the second bandwidth:
    在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号,其中所述第四设备位于所述第一子网络。A ranging signal is sent to and/or a ranging signal is received from a fourth device on a second bandwidth, wherein the fourth device is located in the first sub-network.
  20. 如权利要求19所述的装置,其特征在于,所述收发模块在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号之前,还用于: The apparatus of claim 19, wherein the transceiver module is further configured to: before sending the ranging signal to the fourth device on the second bandwidth and/or receiving the ranging signal from the fourth device:
    在所述第一带宽上与所述第四设备建立通信链路;Establish a communication link with the fourth device on the first bandwidth;
    在所述第一带宽上,与所述第四设备协商定位参数;Negotiate positioning parameters with the fourth device on the first bandwidth;
    所述收发模块在第二带宽上向第四设备发送测距信号和/或接收来自所述第四设备的测距信号时,具体用于:When the transceiver module sends a ranging signal to the fourth device and/or receives a ranging signal from the fourth device on the second bandwidth, it is specifically used to:
    基于所述通信链路和所述定位参数,在所述第二带宽上向所述第四设备发送测距信号和/或接收来自所述第四设备的测距信号。Based on the communication link and the positioning parameter, a ranging signal is sent to and/or a ranging signal is received from the fourth device over the second bandwidth.
  21. 如权利要求16-20任一项所述的装置,其特征在于,所述收发模块还用于:在第二带宽上发送测距信号和/或接收测距信号之后,在所述第一带宽上发送第三消息,所述第三消息中包括所述第一设备的定位结果,所述定位结果用于指示所述第一设备的位置信息,所述第三消息的目的端设备为所述第三设备。The device according to any one of claims 16 to 20, characterized in that the transceiver module is further configured to: after sending the ranging signal and/or receiving the ranging signal in the second bandwidth, in the first bandwidth A third message is sent on the mobile phone, the third message includes the positioning result of the first device, the positioning result is used to indicate the location information of the first device, and the destination device of the third message is the Third device.
  22. 如权利要求16-21任一项所述的装置,其特征在于,所述第一带宽为Wi-Fi、蓝牙或NFC中至少一种通信技术对应的带宽;所述第二带宽为UWB对应的带宽。The device according to any one of claims 16 to 21, characterized in that the first bandwidth is a bandwidth corresponding to at least one communication technology among Wi-Fi, Bluetooth or NFC; the second bandwidth is a bandwidth corresponding to UWB bandwidth.
  23. 一种定位装置,其特征在于,包括:A positioning device, characterized by including:
    收发模块,用于在第一带宽上向第五设备发送第一消息,其中所述第一消息用于请求第一设备的位置信息,所述第一消息的源端设备为所述装置所在的第三设备,所述第一设备位于Mesh网络中的第一子网络,所述第三设备和所述第五设备位于所述Mesh网络中的第二子网络;A transceiver module configured to send a first message to a fifth device on a first bandwidth, where the first message is used to request location information of the first device, and the source device of the first message is the location where the device is located. A third device, the first device is located in the first sub-network of the Mesh network, and the third device and the fifth device are located in the second sub-network of the Mesh network;
    所述收发模块,还用于在所述第一带宽上从所述第五设备接收第二消息,所述第二消息中包含用于指示所述第一设备位于所述第一子网络的指示信息,所述第二消息的源端设备为所述第一设备,所述第二消息的目的端设备为所述第三设备;The transceiver module is further configured to receive a second message from the fifth device on the first bandwidth, where the second message contains an indication indicating that the first device is located in the first sub-network. Information, the source device of the second message is the first device, and the destination device of the second message is the third device;
    当所述第三设备位于所述第一子网络时,所述收发模块,还用于在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号;When the third device is located in the first sub-network, the transceiver module is also configured to send a ranging signal to the first device on a second bandwidth and/or receive a ranging signal from the first device. distance signal;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  24. 如权利要求23所述的装置,其特征在于,所述装置还包括:The device of claim 23, further comprising:
    处理模块,用于根据指示信息,控制所述第三设备向所述第一子网络移动。A processing module configured to control the third device to move to the first sub-network according to the instruction information.
  25. 如权利要求23或24所述的装置,其特征在于,所述收发模块还用于:The device according to claim 23 or 24, characterized in that the transceiver module is also used for:
    在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号之前,在所述第一带宽上与所述第一设备建立通信链路;Establishing a communication link with the first device on the first bandwidth before sending a ranging signal to the first device and/or receiving a ranging signal from the first device on the second bandwidth;
    在所述第一带宽上,与所述第一设备协商定位参数;Negotiate positioning parameters with the first device on the first bandwidth;
    所述收发模块在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号时,具体用于:When the transceiver module sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, it is specifically used to:
    基于所述通信链路和所述定位参数,在所述第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号。Based on the communication link and the positioning parameter, ranging signals are sent to and/or received from the first device over the second bandwidth.
  26. 如权利要求23-25任一项所述的装置,其特征在于,所述收发模块还用于:The device according to any one of claims 23-25, characterized in that the transceiver module is also used for:
    在第二带宽上向所述第一设备发送测距信号和/或接收来自所述第一设备的测距信号之后,在所述第一带宽上从所述第一设备接收第三消息,所述第三消息中包括所述第一设备的定位结果,所述定位结果用于指示所述第一设备的位置信息,所述第三消息的目的端设备为所述第三设备。After sending a ranging signal to the first device and/or receiving a ranging signal from the first device on the second bandwidth, receiving a third message from the first device on the first bandwidth, so The third message includes the positioning result of the first device, the positioning result is used to indicate the location information of the first device, and the destination device of the third message is the third device.
  27. 一种定位装置,其特征在于,包括:A positioning device, characterized by including:
    收发模块,用于在第一带宽上与第一设备建立通信链路;其中,所述装置所在的第四 设备和所述第一设备均位于Mesh网络中的第一子网络;A transceiver module, configured to establish a communication link with the first device on the first bandwidth; wherein the fourth device is located The device and the first device are both located in the first sub-network in the Mesh network;
    所述收发模块,还用于在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号;The transceiver module is also configured to send a ranging signal to the first device on the second bandwidth and/or receive a ranging signal from the first device;
    其中,所述第一带宽的带宽小于所述第二带宽的带宽。Wherein, the bandwidth of the first bandwidth is smaller than the bandwidth of the second bandwidth.
  28. 如权利要求27所述的装置,其特征在于,所述收发模块还用于:在所述第一带宽上与所述第一设备建立通信链路之后、以及在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号之前,在所述第一带宽上,与所述第一设备协商定位参数;The apparatus of claim 27, wherein the transceiver module is further configured to: after establishing a communication link with the first device on the first bandwidth, and to send a message to the first device on the second bandwidth. Before sending a ranging signal and/or receiving a ranging signal from the first device, negotiating positioning parameters with the first device on the first bandwidth;
    所述收发模块在第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号时,具体用于:When the transceiver module sends a ranging signal to the first device and/or receives a ranging signal from the first device on the second bandwidth, it is specifically used to:
    基于所述通信链路和所述定位参数,在所述第二带宽上向第一设备发送测距信号和/或接收来自所述第一设备的测距信号。Based on the communication link and the positioning parameter, a ranging signal is sent to and/or a ranging signal is received from the first device over the second bandwidth.
  29. 一种定位装置,其特征在于,包括:A positioning device, characterized by including:
    至少一个处理器;以及与所述至少一个处理器通信连接的存储器、通信接口;At least one processor; and a memory and communication interface communicatively connected to the at least one processor;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令,使得所述装置通过所述通信接口执行如权利要求1-15中任一项所述的方法。Wherein, the memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the instructions stored in the memory to cause the device to execute claims 1-15 through the communication interface. any one of the methods.
  30. 一种计算机可读存储介质,其特征在于,包括程序或指令,当所述程序或指令在计算机上运行时,使得如权利要求1-15中任一项所述的方法被执行。 A computer-readable storage medium, characterized by including a program or instructions, which when the program or instructions are run on a computer, causes the method according to any one of claims 1 to 15 to be executed.
PCT/CN2023/075797 2022-03-25 2023-02-14 Positioning method and apparatus WO2023179241A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210307704.8 2022-03-25
CN202210307704 2022-03-25
CN202210768674.0A CN116847277A (en) 2022-03-25 2022-06-30 Positioning method and device
CN202210768674.0 2022-06-30

Publications (1)

Publication Number Publication Date
WO2023179241A1 true WO2023179241A1 (en) 2023-09-28

Family

ID=88099819

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/075797 WO2023179241A1 (en) 2022-03-25 2023-02-14 Positioning method and apparatus

Country Status (1)

Country Link
WO (1) WO2023179241A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111208742A (en) * 2020-03-02 2020-05-29 福建省万物智联科技有限公司 Positioning method based on topological network, scene construction method and system
CN111885108A (en) * 2020-06-18 2020-11-03 北京骑胜科技有限公司 Information reporting method and device, shared equipment and storage medium
CN112020116A (en) * 2019-05-30 2020-12-01 阿里巴巴集团控股有限公司 Positioning method, device, system and storage medium
WO2022048489A1 (en) * 2020-09-02 2022-03-10 华为技术有限公司 Ultra-wideband (uwb) positioning method for electronic device, and uwb terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020116A (en) * 2019-05-30 2020-12-01 阿里巴巴集团控股有限公司 Positioning method, device, system and storage medium
CN111208742A (en) * 2020-03-02 2020-05-29 福建省万物智联科技有限公司 Positioning method based on topological network, scene construction method and system
CN111885108A (en) * 2020-06-18 2020-11-03 北京骑胜科技有限公司 Information reporting method and device, shared equipment and storage medium
WO2022048489A1 (en) * 2020-09-02 2022-03-10 华为技术有限公司 Ultra-wideband (uwb) positioning method for electronic device, and uwb terminal device
CN114205884A (en) * 2020-09-02 2022-03-18 华为技术有限公司 Method for ultra-wideband positioning of electronic devices and ultra-wideband terminal device

Similar Documents

Publication Publication Date Title
Čabarkapa et al. Comparative analysis of the bluetooth low-energy indoor positioning systems
Zhou et al. Efficient localization for large-scale underwater sensor networks
Dahlgren et al. Evaluation of indoor positioning based on Bluetooth Smart technology
Shang et al. Improved MDS-based localization
JP2010507985A (en) Coordinated location in wireless networks
KR20170032304A (en) Method and apparatus for measuring location of device by using bluetooth low energy (le) technique
WO2021031714A1 (en) Relative angle-based positioning method and apparatus
US20120082039A1 (en) Methods and apparatus for providing directional information for peer discovery in peer-to-peer wireless networks
Chen et al. Smartphone-based indoor positioning technologies
US11729799B2 (en) Electronic device and method, performed by electronic device, of obtaining location information
WO2022160966A1 (en) Method for initializing newly added base station in uwb system, and terminal and system
Sadowski et al. Comparison of rssi-based indoor localization for smart buildings with internet of things
Park et al. The implementation of indoor location system to control ZigBee home network
GB2612429A (en) Environment mapping based on UWB tags
WO2023179241A1 (en) Positioning method and apparatus
CN116847277A (en) Positioning method and device
CN112799010B (en) Indoor positioning system and method
WO2023179396A1 (en) Positioning method and apparatus
Lami et al. SILS: A smart indoors localisation scheme based on on-the-go cooperative smartphones networks using onboard bluetooth, WiFi and GNSS
CN115767413A (en) Cooperative positioning method and device
Lingesh et al. Localization of Ultra Wide-Band Enabled Devices
US9894635B2 (en) Location configuration information
WO2023274056A1 (en) Positioning method and apparatus
CN113132894B (en) Positioning method and device, WLAN (Wireless local area network) equipment, computing equipment and storage medium
WO2021163983A1 (en) Electronic price tag positioning apparatus, system and method, and computer readable storage medium

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: 23773492

Country of ref document: EP

Kind code of ref document: A1