The invention relates to a method of wireless sensor network technology, when the terminal node is activated, the default channel energy scanning effectively on the physical layer, the channel of the detected energy value according to the channel sorting, then execute the active scanning process to select the best channel as the channel as the current channel, the first network node terminal node successful establishment is the coordinator node; the network is established, all other nodes in the network as the sub node sends a network request, if the coordinator node receives the network request network successfully; if the coordinator fails to receive the admission request, according to the network information to determine whether the child nodes of the parent node, if any the parent node, the request to send into the net, and wait for the parent node in response to a request, the parent node received access request, according to the request Information to make a decision whether to join the network, if allowed to join, the parent node will send a request response, and the child node received a network reply, the network successfully established.
【技术实现步骤摘要】
本专利技术涉及无线传感网络技术,尤其是涉及基于zigbee的无线传感网络。
技术介绍
随着传感器、微机电系统、集成电路以及无线通信等技术的飞速发展,使得低成本、低功耗、多功能的微型无线传感器网络的大规模应用成为可能,这些微型无线传感器节点综合了传感器技术、嵌入式计算技术、无线通信技术和分布式信息处理技术,大量的传感器节点随机布置在特殊的工作环境中,通过无线通信实现自组织,获取周围环境的信息,形成分布式自治系统,相互协同完成特定的任务。无线传感器网络具有远程监控、实时监测、能在恶劣或特殊环境工作的许多优点,己被列为对人类未来生活产生深远影响的十大新兴技术之首。作为标准之一的zigbee,由于具有适中的传输距离和简单的协议内容,因此自公布之日便收到了国际上众多知名公司和协会的支持,成为在无线传感网中最具有应用价值和前景的标准。基于zigbee的无线传感网络由协调器、路由器和终端节点构成,本专利技术提供一种基于zigbee的无线传感网络组建方法。
技术实现思路
本专利技术提供的一种基于zigbee的无线网络组建方法,包括以下 ...
【技术保护点】
基于zigbee的无线传感网络组建方法,其特征在于,包括以下步骤:S1、终端节点被激活后,对其物理层所默认的有效信道进行能量扫描,对检测到的信道按能量值进行信道排序,然后执行主动扫描过程以选择最佳信道作为当前工作信道;S2、判断终端节点是否收到数据帧,如果不能则进入S31步骤,如果能进入S32步骤;S31、对终端节点再次进行信道扫描,通过信道终端节点和协调器之间建立网络,协调器收到终端节点发出的入网请求,进入S31‑1步骤;S31‑1、判断协调器地址空间是否存满,如果是,协调器地址空间存满,终端节点和协调器之间的网络组建失败,如果不是,进入S31‑2步骤;S31‑2、协调器 ...
【技术特征摘要】
1.基于zigbee的无线传感网络组建方法,其特征在于,包括以下步骤:
S1、终端节点被激活后,对其物理层所默认的有效信道进行能量扫描,对检测到的信道按能量值进行信道排序,然后执行主动扫描过程以选择最佳信道作为当前工作信道;
S2、判断终端节点是否收到数据帧,如果不能则进入S31步骤,如果能进入S32步骤;
S31、对终端节点再次进行信道扫描,通过信道终端节点和协调器之间建立网络,协调器收到终端节点发出的入网请求,进入S31-1步骤;
S31-1、判断协调器地址空间是否存满,如果是,协调...
【专利技术属性】
技术研发人员:丁凡,
申请(专利权)人:镇江京江软件园有限公司,
类型:发明
国别省市:江苏;32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。