[go: up one dir, main page]

WO2025145265A1 - Uwb transmission method based on relay technology, electronic device and storage medium - Google Patents

Uwb transmission method based on relay technology, electronic device and storage medium Download PDF

Info

Publication number
WO2025145265A1
WO2025145265A1 PCT/CN2024/070028 CN2024070028W WO2025145265A1 WO 2025145265 A1 WO2025145265 A1 WO 2025145265A1 CN 2024070028 W CN2024070028 W CN 2024070028W WO 2025145265 A1 WO2025145265 A1 WO 2025145265A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission
uwb
master device
transmission path
slave device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/070028
Other languages
French (fr)
Chinese (zh)
Inventor
王丰硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Questyle Audio Technology Co Ltd
Original Assignee
Questyle Audio Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Questyle Audio Technology Co Ltd filed Critical Questyle Audio Technology Co Ltd
Priority to PCT/CN2024/070028 priority Critical patent/WO2025145265A1/en
Publication of WO2025145265A1 publication Critical patent/WO2025145265A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Definitions

  • the present application relates to the technical field of data transmission, and in particular to a UWB (Ultra Wide Band) transmission method, electronic device and storage medium based on relay technology.
  • UWB Ultra Wide Band
  • inter-device communication allows people to experience the convenience of wireless communication, but it also causes certain inconveniences.
  • One of the current key research and development directions in this field is inter-device communication based on UWB technology.
  • this communication method can achieve short-distance wireless high-speed data transmission, it also has the following defects: 1. Signal attenuation. The signal attenuation is serious during the transmission process, affecting the transmission quality and distance; 2. Interference problems. The transmission path is easily interfered by other wireless devices, affecting the reliability and quality of the transmission; 3. Unstable transmission. When transmitting over long distances and the signal is blocked, the signal attenuation and interference problems will be aggravated, making the transmission more unstable.
  • the present application provides a UWB transmission method, electronic device, and storage medium based on relay technology, which can improve signal attenuation and interference problems caused by long-distance transmission and signal blocking, and thereby improve the stability and quality of UWB transmission.
  • the present application provides a UWB transmission method based on relay technology, comprising:
  • a transmission path with the best channel quality is selected to perform transmission between the master device and the slave device.
  • determining a plurality of relay nodes between the master device and the slave device includes:
  • the master device scans and obtains a number of first nodes
  • obtaining the channel quality of each transmission path includes:
  • the devices including a master device, a slave device, and a relay node;
  • obtaining the channel quality of each transmission path includes:
  • the devices including a master device, a slave device, and a relay node;
  • the channel quality of each transmission path is determined according to the average value of the communication parameter.
  • obtaining the channel quality of each transmission path includes:
  • the channel quality of each transmission path is determined according to the average value of the angle differences.
  • the specific display form of the icons of the master device, slave device and each relay node can be determined according to the device type obtained by the master device based on the UWB internal protocol. For example, if the slave device is a speaker, it will be displayed as the icon corresponding to the speaker. If the slave device is a certain brand of vehicle, it will be displayed as the icon corresponding to the brand of vehicle. If a certain relay node is a certain brand of mobile phone, it will be displayed as the icon corresponding to the brand of mobile phone.
  • the user can intuitively obtain information such as the type of each relay node and slave device from the master device.
  • S3 Obtain the channel quality of each transmission path according to a preset period or in response to a preset event.
  • the preset event includes at least one of the following:
  • Event 1 The master device and the slave device do not receive each other's information within the preset time.
  • Event 2 Determine that a relay node between the master device and the slave device has changed.
  • the devices include a master device, a slave device, and a relay node.
  • the distance between adjacent devices includes: between the master device and the relay node, between the relay node and the slave device, and for a single transmission path including two relay nodes, also includes between relay nodes.
  • S312 Determine a transmission path in which the distance between any adjacent devices is within a preset threshold.
  • S313 For transmission paths where the distances between adjacent devices are within a preset threshold, obtain an average value of the communication parameters between the adjacent devices, and determine the channel quality of the transmission path accordingly.
  • the distance between adjacent devices is within the preset threshold, indicating that the transmission distance between adjacent devices is relatively close.
  • the attenuation of the UWB pulse signal is relatively small, and it has a strong anti-interference ability, which can meet the stability and quality requirements of UWB transmission.
  • the present application can determine the specific value of the preset threshold through sampling experiments.
  • S2 obtains three transmission paths, namely, transmission paths a, b, and c. If there are two adjacent devices in transmission path a whose distance is greater than a preset threshold, S33 is not executed for transmission path a.
  • the communication parameters include but are not limited to at least one of signal strength, transmission delay, and signal-to-noise ratio.
  • signal strength the larger the average value of signal strength between adjacent devices, the better the channel quality of the transmission path, and the better the stability and quality when performing UWB transmission.
  • transmission delay the larger the average value of transmission delay between adjacent devices, the worse the channel quality of the transmission path, and the worse the stability and quality when performing UWB transmission.
  • the directions of its UWB antennas are different, and the pulse signal of any UWB antenna in the direction of its own core pulse is the strongest.
  • the way in which a device determines the core pulse direction of each UWB antenna set by itself may include:
  • S is the core pulse direction
  • S 1 , S 2 , S 3 , S 4 respectively represent the angles corresponding to the horizontal direction, the vertical direction, the first bisecting direction and the second bisecting direction, for example, S 1 may be 180°, S 2 may be 90°, S 3 may be 45°, and S 4 may be 135°.
  • the angular difference between the core pulse directions of adjacent devices is then obtained.
  • S4 Select a transmission path with the best channel quality to perform transmission between the master device and the slave device.
  • the present application can also select a transmission path according to user operation to execute the master device and the slave device. Transmission between devices.
  • UWB transmission between a master device and a slave device is also called UWB interaction, including but not limited to: a mobile phone pushing audio or sending control commands to a master device such as a car, providing push and subscription services between two devices, etc.
  • the present application establishes several transmission paths between the master device and the slave device based on multiple relay nodes. Connections are established between adjacent relay nodes, between the master device and the corresponding relay nodes, and between the slave device and the corresponding relay nodes based on the UWB internal protocol. While realizing short-distance wireless high-speed data transmission based on UWB technology, the transmission distance between any two adjacent UWB devices is shortened through the relay nodes, thereby improving the signal attenuation and interference problems of UWB transmission, which is conducive to ensuring the transmission stability and quality over long distances and when the signal is blocked.
  • Multi-path relay enhancement Use multiple relay nodes set on the transmission path to expand the transmission range and enhance the stability of signal transmission. There can be one or more relay nodes between the transmission starting point (i.e., the master device) and the end point (i.e., the slave device) to form a reliable transmission link. The transmission range can also be extended through multiple relay nodes. If the signal of one relay node deteriorates, it can be switched to other relay nodes.
  • Adaptive signal processing By real-time analysis of signal parameters, such as the signal-to-noise ratio, the transmission power on the transmission path is dynamically adjusted to adapt to different transmission environments and conditions.
  • Self-organizing network Select the best transmission path according to the current transmission environment and network status. This can be achieved through information exchange and analysis between relay nodes, such as using indicators such as signal strength and transmission delay to select the transmission path, thereby ensuring the stability and continuity of the network.
  • An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein a UWB transmission program is stored in the memory, and when the UWB transmission program is executed by the processor, steps corresponding to the UWB transmission method based on relay technology in any of the above examples are implemented.
  • the electronic device can realize the role of the aforementioned master device, slave device or relay node, and the specific form of the electronic device is not limited by this application.
  • An embodiment of the present application further provides a storage medium having a computer program stored thereon.
  • the computer program is executed by a processor, the steps corresponding to the UWB transmission method based on relay technology as described in any example are implemented.
  • the storage medium may include: read-only memory (ROM), random access memory (RAM), disk or CD, etc.
  • the instructions stored in the storage medium can execute the steps in any one of the UWB transmission methods based on relay technology provided in the embodiments of the present invention
  • the beneficial effects that can be achieved by any one of the UWB transmission methods based on relay technology provided in the embodiments of the present invention can be achieved.
  • step codes such as S1, S2, etc., the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantial limitation on the order.
  • S2 When technical personnel in this field implement the specific steps, they may execute S2 first and then S1, etc., but these should all be within the scope of protection of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a UWB transmission method based on a relay technology, an electronic device and a storage medium. The method comprises: determining a plurality of relay nodes between a master device and a slave device; establishing a plurality of transmission paths between the master device and the slave device on the basis of the plurality of relay nodes, wherein on the basis of a UWB internal protocol, connections are established between adjacent relay nodes, between the master device and the corresponding relay node, and between the slave device and the corresponding relay node; acquiring the channel quality of each transmission path on the basis of a preset period or in response to a preset event; and selecting a transmission path with optimal channel quality to execute transmission between the master device and the slave device. According to the present application, the transmission distance between any two adjacent UWB devices is shortened by means of a relay node, so that the problems of signal attenuation and interference in UWB transmission can be ameliorated, helping to ensure the transmission stability and quality over long distances and when signals are obstructed.

