[go: up one dir, main page]

CN118075526A - Multi-device cooperative UWB communication pairing method - Google Patents

Multi-device cooperative UWB communication pairing method Download PDF

Info

Publication number
CN118075526A
CN118075526A CN202410474370.2A CN202410474370A CN118075526A CN 118075526 A CN118075526 A CN 118075526A CN 202410474370 A CN202410474370 A CN 202410474370A CN 118075526 A CN118075526 A CN 118075526A
Authority
CN
China
Prior art keywords
time
controlled
delay time
receiving
frame
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
CN202410474370.2A
Other languages
Chinese (zh)
Inventor
李振亚
王春华
陈明江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huayun Spacetime Technology Co ltd
Original Assignee
Shenzhen Huayun Spacetime 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 Shenzhen Huayun Spacetime Technology Co ltd filed Critical Shenzhen Huayun Spacetime Technology Co ltd
Priority to CN202410474370.2A priority Critical patent/CN118075526A/en
Publication of CN118075526A publication Critical patent/CN118075526A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本发明公开一种多设备协同的UWB通信配对方法,设备包括控制端和多个被控制端,控制端与被控制端之间通过UWB技术判断两者之间的距离,从而控制端根据盖距离选择离自己最近的被控制端进行配对,而在通讯过程中通过采用延时策略生成的延时时间来使得每个被控制端的响应时间具有差异性,从而避免控制端接收被控制终端信息时发生冲突。

The present invention discloses a UWB communication pairing method for multi-device collaboration, wherein the device comprises a control terminal and a plurality of controlled terminals, wherein the distance between the control terminal and the controlled terminals is determined by the UWB technology, so that the control terminal selects the controlled terminal closest to itself for pairing according to the distance, and during the communication process, a delay time generated by a delay strategy is adopted to make the response time of each controlled terminal different, thereby avoiding conflicts when the control terminal receives information from the controlled terminals.

Description

一种多设备协同的UWB通信配对方法A multi-device collaborative UWB communication pairing method

技术领域Technical Field

本发明涉及通信领域,特别涉及一种多设备协同的UWB通信配对方法。The present invention relates to the field of communications, and in particular to a multi-device collaborative UWB communication pairing method.

背景技术Background technique

在现代家庭娱乐系统中,超宽带技术因其高精度的测距和测角能力被广泛应用于遥控器与电视等设备的通信中。然而,随着家庭中此类设备的增多,传统的通信方式面临着数据碰撞和配对混乱的问题,这严重影响了用户体验和设备的可靠性。In modern home entertainment systems, ultra-wideband technology is widely used in communication between remote controls and devices such as TVs due to its high-precision distance and angle measurement capabilities. However, with the increase in such devices in the home, traditional communication methods face problems such as data collision and pairing confusion, which seriously affects user experience and device reliability.

发明内容Summary of the invention

本发明的主要目的是提供一种能够有效解决多遥控器和多电视设备之间的通信冲突和配对问题。通过采用先进的信号处理算法和设备识别机制,确保数据传输的准确性和设备的响应性的多设备协同的UWB通信配对方法。The main purpose of the present invention is to provide a multi-device collaborative UWB communication pairing method that can effectively solve the communication conflicts and pairing problems between multiple remote controllers and multiple TV devices, by adopting advanced signal processing algorithms and device identification mechanisms to ensure the accuracy of data transmission and the responsiveness of devices.

本发明提出一种多设备协同的UWB通信配对方法,包括控制端和多个被控制端;The present invention proposes a multi-device collaborative UWB communication pairing method, including a control terminal and multiple controlled terminals;

设备所述控制端广播发起帧并记录发送时间;The control terminal of the device broadcasts an initiation frame and records the sending time;

所述被控制端接收到所述发起帧后通过预设的延时策略生成延时时间,并在所述延时时间后向所述控制端发送包含所述延时时间的回复帧,通过所述延时时间能够使得每个所述被控制端的响应时间具有差异性,从而避免所述控制端端接收所述回复帧时发生冲突;After receiving the initiating frame, the controlled end generates a delay time through a preset delay strategy, and sends a reply frame including the delay time to the control end after the delay time. The delay time can make the response time of each controlled end different, thereby avoiding conflicts when the control end receives the reply frame;

