WO2018054043A1 - Method and system for forwarding broadcast packet in ble network - Google Patents
Method and system for forwarding broadcast packet in ble network Download PDFInfo
- Publication number
- WO2018054043A1 WO2018054043A1 PCT/CN2017/080340 CN2017080340W WO2018054043A1 WO 2018054043 A1 WO2018054043 A1 WO 2018054043A1 CN 2017080340 W CN2017080340 W CN 2017080340W WO 2018054043 A1 WO2018054043 A1 WO 2018054043A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- broadcast packet
- module
- packet
- ble
- broadcast
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and system for forwarding a broadcast packet in a Bluetooth BLE network.
- Bluetooth low energy ie Bluetooth BLE (abbreviation of Bluetooth Low Energy)
- the communication between the BLE module and the BLE module does not need to be connected, but is broadcasted.
- the advantage of this communication method is that There is no need to perform a handshake connection when communicating, saving time, and when the number of BLE modules is very large, the communication time is greatly shortened because no connection is required, as shown in Figure 1.
- this communication method has its disadvantages at the same time: since the inter-module communication does not need to be connected, when one of the BLE modules transmits data to another BLE module, the broadcast packet transmitted by the BLE module in the MESH network can be Received and forwarded. If the number of BLE modules is large, a large number of forwarded packets can easily cause network congestion in the MESH network, which in turn reduces communication speed.
- the main purpose of the present invention is to provide a method and system for forwarding broadcast packets in a Bluetooth low energy (BLE) MESH network.
- BLE Bluetooth low energy
- an aspect of the present invention provides a method for forwarding a broadcast packet in a Bluetooth BLE network, the Bluetooth BLE network including a gateway and a plurality of BLE modules, wherein one BLE module is determined to be a destination module of a broadcast packet. , wherein the method comprises:
- the gateway sends a broadcast packet to the destination module
Abstract
The present invention relates to a method and system for forwarding a broadcast packet in a Bluetooth low energy (BLE) MESH network. The BLE network comprises a gateway and multiple BLE modules, one of the BLE modules being determined as a target module of the broadcast packet. The method comprises: set a maximum number of times T a broadcast packet is allowed to be forwarded; the gateway transmits the broadcast packet to a target module; the BLE module receiving the broadcast packet determines whether the BLE module is the target module; if yes, broadcast a reply packet; or if not, determine whether the number of forwarding times of the broadcast packet is greater than T so as to determine whether to forward the broadcast packet. The method and the system of the present invention can prevent a broadcast packet from being repeatedly forwarded without limitation, and effectively save the time of processing the repeated broadcast packet, thereby avoiding a waste of resources, and greatly increasing the network speed.
Description
本发明涉及通信技术领域,具体涉及一种在蓝牙BLE组网中转发广播包的方法及系统。The present invention relates to the field of communications technologies, and in particular, to a method and system for forwarding a broadcast packet in a Bluetooth BLE network.
蓝牙低能耗(即蓝牙BLE(Bluetooth Low Energy的缩写))在进行MESH组网后,BLE模块与BLE模块之间的通讯不需要进行连接,而是通过广播方式进行,这样的通讯方式的优点是在进行通讯时不需要进行握手连接,节省时间,且在BLE模块数量非常多的时候,因不需要连接,通讯时间会大大缩短,如图1所示。Bluetooth low energy (ie Bluetooth BLE (abbreviation of Bluetooth Low Energy)) After the MESH networking, the communication between the BLE module and the BLE module does not need to be connected, but is broadcasted. The advantage of this communication method is that There is no need to perform a handshake connection when communicating, saving time, and when the number of BLE modules is very large, the communication time is greatly shortened because no connection is required, as shown in Figure 1.
但是,这种通讯方式同时存在缺点:由于模块间通讯不需要进行连接,因此在其中一个BLE模块向另一个BLE模块发送数据时,其发送的广播包在MESH网络中的每个BLE模块都可以收到,并进行转发,如果BLE模块数量较大,大量转发的数据包很容易造成MESH网络的网络阻塞,反而使通讯速度大大降低。However, this communication method has its disadvantages at the same time: since the inter-module communication does not need to be connected, when one of the BLE modules transmits data to another BLE module, the broadcast packet transmitted by the BLE module in the MESH network can be Received and forwarded. If the number of BLE modules is large, a large number of forwarded packets can easily cause network congestion in the MESH network, which in turn reduces communication speed.
发明内容Summary of the invention
本发明的主要目的在于提出一种蓝牙低能耗(BLE)MESH组网中转发广播包的方法及系统,通过限制广播包的转发次数,能够有效地缓解MESH网络的阻塞,并提升网络的通讯速度。并且,通过序列标识,能够大大节省现有BLE模块处理相同广播包的时间。The main purpose of the present invention is to provide a method and system for forwarding broadcast packets in a Bluetooth low energy (BLE) MESH network. By limiting the number of broadcast packets, the MESH network congestion can be effectively alleviated and the network communication speed can be improved. . Moreover, by sequence identification, the time for the existing BLE module to process the same broadcast packet can be greatly saved.
为实现上述目的,本发明一方面提供了一种在蓝牙BLE组网中转发广播包的方法,该蓝牙BLE组网包括网关以及多个BLE模块,其中一个BLE模块被确定为广播包的目的模块,其中,该方法包括:To achieve the above object, an aspect of the present invention provides a method for forwarding a broadcast packet in a Bluetooth BLE network, the Bluetooth BLE network including a gateway and a plurality of BLE modules, wherein one BLE module is determined to be a destination module of a broadcast packet. , wherein the method comprises:
设置广播包被允许转发的最大次数T;Set the maximum number of times the broadcast packet is allowed to be forwarded T;
网关向目的模块发送广播包;
The gateway sends a broadcast packet to the destination module;
Claims (1)
- 收到广播包的BLE模块判断自己是否为目的模块;The BLE module that receives the broadcast packet determines whether it is the destination module;若是,则广播答复包;If yes, broadcast the reply packet;若不是,则判断该广播包被转发的次数是否大于T,以决定是否转发该广播包。If not, it is determined whether the number of times the broadcast packet is forwarded is greater than T to determine whether to forward the broadcast packet.优选地,该方法还包括:在该广播包被转发的次数大于T的情况下,请求网关重新发送该广播包;否则,该模块转发该广播包。Preferably, the method further comprises: if the number of times the broadcast packet is forwarded is greater than T, requesting the gateway to resend the broadcast packet; otherwise, the module forwards the broadcast packet.优选地,该方法还包括:在判断该广播包被转发的次数是否大于T之前,先判断该广播包的重新发送次数是否大于预先规定的允许重发次数R,在小于等于R的情况下,再判断判断该广播包被转发的次数是否大于T。Preferably, the method further includes: determining whether the number of retransmissions of the broadcast packet is greater than a predetermined number of allowed retransmissions R before determining whether the number of times the broadcast packet is forwarded is greater than T, and if R is less than or equal to R, It is further determined whether the number of times the broadcast packet is forwarded is greater than T.优选地,在该广播包的重新发送次数大于R的情况下,丢弃该广播包,并返回发送错误信息。Preferably, in a case where the number of retransmissions of the broadcast packet is greater than R, the broadcast packet is discarded, and the transmission error information is returned.优选地,在收到广播包的BLE模块不是目的模块的情况下,向该广播包增加转发次数及模块序号标识。Preferably, when the BLE module that receives the broadcast packet is not the destination module, the number of times of forwarding and the module serial number identifier are added to the broadcast packet.优选地,在收到广播包的BLE模块被确定为目的模块的情况下,该模块先判断收到的广播包是否是首次收到该广播包,若是,再广播答复包,否则,丢弃该广播包。Preferably, in the case that the BLE module that receives the broadcast packet is determined to be the destination module, the module first determines whether the received broadcast packet is the first time the broadcast packet is received, and if so, broadcasts the reply packet, otherwise, discards the broadcast. package.优选地,该模块在广播答复包的同时,在广播包中增加该广播包送达目的模块的最快到达通道信息。Preferably, the module increases the fastest arrival channel information of the broadcast packet delivery destination module in the broadcast packet while broadcasting the reply packet.优选地,任何模块在收到答复包时,都不再转发该答复包所针对的广播包。Preferably, any module does not forward the broadcast packet for which the reply packet is directed when the reply packet is received.优选地,网关在向目的模块发送广播包时,在广播包中包含有序号标识,以用于目的模块在收到广播包时判断是否是首次收到。Preferably, when the gateway sends the broadcast packet to the destination module, the broadcast packet includes a sequence number identifier for the destination module to determine whether it is received for the first time when receiving the broadcast packet.优选地,该方法进一步包括:设置等待时间,如果网关在等待时间内没有接收到目的模块返回的答复包,则重新发送该广播包。Preferably, the method further comprises: setting a waiting time, if the gateway does not receive the reply packet returned by the destination module within the waiting time, resending the broadcast packet.优选地,网关在重新发送广播包之前先判断重新发送的次数是否超过预先规定的允许重发次数R,若是,则不再发送该广播包,同时返回失败信息。Preferably, the gateway determines whether the number of retransmissions exceeds a predetermined number of allowed retransmissions R before resending the broadcast packet, and if so, the broadcast packet is no longer sent, and the failure information is returned.为实现上述目的,本发明另一方面提供了一种在蓝牙BLE组网中转发广播包的系统,该蓝牙BLE组网包括网关以及多个BLE模块,其中一个BLE模块被确定为广播包的目的模块,其中,该系统包括: To achieve the above object, another aspect of the present invention provides a system for forwarding a broadcast packet in a Bluetooth BLE network, the Bluetooth BLE network including a gateway and a plurality of BLE modules, wherein one BLE module is determined to be a broadcast packet. Module, wherein the system includes:
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610854205.5A CN106658355B (en) | 2016-09-26 | 2016-09-26 | A kind of method and system forwarding broadcast packet in bluetooth BLE networking |
CN201610854205.5 | 2016-09-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018054043A1 true WO2018054043A1 (en) | 2018-03-29 |
Family
ID=58853298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/080340 WO2018054043A1 (en) | 2016-09-26 | 2017-04-13 | Method and system for forwarding broadcast packet in ble network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106658355B (en) |
WO (1) | WO2018054043A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151788A (en) * | 2018-09-28 | 2019-01-04 | 咪付(广西)网络技术有限公司 | A kind of data in mobile phone transmission method and system based on bluetooth low energy device |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495866B (en) * | 2017-09-12 | 2021-09-07 | 展讯通信(上海)有限公司 | Bluetooth device, Bluetooth Mesh network information transmission method and readable storage medium |
CN107959921A (en) * | 2017-11-10 | 2018-04-24 | 惠州市德赛西威汽车电子股份有限公司 | A kind of positioning via network system and method based on BLE technologies |
CN108093385B (en) * | 2017-12-26 | 2021-06-01 | 海信视像科技股份有限公司 | Method for processing broadcast packet by Bluetooth controller, Bluetooth controller and Bluetooth equipment |
CN108270665A (en) * | 2018-01-04 | 2018-07-10 | 上海闻泰电子科技有限公司 | Instant network communication system and communication means |
CN108377485A (en) * | 2018-02-13 | 2018-08-07 | 广东嘉泰智能技术有限公司 | Multibyte radio transmitting method based on bluetooth Mesh technologies and system |
CN110278547B (en) * | 2018-03-13 | 2022-04-08 | 博通集成电路(上海)股份有限公司 | Apparatus and method for establishing a bluetooth low energy mesh network |
CN108847935A (en) * | 2018-07-03 | 2018-11-20 | 广州市河东智能科技有限公司 | Data transmission method for uplink |
CN110798819B (en) * | 2018-08-01 | 2021-04-20 | 华为技术有限公司 | Message propagation method and device |
CN109041022B (en) * | 2018-08-13 | 2021-08-27 | 海尔优家智能科技(北京)有限公司 | Network management method, Bluetooth module, medium and computer |
CN109168150B (en) * | 2018-08-24 | 2022-02-25 | 欧普照明股份有限公司 | Bluetooth rapid networking method |
CN109617808A (en) * | 2019-01-14 | 2019-04-12 | 安凯(广州)微电子技术有限公司 | A kind of data-optimized transmission method, system and device based on bluetooth Mesh |
CN110267248B (en) * | 2019-06-28 | 2020-07-28 | 阿里巴巴集团控股有限公司 | B L E communication method, device, equipment and storage medium |
US10856347B2 (en) | 2019-06-28 | 2020-12-01 | Advanced New Technologies Co., Ltd. | Wireless communications method, apparatus, device, and storage medium |
CN110650087A (en) * | 2019-10-09 | 2020-01-03 | 四川灵通电讯有限公司 | Grid network and data forwarding type reliable transmission method applying grid network |
CN111742505B (en) * | 2019-12-16 | 2022-07-19 | 深圳市汇顶科技股份有限公司 | Method for testing low-power-consumption Bluetooth BLE product and BLE device |
CN111328028B (en) * | 2020-01-08 | 2021-10-08 | 杭州海康威视系统技术有限公司 | Communication method and device |
CN111200790B (en) * | 2020-03-11 | 2022-02-18 | 杭州涂鸦信息技术有限公司 | Private mesh forwarding control method, system and equipment thereof |
CN111800773B (en) * | 2020-06-30 | 2021-08-24 | 深圳市中科蓝讯科技股份有限公司 | Bluetooth Mesh node message repetition identification method, system and storage medium |
CN112004216B (en) * | 2020-07-23 | 2022-09-27 | 苏州博联科技有限公司 | Method for forwarding and processing Bluetooth Mesh relay node |
CN112822643B (en) * | 2021-01-14 | 2021-11-30 | 深圳市芯中芯科技有限公司 | Bluetooth device multi-connection networking method and system based on BLE broadcasting |
CN115884145A (en) * | 2022-11-24 | 2023-03-31 | 重庆长安汽车股份有限公司 | Networking method of Bluetooth equipment and application of single/multiple Bluetooth equipment vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212415A (en) * | 2006-12-30 | 2008-07-02 | 华为技术有限公司 | Data forwarding method and device and communication system in WIMAX network |
CN101340361A (en) * | 2007-07-05 | 2009-01-07 | 华为技术有限公司 | Method and apparatus for data package transfer limitation |
CN103401692A (en) * | 2009-04-02 | 2013-11-20 | 华为技术有限公司 | Broadcasting method and communication device |
US20140003344A1 (en) * | 2012-06-27 | 2014-01-02 | Electronics And Telecommunications Research Institute | Apparatus and method for multi-hop routing decision and looping prevention |
CN104519493A (en) * | 2014-12-04 | 2015-04-15 | 广东省自动化研究所 | Method for networking multiple Bluetooth devices |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247339B (en) * | 2008-03-05 | 2010-12-29 | 中国科学院嘉兴无线传感网工程中心 | Method for centralized resource reservation management in mobile wireless sensor network |
CN104301222A (en) * | 2014-10-24 | 2015-01-21 | 山东中弘信息科技有限公司 | Wireless ad hoc network credible routing protocol based on package transmission rate |
CN105491508A (en) * | 2015-06-30 | 2016-04-13 | 汤羽 | Networking and routing algorithm based on Bluetooth technology for mobile phone ad hoc communication network CellNet |
-
2016
- 2016-09-26 CN CN201610854205.5A patent/CN106658355B/en active Active
-
2017
- 2017-04-13 WO PCT/CN2017/080340 patent/WO2018054043A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212415A (en) * | 2006-12-30 | 2008-07-02 | 华为技术有限公司 | Data forwarding method and device and communication system in WIMAX network |
CN101340361A (en) * | 2007-07-05 | 2009-01-07 | 华为技术有限公司 | Method and apparatus for data package transfer limitation |
CN103401692A (en) * | 2009-04-02 | 2013-11-20 | 华为技术有限公司 | Broadcasting method and communication device |
US20140003344A1 (en) * | 2012-06-27 | 2014-01-02 | Electronics And Telecommunications Research Institute | Apparatus and method for multi-hop routing decision and looping prevention |
CN104519493A (en) * | 2014-12-04 | 2015-04-15 | 广东省自动化研究所 | Method for networking multiple Bluetooth devices |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151788A (en) * | 2018-09-28 | 2019-01-04 | 咪付(广西)网络技术有限公司 | A kind of data in mobile phone transmission method and system based on bluetooth low energy device |
Also Published As
Publication number | Publication date |
---|---|
CN106658355A (en) | 2017-05-10 |
CN106658355B (en) | 2019-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018054043A1 (en) | Method and system for forwarding broadcast packet in ble network | |
US20190268797A1 (en) | Data transmission method and apparatus | |
US9967193B2 (en) | Method and system for increasing data flow transmission | |
WO2015157912A1 (en) | Data transmission method, transmitting terminal device, and receiving terminal device | |
JP2010219802A (en) | Communication equipment, vehicle-to-vehicle communication system, road-vehicle communication system, radio communication system, and communication control method | |
US11463934B1 (en) | Zero overhead on-demand multi/uni-casting in MANET | |
US9712282B2 (en) | Route-less multi-hop transmission technique in a peer-to-peer infrastructure-less network | |
WO2013179269A1 (en) | Method and apparatus for use in multicasting | |
US10630594B2 (en) | System, device, and method for communicating data over a mesh network | |
US10931564B2 (en) | Handling of acknowledgement in wireless radio ad-hoc networks | |
WO2021052467A1 (en) | Communication method and apparatus | |
US20090228754A1 (en) | Apparatuses and methods for controlling automatic repeat request (arq) reset in broadband wireless communication system | |
CN107733589B (en) | Method, device, equipment and storage medium for realizing automatic retransmission request of ad hoc network | |
WO2022042386A1 (en) | Method for controlling message sending, network device and system | |
US10425371B2 (en) | Method for fragmented messaging between network devices | |
WO2018006929A1 (en) | Packet buffering in a telecommunications network | |
US20200245221A1 (en) | Method and device for updating the number of retransmissions in a wireless mesh network | |
US10009281B2 (en) | RBS, RNC and respective methods performed thereby for transmitting data to a UE | |
CN112242956B (en) | Flow rate control method and device | |
JPWO2020136854A5 (en) | Terminals, wireless communication systems, and communication methods | |
WO2021253268A1 (en) | Information transmission method for communication system, communication system, and communication device | |
JP7328007B2 (en) | Wireless communication node and wireless communication system | |
WO2019071463A1 (en) | Grant-free hybrid automatic repeat request | |
KR20130093711A (en) | Method and apparatus for providing a voice service in a communication system | |
EP3128703A1 (en) | Path detection method, destination node device and communication system |
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: 17852119 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17852119 Country of ref document: EP Kind code of ref document: A1 |