Description

基于中继技术的UWB传输方法及电子设备、存储介质UWB transmission method based on relay technology, electronic device and storage medium 技术领域Technical Field

本申请涉及数据传输技术领域,具体涉及一种基于中继技术的UWB(Ultra Wide Band,超带宽)传输方法及电子设备、存储介质。The present application relates to the technical field of data transmission, and in particular to a UWB (Ultra Wide Band) transmission method, electronic device and storage medium based on relay technology.

背景技术Background Art

随着无线通信技术的发展,目前设备间(又称设备与设备之间,例如电脑之间、手机之间或者手机与电脑之间)可以通过局域网或者蓝牙等其他近场通信技术实现通信,又称设备间通信、设备间传输,设备间通信使人们体验到了无线通讯的便捷,但同时也会导致某些不便。当前本领域的重点研发方向之一是基于UWB技术的设备间通信,这种通信方式虽然可以实现短距离的无线高速数据传输,但是也会存在以下缺陷:1.信号衰减,传输过程中信号衰减严重,影响传输质量和距离;2.干扰问题,传输路径上容易受到其他无线设备的干扰,影响传输的可靠性和质量;3.传输不稳定,在长距离传输和信号被遮挡时会加重信号衰减和干扰问题,使得传输更加不稳定。With the development of wireless communication technology, communication between devices (also known as between devices, such as between computers, between mobile phones, or between mobile phones and computers) can be achieved through local area networks or other near-field communication technologies such as Bluetooth, also known as inter-device communication and inter-device transmission. Inter-device communication allows people to experience the convenience of wireless communication, but it also causes certain inconveniences. One of the current key research and development directions in this field is inter-device communication based on UWB technology. Although this communication method can achieve short-distance wireless high-speed data transmission, it also has the following defects: 1. Signal attenuation. The signal attenuation is serious during the transmission process, affecting the transmission quality and distance; 2. Interference problems. The transmission path is easily interfered by other wireless devices, affecting the reliability and quality of the transmission; 3. Unstable transmission. When transmitting over long distances and the signal is blocked, the signal attenuation and interference problems will be aggravated, making the transmission more unstable.

发明内容Summary of the invention

鉴于此,本申请提供一种基于中继技术的UWB传输方法及电子设备、存储介质,可以改善包括长距离传输和信号遮挡等导致的信号衰减和干扰问题,并以此改善UWB传输的稳定性和质量问题。In view of this, the present application provides a UWB transmission method, electronic device, and storage medium based on relay technology, which can improve signal attenuation and interference problems caused by long-distance transmission and signal blocking, and thereby improve the stability and quality of UWB transmission.

本申请提供的一种基于中继技术的UWB传输方法,包括:The present application provides a UWB transmission method based on relay technology, comprising:

确定主设备和从设备之间的多个中继节点;Determine multiple relay nodes between the master device and the slave device;

在所述主设备和从设备之间基于所述多个中继节点建立若干传输路径;其中,相邻中继节点之间、所述主设备与对应的中继节点之间、以及所述从设备与对应的中继节点之间,均基于UWB内部协议建立连接;Establishing a plurality of transmission paths between the master device and the slave device based on the plurality of relay nodes; wherein connections between adjacent relay nodes, between the master device and the corresponding relay node, and between the slave device and the corresponding relay node are all established based on the UWB internal protocol;

按照预设周期或者响应预设事件,获取各条传输路径的信道质量;Obtaining the channel quality of each transmission path according to a preset period or in response to a preset event;

选取信道质量最佳的传输路径执行所述主设备与所述从设备之间的传输。A transmission path with the best channel quality is selected to perform transmission between the master device and the slave device.

可选的,所述确定主设备和从设备之间的多个中继节点,包括:Optionally, determining a plurality of relay nodes between the master device and the slave device includes:

主设备扫描得到若干第一节点;The master device scans and obtains a number of first nodes;

从设备扫描得到若干第二节点;Scan from the device to obtain a number of second nodes;

主设备发出设有自身地址但未设有目的地址的一广播包; The master device sends a broadcast packet with its own address but no destination address;

基于UWB内部协议,各个第一节点接收到所述广播包后,在所述广播包内增加所述第一节点对应的唯一标识并发出;Based on the UWB internal protocol, after receiving the broadcast packet, each first node adds a unique identifier corresponding to the first node into the broadcast packet and sends it out;

从设备将自身地址加入接收到的广播包后发出;The slave device adds its own address to the received broadcast packet and sends it out;

基于UWB内部协议,各个第二节点接收到所述广播包后,在所述广播包内增加所述第二节点对应的唯一标识并发出;Based on the UWB internal protocol, after receiving the broadcast packet, each second node adds a unique identifier corresponding to the second node into the broadcast packet and sends it out;

主设备解析接收到的广播包并得到所述从设备的地址时,将所述广播包中具有相同唯一标识的第一节点和第二节点作为中继节点。When the master device parses the received broadcast packet and obtains the address of the slave device, the first node and the second node with the same unique identifier in the broadcast packet are used as relay nodes.

可选的,所述获取各条传输路径的信道质量,包括:Optionally, obtaining the channel quality of each transmission path includes:

确定各条传输路径中相邻设备之间的距离,所述设备包括主设备、从设备以及中继节点;Determining distances between adjacent devices in each transmission path, the devices including a master device, a slave device, and a relay node;

确定任意相邻设备之间的距离均位于预设阈值内的传输路径;Determine a transmission path where the distance between any adjacent devices is within a preset threshold;

对于相邻设备之间的距离均位于预设阈值内的传输路径,获取相邻设备之间的通信参数的平均值,并据此确定传输路径的信道质量;For a transmission path where the distances between adjacent devices are within a preset threshold, obtaining an average value of the communication parameters between the adjacent devices, and determining the channel quality of the transmission path accordingly;

可选的,所述获取各条传输路径的信道质量,包括:Optionally, obtaining the channel quality of each transmission path includes:

获取各条传输路径中相邻设备之间的通信参数的平均值,所述设备包括主设备、从设备以及中继节点;Obtaining an average value of communication parameters between adjacent devices in each transmission path, the devices including a master device, a slave device, and a relay node;

根据所述通信参数的平均值确定各条传输路径的信道质量。The channel quality of each transmission path is determined according to the average value of the communication parameter.

可选的,所述获取各条传输路径的信道质量,包括:Optionally, obtaining the channel quality of each transmission path includes:

获取各个设备的UWB天线的核心脉冲方向,所述设备包括主设备、从设备以及中继节点;Obtaining the core pulse direction of the UWB antenna of each device, the devices including a master device, a slave device and a relay node;

确定各条传输路径中相邻设备的核心脉冲方向的角度差的平均值;Determine the average of the angular differences of the core pulse directions of adjacent devices in each transmission path;

根据所述角度差的平均值确定各条传输路径的信道质量。The channel quality of each transmission path is determined according to the average value of the angle differences.

可选的,所述获取各个设备的UWB天线的核心脉冲方向,包括:Optionally, obtaining the core pulse direction of the UWB antenna of each device includes:

确定所述设备的UWB天线对应的参考面;Determining a reference plane corresponding to a UWB antenna of the device;

获取UWB天线在对应参考面上的脉冲波传输方向图;Obtain the pulse wave transmission pattern of the UWB antenna on the corresponding reference plane;

将所述脉冲波传输方向图划分为呈阵列排布的多个区域,并获取各个区域在多个方向上与相邻区域的信号强度差值;Dividing the pulse wave transmission pattern into a plurality of regions arranged in an array, and obtaining the signal strength difference between each region and an adjacent region in a plurality of directions;