所述控制端接收所述回复帧时记录接收时间,通过所述发送时间、所述延时时间以及所述接收时间计算所述控制端与各个被控制端的距离,并与最近距离的被控制端配对。The control end records the receiving time when receiving the reply frame, calculates the distance between the control end and each controlled end through the sending time, the delay time and the receiving time, and pairs the control end with the controlled end at the closest distance.

优选地,所述延时时间由固定时间t0以及被控制端MAC地址提前设定的某一byte的值t1组成。Preferably, the delay time is composed of a fixed time t0 and a byte value t1 set in advance by the MAC address of the controlled end.

优选地,所述回复帧内包含所述被控制端的MAC地址,所述控制端受到所述回复帧后给所述被控制端发送的配对帧内包含所述控制端MAC地址以及所述被控制端的MAC地址。Preferably, the reply frame includes the MAC address of the controlled end, and the pairing frame sent by the controlling end to the controlled end after receiving the reply frame includes the MAC address of the controlling end and the MAC address of the controlled end.

优选地,所述距离计算的计算公式为距离d =(接收时间-发送时间-延时时间)*C/2,其中近C为光速。Preferably, the calculation formula for distance calculation is distance d = (receiving time-sending time-delay time)*C/2, wherein C is the speed of light.

本发明的多设备协同的UWB通信配对方法的有益效果为:The beneficial effects of the multi-device collaborative UWB communication pairing method of the present invention are:

1、被控制端接收到发起帧后通过预设的延时策略生成延时时间,并在延时时间后再回复控制端,从而能够使得每个被控制端的响应时间具有差异性,从而避免控制端接收回复帧时发生冲突。1. After receiving the initiation frame, the controlled end generates a delay time through a preset delay strategy, and replies to the control end after the delay time, so that the response time of each controlled end can be different, thereby avoiding conflicts when the control end receives the reply frame.

2、通过采用UWB技术计算控制端与被控制端的距离来找到距离控制端最近的控制端,从而能够提高判断的准确性。2. By using UWB technology to calculate the distance between the control end and the controlled end, the control end closest to the control end can be found, thereby improving the accuracy of judgment.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明的多设备协同的UWB通信配对方法的流程框图;FIG1 is a flowchart of a multi-device collaborative UWB communication pairing method of the present invention;

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

参照图1,提出本发明的多设备协同的UWB通信配对方法的一实施例:1 , an embodiment of a multi-device collaborative UWB communication pairing method of the present invention is proposed:

一种多设备协同的UWB通信配对方法,设备包括控制端和多个被控制端,在本实施例中,控制端为遥控器,被控制端为电视机。具体流程如下:A multi-device collaborative UWB communication pairing method, the device includes a control end and multiple controlled ends. In this embodiment, the control end is a remote control and the controlled end is a television. The specific process is as follows:

1)遥控器配对激活,用户通过按下遥控器上的特定组合按键从而使得遥控器发送发起帧,发起帧内包含帧类型、帧序号和遥控器MAC地址,并记录下发送时间tTxblink。1) Remote control pairing activation: the user presses a specific combination of buttons on the remote control to cause the remote control to send an initiation frame, which contains the frame type, frame sequence number and remote control MAC address, and records the sending time tTxblink.

2)遥控器发送完成后进入接收状态,并设定接收超时时间tTimeout。2) After the remote control completes sending, it enters the receiving state and sets the receiving timeout tTimeout.

3)电视机在开机状态且未与遥控器连接时会持续监听遥控器发送的发起帧,当电视机接收到发起帧后记录下接收时间tRxblink,电视机根据预设的延时策略生成延时时间tReply,并在延时时间tReply后向遥控器发送回复帧,回复帧包含帧类型、帧序号、延时时间tReply、遥控器MAC地址以及电视机MAC地址,通过采用延时策略生成延时时间tReply,能够使得每个电视机的响应时间具有差异性,从而避免冲突;3) When the TV is turned on and not connected to the remote control, it will continue to listen to the initiation frame sent by the remote control. When the TV receives the initiation frame, it records the receiving time tRxblink. The TV generates a delay time tReply according to the preset delay strategy, and sends a reply frame to the remote control after the delay time tReply. The reply frame contains the frame type, frame sequence number, delay time tReply, remote control MAC address and TV MAC address. By adopting the delay strategy to generate the delay time tReply, the response time of each TV can be different, thereby avoiding conflicts;

