The invention discloses a BLE Mesh automatic networking method based on user collaboration, including Bluetooth proxy node device and intelligent Bluetooth terminal device based on the 4.1 version of the Bluetooth core specification, according to the following steps: providing at least one intelligent Bluetooth terminal device, the scene covered by the intelligent Bluetooth terminal device. Broadcast; provide or not provide a Bluetooth proxy node device, which is used to respond to or not respond to the intelligent Bluetooth terminal device; an intelligent Bluetooth terminal device attempts to connect a Bluetooth proxy node device with the response to be a node device in the Mesh network where the Bluetooth proxy node device is located. Or the intelligent Bluetooth terminal device itself becomes a Bluetooth proxy node device, waiting for other intelligent Bluetooth terminal devices to join the request; the Bluetooth proxy node device is randomly bound to the default ID to become a node within the Mesh network. The BLE equipment used in this method is low in cost, fast and convenient in networking. It is suitable for the intelligent home system under the environment of all kinds of Internet of things. It can effectively reduce the cover blind area and expand the coverage of Mesh network rapidly. It can use flood communication mechanism to minimize the impact of Mesh network node failure on the reliability of communication. To obtain high stability. One
【技术实现步骤摘要】
基于用户协作的BLEMesh自动组网方法
:本专利技术涉及智能物联网中蓝牙低功耗(BLE,BluetoothLowEnergy)Mesh网络领域,特别是涉及一种基于用户协作的BLEMesh自动组网方法。
技术介绍
:为了解决BLE覆盖范围不足的问题,学界对于在Mesh拓扑中部署BLE设备以获得更大覆盖范围寄予了浓厚的兴趣。蓝牙Mesh网络是用于建立多对多设备通信的低能耗蓝牙网络拓扑。它允许用户创建基于多个设备的大型网络,这些设备之间可以通过多跳方式相互进行信息的传递。但是直到4.1版本之前,BLE设备都不支持在收发端之间切换角色,因此无法建立任何基于洪泛的通信协议,该缺陷限制了BLE在Mesh网络方向的发展。在蓝牙4.1优化连接方式之后,一些企业也提出了各自的Mesh网络模型,如CSR,Nordic或TI。而学界提出了各种各样实现Mesh网络的建议。它们可以被分为两大类:基于洪泛和基于路由的解决方案。前者不执行路由,而是在整个网络上通过广告信道广播数据包。后者使用路由协议进行分组转发,并在BLE数据信道上传输数据。洪泛的优势在于其简单性,因为它不需要建立相邻设备之间的连接,也不需要路由协议。这避免了由于路由创建而造成的延迟,以及由于路由表及其维护而导致的复杂性和内存消耗。虽然洪泛技术在大规模网络中相比路由技术在发送消息数量方面存在低效性,然而考虑到实际需要支持的数据传输频率时会发现,如果数据传输不频繁,洪泛在创建和维护上的低开销将会抵消路由在消息数量上的优势。公开于该
技术介绍
部分的信息仅仅旨在增加对本专利技术的总体背景的理解,而不应当被视为承认或以任何形式 ...
【技术保护点】
1.一种基于用户协作的BLE Mesh自动组网方法,包括基于蓝牙核心规格4.1版本的蓝
【技术特征摘要】
1.一种基于用户协作的BLEMesh自动组网方法,包括基于蓝牙核心规格4.1版本的蓝牙代理节点设备和智能蓝牙终端设备,按照如下步骤进行:S1,提供至少一个智能蓝牙终端设备,所述智能蓝牙终端设备向其所覆盖的场景进行广播;S2,提供或者不提供蓝牙代理节点设备,所述蓝牙代理节点设备用于应答或者不应答所述智能蓝牙终端设备;S3,智能蓝牙终端设备尝试与应答的蓝牙代理节点设备进行连接成为该蓝牙代理节点设备所处Mesh网络内的节点设备,或者智能蓝牙终端设备自行成为蓝牙代理节点设备,等待其他智能蓝牙终端设备的加入请求;S4,蓝牙代理节点设备随机绑定预设的ID成为Mesh网络内的节点。2.根据权利要求1所述的基于用户协作的BLEMesh自动组网方法,其特征在于:S2,不提供蓝牙代理节点设备或者蓝牙代理节点设备没有应答智能蓝牙终端设备;S3,智能蓝牙终端设备成为蓝牙代理节点设备,等待其他智能蓝牙终端设备的加入请求;S4,蓝牙代理节点设备从本地存储中随机绑定一个预设的ID成为Mesh网络内的节点。3.根据权利要求1所述的基于用户协作的BLEMesh自动组网方法,其特征在于:S2,多个蓝牙代理节点设备同时应答智能蓝牙终端设备;S3,智能蓝牙终端设备选择向收到代理请求信息并首先回送代理提供信息的蓝牙代理节点设备发送代理确认信息;S4,蓝牙代理节点设备收到确认信息后,查找随机可用的ID并发送给智能蓝牙终端设备,同时广播一个预约消息,告知其他蓝牙代理节点设备有新节点的加入。4.根据权利要求3所述的基于用户协作的BLEMesh自动组网方法,其特征在于,S3中,蓝牙代理节点设备发送代理提供信息却没有收到代理确认信息的代理节点会删除待回复的代理请求。5.根据权利要求3所述的基于用户协作的...
【专利技术属性】
技术研发人员:江凌云,孙吉武,朱洪波,
申请(专利权)人:南京邮电大学,
类型:发明
国别省市:江苏,32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。