将所述脉冲波传输方向图中所有区域在多个方向上的信号强度差值累加;Accumulating the signal strength differences of all regions in the pulse wave transmission pattern in multiple directions;

根据所述多个方向上的信号强度差值累加之和,对各个方向对应的夹角分别赋予对应的权重系数;According to the accumulated sum of the signal strength differences in the multiple directions, a corresponding weight coefficient is assigned to the angle corresponding to each direction;

将各个方向对应的夹角与对应的权重系数乘积之和作为核心脉冲方向。The sum of the products of the angles corresponding to each direction and the corresponding weight coefficients is taken as the core pulse direction.

可选的,所述多个方向包括水平方向、竖直方向、以及所述水平方向和竖 直方向之间的两个平分方向。Optionally, the multiple directions include a horizontal direction, a vertical direction, and the horizontal direction and the vertical direction. Two bisecting directions between the straight directions.

可选的,所述参考面包括如下至少一种:Optionally, the reference surface includes at least one of the following:

所述UWB天线的辐射单元所在平面;The plane where the radiation unit of the UWB antenna is located;

所述设备的中心和所述设备的UWB天线的中心所在的面。The plane where the center of the device and the center of the UWB antenna of the device are located.

可选的,所述预设事件包括如下至少一项:Optionally, the preset event includes at least one of the following:

主设备与从设备在预设时长内未接收到对方的信息;The master device and the slave device do not receive each other's information within the preset time;

确定主设备与从设备之间的中继节点发生变化;Determine that the relay node between the master device and the slave device changes;

主设备与从设备之间完成一次传输事件。A transfer event is completed between the master device and the slave device.

本申请提供的一种电子设备,包括存储器和处理器,所述存储器上存储有UWB传输程序,所述UWB传输程序被所述处理器执行时实现如上所述的基于中继技术的UWB传输方法的对应步骤。The present application provides an electronic device, including a memory and a processor, wherein a UWB transmission program is stored in the memory, and when the UWB transmission program is executed by the processor, corresponding steps of the UWB transmission method based on relay technology as described above are implemented.

本申请提供的一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时如上所述的基于中继技术的UWB传输方法的对应步骤。The present application provides a storage medium storing a computer program, which, when executed by a processor, performs the corresponding steps of the UWB transmission method based on relay technology as described above.

如上所述,本申请在主设备和从设备之间基于多个中继节点建立若干传输路径,相邻中继节点之间、主设备与对应的中继节点之间、以及从设备与对应的中继节点之间,均基于UWB内部协议建立连接,在基于UWB技术实现短距离无线高速数据传输的同时,通过中继节点相当于缩短了任意相邻两个UWB设备之间的传输距离,从而可以改善UWB传输的信号衰减和干扰问题,有利于确保长距离传输和信号被遮挡时的传输稳定性和质量。As described above, the present application establishes several transmission paths between the master device and the slave device based on multiple relay nodes. Connections are established between adjacent relay nodes, between the master device and the corresponding relay nodes, and between the slave device and the corresponding relay nodes based on the UWB internal protocol. While realizing short-distance wireless high-speed data transmission based on UWB technology, the transmission distance between any two adjacent UWB devices is shortened through the relay nodes, thereby improving the signal attenuation and interference problems of UWB transmission, which is conducive to ensuring the transmission stability and quality over long distances and when the signal is blocked.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请实施例提供的一种基于中继技术的UWB传输方法的流程示意图;FIG1 is a flow chart of a UWB transmission method based on relay technology provided in an embodiment of the present application;

图2是本申请实施例提供的一种传输路径的示意图;FIG2 is a schematic diagram of a transmission path provided in an embodiment of the present application;

图3是本申请实施例提供的另一种传输路径的示意图;FIG3 is a schematic diagram of another transmission path provided in an embodiment of the present application;

图4是本申请确定相邻中继节点的核心脉冲方向的角度差的示意图;FIG4 is a schematic diagram of the present application for determining the angular difference of the core pulse directions of adjacent relay nodes;

图5是本申请将脉冲波传输方向图划分为多个区域的示意图;FIG5 is a schematic diagram of dividing a pulse wave transmission pattern into multiple regions in the present application;

图6是本申请实施例提供的一种执行UWB传输的传输路径的示意图;FIG6 is a schematic diagram of a transmission path for performing UWB transmission provided in an embodiment of the present application;

图7是本申请实施例提供的另一种执行UWB传输的传输路径的示意图。FIG. 7 is a schematic diagram of another transmission path for performing UWB transmission provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了解决现有技术中存在的上述问题,本申请提供一种基于中继技术的 UWB传输方法及电子设备、存储介质。这几个保护主题基于同一构思,解决问题的原理基本相同或相似,各保护主题的实施方式可相互参阅,重复之处不予赘述。In order to solve the above problems existing in the prior art, the present application provides a UWB transmission method, electronic device, and storage medium. These several protected themes are based on the same concept, and the principles of solving the problems are basically the same or similar. The implementation methods of each protected theme can refer to each other, and the repeated parts will not be repeated.

为使本申请的目的、技术方案和优点更加清楚,下面将结合具体实施例及相应的附图,对本申请的技术方案进行清楚地描述。显然,下文所描述实施例仅是本申请的一部分实施例,而非全部的实施例。在不冲突的情况下,下述各个实施例及其技术特征可相互组合,且亦属于本申请的技术方案。In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly described below in conjunction with specific embodiments and corresponding drawings. Obviously, the embodiments described below are only part of the embodiments of the present application, not all of the embodiments. In the absence of conflict, the following embodiments and their technical features can be combined with each other and also belong to the technical solutions of the present application.

图1为本申请实施例提供的一种基于中继技术的UWB传输方法,在本文的某些之处可以简称为UWB传输方法或者方法。本申请适用的场景包括但不限于多设备组网、物联网等,以物联网为例,多个设备可以组建形成一个物联网系统,所包含的设备数量可以根据实际需求适应性而定。各个设备之间通过UWB技术进行传输,既可以包括一个设备直接仅与一个设备的通信行为,也可以包括一个设备直接与多个设备的通信行为,但无论哪种通信行为任意两个直接通信设备之间通过UWB内部协议建立连接以及传输。Figure 1 is a UWB transmission method based on relay technology provided by an embodiment of the present application, which may be referred to as a UWB transmission method or method in some places in this article. The applicable scenarios of the present application include but are not limited to multi-device networking, the Internet of Things, etc. Taking the Internet of Things as an example, multiple devices can be formed into an Internet of Things system, and the number of devices included can be determined according to the adaptability of actual needs. The transmission between each device is carried out through UWB technology, which can include the communication behavior of a device directly with only one device, or the communication behavior of a device directly with multiple devices. However, no matter which communication behavior, any two directly communicating devices establish a connection and transmission through the UWB internal protocol.

在执行不同业务时,同一设备的角色属性可以改变,即同一设备既可以作为主设备,也可以作为从设备,还可以作为中继节点。所谓主设备可理解为在某一业务中担任调配与管理的角色,可以由主设备决定进行本次业务的从设备,对应地,所谓从设备可理解为在本次通信传输业务中担任数据服从调配与被管理的角色,中继节点可理解为主设备和从设备之间传输的中转站。这些主设备和从设备可以通过扫描搜索来确定各个中继节点,以执行所述方法。When executing different services, the role attributes of the same device can be changed, that is, the same device can be used as a master device, a slave device, or a relay node. The so-called master device can be understood as a role of allocation and management in a certain service. The master device can determine the slave device that performs this service. Correspondingly, the so-called slave device can be understood as a role of data obedience allocation and management in this communication transmission service. The relay node can be understood as a transfer station for transmission between the master device and the slave device. These master devices and slave devices can determine each relay node by scanning and searching to execute the method.

本申请的UWB传输方法的执行主体可以为前述物联网系统中的任一设备(此时称为主设备),所述设备的具体表现形式包括但不限于如下至少一种:手机等智能终端;车机;具有UWB功能的通信装置或通信模组。The executor of the UWB transmission method of the present application can be any device in the aforementioned Internet of Things system (referred to as the main device in this case), and the specific form of the device includes but is not limited to at least one of the following: smart terminals such as mobile phones; vehicle computers; communication devices or communication modules with UWB functions.