延时时间tReply由预设的固定值t0加上电视机MAC地址的最后一byte的值t1组成,实际使用的时候由于电视机MAC地址的最后一byte的值t1有256分之一的概率相同,如果发生冲突则会导致配对失败,此时遥控器会重新配对或使得电视机更改t1的选择后再重新配对。The delay time tReply is composed of the preset fixed value t0 plus the value t1 of the last byte of the TV's MAC address. In actual use, since the value t1 of the last byte of the TV's MAC address has a 1 in 256 probability of being the same, if a conflict occurs, pairing will fail. At this time, the remote control will be re-paired or the TV will change the selection of t1 and then re-pair.

4)电视机发射完后进入接收状态。4) After the TV has finished transmitting, it enters the receiving state.

5)遥控器接收到电视机回复的回复帧后,记录下接收时间tRxResponse,首先比对回复帧内的遥控器MAC地址和自身的MAC地址是否匹配,从而过滤掉不属于自己的回复帧,如果该帧属于自己,则记录下该帧中的电视机MAC地址,同时通过距离计算公式计算出遥控器与电视机的距离d;5) After the remote control receives the reply frame from the TV, it records the receiving time tRxResponse, and first compares the remote control MAC address in the reply frame with its own MAC address to see if they match, thereby filtering out reply frames that do not belong to it. If the frame belongs to it, it records the TV MAC address in the frame, and calculates the distance d between the remote control and the TV using the distance calculation formula;

计算公式如下:,其中C为光速。Calculated as follows: , where C is the speed of light.

6)遥控器在接收时间tTimeout内持续接收,并重复步骤5,以接收所有可能的电视机的回复帧。6) The remote control continues receiving within the receiving time tTimeout and repeats step 5 to receive all possible reply frames from the TV.

7)等到超过接收时间tTimeout后,通过比对各个电视机与遥控器的距离d,从而找到最近的电视机的MAC地址。遥控器发送配对帧,该配对帧包含帧类型、帧序号、遥控器MAC地址以及需要配对的电视机MAC地址等信息。7) After the receiving time tTimeout is exceeded, the MAC address of the nearest TV is found by comparing the distance d between each TV and the remote control. The remote control sends a pairing frame, which contains information such as the frame type, frame sequence number, MAC address of the remote control, and MAC address of the TV to be paired.

8)电视机收到配对帧后,比对配对帧内的电视机MAC地址和自身的MAC地址是否一致,如果一致则两者配对,并将遥控器MAC地址写在自身flash,后续该电视机只响应配对的遥控器MAC地址发起的非配对帧。8) After receiving the pairing frame, the TV compares the MAC address of the TV in the pairing frame with its own MAC address to see if they are consistent. If they are consistent, the two are paired and the remote control MAC address is written to its own flash. Subsequently, the TV only responds to non-pairing frames initiated by the paired remote control MAC address.

以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structural transformation made by using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims (4)

