The present invention relates to the field of ZigBee wireless communication technology, and discloses a method for ZigBee device access to the network to improve the efficiency of ZigBee device access to the network. The scheme is as follows: ZigBee device sends network entry request in the working channel after triggering the networking command. If the ZigBee device does not receive the ZigBee network response, the ZigBee device enters the sleep mode and wakes up the ZigBee device once every interval of time. After the ZigBee device is awakened, it continues to send network entry request in the working channel, and counts the number of network entry requests if the ZigBee device is awake. When the response of the ZigBee network is obtained, the connected screening operation is carried out to make the ZigBee device access the network successfully. When the counting of the number of requests to the network reaches the threshold, the ZigBee device enters the standby mode. After the ZigBee device re-triggers the screening command, the counting of the number of requests sent to the network is zero. The invention is suitable for the network entry of ZigBee equipment.
【技术实现步骤摘要】
用于ZigBee设备的入网方法
本专利技术涉及ZigBee无线通信
,特别涉及用于ZigBee设备的入网方法。
技术介绍
随着物联网行业的快速发展,ZigBee作为无线局域网通信技术被广泛使用。专业发布物联网领域全球商业情报的ONWorld公司证实,ZigBee芯片的销量截止目前已达到5亿个。该公司分析师还预测,到2023年,802.15.4网状网络芯片的销量将猛增至45亿,而其中大部分芯片将基于ZigBee联盟的技术标准。ZigBee技术具有低功耗和高可靠性通信两大特征。目前,ZigBee行业在ZigBee设备入网时的设计往往不能兼顾低功耗和入网可靠性。以德州仪器(TI)最新ZigBee协议栈Z-stack3.01为例,ZigBee设备入网时只发送一次入网请求,如果受环境因素或人员操作因素影响没有及时收到ZigBee网络回应则进入待机休眠状态,ZigBee设备将无法加入ZigBee网络,如图1所示。如果简单设计连续发送入网请求,将导致ZigBee设备加网功耗过高,与ZigBee低功耗特性不符。
技术实现思路
本专利技术要解决的技术问题是:提供一种用于ZigBee设备的入网方法,用以提高ZigBee设备的入网效率。为解决上述问题,本专利技术采用的技术方案是:用于ZigBee设备的入网方法,包括如下步骤:步骤1:ZigBee设备触发加网命令后在工作信道发送入网请求,如果ZigBee设备未获得ZigBee网络响应,则ZigBee设备进入睡眠模式,进入步骤2,如果ZigBee设备获得ZigBee网络响应,则进行关联加网操作;步骤2:每间隔一段时间唤醒ZigBe ...
【技术保护点】
1.用于ZigBee设备的入网方法,其特征在于,包括如下步骤:步骤1:ZigBee设备触发加网命令后在工作信道发送入网请求,如果ZigBee设备未获得ZigBee网络响应,则ZigBee设备进入睡眠模式,进入步骤2,如果ZigBee设备获得ZigBee网络响应,则进行关联加网操作;步骤2:每间隔一段时间唤醒ZigBee设备一次,ZigBee设备被唤醒之后,继续在工作信道发送入网请求,并对入网请求的发送次数计数,如果ZigBee设备获得ZigBee网络响应,则进行关联加网操作,如果ZigBee设备未获得ZigBee网络响应,则重复步骤2;步骤3:当入网请求的发送次数的计数到达阈值时,ZigBee设备进入待机模式,ZigBee设备重新触发加网命令后将入网请求的发送次数的计数清零,然后从步骤1重新开始执行。
【技术特征摘要】
1.用于ZigBee设备的入网方法,其特征在于,包括如下步骤:步骤1:ZigBee设备触发加网命令后在工作信道发送入网请求,如果ZigBee设备未获得ZigBee网络响应,则ZigBee设备进入睡眠模式,进入步骤2,如果ZigBee设备获得ZigBee网络响应,则进行关联加网操作;步骤2:每间隔一段时间唤醒ZigBee设备一次,ZigBee设备被唤醒之后,继续在工作信道发送入网请求,并对入网请求的发送次数计数,如果ZigBee设备获得ZigBee网络响应,则进行关联加网操作,如果ZigBee设备未获得ZigBee网络响应,则重复步骤2;步骤3:当入网请求的发送次数的计数到达阈值时,ZigB...
【专利技术属性】
技术研发人员:陈修强,
申请(专利权)人:四川长虹电器股份有限公司,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。