请参阅图1,所述UWB传输方法至少包括如下S1至S4。Please refer to FIG. 1 , the UWB transmission method at least includes the following S1 to S4.

S1:确定主设备和从设备之间的多个中继节点。S1: Determine multiple relay nodes between the master device and the slave devices.

在一示例中,主设备基于UWB技术扫描得到若干第一节点,从设备基于UWB技术扫描得到若干第二节点;然后,主设备发出设有自身地址但未设有目的地址的一广播包,主设备的地址作为广播包的源地址,以使接收到该广播包的第一节点得知该广播包是由主设备发出的;接着,基于UWB内部协议,各个第一节点接收到广播包后,在广播包内增加第一节点对应的唯一标识并发出,即哪一个第一节点接收到广播包,就将该第一节点自身的唯一标识加入广播包内,例如加入广播包的有效载荷字段内,形成新的广播包并发出;该新的广播 包在其他第一节点之间传输,并最终传输给从设备,或者直接传输给从设备;从设备将自身地址加入接收到的广播包后,形成新的广播包并发出;基于UWB内部协议,各个第二节点接收到从设备发生的广播包后,在所述广播包内增加第二节点对应的唯一标识,并形成新的广播包并发出;该新的广播包在其他第二节点之间传输,并最终传输给主设备,或者直接传输给主设备;主设备解析接收到的广播包,并在解析得到从设备的地址时,将所述广播包中具有相同唯一标识的第一节点和第二节点作为中继节点。In one example, a master device obtains a number of first nodes based on a UWB technology scan, and a slave device obtains a number of second nodes based on a UWB technology scan; then, the master device sends a broadcast packet with its own address but without a destination address, and the address of the master device is used as the source address of the broadcast packet, so that the first nodes receiving the broadcast packet know that the broadcast packet is sent by the master device; then, based on the UWB internal protocol, after receiving the broadcast packet, each first node adds a unique identifier corresponding to the first node to the broadcast packet and sends it out, that is, whichever first node receives the broadcast packet adds the unique identifier of the first node itself to the broadcast packet, for example, adds it to the payload field of the broadcast packet, to form a new broadcast packet and send it out; the new broadcast packet The packet is transmitted between other first nodes and eventually transmitted to the slave device, or directly transmitted to the slave device; the slave device adds its own address to the received broadcast packet, forms a new broadcast packet and sends it out; based on the UWB internal protocol, after each second node receives the broadcast packet generated by the slave device, it adds the unique identifier corresponding to the second node to the broadcast packet, forms a new broadcast packet and sends it out; the new broadcast packet is transmitted between other second nodes and eventually transmitted to the master device, or directly transmitted to the master device; the master device parses the received broadcast packet, and when the address of the slave device is obtained through parsing, the first node and the second node with the same unique identifier in the broadcast packet are used as relay nodes.

也就是说,在主设备接收到广播包中,将既转发了主设备发出的广播包、又转发了从设备发出的广播包的节点,作为中继节点。That is to say, among the broadcast packets received by the master device, the node that forwards both the broadcast packets sent by the master device and the broadcast packets sent by the slave device is regarded as a relay node.

于此,在每次确定主设备和从设备后,本示例可以根据组网的设备实时且自动确定中继节点,无需预先设定中继节点,更契合实际场景需求。例如,一旦发生组网的设备发生变动,包括但不限于增加、减少、设备的信号强度发生变化,主设备和从设备可以自动确定中继节点,无需人为介入。Here, after determining the master device and the slave device each time, this example can automatically determine the relay node in real time according to the networked devices, without the need to pre-set the relay node, which is more in line with the actual scenario requirements. For example, once the networked devices change, including but not limited to increase, decrease, and changes in the signal strength of the device, the master device and the slave device can automatically determine the relay node without human intervention.

所述唯一标识可以为各个设备的生产厂商写入的固定身份标识,也可以是在组网时由管理方同一分配的唯一标识,于此在不同的组网环境或者执行不同的传输事件时,同一节点的唯一标识是动态变化的。The unique identifier can be a fixed identity identifier written by the manufacturer of each device, or it can be a unique identifier uniformly assigned by the management party when networking. In this way, the unique identifier of the same node changes dynamically in different networking environments or when performing different transmission events.

在其他示例中,例如对于组网的所有设备(包括主设备和从设备),任意两个设备之间的距离均位于基于UWB技术的最大传输距离范围内,又例如组网中除主设备和从设备之外的其他设备均位于主设备的基于UWB技术的最大传输距离范围内、也位于从设备的基于UWB技术的最大传输距离范围内,本申请可以将所述其他设备直接作为中继节点。In other examples, for example, for all devices in the network (including master devices and slave devices), the distance between any two devices is within the maximum transmission distance based on UWB technology. For example, other devices in the network except the master device and the slave device are within the maximum transmission distance of the master device based on UWB technology and also within the maximum transmission distance of the slave device based on UWB technology. The present application may directly use the other devices as relay nodes.

中继节点是组网中可以与主设备或从设备建立连接的设备,但中继节点并不必须是可以处理主设备与从设备之间传输的数据的设备,例如,主设备和从设备之间传输的是加密后的保密数据,则各个中继节点只负责传输,而无法在中继传输时解密该保密数据,从而可以提高传输安全性;又例如,主设备和从设备之间传输的是视频类数据,而中继节点只是具有收发功能的设备,在实现本申请的中继作用的基础上,不能播放该视频数据。A relay node is a device in a network that can establish a connection with a master device or a slave device, but a relay node is not necessarily a device that can process data transmitted between the master device and the slave device. For example, if the data transmitted between the master device and the slave device is encrypted confidential data, each relay node is only responsible for transmission and cannot decrypt the confidential data during relay transmission, thereby improving transmission security. For another example, if video data is transmitted between the master device and the slave device, and the relay node is only a device with sending and receiving functions, it cannot play the video data on the basis of realizing the relay function of the present application.

应理解,本申请还可以根据其他方式确定主设备和从设备之间的中继节点,上述方式仅为示例性描述。并且,本申请对于任一技术特征可以通过两种或者两种以上的方式实现的,在不冲突的情况下可以相互结合。It should be understood that the present application may also determine the relay node between the master device and the slave device according to other methods, and the above methods are only exemplary descriptions. In addition, the present application may implement any technical feature in two or more ways, which may be combined with each other without conflict.

S2:在主设备和从设备之间基于多个中继节点建立若干传输路径;其中,相邻中继节点之间、主设备与对应的中继节点之间、以及从设备与对应的中继 节点之间,均基于UWB内部协议建立连接。S2: Establishing several transmission paths between the master device and the slave device based on multiple relay nodes; wherein, between adjacent relay nodes, between the master device and the corresponding relay node, and between the slave device and the corresponding relay node. Connections between nodes are established based on the UWB internal protocol.

任一条传输路径至少包括一个中继节点,执行中继传输,单条传输路径设置的中继节点的数量可以根据实际需求而定。并且,在任一条传输路径中,单个中继节点最多连接两个中继节点,一个作为接收方、另一个作为发送方,最少仅连接一个中继节点,且在仅连接一个中继节点时,该中继节点还与主设备或者从设备连接。以图2所示为例,组网中共有四个中继节点,主设备和从设备之间设置有三条传输路径,第一条传输路径包括主设备、中继节点1和从设备,第二条传输路径包括主设备、中继节点2和从设备,第三条传输路径包括主设备、中继节点3、中继节点4和从设备。以图3所示为例,组网中共有五个中继节点,主设备和从设备之间设置有三条传输路径,第一条传输路径包括主设备、中继节点1和从设备,第二条传输路径包括主设备、中继节点2和从设备,第三条传输路径包括主设备、中继节点3、中继节点4、中继节点5和从设备,其中,中继节点4连接两个中继节点,中继节点3可作为中继节点4的发送方,中继节点5可作为中继节点4的接收方。Any transmission path includes at least one relay node to perform relay transmission, and the number of relay nodes set for a single transmission path can be determined according to actual needs. In addition, in any transmission path, a single relay node is connected to at most two relay nodes, one as a receiver and the other as a sender, and at least only one relay node is connected, and when only one relay node is connected, the relay node is also connected to the master device or the slave device. Taking Figure 2 as an example, there are four relay nodes in the network, and three transmission paths are set between the master device and the slave device. The first transmission path includes the master device, relay node 1 and the slave device, the second transmission path includes the master device, relay node 2 and the slave device, and the third transmission path includes the master device, relay node 3, relay node 4 and the slave device. Taking Figure 3 as an example, there are five relay nodes in the network, and three transmission paths are set between the master device and the slave device. The first transmission path includes the master device, relay node 1 and the slave device, the second transmission path includes the master device, relay node 2 and the slave device, and the third transmission path includes the master device, relay node 3, relay node 4, relay node 5 and the slave device, wherein relay node 4 connects two relay nodes, relay node 3 can be used as the sender of relay node 4, and relay node 5 can be used as the receiver of relay node 4.