1.一种多设备协同的UWB通信配对方法,其特征在于,1. A multi-device collaborative UWB communication pairing method, characterized in that: 设备包括控制端和多个被控制端;The device includes a control terminal and a plurality of controlled terminals; 所述控制端广播发起帧并记录发送时间;The control terminal broadcasts the initiation frame and records the sending time; 所述被控制端接收到所述发起帧后通过预设的延时策略生成延时时间,并在所述延时时间后向所述控制端发送包含所述延时时间的回复帧,通过所述延时时间能够使得每个所述被控制端的响应时间具有差异性,从而避免所述控制端接收所述回复帧时发生冲突;After receiving the initiating frame, the controlled end generates a delay time through a preset delay strategy, and sends a reply frame including the delay time to the controlling end after the delay time. The delay time can make the response time of each controlled end different, thereby avoiding conflicts when the controlling end receives the reply frame; 所述控制端接收所述回复帧时记录接收时间,通过所述发送时间、所述延时时间以及所述接收时间计算所述控制端与各个被控制端的距离,并与最近距离的被控制端配对。The control end records the receiving time when receiving the reply frame, calculates the distance between the control end and each controlled end through the sending time, the delay time and the receiving time, and pairs the control end with the controlled end at the closest distance. 2.根据权利要求1所述的多设备协同的UWB通信配对方法,其特征在于,所述延时时间由固定时间t0以及被控制端MAC地址提前设定的某一byte的值t1组成。2. The multi-device collaborative UWB communication pairing method according to claim 1 is characterized in that the delay time is composed of a fixed time t0 and a byte value t1 set in advance by the MAC address of the controlled end. 3.根据权利要求1所述的多设备协同的UWB通信配对方法,其特征在于,所述回复帧内包含所述被控制端的MAC地址,所述控制端受到所述回复帧后给所述被控制端发送的配对帧内包含所述控制端MAC地址以及所述被控制端的MAC地址。3. According to the multi-device collaborative UWB communication pairing method according to claim 1, it is characterized in that the reply frame contains the MAC address of the controlled end, and the pairing frame sent by the controlling end to the controlled end after receiving the reply frame contains the MAC address of the controlling end and the MAC address of the controlled end. 4.根据权利要求1所述的多设备协同的UWB通信配对方法,其特征在于,所述距离计算的计算公式为距离d =(接收时间-发送时间-延时时间)*C/2,其中近C为光速。4. The multi-device collaborative UWB communication pairing method according to claim 1, characterized in that the distance calculation formula is distance d = (receiving time-sending time-delay time)*C/2, where C is the speed of light.
CN202410474370.2A 2024-04-19 2024-04-19 Multi-device cooperative UWB communication pairing method Pending CN118075526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410474370.2A CN118075526A (en) 2024-04-19 2024-04-19 Multi-device cooperative UWB communication pairing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410474370.2A CN118075526A (en) 2024-04-19 2024-04-19 Multi-device cooperative UWB communication pairing method

Publications (1)

Publication Number Publication Date
CN118075526A true CN118075526A (en) 2024-05-24

Family

ID=91097639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410474370.2A Pending CN118075526A (en) 2024-04-19 2024-04-19 Multi-device cooperative UWB communication pairing method

Country Status (1)

