The invention relates to a distribution network method and device of Bluetooth mesh intelligent lighting device, the method includes: the distribution network initiating device receives the distribution network instruction and sends the device information query request to the intelligent lighting device based on the wired connection; the intelligent lighting device receives the device information query request message and returns the corresponding device information; the distribution network initiating device receives the device information To determine whether the device information is stored locally; if yes, the distribution network initiating device sends a message including the Bluetooth mesh network parameters to the intelligent lighting device; the intelligent lighting device receives a message including the Bluetooth mesh network parameters and performs the update network configuration operation to make the Bluetooth mesh network parameters effective. The invention carries out distribution network through wired connection, improves the speed of distribution network, at the same time, the transmission is reliable and the security is high.
【技术实现步骤摘要】
蓝牙MESH智能照明设备的配网方法及装置
本专利技术涉及智能照明领域,更具体地说,涉及一种蓝牙MESH智能照明设备的配网方法及装置。
技术介绍
配网为将设备添加到网络中,设备需要得到网络密钥、应用密钥、消息发布接收地址、网络安全数据等网络参数信息。传统的蓝牙Mesh配网方式是配网者(provision)扫描待配置设备发出的beaconing信标数据包,之后通过信标数据包内的MAC等信息建立GATT连接,进行数据的验证、识别、传递。使用这种方法一是耗时长,数据交互、验证、识别需要很多网络来往的步骤,同时数据丢包的概率较大,进而导致失败率较高,二是若配网时有多个待配置的设备时,空间中将有多个设备发出的beaconing信标数据包,配网者(provision)无法确定接收到的信标数据来自于哪一个实体设备,无法选定配置的设备,对配网者选择操作造成困难。
技术实现思路
本专利技术的目的在于克服现有技术的不足,提供一种能够安全性高、速度快的蓝牙MESH智能照明设备的配网方法及装置。为实现上述目的及其他相关目的,本专利技术的技术方案为:一方面,本专利技术一种蓝牙MESH智能照明设备的配网方法,包括:配网发起设备接收配网指令,基于有线连接向智能照明设备发送设备信息查询请求;所述智能照明设备接收所述设备信息查询请求消息,返回对应的设备信息;所述配网发起设备接收所述设备信息,判断本地是否存储有所述设备信息;如果有,所述配网发起设备向所述智能照明设备发送包括蓝牙MESH网络参数的 ...
【技术保护点】
1.一种蓝牙MESH智能照明设备的配网方法,其特征在于,包括:/n配网发起设备接收配网指令,基于有线连接向智能照明设备发送设备信息查询请求;/n所述智能照明设备接收所述设备信息查询请求消息,返回对应的设备信息;/n所述配网发起设备接收所述设备信息,判断本地是否存储有所述设备信息;如果有,所述配网发起设备向所述智能照明设备发送包括蓝牙MESH网络参数的消息;/n所述智能照明设备接收包括蓝牙MESH网络参数的消息,执行更新网络配置操作,以使所述蓝牙MESH网络参数生效。/n
【技术特征摘要】
1.一种蓝牙MESH智能照明设备的配网方法,其特征在于,包括:
配网发起设备接收配网指令,基于有线连接向智能照明设备发送设备信息查询请求;
所述智能照明设备接收所述设备信息查询请求消息,返回对应的设备信息;
所述配网发起设备接收所述设备信息,判断本地是否存储有所述设备信息;如果有,所述配网发起设备向所述智能照明设备发送包括蓝牙MESH网络参数的消息;
所述智能照明设备接收包括蓝牙MESH网络参数的消息,执行更新网络配置操作,以使所述蓝牙MESH网络参数生效。
2.根据权利要求1所述的蓝牙MESH智能照明设备的配网方法,其特征在于,所述配网方法还包括:
如果所述配网发起设备判断本地未存储所述设备信息,则判断出当前连接的智能照明设备不属于待组网设备。
3.根据权利要求1所述的蓝牙MESH智能照明设备的配网方法,其特征在于,
如果所述配网发起设备判断本地存储有所述设备信息,则所述配网发起设备向所述智能照明设备发送包括蓝牙MESH网络参数的消息之前还包括:
判断所述智能照明设备是否被配置过,如果有,所述配网发起设备向所述智能照明设备发送重置设备消息;
所述智能照明设备接收所述重置设备消息,删除旧的蓝牙MESH网络参数。
4.根据权利要求1所述的蓝牙MESH智能照明设备的配网方法,其特征在于,所述执行更新网络配置操作的触发条件,包括:
所述智能照明设备获得所述蓝牙MESH网络参数后执行重启、所述智能照明设备接收到配网完成消息后执行重启或所述智能照明设备接收设备重启指令后执行重启。
5.根据权利要求4所述的蓝牙MESH智能照明设备的配网方法,其特征在于,所述智能照明设备接收到配网完成消息后执行重启,包括:
所述配网发起设备基于有线连接向智能照明设备发送配网完成消息;
所述智能照明设备接收所述配网完成消息,执行重启。
6.根据权利要求5所述的蓝牙MESH智能照明设备的配网方法,其特征在于,所述...
【专利技术属性】
技术研发人员:张庆煌,陈洪新,王文亮,方金海,
申请(专利权)人:厦门阳光恩耐照明有限公司,厦门恩耐照明技术有限公司,浙江阳光照明电器集团股份有限公司,
类型:发明
国别省市:福建;35
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。