鉴于UWB技术可以实现定位,可选的,所述方法还包括:在主设备上,显示各个中继节点、从设备与主设备的相对位置,以及对应的传输路径。传输路径可以通过如图2和图3所示的箭头线标识。In view of the fact that UWB technology can realize positioning, optionally, the method further includes: displaying the relative positions of each relay node, slave device and master device, and the corresponding transmission path on the master device. The transmission path can be marked by arrow lines as shown in Figures 2 and 3.

主设备、从设备以及各个中继节点的图标,具体表现形式可以根据主设备基于UWB内部协议得到的设备类型而定,例如从设备为音响,则显示为音响对应的图标,从设备为某一品牌的车辆,则显示为该品牌车辆对应的图标,某一中继节点为某一品牌的手机,则显示为该品牌手机对应的图标,于此用户可以从主设备上直观获知各个中继节点及从设备的类型等信息。The specific display form of the icons of the master device, slave device and each relay node can be determined according to the device type obtained by the master device based on the UWB internal protocol. For example, if the slave device is a speaker, it will be displayed as the icon corresponding to the speaker. If the slave device is a certain brand of vehicle, it will be displayed as the icon corresponding to the brand of vehicle. If a certain relay node is a certain brand of mobile phone, it will be displayed as the icon corresponding to the brand of mobile phone. Here, the user can intuitively obtain information such as the type of each relay node and slave device from the master device.

S3:按照预设周期或者响应预设事件,获取各条传输路径的信道质量。S3: Obtain the channel quality of each transmission path according to a preset period or in response to a preset event.

所述预设事件包括如下至少一项:The preset event includes at least one of the following:

事件1、主设备与从设备在预设时长内未接收到对方的信息。Event 1: The master device and the slave device do not receive each other's information within the preset time.

事件2、确定主设备与从设备之间的中继节点发生变化。Event 2: Determine that a relay node between the master device and the slave device has changed.

事件3、主设备与从设备之间完成一次传输事件。Event 3: A transmission event is completed between the master device and the slave device.

在一示例中,获取各条传输路径的信道质量,包括如下S311至S313。In one example, obtaining the channel quality of each transmission path includes the following S311 to S313.

S311:确定各条传输路径中相邻设备之间的距离。所述设备包括主设备、从设备以及中继节点,于此,相邻设备之间包括:主设备与中继节点之间、中继节点与从设备之间,对于包括两个中继节点的单条传输路径,还包括中继节点与中继节点之间。 S311: Determine the distance between adjacent devices in each transmission path. The devices include a master device, a slave device, and a relay node. Here, the distance between adjacent devices includes: between the master device and the relay node, between the relay node and the slave device, and for a single transmission path including two relay nodes, also includes between relay nodes.

S312:确定任意相邻设备之间的距离均位于预设阈值内的传输路径。S312: Determine a transmission path in which the distance between any adjacent devices is within a preset threshold.

S313:对于相邻设备之间的距离均位于预设阈值内的传输路径,获取相邻设备之间的通信参数的平均值,并据此确定传输路径的信道质量。S313: For transmission paths where the distances between adjacent devices are within a preset threshold, obtain an average value of the communication parameters between the adjacent devices, and determine the channel quality of the transmission path accordingly.

相邻设备(即直接连接的两个设备)之间的距离均位于预设阈值内,表示相邻设备之间的传输距离较近,在该预设阈值内UWB脉冲信号的衰减较小、具有较强的抗干扰能力,能够满足UWB传输的稳定性和质量需求。本申请可以通过采样实验确定预设阈值的具体取值。The distance between adjacent devices (i.e., two directly connected devices) is within the preset threshold, indicating that the transmission distance between adjacent devices is relatively close. Within the preset threshold, the attenuation of the UWB pulse signal is relatively small, and it has a strong anti-interference ability, which can meet the stability and quality requirements of UWB transmission. The present application can determine the specific value of the preset threshold through sampling experiments.

例如,S2得到传输路径a、b、c这三条传输路径,如果传输路径a中存在距离大于预设阈值的相邻两个设备,则不对传输路径a执行S33。For example, S2 obtains three transmission paths, namely, transmission paths a, b, and c. If there are two adjacent devices in transmission path a whose distance is greater than a preset threshold, S33 is not executed for transmission path a.

所述通信参数包括但不限于信号强度、传输延迟、信噪比中的至少一项。以信号强度为例,相邻设备之间的信号强度的平均值越大,表示该条传输路径的信道质量越好,其执行UWB传输时的稳定性和质量越好。以传输延迟为例,相邻设备之间的传输延迟的平均值越大,表示该条传输路径的信道质量越差,其执行UWB传输时的稳定性和质量越差。The communication parameters include but are not limited to at least one of signal strength, transmission delay, and signal-to-noise ratio. Taking signal strength as an example, the larger the average value of signal strength between adjacent devices, the better the channel quality of the transmission path, and the better the stability and quality when performing UWB transmission. Taking transmission delay as an example, the larger the average value of transmission delay between adjacent devices, the worse the channel quality of the transmission path, and the worse the stability and quality when performing UWB transmission.

在另一示例中,可以直接获取各条传输路径中相邻设备之间的通信参数的平均值,并根据通信参数的平均值确定各条传输路径的信道质量。即,无需将相邻设备之间的距离用于确定传输路径的信道质量。In another example, the average value of the communication parameters between adjacent devices in each transmission path can be directly obtained, and the channel quality of each transmission path can be determined based on the average value of the communication parameters. That is, there is no need to use the distance between adjacent devices to determine the channel quality of the transmission path.

在又一示例中,获取各条传输路径的信道质量,包括如下S321至S323。In yet another example, the channel quality of each transmission path is obtained, including the following S321 to S323.

S321:获取各个设备的UWB天线的核心脉冲方向。S321: Obtain the core pulse direction of the UWB antenna of each device.

S322:确定各条传输路径中相邻设备的核心脉冲方向的角度差的平均值。相邻设备的核心脉冲方向的角度差,指的是:相邻两个设备的位于相邻侧的两个最相近的UWB天线的核心脉冲方向的角度差。如图4所示,中继节点A的UWB天线2和中继节点B的UWB天线5相邻,所述S322需要确定UWB天线2和UWB天线5的核心脉冲方向的角度差α。S322: Determine the average value of the angular difference of the core pulse direction of adjacent devices in each transmission path. The angular difference of the core pulse direction of adjacent devices refers to: the angular difference of the core pulse direction of the two closest UWB antennas located on the adjacent sides of two adjacent devices. As shown in Figure 4, the UWB antenna 2 of relay node A and the UWB antenna 5 of relay node B are adjacent, and S322 needs to determine the angular difference α of the core pulse direction of UWB antenna 2 and UWB antenna 5.

S323:根据角度差的平均值确定各条传输路径的信道质量。S323: Determine the channel quality of each transmission path according to the average value of the angle difference.

其中,对于任一设备,其各个UWB天线的朝向不同,任一UWB天线在自身核心脉冲方向上的脉冲信号最强。Among them, for any device, the directions of its UWB antennas are different, and the pulse signal of any UWB antenna in the direction of its own core pulse is the strongest.

本申请的UWB内部协议除了实现前述的各个示例外,还可以确定各个设备的各个UWB天线的核心脉冲方向,但不限于此。In addition to implementing the aforementioned examples, the UWB internal protocol of the present application can also determine the core pulse direction of each UWB antenna of each device, but is not limited thereto.