Country Link
CN (1) CN118075526A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011199381A (en) * 2010-03-17 2011-10-06 Kddi Corp Radio communication method and system, and radio communication device of the same
CN104703009A (en) * 2015-02-11 2015-06-10 四川长虹电器股份有限公司 Smart pairing radio frequency remote control system and smart pairing method thereof
JP2016038332A (en) * 2014-08-08 2016-03-22 株式会社東海理化電機製作所 Distance measurement system
CN108024329A (en) * 2017-12-13 2018-05-11 深圳市中舟智能科技有限公司 A kind of more base station extended methods self-positioning based on UWB labels and equipment
CN111212182A (en) * 2019-12-01 2020-05-29 深圳市纽瑞芯科技有限公司 Method and device for directly remotely controlling UWB equipment by using mobile phone embedded with UWB module
US20210072373A1 (en) * 2019-09-06 2021-03-11 Apple Inc. One to many ranging techniques
CN112634594A (en) * 2020-12-22 2021-04-09 杭州品铂科技有限公司 Personnel social contact approach reminding method and system based on UWB technology
CN115250419A (en) * 2021-04-08 2022-10-28 海能达通信股份有限公司 Bluetooth pairing connection method, device and terminal
CN115665716A (en) * 2022-12-27 2023-01-31 合肥炬芯智能科技有限公司 Audio data transmission method, electronic device, and computer-readable storage medium
CN115761938A (en) * 2021-09-03 2023-03-07 荣耀终端有限公司 Method, device, equipment, storage medium and program product for unlocking vehicle
CN116528203A (en) * 2023-07-03 2023-08-01 珠海格力电器股份有限公司 Voice remote controller system, control method and device thereof and storage medium
CN117761724A (en) * 2023-12-21 2024-03-26 江苏盛海智能科技有限公司 Unmanned vehicle positioning method and terminal based on TOF ranging

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011199381A (en) * 2010-03-17 2011-10-06 Kddi Corp Radio communication method and system, and radio communication device of the same
JP2016038332A (en) * 2014-08-08 2016-03-22 株式会社東海理化電機製作所 Distance measurement system
CN104703009A (en) * 2015-02-11 2015-06-10 四川长虹电器股份有限公司 Smart pairing radio frequency remote control system and smart pairing method thereof
CN108024329A (en) * 2017-12-13 2018-05-11 深圳市中舟智能科技有限公司 A kind of more base station extended methods self-positioning based on UWB labels and equipment
US20210072373A1 (en) * 2019-09-06 2021-03-11 Apple Inc. One to many ranging techniques
CN111212182A (en) * 2019-12-01 2020-05-29 深圳市纽瑞芯科技有限公司 Method and device for directly remotely controlling UWB equipment by using mobile phone embedded with UWB module
CN112634594A (en) * 2020-12-22 2021-04-09 杭州品铂科技有限公司 Personnel social contact approach reminding method and system based on UWB technology
CN115250419A (en) * 2021-04-08 2022-10-28 海能达通信股份有限公司 Bluetooth pairing connection method, device and terminal
CN115761938A (en) * 2021-09-03 2023-03-07 荣耀终端有限公司 Method, device, equipment, storage medium and program product for unlocking vehicle
CN115665716A (en) * 2022-12-27 2023-01-31 合肥炬芯智能科技有限公司 Audio data transmission method, electronic device, and computer-readable storage medium
CN116528203A (en) * 2023-07-03 2023-08-01 珠海格力电器股份有限公司 Voice remote controller system, control method and device thereof and storage medium
CN117761724A (en) * 2023-12-21 2024-03-26 江苏盛海智能科技有限公司 Unmanned vehicle positioning method and terminal based on TOF ranging

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王毅;高翔;方世良;郭延芬;: "Aloha-LPD:一种用于水声通信网的MAC协议", 东南大学学报(自然科学版), no. 01, 20 January 2009 (2009-01-20) *

Similar Documents

Publication Publication Date Title
US20080189431A1 (en) Layer-2 management entity messaging framework in a network
JP2018523384A (en) Control an IoT device using a remote control device via a remote control proxy device
KR20180021715A (en) Control of IoT devices using remote control proxy devices via infrastructure devices
WO2018121076A1 (en) Data transmission control method and device, and terminal
US6529119B1 (en) Establishment of communications with a selected device in a multi-device environment
CN109709915B (en) Method and system for intelligent collaborative production among multiple production lines
CN109922540B (en) Wireless transceiver group communication method, device group, system and storage medium
US10020906B2 (en) Adaptive multi-client single host TDMA communications
TWI569597B (en) Blue-tooth communication system and broadcasting method thereof
US12022553B2 (en) Accelerating control procedures over BLE connection oriented services
CN108617001A (en) uplink data transmission method and device
WO2023179159A1 (en) Communication chip, bluetooth communication devices and data transmission method
TWI707598B (en) Method for controlling audio device and associated control circuit
CN118075526A (en) Multi-device cooperative UWB communication pairing method
US20240306028A1 (en) Wireless communication method and device
CN111091829B (en) Voice control method and device and electronic equipment
CN105159168A (en) Group control method of broadcast equipment and user terminal
CN111415657A (en) Decentralized device, multi-device system and voice control method thereof
US10477370B2 (en) System and method for low latency wireless connection
CN106657093A (en) Gateway protocol for smart home
CN115643553A (en) A multi-device firmware upgrade method based on Bluetooth broadcasting
US20210194944A1 (en) A method of improving synchronization of the playback of audio data between a plurality of audio sub-systems
CN105931441A (en) Data receiving method and device and remote control terminal
CN113872729B (en) Audio data communication method and wireless audio system
CN114301565A (en) Method and system for wireless communication between toy modules

Legal Events

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