鉴于UWB技术是基于短脉冲信号来实现数据传输,短脉冲信号在不同方向上的传输强度是有所差异的,在一示例中,设备确定自身设置的各个UWB天线的核心脉冲方向的方式,可以包括: Since UWB technology is based on short pulse signals to achieve data transmission, the transmission strength of short pulse signals in different directions is different. In one example, the way in which a device determines the core pulse direction of each UWB antenna set by itself may include:

首先,确定设备的各个UWB天线的参考面,该参考面可以是UWB天线的辐射单元所在平面、平行于UWB天线的辐射单元所在平面、以及设备的中心和其UWB天线的中心所在平面中的至少一项;以图4所示的中继节点A为例,对于UWB天线2,中继节点A的中心和其UWB天线2的中心所在的面即为UWB天线2的参考面;各个UWB天线对应的核心脉冲方向会随着设备的方位改变而变化;然后,获取各个UWB天线在对应所述参考面上的脉冲波传输方向图,例如可以通过仿真测试获取对应类型的UWB天线在实际环境中的脉冲波传输方向图,仿真测试获取的是3D形式的脉冲波传输方向图,然后获取在其参考面上的脉冲波传输方向,并以此形成脉冲波传输方向图;接着,将脉冲波传输方向图划分为呈阵列排布的多个区域,例如图5所示的多个矩形区域,并获取各个区域在多个方向上与相邻区域的信号强度差值;将脉冲波传输方向图中所有区域在多个方向上的信号强度差值累加,并得到累加之和;接着,根据多个方向上的信号强度差值累加之和,对各个方向对应的夹角分别赋予对应的权重系数;最后,将各个方向对应的夹角与对应的权重系数乘积之和作为核心脉冲方向。First, determine the reference plane of each UWB antenna of the device, which reference plane can be at least one of the plane where the radiation unit of the UWB antenna is located, the plane where the radiation unit is parallel to the UWB antenna, and the plane where the center of the device and the center of its UWB antenna are located; taking the relay node A shown in Figure 4 as an example, for UWB antenna 2, the plane where the center of relay node A and the center of its UWB antenna 2 are located is the reference plane of UWB antenna 2; the core pulse direction corresponding to each UWB antenna will change as the orientation of the device changes; then, obtain the pulse wave transmission direction diagram of each UWB antenna on the corresponding reference plane, for example, the pulse wave transmission direction diagram of the corresponding type of UWB antenna in the actual environment can be obtained through simulation test The simulation test obtains the pulse wave transmission pattern in 3D form, and then obtains the pulse wave transmission direction on its reference plane, and forms the pulse wave transmission pattern accordingly; then, the pulse wave transmission pattern is divided into a plurality of areas arranged in an array, such as the plurality of rectangular areas shown in FIG5 , and the signal strength difference between each area and the adjacent area in a plurality of directions is obtained; the signal strength differences of all areas in the pulse wave transmission pattern in a plurality of directions are added up, and the accumulated sum is obtained; then, according to the accumulated sum of the signal strength differences in a plurality of directions, the corresponding weight coefficients are respectively assigned to the angles corresponding to the respective directions; finally, the sum of the products of the angles corresponding to the respective directions and the corresponding weight coefficients is taken as the core pulse direction.

结合图5所示,以单个UWB天线的脉冲波传输方向图为矩形,以及多个方向包括水平方向、竖直方向、以及水平方向和竖直方向之间的两个平分方向(分别成为第一平分方向和第二平分方向)为例,在水平方向上的信号强度差值累加之和为M1,在竖直方向上的信号强度差值累加之和为M2,在第一平分方向上的信号强度差值累加之和为M3,在第二平分方向上的信号强度差值累加之和为M4,根据信号强度差值累加之和M1、M2、M3、M4的比例,来计算对应的权重系数k1、k2、k3、k4,且k1+k2+k3+k4=1;所述水平方向、竖直方向、第一平分方向和第二平分方向对应的夹角与对应的权重系数乘积之和S,即S=k1*S1+k2*S2+k3*S3+k4*S4,S作为所述核心脉冲方向,S1、S2、S3、S4分别表示水平方向、竖直方向、第一平分方向和第二平分方向分别对应的夹角,例如S1可以为180°,S2可以为90°,S3可以为45°,S4可以为135°。As shown in FIG5 , taking the case where the pulse wave transmission pattern of a single UWB antenna is a rectangle, and multiple directions include a horizontal direction, a vertical direction, and two bisecting directions between the horizontal direction and the vertical direction (respectively referred to as a first bisecting direction and a second bisecting direction) as an example, the cumulative sum of the signal strength differences in the horizontal direction is M 1 , the cumulative sum of the signal strength differences in the vertical direction is M 2 , the cumulative sum of the signal strength differences in the first bisecting direction is M 3 , and the cumulative sum of the signal strength differences in the second bisecting direction is M 4 . According to the ratio of the cumulative sums of the signal strength differences M 1 , M 2 , M 3 , and M 4 , the corresponding weight coefficients k 1 , k 2 , k 3 , and k 4 are calculated, and k 1 +k 2 +k 3 +k 4 =1; the sum S of the products of the angles corresponding to the horizontal direction, the vertical direction, the first bisecting direction, and the second bisecting direction and the corresponding weight coefficients is S=k 1 *S 1 +k 2 *S 2 +k 3 *S 3 +k 4 *S 4 , S is the core pulse direction, S 1 , S 2 , S 3 , S 4 respectively represent the angles corresponding to the horizontal direction, the vertical direction, the first bisecting direction and the second bisecting direction, for example, S 1 may be 180°, S 2 may be 90°, S 3 may be 45°, and S 4 may be 135°.

然后得到相邻设备的核心脉冲方向的角度差。The angular difference between the core pulse directions of adjacent devices is then obtained.

对于任一条传输路径,相邻设备的核心脉冲方向的角度差的平均值越小,表示相邻设备之间的信号强度越强,该条传输路径的信道质量越好,其执行UWB传输时的稳定性和质量越好。For any transmission path, the smaller the average value of the angle difference between the core pulse directions of adjacent devices is, the stronger the signal strength between the adjacent devices is, the better the channel quality of the transmission path is, and the better the stability and quality of the UWB transmission is.

S4:选取信道质量最佳的传输路径执行主设备与从设备之间的传输。S4: Select a transmission path with the best channel quality to perform transmission between the master device and the slave device.

应理解,本申请也可以根据用户操作选定传输路径,来执行主设备与从设 备之间的传输。It should be understood that the present application can also select a transmission path according to user operation to execute the master device and the slave device. Transmission between devices.

请一并参阅图2和图6所示,选取具有中继节点1的第一条传输路径执行主设备与从设备之间的传输。图中以实线箭头表示当前已确定的用于UWB传输的传输路径。一并参阅图2、图6和图7所示,当发生例如预设事件时,选取具有中继节点3和中继节点4的第三条传输路径执行UWB传输。Please refer to Figures 2 and 6 together, the first transmission path with relay node 1 is selected to perform transmission between the master device and the slave device. The solid arrow in the figure represents the currently determined transmission path for UWB transmission. Please refer to Figures 2, 6 and 7 together, when a preset event occurs, for example, the third transmission path with relay nodes 3 and 4 is selected to perform UWB transmission.

主设备与从设备之间的UWB传输也称为UWB交互,包括但不限于:手机给汽车等主控设备推送音频或者发控制命令、两台设备之间提供推送和订阅服务等中的至少一项。UWB transmission between a master device and a slave device is also called UWB interaction, including but not limited to: a mobile phone pushing audio or sending control commands to a master device such as a car, providing push and subscription services between two devices, etc.

基于上述,本申请在主设备和从设备之间基于多个中继节点建立若干传输路径,相邻中继节点之间、主设备与对应的中继节点之间、以及从设备与对应的中继节点之间,均基于UWB内部协议建立连接,在基于UWB技术实现短距离无线高速数据传输的同时,通过中继节点相当于缩短了任意相邻两个UWB设备之间的传输距离,从而可以改善UWB传输的信号衰减和干扰问题,有利于确保长距离传输和信号被遮挡时的传输稳定性和质量。Based on the above, the present application establishes several transmission paths between the master device and the slave device based on multiple relay nodes. Connections are established between adjacent relay nodes, between the master device and the corresponding relay nodes, and between the slave device and the corresponding relay nodes based on the UWB internal protocol. While realizing short-distance wireless high-speed data transmission based on UWB technology, the transmission distance between any two adjacent UWB devices is shortened through the relay nodes, thereby improving the signal attenuation and interference problems of UWB transmission, which is conducive to ensuring the transmission stability and quality over long distances and when the signal is blocked.

另外,本申请还可以具有如下有益效果:In addition, the present application may also have the following beneficial effects:

1.多路径中继增强:使用多个设置在传输路径上的中继节点,扩展传输范围并增强信号传输的稳定性。传输起点(即主设备)和终点(即从设备)之间可以有一个或多个中继节点,形成一个可靠的传输链路,还可以通过多个中继节点扩展传输范围。其中一个中继节点的信号变差可以切换到其他中继节点。1. Multi-path relay enhancement: Use multiple relay nodes set on the transmission path to expand the transmission range and enhance the stability of signal transmission. There can be one or more relay nodes between the transmission starting point (i.e., the master device) and the end point (i.e., the slave device) to form a reliable transmission link. The transmission range can also be extended through multiple relay nodes. If the signal of one relay node deteriorates, it can be switched to other relay nodes.

2.自适应信号处理:通过实时分析信号参数,例如信号的信噪比等,动态调整传输路径上的发射功率,适应不同的传输环境和条件。2. Adaptive signal processing: By real-time analysis of signal parameters, such as the signal-to-noise ratio, the transmission power on the transmission path is dynamically adjusted to adapt to different transmission environments and conditions.

3.强化防干扰能力:通过分析信号的频谱信息,判断干扰类型,然后调整例如各个中继节点的滤波器参数来消除干扰,保证传输的稳定性和高质量。同时也能通过冗余的中继节点,切换不同的传输路径以避开干扰。3. Enhanced anti-interference capability: By analyzing the signal spectrum information, determining the interference type, and then adjusting the filter parameters of each relay node to eliminate interference, ensuring the stability and high quality of transmission. At the same time, it can also switch different transmission paths through redundant relay nodes to avoid interference.

4.自组织网络:根据当前传输环境和网络状态选择最佳的传输路径。这可以通过中继节点之间的信息交换和分析来实现,例如利用信号强度、传输延迟等指标进行传输路径的选择,以此确保网络的稳定性和连续性。4. Self-organizing network: Select the best transmission path according to the current transmission environment and network status. This can be achieved through information exchange and analysis between relay nodes, such as using indicators such as signal strength and transmission delay to select the transmission path, thereby ensuring the stability and continuity of the network.

本申请实施例还提供一种电子设备,包括存储器和处理器,所述存储器上存储有UWB传输程序,所述UWB传输程序被处理器执行时实现如上任一示例的基于中继技术的UWB传输方法对应的步骤。 An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein a UWB transmission program is stored in the memory, and when the UWB transmission program is executed by the processor, steps corresponding to the UWB transmission method based on relay technology in any of the above examples are implemented.

该电子设备可以实现前述主设备或者从设备或者中继节点的角色,且电子设备的具体表现形式,本申请不予以限定。The electronic device can realize the role of the aforementioned master device, slave device or relay node, and the specific form of the electronic device is not limited by this application.

本申请实施例还提供一种存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如任一示例所述的基于中继技术的UWB传输方法对应的步骤。An embodiment of the present application further provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps corresponding to the UWB transmission method based on relay technology as described in any example are implemented.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Among them, the storage medium may include: read-only memory (ROM), random access memory (RAM), disk or CD, etc.

由于该存储介质中所存储的指令,可以执行本发明实施例所提供的任一种基于中继技术的UWB传输方法中的步骤,因此,可以实现本发明实施例所提供的任一种基于中继技术的UWB传输方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps in any one of the UWB transmission methods based on relay technology provided in the embodiments of the present invention, the beneficial effects that can be achieved by any one of the UWB transmission methods based on relay technology provided in the embodiments of the present invention can be achieved. For details, please refer to the previous embodiments and will not be repeated here.

以上所述仅为本申请的部分实施例,并非因此限制本申请的专利范围,对于本领域普通技术人员而言,凡是利用本说明书及附图内容所作的等效结构变换,均同理包括在本申请的专利保护范围内。The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. For ordinary technicians in this field, all equivalent structural changes made using the contents of this specification and drawings are also included in the patent protection scope of the present application.

本文采用了诸如S1、S2等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S2后执行S1等,但这些均应在本申请的保护范围之内。This document uses step codes such as S1, S2, etc., the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantial limitation on the order. When technical personnel in this field implement the specific steps, they may execute S2 first and then S1, etc., but these should all be within the scope of protection of this application.

尽管本文采用术语“第一、第二”等描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。另外,单数形式“一”、“一个”和“该”旨在也包括复数形式。术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。 Although the terms "first, second", etc. are used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. In addition, the singular forms "one", "an", and "the" are intended to include plural forms as well. The terms "or" and "and/or" are interpreted as inclusive, or mean any one or any combination. Only when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way, an exception to this definition will occur.

Claims (10)

一种基于中继技术的UWB传输方法,其特征在于,包括:A UWB transmission method based on relay technology, characterized by comprising: 确定主设备和从设备之间的多个中继节点;Determine multiple relay nodes between the master device and the slave device; 在所述主设备和从设备之间基于所述多个中继节点建立若干传输路径;其中,相邻中继节点之间、所述主设备与对应的中继节点之间、以及所述从设备与对应的中继节点之间,均基于UWB内部协议建立连接;Establishing a plurality of transmission paths between the master device and the slave device based on the plurality of relay nodes; wherein connections between adjacent relay nodes, between the master device and the corresponding relay node, and between the slave device and the corresponding relay node are all established based on the UWB internal protocol; 按照预设周期或者响应预设事件,获取各条传输路径的信道质量;Obtaining the channel quality of each transmission path according to a preset period or in response to a preset event; 选取信道质量最佳的传输路径执行所述主设备与所述从设备之间的传输。A transmission path with the best channel quality is selected to perform transmission between the master device and the slave device. 根据权利要求1所述的方法,其特征在于,所述确定主设备和从设备之间的多个中继节点,包括:The method according to claim 1, characterized in that the step of determining a plurality of relay nodes between the master device and the slave device comprises: 主设备扫描得到若干第一节点;The master device scans and obtains a number of first nodes; 从设备扫描得到若干第二节点;Scan from the device to obtain a number of second nodes; 主设备发出设有自身地址但未设有目的地址的一广播包;The master device sends a broadcast packet with its own address but no destination address; 基于UWB内部协议,各个第一节点接收到所述广播包后,在所述广播包内增加所述第一节点对应的唯一标识并发出;Based on the UWB internal protocol, after receiving the broadcast packet, each first node adds a unique identifier corresponding to the first node into the broadcast packet and sends it out; 从设备将自身地址加入接收到的广播包后发出;The slave device adds its own address to the received broadcast packet and sends it out; 基于UWB内部协议,各个第二节点接收到所述广播包后,在所述广播包内增加所述第二节点对应的唯一标识并发出;Based on the UWB internal protocol, after receiving the broadcast packet, each second node adds a unique identifier corresponding to the second node into the broadcast packet and sends it out; 主设备解析接收到的广播包并得到所述从设备的地址时,将所述广播包中具有相同唯一标识的第一节点和第二节点作为中继节点。When the master device parses the received broadcast packet and obtains the address of the slave device, the first node and the second node with the same unique identifier in the broadcast packet are used as relay nodes. 根据权利要求1或2所述的方法,其特征在于,The method according to claim 1 or 2, characterized in that 所述获取各条传输路径的信道质量,包括:The obtaining of the channel quality of each transmission path includes: 确定各条传输路径中相邻设备之间的距离,所述设备包括主设备、从设备以及中继节点;Determining the distance between adjacent devices in each transmission path, the devices including a master device, a slave device and a relay node; 确定任意相邻设备之间的距离均位于预设阈值内的传输路径;Determine a transmission path where the distance between any adjacent devices is within a preset threshold; 对于相邻设备之间的距离均位于预设阈值内的传输路径,获取相邻设备之间的通信参数的平均值,并据此确定传输路径的信道质量;For a transmission path where the distances between adjacent devices are within a preset threshold, obtaining an average value of the communication parameters between the adjacent devices, and determining the channel quality of the transmission path accordingly; 或者,or, 所述获取各条传输路径的信道质量,包括:The obtaining of the channel quality of each transmission path includes: 获取各条传输路径中相邻设备之间的通信参数的平均值,所述设备包括主设备、从设备以及中继节点; Obtaining an average value of communication parameters between adjacent devices in each transmission path, the devices including a master device, a slave device, and a relay node; 根据所述通信参数的平均值确定各条传输路径的信道质量。The channel quality of each transmission path is determined according to the average value of the communication parameter. 根据权利要求1或2所述的方法,其特征在于,所述获取各条传输路径的信道质量,包括:The method according to claim 1 or 2, characterized in that the obtaining of the channel quality of each transmission path comprises: 获取各个设备的UWB天线的核心脉冲方向,所述设备包括主设备、从设备以及中继节点;Obtaining the core pulse direction of the UWB antenna of each device, the devices including a master device, a slave device and a relay node; 确定各条传输路径中相邻设备的核心脉冲方向的角度差的平均值;Determine the average of the angular differences of the core pulse directions of adjacent devices in each transmission path; 根据所述角度差的平均值确定各条传输路径的信道质量。The channel quality of each transmission path is determined according to the average value of the angle differences. 根据权利要求4所述的方法,其特征在于,所述获取各个设备的UWB天线的核心脉冲方向,包括:The method according to claim 4, characterized in that the obtaining of the core pulse direction of the UWB antenna of each device comprises: 确定所述设备的UWB天线对应的参考面;Determining a reference plane corresponding to a UWB antenna of the device; 获取UWB天线在对应参考面上的脉冲波传输方向图;Obtain the pulse wave transmission pattern of the UWB antenna on the corresponding reference plane; 将所述脉冲波传输方向图划分为呈阵列排布的多个区域,并获取各个区域在多个方向上与相邻区域的信号强度差值;Dividing the pulse wave transmission pattern into a plurality of regions arranged in an array, and obtaining the signal strength difference between each region and an adjacent region in a plurality of directions; 将所述脉冲波传输方向图中所有区域在多个方向上的信号强度差值累加;Accumulating the signal strength differences of all regions in the pulse wave transmission pattern in multiple directions; 根据所述多个方向上的信号强度差值累加之和,对各个方向对应的夹角分别赋予对应的权重系数;According to the accumulated sum of the signal strength differences in the multiple directions, a corresponding weight coefficient is assigned to the angle corresponding to each direction; 将各个方向对应的夹角与对应的权重系数乘积之和作为核心脉冲方向。The sum of the products of the angles corresponding to each direction and the corresponding weight coefficients is taken as the core pulse direction. 根据权利要求5所述的方法,其特征在于,所述多个方向包括水平方向、竖直方向、以及所述水平方向和竖直方向之间的两个平分方向。The method according to claim 5, characterized in that the multiple directions include a horizontal direction, a vertical direction, and two bisecting directions between the horizontal direction and the vertical direction. 根据权利要求5所述的方法,其特征在于,所述参考面包括如下至少一种:The method according to claim 5, characterized in that the reference surface includes at least one of the following: 所述UWB天线的辐射单元所在平面;The plane where the radiation unit of the UWB antenna is located; 所述设备的中心和所述设备的UWB天线的中心所在的面。The plane where the center of the device and the center of the UWB antenna of the device are located. 根据权利要求1所述的方法,其特征在于,所述预设事件包括如下至少一项:The method according to claim 1, wherein the preset event includes at least one of the following: 主设备与从设备在预设时长内未接收到对方的信息;The master device and the slave device do not receive each other's information within the preset time; 确定主设备与从设备之间的中继节点发生变化;Determine that the relay node between the master device and the slave device has changed; 主设备与从设备之间完成一次传输事件。A transfer event is completed between the master device and the slave device. 一种电子设备,包括存储器和处理器,其特征在于,所述存储器上存储有UWB传输程序,所述UWB传输程序被所述处理器执行时实现如权利要求1至8中任一项所述的基于中继技术的UWB传输方法。An electronic device comprises a memory and a processor, wherein a UWB transmission program is stored in the memory, and when the UWB transmission program is executed by the processor, the UWB transmission method based on relay technology as described in any one of claims 1 to 8 is implemented. 一种存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的基于中继技 术的UWB传输方法。 A storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method based on relay technology according to any one of claims 1 to 8 is implemented. UWB transmission method based on technology.
PCT/CN2024/070028 2024-01-02 2024-01-02 Uwb transmission method based on relay technology, electronic device and storage medium Pending WO2025145265A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/070028 WO2025145265A1 (en) 2024-01-02 2024-01-02 Uwb transmission method based on relay technology, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/070028 WO2025145265A1 (en) 2024-01-02 2024-01-02 Uwb transmission method based on relay technology, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2025145265A1 true WO2025145265A1 (en) 2025-07-10

Family

ID=96299961

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/070028 Pending WO2025145265A1 (en) 2024-01-02 2024-01-02 Uwb transmission method based on relay technology, electronic device and storage medium

Country Status (1)

Country Link
WO (1) WO2025145265A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060120433A1 (en) * 2003-05-28 2006-06-08 David Baker Communications systems and methods
CN101800567A (en) * 2010-03-24 2010-08-11 哈尔滨工业大学 Method for allocating forwarding time slots and selecting relay nodes in cooperative ultra-wideband
CN104067669A (en) * 2012-01-24 2014-09-24 高通股份有限公司 Systems and methods of relay selection and setup
JP2019193142A (en) * 2018-04-26 2019-10-31 矢崎総業株式会社 Communication system, communication method, and control device
US20210037457A1 (en) * 2019-08-01 2021-02-04 Qualcomm Incorporated Power saving of smart repeaters with attached user equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060120433A1 (en) * 2003-05-28 2006-06-08 David Baker Communications systems and methods
CN101800567A (en) * 2010-03-24 2010-08-11 哈尔滨工业大学 Method for allocating forwarding time slots and selecting relay nodes in cooperative ultra-wideband
CN104067669A (en) * 2012-01-24 2014-09-24 高通股份有限公司 Systems and methods of relay selection and setup
JP2019193142A (en) * 2018-04-26 2019-10-31 矢崎総業株式会社 Communication system, communication method, and control device
US20210037457A1 (en) * 2019-08-01 2021-02-04 Qualcomm Incorporated Power saving of smart repeaters with attached user equipment

Similar Documents

Publication Publication Date Title
JP5623651B2 (en) Probe messaging for direct link connections
TW200847688A (en) Interference parameter reporting from client devices to access point for use in modifying wireless operations
US20230345221A1 (en) Method for transmitting data in near field, device, and system
CN113473486B (en) System and method for enhancing network coverage with cooperative end edge
CN108323246A (en) Network-building method, chip and Radio Network System
CN107949014B (en) Data transmission method, device, system and mobile terminal
EP3381239B1 (en) Interference mitigation in dense mesh networks
WO2023011245A1 (en) Communication method and communication apparatus
WO2025082000A1 (en) Data transmission method and apparatus, and network device and storage medium
CN117500023B (en) UWB transmission method based on relay technology, electronic equipment and storage medium
CN116709583B (en) Method and device for realizing double-card double-pass
FR2861231A1 (en) Business/domestic wireless transmitter/receiver station communications network/method having first omni direction station/multiple station frame transfer and second directively exchanged frame set
WO2025145265A1 (en) Uwb transmission method based on relay technology, electronic device and storage medium
CN110099452A (en) Communication means and Related product
US20230327740A1 (en) Information transmission method and apparatus, communication device, and storage medium
US20240172032A1 (en) Method applied to communication system and communication apparatus
WO2024027614A1 (en) Communication method and communication device
CN117295136A (en) Equipment control method and device and network access equipment
JP2007143038A (en) Wireless terminal having wireless telephone function and IP telephone function, and roaming method between public wireless line and wireless LAN
WO2022233198A1 (en) Wireless network switching method and apparatus, chip, electronic device, and storage medium
CN114071633A (en) Wireless communication method and related equipment thereof
CN116567592B (en) Configuration method of data processing rule, terminal and network side equipment
CN120614663A (en) Method and electronic device for detecting network status
CN117978583A (en) Gateway device, method, medium and program product thereof
CN113014319B (en) Communication control method, device, electronic device and medium between electronic devices

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

Country of ref document: EP

Kind code of ref document: A1